/* =============================================
   07 - Clinic / Medical
   Calm & Trustworthy — 内科・小児科クリニック向け
   ============================================= */

/* ---- Design Tokens ---- */
:root {
  /* Colors */
  --color-bg:         #FBFCFC;
  --color-bg-tint:    #F1F7F7;
  --color-bg-soft:    #EAF3F3;
  --color-surface:    #FFFFFF;
  --color-text:       #1B2A2E;
  --color-text-sub:   #4E6167;
  --color-text-muted: #7E9198;
  --color-primary:    #167C7C;
  --color-primary-dk: #0F5F5F;
  --color-primary-lt: #4FA8A3;
  --color-primary-05: rgba(22, 124, 124, 0.05);
  --color-primary-10: rgba(22, 124, 124, 0.10);
  --color-primary-20: rgba(22, 124, 124, 0.20);
  --color-accent:     #E8804F;
  --color-accent-lt:  #FBEDE5;
  --color-border:     rgba(27, 42, 46, 0.09);
  --color-border-lt:  rgba(27, 42, 46, 0.05);
  --color-white:      #FFFFFF;

  /* Typography */
  --font-sans: 'Outfit', 'Noto Sans JP', sans-serif;
  --font-jp:   'Noto Sans JP', sans-serif;

  /* Spacing */
  --section-pad-y: clamp(64px, 9vw, 120px);
  --section-pad-x: clamp(20px, 4vw, 56px);
  --container-max: 1180px;
  --header-h:      76px;
  --sample-bar-h:  34px;

  /* Transitions */
  --ease-out:    cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --dur-fast:    0.22s;
  --dur-normal:  0.4s;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(27, 42, 46, 0.05), 0 2px 8px rgba(27, 42, 46, 0.04);
  --shadow-md: 0 4px 12px rgba(27, 42, 46, 0.06), 0 12px 32px rgba(27, 42, 46, 0.06);
  --shadow-lg: 0 8px 24px rgba(27, 42, 46, 0.08), 0 24px 60px rgba(27, 42, 46, 0.08);
}

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.85;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
table { border-collapse: collapse; width: 100%; }

:where(a, button, summary, details):focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---- Scroll reveal ---- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Shared parts ---- */
.label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 14px;
}

.section-heading {
  font-size: clamp(24px, 3.6vw, 38px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: var(--color-text);
}

.section-lead {
  margin-top: 16px;
  color: var(--color-text-sub);
  font-size: 15px;
  line-height: 1.9;
}

.section-head {
  text-align: center;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.section-head .section-lead { max-width: 620px; margin-inline: auto; }

.body-text {
  color: var(--color-text-sub);
  font-size: 15.5px;
  line-height: 2;
  margin-top: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 100px;
  font-family: var(--font-jp);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(22, 124, 124, 0.24);
}
.btn-primary:hover {
  background: var(--color-primary-dk);
  box-shadow: 0 8px 22px rgba(22, 124, 124, 0.3);
}

.btn-ghost {
  background: var(--color-white);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: var(--color-primary-20); }

.btn-white {
  background: var(--color-white);
  color: var(--color-primary-dk);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}
.btn-outline-white {
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: var(--color-white);
}
.btn-outline-white:hover { background: rgba(255, 255, 255, 0.12); }

/* =============================================
   Sample Bar
   ============================================= */
.sample-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--sample-bar-h);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-dk);
  color: var(--color-white);
  font-family: var(--font-jp);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  z-index: 1000;
}

/* =============================================
   Header
   ============================================= */
.header {
  position: fixed;
  top: var(--sample-bar-h);
  left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  z-index: 999;
  transition: box-shadow var(--dur-normal) var(--ease-out),
              border-color var(--dur-normal) var(--ease-out);
}
.header.is-scrolled {
  border-bottom-color: var(--color-border-lt);
  box-shadow: 0 2px 16px rgba(27, 42, 46, 0.05);
}

.header-inner {
  max-width: var(--container-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--section-pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo { display: flex; align-items: center; gap: 11px; min-height: 44px; }
.logo-mark {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-lt));
  color: var(--color-white);
  flex-shrink: 0;
}
.logo-mark svg { width: 19px; height: 19px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.3; }
.logo-name { font-size: 14.5px; font-weight: 700; letter-spacing: 0.01em; }
.logo-en {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--color-text-muted);
}

.nav { display: flex; align-items: center; gap: 26px; }
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-sub);
  transition: color var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.nav-link:hover { color: var(--color-primary); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-tel {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.nav-tel svg { width: 15px; height: 15px; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 100px;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.nav-cta:hover { background: var(--color-primary-dk); transform: translateY(-1px); }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0 10px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}
.menu-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   Hero
   ============================================= */
.hero {
  position: relative;
  padding-top: calc(var(--sample-bar-h) + var(--header-h) + clamp(44px, 7vw, 84px));
  padding-bottom: clamp(60px, 8vw, 100px);
  padding-inline: var(--section-pad-x);
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(170deg, var(--color-bg-tint) 0%, var(--color-bg) 62%);
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.5;
}
.blob-1 {
  width: 460px; height: 460px;
  top: -140px; right: -110px;
  background: radial-gradient(circle, rgba(79, 168, 163, 0.42), transparent 68%);
}
.blob-2 {
  width: 380px; height: 380px;
  bottom: -160px; left: -120px;
  background: radial-gradient(circle, rgba(232, 128, 79, 0.2), transparent 68%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}

.hero-heading {
  /* 「気軽に相談できる場所へ。」が1行に収まる上限に抑える */
  font-size: clamp(27px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.005em;
}
.hero-subtitle {
  margin-top: 22px;
  color: var(--color-text-sub);
  font-size: clamp(14.5px, 1.4vw, 16px);
  line-height: 2.05;
}
.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual { position: relative; }
.hero-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.2;
}
.hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.4s var(--ease-out);
}
.hero-image:hover img { transform: scale(1.06); }
.hero-watermark {
  position: absolute;
  right: 14px; bottom: 10px;
  font-family: var(--font-sans);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.28);
  pointer-events: none;
  line-height: 1;
}

.hero-card {
  position: absolute;
  left: clamp(-8px, -1vw, 0px);
  bottom: clamp(-18px, -2vw, -10px);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 20px 26px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border-lt);
  min-width: 218px;
}
.hero-card-title {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 10px;
}
.hero-card-time {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.8;
}
.hero-card-time span {
  font-family: var(--font-jp);
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-muted);
  min-width: 26px;
}
.hero-card-note {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--color-border-lt);
  font-size: 12px;
  color: var(--color-text-muted);
}

/* =============================================
   Quick Info
   ============================================= */
.quick {
  padding-inline: var(--section-pad-x);
  margin-top: clamp(16px, 3vw, 36px);
}
.quick-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.quick-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-lt);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
}
.quick-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-20);
}
.quick-icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--color-bg-soft);
  color: var(--color-primary);
  flex-shrink: 0;
}
.quick-icon svg { width: 21px; height: 21px; }
.quick-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.quick-title { font-size: 14.5px; font-weight: 700; line-height: 1.6; }
.quick-desc { font-size: 12.5px; color: var(--color-text-muted); line-height: 1.6; }
.quick-arrow {
  color: var(--color-primary);
  font-size: 15px;
  flex-shrink: 0;
  transition: transform var(--dur-fast) var(--ease-out);
}
.quick-item:hover .quick-arrow { transform: translateX(4px); }

/* =============================================
   News
   ============================================= */
.news {
  padding-block: var(--section-pad-y);
  padding-inline: var(--section-pad-x);
}
.news-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.news-list { display: grid; gap: 4px; }
.news-item {
  display: grid;
  grid-template-columns: 96px 76px 1fr;
  align-items: center;
  gap: 16px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--color-border-lt);
}
.news-item time {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}
.news-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.news-tag-info { background: var(--color-bg-soft); color: var(--color-primary-dk); }
.news-tag-alert { background: var(--color-accent-lt); color: #B85A28; }
.news-item p { font-size: 14.5px; color: var(--color-text-sub); line-height: 1.75; }

/* =============================================
   About
   ============================================= */
.about {
  padding-block: var(--section-pad-y);
  padding-inline: var(--section-pad-x);
  background: var(--color-bg-tint);
}
.about-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.about-media { position: relative; }
.about-media img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.about-badge {
  position: absolute;
  right: clamp(-10px, -1.2vw, 0px);
  bottom: 30px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  box-shadow: 0 10px 30px rgba(22, 124, 124, 0.3);
  display: flex;
  align-items: baseline;
  gap: 8px;
  max-width: 210px;
}
.about-badge-num {
  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
}
.about-badge-label { font-size: 12.5px; line-height: 1.6; opacity: 0.94; }

.about-points { margin-top: 30px; display: grid; gap: 12px; }
.about-points li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
}
.about-points svg {
  width: 18px; height: 18px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 5px;
}

/* =============================================
   Departments
   ============================================= */
.departments {
  padding-block: var(--section-pad-y);
  padding-inline: var(--section-pad-x);
}
.departments-inner { max-width: var(--container-max); margin: 0 auto; }
.dep-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.dep-card {
  padding: 30px 26px 28px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-lt);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-normal) var(--ease-out),
              box-shadow var(--dur-normal) var(--ease-out),
              border-color var(--dur-normal) var(--ease-out);
}
.dep-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-20);
}
.dep-icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--color-bg-soft), #DDEDEC);
  color: var(--color-primary);
  margin-bottom: 18px;
}
.dep-icon svg { width: 25px; height: 25px; }
.dep-title { font-size: 18px; font-weight: 700; line-height: 1.5; }
.dep-desc {
  margin-top: 10px;
  font-size: 13.8px;
  color: var(--color-text-sub);
  line-height: 1.85;
}
.dep-tags {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border-lt);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.dep-tags li {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--color-primary-dk);
  background: var(--color-primary-05);
  padding: 4px 10px;
  border-radius: 100px;
}

/* =============================================
   Features
   ============================================= */
.features {
  padding-block: var(--section-pad-y);
  padding-inline: var(--section-pad-x);
  background: var(--color-bg-tint);
}
.features-inner { max-width: var(--container-max); margin: 0 auto; }
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 30px);
}
.feat-item {
  position: relative;
  padding: 34px 30px 32px;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.feat-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-lt));
}
.feat-num {
  font-family: var(--font-sans);
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-primary-10);
  letter-spacing: 0.01em;
}
.feat-title {
  margin-top: 12px;
  font-size: 18.5px;
  font-weight: 700;
  line-height: 1.55;
}
.feat-desc {
  margin-top: 12px;
  font-size: 14.2px;
  color: var(--color-text-sub);
  line-height: 1.95;
}

/* =============================================
   Doctor
   ============================================= */
.doctor {
  padding-block: var(--section-pad-y);
  padding-inline: var(--section-pad-x);
}
.doctor-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(30px, 5vw, 68px);
  align-items: center;
}
.doctor-media img {
  width: 100%;
  aspect-ratio: 3 / 3.6;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}
.doctor-profile {
  margin-top: 28px;
  padding: 22px 24px;
  background: var(--color-bg-tint);
  border-radius: var(--radius-md);
  display: grid;
  gap: 12px;
}
.doctor-profile > div {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 14px;
  align-items: start;
}
.doctor-profile dt {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-primary-dk);
  letter-spacing: 0.04em;
  line-height: 1.9;
}
.doctor-profile dd {
  font-size: 13.8px;
  color: var(--color-text-sub);
  line-height: 1.9;
}
.doctor-name {
  margin-top: 22px;
  font-size: 14px;
  color: var(--color-text-muted);
}
.doctor-name strong {
  font-size: 19px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.04em;
}

/* =============================================
   Schedule
   ============================================= */
.schedule {
  padding-block: var(--section-pad-y);
  padding-inline: var(--section-pad-x);
  background: var(--color-bg-tint);
}
.schedule-inner { max-width: 940px; margin: 0 auto; }

.table-wrap {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.sch-table { min-width: 620px; }
.sch-table th, .sch-table td {
  padding: 17px 12px;
  text-align: center;
  border-bottom: 1px solid var(--color-border-lt);
}
.sch-table thead th {
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-bottom: none;
}
.sch-table thead th:first-child { text-align: left; padding-left: 24px; }
.sch-table tbody th {
  text-align: left;
  padding-left: 24px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
}
.sch-table tbody tr:last-child th,
.sch-table tbody tr:last-child td { border-bottom: none; }
.mark-o { color: var(--color-primary); font-size: 15px; }
.mark-x { color: var(--color-text-muted); font-size: 15px; }

.sch-notes {
  margin-top: 24px;
  padding: 22px 26px;
  background: var(--color-surface);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-sm);
  display: grid;
  gap: 8px;
}
.sch-notes p { font-size: 13.8px; color: var(--color-text-sub); line-height: 1.85; }
.sch-notes strong { color: var(--color-text); font-weight: 700; margin-right: 4px; }

/* =============================================
   First Visit
   ============================================= */
.first {
  padding-block: var(--section-pad-y);
  padding-inline: var(--section-pad-x);
}
.first-inner { max-width: var(--container-max); margin: 0 auto; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 28px 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-lt);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.step-num {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 15px;
}
.step-title { font-size: 16.5px; font-weight: 700; line-height: 1.5; }
.step-desc {
  margin-top: 9px;
  font-size: 13.5px;
  color: var(--color-text-sub);
  line-height: 1.85;
}

.first-note {
  margin-top: 26px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 20px 24px;
  background: var(--color-accent-lt);
  border-radius: var(--radius-md);
}
.first-note svg {
  width: 21px; height: 21px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 3px;
}
.first-note p { font-size: 14px; color: #8A4A24; line-height: 1.85; }
.first-note strong { font-weight: 700; }

/* =============================================
   FAQ
   ============================================= */
.faq {
  padding-block: var(--section-pad-y);
  padding-inline: var(--section-pad-x);
  background: var(--color-bg-tint);
}
.faq-inner { max-width: 840px; margin: 0 auto; }
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border-lt);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--dur-fast) var(--ease-out);
}
.faq-item[open] { box-shadow: var(--shadow-sm); }
.faq-item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.7;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  position: absolute;
  right: 24px; top: 50%;
  width: 11px; height: 11px;
  border-right: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  transform: translateY(-70%) rotate(45deg);
  transition: transform var(--dur-fast) var(--ease-out);
}
.faq-item[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
.faq-item p {
  padding: 0 24px 22px;
  font-size: 14.2px;
  color: var(--color-text-sub);
  line-height: 1.95;
}

/* =============================================
   Access
   ============================================= */
.access {
  padding-block: var(--section-pad-y);
  padding-inline: var(--section-pad-x);
}
.access-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
}
.access-list { margin-top: 26px; display: grid; gap: 18px; }
.access-list > div {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--color-border-lt);
}
.access-list > div:last-child { border-bottom: none; padding-bottom: 0; }
.access-list dt {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary-dk);
  letter-spacing: 0.04em;
  line-height: 1.9;
}
.access-list dd { font-size: 14.5px; color: var(--color-text-sub); line-height: 1.9; }
.access-tel {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}

.access-map {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.map-placeholder {
  aspect-ratio: 4 / 3;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  padding: 30px;
  text-align: center;
  background:
    linear-gradient(135deg, var(--color-bg-soft), var(--color-bg-tint)),
    repeating-linear-gradient(45deg, transparent, transparent 18px, rgba(22,124,124,0.03) 18px, rgba(22,124,124,0.03) 36px);
  color: var(--color-primary-dk);
}
.map-placeholder svg { width: 40px; height: 40px; opacity: 0.5; }
.map-placeholder p { font-size: 14.5px; font-weight: 600; }
.map-placeholder span { font-size: 12px; color: var(--color-text-muted); }

/* =============================================
   Reserve CTA
   ============================================= */
.reserve {
  position: relative;
  padding-block: clamp(66px, 9vw, 110px);
  padding-inline: var(--section-pad-x);
  background: linear-gradient(135deg, var(--color-primary-dk), var(--color-primary) 55%, var(--color-primary-lt));
  color: var(--color-white);
  overflow: hidden;
  text-align: center;
}
.reserve::before {
  content: '';
  position: absolute;
  width: 520px; height: 520px;
  top: -220px; right: -140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
}
.reserve::after {
  content: '';
  position: absolute;
  width: 340px; height: 340px;
  bottom: -180px; left: -80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}
.reserve-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.reserve-heading {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 700;
  line-height: 1.5;
}
.reserve-lead {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.95;
  opacity: 0.92;
}
.reserve-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  justify-content: center;
}
.sp-only { display: none; }

/* =============================================
   Footer
   ============================================= */
.footer {
  padding-inline: var(--section-pad-x);
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.82);
}
.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-block: clamp(40px, 5vw, 60px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}
.footer-name { font-size: 16px; font-weight: 700; color: var(--color-white); }
.footer-en {
  margin-top: 4px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.45);
}
.footer-address {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.6);
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 0 40px;
  align-content: start;
}
.footer-nav a {
  /* スマホでのタップ領域を44px以上確保する */
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
  transition: color var(--dur-fast) var(--ease-out);
}
.footer-nav a:hover { color: var(--color-white); }

.footer-bottom {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-block: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-bottom p {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.02em;
}

/* =============================================
   Mobile fixed CTA
   ============================================= */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 998;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--color-border-lt);
  gap: 10px;
}
.mobile-cta a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 50px;
  border-radius: 100px;
  font-size: 14.5px;
  font-weight: 600;
}
.mobile-cta svg { width: 17px; height: 17px; }
.mobile-cta-tel {
  background: var(--color-surface);
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary-20);
}
.mobile-cta-reserve {
  background: var(--color-primary);
  color: var(--color-white);
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 1024px) {
  .nav-link { display: none; }
  .dep-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .feat-grid { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
  .about-inner,
  .doctor-inner,
  .access-inner { grid-template-columns: 1fr; }
  .about-media, .doctor-media { max-width: 520px; }
  .news-inner { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .quick-inner { grid-template-columns: 1fr; }
  .nav-actions { display: none; }
  .menu-toggle { display: flex; }

  .nav {
    position: fixed;
    top: calc(var(--sample-bar-h) + var(--header-h));
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 24px;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur-normal) var(--ease-out),
                transform var(--dur-normal) var(--ease-out),
                visibility var(--dur-normal);
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-link {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0 4px;
    font-size: 15.5px;
    border-bottom: 1px solid var(--color-border-lt);
  }
  .nav-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 18px;
  }
  .nav-tel { justify-content: center; font-size: 19px; }
  .nav-cta { justify-content: center; min-height: 50px; }

  .news-item {
    grid-template-columns: auto auto;
    grid-template-areas: 'date tag' 'text text';
    gap: 8px 12px;
    padding: 16px 4px;
    justify-content: start;
  }
  .news-item time { grid-area: date; }
  .news-tag { grid-area: tag; }
  .news-item p { grid-area: text; }

  .hero-card { position: static; margin-top: 16px; min-width: 0; }
  .about-badge { right: 10px; bottom: 12px; }

  .doctor-profile > div,
  .access-list > div { grid-template-columns: 1fr; gap: 2px; }

  .footer-inner { flex-direction: column; }
  .sp-only { display: block; }

  .mobile-cta { display: flex; }
  body { padding-bottom: 74px; }
  .back-to-samples { bottom: 84px !important; }
}

@media (max-width: 560px) {
  .dep-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
  .reserve-actions { flex-direction: column; }
  .about-badge {
    position: static;
    margin-top: -30px;
    margin-left: 16px;
    max-width: none;
    width: fit-content;
  }
}
