@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&display=swap');

/*-----------------------
 全体共通 
-----------------------*/
* {
    margin: 0;
    padding: 0;
    line-height: 1.7;
    list-style-type: none;
    box-sizing: border-box;
}
html {
    font-size: 100%;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: "Noto Sans JP", sans-serif;
    color: #333;
    word-break: break-word;
}
a {
    color: #2d54a1;
    text-decoration: none;
    transition: 0.3s;
}
a:hover {
    opacity: 0.7;
}
img {
    max-width: 100%;
    height: auto;
}

/*-----------------------
 ヘッダー
-----------------------*/
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    padding: 10px;
    background-color: #fff;
    z-index: 5;
}
.head_inner {
    position: relative;
    display: flex;
    justify-content: space-between;
}
.header_logo {
    font-size: 0;
}
.header_logo img {
    width: 280px;
    object-fit: cover;
}
.tel-number {
    position: absolute;
    top: 3px;
    right: 220px;
    display: block;
    font-size: 23px;
    font-weight: 700;
}
.contact_btn {
    position: absolute;
    top: -2px;
    right: 70px;
    width: 135px;
    height: 45px;
    background-color: #2d54a1;
    color: #fff;
    padding: 10px 5px 5px;
    text-align: center;
}
.contact_btn p {
    display: inline-block;
}
.contact_btn::before {
    display: inline-block;
    content: '\f0e0';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 10px;
}
@media screen and (max-width:767px) {
    .header_logo img {
        position: absolute;
        top: 5px;    
        width: 230px;
    }
    .tel-number {
        display: none;
    }
}
@media screen and (max-width:480px) {
    .contact_btn {
        right: 65px;
        width: 45px;
        height: 45px;
    }    
    .contact_btn::before {
        position: absolute;
        top: 3px;
        left: 10px;
        font-size: 25px;
        margin: 0;
    }   
    .contact_btn p {
        display: none;
    } 
}
@media screen and (max-width:390px) {
    .header_logo img {
        position: absolute;
        left: 0;
    }
    .contact_btn {
        right: 55px;
    }    
}
@media screen and (max-width:374px) {
    .header_logo img {
        width: 200px;
    }
}

/* ハンバーガーメニュー */
.ham_menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100dvh;
    background-color: #2d54a1;
    transform: translateX(100%);
    transition: 0.3s;
    opacity: 0;
    overflow-y: auto;
}
.ham_menu.active {
    transform: translateX(0);
    opacity: 1;
}
.ham_menu ul {
    margin: 100px 0;
    width: 960px;
}
.ham_menu ul li a {
    display: block;
    width: 100%;
    color: #fff;
    font-size: 18px;
    padding: 20px 0 20px 10px;
}
.has_submenu {
    position: relative;
    border-top: 1px solid #fff;
}
.has_submenu::after {
    position: absolute;
    top: 27px;
    right: 30px;
    display: inline-block;
    content: '';
    width: 8px;
    height: 8px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(135deg);
}
.has_submenu.active::after {
    transform: rotate(-45deg);
}
.has_submenu:nth-of-type(3), 
.ham_menu > ul > li:last-child {
    border-bottom: 1px solid #fff;
}
@media screen and (max-width: 960px) {
    .ham_menu ul {
        width: 80%;
    }        
}
@media screen and (max-width: 767px) {
    .ham_menu ul {
        width: 100%;
        margin: 100px 20px 0;
    }        
}
/* ハンバーガーメニュー（サブメニュー） */
.ham_submenu {
    position: relative;
	left:0;
	top:0;
	width: 95% !important;
	visibility:visible;
	opacity: 1;
	display: none;
	transition:none;
    margin: 0 0 20px 20px !important;
}
.has_menu:active > .ham_submenu {
  visibility: visible;
}
.ham_submenu li:not(:last-child) {
    border-bottom: 1px dotted #fff;
}
.ham_submenu li a {
    font-size: 16px !important;
    padding: 10px 0 10px 10px !important;
}



/* グローバルナビゲーションメニュー */
.gnav {
    width: 100%;
    background-color: #2d54a1;
    padding: 15px 10px;
    margin-top: 60px;
}
.gnav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 0;
    margin-top: 2px;
}
.gnav ul li a {
    position: relative;
    color: #fff;
    padding: 0 15px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    border-right: 1px solid #fff;
}
.gnav ul li:last-of-type a {
    border-right: none;
}
@media screen and (max-width: 767px) {
    .gnav {
        display: none;
    }    
}

/* ハンバーガーボタン */
.hamburger {
    position: absolute;
    top: -2px;
    right: 10px;
    width: 45px;
    height: 45px;
    background-color: #2d54a1;
    border: none;
    cursor: pointer;
    z-index: 10;
}
.line {
    display: inline-block;
    position: absolute;
    left: 7.5px;
    width: 30px;
    height: 2px;
    background-color: #fff;
    transition: 0.3s;
}
.line::before, .line::after {
    display: block;
    content: '';
    position: absolute;
    right: 0;
    width: 30px;
    height: 2px;
    background-color: #fff;
    transition: 0.3s;
}
.line::before {
    top: -8px;
}
.line::after {
    bottom: -8px;
}
.hamburger.active .line {
    background: transparent;
}
.hamburger.active .line::before {
    top: -6px;
    left: 0;
    transform: translateY(6px) rotate(-45deg);
    width: 100%;
}
.hamburger.active .line::after {
    top: 6px;
    left: 0;
    transform: translateY(-6px) rotate(45deg);
    width: 100%;
}
@media screen and (max-width:390px) {
    .hamburger {
        right: 0;
    }
}


/*-----------------------
 トップ画像
-----------------------*/
#mainvisual {
    position: relative;
}
.home-test #mainvisual {
    margin-top: 90px;
}
.slide1, .slide2, .slide3 {
    width: 100%;
    height: 70vh !important;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
@media screen and (max-width: 767px) {
    .home-test #mainvisual {
        margin-top: 60px;
    }
}
@media screen and (max-width: 480px) {
    .slide1, .slide2, .slide3 {
        height: 50vh !important;
    }
}
.slide1 {
    background-image: url(/wp-content/themes/official/images/headimg20240822.webp);
}
.slide2 {
    position: relative;
    background-image: url(/wp-content/themes/official/images/headimg2.webp);
}
.slide3 {
    background-image: url(/wp-content/themes/official/images/headimg3.png);
}
.text {
    position: absolute;
    bottom: 150px;
    right: 20px;
    display: inline-block;
    background: rgba(255, 255, 255, 0.5);
    color: #fff;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
    font-size: 30px;
    font-weight: 500;
    padding: 5px 10px;
}
.catchprase {
    display: block;
    width: 960px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: "Noto Serif JP", serif;
    font-size: 38px;
    letter-spacing: 3px;
    color: #fff;
    text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.5);
    z-index: 1;
}
.new-nav {
    position: absolute;
    left: 50%;
    top: -30px;
    transform: translateX(-50%);
    background-color: #2d54a1;
    padding: 15px 10px;
    width: 1000px;
    border-radius: 30px;
    border: 3px solid #fff;
}
.new-nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px 0;
    margin-top: 2px;
}
.new-nav ul li a {
    color: #fff;
    padding: 0 30px;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 1px;
    border-right: 1px solid #fff;
}
.new-nav ul li:last-of-type a {
    border-right: none;
}

@media screen and (max-width: 1200px) {
    .catchprase {
        width: 80%;
    }
}
@media screen and (max-width: 960px) {
    .catchprase {
        font-size: 32px;
    }
    .new-nav {
        width: 100%;
    }    
    .new-nav ul li a {
        font-size: 17px;
        padding: 0 20px;
    }    
}
@media screen and (max-width: 767px) {
    .text {
        font-size: 25px;
    }
    .catchprase {
        top: 54%;
        font-size: 25px;
    }
    .new-nav {
        display: none;
    }    
}
@media screen and (max-width: 480px) {
    .text {
        right: 20px;
        bottom: 20px;
        font-size: 18px;
    }
    .catchprase {
        top: 56%;
        font-size: 18px;
    }
}

/* スライダー */
.slide-prev, .slide-next {
    margin: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: inline-block;
    cursor: pointer;
  }
  .slide-prev {
    left: 25px;
  }
  .slide-next {
    right: 25px;
  }
  .prev-arrow, .next-arrow {
    display: inline-block;
    width: 50px;
    height: 50px;
  }
  .prev-arrow {
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    transform: rotate(-45deg);
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.7));
  }
  .next-arrow {
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.7));
  }

  @media screen and (max-width: 767px) {
    .prev-arrow, .next-arrow {
        width: 30px;
        height: 30px;
      }    
    .slide-prev, .slide-next {
        top: 55%;
        transform: translateY(-55%);
    }
    .slide-prev {
        left: 15px;
    }
    .slide-next {
        right: 15px;
    }    
  }  
  @media screen and (max-width: 480px) {
    .prev-arrow, .next-arrow {
        width: 20px;
        height: 20px;
      }    
    .slide-prev, .slide-next {
        top: 58%;
        transform: translateY(-58%);
    }
    .slide-prev {
        left: 10px;
    }
    .slide-next {
        right: 10px;
    }    
  }
.slider .slick-track {
    display: flex;
}
.slider .slick-track::before,
.slider .slick-track::after {
    display: none;
}
.slider .slick-slide {
    float: none;
    height: auto;
}

/* 画像下ナビ */
.home-test .general_time {
    position: absolute;
    bottom: 10px;
    left: 20px;
    width: 600px;
    border: 3px solid #2d54a1;
    background-color: #fff;
    border-radius: 5px;
    display: flex;
    margin: 0;
    padding: 15px 0;
    gap: 0;
}
.home-test .general_time dl {
    width: 100%;
    text-align: center;
    padding: 0 10px;
}
.home-test .general_time dl:first-of-type {
    border-right: 1px solid #ccc;
}
.home-test .general_time dl dt{
    font-weight: 700;
    color: #333;
    background: transparent;
    padding: 0;
    margin: 0;
}
.home-test .general_time .cntlink {
    width: 230px;
    margin: 0 auto;
}
.home-test .general_time .cntlink img{
    vertical-align: bottom;
}
.nav_form {
    position: absolute;
    bottom: 10px;
    right: 20px;
    display: flex;
    width: 320px;
    height: 60px;
}
.nav_form::before,
.nav_form::after {
    position: absolute;
    content: '';
    cursor: pointer;
    pointer-events: none;
}
.nav_form::before {
    right: 0;
    display: inline-block;
    width: 56px;
    border-radius: 0 0 5px 0;
    height: 100%;
}
.nav_form::after {
    top: 50%;
    right: 28px;
    transform: translate(50%, -50%) rotate(45deg);
    width: 6px;
    height: 6px;
    border-bottom: 3px solid #2d54a1;
    border-right: 3px solid #2d54a1;
}
.home-test .general_nav {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 320px;
    height: 60px;
    padding: 15px;
    border: 3px solid #2d54a1;
    outline: 0;
    background: #fff;
    border-radius: 0 0 5px 5px;
    font-size: 16px;
    cursor: pointer;
    overflow: hidden;
}
.home-test .general_nav:focus {
    border: 3px solid #2d54a1;
}
.nav_name {
    display: block;
    background-color: #2d54a1;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px 5px 0 0;
    position: absolute;
    bottom: 70px;
    right: 20px;
    width: 320px;
    text-align: center;
    letter-spacing: 2px;
    font-size: 20px;
    font-weight: 500;
}
@media screen and (max-width: 1000px) {
    .home-test .general_time {
        width: 50%;
    }
}
@media screen and (max-width: 767px) {
    .home-test .general_time {
        bottom: -250px;
        flex-direction: column;
        width: 450px;
        left: 50%;
        transform: translateX(-50%);
        padding: 5px 10px;
    }
    .home-test .general_time dl:first-of-type {
        border-right: none;
        border-bottom: 1px solid #ccc;
        padding: 10px 0;
    }    
    .home-test .general_time dl:last-of-type {
        padding: 10px 0;
    }   
    .general_area {
        margin-top: 250px;
    } 
    .nav_form, .nav_name {
        left: 50%;
        transform: translateX(-50%);
    }
}
@media screen and (max-width: 480px) {
    .home-test .general_time {
        width: 95%;
        bottom: -330px;
    }
    .nav_form {
        bottom: -90px;
        right: 10px;
        width: 95%;
    }
     .home-test .general_nav {
        width: 100%;
        border-radius: 5px;
    }   
    .general_area {
        margin-top: 350px;
    } 
    .nav_name {
        display: none;
    }
    .nav_form::before {
        background-color: #2d54a1;
        border-top-right-radius: 5px;
    }
    .nav_form::after {
        border-bottom: 3px solid #fff;
        border-right: 3px solid #fff;
    }    
}

/* 名称変更のお知らせ */
.headmessage {
    margin: 0 auto 50px;
    width: 100%;
    border: 2px solid #ff0000;
    padding: 15px;
    text-align: center;
    font-size: 1.3em;
}
.headmessage dt {
    font-size: 1.2em;
    margin-bottom: 0.5em;
}
.headmessage dt i {
    margin-right: 5px;
}
.fa-info-circle:before {
    content: "\f05a";
}
@media screen and (max-width: 768px) {
    .headmessage {
        font-size: 1.1em;
        padding: 10px;
    }
}


/*-----------------------
 メインコンテンツ部分
-----------------------*/
main {
    padding: 50px 0 80px;
}
.page-id-5214 main {
    padding: 80px 0;
}
.wrapper {
    width: 960px;
    padding: 0 20px;
    margin: 0 auto;
}
@media screen and (max-width: 960px) {
    .wrapper {
        width: 100%;
    }
}
section:not(:last-of-type) {
    margin-bottom: 80px;
}

/* 見出し */
.headline {
    position: relative;
    width: 100%;
    font-family: "Noto Serif JP", serif;
    font-weight: 700;
    font-size: 28px;
    text-align: center;
    letter-spacing: 2px;
    margin-bottom: 50px;
}
.headline::after {
    position: absolute;
    bottom: -12px;
    left: calc(50% - 50px);
    transform: translateY(-50%);
    display: block;
    content: '';
    width: 100px;
    height: 3px;
    background-color: #2d54a1;
    border-radius: 3px;
}

.subhead {
    position: relative;
    font-family: "Noto Serif JP", serif;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 3px;
    padding-bottom: 5px;
    margin-bottom: 20px;
    overflow: hidden;
}
.subhead::first-letter {
    color: #2d54a1;
    font-size: 25px;
}
.subhead::before, .subhead::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
}
.subhead::before {
    border-bottom: 2px solid #2d54a1;
}
.subhead::after {
    border-bottom: 2px solid #ccc;
}


/*-----------------------
一般エリア
-----------------------*/
/* 外来受付のご案内 */
.general_area {
    margin-bottom: 50px;
}
.general_time {
    display: flex;
    gap: 50px;
    margin-bottom: 40px;
}
.general_area dl {
    width: 50%;
}
.general_area dt {
    background-color: #2d54a1;
    color: #fff;
    text-align: center;
    border-radius: 3px;
    padding: 8px;
    letter-spacing: 3px;
    margin-bottom: 10px;
}
.general_area dd {
    padding: 5px 10px;
}
.general_area dt, .general_area dd {
    width: 100%;
}
.general_guide {
    display: flex;
    gap: 10px;
}
.general_guide li {
    position: relative;
    width: 30%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    cursor: pointer;
}
.general_guide li a p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    width: 100%;
    color: #fff;
    text-align: center;
    padding: 20px;
}
.general_guide li a img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(60%);
    transition: 0.3s;
}
.general_guide li a:hover {
    opacity: 1;
}
.general_guide li a:hover img {
    transform: scale(1.1);
}
.cntlink {
    letter-spacing: 2px;
    display: block;
    text-align: center;
    border: 1px solid #2d54a1;
    width: 300px;
    margin: 0 auto 50px;
    padding: 10px 0;
    box-shadow: 3px 3px 3px 0px #ccc;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}
@media screen and (max-width: 767px) {
    .general_time {
        gap: 20px;
    }   
    .general_guide {
        flex-wrap: wrap;
    }
    .general_guide li {
        width: 48.5%;
        aspect-ratio: 2 / 1;
    }   
    .cntlink {
        text-indent: 2px;
        width: 100%;
    }  
}
@media screen and (max-width: 480px) {
    .general_time {
        flex-direction: column;
    }   
    .general_area dl {
        width: 100%;
    }  
    .general_guide {
        flex-direction: column;
    }
    .general_guide li {
        width: 100%;
        aspect-ratio: 3 / 1;
    } 
}

/* 新着情報 */
.info_list {
    margin: 0 auto;
}
.info_list li {
    padding: 20px 10px;
}
.info_list li:not(:last-child) {
    border-bottom: 1px solid #ccc;
}
.info_list li a {
    display: flex;
    gap: 0 50px;
    color: #333;
}
.info_list li time {
    font-weight: 500;
}
.categories {
    display: inline-block;
    width: 80px;
    padding: 2px 5px;
    margin-left: 10px;
    border-radius: 3px;
    color: #fff;
    font-size: 14px;
    text-align: center;
}
@media screen and (max-width: 767px) {
    .info_list li a {
        flex-direction: column;
        gap: 10px 0;
    }
}
.categories.cat01 {background: #ffa50f;}
.categories.cat02 {background: #2d54a1;}
.categories.cat03 {background: #0d686b;}
.categories.cat04 {background: #b82832;}
.categories.cat05 {background: #8c6239;}


.more_btn {
    position: relative;
    z-index: 1;
    display: block;
    width: 200px;
    padding: 10px 20px 10px 40px;
    margin: 20px 0 0 auto;
    text-align: center;
    border-radius: 30px;
    border: 1px solid #2d54a1;
    background-color: #2d54a1;
    color: #fff;
}
.more_btn::before {
    position: absolute;
    top: 17.5px;
    left: 45px;
    display: inline-block;
    content: '';
    border: 7px solid transparent;
    border-left: 7px solid #fff;
    transition: 0.3s;
}
.more_btn:hover {
    opacity: 1;
    background-color: #fff;
    color: #2d54a1;
}
.more_btn:hover::before {
    border-left: 7px solid #2d54a1;
    transform: translateX(3px);
}


/*-----------------------
 医療関係エリア
-----------------------*/
.medical_area {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}
.medical_area a {
    width: 40%;
    aspect-ratio: 3.5 / 1;
    background-color: #87C0CD;
    color: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
}
.medical_area a:hover {
    transform: translateY(-3px);
}
.medical_img {
    text-align: center;
    margin-top: 40px;
}
.page-id-5214 .medical_img {
    margin: 100px 0 0 auto;
    width: 200px;
}
.page-id-5214 .medical_img img {
    vertical-align: bottom;
}

@media screen and (max-width: 767px) {
    .medical_area {
        flex-wrap: wrap;
    }
    .medical_area a {
        width: 48.5%;
        aspect-ratio: 2 / 1;
    }     
}
@media screen and (max-width: 480px) {
    .medical_area {
        flex-direction: column;
    }   
    .medical_area a {
        width: 100%;
        aspect-ratio: 3 / 1;
    }        
}


/*-----------------------
 採用エリア
-----------------------*/
.recruit_area {
    display: flex;
    gap: 10px;
}
.recruit_area a {
    width: 40%;
    aspect-ratio: 3.5 / 1;
    background-color: #87C0CD;
    color: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
}
.recruit_area a:hover {
    transform: translateY(-3px);
}
@media screen and (max-width: 767px) {
    .recruit_area {
        flex-wrap: wrap;
    }
    .recruit_area a {
        width: 48.5%;
        aspect-ratio: 2 / 1;
    }     
}
@media screen and (max-width: 480px) {
    .recruit_area {
        flex-direction: column;
    }   
    .recruit_area a {
        width: 100%;
        aspect-ratio: 3 / 1;
    }        
}

/*-----------------------
 フッター
-----------------------*/
footer {
    width: 100%;
    background-color: #eee;
    padding: 30px 0 50px;
    margin-top: auto;
}
.footer_inner {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}
.footer_logo img {
    display: block;
    width: 300px;
    object-fit: cover;
    margin-bottom: 10px;
}
.footer_adress p {
    text-align: left;
    color: #333;
}
.copyright {
    font-size: 14px;
    text-align: center;
    color: #333;
}
@media screen and (max-width: 767px) {
    .footer_inner {
        flex-direction: column;
        align-items: center;
    }
    .footer_logo img {
        margin: 0 auto 10px;
    }
}
@media screen and (max-width: 480px) {
    .footer_inner {
        flex-direction: column;
        align-items: center;
    }
}

/* フッターメニュー */
.footer_menu {
    display: flex;
    gap: 0 40px;
}
.footer_menu ul li {
    padding: 8px 0;
}
.footer_menu ul li a {
    position: relative;
    color: #333;
    padding-left: 15px;
}
@media screen and (max-width: 767px) {
    .footer_menu {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
}
@media screen and (max-width: 480px) {
    .footer_menu {
        gap: 0 30px;
        justify-content: flex-start;
    }
}

/* ページアップボタン */
.page_up {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 50px;
    background: #2d54a1;
    z-index: 3;
}
.arrow {
    display: inline-block;
    position: absolute;
    top: 20px;
    left: 15px;   
    width: 20px;
    height: 20px;
    border-top: 2px solid #fff; 
    border-right: 2px solid #fff; 
    transform: rotate(-45deg);
}
.page_up:hover {
    opacity: 1;
    background-color: #fff;
}
.page_up:hover .arrow {
    border-color: #2d54a1;
}
