picture img{
  width: 100%;
}
.breadcrumb{
  display: flex;
  flex-wrap: wrap;
  width: 95%;
  max-width: 1500px;
  margin: 5% auto;
}
.breadcrumb li{
  position: relative;
  padding-right: 10px;
  font-size: 10px;
}
.breadcrumb li:not(:last-child)::before{
  content: "";
  background: #D2CEC7;
  height: 1px;
  width: 5px;
  position: absolute;
  top: 50%;
  transform: var(--transform-50-Y);
  right: 3px;
}
.div_h1 {
  padding: 60px 30px;
  max-width: 1500px;
  margin: 0 auto clamp(60px, 38.873px + 5.634vw, 120px);
  position: relative;
}
.div_h1 .en{
  font-family: var(--aboreto-font-family);
  font-weight: 400;
  color: #F3F3F3;
  font-size: clamp(50px, 28.873px + 5.634vw, 110px);
  line-height: 1.5em;
}
.div_h1 h1 .small {
	font-size:18px;
	margin-top: .69444vw;
	line-height: 1;
	display: block;
	font-weight: 400;
	overflow: hidden
}
.div_h1 .p_caption{
  font-family: var(--Klee-font-family);
  font-size: var(--body-font-size-20);
  text-align: right;
}
@media (min-width: 1440px) {
.div_h1 h1 .small {
		font-size: 15px
	}
}

@media (min-width: 1440px) {
.div_h1 h1 .small {
		margin-top: 10px
	}
}
@media (max-width: 767px) {
  .div_h1 {
  padding: 60px 30px 0;
  }
  .div_h1 .en{
  font-size: clamp(8vw, 5vw, 3rem);
  max-width: 100%;
  }
}

h2:not(.h2_nost){
  max-width: 1500px;
  width: 95%;
  padding-bottom: 30px;
  margin: 0 auto var(--margin-b-45);
  font-family: var(--Klee-font-family);
  font-size: var(--h2-font-size);
  color: var(--text-color);
  position: relative;
}
h2:not(.h2_nost)::after{
  font-family: var(--aboreto-font-family);
  font-size: var(--body-font-size-18);
  color: var(--primary);
  position: absolute;
  right: 0;
  text-align: right;
  width: 100%;
  bottom: 0;
}
.information h2:not(.h2_nost):after{
  content: "INFORMATION";
}
.maternity h2:not(.h2_nost):after{
  content: "maternity";
}
.gynecology h2:not(.h2_nost):after{
  content: "gynecology";
}
h3:not(.h3_nost){
  font-family: var(--Klee-font-family);
  font-size: var(--h3-font-size);
  padding-left:30px;
  margin: 0 0 var(--margin-b-30) 5px;
  position: relative;
}
h3:not(.h3_nost)::after{
  content: "";
  background:rgba(255,255,255,.8);
  width: 3px;
  height: 10px;
  top: 15px;
  left: 0;
  position: absolute;

}
.div_h4{
  margin-bottom: var(--margin-b-45);
}
h4:not(.h4_nost){
  margin-bottom: var(--margin-b-20);
  font-family: var(--Klee-font-family);
  font-size: var(--h4-font-size);
  font-weight: 500;
  background: rgba(255, 255, 255, .3);
  padding: 10px 20px;
  border-radius: 15px;
}
.sec_con{
  width: 100%;
  margin:0 auto clamp(60px, 38.873px + 5.634vw, 120px);
}
.art_con{
  max-width: 1500px;
  margin: 0 auto clamp(45px, 39.718px + 1.408vw, 60px);
  width: 95%;
}
@media (max-width: 767px) {
.sec_con{
  width: 89vw;
  margin-bottom: 23vw;
}
}
/***予約***/
.sec_system{
  background: rgb(243, 243, 243,.3);
  padding: 30px 15px;
  border-radius: 30px;
  position: relative;
  box-shadow: var(--shadow-size--medium);}
.sec_system:before,.sec_system::after{
    background-clip: border-box;
    background-origin: border-box;
    border-radius: inherit;
    content: "";
    left: 0;
    mask-clip: padding-box, border-box;
    mask-image: linear-gradient(var(--white) 0%, var(--white) 0%), linear-gradient(var(--white) 0%, var(--white) 0%);
    mask-composite: exclude;
    position: absolute;
    top: 0;
}
.sec_system:before {
    background-image: linear-gradient(90deg, 
color-mix(in srgb, var(--primary) 100%, transparent) 0%, 
color-mix(in srgb, var(--primary) 0%, transparent) 100%);
    border-top: solid max(.0625rem, 1px) transparent;
    height: calc(100% - max(.0625rem, 1px));
    width: 100%;
    z-index: -1;}
.sec_system:after {
    background-image: linear-gradient(180deg, 
color-mix(in srgb, var(--primary) 100%, transparent) 0%, 
color-mix(in srgb, var(--primary) 0%, transparent) 100%);
    border-left: solid max(.0625rem, 1px) transparent;
    height: 100%;
    width: calc(100% - max(.0625rem, 1px));
    z-index: -2;
  }


.sec_system h2{
  font-family: var(--Klee-font-family);
  font-size: var(--body-font-size-30);
  margin-bottom: 45px;
}
.sec_system h3{
  background: #F3F3F3;
  border-radius: 15px;
  padding: 15px;
  font-size:var(--h3-font-size) ;
  margin-bottom: 30px;
}
.sec_system .h3_wrap {
  width: 95%;
  margin: auto;
}
.sec_system .h3_wrap .link01 {
  margin-top: 30px;
}
.sec_system .h3_wrap .dl01 {
  margin-bottom: 15px;
}
.sec_system .h3_wrap .dl01 > dt {
  width: 9em;
}
.sec_system .h3_wrap .dl01 > dd {
  width: calc(100% - 9em);
  margin-bottom: 5px;
}
.sec_system .art_con{
  width: 100%;
}
.sec_system .flex{
margin: 30px 0;
}
@media (max-width: 767px) {
.sec_system .link{
  justify-content: center;
  align-items: center;
  gap: 15px;
}
  }
  @media (min-width: 768px) {
.sec_system .flex .qr_reserve{
  width: 100px;
  margin-left: 35px;
}
.sec_system .flex p{
  width: calc((100% - 100px)- 35px);
}
.sec_system .link{
  max-width: 780px;
  margin: 45px auto 0;
  justify-content: space-around;
}
  }
/***予約***/
@scope(.sec_404){
  .link03{
    margin:30px auto;
    display: inline-block;
  }
}
@scope(.post){
  .div_datelist{
  max-width: 1500px;
  margin: 0 auto 5%;
  width: 95%;
  }
  .div_datelist .date-time{
    text-align: right;
    margin-right: 15px;
  }
  .div_datelist h2{
    border-top:#D2CEC7 1px solid ;
    border-bottom:#D2CEC7 1px solid ;
    padding:15px 30px;
    font-size: clamp(25px, 22.667px + 0.622vw, 32px);
    line-height: 1.5em;
    display: block;
    font-weight: 100;
    letter-spacing: 0.02em;
  }
  
  .inner{
    margin-bottom: 5%;
  }
  .div_linklist{
    display: flex;
    justify-content: center;
    align-items: center;
  }
  @media (max-width: 767px) {
  }
/*お知らせ一覧*/
@scope(.sec_post-list ){
  h2 .list-date{
    font-size: 14px;
    margin-left: 10px;
  }
 .inner{
  padding: 0;
 }
 .ul_category li .a_category{
  padding: clamp(0.313rem, 0.092rem + 0.939vw, 0.938rem);
  font-size: clamp(12px, 11.296px + 0.188vw, 14px);
 }
.news-item {
  padding: 20px;
  background: #ffffff;
  margin-bottom: 15px;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.news-item:hover {
  transform: translateX(5px);
  background: #e7e6e6;
}.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 0.85rem;
}
.news-item h3{
  font-size: 20px;
  font-weight: 400;
}
.news-label {
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: bold;
}

}/*お知らせ一覧*/

}
/*当院について*/
@scope(.information){
  :is(.sec_message,.sec_doctor) h3{
    font-size:clamp(17px, 13.183px + 0.751vw, 24px);
    line-height: 2em;
  }
  @scope(.sec_message){
  .art_message .div_top{
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: end;
    position: relative;
    margin-bottom: var(--margin-b-45);
  }
  .art_message h3{
  margin-bottom: var(--margin-b-45); 
  }
  .art_message .im_doctor{
    width:50%;
  }
  .art_message .im_doctor img{
    width: 100%;
  }
  .art_message h4{
    /*line-height: 2.5em;*/
    font-size: var(--body-font-size-16);
    margin-bottom: var(--margin-b-30);
  }
  .art_message > *{
    font-family: var(--Klee-font-family);
  }
  .art_message .div_message p{
    /*line-height: 2.5em*/
    font-size: var(--body-font-size-16);
  }
  .art_message .div_sign p{
    text-align: left;
    width: fit-content;
    margin: 0 0 0 auto;
  }
  .art_message .div_sign p img {
    height: 45px;
    padding-top: 10px;
    margin-bottom: -4px;
    margin-left: -5px;
    opacity: 0.7;
}
  .art_prof .div_img img{
    width: 100%;
  }
  .art_prof h3{
    display: none;
  }

  @media (min-width: 768px) {
  .art_prof{
    display: flex;
    flex-wrap: wrap;
    align-items:top;
  }
  /*.art_message h3{
    position: absolute;
    left: 0;
    bottom: 0;
  }*/
  .art_prof .div_img{
  width:30%;
    }
    .art_prof .div_con{
    width: calc((100% - 30%) - 30px);
    margin-left: 30px;
  }
    .art_prof .div_con{
    display: flex;
    flex-wrap: wrap;

  }
  .art_prof .div_con .dl02{
    width: calc((100% / 2) - 30px);
  }
  .art_prof .div_con .dl02:nth-of-type(even){
    margin-left: 15px;
  }
  }
  @media (max-width: 767px) {
  .art_message .im_doctor{
    max-width: 680px;
    width: 100%;
    display: block;
    margin: 15px auto;
  }
  .art_prof .div_img{
    display: flex;
    flex-wrap: wrap;
  }
  .art_prof .div_img picture{
    width: 50%;
  }
  .art_prof .div_con .dl02 .ul01{
    font-size: 12px;
  }
}
  }
  @scope(.sec_doctor){
  .art_con h3 > .prof{
    font-size: var(--body-font-size-14);
    margin-right:10px ;
  }
    .art_con .div_prof{
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: end;
  position: relative;
 margin-bottom: var(--margin-b-45);
  }
  .art_con h3{
    position: absolute;
    left: 0;
    top: 50%;
    transform: var(--transform-50-Y);
  }
  .div_message {
    margin: var(--margin-b-30) 0;
  }
  .div_message p{
    line-height: 2em;
  }
  .art_prof.yamada .div_img img{
    width: 100%;
   }
  @media (min-width: 768px) {
  .art_con .im_doctor {
  width: 30%;
  }
  .art_con .div_history .div_con,.art_con .div_history {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
  }
  .art_con .div_history .dl02{
    width: calc((100% / 2) - 30px);
  }
  .art_con .div_history .dl02:nth-of-type(even){
    margin-left: 15px;
  }
  .art_prof.yamada .div_img{
  width:30%;
  }

   .art_prof.yamada .div_con{
    width: calc((100% - 30%) - 30px);
    margin-left: 30px;
  }
  }
  @media (max-width: 767px) {
  .art_prof.yamada .div_img{
    display: flex;
    flex-wrap: wrap;
  }
  .art_prof.yamada .div_img picture{
    width: 50%;
  }
  .art_con .im_doctor {
  width: 50%;
  }
  .art_con .div_history .dl02 .ul01{
    font-size: 12px;
  }
  }
  }
  @scope(.sec_facility){

    .gallery-container {
  counter-reset: room-counter; 
} 
.swiper-pagination-progressbar {
    background: rgba(0, 0, 0, .25);
    position: absolute;
width: 100%;
    height: 4px;
    left: 0;
    top: 0;
}

.swiper-pagination {
    position: absolute;
    text-align: center;
    transition: .3s opacity;
    transform: translate3d(0, 0, 0);
    z-index: 10;
}
.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
    background:#847777;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transform: scale(0);
    transform-origin: left top;
}
.page-naviwrap{
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 30px;
}
.page-naviwrap .swiper-button-prev{
background: url(../img/common/ic_slider-prev.svg) no-repeat center center;
background-size: contain;
width: 12px;
}
.page-naviwrap .swiper-button-next{
background: url(../img/common/ic_slider-next.svg) no-repeat center center;
background-size: contain;
width: 12px;
}
.page-naviwrap :is(.swiper-button-prev,.swiper-button-next)::before{
  width: 12px;
}
.swiper {
  width: 100%;
}
.swiper-wrapper {
  padding: 0px 0;
   counter-reset: room-counter;
}
.swiper-slide{
    counter-increment: room-counter;
}
.bg-image {
  width: 100%;
  height: 80vh;
  object-fit: cover;
}
    /* --- Horizontal Wrapper (横スクロールさせる全体の器) --- 
    .swiper-wrapper {
      display: flex;
      flex-wrap: nowrap;
      width: 462vw; 
      height: 75vh;
      will-change: transform;
     
    }
*/

    /* --- Each Panel (1画面分のパネル) ---
    .swiper-slide {
      width: 75vw;
      height: 75vh;
      flex-shrink: 0; 
      position: relative;
      display: flex;
      justify-content: center;
      align-items: center;
      overflow: hidden;
    } */

    /* --- 背景ビジュアル --- 
    .bg-image {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transform: scale(1.05);
      transition: transform 0.5s ease;
    }*/

    /* --- コンテンツ（文字情報） --- 
    .content {
      position:absolute;
      z-index: 2;
      text-align: center;
      max-width: 600px;
      bottom: 0;
      right: 0;
      padding: 10px 20px;
      background: rgba(17, 13, 23, .5);
      backdrop-filter: blur(12px);
    }*/

    .num {
      font-family:var(--aboreto-font-family);
      font-size: var(--body-font-size-14);
      display: block;
      margin-bottom: 15px;
      letter-spacing: 0.2em;
      position: relative;
      padding-left: 45px;
    }
.num:before {
    content: counter(room-counter, decimal-leading-zero) " / ";
    min-width: 35px;
    position: absolute;
    left: 0px;

}
    .title {
      font-family:var(--Klee-font-family);
      font-size:28px;
      text-transform: uppercase;
      letter-spacing: 0.15em;
      line-height: 1.1;
      margin-bottom: 10px;
    }

    .sub-title {
      font-size: 0.85rem;
      letter-spacing: 0.3em;
      text-transform: uppercase;
    }

    @media (max-width: 767px) {
  .bg-image {
  height: 45vh;
}
     /*   .art_facility{
    overflow: hidden;
  }   
  .swiper-wrapper{
    height: 50vh;
    width: 100vw;
  }
  .swiper-slide {
      width: 100vw;
      height: auto;
  }
      .title {
        font-size: 20px;
      }
    .content{
      top: 0;
      bottom: auto;
    }*/
    }
}
.route-modal {
  border: none;
  border-radius: 12px;
  padding: 24px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.route-modal::backdrop {
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.close-modal-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
}

.btn-secondary {
  background-color: #e5e7eb;
  color: #374151;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.875rem;
}
/* --------------------------------------------------
 * 1. モーダル本体の基本アニメーション設定
 * -------------------------------------------------- */
dialog.route-modal {
  border: none;
  border-radius: 12px;
  padding: 24px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

  /* アニメーションの変化対象と時間を指定 */
  transition: opacity 0.3s ease, transform 0.3s ease, display 0.3s allow-discrete;

  /* 閉じている時の状態（拡大しながら消える） */
  opacity: 0;
  transform: scale(0.95) translateY(-10px);
}

/* 開いている時の状態 */
dialog.route-modal[open] {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* 開く瞬間の初期状態（@starting-style） */
@starting-style {
  dialog.route-modal[open] {
    opacity: 0;
    transform: scale(0.95) translateY(-10px);
  }
}

/* --------------------------------------------------
 * 2. 背景（オーバーレイ）のアニメーション設定
 * -------------------------------------------------- */
dialog.route-modal::backdrop {
  background-color: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px);
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease, display 0.3s allow-discrete;
}

dialog.route-modal[open]::backdrop {
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

@starting-style {
  dialog.route-modal[open]::backdrop {
    background-color: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
  }
}
}
@scope(.gynecology){
.table01 .min{
    font-size: var(--body-font-size-12);
    font-weight: 500;
    margin: 0 10px;
} 
}
@scope(.club){
.art-club{
  background: rgb(243, 243, 243, .3);
  padding: 5%;
  border-radius: 30px;
  }
  .div_link{
  display: flex;
  justify-content: center;
  }
  .div_link > div img{
    width: 100%;
    display: block;
    margin: 3% auto;
    
  }
@media (min-width: 768px) {
  .div_link > div{
    width: calc((100% / 2) - 30px);
  }
  .div_link > div:nth-of-type(1){
    margin-right: 30px;
  }
}
@media (max-width: 767px) {
  .div_link{
    flex-wrap: wrap;
  }
  .div_link > div{
    max-width: 450px;
    width: 100%;
  }
 .div_link > div:nth-of-type(1){
  margin-bottom: 30px;
 }
}  
}
@media (max-width: 767px) {
.medical:not(.medical-list) .sp-contact-box {
	width: calc(60% - 10px);
}
}
@scope(.medical){
/* 通常の選択ボタン */
.card-btn,.btn-show-all{
  background: rgba(255, 255, 255, .8);
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border: 1px solid #DFDBD3;
  text-align: center;
  padding: 20px;
  font-size: 1rem;
  color: rgb(89, 87, 87);
  cursor: pointer;
  display: flex; 
  align-items: center; 
  justify-items: center;
  gap: 15px;
  transition: all 0.25s ease;
  font-family: var(--normal-font);
}
.card-btn:hover,.btn-show-all:hover,.art_medical-menu .div_menulist a:hover{
  opacity: .5s;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255,201,201,0.3);
}
@scope(.sec_select){
  /*  
 .modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  animation: Grad 5s ease infinite;
  background: rgba(40, 50, 60, 0.7);
  backdrop-filter: blur(8px); 
  z-index: 9999;
  display: flex; justify-content: center; align-items: center;
}
@keyframes Grad {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}*/
.modal-overlay{
  width: 100%;
  max-width: 1500px;
  margin: auto;
  justify-content: center;
  align-items: center;
}
/* カード本体 */
.modal-card {
  /*position: fixed;
   left: 50%;
   top: 50%;
   z-index: 100000;
  position: absolute;
  left: 50%;
  top:120px;*/
  padding: 40px 0;
  width: 100%;
  max-width: 480px;
  border-radius: 20px;
  align-items: center;
  box-sizing: border-box;
  animation: modalFadeUp 1.2s forwards;
}
/* アニメーション */
@keyframes modalFadeUp {
  from { opacity: 0;transform: translateY(24px);}
  to { opacity: 1;transform: translateY(0px);}
}
/* タイトル */
.p_message{
  text-align: center; 
  margin:0 auto 30px;
  color: #9a9a9a;
  font-size: 12px;
  position: relative;
  padding-left: 30px;
  max-width: 280px;
}
.p_message .ic_lodeing{
  left: 0;
  top: 10px;
}
.modal-title {
  font-size: 1.25rem;
  text-align: center;
  line-height: 1.6;
  margin-bottom: 30px;
}
#step-2.step-content{
  animation: step02-content 1.2s forwards;
}
@keyframes step02-content {
  from { opacity: 0;  }
  to { opacity: 1; }
}
/* 選択ボタンのグリッド */
.choice-grid {
  display: flex; 
  flex-direction: column; gap: 12px;
  margin-bottom: 24px;
  max-width: 460px;
  margin: 0 auto 30px;
}


/* 緊急ボタン（目立たせるが恐怖感を与えない淡い赤） */
.emergency-card{
  background: #E5E4E3;
}
.card-btn-emergency {
  background: #fff5f5;
  border-color: #ffa8a8;
  color: #c92a2a;
}
.card-btn-emergency small {
  display: block; font-size: 0.8rem; color: #fa5252; margin-top: 2px;
}

/* スキップ・閉じるリンク */
.btn-skip {
  background: none; border: none;
  display: block; margin: 0 auto;
  color: #868e96; font-size: 0.8rem;
  text-decoration: underline; cursor: pointer;
}
.modal-footer{
  max-width: 460px;
  margin: auto;
}
#btn-back {
  background: #aeaeae;
  box-shadow: 0px 4px 4px rgba(97, 97, 97, 0.25);
  border: 1px solid #DFDBD3;
  text-align: center;
  padding: 5px;
  font-size: 1rem;
  color: rgb(255, 252, 252);
  cursor: pointer;
  display: flex; 
  align-items: center; 
  justify-items: center;
  transition: all 0.25s ease;
  width: 70px;
}
/* --- 緊急モーダル専用スタイル --- */
.emergency-card {
  border: 3px solid #ffdeeb; /* 優しいピンク赤の枠線 */
  text-align: center;
  color:var(--text-color);
  padding: 20px 30px;
  max-width: 1500px;
  background: rgba(255,255,255,.6);
}
.emergency-card .emergency-modal-inner{
 /*overflow-y: scroll;
 max-height: 450px;
 padding-right:10px;*/
}
.emergency-icon { font-size: 3rem; margin-bottom: 10px; }
.emergency-title { color: #AA9E8A; font-size: 1.4rem; margin-bottom: 15px;font-weight: 500;}
.emergency-text { line-height: 1.6; margin-bottom: 25px; font-size: .9rem; }
.emergency-note { font-size: 0.85rem; margin-bottom: 25px; line-height: 1.5; }

/* アクションボタン（電話・WEB） */
.action-buttons { display: flex; flex-direction: column; gap: 15px; margin-bottom: 25px; }
.action-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 15px; border-radius: 12px; text-decoration: none;font-weight: 500;
  transition: transform 0.2s;
}
.action-btn:hover { transform: scale(1.02); }
.btn-tel { background: linear-gradient(180deg, #dfd7d3 0%, #aa8d8a 100%);  } /* 電話はアクティブなオレンジ */
.btn-tel small { font-size: 0.8rem; opacity: 0.9; font-weight: normal; }
.btn-web { background:linear-gradient(180deg, #DFDBD3 0%, #AA9E8A 100%); } /* WEBは信頼感のあるシアン・ネイビー系 */
.emergency-card .div_infection {
  margin: var(--margin-b-20) 0;
  border-top: solid 1px var(--primary);
  border-bottom: solid 1px var(--primary);
  padding: 10px 10px 15px;
  font-size: .9rem;
}
.div_infection .btn-web{
  margin: var(--margin-b-10) auto;
  width: 200px;
}
@media (max-width: 767px){
.modal-card,.emergency-card {
  /*overflow-y: scroll;*/
  min-height: 450px;
  margin-top: -80px;
  padding: 40px 5%;
  width: 100%;
}
.p_message{
  font-size: 10px;
}
.modal-title,.emergency-title{
  font-size:.9rem;
  margin-bottom: 15px;
}
.card-btn {
  padding: 10px;
  font-size: .8rem;
}
}
.art_con h2{
  font-family:var(--Klee-font-family);
  font-size: clamp(24px, 16.59px + 0.3756vw, 22px);
  font-weight: 300;
  padding-bottom: 0;
  width: 100%;
}
.art_con.inner{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: auto;
  animation: FadeUp 1.2s forwards;
}
/* アニメーション */
@keyframes FadeUp {
  from { opacity: 0;transform: translateY(24px);}
  to { opacity: 1;transform: translateY(0px);}
}
.art_con.inner .div_infection {
  margin: var(--margin-b-20) 0;
  background: rgba(0, 0, 0, .25);
  padding: 10px 10px 15px;
}
.art_con.inner .link02:not(.blank,.pdf) span::before,
.art_con.inner .link02:not(.blank,.pdf) span:after {
 background: #fff;
}


@media (min-width: 768px) {

.art_con.inner .im_chapter{
  width: 45%;
  margin-right: 5%;
}
.art_con.inner .im_chapter img {
  width: 100%;
  }
.art_con.inner .div_con{
  width: 50%;
}


}
@media (max-width: 767px) {
.art_con.inner{
  justify-content: center;
  align-content: center;
  height: auto;
  position: relative;
}
.art_con.inner .im_chapter{
  width: 80%;
  height: 40vh;
  margin:0 auto;
}
.art_con.inner .im_chapter img {
  width: 100%;height: 100%;
  object-fit: cover;
  object-position: 0;
  }
.art_con.inner .div_con{
  width:80%;
  margin:20px auto 0;
  padding-bottom: 0px;
}
  /*
  width:85%;
  position:static;
  z-index: 2;
  padding:3% 2%;
  margin-top: 18%;
  backdrop-filter: blur(2.5px);
  -webkit-backdrop-filter: blur(2.5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
}
.slide-con:not(.chapter01) .div_con > *{
text-shadow: 1px 1px 1px rgba(0, 0, 0, 1)
}*/

/*.slide-con .inner .im_chapter {
  width: 100%;
  height: 30vh;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.slide-con .inner .im_chapter img {
  width: 100%;
  object-fit: cover;
  object-position: 0;
  height: 30vh;
  }

.slide-con .inner .div_con {
  width: 98%;
    padding: 15px 15px 60px 15px;
  margin: 0 auto;
  background: none;
  /*margin: -83px auto 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 2;
  }*/
  }
@media (max-width: 485px) {
.art_con.inner h2{
  font-size: 5vw;
}
.art_con.inner .div_con > *:not(h2){
  /*text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.8)*/
  font-size: 3.8vw;
}

}
}
/* 表示直後にアニメーションさせるクラス */
.mv2-item > * {
  animation: mv2FadeSlideIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes mv2FadeSlideIn {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* アクセシビリティ配慮:モーション低減設定のユーザーには即表示 */
@media (prefers-reduced-motion: reduce) {
  .mv2-item.mv2-reveal {
    animation: none;
  }
}
.note {
  display: none !important;
}
.div_show-all-mv2{
  margin:0 auto var(--margin-b-60);
  width: 233px;

}
.art_medical-menu .div_menulist{
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.art_medical-menu .div_menulist a{
  width:auto;
}
.art_medical-menu .div_menulist a{
  background: rgba(255, 255, 255, .8);
  border-radius: 15px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  border: 1px solid #DFDBD3;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-items: left;
  gap: 15px;
  padding: 1.5%;
  min-width:200px;
  transition: all 0.25s ease;
}
.art_medical-menu .div_menulist a .icon{
  width: 80px;
}
.art_medical-menu .div_menulist a .icon img{
  width: 100%;
}
.art_medical-menu .div_menulist a .f10{
  font-size: 10px;
  display: block;
}
@media (max-width: 767px) {
.medical:not(.medical-list) .sp-contact-box {
	width: calc(60% - 10px);
}
.sec_con:not(.sec_select) h2{
  padding-bottom: 0;
  margin-bottom: var(--margin-b-20);
}
.art_medical-menu .div_menulist a{
  width:calc((100% / 2) - 10px);
  min-width: auto;
  gap: 0;
}
.art_medical-menu .div_menulist a .icon{
  width: 38px;
}
.art_medical-menu .div_menulist a span:not(.f10){
  width: calc((100% - 38px) - 8px);
  margin-left: 8px;
}
}
@media (max-width: 480px) {
.art_medical-menu .div_menulist a{
  width:100%;
}
}
}
@scope(.medical-list){

.contentsmain.flex .page_navmenu li a {
  border-bottom: 1px solid #DFDBD3;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-items: left;
  gap: 5px;
  padding: 1.5%;
  transition: all 0.25s ease;
}
.contentsmain.flex .page_navmenu li a::before {
display: none;
}
.contentsmain.flex .page_navmenu li a .icon{
  width: 30px;
  position: relative;
}
.contentsmain.flex .page_navmenu li a .icon img{
  width: 100%;
  position: absolute;
  top: 50%;
  transform: var(--transform-50-Y);
}

.art_con{
border-radius: 30px;
background: linear-gradient(180deg, #D2CEC7 0%, rgba(210, 206, 199, 0) 100%),linear-gradient(90deg, #D2CEC7 0%, rgba(210, 206, 199, 0) 100%), rgba(243, 243, 243, 0.3);
padding:15px 3%;
}
.dl02 > dt {
    width: 100%;
    border-bottom: solid 1px #fff;
}
.ol_symptoms{
  gap: 15px; 
  counter-reset: chapter;
}
.ol_symptoms li{
  counter-increment:chapter;
  padding:3px 15px 15px 65px;
  position: relative;
}
.ol_symptoms li::after{
  content: "症状"counter(chapter) ;
  left: 10px;
  top:0px;
  background:rgba(255,255,255, .5);
  padding: 5px;
  font-size: var(--body-font-size-14);
  position: absolute;
  color: #847777;
  font-family: var(--Klee-font-family);
}
.art_gekei-symptoms .text_notice{
  font-size: 12px;
  text-align: right;
}
.ul_select li{
  margin-bottom:15px;
}
.qa_con .dlqa{
  border-bottom: 1px solid var(--primary);
  margin-bottom: 0;
}
.qa_con .dlqa:first-of-type {
  border-top: 1px solid var(--primary);
}
.qa_con .dlqa dt {
  padding: 20px 40px 20px 15px;
  position: relative;
  transition: .5s;
  cursor: pointer;
}
.qa_con .dlqa dt::before, .qa_con .dlqa dt::after {
  content: "";
  width: 15px;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.1);
  margin: auto 0;
  position: absolute;
  right: 20px;
  top: 0;
  bottom: 0;
  transition: .3s;
}
.qa_con .dlqa dt::after {
  transform: rotate(90deg);
}
.qa_con .dlqa dt.is-open::before {
  transform: rotate(180deg);
}
.qa_con .dlqa dt.is-open {
  background-color: rgba(0, 0, 0, 0.05);
  font-weight: 500;
}
.qa_con .dlqa dt.is-open::after {
  transform: rotate(180deg);
  opacity: 0;
}
.qa_con .dlqa dt:hover {
  color:#463e3e;
  background-color: rgba(0, 0, 0, 0.05);
  transition: .5s;
}
.qa_con .dlqa dt > span, .qa_con .dlqa dd > div {
  display: block;
  padding-left: 30px;
  position: relative;
}
.qa_con .dlqa dt > span::before, .qa_con .dlqa dd > div::before {
  content: "Q";
  font-size: var(--body-font-size-18);
  font-weight: 600;
  font-family: var(--aboreto-font-family);
  line-height: 1.4;
  color: #7e65564d;
  position: absolute;
  left: 0;
}
.qa_con .dlqa dd {
  display: none;
  padding: 20px 0 20px 15px;
}
.qa_con .dlqa dd > div::before {
  content: "A";
  line-height: 1.6;
  color:var(--color-accent);
}
@media (max-width: 767px) {
.contentsmain.flex .page_navmenu li a{
  border-bottom: none;
}
}
}
@scope(.recruit){
  h3 > span{
    font-size: var(--body-font-size-18);
    margin-right: 15px;
  }
  .table02{
    background:rgba(255,255,255, .3);
  }
@media (max-width: 767px) {
  .table02 th,.table02 td{
    display: block;
    width: 100%;
  }
  .table02 th{
    background: rgba(255, 255, 255, .45);
    text-align: left;
  }  
}
/*****ページ内リンク******/
.contentsmain.flex{
  max-width: 1500px;
  width: 100%;
  margin: auto;

}
.contentsmain.flex .page_navmenu h2{
  font-size: 16px;
  font-weight: 600;
  border-bottom: solid 1px var(--primary);
  padding:0 3px 3px;
  margin-bottom: 15px; 
}
.contentsmain.flex .page_navmenu li{
  padding:0 3px 3px;
  margin-bottom: 15px; 
}
.contentsmain.flex .page_navmenu li a{
  display: inline-block;
  font-size: 13px;
}
.contentsmain.flex .page_navmenu li a {
  position: relative;
  padding-left: 12px;
}
.contentsmain.flex .page_navmenu li a::before {
  content: "-";
  position: absolute;
  left: 0;
}
.contentsmain.flex .page_navmenu li a:hover {
  color: var(--color-accent);
}
.contentsmain.flex .page_navmenu li a .f10{
  margin-right: 5px;
}
@media (min-width: 768px) {

.contentsmain.flex .page_navmenu{
  order: 2;
  width: 200px;
  padding-bottom: 100px;
}
.contentsmain.flex .sidebar {
  position: sticky;
  top: 110px;
  left: 0;
}
.contentsmain.flex .div_contentswrap{
  width: calc((100% - 200px) - 10%);
  order: 1;
  margin: 0 10% clamp(60px, 38.873px + 5.634vw, 120px) 0;
}
}
@media screen and (max-width: 768px) {
  .contentsmain.flex{
  display: block;
}
  .page_navmenu {
    width:calc(100% - 80px);
    background-color: #e5e4e3;
    opacity: 0;
  }
  .page_navmenu .sidebar {
    width:100%;
  }
  .page_navmenu_spacer {
    display: none;
    height: 0;
  }
  .page_navmenu_spacer.is-active {
    display: block;
  }
  .page_navmenu.is-fixed {
    position: fixed;
    opacity: 1;
    top: 0;
    left: 0;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    animation: navFixIn 0.3s ease forwards;
  }
  .page_navmenu.is-unfixing {
    animation: navFixOut 0.3s ease forwards;
  }
  @keyframes navFixIn {
    from { transform: translateY(-100%); opacity: 0; }
    to   { transform: translateY(0);     opacity: 1; }
  }
  @keyframes navFixOut {
    from { transform: translateY(0);     opacity: 1; }
    to   { transform: translateY(-100%); opacity: 0; }
  }
.contentsmain.flex .page_navmenu h2.h2_nost {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    padding: 14px 20px;
    font-size: 15px;
    border: none;
    line-height: 1;
    cursor: pointer;
    background: none;
  }
  .sp_icon_accordion {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }
  .sp_icon_accordion::before,
  .sp_icon_accordion::after {
    content: "";
    position: absolute;
    background:var(--text-color);
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .sp_icon_accordion::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
  }
  .sp_icon_accordion::after {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
  }
  .page_navmenu.is-open .sp_icon_accordion::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
  }
  .page_navmenu .menulist {
    max-height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background-color: #e5e4e3;
    transition: max-height 0.3s ease;
  }
  .page_navmenu.is-open .menulist {
    max-height: 70vh;
    overflow-y: auto;
  }
  .page_navmenu .menulist li {
    list-style: none;
    border-top: 1px solid #eee;
  }
  .page_navmenu .menulist a {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    text-decoration: none;
    color: #333;
  }
  .page_navmenu .menulist a span {
    margin-right: 8px;
  }
  .contentsmain.flex .page_navmenu li{
    margin-bottom: 0;
  }
}
/*****ページ内リンク******/
}