:root {
  --paper: #f5f5ee;
  --paper-strong: #fdfdfc;
  --ink: #16372d;
  --text-main: #202824;
  --text-note: #7b837e;
  --green: #4f947b;
  --green-deep: #1b3b30;
  --sage: #e4f0e9;
  --lime: #e0eb93;
  --clay: #ca8067;
  --line: rgba(22, 55, 45, 0.22);
  --ease-smooth: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-reveal: cubic-bezier(0.77, 0, 0.18, 1);
  --ease-opening: cubic-bezier(0.77, 0, 0.18, 1);
  --header-height: 88px;
  --hero-top-gap: 30px;

  /* --- FV基本トークン ----------------------------------------------- */
  --green-field: #35594c;
  --content: min(1290px, calc(100% - 60px));
  --hero-pad: clamp(20px, 4vw, 78px);
  --jp-optical: -0.04em;  /* 和文グリフのサイドベアリング補正。em指定なので文字サイズに比例して効く */

  --fs-h2: clamp(27px, 2.6vw, 38px);
  --fs-display-en: 68px;
  --fs-hero-h1: clamp(32px, 3.35vw, 48px);   /* FVキャッチのみ拡大 */
  --fs-h3: 20px;
  --fs-lead: 18px;
  --fs-body: 16px;
  --fs-body-sm: 14px;

  /* 装飾テキスト（16px下限の対象外）。
     定義：ラテン小ラベル・連番・記号的表示など、読まなくてもサイトが使えるもの。
     和文の見出し／本文／リード／診療情報は対象外で 16px 以上を維持する。 */
  --fs-deco-xs: 10px;   /* ヘッダーのローマ字表記、コピーライト */
  --fs-deco-sm: 11px;   /* SCROLL DOWN、MENU、ブランドのローマ字 */
  --fs-deco: 12px;      /* ENキッカー、連番、カテゴリ、キャプション */
  --fs-deco-lg: 13px;   /* 日付、FVのENサブ */
  --lh-tight: 1.6;
  --lh-lead: 2.3;
  --ls: 0.04em;

  --sp-100: 112px;
  --sp-120: 132px;
  --sp-140: 156px;
  --sp-150: 168px;

  --r-4: 4px;
  --r-8: 8px;
  --r-10: 10px;
  --r-30: 30px;
  --r-pill: 999px;
  --shadow-step: rgba(0, 0, 0, 0.06) 8px 10px 0 0;

  /* --- 線丸モチーフ（単一ソース） ------------------------------------ */
  --orbit-stroke: 1px;
  --orbit-color: var(--green);
  --orbit-color-invert: rgba(224, 235, 147, 0.55);
  --orbit-size: clamp(150px, 12.6vw, 218px);
  --orbit-overlap: clamp(14px, 1.8vw, 28px);
  --orbit-draw: 0.9s var(--ease-reveal);
  --orbit-rotate: 24s;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "M PLUS 1p", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.04em;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
svg { display: block; width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.opening {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--paper);
  color: var(--paper);
  pointer-events: none;
  animation: opening-veil 1.5s var(--ease-opening) both;
}
.opening::before,
.opening::after {
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  background:
    linear-gradient(90deg, rgba(224, 235, 147, 0.08) 0 1px, transparent 1px 96px),
    var(--green-deep);
  content: "";
  animation-duration: 1.35s;
  animation-timing-function: var(--ease-opening);
  animation-fill-mode: both;
}
.opening::before {
  right: 50%;
  transform-origin: left center;
  animation-name: opening-panel-left;
}
.opening::after {
  left: 50%;
  transform-origin: right center;
  animation-name: opening-panel-right;
}
@keyframes hero-image-zoom {
  from { transform: scale(1.03); }
  to { transform: scale(1.1); }
}
.opening-lockup {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 16px;
  color: var(--lime);
  animation: opening-lockup 1.2s var(--ease-smooth) both;
}
.opening-lockup img { width: 72px; height: 72px; }
.opening-lockup span { font: var(--fs-deco-sm)/1 "Roboto Condensed", "Arial Narrow", sans-serif; letter-spacing: 0.2em; }
@keyframes opening-veil { 0%, 68% { opacity: 1; visibility: visible; } 100% { opacity: 0; visibility: hidden; } }
@keyframes opening-panel-left { 0%, 62% { transform: translateX(0); } 100% { transform: translateX(-102%); } }
@keyframes opening-panel-right { 0%, 62% { transform: translateX(0); } 100% { transform: translateX(102%); } }
@keyframes opening-lockup { 0% { opacity: 0; transform: translateY(24px) scale(0.96); } 22%, 65% { opacity: 1; transform: translateY(0) scale(1); } 100% { opacity: 0; transform: translateY(-18px) scale(1.04); } }

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: var(--header-height);
  padding: 0 clamp(20px, 4.6vw, 88px);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: var(--ink);
  transition: background-color 0.4s ease, color 0.4s ease;
}
.site-header.is-scrolled { background: rgba(255, 255, 255, 0.92); }
.brand-lockup { display: inline-flex; align-items: center; gap: 12px; min-width: 260px; }
.brand-mark { display: grid; place-items: center; width: 44px; height: 44px; color: var(--green); }
.brand-mark img { width: 100%; height: 100%; }
.brand-copy { display: grid; gap: 1px; line-height: 1.25; }
.brand-copy b { font-size: 16px; font-weight: 700; letter-spacing: 0.07em; }
.brand-copy small { color: var(--green); font: var(--fs-deco-xs)/1 "Roboto Condensed", "Arial Narrow", sans-serif; letter-spacing: 0.19em; }
.desktop-nav { display: flex; align-items: stretch; height: 100%; margin-left: auto; margin-right: 16px; }
.desktop-nav a { position: relative; display: grid; place-items: center; padding: 0 14px; font-size: 16px; font-weight: 400; white-space: nowrap; transition: color 0.3s ease; }
.desktop-nav a::after { position: absolute; right: 20px; bottom: 19px; left: 20px; height: 1px; background: currentColor; content: ""; transform: scaleX(0); transform-origin: right; transition: transform 0.3s var(--ease-smooth); }
.desktop-nav a:hover { color: var(--green); }
.desktop-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 8px; font-size: 16px; font-weight: 700; transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease; }
.header-actions a:hover { transform: translateY(-2px); }
.header-actions .header-reserve { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-width: 132px; padding: 0 18px; background: var(--green); color: var(--paper-strong); }
.header-reserve:hover { background: var(--green-deep); }
.header-reserve svg { width: 15px; height: 15px; }
.header-reserve .button-label { grid-column: 2; justify-self: center; white-space: nowrap; }
.header-reserve .button-arrow { grid-column: 3; justify-self: end; }
.header-phone { gap: 8px; min-width: 150px; padding: 0 16px; background: var(--green-deep); color: var(--paper-strong); }
.header-phone svg, .side-tel svg { width: 18px; height: 18px; flex: 0 0 auto; fill: currentColor; stroke: none; }
.menu-toggle { display: none; align-items: center; gap: 12px; border: 0; background: transparent; color: inherit; cursor: pointer; }
.menu-toggle span { font: var(--fs-deco-sm)/1 "Roboto Condensed", "Arial Narrow", sans-serif; letter-spacing: 0.17em; }
.menu-toggle i, .menu-toggle i::before, .menu-toggle i::after { display: block; width: 25px; height: 1px; background: currentColor; content: ""; transition: transform 0.3s ease, opacity 0.3s ease; }
.menu-toggle i { position: relative; }
.menu-toggle i::before, .menu-toggle i::after { position: absolute; left: 0; }
.menu-toggle i::before { top: -6px; }
.menu-toggle i::after { top: 6px; }
.menu-toggle[aria-expanded="true"] i { background: transparent; }
.menu-toggle[aria-expanded="true"] i::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] i::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-drawer { position: fixed; inset: 0; z-index: 15; overflow-y: auto; background: var(--green-deep); color: var(--paper); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.45s ease, visibility 0.45s ease; }
.mobile-drawer.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.drawer-inner { display: flex; flex-direction: column; width: min(760px, calc(100% - 48px)); min-height: 100%; margin: 0 auto; padding: 128px 0 40px; }
.drawer-kicker { margin: 0 0 34px; color: var(--lime); font: var(--fs-deco)/1 "Roboto Condensed", "Arial Narrow", sans-serif; letter-spacing: 0.2em; }
.mobile-drawer nav { display: grid; }
.mobile-drawer .drawer-nav + .drawer-nav { margin-top: 36px; }
.drawer-nav__label { margin: 0 0 8px; color: var(--lime); font-size: 14px; font-weight: 500; letter-spacing: 0.12em; }
.mobile-drawer nav a { display: grid; grid-template-columns: 34px 1fr 24px; align-items: center; gap: 14px; padding: 19px 0; border-bottom: 1px solid rgba(245, 245, 238, 0.22); font-size: clamp(19px, 4vw, 29px); font-weight: 400; }
.mobile-drawer nav a em { color: var(--lime); font: var(--fs-deco)/1 "Roboto Condensed", "Arial Narrow", sans-serif; font-style: normal; letter-spacing: 0.1em; }
.mobile-drawer nav a svg { width: 19px; height: 19px; color: var(--lime); transition: transform 0.3s var(--ease-smooth); }
.mobile-drawer nav a:hover svg { transform: translateX(5px); }
.drawer-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; padding-top: 48px; }
.drawer-actions a { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 58px; border-radius: 8px; background: var(--lime); color: var(--green-deep); font-size: 16px; font-weight: 700; }
.drawer-actions a:first-child { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.drawer-actions a:first-child .button-label { grid-column: 2; justify-self: center; white-space: nowrap; }
.drawer-actions a:first-child .button-arrow { grid-column: 3; justify-self: end; }
.drawer-actions a + a { background: var(--paper); }
.drawer-actions svg { width: 16px; height: 16px; }


/* ==========================================================================
   FV — 右端画像セクションの文法
   上段: JP見出し + 緑EN sub | リード(lh2.3) + 線丸2円
   下段: 画像を右端まで裁ち落とし、左側だけ角丸 + ●ページネーション
   ========================================================================== */
.hero { position: relative; min-height: 100svh; padding: calc(var(--header-height) + var(--hero-top-gap)) 0 0 var(--hero-pad); overflow: hidden; }
.hero-shell { display: grid; grid-template-columns: minmax(336px, 0.31fr) minmax(0, 1fr); align-items: stretch; gap: clamp(30px, 4.4vw, 76px); width: 100%; min-height: calc(100svh - var(--header-height) - var(--hero-top-gap)); margin: 0 auto; }

/* --- 左カラム：i-bah 右側のデータ行文法 ---------------------------------- */
/* KV（画像）の下端に左カラムの下端を揃える。SCROLL行の高さぶんだけ持ち上げる */
.hero-side { display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; padding-bottom: 0; }
.hero-side-brand { display: grid; justify-items: start; margin-bottom: 26px; }
.hero-side-brand img { justify-self: center; width: 92px; height: 92px; margin-bottom: 17px; color: var(--green); }
.hero-side-brand p { margin: 0; color: var(--green-deep); font-size: clamp(21px, 2vw, 29px); font-weight: 500; line-height: 1.55; letter-spacing: 0.08em; }
.hero-side-brand small { margin-top: 10px; color: var(--green); font: var(--fs-deco-sm)/1 "Roboto Condensed", "Arial Narrow", sans-serif; letter-spacing: 0.19em; }

/* 診療内容・営業時間は製作中(v2)のデザインを踏襲 */
.hero-specialties { display: flex; flex-wrap: nowrap; gap: 0; margin: 0 0 21px; color: rgba(22, 55, 45, 0.66); font-size: 14px; letter-spacing: 0.02em; white-space: nowrap; }
.hero-specialties span:not(:last-child)::after { margin: 0 7px; content: "/"; color: inherit; }
.quick-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.quick-grid a { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 94px; padding: 10px; border-radius: 10px; background: var(--paper-strong); color: var(--green); font-size: 16px; font-weight: 500; transition: transform 0.3s var(--ease-smooth), background-color 0.3s ease; }
.quick-grid a span { color: var(--ink); }
.quick-grid a:hover { background: #fff; transform: translateY(-4px); }
.quick-grid svg { width: 34px; height: 34px; margin-bottom: 9px; stroke-width: 3.4; transition: transform 0.3s var(--ease-smooth); }
.quick-grid a:hover svg { transform: translateY(-4px) scale(1.04); }
.hours-mini { margin-top: 22px; padding-bottom: 32px; color: rgba(22, 55, 45, 0.76); font-size: 16px; }
.hours-mini > div { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--green); }
.hours-mini b { font-weight: 500; }
.hours-mini span { white-space: normal; letter-spacing: 0; }
.hours-mini > div:not(.hours-title) span { display: block; color: var(--green); line-height: 1; }
.hours-title { border-bottom: 1px solid var(--green) !important; font-weight: 500; }
.hours-days,
.hours-dots { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); align-items: center; width: 168px; line-height: 1; text-align: center; }
.hours-days span,
.hours-dots span { display: grid; place-items: center; min-width: 0; line-height: 1; }
.hours-dots { color: var(--green); }
.hours-mini p { margin: 9px 0 0; font-size: 16px; }

/* --- 右カラム ------------------------------------------------------------ */
.hero-main { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: inherit; }
.hero-head { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.hero-copy { position: absolute; top: clamp(28px, 5vw, 76px); left: clamp(24px, 4vw, 68px); max-width: min(620px, calc(100% - 48px)); padding: 0; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; pointer-events: auto; }

/* 緑のEN sub（i-bah "Build a home. / A bright future awaits." 相当） */
.hero-en { margin: 0 0 18px; max-width: 20em; color: var(--green); font: 500 clamp(13px, 1.05vw, 15px)/1.6 "Roboto Condensed", "Arial Narrow", sans-serif; letter-spacing: 0.04em; }
.hero-copy h1 { margin: 0; color: var(--green-deep); font-size: clamp(29px, 2.9vw, 42px); font-weight: 500; line-height: 1.55; letter-spacing: 0.08em; text-indent: var(--jp-optical); text-shadow: 0 1px 16px rgba(245, 245, 238, 0.7); clip-path: inset(0 100% 0 0); opacity: 0; transform: translateY(14px); transition: clip-path 1.2s var(--ease-reveal), opacity 0.6s ease, transform 0.8s ease; }
.hero.is-play .hero-copy h1 { clip-path: inset(0); opacity: 1; transform: none; transition-delay: 0.12s; }
/* 既存の `.section-heading h2 span` と同じ二色見出しパターン。キーワードのみサイト緑 */
.hero-copy h1 span { color: var(--green); }

@media (min-width: 761px) and (max-width: 1100px) {
  .hero-copy {
    right: 24px;
    left: clamp(24px, 4vw, 68px);
    width: auto;
    max-width: none;
  }
}

/* --- 画像：右端まで裁ち落とし、左側だけ角丸 ------------------------------ */
.hero-media { position: absolute; inset: calc(-1 * var(--hero-top-gap)) 0 0; z-index: 1; margin: 0; height: auto; border-radius: var(--r-10) 0 0 var(--r-10); overflow: hidden; background: var(--sage); opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease 0.34s, transform 0.9s var(--ease-smooth) 0.34s; }
.hero.is-play .hero-media { opacity: 1; transform: none; }
.hero-slides { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; margin: 0; overflow: hidden; opacity: 0; visibility: hidden; transition: opacity 0.9s ease, visibility 0.9s ease; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.03); transform-origin: center; }
.hero-slide.is-active img { animation: hero-image-zoom 8s var(--ease-smooth) both; }
.hero-media::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  background:
    linear-gradient(90deg, rgba(19, 48, 39, 0.54) 0%, rgba(19, 48, 39, 0.24) 38%, rgba(19, 48, 39, 0) 68%),
    linear-gradient(180deg, rgba(19, 48, 39, 0.18) 0%, rgba(19, 48, 39, 0) 32%, rgba(19, 48, 39, 0.14) 100%);
  pointer-events: none;
}
.hero-media-note { position: absolute; left: 0; bottom: 0; z-index: 2; max-width: 420px; padding: 15px 22px; border-radius: 0 var(--r-8) 0 0; background: rgba(253, 253, 252, 0.92); color: var(--ink); font-size: 16px; line-height: 1.75; letter-spacing: var(--ls); transition: opacity 0.4s ease, transform 0.4s var(--ease-smooth); }
/* ●ページネーションは下中央（i-bah と同じ） */
.hero-dots { position: absolute; left: 50%; bottom: 20px; z-index: 3; display: flex; gap: 9px; transform: translateX(-50%); }
.hero-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(253, 253, 252, 0.72); cursor: pointer; transition: background-color 0.3s ease, transform 0.3s ease; }
.hero-dot.is-active { background: var(--green); transform: scale(1.12); }

/* FV上の重要なお知らせ。写真や左カラムを覆わず、右下に控えめに固定する。 */
.hero-notice {
  position: fixed;
  right: clamp(18px, 3vw, 46px);
  bottom: clamp(18px, 3vw, 42px);
  z-index: 19;
  width: min(360px, calc(100vw - 36px));
  padding: 24px 26px 22px;
  border: 1px solid rgba(79, 148, 123, 0.48);
  border-radius: 18px 0 18px 18px;
  background: rgba(253, 253, 252, 0.96);
  color: var(--ink);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s var(--ease-smooth);
}
.hero-notice[hidden] { display: none; }
.hero-notice-close {
  position: absolute;
  top: 9px;
  right: 11px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--green-deep);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.hero-notice-close:hover { background: var(--sage); }
.hero-notice-kicker { margin: 0 32px 9px 0; color: var(--green); font: 600 var(--fs-deco)/1.2 "Roboto Condensed", "Arial Narrow", sans-serif; letter-spacing: 0.16em; }
.hero-notice h2 { margin: 0; color: var(--green-deep); font-size: 18px; line-height: 1.5; }
.hero-notice-body { margin: 8px 0 14px; color: rgba(22, 55, 45, 0.76); font-size: 16px; line-height: 1.7; }
.hero-notice-link { display: inline-flex; align-items: center; gap: 9px; color: var(--green-deep); font-size: 16px; font-weight: 700; }
.hero-notice-link span { color: var(--green); font-size: 21px; transition: transform 0.3s var(--ease-smooth); }
.hero-notice-link:hover span { transform: translateX(4px); }


@media (max-width: 1240px) {
  .hero-copy { top: clamp(24px, 4vw, 58px); left: clamp(22px, 3vw, 48px); }
}
@media (max-width: 980px) {
  .hero { padding-left: var(--hero-pad); }
  .hero-shell { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-side { order: 2; justify-content: flex-start; padding-right: var(--hero-pad); padding-bottom: 0; }
  .hero-main { order: 1; }
}
@media (max-width: 760px) {
  .hero-main { min-height: clamp(500px, 100svh, 700px); }
  .hero-copy { top: 20px; right: 20px; left: 20px; max-width: none; padding: 15px 18px 17px; }
  .hero-copy h1 { font-size: clamp(29px, 8vw, 40px); }
  .hero-notice { right: 14px; bottom: 14px; width: min(350px, calc(100vw - 28px)); padding: 20px 22px 18px; }
}

.section-shell { width: min(1280px, calc(100% - 8vw)); margin: 0 auto; }
.section-light { background: var(--paper); }
.section-wash { background: #eaf2ed; }
.section-kicker { margin: 0 0 18px; color: var(--green); font: 600 var(--fs-deco)/1.2 "Roboto Condensed", "Arial Narrow", sans-serif; letter-spacing: 0.2em; }
.section-heading h2, .feature-copy h2, .reservation-section h2 { margin: 0; color: var(--green); font-size: clamp(30px, 4vw, 54px); font-weight: 700; line-height: 1.35; letter-spacing: 0.07em; }
.section-heading h2 span, .feature-copy h2 span, .reservation-section h2 span { color: var(--ink); }
.section-heading h2, .feature-copy h2, .reservation-section h2 { position: relative; }
.section-heading h2::after, .feature-copy h2::after, .reservation-section h2::after { display: block; width: 64px; height: 2px; margin-top: 18px; background: var(--green); content: ""; transform: scaleX(0); transform-origin: left; transition: transform 0.85s var(--ease-smooth) 0.16s; }
.reveal-ready [data-reveal].is-visible h2::after { transform: scaleX(1); }
.about-section .section-heading h2::after, .reservation-section h2::after { background: var(--lime); }
.about-section .section-heading h2::after { margin-right: auto; margin-left: auto; transform-origin: center; }
.section-lead { color: var(--ink); font-size: 17px; font-weight: 400; line-height: 2; }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.section-intro { max-width: 365px; margin: 0 0 5px; color: rgba(22, 55, 45, 0.66); font-size: 16px; line-height: 2; }
.text-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; color: var(--green-deep); font-size: 16px; font-weight: 700; }
.text-link svg { width: 19px; height: 19px; color: var(--green); transition: transform 0.3s var(--ease-smooth); }
.text-link:hover svg { transform: translateX(5px); }
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s var(--ease-smooth); }
.reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }
.reveal-ready [data-reveal="from-left"] { transform: translateX(-42px); }
.reveal-ready [data-reveal="from-right"] { transform: translateX(42px); }
.reveal-ready [data-reveal="from-left"].is-visible, .reveal-ready [data-reveal="from-right"].is-visible { transform: none; }
.reveal-ready .first-visit-card:nth-child(2):not(.is-visible), .reveal-ready .medical-card:nth-child(2):not(.is-visible), .reveal-ready .column-card:nth-child(2):not(.is-visible), .reveal-ready .news-item:nth-child(2):not(.is-visible) { transition-delay: 0.1s; }
.reveal-ready .first-visit-card:nth-child(3):not(.is-visible), .reveal-ready .medical-card:nth-child(3):not(.is-visible), .reveal-ready .column-card:nth-child(3):not(.is-visible), .reveal-ready .news-item:nth-child(3):not(.is-visible) { transition-delay: 0.2s; }
.reveal-ready .medical-card:nth-child(4):not(.is-visible) { transition-delay: 0.3s; }

.about-section { position: relative; overflow: visible; isolation: isolate; padding: clamp(92px, 11vw, 150px) 0 clamp(124px, 14vw, 190px); background: var(--paper); color: var(--paper); }
.about-section .section-shell { position: relative; z-index: 1; }
.about-panel { position: relative; overflow: hidden; padding: clamp(70px, 8vw, 116px) clamp(28px, 8vw, 124px) clamp(92px, 10vw, 142px); border-radius: 28px; background: var(--green-deep); }
.about-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.04fr); align-items: center; gap: clamp(38px, 7vw, 110px); }
.about-heading { margin: 0 0 clamp(32px, 4vw, 50px); text-align: left; }
.about-section .section-kicker { color: var(--lime); }
.about-section .section-heading h2 { color: var(--paper); font-size: clamp(28px, 3.4vw, 46px); }
.about-section .section-heading h2::after { background: var(--lime); }
.about-copy { max-width: 520px; margin: 0; padding-top: 0; color: rgba(245, 245, 238, 0.72); font-size: 16px; line-height: 2.1; text-align: left; }
.about-copy p { margin: 0 0 20px; }
.about-copy .section-lead { margin-bottom: 27px; color: var(--paper); font-size: 17px; line-height: 2; }
.about-copy p:not(.section-lead) { color: var(--paper); font-weight: 400; }
.about-media { position: relative; z-index: 2; min-width: 0; transform: translateY(38px); }
.about-media::after { position: absolute; inset: 0; border-radius: 28px 28px 28px 0; background: linear-gradient(180deg, transparent 52%, rgba(11, 40, 30, 0.18)); content: ""; pointer-events: none; }
.about-media img { display: block; width: 100%; aspect-ratio: 1.08; border-radius: 28px 28px 28px 0; object-fit: cover; object-position: center; transition: transform 0.7s var(--ease-smooth); }
.about-media:hover img { transform: scale(1.025); }
.about-section .text-link { color: var(--paper); }
.about-section .text-link svg { color: var(--lime); }
.about-detail-button { display: grid; grid-template-columns: minmax(24px, 1fr) auto minmax(24px, 1fr); align-items: center; width: fit-content; min-width: 0; margin-top: 30px; padding: 16px 21px; border: 1px solid rgba(224, 235, 147, 0.78); border-radius: 8px; color: var(--lime); font-size: 16px; font-weight: 700; letter-spacing: 0.06em; transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s var(--ease-smooth); }
.about-detail-button .button-label { grid-column: 2; justify-self: center; white-space: nowrap; }
.about-detail-button .button-arrow { grid-column: 3; justify-self: end; font-family: Arial, sans-serif; font-size: 22px; font-weight: 500; line-height: 1; transition: transform 0.3s var(--ease-smooth); }
.about-detail-button:hover { background: var(--lime); color: var(--green-deep); transform: translateY(-3px); }
.about-detail-button:hover .button-arrow { transform: translateX(5px); }

.first-visit-section { padding: clamp(100px, 12vw, 170px) 0 clamp(110px, 13vw, 185px); }
.first-visit-section .section-heading-row { align-items: stretch; margin-bottom: 64px; }
.first-visit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(22, 55, 45, 0.2); border-bottom: 1px solid rgba(22, 55, 45, 0.2); }
.first-visit-card { position: relative; display: flex; flex-direction: column; min-height: 445px; padding: 24px clamp(22px, 3vw, 42px) 28px; color: var(--ink); transition: background-color 0.4s ease, transform 0.4s var(--ease-smooth); }
.first-visit-card + .first-visit-card { border-left: 1px solid rgba(22, 55, 45, 0.2); }
.first-visit-card:hover { background: rgba(79, 148, 123, 0.08); transform: translateY(-5px); }
.first-visit-image { display: block; height: clamp(165px, 14vw, 220px); margin: 0 0 22px; overflow: hidden; border-radius: 16px 16px 16px 0; background: var(--sage); }
.first-visit-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.7s var(--ease-smooth); }
.first-visit-card:nth-child(2) .first-visit-image img { object-position: center 56%; }
.first-visit-card:nth-child(3) .first-visit-image img { object-position: center 42%; }
.first-visit-card:hover .first-visit-image img { transform: scale(1.055); }
.first-visit-card h3 { margin: 0 0 12px; color: var(--green-deep); font-size: 21px; line-height: 1.4; letter-spacing: 0.08em; }
.first-visit-card p { max-width: 26em; margin: 0; color: rgba(22, 55, 45, 0.72); font-size: 16px; line-height: 1.9; }
.first-visit-button { position: relative; display: grid; grid-template-columns: minmax(24px, 1fr) auto minmax(24px, 1fr); align-items: center; width: fit-content; min-width: 0; margin-top: 34px; overflow: hidden; padding: 17px 22px; border-radius: 8px; background: var(--green); color: var(--paper-strong); font-size: 16px; font-weight: 700; letter-spacing: 0.06em; transition: background-color 0.3s ease, transform 0.3s var(--ease-smooth); }
.first-visit-button::before { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 28%, rgba(255, 255, 255, 0.2) 49%, transparent 70%); content: ""; transform: translateX(-120%); transition: transform 0.62s var(--ease-smooth); }
.first-visit-button .button-label { grid-column: 2; justify-self: center; text-align: center; white-space: nowrap; }
.first-visit-button .button-arrow { grid-column: 3; justify-self: end; font-family: Arial, sans-serif; font-size: 22px; font-weight: 500; line-height: 1; transition: transform 0.3s var(--ease-smooth); }
.first-visit-button:hover { background: var(--green-deep); transform: translateY(-3px); }
.first-visit-button:hover::before { transform: translateX(120%); }
.first-visit-button:hover .button-arrow { transform: translateX(5px); }
.first-visit-section > .section-shell > .first-visit-button { width: min(100%, 340px); margin-right: auto; margin-left: auto; padding-right: 28px; padding-left: 28px; }
.doctor-detail-button { width: fit-content; min-width: 0; margin-left: auto; }

.medical-section { padding: clamp(100px, 12vw, 170px) 0 clamp(110px, 13vw, 185px); }
.medical-section .section-heading-row { justify-content: center; margin-bottom: 64px; text-align: center; }
.medical-section .section-heading h2::after { margin-right: auto; margin-left: auto; transform-origin: center; }
.medical-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.medical-card { position: relative; display: flex; flex-direction: column; align-items: center; min-height: 335px; padding: 34px 30px 28px; border: 1px solid rgba(79, 148, 123, 0.72); border-radius: 18px; background: rgba(253, 253, 252, 0.72); color: var(--ink); text-align: center; transition: background-color 0.4s ease, border-color 0.4s ease, transform 0.4s var(--ease-smooth); }
.medical-card:hover { border-color: var(--green); background: var(--paper-strong); transform: translateY(-7px); }
.medical-card > svg { width: 64px; height: 64px; margin: 25px auto 23px; color: var(--green); stroke-width: 2.6; transition: transform 0.4s var(--ease-smooth); }
.medical-card:hover > svg { transform: translateY(-4px) scale(1.05); }
.medical-card h3 { margin: 0 0 13px; color: var(--green-deep); font-size: 21px; line-height: 1.4; letter-spacing: 0.08em; }
.medical-card p { max-width: 18em; margin: 0 auto; color: rgba(22, 55, 45, 0.68); font-size: 16px; line-height: 1.9; }
.card-arrow { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin-top: auto; margin-left: auto; border: 1px solid rgba(79, 148, 123, 0.35); border-radius: 50%; color: var(--green); transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s var(--ease-smooth); }
.card-arrow svg { width: 15px; height: 15px; }
.medical-card .card-arrow { align-self: flex-end; width: 38px; height: 38px; }
.medical-card .card-arrow svg { display: none; }
.medical-card .card-arrow::before { content: "→"; font-family: Arial, sans-serif; font-size: 20px; font-weight: 500; line-height: 1; }
.medical-card:hover .card-arrow { background: var(--green); color: var(--paper-strong); transform: translateX(4px); }

.split-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); align-items: center; gap: clamp(60px, 10vw, 150px); }
.endoscopy-section { padding: clamp(110px, 14vw, 196px) 0; }
.feature-media { position: relative; }
.feature-media-frame { position: relative; aspect-ratio: 0.9; overflow: hidden; padding: 14px 14px 14px 0; border-radius: 28px 28px 28px 0; background: #eaf2ed; }
.feature-media-frame::before { position: absolute; inset: 0 0 0 28%; background: #eaf2ed; content: ""; }
.feature-media-frame img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; border-radius: 0 18px 18px 0; object-fit: cover; object-position: center; }
.feature-media-index { position: absolute; right: 0; bottom: 20px; padding: 11px 16px; background: rgba(253, 253, 252, 0.9); color: var(--green-deep); font: var(--fs-deco)/1 "Roboto Condensed", "Arial Narrow", sans-serif; letter-spacing: 0.16em; }
.feature-copy { max-width: 515px; }
.endoscopy-section .feature-copy h2 span { display: inline-block; font-size: 0.9em; white-space: nowrap; }
.endoscopy-section .text-link { font-size: 16px; }
.feature-copy > p:not(.section-kicker):not(.section-lead) { color: rgba(22, 55, 45, 0.72); font-size: 16px; line-height: 2.15; }
.endoscopy-section .feature-copy > p:not(.section-kicker):not(.section-lead) { color: var(--ink); font-size: 17px; font-weight: 400; line-height: 2; }
.feature-copy .section-lead { margin: 26px 0 14px; }
.check-list { display: grid; gap: 0; margin: 29px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 13px 0 13px 25px; border-top: 1px solid rgba(22, 55, 45, 0.16); color: rgba(22, 55, 45, 0.76); font-size: 16px; }
.check-list li:last-child { border-bottom: 1px solid rgba(22, 55, 45, 0.16); }
.check-list li::before { position: absolute; top: 19px; left: 3px; width: 9px; height: 5px; border-bottom: 1px solid var(--green); border-left: 1px solid var(--green); content: ""; transform: rotate(-45deg); }
.endoscopy-links { display: grid; gap: 0; margin-top: 25px; }
.endoscopy-links a { display: grid; grid-template-columns: 1fr auto 20px; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(22, 55, 45, 0.16); color: var(--green-deep); transition: color 0.3s ease, padding 0.3s var(--ease-smooth); }
.endoscopy-links a:last-child { border-bottom: 1px solid rgba(22, 55, 45, 0.16); }
.endoscopy-links a:hover { padding-right: 6px; color: var(--green); }
.endoscopy-links span { color: var(--green); font: var(--fs-deco)/1 "Roboto Condensed", "Arial Narrow", sans-serif; letter-spacing: 0.17em; }
.endoscopy-links strong { font-size: 16px; letter-spacing: 0.07em; }
.endoscopy-links .endoscopy-arrow { justify-self: end; color: var(--green); font-family: Arial, sans-serif; font-size: 22px; font-weight: 500; line-height: 1; transition: transform 0.3s var(--ease-smooth); }
.endoscopy-links a:hover .endoscopy-arrow { transform: translateX(5px); }

.doctor-section { position: relative; overflow: visible; isolation: isolate; padding: clamp(92px, 11vw, 150px) 0 clamp(124px, 14vw, 190px); background: var(--paper); }
.doctor-section .section-shell { position: relative; z-index: 1; }
.doctor-panel { position: relative; overflow: hidden; padding: clamp(70px, 8vw, 116px) clamp(28px, 8vw, 124px) clamp(92px, 10vw, 142px); border-radius: 28px; background: #eaf2ed; }
.doctor-watermark { position: absolute; z-index: 0; right: -0.08em; bottom: -0.25em; margin: 0; color: rgba(255, 255, 255, 0.48); font: 700 clamp(110px, 17vw, 260px)/0.8 "Roboto Condensed", "Arial Narrow", sans-serif; letter-spacing: -0.08em; white-space: nowrap; pointer-events: none; }
.doctor-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.04fr); align-items: center; gap: clamp(38px, 7vw, 110px); }
.doctor-heading { margin: 0 0 clamp(32px, 4vw, 50px); text-align: left; }
.doctor-section .section-kicker { color: var(--green); }
.doctor-section .section-heading h2 { color: var(--green); font-size: clamp(28px, 3.4vw, 46px); }
.doctor-section .section-heading h2::after { background: var(--green); }
.doctor-copy { max-width: 520px; margin: 0; color: rgba(22, 55, 45, 0.72); font-size: 16px; line-height: 2.1; text-align: left; }
.doctor-description { margin: 0 0 22px; color: var(--ink); font-size: 17px; font-weight: 400; line-height: 2; }
.doctor-media { position: relative; z-index: 2; min-width: 0; transform: translateY(38px); }
.doctor-media-photo { position: relative; aspect-ratio: 1.08; overflow: hidden; border-radius: 28px 28px 28px 0; background: var(--sage); }
.doctor-media-photo::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 54%, rgba(11, 40, 30, 0.22)); content: ""; }
.doctor-media-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.7s var(--ease-smooth); }
.doctor-media:hover img { transform: scale(1.025); }
.doctor-signature { display: flex; align-items: baseline; gap: 17px; margin-top: 35px; padding-top: 18px; border-top: 1px solid rgba(22, 55, 45, 0.18); }
.doctor-signature strong { color: var(--green-deep); font-size: 16px; letter-spacing: 0.08em; }
.doctor-signature span { color: var(--green); font-size: 16px; }
.doctor-detail-button { margin-left: 0; }

.news-section { padding: clamp(100px, 12vw, 165px) 0 clamp(105px, 12vw, 175px); }
.news-section .section-shell { width: min(1200px, calc(100% - 8vw)); }
.news-layout { display: grid; grid-template-columns: minmax(220px, 0.36fr) minmax(0, 1.34fr); gap: clamp(58px, 8vw, 132px); align-items: start; }
.news-heading { padding-top: 2px; }
.news-heading h2 { position: relative; margin: 0; color: var(--green); font-size: clamp(30px, 4vw, 54px); font-weight: 700; line-height: 1.35; letter-spacing: 0.07em; }
.news-heading h2::after { display: block; width: 64px; height: 2px; margin-top: 18px; background: var(--green); content: ""; transform: scaleX(0); transform-origin: left; transition: transform 0.85s var(--ease-smooth) 0.16s; }
.reveal-ready .news-heading.is-visible h2::after { transform: scaleX(1); }
.news-list-link { display: inline-flex; align-items: center; gap: 29px; margin-top: 64px; padding-bottom: 4px; border-bottom: 1px solid currentColor; color: var(--ink); font-size: 16px; font-weight: 700; line-height: 1.4; }
.news-list-link .button-arrow { color: var(--green); font-family: Arial, sans-serif; font-size: 22px; font-weight: 500; line-height: 1; transition: transform 0.3s var(--ease-smooth); }
.news-list-link .news-list-arrow { color: var(--green); font: 400 22px/1 Arial, sans-serif; transition: transform 0.3s var(--ease-smooth); }
.news-list-link:hover .button-arrow,
.news-list-link:hover .news-list-arrow { transform: translateX(5px); }
.news-list { border-top: 1px solid rgba(22, 55, 45, 0.2); }
.news-item { display: grid; grid-template-columns: 105px 105px 1fr 24px; align-items: center; column-gap: 28px; padding: 20px 0; border-bottom: 1px solid rgba(22, 55, 45, 0.16); color: var(--green-deep); transition: color 0.3s ease, padding 0.3s var(--ease-smooth); }
.news-item:hover { padding-right: 7px; color: var(--green); }
.news-item time { color: rgba(22, 55, 45, 0.58); font: var(--fs-deco-lg)/1 "Roboto Condensed", "Arial Narrow", sans-serif; letter-spacing: 0.08em; }
.news-category { justify-self: start; padding: 3px 8px; border: 1px solid var(--green); border-radius: 3px; background: var(--paper-strong); color: var(--green); font-size: 16px; font-weight: 700; line-height: 1.2; }
.news-item h3 { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: 0.06em; }
.news-item svg { width: 17px; height: 17px; color: var(--green); }
.column-section > .section-shell > .text-link { margin-top: 28px; }

.column-section { padding: clamp(100px, 12vw, 165px) 0 clamp(105px, 12vw, 175px); }
.column-section .section-heading-row { margin-bottom: clamp(40px, 5vw, 68px); }
.column-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 30px); }
.column-card { position: relative; display: flex; flex-direction: column; min-height: 345px; overflow: hidden; padding: 31px clamp(23px, 2.6vw, 38px) 27px; border-radius: 34px 34px 0 34px; background: #dcebe2; color: var(--ink); isolation: isolate; transition: transform 0.4s var(--ease-smooth); }
.column-card:nth-child(2) { background: #edf0cf; border-radius: 34px 0 34px 34px; }
.column-card:nth-child(3) { background: #f0e4dc; border-radius: 0 34px 34px 34px; }
.column-card::before { position: absolute; z-index: -1; right: -0.08em; bottom: -0.28em; color: rgba(255, 255, 255, 0.52); font: 158px/1 "Roboto Condensed", "Arial Narrow", sans-serif; letter-spacing: -0.08em; content: counter(column); counter-increment: column; }
.column-grid { counter-reset: column; }
.column-card:hover { transform: translateY(-8px) rotate(-0.4deg); }
.column-card:nth-child(2):hover { transform: translateY(-8px) rotate(0.4deg); }
.column-card-category { display: inline-flex; align-self: flex-start; padding-bottom: 9px; border-bottom: 1px solid currentColor; color: var(--green-deep); font: var(--fs-deco)/1 "Roboto Condensed", "Arial Narrow", sans-serif; letter-spacing: 0.15em; }
.column-card-image { position: relative; z-index: 1; height: clamp(118px, 10vw, 154px); margin-top: 28px; overflow: hidden; border-radius: 17px 17px 17px 0; background: var(--sage); }
.column-card:nth-child(2) .column-card-image { border-radius: 17px 0 17px 17px; }
.column-card:nth-child(3) .column-card-image { border-radius: 0 17px 17px 17px; }
.column-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-smooth); }
.column-card:nth-child(1) .column-card-image img { object-position: center 48%; }
.column-card:nth-child(2) .column-card-image img { object-position: center 55%; }
.column-card:nth-child(3) .column-card-image img { object-position: center 45%; }
.column-card:hover .column-card-image img { transform: scale(1.045); }
.column-card h3 { max-width: 13em; margin: 26px 0 15px; color: var(--green-deep); font-size: 22px; line-height: 1.55; letter-spacing: 0.07em; }
.column-card p { max-width: 16em; margin: 0; color: rgba(22, 55, 45, 0.72); font-size: 16px; line-height: 1.9; }
.column-card .card-arrow { width: 38px; height: 38px; margin-left: 0; }
.column-card .card-arrow svg { display: none; }
.column-card .card-arrow::before { content: "→"; font-family: Arial, sans-serif; font-size: 20px; font-weight: 500; line-height: 1; }
.column-card:hover .card-arrow { background: var(--green-deep); color: var(--paper-strong); transform: translateX(5px); }

.photo-flow { position: relative; overflow: hidden; padding: 0 0 clamp(70px, 9vw, 125px); background: #eaf2ed; }
.word-flow { width: 100%; margin: 0 0 clamp(18px, 2.4vw, 34px); overflow: hidden; border-top: 1px solid rgba(79, 148, 123, 0.28); border-bottom: 1px solid rgba(79, 148, 123, 0.28); color: var(--green); white-space: nowrap; }
.word-flow-track { display: flex; width: max-content; animation: word-flow-left 31s linear infinite; will-change: transform; }
.word-flow-track span { display: block; padding: 14px 0 12px; font: clamp(24px, 3.1vw, 52px)/1 "Roboto Condensed", "Arial Narrow", sans-serif; letter-spacing: 0.105em; }
.word-flow-track span + span { padding-left: 0.105em; }
@keyframes word-flow-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.photo-flow-viewport { overflow: hidden; }
.photo-flow-track { display: flex; width: max-content; animation: photo-flow-left 60s linear infinite; will-change: transform; }
.photo-flow-set { display: flex; flex: none; gap: clamp(24px, 3.2vw, 52px); padding-right: clamp(24px, 3.2vw, 52px); }
.photo-flow-card { position: relative; flex: none; width: clamp(280px, 25vw, 450px); height: clamp(180px, 17vw, 275px); margin: 0; overflow: hidden; border-radius: 22px 22px 22px 0; background: var(--sage); }
.photo-flow-card.is-tall { width: clamp(190px, 17vw, 300px); border-radius: 22px 0 22px 22px; }
.photo-flow-card::after { position: absolute; inset: 0; border: 1px solid rgba(245, 245, 238, 0.42); border-radius: inherit; content: ""; pointer-events: none; }
.photo-flow-card img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-smooth); }
.photo-flow-card.is-tall img { object-position: 54% center; }
.photo-flow:hover .photo-flow-card img { transform: scale(1.045); }
@keyframes photo-flow-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.careers-section { padding: clamp(76px, 9vw, 120px) 0; background: var(--green-deep); color: var(--paper); }
.careers-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 60px; }
.careers-section .section-kicker { color: var(--lime); }
.careers-section h2 { margin: 0; color: var(--paper); font-size: clamp(28px, 3.7vw, 48px); line-height: 1.35; letter-spacing: 0.07em; }
.careers-section p:not(.section-kicker) { max-width: 570px; margin: 18px 0 0; color: rgba(245, 245, 238, 0.72); font-size: 16px; line-height: 2; }
.careers-link { position: relative; display: grid; grid-template-columns: minmax(24px, 1fr) auto minmax(24px, 1fr); align-items: center; width: fit-content; min-width: 0; justify-self: end; overflow: hidden; padding: 18px 22px; border: 1px solid rgba(224, 235, 147, 0.65); border-radius: 8px; color: var(--lime); font-size: 16px; font-weight: 700; transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s var(--ease-smooth); }
.careers-link::before { position: absolute; inset: 0; background: var(--lime); content: ""; transform: translateX(-101%); transition: transform 0.4s var(--ease-smooth); }
.careers-link:hover { background: var(--lime); color: var(--green-deep); transform: translateY(-3px); }
.careers-link:hover::before { transform: translateX(0); }
.careers-link > span { position: relative; z-index: 1; grid-column: 2; justify-self: center; white-space: nowrap; }
.careers-link svg { position: relative; z-index: 1; grid-column: 3; justify-self: end; width: 18px; height: 18px; }
.careers-link { isolation: isolate; }

.access-section { padding: clamp(105px, 13vw, 180px) 0; }
.access-section .section-heading-row { margin-bottom: 58px; }
.access-grid { display: grid; grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr); gap: clamp(42px, 8vw, 120px); align-items: stretch; }
.access-info { display: grid; align-content: center; gap: 42px; }
.access-info-block { padding-top: 19px; border-top: 1px solid rgba(22, 55, 45, 0.22); }
.info-label { display: block; margin-bottom: 14px; color: var(--green); font: 600 var(--fs-deco)/1 "Roboto Condensed", "Arial Narrow", sans-serif; letter-spacing: 0.2em; }
.access-info-block p { margin: 0 0 13px; color: var(--green-deep); font-size: 16px; font-weight: 400; line-height: 1.9; letter-spacing: 0.06em; }
.access-info-block small { color: rgba(22, 55, 45, 0.6); font-size: 16px; }
.access-phone { display: inline-block; margin-bottom: 12px; color: var(--green-deep); font: 25px/1 "Roboto Condensed", "Arial Narrow", sans-serif; letter-spacing: 0.06em; }
.access-map { position: relative; min-height: 370px; overflow: hidden; border-radius: 28px 28px 28px 0; background: #e2eee8; isolation: isolate; }
.access-map::before { position: absolute; inset: 14px; border: 1px solid rgba(22, 55, 45, 0.12); border-radius: 19px 19px 19px 0; content: ""; }
.map-road { position: absolute; z-index: -1; background: rgba(253, 253, 252, 0.66); }
.map-road-a { top: 46%; left: -10%; width: 120%; height: 20px; transform: rotate(-14deg); }
.map-road-b { top: -15%; left: 46%; width: 23px; height: 130%; transform: rotate(21deg); }
.map-road-c { top: 18%; left: -10%; width: 120%; height: 12px; transform: rotate(27deg); opacity: 0.8; }
.map-block { position: absolute; z-index: -1; border: 1px solid rgba(79, 148, 123, 0.14); background: rgba(79, 148, 123, 0.06); }
.map-block-a { top: 16%; left: 11%; width: 105px; height: 78px; transform: rotate(-13deg); }
.map-block-b { right: 10%; bottom: 15%; width: 135px; height: 92px; transform: rotate(15deg); }
.map-block-c { right: 28%; top: 11%; width: 70px; height: 100px; transform: rotate(8deg); }
.map-station { position: absolute; top: 22%; left: 11%; display: flex; align-items: center; gap: 8px; color: var(--green-deep); font-size: 16px; font-weight: 700; }
.map-station span { display: block; width: 11px; height: 11px; border: 3px solid var(--green); border-radius: 50%; background: var(--paper-strong); }
.map-pin { position: absolute; top: 45%; left: 55%; display: grid; justify-items: center; gap: 4px; color: var(--green-deep); text-align: center; }
.reveal-ready .access-map .map-pin { opacity: 0; }
.reveal-ready .access-map.is-visible .map-pin { animation: map-pin-in 0.9s var(--ease-smooth) 0.18s both; }
.map-pin svg { width: 48px; height: 48px; color: var(--clay); stroke-width: 1.9; }
.map-pin span { padding: 6px 9px; background: rgba(253, 253, 252, 0.84); font-size: 16px; font-weight: 700; line-height: 1.35; }
@keyframes map-pin-in { 0% { opacity: 0; transform: translateY(12px) scale(0.82); } 65% { opacity: 1; transform: translateY(-3px) scale(1.04); } 100% { opacity: 1; transform: translateY(0) scale(1); } }
.map-note { position: absolute; right: 22px; bottom: 20px; margin: 0; color: rgba(22, 55, 45, 0.58); font: var(--fs-deco)/1 "Roboto Condensed", "Arial Narrow", sans-serif; letter-spacing: 0.16em; }
.hours-large { margin-top: 70px; }
.hours-large-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--ink); }
.hours-large-heading > span { color: var(--green-deep); font-size: 19px; font-weight: 500; letter-spacing: 0.08em; }
.hours-large-heading small { color: rgba(22, 55, 45, 0.6); font-size: 16px; }
.hours-table-wrap { overflow-x: auto; }
.hours-large table { width: 100%; border-collapse: collapse; color: rgba(22, 55, 45, 0.75); font-size: 16px; }
.hours-large th, .hours-large td { padding: 16px 10px; border-bottom: 1px solid rgba(22, 55, 45, 0.16); text-align: center; vertical-align: middle; }
.hours-large thead th { color: var(--green-deep); font-weight: 500; }
.hours-large thead th:first-child, .hours-large tbody th { width: 230px; text-align: left; }
.hours-large tbody th { font-weight: 500; }
.hours-large td { color: var(--green); font-family: Arial, sans-serif; font-size: 16px; line-height: 1; }

.reservation-section { position: relative; overflow: hidden; padding: clamp(105px, 12vw, 170px) 0; background: var(--green-deep); color: var(--paper); }
.reservation-orbit { position: absolute; top: 50%; right: -5%; width: min(43vw, 580px); aspect-ratio: 1; border: 1px solid rgba(224, 235, 147, 0.3); border-radius: 50%; pointer-events: none; transform: translateY(-50%); animation: reservation-orbit-spin 42s linear infinite; transform-origin: center; }
.reservation-orbit::before, .reservation-orbit::after { position: absolute; inset: 13%; border: 1px solid rgba(224, 235, 147, 0.16); border-radius: 50%; content: ""; }
.reservation-orbit::after { inset: 27%; }
@keyframes reservation-orbit-spin { from { transform: translateY(-50%) rotate(0deg); } to { transform: translateY(-50%) rotate(360deg); } }
@keyframes reservation-orbit-spin-mobile { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.reservation-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 60px; }
.reservation-section .section-kicker { color: var(--lime); }
.reservation-section h2 { color: var(--paper); font-size: clamp(29px, 4vw, 52px); }
.reservation-section h2 span { color: var(--lime); }
.reservation-section h2 .reservation-title-line { display: inline-block; color: var(--paper); white-space: nowrap; }
.reservation-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: stretch; gap: 10px; min-width: 0; }
.reservation-actions a { width: fit-content; min-height: 62px; padding-inline: 24px; border-radius: 8px; }
.reservation-web { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; background: var(--lime); color: var(--green-deep); font-size: 16px; font-weight: 700; }
.reservation-web .button-label { grid-column: 2; justify-self: center; white-space: nowrap; }
.reservation-web .button-arrow { grid-column: 3; justify-self: end; }
.reservation-web svg { width: 19px; height: 19px; transition: transform 0.3s var(--ease-smooth); }
.reservation-web:hover svg { transform: translateX(5px); }
.reservation-phone { display: flex; align-items: center; justify-content: center; gap: 12px; background: var(--paper); color: var(--green-deep); }
.reservation-phone svg { width: 17px; height: 17px; }
.reservation-phone span { display: grid; gap: 4px; font: 17px/1 "Roboto Condensed", "Arial Narrow", sans-serif; letter-spacing: 0.05em; white-space: nowrap; }
.reservation-phone small { font: 16px/1 sans-serif; letter-spacing: 0.07em; }
.reservation-actions p { flex-basis: 100%; margin: 10px 0 0; color: rgba(245, 245, 238, 0.62); font-size: 16px; line-height: 1.8; text-align: right; }

.site-footer { padding: 72px 0 0; background: #102f25; color: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 1.05fr 1.55fr 0.75fr; gap: 48px; padding-bottom: 68px; }
.footer-lockup { display: inline-flex; align-items: center; gap: 12px; }
.footer-lockup .brand-mark { color: var(--paper); }
.footer-lockup .brand-mark img { filter: none; }
.footer-lockup .brand-copy b { color: var(--paper); }
.footer-lockup .brand-copy small { color: var(--lime); }
.footer-brand > p { margin: 31px 0 0; color: rgba(245, 245, 238, 0.72); font-size: 16px; line-height: 1.9; letter-spacing: 0.08em; }
.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: start; gap: 28px; padding-top: 4px; }
.footer-nav-group { display: grid; align-content: start; gap: 12px; }
.footer-nav-group > span { color: var(--lime); font-size: 14px; font-weight: 500; letter-spacing: 0.12em; }
.footer-nav a { color: rgba(245, 245, 238, 0.75); font-size: 16px; transition: color 0.3s ease, transform 0.3s var(--ease-smooth); }
.footer-nav a:hover { color: var(--lime); transform: translateX(5px); }
.footer-contact { padding-top: 4px; }
.footer-contact .info-label { color: var(--lime); }
.footer-contact > a { display: inline-block; margin-bottom: 15px; color: var(--paper); font: 23px/1 "Roboto Condensed", "Arial Narrow", sans-serif; letter-spacing: 0.04em; }
.footer-contact p { margin: 0; color: rgba(245, 245, 238, 0.58); font-size: 16px; line-height: 1.9; }
.footer-bottom { display: flex; justify-content: space-between; padding: 20px clamp(20px, 4vw, 78px); border-top: 1px solid rgba(245, 245, 238, 0.15); color: rgba(245, 245, 238, 0.45); font: var(--fs-deco-sm)/1 "Roboto Condensed", "Arial Narrow", sans-serif; letter-spacing: 0.14em; }
.footer-fiction-note { max-width: 70em; line-height: 1.6; text-align: center; }

@media (max-width: 1360px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header { padding-right: 28px; }
  .brand-lockup { min-width: 0; }
  .hero-shell { grid-template-columns: minmax(270px, 0.42fr) minmax(0, 0.9fr); gap: 28px; }
  .hero-copy { width: 92%; }
  .header-actions { margin-left: auto; margin-right: 22px; }
}

@media (max-width: 980px) {
  .about-grid,
  .doctor-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .medical-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-shell, .split-shell-reverse { gap: 58px; }
  .access-grid { grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1.22fr); gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 44px; }
  .footer-contact { grid-column: 2; grid-row: 1; }
  .footer-nav { grid-column: 1 / -1; grid-row: 2; gap: 22px; }
}

@media (max-width: 760px) {
  :root { --header-height: 72px; --hero-top-gap: 26px; }
  body { font-size: 16px; }
  .site-header { height: var(--header-height); padding: 0 20px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-copy b { max-width: 190px; font-size: 16px; }
  .brand-copy small { font-size: 16px; }
  .header-actions { display: none; }
  .menu-toggle { gap: 8px; }
  .drawer-inner { width: calc(100% - 40px); padding-top: 108px; }
  .drawer-actions { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: calc(var(--header-height) + 17px) 0 30px 20px; }
  .hero-shell { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-main { order: 1; display: flex; flex-direction: column; height: auto; }
  .hero-side { order: 2; display: flex; flex-direction: column; justify-content: flex-start; padding: 38px 20px 0 0; }
  .quick-grid { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .quick-grid a { min-height: 78px; padding: 7px 3px; font-size: 16px; text-align: center; }
  .quick-grid svg { width: 25px; height: 25px; margin-bottom: 6px; }
  .hours-mini { font-size: 16px; }
  .hours-mini > div { padding: 5px 0; gap: 8px; }
  .hours-mini p { font-size: 16px; }
  .hero-side-brand { margin-bottom: 20px; }
  .hero-side-brand img { width: 78px; height: 78px; margin-bottom: 12px; }
  .hero-side-brand p { font-size: 23px; }
  .hero-copy h1 { font-size: clamp(27px, 8.2vw, 38px); }
  .hero-lead { margin-top: 18px; font-size: 16px; }
  .hero-en { font-size: 16px; }
  .hero-slides { border-radius: inherit; }
  .hero-media-note { max-width: 90%; padding: 12px 15px; font-size: 16px; }
  .hero-dots { bottom: 15px; gap: 8px; }
  .hero-dot { width: 9px; height: 9px; }
  .opening-lockup img { width: 58px; height: 58px; }
  .opening-lockup span { font-size: 16px; }

  .section-shell { width: calc(100% - 40px); }
  .news-section .section-shell { width: calc(100% - 40px); }
  .section-kicker { margin-bottom: 14px; font-size: 16px; }
  .section-heading h2, .feature-copy h2, .reservation-section h2 { font-size: clamp(29px, 9vw, 42px); }
  .section-lead { font-size: 16px; line-height: 1.9; }
  .section-heading-row { display: grid; gap: 20px; }
  .section-intro { max-width: 100%; margin: 0; font-size: 16px; }
  .text-link { margin-top: 20px; font-size: 16px; }

  .about-section, .first-visit-section, .medical-section, .endoscopy-section, .doctor-section, .news-section, .column-section, .access-section { padding: 86px 0 96px; }
  .about-section { padding: 72px 0 108px; }
  .about-panel { padding: 52px 24px 70px; border-radius: 20px; }
  .about-grid { display: grid; grid-template-columns: 1fr; gap: 36px; }
  .about-heading { margin-bottom: 30px; }
  .about-copy { padding-top: 0; font-size: 16px; line-height: 2; }
  .about-copy .section-lead { margin-bottom: 20px; font-size: 16px; line-height: 1.95; }
  .about-media { transform: translateY(24px); }
  .about-media img, .about-media::after { border-radius: 20px 20px 20px 0; }
  .about-detail-button { width: 100%; }

  .doctor-section { padding: 72px 0 108px; }
  .doctor-panel { padding: 52px 24px 70px; border-radius: 20px; }
  .doctor-watermark { right: -0.28em; bottom: -0.12em; font-size: clamp(76px, 24vw, 126px); }
  .doctor-grid { grid-template-columns: 1fr; gap: 36px; }
  .doctor-heading { margin-bottom: 30px; }
  .doctor-copy { font-size: 16px; line-height: 2; }
  .doctor-description { margin-bottom: 20px; font-size: 16px; line-height: 1.95; }
  .doctor-media { transform: translateY(24px); }
  .doctor-media-photo { border-radius: 20px 20px 20px 0; }
  .doctor-detail-button { width: 100%; }

  .first-visit-section .section-heading-row { margin-bottom: 38px; }
  .first-visit-grid, .column-grid { grid-template-columns: 1fr; gap: 9px; }
  .first-visit-card, .column-card { min-height: 0; padding: 25px 24px 22px; }
  .first-visit-image { height: 190px; margin-bottom: 18px; }
  .first-visit-card h3 { margin-bottom: 8px; font-size: 18px; }
  .first-visit-card p, .column-card p { font-size: 16px; }
  .first-visit-section > .section-shell > .text-link { margin-top: 20px; }

  .medical-section .section-heading-row { margin-bottom: 38px; }
  .medical-grid { grid-template-columns: 1fr; gap: 9px; }
  .medical-card { min-height: 0; padding: 25px 24px 22px; }
  .medical-card > svg { width: 52px; height: 52px; margin: 20px 0 17px; stroke-width: 2.5; }
  .medical-card h3 { margin-bottom: 8px; font-size: 18px; }
  .medical-card p { max-width: 85%; font-size: 16px; }

  .split-shell, .split-shell-reverse { grid-template-columns: 1fr; gap: 46px; }
  .feature-media-frame { aspect-ratio: 1.08; border-radius: 21px 21px 21px 0; padding: 10px 10px 10px 0; }
  .feature-media-frame img { border-radius: 0 13px 13px 0; }
  .feature-media-index { right: 0; bottom: 14px; padding: 9px 12px; font-size: 16px; }
  .feature-copy > p:not(.section-kicker):not(.section-lead) { font-size: 16px; line-height: 2; }
  .endoscopy-section .text-link { font-size: 16px; }
  .check-list { margin-top: 24px; }
  .check-list li { padding: 11px 0 11px 22px; font-size: 16px; }
  .check-list li::before { top: 17px; }
  .endoscopy-links { margin-top: 21px; }
  .endoscopy-links a { grid-template-columns: 1fr auto 18px; gap: 10px; padding: 12px 0; }
  .endoscopy-links strong { font-size: 16px; }

  .doctor-media { order: 2; }
  .doctor-signature { display: grid; gap: 6px; margin-top: 28px; }

  .news-layout { grid-template-columns: 1fr; gap: 34px; }
  .news-heading { padding-top: 0; }
  .news-heading h2 { font-size: clamp(29px, 9vw, 42px); }
  .news-list-link { margin-top: 24px; font-size: 16px; }
  .news-item { grid-template-columns: 88px 1fr 18px; align-items: start; gap: 5px 16px; padding: 16px 0; }
  .news-item time { grid-column: 1; grid-row: 1 / 3; padding-top: 3px; font-size: 16px; }
  .news-category { grid-column: 2; grid-row: 1; justify-self: start; font-size: 16px; }
  .news-item h3 { grid-column: 2; grid-row: 2; font-size: 16px; line-height: 1.7; }
  .news-item svg { grid-column: 3; grid-row: 1 / 3; margin-top: 4px; }
  .column-section > .section-shell > .text-link { margin-top: 20px; }
  .column-card-category { font-size: 16px; }
  .column-card h3 { margin: 20px 0 9px; font-size: 17px; }

  .photo-flow { padding-bottom: 72px; }
  .word-flow { margin-bottom: 16px; }
  .word-flow-track span { padding: 11px 0 9px; font-size: 24px; }
  .photo-flow-card { width: 218px; height: 142px; border-radius: 16px 16px 16px 0; }
  .photo-flow-card.is-tall { width: 155px; border-radius: 16px 0 16px 16px; }
  .photo-flow-set { gap: 22px; padding-right: 22px; }
  .photo-flow-track { animation-duration: 46s; }

  .careers-section { padding: 72px 0 78px; }
  .careers-inner { grid-template-columns: 1fr; gap: 28px; }
  .careers-section p:not(.section-kicker) { margin-top: 14px; font-size: 16px; }
  .careers-link { width: 100%; min-width: 0; }

  .access-section .section-heading-row { margin-bottom: 38px; }
  .access-grid { grid-template-columns: 1fr; gap: 40px; }
  .access-info { gap: 30px; }
  .access-info-block p { font-size: 16px; }
  .access-phone { font-size: 22px; }
  .access-map { min-height: 290px; border-radius: 21px 21px 21px 0; }
  .hours-large { margin-top: 50px; }
  .hours-large-heading { display: grid; gap: 9px; }
  .hours-large-heading > span { font-size: 17px; }
  .hours-large-heading small { font-size: 16px; }
  .hours-large table { min-width: 620px; font-size: 16px; }
  .hours-large th, .hours-large td { padding: 13px 8px; }
  .hours-large thead th:first-child, .hours-large tbody th { width: 170px; }

  .reservation-section { padding: 86px 0 92px; }
  .reservation-orbit { top: 26%; right: -36%; width: 110vw; transform: none; animation-name: reservation-orbit-spin-mobile; }
  .about-orbit { top: auto; right: -58%; bottom: -18%; width: 125vw; }
  .reservation-inner { grid-template-columns: 1fr; gap: 42px; }
  .reservation-actions { display: grid; grid-template-columns: 1fr; min-width: 0; }
  .reservation-actions a { width: 100%; }
  .reservation-actions p { margin-top: 3px; text-align: left; }
  .reservation-phone span { font-size: 17px; }

  .site-footer { padding-top: 55px; }
  .footer-grid { grid-template-columns: 1fr; gap: 38px; padding-bottom: 48px; }
  .footer-contact, .footer-nav { grid-column: auto; grid-row: auto; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .footer-brand > p { margin-top: 24px; font-size: 16px; }
  .footer-contact > a { font-size: 21px; }
  .footer-bottom { padding: 17px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .photo-flow-track, .word-flow-track { animation: none; }
  .photo-flow-card img, .first-visit-button::before, .careers-link::before { transition: none; }
}

/* Keep informational copy comfortably readable at every breakpoint. */
.opening-lockup span,
.brand-copy b,
.brand-copy small,
.desktop-nav a,
.header-actions a,
.menu-toggle span,
.drawer-kicker,
.mobile-drawer nav a em,
.drawer-actions a,
.hero-side-brand small,
.side-booking a,
.hero-lead,
.hero-media-note,
.section-kicker,
.section-intro,
.text-link,
.about-copy,
.medical-card-no,
.medical-card p,
.feature-media-index,
.feature-copy > p:not(.section-kicker):not(.section-lead),
.check-list li,
.endoscopy-links span,
.endoscopy-links strong,
.doctor-signature span,
.news-item time,
.news-category,
.news-item h3,
.careers-section p:not(.section-kicker),
.careers-link,
.info-label,
.access-info-block small,
.map-station,
.map-pin span,
.map-note,
.hours-large-heading small,
.hours-large table,
.reservation-web,
.reservation-phone small,
.reservation-actions p,
.footer-brand > p,
.footer-nav a,
.footer-contact p,
.footer-bottom {
  font-size: 16px;
}

.hero-side-brand small { font-size: 16px; }

@media (max-width: 760px) {
  :root { --header-height: 86px; }
  body { font-size: 16px; }
  .brand-copy b { max-width: 218px; }
  .brand-copy small { line-height: 1.15; }
  .side-booking a { min-height: 52px; }
  .hero-media-note { max-width: 88%; padding: 12px 15px; }
  .section-kicker { line-height: 1.3; }
  .section-intro, .about-copy { line-height: 1.95; }
  .text-link { line-height: 1.5; }

  .first-visit-grid { grid-template-columns: 1fr; border-bottom: 0; }
  .first-visit-card { min-height: 0; padding: 24px 0 25px; border-bottom: 1px solid rgba(22, 55, 45, 0.2); }
  .first-visit-card + .first-visit-card { border-left: 0; }
  .first-visit-card h3 { font-size: 20px; }
  .first-visit-button { width: 100%; min-width: 0; justify-content: space-between; margin-top: 26px; }
  .first-visit-section > .section-shell > .first-visit-button { width: min(100%, 340px); margin-right: auto; margin-left: auto; }

  .column-grid { grid-template-columns: 1fr; gap: 16px; }
  .column-section .section-heading-row { margin-bottom: 38px; }
  .column-card, .column-card:nth-child(2), .column-card:nth-child(3) { min-height: 285px; padding: 28px 26px 26px; border-radius: 28px 28px 0 28px; }
  .column-card:nth-child(2) { border-radius: 28px 0 28px 28px; }
  .column-card::before { font-size: 132px; }
  .column-card-image { height: 150px; margin-top: 24px; }
  .column-card h3 { max-width: 14em; margin-top: 22px; font-size: 21px; }
  .column-card p { max-width: 18em; }

  .news-item { grid-template-columns: 96px 1fr 18px; }
  .footer-bottom { flex-wrap: wrap; gap: 10px; }
}

/* Layered planes: depth comes from overlapping surfaces, not drop shadows. */
.site-header,
.site-header.is-scrolled,
.hero-slides,
.hero-media-note,
.about-panel,
.about-media img,
.medical-card,
.medical-card:hover,
.feature-media-frame,
.doctor-panel,
.doctor-media-photo,
.news-list,
.column-card,
.column-card:hover,
.access-map,
.word-flow {
  box-shadow: none;
}

.feature-media-frame::before {
  box-shadow: none;
}

.first-visit-section,
.medical-section,
.endoscopy-section,
.news-section,
.column-section,
.access-section {
  position: relative;
  overflow: visible;
  isolation: isolate;
}

.first-visit-section::before,
.medical-section::before,
.endoscopy-section::before,
.news-section::before,
.column-section::before,
.access-section::before {
  content: none;
}

.first-visit-section > .section-shell,
.medical-section > .section-shell,
.endoscopy-section > .section-shell,
.news-section > .section-shell,
.column-section > .section-shell,
.access-section > .section-shell {
  position: relative;
  z-index: 1;
}

/* A quiet foreground panel rises into the section above it. */
.first-visit-section,
.medical-section,
.column-section {
  background: var(--sage);
}

.medical-section > .section-shell {
  padding: clamp(42px, 5vw, 76px) clamp(22px, 5vw, 72px);
  border: 1px solid rgba(79, 148, 123, 0.15);
  border-radius: 28px;
  background: var(--paper-strong);
  margin-top: clamp(-40px, -3vw, -18px);
}

.about-panel {
  margin-top: clamp(-40px, -3vw, -18px);
  border: 1px solid rgba(224, 235, 147, 0.12);
}

.doctor-panel {
  margin-top: clamp(-34px, -3vw, -16px);
  border: 1px solid rgba(79, 148, 123, 0.12);
}

/* The opening motif returns as a restrained animated line drawing. */
.about-panel::before,
.about-panel::after {
  position: absolute;
  z-index: 0;
  width: clamp(280px, 34vw, 540px);
  aspect-ratio: 1;
  right: -13%;
  bottom: -45%;
  border: 1px solid rgba(224, 235, 147, 0.28);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  animation: about-orbit-drift 24s linear infinite;
}

.about-panel::after {
  width: clamp(210px, 26vw, 410px);
  right: -1%;
  bottom: -30%;
  opacity: 0.72;
  animation-duration: 31s;
  animation-direction: reverse;
}

@keyframes about-orbit-drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-14px, -10px) rotate(8deg); }
}

.endoscopy-section::before {
  position: absolute;
  z-index: -1;
  inset: 8% 0;
  border-radius: 0;
  background: var(--sage);
  content: "";
}

.endoscopy-section > .section-shell {
  z-index: 1;
}

.news-item {
  min-height: 78px;
}

.news-item svg {
  transition: transform 0.3s var(--ease-smooth);
}

.news-item:hover svg {
  transform: translateX(5px);
}

@media (max-width: 760px) {
  .medical-section > .section-shell {
    margin-top: -20px;
    padding: 36px 20px 48px;
    border-radius: 20px;
  }

  .about-panel,
  .doctor-panel {
    margin-top: -20px;
  }

  .about-panel::before {
    right: -58%;
    bottom: -18%;
    width: 125vw;
  }

  .about-panel::after {
    right: -40%;
    bottom: -9%;
    width: 92vw;
  }

  .endoscopy-section::before {
    inset: 5% 0;
  }

  .news-item {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .opening { display: none; }
  body.is-opening { overflow: auto; }
}

/* clinic-fv-v2: layered art direction */
html,
body {
  overflow-x: clip;
}

body {
  min-width: 0;
  font-size: 16px;
  font-weight: 400;
}

.site-header,
.header-actions a,
.drawer-actions a,
.about-detail-button,
.first-visit-button,
.careers-link,
.reservation-actions a {
  border-radius: 8px;
}

/* Full-width field with a quieter floating plane inside it. */
.about-section {
  overflow: hidden;
  padding: clamp(82px, 9vw, 124px) 0 clamp(108px, 11vw, 154px);
  background: var(--green-deep);
}

.about-section::before {
  position: absolute;
  inset: 13% -8% 9%;
  border: 1px solid rgba(228, 240, 233, 0.16);
  border-radius: 0 96px 0 96px;
  content: "";
  pointer-events: none;
}

.about-panel {
  margin-top: 0;
  border: 1px solid rgba(224, 235, 147, 0.16);
  border-radius: 28px 28px 28px 0;
  background: #264a3c;
}

.about-panel::before,
.about-panel::after {
  border-color: rgba(224, 235, 147, 0.24);
}

.doctor-watermark {
  text-transform: uppercase;
}

.about-media {
  transform: translate(4%, 44px);
}

.about-media img,
.about-media::after {
  border-radius: 28px 28px 28px 0;
}

/* First visit is a clean sage field; the image grid carries the rhythm. */
.first-visit-section {
  padding-top: clamp(78px, 9vw, 124px);
  padding-bottom: clamp(72px, 8vw, 112px);
  background: var(--sage);
}

.first-visit-grid {
  gap: clamp(18px, 2.6vw, 38px);
  border: 0;
}

.first-visit-card,
.first-visit-card + .first-visit-card {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.first-visit-card:hover {
  background: transparent;
  transform: translateY(-5px);
}

.first-visit-image {
  height: clamp(190px, 16vw, 252px);
  margin-bottom: 25px;
  border-radius: 22px 22px 22px 0;
}

.first-visit-card h3 {
  margin-bottom: 10px;
}

/* Medical cards float as one white plane above the sage field. */
.medical-section {
  padding-top: clamp(82px, 9vw, 124px);
  padding-bottom: clamp(90px, 10vw, 136px);
  background: var(--sage);
}

.medical-section > .section-shell {
  position: relative;
  margin-top: clamp(-52px, -4vw, -24px);
  border-radius: 28px 28px 28px 0;
  background: var(--paper-strong);
}

.medical-section > .section-shell::before {
  position: absolute;
  inset: 15px -14px -14px 14px;
  z-index: -1;
  border: 1px solid rgba(79, 148, 123, 0.22);
  border-radius: 28px 28px 28px 0;
  background: rgba(253, 253, 252, 0.36);
  content: "";
}

.medical-card {
  min-height: 325px;
  border-color: rgba(79, 148, 123, 0.76);
  border-radius: 18px 18px 18px 0;
  background: rgba(253, 253, 252, 0.86);
}

.medical-card > svg {
  width: 72px;
  height: 72px;
  stroke-width: 2.8;
}

/* Endoscopy uses open rows; depth comes from the sage field behind the image. */
.endoscopy-section::before {
  top: 13%;
  right: 0;
  bottom: 13%;
  left: 0;
  border-radius: 0 96px 96px 0;
  background: var(--sage);
}

.endoscopy-links a,
.endoscopy-links a:last-child {
  border-top: 0;
  border-bottom: 0;
}

.endoscopy-links a,
.endoscopy-links a:last-child {
  padding: 16px 0;
}

/* Doctor keeps the About composition, shifting the panel to the current sage. */
.doctor-section {
  padding-top: clamp(82px, 9vw, 124px);
  padding-bottom: clamp(104px, 11vw, 150px);
  background: var(--paper);
}

.doctor-panel {
  margin-top: 0;
  border: 1px solid rgba(79, 148, 123, 0.14);
  border-radius: 28px 28px 28px 0;
  background: var(--sage);
}

.doctor-watermark {
  right: -0.14em;
  bottom: -0.22em;
  color: rgba(255, 255, 255, 0.42);
}

/* News remains open: only the category chips carry a white surface. */
.news-list {
  border-top: 0;
}

.news-section {
  padding-top: clamp(84px, 10vw, 136px);
  padding-bottom: clamp(90px, 10vw, 140px);
}

.column-section {
  padding-top: clamp(84px, 10vw, 136px);
  padding-bottom: clamp(90px, 10vw, 140px);
}

.news-item {
  min-height: 82px;
  border-bottom-color: rgba(22, 55, 45, 0.17);
}

.news-category {
  border-color: var(--green);
  border-radius: 4px;
  background: var(--paper-strong);
}

.column-section {
  background: var(--sage);
}

.column-card {
  border-radius: 30px 30px 0 30px;
}

.column-card:nth-child(2) {
  border-radius: 30px 0 30px 30px;
}

.column-card:nth-child(3) {
  border-radius: 0 30px 30px 30px;
}

.photo-flow {
  background: var(--paper);
}

/* Newsは一覧の下にも上と同じ呼吸をつくる。 */
.news-section {
  padding-top: var(--sp-120);
  padding-bottom: var(--sp-120);
}

@media (max-width: 760px) {
  .news-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

.word-flow {
  background: var(--sage);
}

.reservation-section {
  background: var(--green-deep);
}

@media (max-width: 980px) {
  .header-actions a {
    font-size: 16px;
  }

  .header-actions .header-reserve {
    min-width: 124px;
    padding-inline: 12px;
  }

  .header-phone {
    min-width: 136px;
    padding-inline: 12px;
  }

  .about-media {
    transform: translate(0, 28px);
  }

  .about-section::before {
    inset: 9% -18% 8%;
  }

  .first-visit-grid {
    gap: 20px;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .about-section {
    padding: 76px 0 112px;
  }

  .about-section::before {
    inset: 6% -48% 6%;
    border-radius: 0 68px 0 68px;
  }

  .about-panel,
  .doctor-panel {
    margin-top: 0;
    border-radius: 20px 20px 20px 0;
  }

  .about-media {
    transform: translateY(24px);
  }

  .doctor-watermark {
    right: -0.32em;
    bottom: -0.1em;
    font-size: clamp(68px, 23vw, 122px);
  }

  .first-visit-grid {
    gap: 24px;
  }

  .first-visit-section {
    padding-top: 76px;
    padding-bottom: 82px;
  }

  .medical-section {
    padding-top: 74px;
    padding-bottom: 88px;
  }

  .first-visit-card,
  .first-visit-card + .first-visit-card {
    padding: 0;
    border: 0;
  }

  .first-visit-image {
    height: 190px;
    border-radius: 18px 18px 18px 0;
  }

  .medical-section > .section-shell {
    margin-top: -24px;
    border-radius: 20px 20px 20px 0;
  }

  .medical-section > .section-shell::before {
    inset: 9px -8px -8px 8px;
    border-radius: 20px 20px 20px 0;
  }

  .medical-card {
    border-radius: 15px 15px 15px 0;
  }

  .medical-card > svg {
    width: 60px;
    height: 60px;
  }

  .endoscopy-section::before {
    top: 6%;
    bottom: 6%;
    border-radius: 0 52px 52px 0;
  }

  .endoscopy-links a,
  .endoscopy-links a:last-child {
    padding: 14px 0;
    border: 0;
  }

  .column-card,
  .column-card:nth-child(2),
  .column-card:nth-child(3) {
    border-radius: 22px 22px 0 22px;
  }

  .column-card:nth-child(2) {
    border-radius: 22px 0 22px 22px;
  }

  .column-card:nth-child(3) {
    border-radius: 0 22px 22px 22px;
  }
}


/* ==========================================================================
   reduced-motion フォールバック（FVは必ず表示される）
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .opening::before,
  .opening::after,
  .opening-lockup { animation: none !important; }
  .hero-copy h1 { clip-path: none !important; opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-lead, .hero-media { opacity: 1 !important; transform: none !important; transition: none !important; }
  .orbit-stat { opacity: 1 !important; transform: none !important; transition: none !important; }
  .orbit-ring circle { stroke-dashoffset: 0 !important; animation: none !important; }
  .hero-slide.is-active img { animation: none !important; }
  .quick-grid a, .quick-grid a:hover, .quick-grid svg, .hero-dot, .orbit-dots button { transition: none !important; transform: none !important; }
}

/* ==========================================================================
   clinic-fv-v3 lower direction
   現行の縁先仕様による下層の共通レイヤー
   ========================================================================== */
html,
body {
  overflow-x: clip;
}

body {
  min-width: 0;
  font-size: 16px;
  font-weight: 400;
}

.section-shell,
.news-section .section-shell {
  width: var(--content);
}

.section-heading h2,
.feature-copy h2,
.news-heading h2,
.reservation-section h2 {
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: var(--ls);
}

.section-heading h2::after,
.feature-copy h2::after,
.news-heading h2::after,
.reservation-section h2::after {
  width: 52px;
  height: 1px;
  margin-top: 14px;
}

.section-kicker {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
  font-size: var(--fs-deco);
  font-weight: 600;
  letter-spacing: var(--ls);
}

.section-kicker::before {
  width: 6px;
  height: 6px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
}

.section-lead,
.about-copy .section-lead,
.doctor-description,
.endoscopy-section .feature-copy > p:not(.section-kicker):not(.section-lead) {
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
  letter-spacing: var(--ls);
}

.about-detail-button,
.first-visit-button,
.careers-link,
.reservation-actions a {
  border-radius: var(--r-8);
  box-shadow: var(--shadow-step);
}

.about-detail-button .button-arrow,
.first-visit-button .button-arrow,
.careers-link .button-arrow,
.reservation-web .button-arrow,
.news-list-link .button-arrow {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 15px;
  line-height: 1;
}

/* About: full-width green field, with a slightly lighter floating plane. */
.about-section {
  padding: var(--sp-100) 0 0;
  background: var(--green-deep);
}

.about-section::before {
  inset: 12% -8% 0;
  border-color: rgba(224, 235, 147, 0.16);
  border-radius: 0 96px 0 96px;
}

.about-panel {
  margin-top: 0;
  padding: var(--sp-100) clamp(28px, 7vw, 112px) var(--sp-100);
  border: 0;
  border-radius: var(--r-30) var(--r-30) 0 var(--r-30);
  background: var(--green-field);
  box-shadow: var(--shadow-step);
}

.about-copy {
  max-width: 520px;
  color: var(--paper);
}

.about-copy .section-lead,
.about-copy p:not(.section-lead) {
  color: var(--paper);
}

.about-section .section-heading h2::after {
  display: none;
}

.about-media {
  transform: translate(4%, 44px);
}

.about-media img,
.about-media::after {
  border-radius: var(--r-10) var(--r-10) var(--r-10) 0;
}

/* First Visit: the section itself is the sage plane; cards stay open. */
.first-visit-section {
  padding: var(--sp-140) 0 var(--sp-150);
  background: var(--sage);
}

.first-visit-section .section-heading-row {
  margin-bottom: 56px;
}

.first-visit-grid {
  gap: clamp(18px, 2.5vw, 34px);
  border: 0;
}

.first-visit-card,
.first-visit-card + .first-visit-card {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.first-visit-card:hover {
  background: transparent;
}

.first-visit-image {
  height: clamp(190px, 16vw, 250px);
  margin-bottom: 22px;
  border-radius: var(--r-10) var(--r-10) var(--r-10) 0;
  box-shadow: var(--shadow-step);
}

.first-visit-card h3 {
  margin-bottom: 10px;
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: var(--ls);
}

.first-visit-card p {
  font-size: var(--fs-body);
  line-height: 1.6;
  letter-spacing: var(--ls);
}

/* Medical: one white panel floats over the sage field. */
.medical-section {
  padding: 0 0 var(--sp-140);
  background: var(--sage);
}

.medical-section > .section-shell {
  position: relative;
  margin-top: 0;
  padding: var(--sp-100) clamp(22px, 5vw, 72px) var(--sp-100);
  border: 0;
  border-radius: var(--r-30) var(--r-30) 0 var(--r-30);
  background: var(--paper-strong);
  box-shadow: var(--shadow-step);
}

.medical-section > .section-shell::before {
  inset: 12px -12px -12px 12px;
  border: 1px solid rgba(79, 148, 123, 0.2);
  border-radius: var(--r-30) var(--r-30) 0 var(--r-30);
  background: transparent;
}

.medical-section .section-heading-row {
  margin-bottom: 52px;
}

.medical-grid {
  gap: 16px;
}

.medical-card {
  min-height: 325px;
  padding: 28px 26px 24px;
  border: 1px solid rgba(79, 148, 123, 0.72);
  border-radius: var(--r-8) var(--r-8) 0 var(--r-8);
  background: var(--paper-strong);
  box-shadow: var(--shadow-step);
}

.medical-card > svg {
  width: 68px;
  height: 68px;
  margin: 22px auto 20px;
  stroke-width: 2.8;
}

.medical-card h3 {
  margin-bottom: 12px;
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: var(--ls);
}

.medical-card p {
  max-width: 19em;
  font-size: var(--fs-body);
  line-height: 1.6;
  letter-spacing: var(--ls);
}

.medical-card .card-arrow,
.column-card .card-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

/* Endoscopy: photo and green field overlap; link rows stay open. */
.endoscopy-section {
  position: relative;
  padding: var(--sp-140) 0;
  background: var(--paper);
}

.endoscopy-section::before {
  top: 13%;
  bottom: 13%;
  border-radius: 0 var(--r-30) var(--r-30) 0;
  background: var(--sage);
}

.feature-media-frame {
  border-radius: var(--r-10) var(--r-10) var(--r-10) 0;
  box-shadow: var(--shadow-step);
}

.endoscopy-links a,
.endoscopy-links a:last-child {
  padding: 16px 0;
  border: 0;
}

.endoscopy-links strong {
  font-size: var(--fs-body);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: var(--ls);
}

/* Doctor: same floating plane language as About, in the maintained sage. */
.doctor-section {
  padding: 0 0 var(--sp-150);
  background: var(--paper);
}

.doctor-panel {
  margin-top: 0;
  border: 0;
  border-radius: var(--r-30) var(--r-30) 0 var(--r-30);
  background: var(--sage);
  box-shadow: var(--shadow-step);
}

.doctor-watermark {
  right: -0.1em;
  bottom: -0.2em;
  color: rgba(255, 255, 255, 0.45);
  font-size: clamp(68px, 8.8vw, 168px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.doctor-media {
  transform: translate(4%, 44px);
}

.doctor-media-photo {
  border-radius: var(--r-10) var(--r-10) var(--r-10) 0;
  box-shadow: var(--shadow-step);
}

.doctor-copy,
.doctor-description {
  color: var(--ink);
}

.doctor-signature {
  border-top-color: rgba(22, 55, 45, 0.22);
}

/* News: open list, no outer frame. */
.news-section {
  padding: var(--sp-120) 0 0;
  background: var(--paper);
}

.news-layout {
  grid-template-columns: minmax(220px, 0.4fr) minmax(0, 1.3fr);
  gap: clamp(48px, 8vw, 112px);
}

.news-heading h2 {
  font-size: var(--fs-h2);
}

.news-list {
  border-top: 1px solid var(--line);
}

.news-item {
  min-height: 78px;
  grid-template-columns: 112px 94px 1fr 24px;
  column-gap: 22px;
  padding: 18px 0;
}

.news-item time {
  font-size: var(--fs-deco-lg);
  letter-spacing: var(--ls);
}

.news-category {
  padding: 3px 8px;
  border-radius: var(--r-4);
  font-size: var(--fs-deco);
  font-weight: 600;
}

.news-item h3 {
  font-size: var(--fs-body);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: var(--ls);
}

/* Columns: three equal white cards on the sage field. */
.column-section {
  padding: var(--sp-140) 0;
  background: var(--sage);
}

.column-section .section-heading-row {
  margin-bottom: 56px;
}

.column-grid {
  gap: clamp(18px, 2.5vw, 34px);
}

.column-card,
.column-card:nth-child(2),
.column-card:nth-child(3) {
  min-height: 390px;
  padding: 28px 28px 24px;
  border-radius: var(--r-10) var(--r-10) 0 var(--r-10);
  background: var(--paper-strong);
  box-shadow: var(--shadow-step);
}

.column-card:nth-child(2) {
  border-radius: var(--r-10) 0 var(--r-10) var(--r-10);
}

.column-card:nth-child(3) {
  border-radius: 0 var(--r-10) var(--r-10) var(--r-10);
}

.column-card::before {
  color: rgba(79, 148, 123, 0.08);
  font-size: 150px;
}

.column-card-category {
  padding-bottom: 8px;
  font-size: var(--fs-deco);
  font-weight: 600;
  letter-spacing: var(--ls);
}

.column-card-image {
  height: clamp(140px, 12vw, 178px);
  margin-top: 24px;
  border-radius: var(--r-8) var(--r-8) 0 var(--r-8);
  box-shadow: var(--shadow-step);
}

.column-card:nth-child(2) .column-card-image {
  border-radius: var(--r-8) 0 var(--r-8) var(--r-8);
}

.column-card:nth-child(3) .column-card-image {
  border-radius: 0 var(--r-8) var(--r-8) var(--r-8);
}

.column-card h3 {
  margin: 22px 0 12px;
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: var(--ls);
}

.column-card p {
  font-size: var(--fs-body);
  line-height: 1.6;
  letter-spacing: var(--ls);
}

/* Photo flow is the zero-padding image band between Columns and Recruit. */
.photo-flow {
  padding: 0 0 var(--sp-100);
  background: var(--paper);
}

.word-flow {
  margin-bottom: 26px;
  border-color: rgba(79, 148, 123, 0.24);
  color: rgba(79, 148, 123, 0.72);
}

.word-flow-track span {
  padding: 12px 0 10px;
  font-size: clamp(42px, 5.5vw, var(--fs-display-en, 68px));
  font-weight: 600;
  letter-spacing: -0.02em;
}

.photo-flow-card {
  border-radius: var(--r-10) var(--r-10) 0 var(--r-10);
}

.photo-flow-card.is-tall {
  border-radius: var(--r-10) 0 var(--r-10) var(--r-10);
}

/* Recruit / Access / Reservation complete the alternation of planes. */
.careers-section {
  padding: var(--sp-120) 0;
  background: var(--green-field);
}

.careers-section h2 {
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: var(--ls);
}

.access-section {
  padding: var(--sp-140) 0;
  background: var(--paper);
}

.access-grid {
  grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr);
}

.access-map {
  min-height: 370px;
  border-radius: var(--r-10) var(--r-10) 0 var(--r-10);
  background: var(--sage);
  box-shadow: var(--shadow-step);
}

.hours-large {
  margin-top: var(--sp-100);
}

.reservation-section {
  padding: var(--sp-120) 0;
  background: var(--green-deep);
}

.reservation-section h2 {
  font-size: var(--fs-h2);
}

.reservation-orbit {
  width: min(42vw, 520px);
  border-color: var(--orbit-color-invert);
}

.site-footer {
  background: #102f25;
}

@media (max-width: 980px) {
  .about-media,
  .doctor-media {
    transform: translate(0, 28px);
  }

  .first-visit-section,
  .column-section,
  .access-section {
    padding-top: var(--sp-120);
    padding-bottom: var(--sp-120);
  }

  .medical-section,
  .endoscopy-section {
    padding-bottom: var(--sp-120);
  }
}

@media (max-width: 760px) {
  .section-shell,
  .news-section .section-shell {
    width: calc(100% - 40px);
  }

  .section-heading h2,
  .feature-copy h2,
  .news-heading h2,
  .reservation-section h2 {
    font-size: clamp(28px, 9vw, 38px);
  }

  .about-section,
  .first-visit-section,
  .column-section,
  .access-section {
    padding-top: 80px;
    padding-bottom: 90px;
  }

  .about-section {
    padding-bottom: 0;
  }

  .about-panel,
  .doctor-panel {
    border-radius: 20px 20px 0 20px;
  }

  .about-panel {
    padding: 58px 24px 86px;
  }

  .about-media,
  .doctor-media {
    transform: translateY(24px);
  }

  .doctor-watermark {
    right: -0.3em;
    bottom: -0.08em;
    font-size: clamp(54px, 17vw, 76px);
  }

  .first-visit-section .section-heading-row,
  .column-section .section-heading-row {
    margin-bottom: 38px;
  }

  .first-visit-grid,
  .column-grid,
  .medical-grid {
    gap: 18px;
  }

  .first-visit-image {
    height: 190px;
  }

  .medical-section {
    padding-top: 0;
    padding-bottom: 90px;
  }

  .medical-section > .section-shell {
    margin-top: 0;
    padding: 56px 20px 62px;
    border-radius: 20px 20px 0 20px;
  }

  .medical-section > .section-shell::before {
    inset: 8px -8px -8px 8px;
    border-radius: 20px 20px 0 20px;
  }

  .medical-card,
  .column-card,
  .column-card:nth-child(2),
  .column-card:nth-child(3) {
    min-height: 0;
    padding: 24px 22px 22px;
    border-radius: 18px 18px 0 18px;
  }

  .column-card:nth-child(2) {
    border-radius: 18px 0 18px 18px;
  }

  .column-card:nth-child(3) {
    border-radius: 0 18px 18px 18px;
  }

  .column-card-image {
    height: 150px;
  }

  .endoscopy-section {
    padding: 84px 0 90px;
  }

  .endoscopy-section::before {
    top: 7%;
    bottom: 7%;
    border-radius: 0 52px 52px 0;
  }

  .doctor-section {
    padding: 0 0 90px;
  }

  .news-section {
    padding: 80px 0 0;
  }

  .news-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .news-list-link {
    margin-top: 24px;
  }

  .news-item {
    grid-template-columns: 88px 1fr 22px;
    gap: 5px 16px;
  }

  .news-item time {
    grid-column: 1;
    grid-row: 1 / 3;
  }

  .news-category {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
  }

  .news-item h3 {
    grid-column: 2;
    grid-row: 2;
  }

  .news-item svg {
    grid-column: 3;
    grid-row: 1 / 3;
  }

  .photo-flow {
    padding-bottom: 80px;
  }

  .word-flow-track span {
    font-size: 34px;
  }

  .careers-section,
  .reservation-section {
    padding: 84px 0 90px;
  }

  .access-grid {
    grid-template-columns: 1fr;
  }

  .access-map {
    min-height: 290px;
  }

  .hours-large {
    margin-top: 64px;
  }
}

/* --------------------------------------------------------------------------
   FV responsive correction
   980px以下はFVを左右2カラムに戻さず、本文→KV→院内情報の縦順で積む。
   max-width:1360px のデスクトップ調整が後勝ちしていたため、ここで最終確定。
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .hero-main {
    order: 1;
  }

  .hero-side {
    order: 2;
    justify-content: flex-start;
    padding-right: var(--hero-pad);
    padding-bottom: 0;
  }
}

@media (max-width: 760px) {
  .hero-shell {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .hero-main {
    order: 1;
  }

  .hero-side {
    order: 2;
    padding-right: 20px;
  }
}

/* --------------------------------------------------------------------------
   Lower-section shadow hierarchy
   ハード段差影は「面が浮く」3箇所だけに限定する。カード内の写真やCTAまで
   同じ影を重ねると、情報の優先順位より装飾が先に見えるため削ぎ落とす。
   -------------------------------------------------------------------------- */
.about-detail-button,
.first-visit-button,
.careers-link,
.reservation-actions a,
.about-panel,
.first-visit-image,
.medical-section > .section-shell,
.medical-card,
.feature-media-frame,
.doctor-panel,
.doctor-media-photo,
.column-card,
.column-card:nth-child(2),
.column-card:nth-child(3),
.column-card-image,
.access-map {
  box-shadow: none;
}

/* --------------------------------------------------------------------------
   Lower-section ornament reduction
   面の重なりは背景色だけで見せ、補助線は情報の区切りに必要なものへ限定する。
   -------------------------------------------------------------------------- */
.section-heading h2::after,
.feature-copy h2::after,
.news-heading h2::after,
.reservation-section h2::after,
.medical-section > .section-shell::before,
.photo-flow-card::after,
.access-map::before {
  display: none;
}

.column-card-category {
  padding-bottom: 0;
  border-bottom: 0;
}

/* Aboutの濃緑面に重なる細いフレームは削除し、面の色差だけを残す。 */
.about-panel {
  border: 0;
  background: transparent;
}

.first-visit-section .section-heading-row {
  justify-content: center;
  text-align: center;
}

.first-visit-section .section-heading-row > div {
  text-align: center;
}

/* --------------------------------------------------------------------------
   Orbit extension
   FVの線丸を、情報量の少ない余白側へ静かに展開する。
   -------------------------------------------------------------------------- */
.about-section::before {
  content: none;
}

.medical-section::before,
.medical-section::after,
.access-section::before {
  position: absolute;
  z-index: 0;
  display: block;
  aspect-ratio: 1;
  border: 1px solid rgba(79, 148, 123, 0.2);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  will-change: transform, opacity;
}

.medical-section::before {
  top: 6%;
  right: -10%;
  width: clamp(220px, 31vw, 460px);
  opacity: 0.58;
  animation: section-orbit-drift 32s ease-in-out infinite;
}

.medical-section::after {
  top: 14%;
  right: -2%;
  width: clamp(150px, 22vw, 320px);
  border-color: rgba(79, 148, 123, 0.14);
  opacity: 0.7;
  animation: section-orbit-breathe 22s ease-in-out 1s infinite reverse;
}

.access-section::before {
  top: 8%;
  left: -14%;
  width: min(34vw, 420px);
  border-color: rgba(79, 148, 123, 0.16);
  opacity: 0.65;
  animation: section-orbit-spin 44s linear infinite;
}

@keyframes section-orbit-drift {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0.58; }
  50% { transform: translate3d(-18px, 12px, 0) rotate(180deg); opacity: 0.38; }
}

@keyframes section-orbit-breathe {
  0%, 100% { transform: scale(0.96) rotate(0deg); opacity: 0.45; }
  50% { transform: scale(1.04) rotate(-10deg); opacity: 0.72; }
}

@keyframes section-orbit-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* 重複する番号・外周線・下線は、情報の読み取りに寄与しないため削除。 */
.column-card::before,
.word-flow,
.doctor-signature {
  border-top: 0;
}

.column-card::before {
  content: none;
}

.word-flow {
  border-bottom: 0;
}

.doctor-signature {
  padding-top: 0;
}

@media (max-width: 760px) {
  .medical-section::before {
    top: 4%;
    right: -52%;
    width: 115vw;
  }

  .medical-section::after {
    top: 14%;
    right: -28%;
    width: 82vw;
  }

  .access-section::before {
    top: 5%;
    left: -52%;
    width: 110vw;
  }
}

/* --------------------------------------------------------------------------
   Asymmetric section planes
   参考画像のように、背景面の片側だけを画面端へ伸ばしてセクション間に
   リズムをつくる。影ではなく、紙色とセージの境界で奥行きを出す。
   -------------------------------------------------------------------------- */
:root {
  --section-bleed: clamp(24px, 6vw, 96px);
  --content-gutter: max(30px, calc((100vw - 1290px) / 2));
}

/* Medical: white plane runs to the right edge. */
.medical-section > .section-shell {
  width: calc(100% - var(--section-bleed));
  margin-right: 0;
  margin-left: var(--section-bleed);
  border-radius: var(--r-30) 0 0 var(--r-30);
  padding-right: clamp(28px, 5vw, 72px);
  padding-left: clamp(28px, 6vw, 96px);
}

/* Endoscopy: the sage field enters from the left, leaving the copy on paper. */
.endoscopy-section::before {
  top: 10%;
  right: auto;
  bottom: 10%;
  left: 0;
  width: 58%;
  border-radius: 0 var(--r-30) var(--r-30) 0;
}

/* Doctor: mirror Medical and let the sage plane leave through the left edge. */
.doctor-panel {
  width: 100%;
  margin-left: calc(-1 * var(--content-gutter));
  border-radius: 0 var(--r-30) var(--r-30) 0;
  padding-right: clamp(28px, 6vw, 96px);
  padding-left: clamp(28px, 5vw, 72px);
}

/* Access: the map becomes the right-hand edge anchor. */
.access-map {
  width: calc(100% + var(--content-gutter));
  margin-right: calc(-1 * var(--content-gutter));
  border-radius: var(--r-30) 0 0 var(--r-30);
}

@media (max-width: 760px) {
  :root {
    --section-bleed: 0px;
    --content-gutter: 0px;
  }

  .medical-section > .section-shell {
    width: calc(100% - 40px);
    margin-right: auto;
    margin-left: auto;
    border-radius: 20px 20px 0 20px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .endoscopy-section::before {
    top: 7%;
    right: 0;
    bottom: 7%;
    left: 0;
    width: auto;
    border-radius: 0 52px 52px 0;
  }

  .doctor-panel {
    width: 100%;
    margin-left: 0;
    border-radius: 20px 20px 0 20px;
    padding-right: 24px;
    padding-left: 24px;
  }

  .access-map {
    width: 100%;
    margin-right: 0;
    border-radius: 21px 21px 21px 0;
  }
}

/* Medicalの白い外周面と、前後セクションに揃える内部コンテンツ幅を分離。 */
.medical-section > .section-shell {
  padding: 0;
}

.medical-content {
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto;
  padding: var(--sp-100) 0;
}

.medical-card:hover {
  border-color: var(--green);
  background: var(--sage);
}

.medical-card:hover .card-arrow {
  border-color: var(--green);
  background: var(--green);
  color: var(--paper-strong);
}

/* Endoscopyは直前のセージ面を引き継ぎ、背景の切れ目をつくらない。 */
.endoscopy-section,
.endoscopy-section::before {
  background: #eaf2ed;
}

.endoscopy-links {
  display: grid;
  justify-items: start;
  gap: 10px;
}

.endoscopy-links a,
.endoscopy-links a:last-child {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  width: min(100%, 420px);
  padding: 14px 18px;
  border: 1px solid rgba(79, 148, 123, 0.38);
  border-radius: var(--r-8);
  background: rgba(253, 253, 252, 0.72);
  color: var(--green-deep);
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s var(--ease-smooth);
}

.endoscopy-links a:hover {
  background: var(--green);
  color: var(--paper-strong);
  transform: translateX(4px);
}

.endoscopy-links a .endoscopy-arrow {
  justify-self: end;
  font-size: 22px;
  line-height: 1;
}

.medical-detail-button {
  width: min(100%, 340px);
  margin-top: clamp(30px, 4vw, 46px);
  margin-right: auto;
  margin-left: auto;
}

/* About: 巨大な英字を外し、写真側にだけ静かな軌道を残す。 */
.about-panel::before,
.about-panel::after {
  right: -18%;
  bottom: -38%;
  width: clamp(300px, 38vw, 560px);
  border-color: rgba(224, 235, 147, 0.22);
  opacity: 0.78;
  animation-duration: 36s;
  animation-timing-function: ease-in-out;
}

.about-panel::after {
  right: -9%;
  bottom: -27%;
  width: clamp(220px, 29vw, 430px);
  border-color: rgba(224, 235, 147, 0.17);
  opacity: 0.58;
  animation-duration: 44s;
  animation-direction: reverse;
}

@media (max-width: 760px) {
  .about-panel::before {
    right: -58%;
    bottom: -20%;
    width: 126vw;
  }

  .about-panel::after {
    right: -42%;
    bottom: -11%;
    width: 94vw;
  }
}

@media (max-width: 760px) {
  .medical-content {
    width: 100%;
    padding: 56px 20px 62px;
  }

  .medical-detail-button {
    width: 100%;
    margin-top: 30px;
  }
}

/* Endoscopy: 直前のセージ面を引き継ぎ、左に写真、右に濃色カードを置く。 */
.endoscopy-section {
  position: relative;
  isolation: isolate;
  padding: clamp(84px, 10vw, 140px) 0;
  background: #eaf2ed;
  color: var(--ink);
}

.endoscopy-section::before {
  z-index: 0;
  top: 0;
  right: auto;
  bottom: 0;
  left: 0;
  width: 58%;
  border-radius: 0 var(--r-30) var(--r-30) 0;
  background: url("./public/assets/hero/ensaki-endoscopy-consultation.png") center / cover no-repeat;
}

.endoscopy-section > .section-shell {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
}

.endoscopy-section .feature-media {
  display: none;
}

.endoscopy-section .feature-copy {
  width: min(100%, 560px);
  max-width: none;
  margin-left: auto;
  padding: clamp(34px, 5vw, 68px) clamp(26px, 5vw, 64px);
  border-radius: var(--r-30) var(--r-30) 0 var(--r-30);
  background: rgba(17, 49, 39, 0.94);
  color: var(--paper);
}

.endoscopy-section .section-kicker {
  color: var(--lime);
}

.endoscopy-section .feature-copy h2,
.endoscopy-section .feature-copy h2 span {
  color: var(--paper);
}

.endoscopy-section .feature-copy > p:not(.section-kicker):not(.section-lead),
.endoscopy-section .feature-copy .section-lead {
  color: rgba(245, 245, 238, 0.86);
}

.endoscopy-section .endoscopy-links a,
.endoscopy-section .endoscopy-links a:last-child {
  border-color: rgba(224, 235, 147, 0.34);
  background: rgba(27, 59, 48, 0.42);
  color: var(--paper);
}

.endoscopy-section .endoscopy-links a:hover {
  background: var(--green);
  color: var(--paper-strong);
}

.endoscopy-section .endoscopy-links .endoscopy-arrow {
  color: var(--lime);
}

/* Aboutの線円はパネルで切らず、濃緑のセクション全体へつなげる。 */
.about-section {
  overflow: hidden;
}

.about-panel {
  overflow: visible;
}

.about-panel::before,
.about-panel::after {
  display: none;
  content: none;
}

.about-section::before,
.about-section::after {
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  position: absolute;
  z-index: 0;
  display: block;
  aspect-ratio: 1;
  border: 1px solid rgba(224, 235, 147, 0.22);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  animation: about-orbit-drift 36s ease-in-out infinite;
}

.about-section::before {
  top: 52%;
  right: -28%;
  bottom: auto;
  width: clamp(300px, 38vw, 560px);
  opacity: 0.78;
}

.about-section::after {
  top: 62%;
  right: -14%;
  bottom: auto;
  width: clamp(220px, 29vw, 430px);
  border-color: rgba(224, 235, 147, 0.17);
  opacity: 0.58;
  animation-duration: 44s;
  animation-direction: reverse;
}

@media (max-width: 760px) {
  .about-section::before {
    top: 58%;
    right: -58%;
    bottom: auto;
    width: 126vw;
  }

  .about-section::after {
    top: 68%;
    right: -42%;
    bottom: auto;
    width: 94vw;
  }
}

@media (max-width: 760px) {
  .endoscopy-section {
    padding: 72px 0 84px;
  }

  .endoscopy-section::before {
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    height: 42%;
    border-radius: 0 0 24px 0;
  }

  .endoscopy-section > .section-shell {
    display: block;
    width: calc(100% - 40px);
  }

  .endoscopy-section .feature-copy {
    width: 100%;
    margin-top: clamp(42px, 10vw, 54px);
    padding: 34px 24px 40px;
    border-radius: 20px 20px 0 20px;
  }

  .endoscopy-section .feature-copy h2 span {
    white-space: normal;
  }
}

/* Columns: 内容ごとに、セージ面へ自然につながる淡色を割り当てる。 */
.column-card,
.column-card:nth-child(2),
.column-card:nth-child(3) {
  background: #dcebe2;
  transition: background-color 0.3s ease, transform 0.4s var(--ease-smooth);
}

.column-card:nth-child(2) {
  background: #f7faf8;
}

.column-card:nth-child(3) {
  background: #f2ede3;
}

.column-card:hover {
  background: #d3e5da;
}

.column-card:nth-child(2):hover {
  background: #edf5ef;
}

.column-card:nth-child(3):hover {
  background: #eee4d6;
}

.column-detail-button {
  width: min(100%, 340px);
  margin-right: auto;
  margin-left: auto;
}

/* Photo flow: 写真は同じ正方形で揃え、ズームを使わず帯の量感を出す。 */
.photo-flow-card,
.photo-flow-card.is-tall {
  width: clamp(300px, 28vw, 430px);
  height: clamp(300px, 28vw, 430px);
}

.photo-flow-card img,
.photo-flow:hover .photo-flow-card img {
  transform: none;
  transition: none;
}

@media (max-width: 760px) {
  .photo-flow-card,
.photo-flow-card.is-tall {
    width: clamp(220px, 72vw, 310px);
    height: clamp(220px, 72vw, 310px);
  }
}

/* Recruit: 全幅の濃緑をやめ、コンテンツ幅の独立パネルとして中央配置する。 */
.careers-section {
  padding: var(--sp-100) 0;
  background: var(--paper);
}

.careers-section > .careers-inner {
  width: var(--content);
  margin-right: auto;
  margin-left: auto;
  padding: clamp(58px, 7vw, 92px) clamp(28px, 6vw, 86px);
  border-radius: var(--r-30) var(--r-30) 0 var(--r-30);
  background: #416e63;
}

/* Photo flowは濃緑、Recruitは少し明るい青緑で面を分ける。 */
.photo-flow {
  background: var(--green-deep);
}

/* Section kickers: 英語ラベルは12px/500で統一する。 */
.section-kicker {
  font-size: 12px;
  font-weight: 500;
}


/* Medical: 白フレーム内は、縮小したカードを左、案内とCTAを右へ。 */
.medical-content {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(220px, 0.72fr);
  column-gap: clamp(34px, 5vw, 78px);
  align-items: start;
}

.medical-content > .section-heading {
  grid-column: 2;
  grid-row: 1;
  justify-content: flex-start;
  margin: 0 0 28px;
  text-align: left;
}

.medical-content > .section-heading > div {
  text-align: left;
}

.medical-grid {
  grid-column: 1;
  grid-row: 1 / span 2;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-self: start;
}

.medical-card {
  min-height: 242px;
  padding: 20px 18px 18px;
}

.medical-card > svg {
  width: 54px;
  height: 54px;
  margin: 7px auto 14px;
}

.medical-card h3 {
  margin-bottom: 8px;
}

.medical-card p {
  max-width: 18em;
}

.medical-content > .medical-detail-button {
  grid-column: 2;
  grid-row: 2;
  justify-self: start;
  width: min(100%, 280px);
  margin: 12px 0 0;
}

@media (max-width: 1050px) {
  .medical-content {
    display: block;
  }

  .medical-content > .section-heading {
    margin-bottom: 38px;
    text-align: center;
  }

  .medical-content > .section-heading > div {
    text-align: center;
  }

  .medical-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .medical-content > .medical-detail-button {
    margin: 30px auto 0;
  }
}

@media (max-width: 760px) {
  .medical-content {
    display: block;
  }

  .medical-grid {
    grid-template-columns: 1fr;
  }

  .medical-card {
    min-height: 0;
    padding: 22px 20px 20px;
  }
}

@media (max-width: 760px) {
  .careers-section {
    padding: 72px 0 78px;
  }

  .careers-section > .careers-inner {
    width: calc(100% - 40px);
    padding: 48px 24px 52px;
    border-radius: 20px 20px 0 20px;
    background: #416e63;
  }
}

/* About: 院内写真を全面に敷き、深い緑の透過面で文字を読みやすくする。 */
.about-section {
  position: relative;
  isolation: isolate;
  background-color: var(--green-deep);
  background-image:
    linear-gradient(90deg, rgba(27, 59, 48, 0.92) 0%, rgba(27, 59, 48, 0.86) 54%, rgba(27, 59, 48, 0.68) 100%),
    url("./public/assets/hero/clinic-threshold-03-photo.png");
  background-position: center, center 44%;
  background-size: cover, cover;
  background-repeat: no-repeat;
}

.about-panel {
  background: transparent;
  box-shadow: none;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.04fr);
  align-items: center;
  gap: clamp(38px, 7vw, 110px);
  max-width: none;
}

.about-copy {
  max-width: 520px;
}

.about-media {
  display: block;
  transform: translate(4%, 24px);
}

@media (max-width: 760px) {
  .about-section {
    background-position: center, center 38%;
  }

  .about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-media {
    transform: translateY(24px);
  }
}

/* Section CTA spacing: FV以下は、本文とボタンの間に同じ呼吸をつくる。 */
:root {
  --section-action-gap: clamp(54px, 6vw, 76px);
}

.about-detail-button,
.first-visit-section > .section-shell > .first-visit-button,
.medical-content > .medical-detail-button,
.endoscopy-section .endoscopy-detail-button,
.doctor-detail-button,
.news-list-link,
.column-section > .section-shell > .column-detail-button {
  margin-top: var(--section-action-gap);
}

/* Medical: 左に案内、右に2列×2段の診療カードを置く。 */
@media (min-width: 761px) {
  .medical-content {
    display: grid;
    grid-template-columns: minmax(210px, 0.72fr) minmax(0, 1.72fr);
    column-gap: clamp(34px, 5vw, 78px);
    align-items: start;
  }

  .medical-content > .section-heading {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    margin-bottom: 0;
    text-align: left;
  }

  .medical-content > .section-heading > div {
    text-align: left;
  }

  .medical-grid {
    grid-column: 2;
    grid-row: 1 / span 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .medical-content > .medical-detail-button {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    width: min(100%, 280px);
    margin: var(--section-action-gap) 0 0;
  }
}

@media (max-width: 760px) {
  .medical-content {
    display: block;
  }

  .medical-content > .section-heading {
    margin-bottom: 38px;
    text-align: center;
  }

  .medical-content > .section-heading > div {
    text-align: center;
  }

  .medical-grid {
    grid-template-columns: 1fr;
  }

  .medical-content > .medical-detail-button {
    width: 100%;
    margin: var(--section-action-gap) auto 0;
  }
}

.medical-intro {
  max-width: 300px;
  margin: 28px 0 0;
  color: rgba(22, 55, 45, 0.72);
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: var(--ls);
}

@media (max-width: 760px) {
  .medical-intro {
    max-width: 32em;
    margin: 24px auto 0;
    text-align: center;
  }
}

/* Recruit: 話しやすい医療の印象に合わせ、相談風景を深緑の面に重ねる。 */
.careers-section > .careers-inner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(290px, 28vw, 390px);
  border-radius: 28px;
  background-color: var(--green-deep);
  background-image:
    linear-gradient(90deg, rgba(27, 59, 48, 0.9) 0%, rgba(27, 59, 48, 0.8) 48%, rgba(27, 59, 48, 0.86) 100%),
    url("./public/assets/photo-flow/clinic-interior.png");
  background-position: center, center 42%;
  background-size: cover, cover;
  background-repeat: no-repeat;
}

.careers-section > .careers-inner > * {
  position: relative;
  z-index: 1;
}

.careers-section .careers-link {
  border-radius: var(--r-8);
  background: rgba(27, 59, 48, 0.22);
}

@media (max-width: 760px) {
  .careers-section > .careers-inner {
    min-height: 0;
    background-position: center, 62% center;
  }
}

/* Endoscopy〜Doctorは同じ淡いセージ面でつなぎ、Doctorだけ白いフレームに収める。 */
.endoscopy-section {
  background: #e4f0e9;
}

.doctor-section {
  padding: var(--sp-100) 0 var(--sp-150);
  background: #e4f0e9;
}

.doctor-section > .section-shell {
  width: min(var(--content), calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}

.doctor-panel {
  width: 100%;
  margin: 0;
  padding: clamp(54px, 7vw, 92px) clamp(28px, 6vw, 86px);
  border: 1px solid rgba(22, 55, 45, 0.1);
  border-radius: 28px;
  background: var(--paper-strong);
  box-shadow: none;
}

.doctor-media {
  transform: none;
}

.doctor-media-photo {
  box-shadow: none;
}

.doctor-watermark {
  color: rgba(79, 148, 123, 0.08);
}

.news-section {
  background: var(--paper);
  padding-top: var(--sp-120);
  padding-bottom: var(--sp-120);
}

@media (max-width: 760px) {
  .doctor-section {
    padding: 72px 0 84px;
  }

  .doctor-section > .section-shell {
    width: calc(100% - 40px);
  }

  .doctor-panel {
    padding: 48px 24px 54px;
    border-radius: 20px;
  }

  .doctor-media {
    transform: none;
  }
}

/* Photo flowはAccessと同じクリーム面に戻し、写真だけを静かに流す。 */
.photo-flow {
  background: var(--paper);
}

@media (max-width: 760px) {
  .news-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

.column-card .card-arrow {
  margin-left: auto;
}

.about-detail-button {
  width: min(100%, 360px);
}

.doctor-watermark {
  display: none;
}

.doctor-panel {
  box-shadow: 0 14px 34px rgba(22, 55, 45, 0.08);
}

/* ColumnからPhoto flowへ、浅いクリーム面の丸みで静かにつなぐ。 */
.photo-flow {
  position: relative;
  padding-top: clamp(72px, 8vw, 112px);
  background: var(--sage);
}

.photo-flow::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: clamp(104px, 10vw, 148px);
  border-radius: 0 0 72px 72px;
  background: var(--paper);
  content: "";
}

.photo-flow-viewport {
  position: relative;
  z-index: 1;
}

@media (max-width: 760px) {
  .photo-flow {
    padding-top: 64px;
  }

  .photo-flow::before {
    height: 96px;
    border-radius: 0 0 48px 48px;
  }
}

/* Columnのセージ面を丸く終わらせ、下のPhoto flowはクリーム面だけにする。 */
.column-section {
  position: relative;
  z-index: 1;
  border-radius: 0 0 clamp(54px, 8vw, 104px) clamp(54px, 8vw, 104px);
  background: var(--sage);
}

.photo-flow {
  padding-top: clamp(58px, 6vw, 88px);
  background: var(--paper);
}

.photo-flow::before {
  display: none;
}

@media (max-width: 760px) {
  .column-section {
    border-radius: 0 0 48px 48px;
  }

  .photo-flow {
    padding-top: 48px;
  }
}

/* CTA polish: ラベルと矢印の間隔、右端の余白、ボタン幅を全体で揃える。 */
.about-detail-button,
.first-visit-button,
.careers-link,
.reservation-web,
.drawer-actions a:first-child {
  grid-template-columns: minmax(36px, 1fr) auto minmax(48px, 1fr);
  column-gap: 20px;
}

.about-detail-button .button-arrow,
.first-visit-button .button-arrow,
.careers-link .button-arrow,
.reservation-web .button-arrow,
.drawer-actions a:first-child .button-arrow {
  justify-self: end;
  margin-right: 2px;
}

.about-detail-button,
.first-visit-button,
.careers-link,
.reservation-web {
  padding-right: 28px;
  padding-left: 28px;
}

.news-list-link {
  gap: 32px;
  padding-right: 4px;
}

.endoscopy-detail-button {
  width: min(100%, 340px);
}

.doctor-detail-button {
  width: min(100%, 390px);
  grid-template-columns: minmax(8px, 1fr) auto minmax(16px, 1fr);
  column-gap: 12px;
  padding-right: 20px;
  padding-left: 20px;
}

.medical-detail-button {
  width: min(100%, 300px);
}

.about-detail-button:focus-visible,
.first-visit-button:focus-visible,
.careers-link:focus-visible,
.reservation-web:focus-visible,
.news-list-link:focus-visible,
.drawer-actions a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

@media (min-width: 761px) {
  .first-visit-button {
    min-width: 250px;
  }

  .careers-link {
    min-width: 280px;
  }

  .reservation-web {
    min-width: 220px;
  }
}

@media (max-width: 760px) {
  .about-detail-button,
  .first-visit-button,
  .careers-link,
  .reservation-web {
    padding-right: 22px;
    padding-left: 22px;
  }
}

/* Orbit trio: About / Medical / Reservationだけに、静かな軌道を残す。 */
.about-section::before,
.about-section::after {
  background: transparent;
  box-shadow: none;
  border-radius: 50%;
  will-change: transform;
}

.about-section::before {
  top: 54%;
  right: -10%;
  width: clamp(360px, 43vw, 660px);
  border-width: 1.5px;
  border-color: rgba(224, 235, 147, 0.34);
  opacity: 0.92;
  animation: about-orbit-drift 42s ease-in-out infinite reverse;
}

.about-section::after {
  top: 64%;
  right: 1%;
  width: clamp(250px, 31vw, 470px);
  border-width: 1.5px;
  border-color: rgba(224, 235, 147, 0.24);
  opacity: 0.96;
  animation: about-orbit-drift 52s ease-in-out infinite;
}

.medical-section::before,
.medical-section::after {
  background: transparent;
  box-shadow: none;
  will-change: transform;
}

.medical-section::before {
  top: 7%;
  right: -4%;
  width: clamp(300px, 36vw, 540px);
  border-width: 1.5px;
  border-color: rgba(79, 148, 123, 0.26);
  opacity: 0.9;
  animation: section-orbit-drift 42s ease-in-out infinite;
}

.medical-section::after {
  top: 18%;
  right: 5%;
  width: clamp(190px, 25vw, 370px);
  border-width: 1.5px;
  border-color: rgba(79, 148, 123, 0.2);
  opacity: 0.94;
  animation: section-orbit-breathe 31s ease-in-out infinite reverse;
}

.medical-section > .section-shell {
  overflow: visible;
}

.medical-section > .section-shell::after {
  position: absolute;
  z-index: 0;
  top: 7%;
  right: -10%;
  width: clamp(250px, 29vw, 430px);
  aspect-ratio: 1;
  border: 1.5px solid rgba(79, 148, 123, 0.18);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  animation: section-orbit-spin 48s linear infinite reverse;
}

.medical-section > .section-shell > * {
  position: relative;
  z-index: 1;
}

.reservation-orbit {
  right: -5%;
  width: min(62vw, 760px);
  border-width: 1.5px;
  border-color: rgba(224, 235, 147, 0.42);
  background: radial-gradient(circle at 50% 0, rgba(224, 235, 147, 0.9) 0 3px, transparent 4px);
  animation-duration: 48s;
}

.reservation-orbit::before {
  inset: 14%;
  border-width: 1.5px;
  border-color: rgba(224, 235, 147, 0.24);
}

.reservation-orbit::after {
  inset: 29%;
  border-width: 1.5px;
  border-color: rgba(224, 235, 147, 0.16);
}

@media (max-width: 760px) {
  .about-section::before {
    top: 67%;
    right: -43%;
    width: 118vw;
  }

  .about-section::after {
    top: 74%;
    right: -18%;
    width: 86vw;
  }

  .medical-section::before {
    top: 5%;
    right: -34%;
    width: 106vw;
  }

  .medical-section::after {
    top: 16%;
    right: -10%;
    width: 76vw;
  }

  .medical-section > .section-shell::after {
    top: 4%;
    right: -28%;
    width: 82vw;
  }

  .reservation-orbit {
    top: 26%;
    right: -26%;
    width: 108vw;
    transform: none;
    animation-name: reservation-orbit-spin-mobile;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-section::before,
  .about-section::after,
  .medical-section::before,
  .medical-section::after,
  .reservation-orbit {
    animation: none;
  }
}

/* Final responsive guard: mobileのロゴ・診療時間表・予約CTAが内容幅で膨らまないようにする。 */
@media (max-width: 760px) {
  .brand-copy b {
    max-width: none;
    font-size: 13px;
    letter-spacing: 0;
    line-height: 1.25;
    white-space: nowrap;
  }

  .hours-large table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
  }

  .hours-large th,
  .hours-large td {
    padding-right: 2px;
    padding-left: 2px;
  }

  .hours-large thead th:first-child,
  .hours-large tbody th {
    width: 122px;
  }

  .reservation-section h2 .reservation-title-line {
    white-space: normal;
  }

  .reservation-actions a,
  .reservation-actions p,
  .reservation-phone span {
    min-width: 0;
  }

  .reservation-phone span {
    white-space: normal;
  }
}

@media (max-width: 900px) and (min-width: 761px) {
  .brand-lockup {
    min-width: 0;
  }

  .brand-copy b {
    font-size: 13px;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .header-actions {
    gap: 6px;
    margin-right: 10px;
  }

  .header-phone {
    min-width: 150px;
    padding-right: 10px;
    padding-left: 10px;
    font-size: 14px;
    white-space: nowrap;
  }

  .doctor-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .doctor-media {
    order: 2;
  }

  .doctor-detail-button {
    width: min(100%, 390px);
  }
}

/* SP FV: KVを最初に見せ、情報をタイトル→説明→線丸へ絞る。 */
@media (max-width: 760px) {
  .hero-side {
    display: none;
  }

  .hero-head {
    display: contents;
  }

  .hero-media {
    order: 1;
    width: calc(100% - 72px);
    height: clamp(250px, 72vw, 290px);
    margin: 0 0 0 72px;
    border-radius: var(--r-10) 0 0 var(--r-10);
  }

  .hero-media-note {
    display: none;
  }

  .hero-slide:nth-child(3) img {
    object-position: left center;
  }

  .hero-copy {
    order: 2;
    width: 100%;
    max-width: none;
    margin-top: 34px;
    padding-right: 20px;
  }

  .orbit-stats {
    position: absolute;
    top: 24px;
    left: 12px;
    z-index: 4;
    order: 3;
    align-self: auto;
    margin-top: 0;
    padding-top: 0;
    transform: scale(0.84);
    transform-origin: left top;
  }

  .orbit-stat {
    background: rgba(253, 253, 252, 0.76);
    border-radius: 50%;
    backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
  }

}

/* SP About: タイトルを先頭に置き、タイトル→画像→説明→ボタンへつなぐ。 */
@media (max-width: 760px) {
  .about-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .about-copy {
    display: contents;
  }

  .about-heading {
    order: 1;
    width: 100%;
    margin: 0;
    padding-bottom: 28px;
  }

  .about-media {
    order: 2;
    margin-top: 0;
    transform: none;
  }

  .about-copy .section-lead {
    order: 3;
    width: 100%;
    margin-top: 34px;
  }

  .about-copy > p:not(.section-lead) {
    order: 4;
    width: 100%;
  }

  .about-detail-button {
    order: 5;
    width: 100%;
    max-width: 520px;
  }
}

/* Top refinement: FV以下は、文字の階層と面の余白で静けさをつくる。 */
body {
  font-weight: 400;
}

.section-lead,
.section-intro,
.about-copy p:not(.section-lead),
.first-visit-card p,
.medical-card p,
.feature-copy > p:not(.section-kicker):not(.section-lead),
.doctor-copy,
.doctor-description,
.access-info-block p,
.access-info-block small,
.careers-section p:not(.section-kicker) {
  font-weight: 400;
}

/* 装飾用の円形モチーフはFVに限定する。スライドのドットと地図ピンは機能要素として残す。 */
.section-kicker::before,
.about-panel::before,
.about-panel::after,
.about-section::before,
.about-section::after,
.medical-section::before,
.medical-section::after,
.medical-section > .section-shell::after,
.access-section::before,
.reservation-orbit {
  display: none;
  content: none;
}

/* 既存レイアウトは保ち、上下の呼吸だけを一段広げる。 */
@media (max-width: 760px) {
  .about-section { padding-top: 92px; }
  .first-visit-section,
  .column-section,
  .access-section { padding-top: 92px; padding-bottom: 104px; }
  .medical-section { padding-bottom: 104px; }
  .endoscopy-section { padding: 84px 0 96px; }
  .doctor-section { padding-bottom: 104px; }
  .news-section { padding-top: 92px; padding-bottom: 92px; }
  .careers-section,
  .reservation-section { padding: 92px 0 100px; }
}

/* 最終調整：ナビゲーションと情報の見え方を静かに整える。 */
.section-heading h2,
.feature-copy h2,
.news-heading h2,
.first-visit-card h3,
.medical-card h3,
.column-card h3,
.hero-side-brand p,
.hero-copy h1,
.hero-copy h1 span,
.hours-large-heading > span {
  color: var(--text-main);
}

.section-intro,
.hero-specialties,
.hours-mini,
.first-visit-card p,
.medical-card p,
.feature-copy > p:not(.section-kicker):not(.section-lead),
.doctor-copy,
.access-info-block p,
.hours-large table,
.column-card p {
  color: var(--text-main);
}

.hours-mini p,
.access-info-block small,
.hours-large-heading small,
.map-note,
.news-item time,
.hero-notice-body {
  color: var(--text-note);
}

.hours-large td {
  line-height: 1;
  vertical-align: middle;
}

/* 行内spanの既存指定より優先し、曜日セルを7列で固定する。 */
.hours-title .hours-days,
.hours-mini > div:not(.hours-title) .hours-dots {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: center;
  width: 168px;
  line-height: 1;
  text-align: center;
}

.hours-title .hours-days span,
.hours-mini > div:not(.hours-title) .hours-dots span {
  display: grid;
  place-items: center;
  min-width: 0;
  line-height: 1;
  white-space: normal;
  letter-spacing: 0;
}

/* 丸いプレースホルダーを外し、リンクの進行方向だけを残す。 */
.about-detail-button .button-arrow,
.first-visit-button .button-arrow,
.careers-link .button-arrow,
.reservation-web .button-arrow,
.news-list-link .button-arrow,
.card-arrow {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.medical-card .card-arrow,
.column-card .card-arrow {
  width: 24px;
  height: 24px;
  border-radius: 0;
}

.medical-card:hover .card-arrow,
.column-card:hover .card-arrow {
  background: transparent;
  color: var(--green-deep);
}

/* ボタンのホバーは「主要CTA」と「枠付き／リンク」の2種類に統一する。 */
.header-reserve,
.header-phone,
.first-visit-button,
.reservation-web,
.reservation-phone,
.drawer-actions a {
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s var(--ease-smooth);
}

.header-reserve:hover,
.header-phone:hover,
.first-visit-button:hover,
.reservation-web:hover,
.reservation-phone:hover,
.drawer-actions a:hover {
  background: var(--green-deep);
  color: var(--paper-strong);
  transform: translateY(-3px);
}

.about-detail-button,
.careers-link,
.endoscopy-links a,
.news-list-link,
.text-link {
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s var(--ease-smooth);
}

.about-detail-button:hover,
.careers-link:hover {
  border-color: var(--green-deep);
  background: var(--lime);
  color: var(--green-deep);
  transform: translateY(-3px);
}

.endoscopy-section .endoscopy-links a:hover {
  border-color: var(--green-deep);
  background: var(--paper-strong);
  color: var(--text-main);
  transform: translateX(4px);
}

.news-list-link:hover,
.text-link:hover {
  border-bottom-color: var(--green);
  color: var(--green);
}

.news-list-link:hover .button-arrow,
.text-link:hover svg {
  transform: translateX(5px);
}

/* 光の帯はテキストの下に置き、ホバー時もラベルと矢印を必ず前面に保つ。 */
.first-visit-button > * {
  position: relative;
  z-index: 1;
}

/* FV左側はロゴ記号だけでなく、屋号・英字・診療科目もカード群の中央軸に揃える。 */
.hero-side-brand {
  justify-items: center;
  text-align: center;
}

.hero-specialties {
  justify-content: center;
}

/* FV左カラムは、診療時間下の余白分を考慮して視覚的な上下中央に揃える。 */
@media (min-width: 981px) {
  .hero-side {
    justify-content: center;
    transform: translateY(-16px);
  }
}

/* KVコピー：白文字を写真に重ね、縁先らしい静かな縦のリズムをつくる。 */
.hero-copy h1,
.hero-copy h1 span {
  color: var(--paper-strong);
  text-shadow: 0 2px 16px rgba(9, 31, 24, 0.48);
}

@media (min-width: 981px) {
  .hero-copy {
    top: auto;
    bottom: clamp(50px, 6vw, 92px);
    left: clamp(52px, 6vw, 104px);
  }

  .hero-copy h1 {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    white-space: nowrap;
    font-size: clamp(23px, 1.95vw, 30px);
    line-height: 1.75;
    letter-spacing: 0.13em;
  }

  .hero-copy h1 br {
    display: block;
  }
}

@media (max-width: 980px) {
  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(19, 48, 39, 0.4) 0%, rgba(19, 48, 39, 0.12) 48%, rgba(19, 48, 39, 0) 78%),
      linear-gradient(90deg, rgba(19, 48, 39, 0.3), rgba(19, 48, 39, 0) 72%);
  }
}

/* 濃い面の上では、ホバー後もボタンの面が親背景に溶けない色へ切り替える。 */
.about-section .about-detail-button:hover,
.careers-section .careers-link:hover {
  border-color: var(--green-deep);
  background: var(--lime);
  color: var(--green-deep);
}

.medical-section .first-visit-button:hover {
  border: 1px solid var(--lime);
  background: var(--lime);
  color: var(--green-deep);
}

.reservation-section .reservation-web:hover,
.mobile-drawer .drawer-actions a:first-child:hover {
  background: var(--green);
  color: var(--paper-strong);
}

.reservation-section .reservation-phone,
.mobile-drawer .drawer-actions a + a {
  border: 1px solid rgba(224, 235, 147, 0.68);
}

.reservation-section .reservation-phone:hover,
.mobile-drawer .drawer-actions a + a:hover {
  border-color: var(--lime);
  background: var(--paper-strong);
  color: var(--green-deep);
}

.reservation-phone:focus-visible,
.drawer-actions a:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}

/* Aboutの濃緑面では、ホバー時もフレームとラベルを明確に見せる。 */
.about-section .about-detail-button:hover,
.about-section .about-detail-button:focus-visible {
  border-color: var(--paper-strong);
  background: var(--paper-strong);
  color: var(--green-deep);
}

/* ENDOSCOPYの主要CTAも、濃緑の面から明確に浮かせる。 */
.endoscopy-section .endoscopy-detail-button:hover,
.endoscopy-section .endoscopy-detail-button:focus-visible {
  border: 1px solid var(--paper-strong);
  background: var(--paper-strong);
  color: var(--green-deep);
}

/* KVの新しい空間写真に合わせ、下層写真だけ彩度・コントラストを共通化する。 */
.about-media img,
.first-visit-image img,
.feature-media-frame img,
.doctor-media-photo img,
.column-card-image img,
.photo-flow-card img {
  filter: saturate(0.88) contrast(0.97) brightness(1.02);
}

/* SPの最終レイアウト：KVの画像・コピー・クリニック情報を一つの流れに戻す。 */
@media (max-width: 760px) {
  .hero {
    min-height: 0;
    padding: calc(var(--header-height) + 18px) 0 0;
  }

  .hero-shell {
    display: flex;
    width: 100%;
    min-height: 0;
    margin: 0;
    gap: 0;
  }

  .hero-main {
    order: 1;
    width: 100%;
    min-height: clamp(380px, 118vw, 480px);
  }

  .hero-head {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: block;
    pointer-events: none;
  }

  .hero-copy {
    position: absolute;
    top: auto;
    right: 20px;
    bottom: 54px;
    left: 42px;
    z-index: 5;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    pointer-events: none;
  }

  .hero-copy h1 {
    color: var(--paper-strong);
    font-size: clamp(28px, 7.2vw, 36px);
    line-height: 1.55;
    letter-spacing: 0.08em;
    text-shadow: 0 2px 16px rgba(9, 31, 24, 0.48);
  }

  .hero-copy h1 span { color: inherit; }

  .hero-media {
    position: absolute;
    inset: 0 0 0 28px;
    width: auto;
    height: auto;
    margin: 0;
    border-radius: var(--r-10) 0 0 var(--r-10);
  }

  .hero-media-note { display: none; }
  .hero-dots { bottom: 18px; }

  .hero-side {
    display: flex;
    order: 2;
    width: 100%;
    min-height: 0;
    padding: 42px 20px 72px;
    align-items: center;
    justify-content: flex-start;
  }

  /* SPではFV画像上のコピーを主役にし、画像下の重複した屋号表示は省く。 */
  .hero-side-brand { display: none; }

  .hero-specialties {
    width: 100%;
    margin-bottom: 22px;
    justify-content: center;
    flex-wrap: wrap;
    line-height: 1.9;
    text-align: center;
    white-space: normal;
  }

  .quick-grid { width: 100%; }
  .hours-mini { width: 100%; margin-top: 24px; padding-bottom: 0; }

  /* 院長紹介はタイトル→写真→本文の順にして、最初に人物を認識できるようにする。 */
  .doctor-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .doctor-copy { display: contents; }
  .doctor-heading { order: 1; width: 100%; margin-bottom: 28px; }
  .doctor-media { order: 2; width: 100%; margin: 0; transform: none; }
  .doctor-description { order: 3; width: 100%; margin-top: 32px; }
  .doctor-signature { order: 4; width: 100%; }
  .doctor-detail-button { order: 5; width: 100%; }

  /* 初めての方へ：画像ではなく説明文の下に余白を置き、カードの区切りを明確にする。 */
  .first-visit-image { margin-bottom: 22px; }
  .first-visit-card h3 { margin-bottom: 12px; }
  .first-visit-card p { margin-bottom: 32px; }

  /* お知らせ一覧への導線は、内容幅の短い下線と矢印で見せる。 */
  .news-list-link {
    display: inline-flex;
    width: auto;
    align-items: center;
    gap: 16px;
    padding-right: 0;
  }

  .news-list-arrow {
    display: inline-block;
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    color: var(--green);
    font: 400 22px/22px Arial, sans-serif;
    transition: transform 0.3s var(--ease-smooth);
  }

  .news-list-link:hover .news-list-arrow { transform: translateX(5px); }
}

/* --------------------------------------------------------------------------
   Final corner-radius rules
   通常カードと画像は10px、大きなセクション面は30px、操作要素は8px。
   角を1か所開ける表現はFVと一部の主役画像だけに限定する。
   -------------------------------------------------------------------------- */
.quick-grid a,
.medical-card,
.column-card,
.access-map,
.first-visit-image,
.column-card-image,
.photo-flow-card,
.photo-flow-card.is-tall {
  border-radius: var(--r-10);
}

.about-panel,
.medical-section > .section-shell,
.doctor-panel,
.endoscopy-section .feature-copy,
.careers-section > .careers-inner {
  border-radius: var(--r-30);
}

.about-detail-button,
.first-visit-button,
.careers-link,
.reservation-actions a,
.header-actions a,
.drawer-actions a,
.endoscopy-links a {
  border-radius: var(--r-8);
}

/* コラムカードとカード内画像のランダムな角欠けを削除する。 */
.column-card,
.column-card:nth-child(2),
.column-card:nth-child(3),
.column-card-image,
.column-card:nth-child(2) .column-card-image,
.column-card:nth-child(3) .column-card-image {
  border-radius: var(--r-10);
}

/* FVと一部の主役画像だけ、縁先の「一か所開ける」表現を残す。 */
.hero-media {
  border-radius: var(--r-10) 0 0 var(--r-10);
}

.about-media img,
.about-media::after,
.doctor-media-photo,
.feature-media-frame {
  border-radius: var(--r-10) var(--r-10) var(--r-10) 0;
}

/* 架空サイトの電話番号は情報表示のみ。発信リンクの見た目・挙動を残さない。 */
.header-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 150px;
  padding: 0 16px;
  border-radius: var(--r-8);
  font-size: 16px;
  font-weight: 700;
  cursor: default;
}

.header-phone:hover {
  background: var(--green-deep);
  color: var(--paper-strong);
  transform: none;
}

.drawer-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 58px;
  border-radius: var(--r-8);
  background: var(--paper);
  color: var(--green-deep);
  font-size: 16px;
  font-weight: 700;
  cursor: default;
}

.drawer-actions .drawer-phone {
  border: 1px solid rgba(224,235,147,.68);
}

.footer-contact > span:not(.info-label) {
  display: inline-block;
  margin-bottom: 15px;
  color: var(--paper);
  font: 23px/1 "Roboto Condensed", "Arial Narrow", sans-serif;
  letter-spacing: 0.04em;
}

.reservation-phone {
  cursor: default;
}

.reservation-actions .reservation-phone {
  width: fit-content;
  min-height: 62px;
  padding-inline: 24px;
  border: 1px solid rgba(224,235,147,.68);
  border-radius: var(--r-8);
}

.reservation-phone:hover {
  transform: none;
  background: var(--paper);
  color: var(--green-deep);
  border-color: rgba(224,235,147,.68);
}

.subpage-contact-card--phone {
  cursor: default;
}

.subpage-contact-card--phone:hover {
  background: var(--green-deep);
  color: var(--paper-strong);
  transform: none;
}

@media (max-width: 760px) {
  .reservation-actions .reservation-phone {
    width: 100%;
  }
}

/* 下位プラン：共有レイアウトは維持し、演出とページ量だけを調整する。 */
.m-lite .opening,
.m-none .opening { display: none; }

.m-lite .photo-flow-track {
  animation: none;
}

.m-lite .photo-flow-set[aria-hidden="true"] {
  display: none;
}

.m-lite .quick-grid {
  display: none;
}

.m-lite .reveal-ready [data-reveal] {
  transform: none;
  transition: opacity 0.7s ease;
}

.m-lite .column-section,
.m-lite .footer-nav-group:last-child,
.m-lite .drawer-nav--secondary a[href*="columns"],
.m-none .hero-notice,
.m-none .first-visit-section,
.m-none .endoscopy-section,
.m-none .doctor-section,
.m-none .news-section,
.m-none .column-section,
.m-none .photo-flow,
.m-none .careers-section,
.m-none .access-section,
.m-none .footer-nav-group:last-child { display: none; }

.m-none .reveal-ready [data-reveal],
.m-none .reveal-ready [data-reveal="from-left"],
.m-none .reveal-ready [data-reveal="from-right"],
.m-none .reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  transition: none;
}

.m-none .hero-media,
.m-none .hero-copy h1 {
  opacity: 1;
  transform: none;
  transition: none;
  clip-path: none;
}

.m-none .hero-side {
  display: none;
}

.m-none .hero-shell {
  grid-template-columns: minmax(0, 1fr);
}

.m-none .hero-slide:not(:first-child),
.m-none .hero-dots { display: none; }

/* 981〜1100pxはFVの縦書きコピーを右端から24px内側に収める。 */
@media (min-width: 981px) and (max-width: 1100px) {
  .hero-copy {
    right: 24px;
    left: clamp(52px, 6vw, 104px);
    width: auto;
    max-width: none;
  }
}

/* 1100px以下では、出現演出の横移動でコンテンツ幅を押し広げない。 */
@media (max-width: 1100px) {
  .reveal-ready [data-reveal="from-left"] {
    transform: translateY(24px);
  }

  .reveal-ready [data-reveal="from-right"] {
    transform: translateY(24px);
  }
}
