@charset "utf-8";
/* CSS Document */

  .wrapper {
    overflow: hidden;
  }


@media (min-width: 600px) {
   a[href^="tel:"] {
       pointer-events: none;
   }
}



/* ページ内リンク。飛んだ際のズレ防止用 idにつける */
/*
#link{
  padding-top:150px;
  margin-top:-150px;
}
@media screen and (max-width: 1024px) {
#link{
  padding-top:70px;
  margin-top:-70px;
}
}
*/






/* ------------------------------------------------------------------
スクロールした時のheader
 ------------------------------------------------------------------ */


header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    padding: 16px 32px 0;
  /* アニメーションの変化時間 */
  transition: 0.5s;
    transition: 0.3s;
  background-color: #fff;
}

@media screen and (max-width:1024px) {
  header {
    width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    height: 7rem;
    position: fixed;
    top: 0;
    z-index: 100;
    padding: 10px 25px;
    padding-right: 80px;
    padding: 14px 80px 10px 20px;
    
  }
}

/* スクロールして「scroll-navクラス」がついたときのヘッダーデザイン */
header.scroll-nav {
  /* 余白を狭くする */
  padding: 14px 32px 10px;
  /* 背景を白にする */
  background: #fff;
  /* コンテンツの背景が白でもナビゲーションだと分かりやすいように影をつける */
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  box-shadow: 1px 2px 7px 0 rgba(101, 141, 204, 0.2);
  box-shadow: rgba(113,135,164,.12) 0px 0px 5px 2px;
}

header.scroll-nav .header_wrap {
    width: 100%;
    display: grid;
    grid-template-columns: 32rem 1fr;
          border-bottom: 1px solid transparent;
}

@media screen and (max-width: 1024px) {
header.scroll-nav {
  padding: 14px 80px 10px 20px;
  box-shadow: 0 0 10px 3px rgba(0, 0, 0, 0.06);
          border-bottom: 1px solid #E6E6E6;
  }

header.scroll-nav .header_wrap {
    width: 100%;
    display: grid;
    grid-template-columns: 24rem ;
}
}

/* 「scroll-navクラス」がヘッダーについたときに、ロゴとナビゲーションの文字を変更する */
header.scroll-nav .logo,
header.scroll-nav ul li a {

}

/*  ------  headerスクロール  ------  */





/*

@media screen and (min-width:1025px) {
header {
    display:none;
}
}

@media screen and (min-width:1025px) {
header.scroll-nav  {
    display:none;
}
}

*/
@media screen and (min-width:1025px) {
.index_header{
  display: none
}
  }




/*------------------------------------------------------------------------------
  header_     grid-template-columns: ロゴの大きさ 1fr;
------------------------------------------------------------------------------*/


.header_wrap {
    width: 100%;
    display: grid;
    gap: 0 2.8rem;
    grid-template-columns: 34rem 1fr;
    gap: 0 4rem;
    align-items: center;
    margin: 0 auto;
}


@media screen and (min-width:1025px) {
.header_wrap {
}
}

@media screen and (max-width:1024px) {
.header_wrap {
    grid-template-columns: 180px 1fr;
      grid-template-columns: 24rem;
    padding: 0px;
    border-radius: 0;
  }
}


/*------------------------------------------------------------------------------
  header_logo
------------------------------------------------------------------------------*/

.header_logo {
    width: 100%;
  }
/* SP */
@media screen and (max-width:768px) {
  .header_logo {
    width: 100%;
  /*  margin: 0 auto; 
            z-index: 201;*/
  }

}

.header__nav_logo{
          padding: 0 2.4rem 0;
      max-width: 360px;
    width: 100%;
    margin: 0 auto;
      padding-bottom: 3.2rem;
}






/*------------------------------------------------------------------------------
  header-btn
------------------------------------------------------------------------------*/
.header-btn_wrap {
    justify-content: flex-end;
    display: grid;
    grid-template-columns: auto auto;
    margin-bottom: 1rem;
    gap: 1.6rem;
  }

@media screen and (max-width: 1024px) {
.header-btn_wrap {
  margin-bottom: 0px;
}
}

.header__tel-btn {
  text-align: center;
  width: 100%;
  display: block;
  color: #fff;
  background-color: #ff7417;
  font-weight: bold;
  padding: 6px 24px;
  border-radius: 40px;
  background-image: linear-gradient(150deg, rgba(247, 166, 12, 1) 25%, rgba(251, 106, 46, 1) 85%, rgba(255, 34, 87, 1));
}

.header__tel-btn span::before {
  content: "";
  background: url("../images/ic_tel.svg");
  display: inline-block;
  width: 1.6rem;
  height: 1.6rem;
  vertical-align: middle;
  background-size: cover;
}

.header__reserve-btn {
  text-align: center;
  width: 100%;
  display: block;
  color: #fff;
  background-color: var(--primary-500);
  font-weight: bold;
  padding: 6px 24px;
  border-radius: 50vh;
  font-size: 1.5rem;
}

.header__reserve-btn:hover{
    opacity: 1;
    /* outline: 1px solid var(--accent-600); */
    background-color: var(--primary-600);
  }


.header__reserve-btn span::before {
  content: "";
  background: url("../images/icons/ic_calendar.svg");
  display: inline-block;
  width: 1.8rem;
  height: 1.8rem;
  vertical-align: middle;
  background-size: cover;
  margin-right: 1rem;
  margin-bottom: 0.4rem;
}

 ._tab {
  display: none;
}
@media screen and (max-width: 1024px) {
._tab {
    display: block;
  }
}



/* SP */
@media screen and (max-width:1024px) {

  .header-btn_wrap {
    display: none;
    width: 100%;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: center;
  }
  .header__tel-btn {
    width: 100%;
    text-align: center;
    margin: 0 0 2vw 0;
  }
  .header__tel-btn a {
    width: 100%;
    display: block;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
  }
  .header__tel-btn a span {}
  .header__tel-btn a span::before {
    content: "";
    background: url("../images/ic_tel.svg");
    display: inline-block;
    width: 2.4rem;
    height: 2.4rem;
    margin: 0 5px -1px 0;
    background-repeat: no-repeat;
  }

  .header__reserve-btn {
    width: 100%;
    text-align: center;
    margin: 0 0 2vw 0;
  }
  .header__reserve-btn a {
    width: 100%;
    display: block;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
  }
  .header__reserve-btn a span {}
  .header__reserve-btn a span::before {
    content: "";
    background: url("../images/ic_calendar.svg");
    display: inline-block;
    width: 2.4rem;
    height: 2.4rem;
    margin: 0 5px -1px 0;
    background-repeat: no-repeat;
  }


}









/* ------------------------------------------------------------------

ハンバーガーメニュー内の予約ボタン

 ------------------------------------------------------------------ */

.reserve-buttons--two-column {
  display: grid;
  grid-template-columns: 48% 48%;
  gap: 1rem;
      padding: 0 2.4rem 2.8rem;
    padding-bottom: 2.8rem;
}

.reserve-button {
  align-content: center;
  background-color: var(--primary-500);
  border-radius: 1rem;
  color: #fff;
  display: block;
  font-size: 1.6rem;
  font-weight: bold;
  padding: 4px 24px;
  text-align: center;
  width: 100%;
  /* width: 160px; */
}

/* SP */
@media screen and (max-width: 1024px) {
  .reserve-button {
    border-radius: 1rem;
    box-shadow: 1px 2px 5px 0 rgba(0, 0, 0, 0.1);
    padding: 12px 24px;
    text-align: center;
    width: 100%;
  }

  .reserve-button a {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    width: 100%;
  }

  .reserve-button__content {
    align-items: center;
    display: grid;
    gap: 0.2rem;
    grid-template-rows: 2.8rem 1fr;
    justify-content: center;
    justify-items: center;
  }

  .reserve-button__icon {
    width: 2.8rem;
  }
}
/* ------------------------------------------------------------------

ハンバーガーメニュー内の予約ボタン

 ------------------------------------------------------------------ */







/* ------------------------------------------------------------------
nav_
 ------------------------------------------------------------------ */
/* PC */

.nav-wrap{

}


/*------------------------------------------------------------------------------
  nav
------------------------------------------------------------------------------*/

.nav_item{
   /* margin-right: 18px;
     width: clamp(10px, 100%, 12rem);
  */
  /*下の階層のulや矢印の基点にするためliにrelativeを指定*/
   position: relative; */
}

.last{
    margin-right: 0px;
  /*下の階層のulや矢印の基点にするためliにrelativeを指定*/
	position: relative;
}

.last a{
  padding-right: 0;
}

.nav_item_sub .nav_link{
  padding: 2rem 0 2rem 2rem;
}

@media screen and (max-width: 1024px) {
.nav_item{
    margin-right: 0;
  position: relative;
  }
}

.nav_link{
    font-size: 15px;
    text-decoration: none;
    transition: all .3s;
    letter-spacing: .15rem;
    line-height: 1.3;
    padding: 0.6rem 1.6rem;
  text-align: center;
  width: 100%;
  height: 100%;
  /* vertical-align: middle;
  align-content: center; */
  font-weight: 500;
}

@media screen and (max-width: 1110px) {
.nav_link {
    font-size: 15px;
    padding: 0.6rem 1.3rem;
  }
}


.nav_link:hover{
  color: var(--primary-500);
  opacity: 1;
}

 .nav_link:hover .arrow::after{
  opacity: 1;
}

  .nav {
display: grid;
width: 100%;

}
  /*ナビゲーションを横並びに*/
  .nav_list {
    position: relative;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    gap: 0;
  }

  /*ナビゲーションのリンク設定*/
  .nav_link {
    /*矢印の基点にするためrelativeを指定*/
    position: relative;
    display: block;
  }



@media (min-width: 1025px) {
.nav_bg{
  display: none;
}
}


@media (max-width: 1024px) {
 /* .nav {
    position: fixed;
    right: -100%;  右から出てくる 
    top: 0;
    width: 100%; スマホに収まるサイズ 
    height: 100vh;
    padding-top: 60px;
    background-color: #fdf2f8;
        transition: all .6s;
        z-index: 200;
        overflow-y: auto; メニューが多くなったらスクロールできるように 
        padding: 2.2rem 2.8rem 7.2rem;
        padding: 8rem 2.5rem 4rem 2rem;
  } */


.nav {
position: fixed;
        background-color: #fff;
        z-index: 200;
        overflow-y: auto;
        padding: 2.4rem 0 2.4rem;
        transition: opacity 0.3s ease;
        width: 100vw;
        height: calc(100% - 6.4rem);
        height: 100%;
        top: 0;
        bottom: 0;
        left: 0;
        opacity: 0;
        overflow: auto;
        pointer-events: none;
  }

.nav .header_logo {
  margin-bottom: 1.6rem;
  max-width: 110px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.nav_list {
  margin: 0;
  list-style: none;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  height: auto;
  display: block;
  padding: 0 2.4rem 0;
}

  .nav_item {
    width: 100%;
  }

.nav_item:first-child {
    border-top: 1px solid var(--primary-300);
  }

.nav_link.arrow:after {
  content: "";
  display: inline-block;
  vertical-align: 1px;
  width: 8px;
  height: 8px;
  border: 1px solid var(--primary-500);
  border-left-width: 0;
  border-top-width: 0;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  position: absolute;
  top: 45%;
  right: 20px;
}

.nav_link {
  display: block;
          padding: 2.2rem 1rem;
        padding-left: 1rem;
        text-align: left;
        font-size: 17px;
  text-decoration: none;
  transition: all .3s;
  letter-spacing: .15rem;
  line-height: 1.3;
  border-bottom: 1px solid var(--primary-300);
  text-align: left;
}




.nav_bg {
  padding: 0 2.4rem;
  margin-top: 2rem;
}

/*
.nav_list:before {
position: absolute;
        content: "";
        background: url(../images/flag_left.svg) no-repeat;
        background-size: contain;
        transform: rotate(-22deg);
        width: 30%;
        height: 56px;
        left: 10px;
        top: -80px;
        z-index: 1;
    }

.nav_list:after {
position: absolute;
        content: "";
        background: url("../images/flag_right.svg") no-repeat;
        background-size: contain;
        transform: rotate(22deg);
        width: 30%;
        height: 56px;
        right: 10px;
        top: -80px;
        z-index: 1;
    }
*/

}












/* ------------------------------------------------------------------
nav_hamburger-menu
 ------------------------------------------------------------------ */
@media  (min-width: 1025px) {
.hamburger {
  display: none;
}
}

@media only screen and (max-width: 1024px) {
  .hamburger {
position: absolute;
        right: 14px;
        top: 8px;
        width: 50px;
        height: 50px;
        cursor: pointer;
        z-index: 300;
       background-color: var(--primary-500);
        border-radius: 50vh;
  }


.hamburger_border {
  position: absolute;
left: 14px;
        width: 24px;
        height: 2px;
        background-color: #656565;
        background-color: #fff;
  transition: all .6s;
  transition: all 0.3s ease-out;
  border-radius: 4px;
}

  .hamburger_border_top {
    top: 22px;
  }
  .hamburger_border_center {
    top: 30px;
  }
  .hamburger_border_bottom {
    top: 38px;
  }
.hamburger_border {
  position: absolute;
  left: 14px;
  width: 22px;
  height: 2px;
  background-color: #656565;
  background-color: #fff;
  transition: all .6s;
  transition: all 0.3s ease-out;
  border-radius: 4px;
}

   .hamburger_border_top {
    top: 16px;
  }
  .hamburger_border_center {
    top: 24px;
  }
  .hamburger_border_bottom {
    top: 32px;
  }
  .black_bg {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100;
   /* background-color: #333; */
    opacity: 0;
    visibility: hidden;
    transition: all .6s;
    cursor: pointer;
  }


/* 表示された時用のCSS Xボタン */
.nav-open .nav {
  right: 0;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.nav-open .black_bg {
  opacity: .8;
  visibility: visible;
}

.nav-open .hamburger_border_top {
  transform: rotate(45deg);
  top: 24px;
}

.nav-open .hamburger_border_center {
  width: 0;
  left: 50%;
}

.nav-open .hamburger_border_bottom {
  transform: rotate(-45deg);
  top: 24px;
}


/*
.hamburger::before {
content: "MENU";
display: block;
position: absolute;
bottom: 2px;
left: 50%;
text-align: center;
font-size: 10px;
letter-spacing: 0.12em;
font-family: "Work Sans", sans-serif;
color: #036DD0;
transform: translateX(-50%);
width: 50px;
			}

.nav-open .hamburger::before {
content: "CLOSE";
display: block;
position: absolute;
top: 72%;
left: 50%;
-webkit-transform: translateX(-50%);
transform: translateX(-50%);
text-align: center;
line-height: 1;
letter-spacing: 0;
font-size: 10px;
letter-spacing: 0.1em;
white-space: nowrap;
			}
*/
}/* sp */





/* ------------------------------------------------------------------
 ドロップダウンメニュー 
 ------------------------------------------------------------------ */

.nav_link_sub {
      border-bottom: 1px dashed #e6e6e6;
      display: flex;
      align-items: center;
      font-size: 1.5rem;
      padding: 1.6rem 0;
      padding-left: 1rem;
      border-bottom: 1px dashed #ccc;
      gap: 6px;
      /* color: #656565; */
      justify-content: space-between;
      letter-spacing: .05em;
}

.nav_link_sub:hover {
    font-weight: 700;
    border-bottom: 1px solid var(--primary-400);
    opacity: 1;
}




@media (max-width: 1024px) {
  .nav_list_sub {
    font-size: 1.4rem;
  }

  
  .nav_link_sub {
    padding: 1rem 0 0.8rem 0.4rem;
    font-size: 1.4rem;
    font-weight: 500;
    border-bottom: 1px dashed #ccc;
    gap: 0px;
  }

  .nav_item_sub {
    width: 46%;
    /* border-bottom: 1px dotted #ccc; */
  }
}


.nav_list_sub {
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    border-top: 3px solid var(--primary-500);
    display: block;
}

@media (min-width: 1025px) {
  .nav_list_sub {
        background-color: #fff;
        display: grid;
        gap: 0 2rem;
        box-shadow: 0px 2px 10px rgba(129, 129, 129, 0.1);
        grid-template-columns: repeat(1, 1fr);
        padding: 1rem 2.4rem 3rem 2.4rem;
    
  }
}

@media (max-width: 1024px) {
  .nav_list_sub {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(7.2em, 1fr));
    text-align: left;
    gap: 0 0rem;
    margin-bottom: 1.2rem;
    margin-top: 0.6rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border-top: none;
  }
}

.nav_list_subWrap {
    display: none;
    z-index: 1000
}

@media (min-width: 1025px) {
  .nav_list_subWrap {
    position: absolute;
    width: 28rem;
    padding: 12px 8px 0 0;
    right: 0;
  }

    .jihi_nav {
      position: absolute;
      width: 52rem;
      padding: 16px 12px;
      padding: 10px 12px 0 0;
      left: -300px;
    }
    }

@media (max-width: 1024px) {
  .nav_list_subWrap {
    display: block;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
    padding-bottom: 0.2rem;
  }
}

@media (min-width: 1025px) {
    :hover>.nav_list_subWrap {
        display:block
    }
}

/* @media (max-width: 1024px) { */

/* } */

.nav_item_sub ::after {
    content: "";
    display: inline-block;
    vertical-align: 1px;
    width: 7px;
    height: 7px;
    margin: 0px 12px 0px 0px;
    border-width: 0px 2px 2px 0px;
    border-style: solid;
    border-color: var(--primary-500);
    border-top-width: 0;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
/* 通常時の矢印 */
.nav_link_sub::after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 7px;
  height: 7px;
  margin-left: 12px; /* ←テキストの後ろに配置するなら left */
  border: solid var(--primary-500);
  border-width: 0 2px 2px 0;
  transform: rotate(-45deg);
}

/* hover時の矢印色変更 */
.nav_link_sub:hover::after {
  border-color: var(--primary-600);
}


.nav .f_timetable_wrap{
  margin: 2rem 0;
  
}






/* 内科 */
.nav_link--internal:hover{
  border-bottom: 1px solid #a3d5f0;
  border-bottom: 1px solid #50b0e0;
}
.nav_link--internal::after {
  border-color: #50b0e0; /* 水色 */
}
/* hover時の矢印色変更 */
.nav_link--internal:hover::after {
  border-color: #1b78ae;
}


/* 小児科 */
.nav_link--Pediatrics:hover{
  border-bottom: 1px solid #acdd3e;
}
.nav_link--Pediatrics::after {
  border-color: #8dc21f; /* 緑 */
}
/* hover時の矢印色変更 */
.nav_link--Pediatrics:hover::after {
  border-color: #537615;
}


/* 心療内科 */
.nav_link--psychosomatic:hover{
  border-bottom: 1px solid #ffa1c6;
}
.nav_link--psychosomatic::after {
  border-color: #ff669e; /* ピンク */
}
/* hover時の矢印色変更 */
.nav_link--psychosomatic:hover::after {
  border-color: #ca0c3f;
}






.nav .f_timetable_wrap p{
  padding-left: 8px;
  line-height: 1.5;
  font-size: 1.3rem;
  padding-top: 0.6rem;
}


@media (min-width: 1025px) {
/*
.nav_item .arrow::after , .nav_item .arrow::before {
    content: "";
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: block;
    width: 7px;
    height: 2px;
    background-color: #38a1db;
  background-color:#ffa3c2;
}
  */

.nav_item .arrow::before {
left: calc(100% - 29px);
    transform: rotate(40deg);
}

.nav_item .arrow::after {
    left: calc(100% - 24px);
    transform: rotate(-40deg);
}

/*
.nav_item:before, .nav_item:after {
        content: '';
        position: absolute;
        width: 1px;
        height: 20px;
        background: #e6e6e6;
        top: 50%;
        transform: translateY(-50%);
    }

  .nav_item:before{
 
  }
.nav_item:last-child:after {
    right: 0;
}
  */

}







.mappin{
  width: 1.8rem;
  padding-top: 2px;
}



.nav .f_timetable_wrap{
  margin: 2.4rem 0 ;
  border-radius: 1rem;
  padding: 0.8rem 1.6rem 1.2rem 1rem;
  font-weight: normal;
  font-size: 1.4rem;
  background-color: #fff;
}

.nav .f_timetable th:first-child {
    width: 28%;
    height: 40px;
  padding-left: 0;
}










/*------------------------------------------------------------------------------
  header-timetable ヘッダー診療時間ボタン
------------------------------------------------------------------------------*/
.accordion-timetable {
    max-width: 400px;
    border-radius: 25px;
}

.accordion-timetable:hover{
  opacity: 0.8;
}

.accordion-timetable summary {
  display: flex;
  justify-content: space-between;
  /* border: solid 1px #f6d5da; */
  align-items: center;
  position: relative;
  color: #fff;
  background-color: #7edee2;
  background-color: #42c7ce;

  cursor: pointer;
  padding: 6px 20px;
  border-radius: 50vh;
  font-weight: 600;
  font-size: 1.5rem;
  width: 160px;
  width: 190px;
  /* 診療受付時間 */
}

.accordion-timetable summary::-webkit-details-marker {
    display: none;
}

.accordion-timetable summary::after {
  transform: translateY(-25%) rotate(45deg);
  width: 7px;
  height: 7px;
  margin-left: 10px;
  border-bottom: 3px solid #fff;
  border-right: 3px solid #fff;
  content: '';
  transition: transform .3s;
}

.accordion-timetable[open] summary::after {
    transform: rotate(225deg);
}

.accordion-timetable .f_timetable_wrap {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: 0.6em 1em 1.2em;
    transition: transform .5s, opacity .5s;
}

.accordion-timetable[open] .f_timetable_wrap {
    transform: none;
    opacity: 1;
    position: absolute;
    right: 50px;
    border-radius: 1rem;
    top: 14rem;
    /* border: 1px solid #feccde; */
    background-color: #fff;
    z-index: 1;
    width: 400px;
    box-shadow: rgba(113, 135, 164, .05) 0px 0px 5px 2px;
}

.accordion-timetable .f_timetable th{
font-size: 1.4rem;
}
.accordion-timetable p{
font-size: 1.4rem;
}

.header-btn_wrap summary span::before {
    content: "";
    background: url("../images/time_line_2.svg");
    display: inline-block;
    width: 1.8rem;
    height: 1.8rem;
    vertical-align: middle;
    background-size: cover;
    margin-right: 1rem;
    margin-bottom: 0.4rem;
}





/*------------------------------------------------------------------------------
  sp-nav_footer-timetable フッター診療時間ボタン
------------------------------------------------------------------------------*/
.sp-accordion-timetable {
    width: 100%;
    padding: 0 12px;
    height: 4.5rem;
    align-content: center;
}

.sp-accordion-timetable summary {
    display: grid;
      display: flex;
    flex-wrap: wrap;
    justify-content: center;
    justify-content: center;
    align-items: center;
    position: relative;
    color: #fff;
    cursor: pointer;
    font-size: 1.6rem;
    /* text-align: center; */
  gap: 6px;
}

.sp-accordion-timetable summary::-webkit-details-marker {
    display: none;
}

.sp-accordion-timetable summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #cf7392;
    border-right: 3px solid #cf7392;
    /* content: ''; */
    transition: transform .3s;
}

.sp-accordion-timetable[open] summary::after {
    transform: rotate(225deg);
}

.sp-accordion-timetable .f_timetable_wrap {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding:0.6em 0.8em 0.8em;
    transition: transform .5s, opacity .5s;
}

.sp-accordion-timetable[open] .f_timetable_wrap {
    transform: none;
    opacity: 1;
    position: absolute;
left: 20px;
    border-radius: 1rem;
    bottom: 6.4rem;
    border: 1px solid #42c7ce;
    background-color: #fff;
    z-index: 1;
    max-width: 300px;
}

.sp-accordion-timetable .f_timetable th{
font-size: 1.4rem;
}
.sp-accordion-timetable p{
font-size: 1.4rem;
      font-size: 1.2rem;
}











 ._tabnon {

}
@media screen and (max-width: 1024px) {
._tabnon {
    display: none;
  }
}

















/*  ----多階層＋button　----------------------- */
@media (min-width: 1025px) {
  .global-navigation__link_arrow{
    display: none;
  }
}
  
@media (max-width: 1024px) {
  

.global-navigation__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600; 
  transition: color 0.4s;
  font-size: 1.6rem;
  width: 100%;
  display: block;
  padding: 1.1rem 0;
  text-align: left;
  padding-left: 1rem;
}

.global-navigation__link:hover{
  background-color:#f7f7f7;
}

/* ＋ボタン左横の区切り縦線
.global-navigation__link span::after {
    content: "";
    display: block;
    width: 0.1rem;
    height: 3rem;
    position: absolute;
    right: 5.6rem;
    top: 2rem;
    background: #e7e9ee;
    }
*/

.global-navigation__link.-accordion {
    position: absolute;
    background: none;
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 5rem;
    height: 5rem;
    margin: 0.8rem;
    margin-right: 0;
    padding: 0;
    top: 0;
    right: 0;
    justify-content: center;
    display: flex;
}




/*  ----  アコーディオン用_＋開閉ボタン  ----  */
.global-navigation__link.-accordion::after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    height: 16px;
    width: 1px;
    background-color: #00658e;
    transform: translateY(-50%);
    transition: transform 0.3s;
}
.global-navigation__link.-accordion::before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    width: 16px;
    height: 1px;
    /* right: 0; */
    background-color: #00658e;
    transform: translateY(-50%);
    transition: transform 0.02s;
}
.global-navigation__link.-active::after {
  transform: translateY(-50%) rotate(-90deg);
}
/*  ----  アコーディオン用_＋開閉ボタン  ----  */




/*  ----  アコーディオン用_回転矢印開閉ボタン  ----  */
.global-navigation__link_arrow.-accordion {
    position: absolute;
    background: none;
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 6rem;
    height: 6rem;
    margin-right: 0;
    padding: 0;
        top: 2px;
        right: -8px;
    justify-content: center;
    display: flex;
}


.global-navigation__link_arrow.-accordion::after {
    content: '';
    position: absolute;
    display: block;
    top: 45%;
    transform: translateY(-25%) rotate(45deg);
    transition: transform 0.4s;
    width: 8px;
    height: 8px;
    border-bottom: 2px solid var(--primary-500);
    border-right: 2px solid var(--primary-500);
}
.global-navigation__link_arrow.-active::after {
  transform: translateY(-50%) rotate(-90deg);
  transform: rotate(225deg);
}
/*  ----  アコーディオン用_回転矢印開閉ボタン  ----  */





/* アコーディオンの初期状態 */
.accordion {
  height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: height 0.4s ease, opacity 0.4s ease;
}

/* アコーディオンが開いた状態 */
.accordion.-active {
  visibility: visible;
  opacity: 1;
  height: auto;
  /* JavaScriptで具体的な高さに設定するので、autoでOK */
  transition: height var(--close-duration, 0.8s) ease, opacity var(--close-duration, 0.8s) ease;
  /* background-color: #fff; */
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
  border-radius: 0.4rem;
  /* margin-top: 1rem; */
}



.accordion__list {
  
}

.accordion__link {
    padding: 10px 0;
    width: 100%;
    display: grid;
    position: relative;
    font-size: 14px;
    padding-left: 32px;
}


/*  ----  アコーディオン子要素_矢印  ----  */
.ac_arrow::after {
    content: '';
    position: absolute;
  display: block;
    top: 40%;
    vertical-align: 1px;
    width: 7px;
    height: 7px;
    border: 2px solid #00658e;
    border-left-width: 0;
    border-top-width: 0;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
/*  ----  アコーディオン子要素_矢印  ----  */

/*  ----  アコーディオン子要素_ライン  ----  */
.ac_line::after {
  content: "";
  margin: 0 auto;
  top: 50%;
  background-color: #00658e;
  position: absolute;
  left: 12px;
  height: 1px;
  width: 10px;
}
/*  ----  アコーディオン子要素_ライン  ----  */

}











/*  ----------

ST モーダルポップアップ

  ----------*/
.modal__wrap input {
    display: none;
}

.modal__open-label,
.modal__close-label {
    cursor: pointer;
}

.modal__open-label {
    display: flex;
    justify-content: center;
    align-items: center;
    margin:0 auto;
    text-align: center;
    color: #fff;
    background-color: #00aab8;
    font-weight: bold;
    padding: 6px 24px;
    border-radius: 50vh;
    width: 160px;
    font-size: 1.5rem;
    font-family: 'Zen Kaku Gothic New';
}



.modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
}

.modal__open-input:checked + label + input + .modal {
    display: block;
    animation: modal-animation .2s;
}

.modal__content-wrap {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 500px;
    background-color: #fefefe;
    border: 2px solid #00aab8;
    z-index: 2;
    border-radius: 1.6rem;
    overflow: hidden;
}

.modal__close-label {
color: #00aab8;
    border-radius: 10px;
    width: 60px;
    height: 60px;
    padding: 0.4rem 0 0;
    line-height: 1.6;
    text-align: center;
    display: table-cell;
    position: fixed;
    top: 3px;
    right: 0%;
    z-index: 99999;
    font-size: 1.8em;
}

.modal__content {
    max-height: 50vh;
    overflow-y: auto;
    padding: 60px 45px 60px;
    text-align: center;
}

.modal__background {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .3);
    z-index: 1;
}

@keyframes modal-animation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@media only screen and (max-width: 520px) {
    .modal__open-label {
        font-family: "Noto Sans JP", sans-serif;
        color: #fff;
        font-size: 1.8rem;
        line-height: 1.5;
    }

    .modal__close-label {
        top: -17px;
        right: -4%;
    }

    .modal__content-wrap {
        width: 90vw;
    }

    .modal__content {
        padding: 33px 21px 35px;
        max-width: 100%;
    }
}
/*  ----------

END モーダルポップアップ

  ----------*/




/*  ----------

ST モーダルポップアップ_sp

  ----------*/

.modal-2__wrap{
  width: 100%;
    height: 4.5rem;
    align-content: center;
}

.modal-2__wrap input {
    display: none;
}

.modal-2__open-label,
.modal-2__close-label {
    cursor: pointer;
}

.modal-2__open-label {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    color: #ffffff;
  font-size: 16px;
}


.modal-2 {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
}

.modal-2__open-input:checked + label + input + .modal-2 {
    display: block;
    animation: modal-2-animation .2s;
}

.modal-2__content-wrap {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 500px;
    background-color: #fefefe;
    border: 2px solid #00aab8;
    z-index: 2;
    border-radius: 1rem;
      text-align: center;
}

.modal-2__close-label {
    color: #00aab8;
    width: 50px;
    height: 50px;
    padding: 0.4rem 0 0;
    line-height: 1.6;
    text-align: center;
    display: table-cell;
    position: fixed;
    top: 0px;
    right: 0%;
    z-index: 99999;
    font-size: 1.3em;
}

.modal-2__content {
    max-height: 50vh;
    overflow-y: auto;
    padding: 39px 32px 40px;
}

.modal-2__background {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .3);
    z-index: 1;
}

@keyframes modal-2-animation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


/*  ----------

END モーダルポップアップ

  ----------*/





@media (min-width: 1025px) {

  .down_arrow{
    padding-right: 2.4rem;
  }  

.nav_item .down_arrow::after , .nav_item .down_arrow::before {
    content: "";
    position: absolute;
        background-color: var(--primary-500);
        bottom: 12px;
        display: block;
        width: 6px;
        height: 2px;
}
  
.nav_link:hover.down_arrow::after{
  background-color:var(--primary-700);
  }
  .nav_link:hover.down_arrow::before{
  background-color:var(--primary-700);
  }

.nav_item .down_arrow::before {left: calc(100% - 20px);transform: rotate(45deg);}

.nav_item .down_arrow::after {
    left: calc(100% - 16px);
    transform: rotate(-45deg);
}
}








/* ------------------------------------------------------------------------------------------

     ST　診療時間表_Table Classes 

------------------------------------------------------------------------------------------ */

/* -------------------------------------------------------------------------------------------
   時間関連情報のスタイル
   ------------------------------------------------------------------------------------------ */

/* 時間情報のラッパー */
.header__right-container {
  /* 空のルールセットですが、メディアクエリがあるため保持 */
}

@media all and (max-width: 768px) {
  .header__right-container {
    order: 2;
  }
}

/* 時間情報のテキスト */
.header__timeinfo {
    font-size: 1.5rem;
    padding: 0rem 0.4rem 1rem;
    border-radius: 0.6rem;
    border-top: solid 8px var(--primary-500);
    border-bottom: solid 8px var(--primary-500);
    order: 2;
}


@media all and (max-width: 768px) {
  .header__timeinfo {
    width: 100%;
    margin: 0 auto;
    padding: 0.2rem 0rem 0.6rem;
    font-size: 1.3rem;
  }
}


/* タイムテーブルのラッパー */
.header__schedule-container {
  margin-bottom: 1rem;
}

@media all and (max-width: 768px) {
  .header__schedule-container {
    width: 100%;
    margin-bottom: 1rem;
  }
}

/* タイムテーブル本体 */
.header__schedule-table {
  width: 100%;
}

@media all and (max-width: 768px) {
  .header__schedule-table {
    width: 100%;
    border-spacing: 0;
    border-collapse: separate;
  }
}

/* タイムテーブルのセル共通スタイル */
.header__schedule-table th,
.header__schedule-table td {
  width: 7%;
  vertical-align: middle;
  border-bottom: 1px solid var(--color-ruled-line);
  text-align: center;
}

/* タイムテーブルのタイトル */
.header__schedule-table_ttl {
  font-size: 1.6rem;
  letter-spacing: 0.4rem;
}

/* タイムテーブルの最初の見出しセル */
.header__schedule-table th:first-child {
  width: 20%;
  height: 50px;
  padding-left: 1rem;
  vertical-align: middle;
  text-align: left;
}

@media all and (max-width: 768px) {
  .header__schedule-table th:first-child {
        width: 28%;
        height: 40px;
        padding-left: 0.8rem;
  }
}

/* タイムテーブルのデータセル */
.header__schedule-table td {
  vertical-align: middle;
  font-size: 1.8rem;
  line-height: 1.3;
  letter-spacing: 0;
      color: var(--primary-500);
}

.header__schedule-table .closed{
      color: var(--primary-800);
}

@media all and (max-width: 768px) {
  .header__schedule-table td {
    font-size: 1.3rem;
  }
}


.header__time-slot{
  font-size: 1.7rem;
    font-weight: 500;
}
@media all and (max-width: 768px) {
  .header__time-slot{
  font-size: 1.4rem;
}
}


.header__schedule_memo {
    display: flex;
    gap: 1rem;
  font-size: 1.3rem;
  align-items: baseline;
}

.header__schedule_memo dt{

}

.time-label{
      padding: 0rem 0.4rem;
    border-radius: 0.4rem;
    background-color: var(--accent-200);
}

.header__map-icon{
      width: 1.2rem;
    aspect-ratio: 1;
}


/* 定義リストのスタイル (profクラス内) */
.prof dt,
.prof dd {
  line-height: 1.5;
}

/* ------------------------------------------------------------------------------------------

     ST　診療時間表_Table Classes 

------------------------------------------------------------------------------------------ */































