@import "root.css";

/* ===== RESET ===== */
*,*::before,*::after{
  box-sizing:border-box;
  margin:0;
  padding:0;
}
html{
  scroll-behavior:smooth;
  scroll-padding-top: 130px;
}
body{
  font-family:var(--ff);
  color:var(--text);
  background:var(--ivory);
  line-height:1.75;
  font-size:clamp( 16px, calc( 14px + 0.5vw ), 20px );
  -webkit-font-smoothing:antialiased;
  font-weight: 500;
}
a{
  text-decoration:none;
  color:var(--orange);
  transition:.2s;
}
a:hover{
  filter:brightness(1.1);
}
img{
  max-width:100%;
  display:block;
}
ul,ol{
  list-style:none;
}
em{
  font-style: normal;
}
.pc{
  display: inherit;
}
.sp{
  display: none;
}

/* ===== HEADER ===== */
.header{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:1000;
}
.header-top{
  background:#fff;
  height:82px;
}
.header-top-inner{
  max-width:1240px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 26px;
  height:100%;
}
.logo-area{
  display:flex;
  align-items:center;
  text-decoration:none;
}
.logo-img{
  width:auto;
  display:block;
}

.header-nav-wrap{
  background:var(--text);
  height:56px;
}
.pc-nav{
  max-width:1240px;
  margin:0 auto;
  padding:0 26px;
  height:100%;
  display:flex;
  align-items:center;
  gap:0;
  justify-content:center;
  /* justify-content:flex-start; */
}
.pc-nav a{
  font-size:clamp( 14px, calc( 13px + 0.25vw ), 16px );
  font-weight:800;
  color:var(--white);
  padding:0 28px;
  height:60px;
  display:flex;
  align-items:center;
  white-space:nowrap;
  position: relative;
  &::before{
    content:"";
    position:absolute;
    inset:auto 0 0 0;
    width:100%;
    height:4px;
    background:var(--orange);
    transform: scaleX(0);
    transition: .3s;
    transform-origin: center;
    border-radius: 3px;
  }
}
.pc-nav a:hover,.pc-nav a.active{
  color: var(--white);
  &::before{
    transform: scaleX(1);
  }
}

.header-actions{
  display:flex;
  align-items:center;
  gap:18px;
  flex-shrink:0;
}
.btn-tel{
  display: flex;
  align-items: center;
  font-size:clamp( 28px, calc( 24px + 1vw ), 36px );
  font-weight:800;
  color:var(--orange-dark);
  padding:0 8px;
  transition:filter .2s;
  white-space:nowrap;
}
.btn-tel:hover{
  filter:brightness(1.1);
}
.btn-tel img{
  width:36px;
  height:36px;
  display: inline-block;
  margin-right:5px;
}
.btn-reserve{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:clamp( 18px, calc( 16px + 0.5vw ), 22px );
  font-weight:800;
  color:var(--white);
  background:var(--orange);
  border-radius:84px;
  padding:8px 30px;
  transition:filter .2s;
  white-space:nowrap;
}
.btn-reserve:hover{
  filter:brightness(1.1);
}

.sp-menu-btn{
  display:none;
  background:none;
  border:none;
  cursor:pointer;
  flex-direction:column;
  gap:5px;
  padding:8px;
  z-index:1102;
  position:relative;
}
.sp-menu-btn span{
  display:block;
  width:26px;
  height:3px;
  background:var(--text);
  border-radius:2px;
  transition:transform .3s,opacity .3s;
}
.sp-menu-btn.open span:nth-child(1){
  transform:translateY(8px) rotate(45deg);
}
.sp-menu-btn.open span:nth-child(2){
  opacity:0;
}
.sp-menu-btn.open span:nth-child(3){
  transform:translateY(-8px) rotate(-45deg);
}

/* SP Drawer */
.sp-drawer-overlay{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(35,24,21,.55);
  z-index:1099;
  opacity:0;
  transition:opacity .3s;
}
.sp-drawer-overlay.open{
  opacity:1;
}
.sp-drawer{
  display:none;
  position:fixed;
  top:0;
  right:0;
  bottom:0;
  width:82%;
  max-width:340px;
  background:#fff;
  z-index:1100;
  transform:translateX(100%);
  transition:transform .35s ease;
  flex-direction:column;
  overflow-y:auto;
}
.sp-drawer.open{
  transform:translateX(0);
}
.sp-drawer-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 20px;
  border-bottom:1px solid var(--border-pale);
}
.sp-drawer-head .logo-img{
  height:44px;
}
.sp-drawer nav{
  display:flex;
  flex-direction:column;
  padding:8px 0;
}
.sp-drawer nav a{
  display:block;
  padding:18px 24px;
  font-weight:700;
  color:var(--text);
  border-bottom:1px solid var(--border-pale);
}
.sp-drawer nav a.sp-sub-link{
  padding-left:40px;
  font-size:14px;
  color:var(--text-sub);
}
.sp-drawer-actions{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:20px 24px 28px;
  margin-top:auto;
}
.sp-drawer-actions .sp-tel{
  display:flex;
  align-items: center;
  justify-content: center;
  font-size:28px;
  font-weight:800;
  color:var(--orange);
  padding:8px 0;
  img{
    width:36px;
    height:36px;
    display: inline-block;
    margin-right:6px;
  }
}
.sp-drawer-actions .sp-reserve{
  display:block;
  text-align:center;
  background:var(--orange);
  color:var(--white);
  font-weight:800;
  font-size:15px;
  padding:14px 0;
  border-radius:84px;
}

/* ===== HERO / MAINVISUAL ===== */
.hero{
  margin-top:138px;
  position:relative;
  overflow:visible;
}
.hero-slider{
  position:relative;
  height:540px;
  padding-bottom:40px;
}

/* ===== SLIDE STAT CIRCLES ===== */
.slide-stats{
  max-width:1240px;
  position:absolute;
  inset:0;
  margin-inline:auto;
  pointer-events:none;
  z-index:5;
}
.stat-circle{
  position:absolute;
  border-radius:50%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding-top:10px;
}
.stat-circle .sc-label{
  font-size:clamp( 16px, calc( 15px + 0.25vw ), 18px );
  font-weight:700;
  color:var(--text);
  line-height:1.2;
}
.stat-circle .sc-num{
  font-size:clamp( 34px, calc( 26px + 2vw ), 50px );
  font-weight:900;
  color:var(--text);
  line-height:1;
}
.stat-circle .sc-num small{
  font-size:clamp( 18px, calc( 17px + 0.25vw ), 20px );
  font-weight:900;
  margin-left:1px;
}
.stat-circle .sc-unit{
  font-size:clamp( 16px, calc( 15px + 0.25vw ), 18px );
  font-weight:900;
  color:var(--text);
  line-height:1;
  margin-top:2px;
}
.stat-circle.years{
  width:clamp( 120px, calc( 100px + 5vw ), 160px );
  height:clamp( 120px, calc( 100px + 5vw ), 160px );
  background:var(--white);
  border:var(--orange) solid 4px;
  top:20px;
  right:1rem;
  .sc-label,.sc-num,.sc-unit{
    color:var(--orange);
  }
}
.stat-circle.cases{
  width:clamp( 100px, calc( 80px + 5vw ), 140px );
  height:clamp( 100px, calc( 80px + 5vw ), 140px );
  background:var(--white);
  border:var(--pink) solid 4px;
  top:clamp( 100px, calc( 80px + 5vw ), 140px );
  right:6rem;
  z-index:2;
  .sc-label,.sc-num,.sc-unit{
    color:var(--pink);
  }
}

/* ===== FLOATING WEB RESERVE (PC right side) ===== */
.float-reserve-pc{
  position:fixed;
  right:0;
  top:50%;
  transform:translateY(-50%);
  z-index:999;
  display:flex;
  flex-direction:column;
  align-items:center;
  background:var(--orange);
  color:var(--white);
  padding:38px 16px;
  border-radius:12px 0 0 12px;
  font-size:18px;
  font-weight:900;
  letter-spacing:.12em;
  text-decoration:none;
  transition:filter .2s,padding-right .2s;
  writing-mode: vertical-rl;
  text-orientation: upright;
  span{
    letter-spacing: -2px;
    padding-bottom: 2px;
  }
}
.float-reserve-pc:hover{
  filter:brightness(1.1);
  padding-right:20px;
}
.hero-slide{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  opacity:0;
  transition:opacity .9s ease;
  pointer-events:none;
  overflow: hidden;
}
.hero-slide.active{
  opacity:1;
  pointer-events:auto;
  z-index:1;
}

/* Slide 1: pink */
.slide-pink{
  background:var(--pink-pale);
}
/* Slide 2: lime */
.slide-lime{
  background:var(--lime-pale);
}
/* Slide 3: teal */
.slide-teal{
  background:var(--teal-pale);
}

.slide-inner{
  max-width:1240px;
  margin:0 auto;
  padding:70px 40px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:2rem;
  align-items:center;
  width:100%;
}
.slide-content{
  padding-bottom:30px;
}
.slide-title{
  font-size:clamp(26px,4vw,44px);
  font-weight:800;
  color:var(--text);
  line-height:1.4;
  margin-bottom:0.8rem;
}
.slide-title em{
  display:block;
  font-style:normal
}
.slide-accent{
  font-weight:900;
  font-size:larger;
  padding-inline:2px;
}
.slide-pink .slide-accent{
  color:var(--pink-dark);
}
.slide-lime .slide-accent{
  color:var(--lime-dark);
}
.slide-teal .slide-accent{
  color:var(--teal-dark);
}
.slide-sub{
  color:var(--text);
  line-height:1.9;
  margin-bottom:1rem;
}
.slide-btns{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.slide-btn-main{
  display:inline-flex;
  align-items:center;
  background:#fff;
  color:var(--orange);
  background:var(--white);
  border:var(--orange) solid 3px;
  font-size:clamp( 18px, calc( 14px + 1vw ), 26px );
  font-weight:800;
  padding:14px 32px;
  border-radius:100px;
  transition:filter .2s;
}
.slide-btn-main:hover{
  filter:brightness(1.1);
}
.slide-btn-sub{
  display:inline-flex;
  align-items:center;
  color: var(--white);
  background:var(--orange);
  border:transparent solid 3px;
  font-size:clamp( 16px, calc( 13px + 0.75vw ), 22px );
  font-weight:800;
  padding:14px clamp( 15px, calc( 8.5px + 1.625vw ), 28px );
  border-radius:100px;
  transition:filter .2s;
}
.slide-btn-sub:hover{
  filter:brightness(1.1);
}
.slide-img{
  flex:0.4;
  position:relative;
  display:flex;
  align-items:center;
  max-width:500px;
  width:100%;
  padding-top: 30px;
}
.slide-img .slide-illust{
  width:100%;
  max-width:500px;
  height:auto;
  display:block;
}

/* Slider controls */
.hero-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:10;
  width:48px;
  height:48px;
  border-radius:50%;
  background:rgba(35,24,21,0.18);
  border:none;
  color:var(--white);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  font-size:22px;
  font-weight: 800;
  transition:background .2s;
  line-height:1;
  padding:12px;
}
.hero-arrow:hover{
  background:rgba(35,24,21,1);
}
.hero-arrow-prev{
  left:clamp( 1rem, calc( 0rem + 4vw ), 3rem );
}
.hero-arrow-next{
  right:clamp( 1rem, calc( 0rem + 4vw ), 3rem );
}
.hero-dots{
  position:absolute;
  bottom:80px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:10px;
  z-index:10;
}
.hero-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:rgba(35,24,21,0.25);
  border:none;
  cursor:pointer;
  transition:all .3s;
  padding:0;
}
.hero-dot.active{
  background:var(--text);
  width:32px;
  border-radius:5px;
}

/* ===== SECTION BASE ===== */
.section{
  padding:clamp( 40px, calc( 20px + 5vw ), 80px ) clamp( 1rem, calc( 0rem + 4vw ), 3rem );
}
.section-inner{
  max-width:1240px;
  margin:0 auto
}

/* section colors */
.sec-ivory{
  background:var(--ivory);
}
.sec-pink{
  background:var(--pink-pale);
}
.sec-teal{
  background:var(--teal-pale);
}
.sec-white{
  background:#fff;
}

/* white panel card (key meganeichiba element) */
.panel{
  background:#fff;
  border-radius:24px;
  padding:clamp( 2rem, calc( 1.5rem + 2vw ), 3rem );
}
.sec-title{
  font-size:clamp(24px,3.5vw,38px);
  font-weight:900;
  color:var(--text);
  line-height:1.4;
  margin-bottom:16px;
}
.sec-sub{
  color:var(--text-sub);
  line-height:1.8;
  font-size:clamp( 18px, calc( 16px + 0.5vw ), 22px );
  margin-bottom:2rem;
}
.sec-head{
  margin-bottom:clamp( 20px, calc( 10px + 2.5vw ), 40px );
}

/* fade in */
.fade-in{
  opacity:0;
  transform:translateY(24px);
  transition:opacity .6s ease,transform .6s ease;
}
.fade-in.visible{
  opacity:1;
  transform:translateY(0);
}

/* ===== BOOKING CTA ===== */
.section.book-cta-section{
  padding:0 24px 40px;
  margin-top:-50px;
  position:relative;
  z-index:5;
}
.book-cta-wrap{
  max-width:980px;
  margin:0 auto
}
.book-cta-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.book-cta-card{
  position:relative;
  display:flex;
  flex-direction:column;
  border-radius:18px;
  padding:22px 24px 20px;
  text-decoration:none;
  box-shadow:0 14px 36px rgba(35,24,21,0.1);
  transition:transform .2s,box-shadow .2s;
  overflow:hidden;
}
.book-cta-card:hover{
  transform:translateY(-6px);
  box-shadow:0 20px 44px rgba(35,24,21,0.24);
}
.book-cta-urgent{
  background:var(--pink);
  color: var(--white);
}
.book-cta-routine{
  background:var(--teal);
  color: var(--white);
}
.book-cta-title{
  font-weight:900;
  color: var(--white);
  margin-bottom:6px;
  line-height:1.3;
  font-size:clamp( 18px, calc( 14px + 1vw ), 26px );
  text-align: center;
}
.book-cta-desc{
  font-size:clamp( 14px, calc( 13px + 0.25vw ), 16px );
  color:rgba(255,255,255,0.95);
  font-weight: 700;
  line-height:1.65;
  margin-bottom:16px;
  text-align: center;
}
.book-cta-btn{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  background:var(--orange);
  color:var(--white);
  border:var(--white) solid 2px;
  font-size:clamp( 16px, calc( 15px + 0.25vw ), 18px );
  font-weight:900;
  padding:14px 18px 14px 22px;
  border-radius:84px;
  &:hover{
    filter:brightness(1.1);
  }
}
.book-cta-routine .book-cta-btn{
  background:var(--lime);
}
.book-cta-btn .arrow{
  width:40px;
  height:40px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:transform .2s;
  padding:8px;
}
.book-cta-urgent .book-cta-btn .arrow{
  background:var(--white);
}
.book-cta-routine .book-cta-btn .arrow{
  background:var(--white);
}
.book-cta-card:hover .arrow{
  transform:translateX(4px);
}
.book-cta-btns{
  flex-grow:1;
  display:flex;
  flex-direction:column;
  margin-top:auto;
  justify-content: center;
  gap:12px;
}
.book-cta-btns .book-cta-btn{
  margin-top:0;
}
.book-cta-btn-item{
  flex: 1;
  display: block;
  text-align: center;
  margin-right:-50px;
}
.book-cta-btn-tel{
  background:var(--white);
  color:var(--orange-dark);
  &:hover{
    filter:brightness(1.1);
  }
}
.book-cta-btn-tel .tel-pc-num{
  font-size:clamp( 20px, calc( 19px + 0.25vw ), 22px );
}
.book-cta-btn.book-cta-btn-tel .arrow{
  background:var(--orange);
}

.nurse-consult{
  background: var(--white);
  border:var(--border-pale) solid 5px;
  border-radius:18px;
  box-shadow:0 14px 36px rgba(35,24,21,0.06);
  margin-top:clamp( 12px, calc( 3px + 2.25vw ), 30px );
  padding:clamp( 20px, calc( 10px + 2.5vw ), 40px );
  display: flex;
  align-items: center;
}
.nurse-consult-text{
  font-size:clamp( 18px, calc( 17px + 0.25vw ), 20px );
  flex:1;
  text-align: center;
  font-weight: 800;
  strong{
    padding-right:3px;
    color:var(--orange-dark);
    font-size:larger;
  }
}
.marker{
  background: linear-gradient(transparent 85% , var(--marker) 85%);
  display: inline-block;
}
.nurse-consult_tel{
  flex:1;
  display: flex;
  justify-content: center;
  .btn-tel{
    font-size:clamp( 32px, calc( 24px + 2vw ), 48px );
    img{
      width:clamp( 35px, calc( 27.5px + 1.875vw ), 50px );
      height:clamp( 35px, calc( 27.5px + 1.875vw ), 50px );
      vertical-align: middle;
    }
  }
}

/* ===== NEWS ===== */
.news-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:0;
  border-radius:16px;
  overflow:hidden;
  border:4px solid var(--border-color);
  background:#fff;
}
.news-grid:has(> :nth-child(2)) {
  grid-template-columns: 1fr 1fr;
}
.news-item{
  display:flex;
  gap:14px;
  padding:18px 24px;
  align-items:flex-start;
  border-bottom:1px solid var(--border-color);
  transition:background .2s;
}
/*
.news-item:hover{
  background:var(--teal);
}
*/
.news-item:nth-child(odd){
  border-right:1px solid var(--border-color);
}
.news-date{
  font-size:clamp( 14px, calc( 13px + 0.25vw ), 16px );
  color:var(--text-sub);
  white-space:nowrap;
  font-weight:500;
  padding-top:2px;
}
.news-text{
  color:var(--text);
  line-height:1.4;
}
.link-btn{
  display:flex;
  justify-content:flex-end;
  margin-top:20px;
}
.cause-grid-row1 + .link-btn{
  margin-top:0;
}
.link-more{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-weight:700;
  color:var(--white);
  background:var(--teal);
  padding:0.8rem 24px;
  border-radius:84px;
  transition:filter .2s;
  img{
    width:16px;
    height:16px;
  }
}
.link-more:hover{
  filter:brightness(1.1);
}

/* ===== COPY SECTION ===== */
.copy-grid{
  display:grid;
  grid-template-columns:1fr auto;
  gap:40px;
  align-items:center;
}
.copy-illust{
  max-width:300px;
  flex-shrink:0;
}
.copy-title{
  font-size:clamp(22px,3vw,32px);
  font-weight:900;
  color:var(--text);
  line-height:1.5;
  margin-bottom:20px;
}
.copy-body{
  color:var(--text-sub);
  line-height:1.9;
  margin-bottom:28px;
}
.copy-quotes{
  font-size:clamp( 18px, calc( 16px + 0.5vw ), 22px );
  font-weight:700;
  color:var(--text);
  line-height:2;
  margin-bottom:20px;
}
.copy-quotes span{
  display:block;
}
.legend-row{
  display:flex;
  align-items:center;
  gap:10px;
}
.legend-dot{
  width:20px;
  height:20px;
  border-radius:50%;
  flex-shrink:0;
}
.legend-name{
  font-size:20px;
  color:var(--text-sub);
  flex:1;
}
.legend-pct{
  font-size:40px;
  font-weight:900;
  color:var(--text);
  line-height:1;
}
.legend-pct small{
  font-size:20px;
  font-weight:400;
  color:var(--text-sub);
}
.bar-list{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.bar-label-row{
  display:flex;
  justify-content:space-between;
  margin-bottom:6px;
  font-size:20px;
  color:var(--text-sub);
}
.bar-label-row span{
  font-weight:700;
  color:var(--text);
}
.bar-track{
  height:12px;
  background:var(--border-pale);
  border-radius:6px;
  overflow:hidden
}
.bar-fill{
  height:100%;
  border-radius:6px;
  background:var(--green);
  transition:width 1.4s cubic-bezier(.4,0,.2,1);
  width:0;
}

/* Cause section (咳の原因) */
.cause-panel{
  background:#fff;
  border-radius:28px;
  padding:clamp( 2rem, calc( 0.5rem + 6vw ), 5rem );
}
.cause-bigtext{
  margin-bottom: clamp(2rem, calc(1.5rem + 2vw), 3rem);
  justify-content: center;
  grid-area: 1 / 1 / 2 / 2;
  display: grid;
  align-items: center;
  height: 100%;
}
.cause-lead{
  font-size:clamp( 25px, calc( 15px + 2.5vw ), 45px );
  font-weight:800;
  color:var(--text);
  line-height: 1.4;
  text-align: center;
}
.cause-headline{
  display:flex;
  align-items:baseline;
  flex-wrap:wrap;
  font-weight:900;
  color:var(--text);
  line-height:1;
  margin-bottom:10px;
  /* text-align: center; */
  justify-content: center;
}
.cause-headline .prefix{
  font-size:clamp( 28px, calc( 12px + 4vw ), 60px );
  margin-right:10px;
  color:var(--text);
}
.cause-headline .num{
  font-size:clamp( 110px, calc( 75px + 8.75vw ), 180px );
  letter-spacing:-.02em;
  color:var(--teal);
}
.cause-headline .unit{
  font-size:clamp( 46px, calc( 24px + 5.5vw ), 90px );
  margin-left:2px;
  color:var(--teal);
}
.cause-headline .suffix{
  font-size:clamp( 28px, calc( 12px + 4vw ), 60px );
  margin-left:6px;
  color:var(--text);
}
.cause-keyword{
  font-size:clamp( 86px, calc( 54px + 8vw ), 150px );
  font-weight:900;
  line-height:1.05;
  letter-spacing:.04em;
  color:var(--teal);
  text-align: center;
}
.cause-keyword small{
  font-size:clamp( 24px, calc( 21px + 0.75vw ), 30px );
  font-weight:900;
  vertical-align:10px;
  margin-left:4px;
}
.cause-desc{
  font-size:clamp( 20px, calc( 16px + 1vw ), 28px );
  color:var(--text-sub);
  line-height:2;
}
.cause-source{
  font-size:12px;
  color:var(--text-sub);
  text-align:right;
  width:100%;
  margin-block:30px;

}
.donut-svg{
  width:clamp( 260px, calc( 140px + 30vw ), 500px );
  height:clamp( 260px, calc( 140px + 30vw ), 500px );
}
.count-up-svg,.count-up-svg-unit,.count-up-svg-title{
  font-family: var(--ff);
}
.count-up-svg{
  font-size:40px;
  font-weight: 800;
}
.count-up-svg-unit{
  font-size:20px;
  font-weight: 800;
}
.count-up-svg-name{
  font-size:23px;
  font-weight: 900;
}
.cause-donut-legend{
  display:flex;
  flex-direction:column;
  gap:10px;
  width:100%;
}
.cause-donut-legend .legend-row{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:13px;
}
.cause-donut-legend .legend-name{
  flex:1;
  color:var(--text);
}
.cause-donut-legend .legend-pct{
  font-size:20px;
  font-weight:700;
  color:var(--text);
}

.cause-grid-row1 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 3rem;
  grid-row-gap: 0px;
  width: 100%;
  grid-template-rows: auto;
}
.cause-desc1 { grid-area: 2 / 1 / 3 / 2; }
.donut-svg { grid-area: 1 / 2 / 2 / 3; }
.cause-donut-legend { grid-area: 2 / 2 / 4 / 3; }
.cause-desc2 { grid-area: 3 / 1 / 4 / 2; }

.cause-grid-row2{
  margin-top:50px;
  .cause-keyword{
    font-size:clamp( 30px, calc( 18px + 3vw ), 54px );
    small{
      color:var(--text);
    }
  }
  .cause-note{
    font-size:clamp( 20px, calc( 16px + 1vw ), 28px );
    color:var(--text-sub);
    line-height:2;
    margin-top:clamp( 2rem, calc( 1.5rem + 2vw ), 3rem );
  }
}
.cause-matome-text{
    font-size:clamp( 20px, calc( 16px + 1vw ), 28px );
    color:var(--text-sub);
    line-height:2;
    margin-top:clamp( 2rem, calc( 1.5rem + 2vw ), 3rem );
}

/* ===== FLOW ===== */
.flow-list{
  display:flex;
  flex-direction:column;
  gap:20px;
  position:relative;
  counter-reset: titlenum;
}
.flow-item{
  gap:1rem;
  align-items:flex-start;
  background:#fff;
  border-radius:20px;
  padding:clamp( 1rem, calc( 0.5rem + 2vw ), 2rem ) clamp( 1rem, calc( 0rem + 4vw ), 3rem );
  position:relative;
  box-shadow:0 4px 20px rgba(35,24,21,0.07);
}
.flow-title{
  color:var(--pink-dark);
  font-size: clamp( 20px, calc( 16px + 1vw ), 28px );
  font-weight:700;
  display: flex;
  align-items: center;
  width:100%;
}
.flow-title::before{
	counter-increment: titlenum;
	content: counter(titlenum);
  width:clamp( 40px, calc( 30px + 2.5vw ), 60px );
  height:clamp( 40px, calc( 30px + 2.5vw ), 60px );
  background:var(--pink);
  color: var(--white);
  font-size:clamp( 16px, calc( 13px + 0.75vw ), 22px );
  font-weight:900;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor: pointer;
  flex-shrink: 0;
}

.flow-trigger{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  width:100%;
  padding:18px clamp( 10px, calc( 5px + 1.25vw ), 20px );
  cursor:pointer;
  text-align:left;
  color:var(--pink-dark);
  font:inherit;
  font-weight:700;
  background:none;
  border:none;
}
/* 開閉アイコン（＋ → ×） */
.flow-trigger::after{
  content:"";
  flex:0 0 auto;
  width:20px;
  height:20px;
  background:
    linear-gradient(var(--pink),var(--pink)) center/100% 4px no-repeat,
    linear-gradient(var(--pink),var(--pink)) center/4px 100% no-repeat;
  transition:transform .3s ease;
}
.flow-desc{
  display:grid;
  grid-template-rows:0fr;
  transition:grid-template-rows .35s ease;
  color:var(--text-sub);
}
.flow-desc-inner{
  overflow:hidden;
}

.flow-item.is-open .flow-desc{ grid-template-rows:1fr; }
.flow-item.is-open .flow-trigger::after{ transform:rotate(135deg); }

/* ===== DOCTOR ===== */
.doctor-wrap{
  display:flex;
  gap:clamp( 1rem, calc( 0rem + 4vw ), 3rem );
  align-items:flex-start;
  padding:clamp( 1rem, calc( 0rem + 4vw ), 3rem );
  background:#fff;
  border-radius:28px;
}
.doctor-photo{
  width:clamp( 180px, calc( 150px + 7.5vw ), 240px );
  height:clamp( 180px, calc( 150px + 7.5vw ), 240px );
  border-radius:50%;
  flex-shrink:0;
  overflow:hidden;
  background:#f0e8e0;
  display:flex;
  align-items:center;
  justify-content:center;
}
.doctor-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.doctor-info{
  flex:1;
  padding-top:8px;
}
.doctor-role{
  color:var(--text-sub);
}
.doctor-name{
  font-size:36px;
  font-weight:900;
  color:var(--text);
  margin-bottom:18px;
  letter-spacing:.04em;
}
.doctor-badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:22px;
}
.badge{
  font-size:13px;
  font-weight:500;
  color:var(--text);
  background:#f0ece4;
  border-radius:6px;
  padding:6px 16px;
}
.doctor-bio{
  color:var(--text);
}

/* ===== SERVICES ===== */
.service-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:2rem;
}
.service-card{
  background:#fff;
  border-radius:20px;
  padding:clamp( 1rem, calc( 0.5rem + 2vw ), 2rem );
  transition:transform .2s;
  display: flex;
  flex-direction: column;
  .link-btn{
    margin-top:auto;
  }
}
.service-card:hover{
  transform:translateY(-4px);
}
.service-card-title{
  display: flex;
  align-items: center;
  gap:10px;
  margin-bottom:10px;
}
.service-icon{
  width:clamp( 40px, calc( 30px + 2.5vw ), 60px );
  height:clamp( 40px, calc( 30px + 2.5vw ), 60px );
  border-radius:50%;
  flex-shrink:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:10px;
}
.icon-pink{
  background:var(--pink);
}
.icon-lime{
  background:var(--green);
}
.icon-teal{
  background:var(--lime);
}
.icon-yellow{
  background:var(--orange);
}
.service-name{
  font-size:clamp( 18px, calc( 16px + 0.5vw ), 22px );
  font-weight:700;
  color:var(--text);
  margin-bottom:8px;
}
.service-desc{
  color:var(--text-sub);
  line-height:1.75;
}
.service-note{
  font-size:clamp( 14px, calc( 13px + 0.25vw ), 16px );
  color:var(--red);
  font-weight:700;
}

/* ===== HOURS ===== */
.hours-panel{
  border-radius:21px;
  border:1px solid var(--text-sub);
}
.hours-table{
  border-spacing:0;
  border-collapse:separate;
  width:100%;
}
.hours-table th,.hours-table td{
  border-top:1px solid var(--text-sub);
  border-left:1px solid var(--text-sub);
  text-align: center;
}
.hours-table th{
  padding:1rem;
  background:var(--text-sub);
  color: var(--white);
}
.hours-table td{
  padding:1rem;
  background:var(--white);
}
.hours-table th:last-child,.hours-table td:last-child{
  border-right:1px solid var(--text-sub);
}
.hours-table tr:last-child th,.hours-table tr:last-child td{
  border-bottom:1px solid var(--text-sub);
}
.hours-table thead tr:first-child :first-child{
  border-top-left-radius:20px;
  border-bottom-left-radius:0;
}
.hours-table thead tr:first-child :last-child{
  border-top-right-radius:20px;
  border-bottom-right-radius:0;
}
.hours-table tr:last-child :first-child{
  border-bottom-left-radius:20px;
}
.hours-table tr:last-child :last-child{
  border-bottom-right-radius:20px;
}
.hours-table .time-label{
  background:var(--border-pale);
  line-height: 1.4;
  width:clamp( 100px, calc( 30px + 17.5vw ), 240px );
}
.hours-table .circle{
  color:var(--text);
  font-size:clamp( 18px, calc( 15px + 0.75vw ), 24px );
}
.hours-table .dash{
  color:var(--red);
}

.hours-foot{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:24px;
  margin-top:18px;
  flex-wrap:wrap;
}
.hours-notes{
  color:var(--text-sub);
}
.hours-notes .alert{
  color:var(--red);;
  font-weight:700;
  display:block;
}

/* ===== ACCESS ===== */
.access-grid{
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:40px;
}
.map-holder iframe{
  border-radius:20px;
  height:360px;
  width:100%;
}
.access-name{
  font-size:clamp( 20px, calc( 16px + 1vw ), 28px );
  font-weight:800;
  margin-bottom:1rem;
}
.access-row{
  display:flex;
  margin-bottom:1rem;
  align-items:flex-start;
  gap:0.5rem;
}
.access-icon-badge{
  width:30px;
  height:30px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  margin-top:4px;
}
.access-text{
  margin-top:10px;
  color:var(--text-sub);
}
.access-text dt{
  font-weight: 800;

}
.access-text dd{
  margin-left:1em;
}
.access-btns{
  display:flex;
  gap:1rem;
  margin-top:2rem;
  flex-wrap:wrap;
}
.access-btn-primary{
  background:var(--orange);
  color: var(--white);
  padding:18px 40px;
  border-radius:84px;
  font-size:17px;
  font-weight:700;
  line-height: 1;
  transition:filter .2s;
}
.access-btn-primary:hover{
  filter:brightness(1.1);
}
.access-btn-tel{
  background:#fff;
  color:var(--orange);
  padding:18px 40px;
  border-radius:84px;
  font-size:17px;
  font-weight:700;
  line-height: 1;
  border:2px solid var(--orange);
  transition:background .2s;
}
.access-btn-tel:hover{
  filter:brightness(1.1);
}

/* ===== FOOTER ===== */
.footer{
  background:var(--text);
  color:rgba(255,255,255,.7);
  padding:56px 24px 28px;
}
.footer-inner{
  max-width:1240px;
  margin:0 auto
}
.footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr 1fr;
  gap:40px;
  margin-bottom:48px;
}
.footer-logo{
  font-size:18px;
  font-weight:700;
  color: var(--white);
  margin-bottom:8px;
}
.footer-logo-sub{
  font-size:11px;
  color:rgba(255,255,255,.45);
  margin-bottom:16px;
}
.footer-addr{
  font-size:13px;
  line-height:2;
  color:rgba(255,255,255,.55);
}
.footer-col-title{
  font-size:12px;
  font-weight:700;
  color:rgba(255,255,255,.45);
  letter-spacing:.08em;
  margin-bottom:16px;
}
.footer-links{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.footer-links a{
  font-size:14px;
  color:rgba(255,255,255,.65);
  transition:color .2s;
}
.footer-links a:hover{
  color: var(--white);
}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.12);
  padding-top:24px;
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
}
.footer-copy{
  font-size:13px;
  color:rgba(255,255,255,.35);
}

/* ===== SP FIXED BAR ===== */
.sp-fixed{
  display:none;
  position:fixed;
  bottom:0;
  left:0;
  right:0;
  z-index:998;
  background:var(--text);
  padding:12px 16px;
}
.sp-fixed-inner{
  display:flex;
  gap:10px;
}
.sp-fixed a{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-size:17px;
  font-weight:800;
  border-radius:84px;
  padding:13px 16px;
}
.sp-fixed .btn-reserve-sp{
  color: var(--white);
  background:var(--orange);
}
.sp-fixed .btn-tel-sp{
  color:var(--orange);
  background:var(--white);
}

/* ===== RESPONSIVE ===== */
@media(max-width:1280px){
  .pc{
    display: none;
  }
  .sp{
    display: inherit;
  }
  .slide-stats{
    position:relative;
    display:flex;
    gap:8px;
    justify-content:flex-end;
    flex-wrap:wrap;
    inset:10px 10px auto auto;
  }
  .stat-circle{
    position:static;
  }
  .stat-circle.years,.stat-circle.cases{
    width:140px;
    height:140px;
  }
  .slide-inner {
    grid-template-columns: 1.5fr 1fr;
    gap:0;
  }
  .slide-content{
    position: relative;
    z-index: 2;
  }
  .slide-img{
    transform: scale(1.4);
  }
  .slide-sub{
    display: none;
  }
  .slide-title{
    margin-bottom:1.5rem;
  }

  .copy-grid{
    grid-template-columns:1fr
  }
  .copy-illust{
    display:none;
  }

  .cause-grid-row1 {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
    gap: 1.5rem;
  }
  .cause-grid-row1 > * {
    grid-area: auto;
  }
  .cause-bigtext { order:1;}
  .cause-desc1 { order:4;}
  .donut-svg { order:2; margin-inline:auto; }
  .cause-donut-legend { order:3; }
  .cause-desc2 { order:5; }
}

@media(max-width:768px){

  .pc-nav{
    display:none;
  }
  .header-nav-wrap{
    display:none;
  }
  .header-top{
    height:64px;
  }
  .header-top-inner{
    padding:0 16px;
  }
  .logo-img img{
    height:42px;
  }
  .hero{
    margin-top:64px;
  }
  .sp-menu-btn{
    display:flex
  }
  .btn-tel{
    display:none;
  }
  .btn-reserve{
    display:none;
  }
  .header-actions{
    gap:8px;
  }
  .sp-drawer{
    display:flex;
  }
  .sp-drawer-overlay{
    pointer-events: none;
    display:flex;
  }
  .sp-drawer-head{
    .logo-text{
      display: flex;
      flex-direction: column;
    }
  }
  .slide-inner{
    grid-template-columns:1fr;
    padding:48px 24px;
    gap:24px;
  }
  .slide-img{
    order:-1;
    transform: scale(1.1);
    margin-inline:auto;
  }
  .slide-btns{
    justify-content: center;
  }
  .slide-btn-main{
    width:48%;
    text-align:center;
    display: inline-block;
  }
  .slide-btn-sub{
    width:48%;
    text-align:center;
    display: inline-block;
  }
  .hero-slider{
    min-height:auto;
  }
  .slide-title{
    font-size:26px;
    text-align: center;
    margin-bottom:1rem;
  }
  .hero-dots{
    bottom:60px;
  }
  /* Hero slides SP */
  .slide-img{
    min-height:auto;
    margin-top:8px;
    padding:18px 8px 0;
  }
  .slide-img .slide-illust{
    max-width:240px;
    margin:0 auto;
  }
  .slide-img svg{
    max-width:200px;
  }
  .stat-circle.years,.stat-circle.cases{
    width:88px;
    height:88px;
  }
  .stat-circle .sc-label{
    font-size:10px;
  }
  .stat-circle .sc-num{
    font-size:24px;
  }
  .stat-circle .sc-num small{
    font-size:11px;
  }
  .stat-circle .sc-status{
    font-size:9px;
    padding:2px 6px;
  }
  .stat-circle .sc-unit{
    font-size:11px;
  }
  .nurse-consult{
    display: block;
  }
  .nurse-consult .btn-tel{
    display: block;
  }

  .link-btn{
    justify-content:center;
  }
  .cause-grid-row1 + .link-btn{
    margin-top:20px;
  }
  .cause-grid-row2{
    .cause-keyword{
      small{
        display: block;
        margin-top:10px;
      }
    }
  }
  .section.book-cta-section{
    padding:0 16px 28px;
    margin-top:-40px;
  }
  .book-cta-grid{
    grid-template-columns:1fr;
    gap:12px;
  }
  .book-cta-card{
    padding:20px 20px 18px;
  }
  .book-cta-btn{
    padding:12px 14px 12px 18px;
  }

  .flow-item{
    flex-direction: column;
    .flow-title{
      text-align: center;
    }
  }

  .service-card-title{
    flex-direction: column;
    gap:0;
    .service-icon{
      width:60px;
      height:60px;
    }
  }
  .service-desc{
    margin-bottom:1rem;
  }

  .news-grid{
    grid-template-columns:1fr;
  }
  .news-item:nth-child(odd){
    border-right:none;
  }
  .hours-table th,.hours-table td{
    padding:12px 4px;
    font-size:13px;
  }
  .hours-table .time-label{
    padding:12px 6px 12px 10px;
    font-size:12px;
    white-space:normal
  }
  .hours-foot{
    flex-direction:column;
    align-items:stretch;
    gap:18px;
  }
  .service-grid{
    grid-template-columns:1fr;
    gap:16px;
  }
  .service-card{
    display: block;
    padding:22px 24px 28px;
    gap:16px;
    border-radius:18px;
  }
  .service-icon{
    margin-inline:auto;
    margin-bottom:10px;
  }
  .service-name{
    text-align: center;
    margin-bottom:6px;
  }
  .service-note{
    text-align: center;
  }
  .service-desc{
    text-align: center;
  }
  .doctor-wrap{
    flex-direction:column;
    align-items:center;
    text-align:center;
    gap:24px;
    padding:24px 16px;
  }
  .doctor-name{
    font-size:28px;
    margin-bottom:14px;
  }
  .doctor-badges{
    justify-content:center
  }
  .doctor-bio{
    text-align:left;
    font-size:14px;
  }
  .access-grid{
    grid-template-columns:1fr
  }
  .footer-grid{
    grid-template-columns:1fr 1fr
  }
  .footer-brand{
    grid-column: 1 / -1;
  }

  .sp-fixed{
    display:block
  }
  .float-reserve-pc{
    display:none;
  }
  .hero-arrow{
    width:36px;
    height:36px;
  }
  .hero-arrow-prev{
    left:8px;
  }
  .hero-arrow-next{
    right:8px;
  }
  .access-btns{
    justify-content: center;
  }
  .tel-pc-num{
    display:none;
  }
  .footer-bottom{
    padding-bottom:70px;
  }
}