/* =========================================================
   かなもり歯科クリニック
   自由診療カウンセリング・セカンドオピニオン LP
   ========================================================= */

/* ---------- Variables ---------- */
:root {
  --c-main:      #997A45;   /* dark gold / bronze */
  --c-main-dark: #7E6438;
  --c-sub-bg:    #E4D4B8;   /* cream beige */
  --c-line:      #C8A27E;   /* light gold */
  --c-text:      #2D2110;   /* dark brown */
  --c-text-mute: #6E5E45;
  --c-bg:        #F7F5F0;   /* off-white base */
  --c-bg-alt:    #FFFFFF;

  --ff-serif:  'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  --ff-sans:   'Kosugi Maru', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  --ff-en:     'Cormorant Garamond', 'Noto Serif JP', serif;

  --max:    1120px;
  --narrow: 760px;

  --gap-s: 12px;
  --gap-m: 24px;
  --gap-l: 48px;
  --gap-xl: 96px;

  --radius: 4px;
  --shadow-soft: 0 8px 32px rgba(45, 33, 16, 0.08);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--ff-sans);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--c-main);
  text-decoration: none;
  transition: opacity .2s ease, color .2s ease;
}
a:hover { opacity: .75; }

ul, ol { padding: 0; margin: 0; list-style: none; }

button { font: inherit; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: var(--narrow); }
.center { text-align: center; }

.sp-only { display: none; }
@media (max-width: 767px) {
  .sp-only { display: inline; }
}

/* ---------- Section eyebrows / titles ---------- */
.section-eyebrow {
  font-family: var(--ff-en);
  font-style: italic;
  font-size: 14px;
  letter-spacing: .12em;
  color: var(--c-main);
  margin: 0 0 8px;
  text-transform: none;
}
.section-eyebrow.center { text-align: center; }

.section-title {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: clamp(22px, 3.2vw, 30px);
  letter-spacing: .04em;
  color: var(--c-text);
  margin: 0 0 36px;
  line-height: 1.5;
}
.section-title.center { text-align: center; }
.section-title .en {
  display: block;
  font-family: var(--ff-en);
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: .14em;
  color: var(--c-text-mute);
  margin-top: 6px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--ff-sans);
  font-size: 15px;
  letter-spacing: .04em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
  white-space: nowrap;
  line-height: 1.4;
}
.btn-primary {
  background: var(--c-main);
  color: #fff;
}
.btn-primary:hover {
  background: var(--c-main-dark);
  color: #fff;
  opacity: 1;
}
.btn-ghost {
  background: transparent;
  color: var(--c-main);
  border-color: var(--c-main);
}
.btn-ghost:hover {
  background: var(--c-main);
  color: #fff;
  opacity: 1;
}
.btn-outline {
  background: #fff;
  color: var(--c-main);
  border-color: var(--c-main);
}
.btn-outline:hover {
  background: var(--c-sub-bg);
  opacity: 1;
}
.btn-large {
  padding: 20px 36px;
  font-size: 17px;
  flex-direction: column;
  gap: 4px;
}
.btn-large small {
  font-size: 12px;
  font-weight: normal;
  letter-spacing: .06em;
  opacity: .8;
}

/* ===================================================== */
/* 1. HEADER                                              */
/* ===================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 245, 240, .92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(200, 162, 126, .28);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--c-text);
}
.brand:hover { opacity: 1; }
.brand-mark {
  display: inline-flex;
  width: 36px; height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-main);
  border-radius: 50%;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .04em;
}
.brand-sub {
  font-size: 11px;
  color: var(--c-text-mute);
  letter-spacing: .04em;
  margin-top: 2px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-tel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
  color: var(--c-text);
}
.header-tel:hover { opacity: 1; color: var(--c-main); }
.tel-label {
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--c-text-mute);
}
.tel-num {
  font-family: var(--ff-en);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--c-main);
}
.header-cta { padding: 10px 22px; font-size: 14px; }

@media (max-width: 767px) {
  .brand-sub { display: none; }
  .brand-name { font-size: 14px; }
  .header-tel { display: none; }
  .header-inner { min-height: 58px; }
  .header-cta { padding: 9px 16px; font-size: 13px; }
}

/* ===================================================== */
/* 2. HERO                                                */
/* ===================================================== */
.hero {
  position: relative;
  padding: clamp(72px, 12vw, 140px) 0 clamp(64px, 10vw, 120px);
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 10%, rgba(228, 212, 184, .55), transparent 55%),
    linear-gradient(180deg, #FBF8F2 0%, var(--c-bg) 100%);
}
.hero-decor {
  position: absolute;
  inset: auto -20% -40% auto;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(200, 162, 126, .22), transparent 65%);
  pointer-events: none;
  filter: blur(20px);
}
.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.hero-eyebrow {
  font-family: var(--ff-en);
  font-style: italic;
  letter-spacing: .2em;
  color: var(--c-main);
  margin: 0 0 24px;
  font-size: 15px;
}
.hero-title {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: clamp(28px, 5.4vw, 48px);
  line-height: 1.55;
  letter-spacing: .04em;
  margin: 0 0 28px;
  color: var(--c-text);
}
.hero-sub {
  font-family: var(--ff-serif);
  font-weight: 400;
  font-size: clamp(15px, 2.2vw, 19px);
  line-height: 1.9;
  margin: 0 0 44px;
  color: var(--c-text-mute);
}
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-note {
  font-size: 13px;
  color: var(--c-text-mute);
  letter-spacing: .08em;
  margin: 0;
}

/* ===================================================== */
/* 3. PHILOSOPHY                                          */
/* ===================================================== */
.philosophy {
  padding: var(--gap-xl) 0;
  background: var(--c-bg-alt);
}
.philosophy .quote {
  margin: 0 0 36px;
  padding: 0;
  border-left: 2px solid var(--c-line);
  padding-left: 24px;
}
.philosophy .quote p {
  font-family: var(--ff-serif);
  font-weight: 400;
  font-size: clamp(20px, 3vw, 26px);
  line-height: 1.85;
  color: var(--c-text);
  margin: 0;
  letter-spacing: .04em;
}
/* Key message (catch copy) - shared style */
.key-message {
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: clamp(17px, 2.4vw, 22px);
  line-height: 1.85;
  letter-spacing: 0.05em;
  text-align: center;
  color: #2D2110;
  background: linear-gradient(180deg, rgba(196, 158, 92, 0.08) 0%, rgba(196, 158, 92, 0.02) 100%);
  border-top: 1px solid rgba(196, 158, 92, 0.45);
  border-bottom: 1px solid rgba(196, 158, 92, 0.45);
  padding: 18px 20px;
  margin: 0 auto 28px;
  max-width: 720px;
}
.key-message--booking {
  margin-top: 6px;
}
.key-message--video {
  margin: 28px auto 8px;
}
.philosophy-body {
  font-size: 15px;
  line-height: 2.1;
  color: var(--c-text-mute);
  margin: 0;
}

/* ===================================================== */
/* 4. MAIN VIDEO                                          */
/* ===================================================== */
.video-main {
  padding: var(--gap-xl) 0;
  background: var(--c-bg);
}
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  margin: 0 auto;
  max-width: 880px;
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-caption {
  max-width: 720px;
  margin: 32px auto 0;
  font-size: 14px;
  line-height: 2;
  color: var(--c-text-mute);
  text-align: center;
}

/* ===================================================== */
/* 5. TARGET                                              */
/* ===================================================== */
.target {
  padding: var(--gap-xl) 0;
  background: var(--c-sub-bg);
  background-image:
    linear-gradient(180deg, var(--c-sub-bg) 0%, #EFE2C9 100%);
}
.target-list {
  display: grid;
  gap: 14px;
}
.target-list li {
  position: relative;
  background: #fff;
  padding: 18px 22px 18px 56px;
  border-radius: var(--radius);
  font-size: 16px;
  line-height: 1.7;
  box-shadow: 0 2px 14px rgba(45, 33, 16, .04);
}
.target-list li::before {
  content: "";
  position: absolute;
  left: 22px; top: 50%;
  width: 18px; height: 18px;
  margin-top: -9px;
  border-radius: 50%;
  background: var(--c-main);
}
.target-list li::after {
  content: "";
  position: absolute;
  left: 28px; top: 50%;
  width: 6px; height: 10px;
  margin-top: -7px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ===================================================== */
/* 6. DOCTOR                                              */
/* ===================================================== */
.doctor {
  padding: var(--gap-xl) 0;
  background: var(--c-bg-alt);
}
.doctor-inner {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 48px;
  align-items: start;
}
.doctor-photo {
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--c-sub-bg), var(--c-line));
  aspect-ratio: 3 / 4;
  max-width: 360px;
  box-shadow: var(--shadow-soft);
  align-self: start;
}
.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.doctor-creds {
  display: grid;
  gap: 10px;
  margin: 0 0 28px;
  padding: 22px 26px;
  background: var(--c-bg);
  border-left: 2px solid var(--c-main);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.doctor-creds li {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--c-text);
}
.doctor-message {
  font-size: 15px;
  line-height: 2.1;
  color: var(--c-text-mute);
  margin: 0;
}

@media (max-width: 767px) {
  .doctor-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .doctor-photo { max-width: 320px; margin: 0 auto; aspect-ratio: 4 / 5; }
}

/* ===================================================== */
/* 7. SUB VIDEOS                                          */
/* ===================================================== */
.video-sub {
  padding: var(--gap-xl) 0;
  background: var(--c-bg);
}
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.video-card {
  margin: 0;
  display: flex;
  flex-direction: column;
}
.video-card figcaption {
  margin-top: 14px;
  text-align: center;
  font-family: var(--ff-serif);
  font-size: 15px;
  color: var(--c-text);
  letter-spacing: .04em;
}

@media (max-width: 767px) {
  .video-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ===================================================== */
/* 8. INCLUDED                                            */
/* ===================================================== */
.included {
  padding: var(--gap-xl) 0;
  background: var(--c-bg-alt);
}
.included-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid rgba(200, 162, 126, .35);
}
.included-list li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 4px;
  border-bottom: 1px solid rgba(200, 162, 126, .35);
}
.included-list li:nth-child(odd) {
  border-right: 1px solid rgba(200, 162, 126, .35);
  padding-right: 18px;
}
.included-list li:nth-child(even) { padding-left: 18px; }

.included-list .num {
  font-family: var(--ff-en);
  font-style: italic;
  font-size: 22px;
  color: var(--c-main);
  flex-shrink: 0;
  width: 36px;
}
.included-list .txt {
  font-family: var(--ff-serif);
  font-size: 16px;
  letter-spacing: .03em;
  color: var(--c-text);
}

@media (max-width: 767px) {
  .included-list {
    grid-template-columns: 1fr;
  }
  .included-list li {
    padding: 18px 4px !important;
    border-right: none !important;
  }
}

/* ===================================================== */
/* 9. FEE                                                 */
/* ===================================================== */
.fee {
  padding: var(--gap-xl) 0;
  background: linear-gradient(180deg, var(--c-bg) 0%, #F1ECDF 100%);
}
.fee-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}
.fee-card {
  background: #fff;
  border: 1px solid rgba(200, 162, 126, .4);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 2px 16px rgba(45, 33, 16, .04);
}
.fee-label {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 16px;
  color: var(--c-main);
  letter-spacing: .14em;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--c-line);
}
.fee-price {
  margin: 0 0 14px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  font-family: var(--ff-serif);
  color: var(--c-text);
}
.fee-price .amount {
  font-family: var(--ff-en);
  font-weight: 500;
  font-size: clamp(36px, 6vw, 48px);
  letter-spacing: .02em;
  line-height: 1;
}
.fee-price .unit {
  font-size: 18px;
  font-weight: 600;
  margin-left: 2px;
}
.fee-price .tax {
  font-size: 12px;
  color: var(--c-text-mute);
  letter-spacing: .04em;
  margin-left: 6px;
}
.fee-note {
  font-size: 13px;
  color: var(--c-text-mute);
  margin: 0;
  line-height: 1.7;
}
.fee-disclaimer {
  text-align: center;
  margin: 32px 0 0;
  font-size: 12px;
  color: var(--c-text-mute);
}

@media (max-width: 767px) {
  .fee-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================================== */
/* 10. STEPS                                              */
/* ===================================================== */
.steps {
  padding: var(--gap-xl) 0;
  background: var(--c-bg-alt);
}
.steps-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  background: var(--c-bg);
  border-top: 3px solid var(--c-main);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 24px 22px 28px;
  position: relative;
}
.step-num {
  font-family: var(--ff-en);
  font-style: italic;
  font-size: 14px;
  letter-spacing: .14em;
  color: var(--c-main);
  margin-bottom: 12px;
}
.step-title {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: .04em;
  margin: 0 0 12px;
  color: var(--c-text);
}
.step-body {
  font-size: 14px;
  line-height: 1.85;
  color: var(--c-text-mute);
  margin: 0;
}
.step-body a { color: var(--c-main); }

@media (max-width: 900px) {
  .steps-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .steps-list { grid-template-columns: 1fr; }
}

/* ===================================================== */
/* 11. POLICY                                             */
/* ===================================================== */
.policy {
  padding: var(--gap-xl) 0;
  background: var(--c-bg);
}
.policy-list {
  display: grid;
  gap: 0;
  margin: 0 0 18px;
  border-top: 1px solid rgba(200, 162, 126, .4);
}
.policy-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(200, 162, 126, .4);
}
.policy-item dt {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--c-text);
  line-height: 1.7;
}
.policy-item dd {
  margin: 0;
  font-size: 14.5px;
  color: var(--c-text-mute);
  line-height: 1.7;
}
.policy-note {
  margin: 0;
  font-size: 12px;
  color: var(--c-text-mute);
  text-align: right;
}

@media (max-width: 767px) {
  .policy-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* ===================================================== */
/* 12. FAQ                                                */
/* ===================================================== */
.faq {
  padding: var(--gap-xl) 0;
  background: var(--c-bg-alt);
}
.faq-list {
  display: grid;
  gap: 12px;
}
.faq-item {
  background: var(--c-bg);
  border: 1px solid rgba(200, 162, 126, .35);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  transition: box-shadow .2s ease;
}
.faq-item[open] {
  box-shadow: 0 4px 16px rgba(45, 33, 16, .06);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 56px 18px 24px;
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 15.5px;
  color: var(--c-text);
  position: relative;
  letter-spacing: .03em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 26px; top: 50%;
  width: 12px; height: 12px;
  margin-top: -8px;
  border-right: 2px solid var(--c-main);
  border-bottom: 2px solid var(--c-main);
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq-item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: -3px;
}
.faq-item p {
  margin: 0;
  padding: 0 24px 22px;
  font-size: 14.5px;
  line-height: 2;
  color: var(--c-text-mute);
}

/* ===================================================== */
/* 13. CTA                                                */
/* ===================================================== */
.cta {
  padding: var(--gap-xl) 0;
  background:
    linear-gradient(180deg, #F1ECDF 0%, var(--c-sub-bg) 100%);
  text-align: center;
}
.cta-lead {
  font-size: 15px;
  line-height: 2;
  color: var(--c-text);
  margin: 0 0 36px;
}
.cta-buttons {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.cta-or {
  font-size: 13px;
  color: var(--c-text-mute);
  letter-spacing: .08em;
  margin: 0 0 8px;
}
.cta-tel {
  display: inline-block;
  font-family: var(--ff-en);
  font-size: clamp(28px, 5vw, 38px);
  font-weight: 500;
  color: var(--c-main);
  letter-spacing: .04em;
  border-bottom: 1px solid var(--c-main);
  padding-bottom: 4px;
}

/* ===================================================== */
/* FOOTER                                                 */
/* ===================================================== */
.site-footer {
  background: var(--c-text);
  color: #DCD2BD;
  padding: 64px 0 24px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.footer-clinic { font-size: 14px; line-height: 1.95; }
.footer-name {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 18px;
  color: #fff;
  margin: 0 0 14px;
  letter-spacing: .04em;
}
.footer-address {
  font-style: normal;
  margin: 0 0 12px;
  color: #C8B998;
}
.footer-tel a {
  color: #fff;
  font-family: var(--ff-en);
  font-size: 18px;
  letter-spacing: .04em;
}
.footer-line {
  margin-top: 12px;
  font-size: 14px;
}
.footer-line a {
  color: #997A45;
  text-decoration: underline;
}
.footer-hours {
  font-size: 12.5px;
  color: #B0A284;
  margin: 12px 0 0;
}
.footer-nav-title {
  font-family: var(--ff-en);
  font-style: italic;
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--c-line);
  margin: 0 0 14px;
}
.footer-nav ul { display: grid; gap: 10px; }
.footer-nav a {
  color: #DCD2BD;
  font-size: 13.5px;
}
.footer-nav a:hover { color: #fff; opacity: 1; }

.footer-copy {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgba(220, 210, 189, .15);
  text-align: center;
  font-size: 11px;
  letter-spacing: .12em;
  color: #8A7C5E;
}

@media (max-width: 767px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ===================================================== */
/* MOTION                                                 */
/* ===================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================== */
/* FOCUS                                                  */
/* ===================================================== */
:focus-visible {
  outline: 2px solid var(--c-main);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ===================================================== */
/* ADDED 2026-05-04: KDC logo, quick-booking, specialist-badges */
/* ===================================================== */

/* --- Header brand logo (KDC公式ロゴ画像) --- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}
.brand-logo {
  display: block;
  height: 44px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
}
.brand-sub {
  display: inline-block;
  font-family: "Noto Serif JP", serif;
  font-size: 12px;
  font-weight: 500;
  color: #997A45;
  letter-spacing: 0.06em;
  padding-left: 14px;
  border-left: 1px solid #C8A27E;
  line-height: 1.4;
}
@media (max-width: 768px) {
  .brand-logo { height: 32px; max-width: 180px; }
  .brand-sub { display: none; }
}
@media (max-width: 480px) {
  .brand-logo { height: 28px; max-width: 150px; }
}

/* --- Quick booking banner (hero直下) --- */
.quick-booking {
  background: linear-gradient(180deg, #F7F5F0 0%, #FAF7F0 100%);
  padding: 64px 0 72px;
  border-top: 1px solid #E4D4B8;
  border-bottom: 1px solid #E4D4B8;
}
.quick-booking-title {
  font-family: "Noto Serif JP", serif;
  font-size: 26px;
  font-weight: 600;
  color: #2D2110;
  text-align: center;
  margin: 8px 0 14px;
  letter-spacing: 0.03em;
}
.quick-booking-lead {
  text-align: center;
  font-size: 14px;
  color: #6c5b3d;
  margin: 0 0 36px;
  line-height: 1.8;
}
.quick-booking-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 720px;
  margin: 0 auto;
}
.quick-booking-buttons .booking-btn:only-child {
  grid-column: 1 / -1;
}
@media (max-width: 600px) {
  .quick-booking-buttons {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
.booking-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 22px 16px;
  background: #997A45;
  color: #FAF7F0;
  text-decoration: none;
  border-radius: 4px;
  border: 1px solid #997A45;
  font-family: "Noto Serif JP", serif;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
  box-shadow: 0 2px 0 rgba(45, 33, 16, 0.08);
}
.booking-btn:hover {
  transform: translateY(-1px);
  background: #87693a;
  box-shadow: 0 6px 16px rgba(153, 122, 69, 0.25);
}
.booking-btn--secondary {
  background: #FAF7F0;
  color: #997A45;
}
.booking-btn--secondary:hover {
  background: #F0E7D0;
  color: #87693a;
}
.booking-btn-label {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.booking-btn-price {
  font-family: "Cormorant Garamond", "Noto Serif JP", serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.booking-btn-price small {
  font-size: 13px;
  font-weight: 400;
  margin-left: 4px;
  opacity: 0.85;
}
.quick-booking-note {
  text-align: center;
  font-size: 12px;
  color: #6c5b3d;
  margin: 28px 0 0;
  line-height: 1.8;
}
.quick-booking-note a {
  color: #997A45;
  text-decoration: underline;
}

/* --- Specialist badges (院長プロフィール) --- */
.specialist-badges {
  display: flex;
  gap: 14px;
  margin: 12px 0 22px;
  flex-wrap: wrap;
}
.badge {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px 16px 14px 56px;
  border: 1px solid #C8A27E;
  border-radius: 4px;
  background: #FAF7F0;
  position: relative;
  min-width: 220px;
  flex: 1 1 220px;
}
.badge-mark {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #997A45;
  color: #FAF7F0;
  font-family: "Cormorant Garamond", serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.badge-title {
  font-family: "Noto Serif JP", serif;
  font-size: 14px;
  font-weight: 600;
  color: #2D2110;
  letter-spacing: 0.03em;
}
.badge-org {
  font-size: 11px;
  color: #6c5b3d;
  letter-spacing: 0.04em;
}


/* --- Certification gallery (認定証写真) --- */
.cert-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 14px 0 26px;
}
@media (max-width: 600px) {
  .cert-gallery {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
.cert-card {
  margin: 0;
  padding: 12px;
  background: #FAF7F0;
  border: 1px solid #E4D4B8;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(45, 33, 16, 0.04);
}
.cert-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  border-radius: 2px;
  display: block;
  background: #FAF7F0;
  padding: 4px;
}
@media (max-width: 600px) {
  .cert-card img { height: 200px; }
}
.cert-caption {
  margin: 12px 4px 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: "Noto Serif JP", serif;
  font-size: 13px;
  font-weight: 500;
  color: #2D2110;
  letter-spacing: 0.04em;
  line-height: 1.6;
}
.cert-line {
  display: block;
  position: relative;
  padding-left: 14px;
}
.cert-line::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 1px;
  background: #997A45;
}

/* ===================================================== */
/* 2a. HERO IMAGE                                         */
/* ===================================================== */
.hero-image-section {
  padding: 0 0 var(--gap-l);
  background: var(--c-bg);
}
.hero-image-figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 3;
  position: relative;
  background: linear-gradient(135deg, var(--c-sub-bg), var(--c-line));
}
.hero-image-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-image-caption {
  position: absolute;
  left: 18px;
  bottom: 14px;
  background: rgba(0,0,0,0.45);
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  letter-spacing: 0.04em;
}
@media (max-width: 767px) {
  .hero-image-figure { aspect-ratio: 4 / 3; }
  .hero-image-caption { font-size: 11px; left: 12px; bottom: 10px; }
}

/* ===================================================== */
/* 7. AUTHORITY (専門性アピール)                          */
/* ===================================================== */
.authority {
  padding: var(--gap-xl) 0;
  background: var(--c-bg);
}
.authority-lead {
  font-size: 15px;
  line-height: 1.9;
  color: var(--c-text-mute);
  margin: 0 0 36px;
}
.authority-figure {
  margin: 0 0 18px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #FFFFFF;
}
.authority-figure img {
  width: 100%;
  height: auto;
  display: block;
}
.authority-source {
  font-size: 11px;
  line-height: 1.7;
  color: var(--c-text-mute);
  margin: 0;
  padding: 0 8px;
  text-align: center;
}
@media (max-width: 767px) {
  .authority { padding: var(--gap-l) 0; }
  .authority-lead { font-size: 14px; }
  .authority-source { font-size: 10px; text-align: left; }
}

/* ===================================================== */
/* 7b. CASE EXPERTISE (相談の多い4領域)                    */
/* ===================================================== */
.case-expertise {
  padding: var(--gap-xl) 0;
  background: var(--c-bg-alt);
}
.case-lead {
  font-size: 15px;
  line-height: 1.95;
  color: var(--c-text-mute);
  margin: 0 0 44px;
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 0 0 32px;
}
@media (max-width: 767px) {
  .case-grid { grid-template-columns: 1fr; gap: 18px; }
}
.case-card {
  padding: 28px 26px;
  background: #FAF7F0;
  border: 1px solid #E4D4B8;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(45, 33, 16, 0.04);
}
.case-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--c-sub-bg);
  color: var(--c-main);
  padding: 0;
  overflow: hidden;
}
.case-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-card-title {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: .04em;
  margin: 0 0 12px;
  color: var(--c-text);
}
.case-card-body {
  font-size: 14px;
  line-height: 1.85;
  color: var(--c-text);
  margin: 0;
}
.case-more {
  font-size: 13px;
  line-height: 1.85;
  color: var(--c-text-mute);
  text-align: center;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--c-line);
}
.case-more a {
  color: var(--c-main);
  font-weight: 600;
  white-space: nowrap;
}

/* === Before/After comparison slider === */
.case-comparison {
  margin: 18px 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(45, 33, 16, 0.08);
}
.case-comparison img-comparison-slider {
  --divider-width: 3px;
  --divider-color: #fff;
  --default-handle-color: var(--c-main);
  --default-handle-width: 56px;
  --default-handle-opacity: 1;
  --default-handle-shadow: 0 0 0 3px var(--c-main), 0 4px 18px rgba(0,0,0,0.45);
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #000;
  overflow: hidden;
}
.case-comparison img-comparison-slider::part(handle) {
  background: var(--c-main) !important;
  border: 3px solid #fff !important;
  width: 56px !important;
  height: 56px !important;
  border-radius: 50% !important;
  box-shadow: 0 0 0 3px var(--c-main), 0 4px 18px rgba(0,0,0,0.45) !important;
}

.case-comparison-cap {
  font-size: 11px;
  color: var(--c-text-mute);
  margin: 6px 0 0;
  text-align: right;
}
.case-comparison-cap a {
  color: var(--c-main);
  margin-left: 8px;
  white-space: nowrap;
}

/* 4カード全て aspect-ratio: 4/3 で統一済み */

/* カード内縦並びをstretchで均等化（並び揃え） */
.case-card {
  display: flex;
  flex-direction: column;
}
.case-card-body {
  flex: 0 0 auto;
}
.case-card .case-comparison {
  margin-top: auto;
}

/* ===================================================== */
/* 7c. AUTHORITY STATS (カウントアップ数値バッジ)        */
/* ===================================================== */
.authority-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 36px 0 8px;
}
@media (max-width: 767px) {
  .authority-stats {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
.stat-card {
  background: #FAF7F0;
  border: 1px solid #E4D4B8;
  border-radius: var(--radius);
  padding: 24px 18px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(45, 33, 16, 0.05);
  position: relative;
}
.stat-card .stat-value {
  font-family: var(--ff-en);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 44px);
  color: var(--c-main);
  letter-spacing: .02em;
  line-height: 1.1;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.stat-card .stat-value .stat-unit {
  font-family: var(--ff-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--c-text);
}
.stat-card .stat-value .stat-plus {
  font-family: var(--ff-en);
  font-size: 24px;
  color: var(--c-main);
  font-weight: 500;
}
.stat-card .stat-label {
  font-family: var(--ff-serif);
  font-size: 13.5px;
  color: var(--c-text);
  margin: 10px 0 0;
  letter-spacing: .04em;
  line-height: 1.6;
}
.stat-card .stat-sub {
  display: block;
  font-size: 11px;
  color: var(--c-text-mute);
  margin-top: 4px;
  letter-spacing: .04em;
}
/* シンプルなテキストのみのstat-card用 */
.stat-card.stat-card--text .stat-value {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: clamp(15px, 2.2vw, 18px);
  color: var(--c-text);
  display: block;
  letter-spacing: .04em;
  line-height: 1.55;
}
.stat-card.stat-card--text .stat-value strong {
  color: var(--c-main);
  font-weight: 600;
}

/* ===================================================== */
/* 7d. ORBIT (総合治療オービット - 円形回転UI)            */
/* ===================================================== */
.orbit-section {
  padding: var(--gap-xl) 0;
  background: var(--c-bg);
}
.orbit-lead {
  font-size: 15px;
  line-height: 1.95;
  color: var(--c-text-mute);
  text-align: center;
  margin: 0 0 36px;
}
.orbit-wrap {
  display: flex;
  justify-content: center;
  margin: 0 0 24px;
}
.orbit {
  position: relative;
  width: 340px;
  height: 340px;
}
@media (max-width: 480px) {
  .orbit { width: 300px; height: 300px; }
}
.orbit .path {
  position: absolute;
  inset: 22px;
  border: 1px dashed rgba(200, 162, 126, .55);
  border-radius: 50%;
}
.orbit .center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: var(--c-main);
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 3;
  border: 1px solid rgba(200, 162, 126, .6);
  box-shadow: 0 4px 16px rgba(153, 122, 69, 0.25);
  text-align: center;
  padding: 8px;
}
@media (max-width: 480px) {
  .orbit .center { width: 118px; height: 118px; }
}
.orbit .center .c-eyebrow {
  font-family: var(--ff-en);
  font-style: italic;
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--c-sub-bg);
}
.orbit .center .c-title {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 17px;
  color: #fff;
  margin-top: 4px;
  letter-spacing: .04em;
  line-height: 1.3;
}
@media (max-width: 480px) {
  .orbit .center .c-title { font-size: 15px; }
}
.orbit .ring {
  position: absolute;
  inset: 0;
  animation: orbit-spin 26s linear infinite;
}
.orbit .arm {
  position: absolute;
  inset: 0;
  transform: rotate(var(--a));
}
.orbit .node {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateY(-132px);
}
@media (max-width: 480px) {
  .orbit .node { transform: translate(-50%, -50%) translateY(-116px); }
}
.orbit .co {
  transform: rotate(calc(-1 * var(--a)));
}
.orbit .chip {
  animation: orbit-spin 26s linear infinite reverse;
  background: #FAF7F0;
  border: 1px solid var(--c-line);
  color: var(--c-text);
  font-family: var(--ff-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .03em;
  padding: 7px 12px;
  border-radius: 20px;
  white-space: nowrap;
  text-align: center;
  box-shadow: 0 2px 8px rgba(45, 33, 16, 0.10);
}
@keyframes orbit-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .orbit .ring, .orbit .chip { animation: none !important; }
}

/* スマホ右見切れ防止: chip + 半径を更に縮小 */
@media (max-width: 480px) {
  .orbit { width: 260px; height: 260px; }
  .orbit .center { width: 108px; height: 108px; }
  .orbit .center .c-title { font-size: 13.5px; }
  .orbit .node { transform: translate(-50%, -50%) translateY(-95px); }
  .orbit .chip { font-size: 10.5px; padding: 4px 7px; letter-spacing: .02em; }
}

.orbit-note {
  font-size: 12px;
  color: var(--c-text-mute);
  text-align: center;
  margin: 0;
  line-height: 1.8;
}


