@charset "UTF-8";
/*
Theme Name: 三田市民病院
Theme URI: https://www.hospital.sanda.hyogo.jp/
Author: 能登印刷株式会社
Author URI: https://www.notoinsatu.co.jp/
Description: 三田市民病院
*/
/*--------------------------------------------------------------
設定
--------------------------------------------------------------*/
/*--------------------------------------------------------------
layout
--------------------------------------------------------------*/
/*--------------------------------------------------------------
初期研修医
--------------------------------------------------------------*/
/* 初期研修医トップページ　共通設定 */
.resident .button-more {
  margin-left: 0 auto;
  text-align: left;
}
.resident .button-more a {
  margin-top: 40px;
  width: 250px;
}
.resident .button-more a::after {
  background: url("images/nurse/icon_arrow_dept-nurse.png") no-repeat center center/contain !important;
}
.resident .button-more a:hover {
  background-color: #1f7ad0;
  color: #fff;
}
.resident a:hover {
  transition: 0.2s;
}

.childs_resident a:hover {
  background-color: #e2f6ff;
  color: inherit !important;
  transition: 0.2s;
  transition: 0.2s;
}

/* 初期研修医メインビジュアル */
.resident_main-visual {
  height: auto;
  line-height: 0;
  position: relative;
}
.resident_main-visual img {
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: 84% 0;
     object-position: 84% 0;
  max-height: 600px;
  height: 65vw;
  width: 100%;
}

.resident .slide-message {
  position: absolute;
  top: 42%;
  left: 60px;
}
.resident .slide-message-main {
  color: #333;
  font-size: 35px;
  font-weight: 400;
  filter: drop-shadow(0 0 10px #fff);
  letter-spacing: 7px;
  line-height: normal;
}

@media screen and (max-width: 1023px) {
  .resident .slide-message {
    top: 40%;
    left: 20px;
  }
  .resident .slide-message-main {
    font-size: 27px;
    line-height: 45px;
  }
}
@media screen and (max-width: 567px) {
  .resident .slide-message {
    top: unset;
    bottom: 10%;
  }
  .resident .slide-message-main {
    font-size: 23px;
    letter-spacing: 4px;
    line-height: 38px;
  }
}
/* 初期研修医ヘッダー */
.resident_header {
  position: relative;
  height: 64px;
  width: 100%;
  z-index: 10;
}

.resident_header-inner {
  align-items: center;
  display: flex;
  height: 64px;
  justify-content: space-between;
  padding: 4px 20px 0;
  z-index: 11;
  position: relative;
}

.resident_header_bg-color {
  background: rgba(0, 0, 0, 0.3);
  position: absolute;
  top: 0;
  height: 64px;
  width: 100%;
  z-index: 9;
}

.resident_header-main-menu {
  display: flex;
  list-style-type: none;
  padding: 0;
}

.resident_header a {
  color: #fff;
}
.resident_header ul {
  margin: 0;
  padding: 0;
}
.resident_header h1 {
  font-size: 20px;
}

ul.resident_header-main-menu {
  justify-content: flex-end;
  margin: 10px 0;
}

.resident_header-main-menu li {
  margin-left: 40px;
}

/* お知らせ（初期研修医ページ） */
.resident_news {
  padding: 60px 0 0;
}
.resident_news .button-more a {
  margin-top: 25px;
  width: 180px;
}

.resident_news_content {
  align-items: center;
  border-bottom: 1px solid #ddd;
  display: flex;
  flex-direction: row;
  padding-bottom: 40px;
}

.resident_news .news-title {
  height: auto;
  width: 250px;
}
.resident_news .news-list {
  width: calc(100% - 250px);
}
.resident_news .post-date {
  padding-right: 15px;
}
.resident_news h2 {
  color: #1f7ad0;
  display: inline-block;
  font-size: 30px;
  padding-right: 60px;
  line-height: 1;
}
.resident_news ul {
  line-height: 1.5;
  margin: 0;
  padding: 0;
  width: auto;
}
.resident_news .news-list li {
  border-bottom: none;
  padding: 5px 0 !important;
}
.resident_news .news-list a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 1023px) {
  .resident_news h2 {
    font-size: 27px;
  }
  .resident_news .news-title {
    height: auto;
    width: 220px;
  }
  .resident_news .news-list {
    width: calc(100% - 220px);
  }
}
@media screen and (max-width: 767px) {
  .resident_news_content {
    flex-direction: column;
    padding-bottom: 110px;
    position: relative;
  }
  .resident_news h2 {
    text-align: center;
    padding-right: 0;
  }
  .resident_news .news-title {
    text-align: center;
    margin-bottom: 25px;
    width: 100%;
  }
  .resident_news .news-list {
    width: 100%;
  }
  .resident_news .news-list li {
    border-top: 1px solid #ddd;
    display: block;
    padding: 15px 0 !important;
  }
  .resident_news .button-more {
    position: absolute;
    bottom: 55px;
    right: 0;
  }
}
@media screen and (max-width: 567px) {
  .resident_news h2 {
    font-size: 23px;
  }
}
/* メッセージ */
.resident_message {
  padding: 120px 0 80px;
}
.resident_message img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
}

.message-content {
  align-items: center;
  display: flex;
}

.resident_message h2 {
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 2px;
  line-height: 48px;
}
.resident_message .message-text {
  width: 400px;
  margin: 0 120px 60px 40px;
}
.resident_message .info-img {
  margin-right: calc(50% - 50vw);
  width: 100vw;
}

.message-img {
  max-height: 550px;
  height: 55vw;
}

.resident_message .button-more a {
  width: 300px;
}

@media screen and (max-width: 1180px) {
  .resident_message .message-text {
    margin: 0 80px 60px 0;
  }
  .resident_message .message-img {
    max-height: 500px;
    height: 50vw;
  }
}
@media screen and (max-width: 1023px) {
  .resident_message .message-text {
    margin: 0 40px 30px 0;
  }
  .resident_message h2 {
    font-size: 27px;
    line-height: 45px;
  }
  .resident_message .message-img {
    max-height: 450px;
    height: 45vw;
  }
}
@media screen and (max-width: 767px) {
  .resident_message {
    padding: 50px 0 50px;
  }
  .resident_message .message-content {
    display: block;
  }
  .resident_message .message-text {
    margin: 0 0 30px 0;
    width: 100%;
  }
  .resident_message .message-text br:last-child {
    display: none;
  }
  .resident_message .button-more {
    text-align: right;
  }
  .resident_message .button-more a {
    margin-top: 30px;
  }
  .resident_message .info-img {
    width: 100%;
  }
  .resident_message .message-img {
    max-height: 550px;
    height: 60vw;
  }
}
@media screen and (max-width: 567px) {
  .resident_message h2 {
    font-size: 23px;
    line-height: 38px;
  }
}
/* レジデント研修プログラム */
.resident_program {
  background-color: #c5def6;
  padding: 80px 0;
}
.resident_program img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
}
.resident_program h2 {
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 2px;
}
.resident_program h2 br {
  display: none;
}

.program-content {
  align-items: center;
  display: flex;
}

.resident_program .program-text {
  max-width: 400px;
  margin: 0 0 0 60px;
}
.resident_program .info-img {
  margin-left: calc(50% - 50vw);
}
.resident_program .info-img .program-img {
  max-height: 550px;
  height: 55vw;
}

@media screen and (max-width: 1180px) {
  .resident_program .program-text {
    margin: 0 0 60px 30px;
  }
  .resident_program .info-img .program-img {
    max-height: 500px;
    height: 50vw;
  }
}
@media screen and (max-width: 1067px) {
  .resident_program h2 br {
    display: inline-block;
  }
}
@media screen and (max-width: 1023px) {
  .resident_program .program-text {
    margin: 0 0 30px 40px;
  }
  .resident_program .info-img .program-img {
    max-height: 450px;
    height: 45vw;
  }
  .resident_program h2 {
    font-size: 27px;
    line-height: 45px;
  }
}
@media screen and (max-width: 767px) {
  .resident_program {
    padding: 50px 0;
  }
  .resident_program .program-content {
    display: flex;
    flex-direction: column-reverse;
  }
  .resident_program .program-text {
    margin: 0 0 30px 0;
    max-width: none;
    width: 100%;
  }
  .resident_program .program-text br:last-child {
    display: none;
  }
  .resident_program .button-more {
    text-align: right;
  }
  .resident_program .button-more a {
    margin-top: 30px;
  }
  .resident_program .info-img {
    margin-left: unset;
    width: 100%;
  }
  .resident_program .info-img .program-img {
    max-height: 550px;
    height: 60vw;
  }
}
@media screen and (max-width: 567px) {
  .resident_program {
    padding: 40px 0;
  }
  .resident_program h2 {
    font-size: 23px;
    line-height: 38px;
  }
}
/* 研修医からの一言 */
.resident_comment {
  display: flex;
  justify-content: center;
  padding: 80px 0;
  text-align: center;
}
.resident_comment .comment-content a:not(.button-more a) {
  background: #fff;
  border: 1.5px solid #333;
  border-radius: 10px;
  display: block;
  height: 100%;
  padding: 15px;
  position: relative;
  text-decoration: none;
}
.resident_comment .comment-content a:not(.button-more a):hover {
  background-color: #e2f6ff;
}
.resident_comment h2 {
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 2px;
  margin-bottom: 40px;
}
.resident_comment .comment-text {
  padding-right: 25px;
  position: relative;
}
.resident_comment .comment-text::after {
  content: "";
  background: url("images/nurse/icon_arrow_dept-nurse.png") no-repeat center center/contain !important;
  display: block;
  width: 22px;
  height: 22px;
  position: absolute;
  top: 2px;
  right: 0;
}
.resident_comment .comment-title {
  font-size: 16px;
  margin-top: 10px;
  text-align: left;
}
.resident_comment .comment-position {
  color: #a5a5a5;
  font-size: 13px;
  margin-top: 2px;
  text-align: left;
}
.resident_comment .pure-g {
  gap: 40px 0;
  margin: 0 -15px;
}
.resident_comment .pure-g > * {
  padding: 0 15px;
}
.resident_comment .comment-img {
  border-radius: 10px;
  -o-object-fit: cover;
     object-fit: cover;
  height: 250px;
  width: 100%;
}
.resident_comment .comment-img.no-image {
  background-color: #fff;
}
.resident_comment .button-more {
  text-align: center;
}
.resident_comment .button-more a {
  margin-top: 50px;
}

@media screen and (max-width: 1023px) {
  .resident_comment h2 {
    font-size: 27px;
  }
  .resident_comment .comment-img {
    height: 300px;
  }
  .resident_comment .comment-title {
    font-size: 14px;
  }
}
@media screen and (max-width: 767px) {
  .resident_comment {
    padding: 50px 0;
  }
  .resident_comment .comment-img {
    height: 350px;
  }
}
@media screen and (max-width: 667px) {
  .resident_comment .comment-img {
    height: 300px;
  }
}
@media screen and (max-width: 567px) {
  .resident_comment h2 {
    font-size: 23px;
    line-height: 38px;
  }
  .resident_comment .comment-content a:not(.button-more a) {
    display: flex !important;
    padding: 0 !important;
  }
  .resident_comment .pure-g {
    gap: 15px 0;
  }
  .resident_comment .comment-img {
    height: 120px !important;
    -o-object-position: top;
       object-position: top;
    -o-object-fit: cover;
       object-fit: cover;
    width: 30%;
    border-radius: 10px 0 0 10px;
  }
  .resident_comment .comment-title {
    margin-top: 0;
  }
  .resident_comment .comment-text {
    margin-top: 0;
    padding: 15px 40px 10px 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 70%;
  }
  .resident_comment .comment-text::after {
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
  }
  .resident_comment .button-more a {
    margin-top: 40px;
  }
}
/* 研修医　募集要項など */
.resident_recruit {
  background-color: #1f7ad0;
  padding: 80px 0;
  height: 100%;
  width: 100%;
}
.resident_recruit .recruit_button .pure-g {
  margin: -20px -20px;
  justify-content: center;
}
.resident_recruit .recruit_button .pure-g > * {
  padding: 20px 20px;
}
.resident_recruit .recruit_button .pure-g a {
  align-items: center;
  background-color: #fff;
  color: #3a98d3;
  display: flex;
  font-weight: 500;
  flex-direction: column;
  gap: 10px 0;
  justify-content: center;
  height: 200px;
  line-height: 22px;
  padding-bottom: 15px;
  position: relative;
}
.resident_recruit .recruit_button .pure-g a:hover {
  background-color: #e2f6ff;
  color: #2e99ff;
}
.resident_recruit .recruit_button_icon {
  height: 100px;
  width: 150px;
  margin-bottom: 15px;
}
.resident_recruit .recruit_button_guideline {
  background: url("images/resident/resident_icon-guideline.png") no-repeat 60% center/45%;
}
.resident_recruit .recruit_button_hospital-tour {
  background: url("images/nurse/dept-nurse_icon-hospital-tour.png") no-repeat 50% center/65%;
}

@media screen and (max-width: 767px) {
  .resident_recruit {
    padding: 60px 0;
  }
  .resident_recruit .recruit_button .pure-g {
    margin: -15px -15px;
    justify-content: center;
  }
  .resident_recruit .recruit_button .pure-g > * {
    padding: 15px 15px;
  }
}
@media screen and (max-width: 567px) {
  .resident_recruit {
    padding: 40px 0;
  }
  .resident_recruit .recruit_button .pure-g {
    margin: -10px -10px;
    justify-content: center;
  }
  .resident_recruit .recruit_button .pure-g > * {
    padding: 10px 10px;
  }
}
/* 初期研修医 コメント一覧 */
.childs_resident a {
  background: #fff;
  border: 1.5px solid #333;
  border-radius: 10px;
  display: block;
  height: 100%;
  padding: 15px;
  position: relative;
  text-decoration: none;
}
.childs_resident .comment-text {
  padding-right: 30px;
  position: relative;
}
.childs_resident .comment-text::after {
  content: "";
  background: url("images/nurse/icon_arrow_dept-nurse.png") no-repeat center center/contain !important;
  display: block;
  width: 22px;
  height: 22px;
  position: absolute;
  top: 2px;
  right: 0;
}
.childs_resident .comment-title {
  font-size: 16px;
  margin-top: 10px;
  text-align: left;
}
.childs_resident .comment-position {
  color: #979797;
  font-size: 13px;
  margin-top: 2px;
  text-align: left;
}
.childs_resident .pure-g {
  gap: 40px 0;
  margin: 0 -15px;
}
.childs_resident .pure-g > * {
  padding: 0 15px;
}
.childs_resident .comment-img {
  border-radius: 10px;
  -o-object-fit: cover;
     object-fit: cover;
  height: 250px;
  width: 100%;
}
.childs_resident .comment-img.no-image {
  background-color: #fff;
}

@media screen and (max-width: 1023px) {
  .childs_resident .pure-g {
    gap: 40px 0;
    margin: 0 -15px !important;
  }
  .childs_resident .pure-g > * {
    padding: 0 15px !important;
  }
  .childs_resident .comment-img {
    height: 300px;
  }
  .childs_resident .comment-title {
    font-size: 14px;
  }
}
@media screen and (max-width: 767px) {
  .childs_resident .comment-img {
    height: 350px;
  }
}
@media screen and (max-width: 667px) {
  .childs_resident .comment-img {
    height: 300px;
  }
}
@media screen and (max-width: 567px) {
  .childs_resident a {
    display: flex;
    padding: 0;
  }
  .childs_resident .pure-g {
    gap: 15px 0;
  }
  .childs_resident .comment-img {
    height: 120px !important;
    -o-object-position: top;
       object-position: top;
    -o-object-fit: cover;
       object-fit: cover;
    width: 30%;
    border-radius: 10px 0 0 10px;
  }
  .childs_resident .comment-title {
    margin-top: 0;
  }
  .childs_resident .comment-text {
    margin-top: 0;
    padding: 15px 40px 10px 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 70%;
  }
  .childs_resident .comment-text::after {
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
  }
}
/* 初期研修医 個別ページ */
#resident.entry-header {
  position: relative;
  line-height: 0;
}
#resident.entry-header img {
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: 0 35%;
     object-position: 0 35%;
  position: relative;
  height: 260px;
  width: 100%;
}
@media screen and (max-width: 1023px) {
  #resident.entry-header img {
    height: 230px;
  }
}
@media screen and (max-width: 767px) {
  #resident.entry-header img {
    height: 210px;
  }
}
#resident.entry-header .entry-title {
  color: #fff;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, 0);
  line-height: 35px;
}
@media screen and (max-width: 767px) {
  #resident.entry-header .entry-title .entry-title-parent {
    padding-bottom: 0px;
    line-height: 30px;
  }
}
#resident.entry-header .entry-title:has(.entry-title-parent) {
  color: #fff;
  position: absolute;
  left: 50%;
  top: 35%;
  text-align: center;
  transform: translate(-50%, 0);
  line-height: 35px;
  padding: 0 20px;
  width: 100%;
}
#resident.entry-content {
  margin: 100px auto 150px;
  padding: 0 20px;
  position: relative;
  width: 100%;
}
@media screen and (max-width: 1023px) {
  #resident.entry-content {
    margin: 80px auto 80px;
  }
}
@media screen and (max-width: 767px) {
  #resident.entry-content {
    margin: 60px auto 80px;
  }
}
#resident.entry-content:has(.childs_resident) {
  max-width: 1180px;
}

/* 初期研修医　スマホメニュー */
@media screen and (max-width: 830px) {
  .site-header:has(.resident-active) .main-header .header-button {
    display: none;
  }
  .resident_header h1 {
    font-size: 18px !important;
  }
  .resident_header.resident-active .resident_home-title {
    color: #fff;
    font-size: 20px;
    position: relative;
    z-index: 9999;
    top: -60px;
  }
  .resident_header #header-nav {
    position: fixed;
    left: 0;
    z-index: -1;
    opacity: 0;
    top: 0;
    width: 100%;
    height: 0;
    background: #1f7ad0;
    transition: all 0.3s;
  }
  .resident_header #header-nav.panelactive {
    opacity: 1;
    z-index: 999;
  }
  .resident_header #header-nav.panelactive #header-nav-list {
    background: #1f7ad0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  .resident_header #header-nav ul {
    display: none;
  }
  .resident_header #header-nav-list-inner {
    display: none;
    width: 100%;
    position: absolute;
    z-index: 999;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    height: 0;
    overflow: hidden;
  }
  .resident_header .panelactive #header-nav-list-inner {
    display: block;
    height: auto;
  }
  .resident_header #header-nav.panelactive ul {
    display: block !important;
  }
  .resident_header #header-nav li {
    border-top: 1px solid #fff;
    font-size: 1.5rem;
    list-style: none;
    margin: 0;
    text-align: center;
  }
  .resident_header #header-nav li:last-child {
    border-bottom: 1px solid #fff;
  }
  .resident_header #header-nav li a {
    color: #fff;
    text-decoration: none;
    padding: 10px 10px;
    display: block;
    text-transform: uppercase;
  }
  /*========= ボタンのためのCSS ===============*/
  .resident_header .header-button {
    position: absolute;
    z-index: 1000;
    /*ボタンを最前面に*/
    top: 7px !important;
    right: 20px;
    cursor: pointer;
    width: 70px;
    height: 70px;
  }
  .resident_header .header-button span:not(.header-button-text) {
    display: none;
  }
  .resident_header .header-button.active {
    top: -55px !important;
  }
  .resident_header .header-button.active span:nth-of-type(1) {
    top: 25px;
    transform: translateX(-50%) rotate(-45deg);
  }
  .resident_header .header-button.active span:nth-of-type(2) {
    opacity: 0;
  }
  .resident_header .header-button.active span:nth-of-type(3) {
    top: 25px;
    transform: translateX(-50%) rotate(45deg);
  }
  .resident_header .header-button .header-button-text {
    border: 1px solid #fff;
    border-radius: 8px;
    color: #fff;
    display: block;
    font-size: 12px;
    line-height: 17px;
    padding: 8px;
    width: 80px;
    height: 50px;
    top: 40px;
    left: 45%;
    text-align: center;
  }
  .resident_header .header-button.active {
    background-color: unset;
    border-radius: unset;
  }
  .resident_header .header-button.active .header-button-text {
    background-color: none;
    border: 1px solid #fff;
    border-radius: 8px;
    color: #fff;
    font-size: 12px;
    line-height: 17px;
    padding: 8px;
    width: 80px;
    height: 50px;
    top: 40px;
    left: 45%;
    text-align: center;
  }
}
/*# sourceMappingURL=style-resident.css.map */