/* A single photographic first view with accessible HTML copy over the image. */
.hdr{
  position:absolute;
  top:0;
  left:0;
  right:0;
  z-index:50;
  border:0;
  box-shadow:none;
  background:linear-gradient(180deg,rgba(4,25,43,.84),rgba(4,25,43,.47));
}
.hdr__in{height:88px;padding:0 3.6%;gap:18px}
.clinic-logo{width:181px;height:72px;filter:none}
.brand-service{color:#fff;border-left-color:#ffffff73}
.gnav{gap:17px;color:#fff;font-size:12px}
.header-contact{gap:20px}
.header-phone{color:#fff;font-size:22px;text-shadow:0 1px 8px #071c2b77}
.header-phone small{color:#e2e9eb}
.header-book{height:88px;min-width:140px;margin-right:-3.6vw;background:#b88657;color:#fff}
.hero{
  position:relative;
  isolation:isolate;
  min-height:770px;
  overflow:hidden;
  background:#081f34;
}
.hero__img{position:absolute;inset:0;width:100%;height:100%;border:0;background:#09243a}
.hero__img img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:50% 48%;
  filter:saturate(.99) contrast(1.02);
}
.hero__ov{
  display:block;
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(90deg,transparent 0%,transparent 41%,rgba(5,27,45,.12) 56%,rgba(5,27,45,.34) 100%),linear-gradient(0deg,rgba(4,24,41,.48),transparent 29%);
}
.hero__main{
  position:relative;
  z-index:2;
  display:flex;
  justify-content:flex-end;
  align-items:center;
  width:min(1290px,90%);
  min-height:770px;
  padding:135px 0 65px;
}
.hero__body{
  width:47%;
  max-width:590px;
  padding:0;
  border:0;
}
.hero__label,.hero__big,.hero__micro,.hero__consult-circle,.hero__line{display:none}
.hero__title{max-width:none;margin:0 0 15px;line-height:1.4}
.hero__title .s{
  display:flex;
  align-items:center;
  gap:13px;
  margin-bottom:23px;
  color:#e8ba94;
  font-size:13px;
  font-weight:700;
  letter-spacing:.1em;
}
.hero__title .s:before{content:"";width:34px;height:1px;background:#e8ba94;flex:0 0 34px}
.hero-message{
  display:block;
  margin-bottom:27px;
  color:#fff;
  font-size:clamp(54px,4.75vw,70px);
  font-weight:600;
  line-height:1.24;
  letter-spacing:.05em;
  text-shadow:0 3px 17px rgba(2,17,32,.42);
}
.hero__title .m{margin-bottom:3px;color:#e5edf0;font-size:16px;line-height:1.65}
.hero__title .l{color:#fff;font-size:40px;line-height:1.36;text-shadow:0 2px 11px rgba(2,17,32,.36)}
.hero__lead{max-width:490px;margin-top:19px;color:#e3eaee;font-size:14px;line-height:1.9;text-shadow:0 1px 9px rgba(2,17,32,.4)}
.hero__cta{margin-top:27px}
.hero__cta .btn{
  min-width:0;
  width:min(390px,100%);
  min-height:61px;
  border:1px solid #d1a57e;
  background:#b87752;
  color:#fff;
  font-weight:700;
  box-shadow:0 13px 26px rgba(2,17,32,.23);
}
.hero__cta .btn:hover{background:#a66848}
.hero__so{
  display:inline-block;
  margin-top:17px;
  padding-bottom:4px;
  border-bottom:1px solid #e8ba94;
  color:#fff;
  font-size:12px;
  text-shadow:0 1px 9px rgba(2,17,32,.55);
}
@media(max-width:1190px){
  .hdr__in{height:78px;padding:0 3%}
  .header-book{height:78px;margin-right:-3vw;min-width:120px}
  .hero,.hero__main{min-height:730px}
  .hero__main{width:92%;padding-top:120px}
  .hero__body{width:48%}
  .hero-message{font-size:53px}
  .hero__title .l{font-size:33px}
  .hero__lead{font-size:13px}
}
@media(max-width:900px){
  .hdr{background:linear-gradient(180deg,rgba(4,25,43,.92),rgba(4,25,43,.44))}
  .hdr__in{height:72px;padding:0 5%}
  .header-book{height:72px;margin-right:0}
  .hdr__burger{height:72px;border-left:1px solid #ffffff59;background:transparent;color:#fff}
  .hdr__burger span{background:#fff}
  .hero{min-height:890px}
  .hero__img{inset:0 0 auto;height:490px}
  .hero__img img{object-position:28% 43%}
  .hero__ov{
    background:linear-gradient(180deg,rgba(4,25,43,.28) 0%,transparent 120px,transparent 245px,rgba(4,25,43,.43) 360px,#061e32 495px,#061e32 100%);
  }
  .hero__main{
    display:flex;
    align-items:flex-end;
    width:88%;
    min-height:890px;
    padding:390px 0 74px;
  }
  .hero__body{width:100%;max-width:650px}
  .hero__title .s{margin-bottom:17px}
  .hero-message{font-size:52px;margin-bottom:19px}
  .hero__title .l{font-size:34px}
}
@media(max-width:600px){
  .hdr__in{height:67px;padding:0 4%}
  .clinic-logo{width:158px;height:60px}
  .hdr__burger{height:67px;width:60px;flex-basis:60px}
  .hero{min-height:850px}
  .hero__img{height:430px}
  .hero__img img{object-position:27% 43%}
  .hero__ov{background:linear-gradient(180deg,rgba(4,25,43,.4) 0%,transparent 100px,transparent 220px,rgba(4,25,43,.5) 315px,#061e32 445px,#061e32 100%)}
  .hero__main{width:88%;min-height:850px;padding:340px 0 86px}
  .hero__title .s{gap:9px;font-size:10px;letter-spacing:.06em}
  .hero__title .s:before{width:23px;flex-basis:23px}
  .hero-message{font-size:41px;line-height:1.29;letter-spacing:.035em}
  .hero__title .m{font-size:13px}
  .hero__title .l{font-size:29px}
  .hero__lead{font-size:12px;margin-top:14px}
  .hero__cta{margin-top:22px}
  .hero__cta .btn{width:100%;min-height:56px}
  .hero__so{font-size:11px}
}
@media(max-width:370px){
  .hero{min-height:850px}
  .hero__main{min-height:850px;width:88%}
  .hero-message{font-size:36px}
  .hero__title .l{font-size:26px}
}

/* ============ 2026-10-09 修正 ============ */
/* 濃色セクションの白ボタンが背景と同色になり文字が見えなくなるのを修正 */
.midcta .btn.btn--white{background:#fff;color:var(--navy);border-color:#fff}
.midcta .btn.btn--white:after{color:var(--navy)}
.midcta .btn.btn--white:hover{background:#edf3f8}
/* Googleマップ埋め込み */
.access-embed{height:420px;margin-top:34px;background:#edf3f8;border:1px solid #d5dfe6}
.access-embed iframe{display:block;width:100%;height:100%;border:0}
/* 集合写真（130.jpg）の表示位置 */
/* 集合写真：画面が広いほど帯も高くして、切り取り方を一定に保つ */
.team-photo{height:clamp(420px,37vw,780px)}
.team-photo img{object-position:50% 32%}
@media(max-width:959px){.access-embed{height:340px;margin-top:26px}}
@media(max-width:959px){.team-photo{height:370px}}
@media(max-width:767px){.access-embed{height:260px;margin-top:20px}.team-photo{height:260px}}

/* ============ 2026-10-09 追加：スクロール時の表示アニメーション ============ */
.reveal{opacity:0;transform:translateY(26px);transition:opacity .9s cubic-bezier(.22,.68,.26,1),transform .9s cubic-bezier(.22,.68,.26,1)}
.reveal.is-visible{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){
  .reveal{opacity:1 !important;transform:none !important;transition:none !important}
}

/* ============ 2026-10-09 追加：院内の風景（写真が流れる帯） ============ */
#gallery{overflow:hidden}
#gallery .st{margin-bottom:38px}
.marquee{position:relative;overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent)}
.marquee__track{display:flex;width:max-content;animation:marquee-x 64s linear infinite}
.marquee:hover .marquee__track,.marquee:focus-within .marquee__track{animation-play-state:paused}
.marquee figure{flex:0 0 360px;margin:0 24px 0 0}
.marquee img{display:block;width:100%;height:244px;object-fit:cover;background:#edf3f8}
@keyframes marquee-x{from{transform:translate3d(0,0,0)}to{transform:translate3d(-50%,0,0)}}
@media(max-width:959px){
  .marquee figure{flex-basis:300px;margin-right:18px}
  .marquee img{height:200px}
  .marquee__track{animation-duration:54s}
}
@media(max-width:767px){
  #gallery .st{margin-bottom:26px}
  .marquee figure{flex-basis:228px;margin-right:14px}
  .marquee img{height:152px}
  .marquee__track{animation-duration:44s}
}
@media(prefers-reduced-motion:reduce){
  .marquee{overflow-x:auto;-webkit-overflow-scrolling:touch}
  .marquee__track{animation:none}
}

/* 比較表：日本語の区切りで折り返す */
.cmp th,.cmp td{line-break:strict;word-break:auto-phrase;overflow-wrap:anywhere}

/* 確認用ページのみ：地図の代わりにリンクを表示 */
.access-embed--preview{display:flex;align-items:center;justify-content:center;text-align:center;padding:24px}
.access-embed--preview b{display:block;font-size:15px;color:var(--navy)}
.access-embed--preview p{max-width:520px;margin:8px auto 14px;font-size:13px;line-height:1.9;color:var(--muted)}
