@charset "utf-8";

/*
@media screen and (max-width: 896px) {
*/

/* =========================================
   タブレット・スマホ版スタイル (1024px以下)
   ========================================= */
@media screen and (max-width: 1024px) {

:root {
  --padding-LR:0 5%;
  --padding-TB:100px 0;
  --padding-TBLR-base:100px 5%;
  --midashi-h2:4rem;
}

a:hover img {
  opacity:1 !important;
}

a:hover,a.linkcolor-01:hover {
  color:#000;
}



  .logo {
    padding-left: 10px;
  }

  .logo img {
    max-height: 50px;
  }

  .hamburger-btn {
    display: block;
    width: 72px;
    height: 72px;
    background-color: var(--color-blue-01);
    border: none;
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1002;
    padding: 0;
  }
  
  .hamburger-line {
    display: block;
    position: absolute;
    left: 20px;
    width: 32px;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
  }

  .hamburger-line:nth-child(1) { top: 24px; }
  .hamburger-line:nth-child(2) { top: 35px; } 
  .hamburger-line:nth-child(3) { top: 47px; }

  .hamburger-btn.is-active .hamburger-line:nth-child(1) {
    top: 35px;
    transform: rotate(45deg);
  }
  .hamburger-btn.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  .hamburger-btn.is-active .hamburger-line:nth-child(3) {
    top: 35px;
    transform: rotate(-45deg);
  }

.global-nav {
    position: fixed;
    top: 72px; /* ★変更：0 から 72px（ヘッダーの高さ）に変更 */
    left: 0;
    width: 100%;
    height: calc(100vh - 72px); /* ★変更：画面全体の高さからヘッダー分を引く */
    background-color: #fff;
    z-index: 1000;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  
  .global-nav.is-open {
    transform: translateX(0);
  }
  
  .nav-list {
    display: flex;
    flex-direction: column;
    padding: 20px 20px 40px; /* ★変更：上部 padding を 80px から 20px などの適切な余白に減らす */
  }
  
  .nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    font-size: 1.7rem;
    font-weight: 400;
    width: 100%;
    cursor: pointer;
  }
  
  .toggle-icon {
    position: relative;
    width: 14px;
    height: 14px;
  }
  .toggle-icon::before,
  .toggle-icon::after {
    content: '';
    position: absolute;
    background-color: #112d4e;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .toggle-icon::before { width: 16px; height: 1px; }
  .toggle-icon::after { width: 1px; height: 16px; transition: transform 0.3s ease; }
  
  .has-submenu.is-active .toggle-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
  }
  
  .mega-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .mega-menu-inner {
    padding-left: 15px;
    padding-bottom: 10px;
  }
  
  .mega-menu-title {
    display: none;
  }
  
  .mega-menu-list li {
    padding: 10px 0;
  }
  
  .mega-menu-list a {
    font-size: 1.5rem;
    color: #4b5563;
  }

  .boxcommon {

  }

  .h2Block h2 .pageTitle {
    font-size:3rem;
    margin:16px 0 20px;
    display:block;
  }

  .h2Block h2 .pageTitle-en {

    font-size:1.3rem;
  }

  img.boxcommon-circle-big-01 {
    top:-80px;
  }

  .scroll-infinity__item {
    width:320px;
  }


  .fv {
    height:100svh;
    padding:5% 5% 0;
    padding-bottom:7svh;
  } 

  .fv__inner {
    width: calc(100% - 0%);
    height:calc(100% - 71px);
    margin-left:0;
    border-radius:12px;
  }

  .fv__catch {
    width:100%;
    position:absolute;
    bottom:2%;
    left:0;
    z-index:2;
    overflow:hidden;
    padding-left:3%;
  }

  .fv__catch img {
    width:58%;
  }

  .fv__catch .fv__catch-txt01 {
    font-size:1.6rem;
    font-weight:500;
    padding-top:12px;
  }

  .scroller {
    display:none;
  }
  
  .homeMessage__innerTxt-en {
    font-size:1.5rem;
    margin-bottom:12px;
  }

  .homeMessage__innerTxt-jp {
    font-size:2.4rem
  }

  .homeAbout {
    margin-top:100px;
  }


  .aboutTitle {
    margin-bottom:14px;
  }

  .aboutTitle-en {
    margin-bottom:12px;
    margin-top:20px;
    font-size:1.2rem;
  }

  .aboutTitle-jp {
    letter-spacing:1px;
    margin-bottom:14px;
    font-size:1.7rem;
  }

  .homeslickBlock {
    margin-top:56px;
    width:100%;
  }

  .homeFaciltyBig__inner {
    margin-top:28px;
    flex-direction:column;
    gap:40px;
  }

  .homeFaciltyBig__innerTxt {
    width:100%;
  }

  .homeFaciltyBig__innerImg {
    width:100%;
  }

  .slickBlockLoop {
    margin:80px 0 0;
  }





/*
TB 医師のご紹介 ***********************/

  ul.doctor__list {
    grid-template-columns:1fr 1fr;
    gap:80px 7%;
    padding-top:18px;
  }

  .doctor__txt-02 {
    font-size:2rem;
  }




/*
TB 理事長挨拶 ***********************/
  .greetingBlock-01__Img {
    width:34%;
  }

/*
TB 看護部 ***********************/

  .contactTxtBlock .txtNumber {
    font-size:3.2rem;
  }


/*
TB 当院について ***********************/
  ul.pageBtn__list {
    grid-template-columns:1fr 1fr;
  }

  .ts-max100 {
    max-width:100%;
  }



/*
TB 施設 ***********************/

  .facilityImg {
    margin-bottom:40px;
  }

  .midashi-h3-02 {
    font-size:1.7rem;
  }


  .grayBlock {
    padding:28px;
  }

  ul.facilityscene__list {
    grid-template-columns:1fr 1fr;
    gap:20px 32px;
  }

  .img-megumi-careplan-service-02 {
    margin:20px auto 0;
    width:100%;
  }

  .outpa__dl {
    flex-direction:column;
    align-items:flex-start;
  }

  .outpa__dl dt {
    margin-bottom:6px;
  }


  .facilityBlock__sideMenu {
    display:none;
  }
    
  .facilityBlock__main {
    width:100%;
  }


.accessFrame {
    width:100%;
    height:400px;
  }

  .megumienPrice {
    display:flex;
    justify-content:space-between;
    flex-direction:column;
    padding-top:24px;
    gap:40px;
  }

  .megumienPrice__Img {
    width:100%;
  }


  .megumienPrice__Txt {
    width:100%;
  }

/*
TB NEWS --------------------------------------------*/
  .homeNews {
    padding:120px 0 0;
  }

  img.homeNews__img-gr-circle-01 {
    width:30%;
    position:absolute;
    top:-5%;
    right:-5%;
    z-index:-1;
    filter: blur(10px);
    animation:yure01 5s infinite;
  }

  .newsSinglePager {
    width:100%;
    justify-content:space-around;
  }


  ul.btn-double-flex {
    flex-direction:column;
    gap:18px;
  }

  ul.btn-double-flex li {
    width:100%;
  }





























.curtain-container {
  display:none !important;
}




/*
TB footer *************/
  .ft__inner {
    padding:80px 4%;
  }

  .ft__innerBlock02 {

  }

  .ft__innerBlock02--img {
    width:40%;
    margin-bottom:8px;
  }

  .ft__innerBlock02--txt {
    width:55%;
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
    gap:32px 0px;
  }

  .ft__innerBlock02--txt dl a:hover {
    color:#000;
  }

  .ft__innerBlock02--txt dl {
    width:48%;
    margin-right:0;
  }


/*
TB margin ***************/







/*
TB block --------------------------------------------*/
.i_p_b {display: none !important;}
.i_t_b {display: block !important;}
.i_s_b {display: none !important;}
.i_pt_b {display: block !important;}
.i_ts_b {display: block !important;}
}