:root {
  --teal: #6d747c;
  --teal-dark: #4a5159;
  --teal-soft: #fff8df;
  --red: #d9232e;
  --yellow: #f7c927;
  --ink: #4a5159;
  --muted: #7a828b;
  --line: #e6e2d8;
  --paper: #ffffff;
  --wash: #f7f7f5;
  --cream: #fff8df;
  --blue-gray: #f0f2f3;
  --shadow: 0 24px 70px rgba(74, 81, 89, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

[id] {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  background:
    radial-gradient(circle at 78% 12%, rgba(247, 201, 39, 0.16), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, var(--wash) 58%, #ffffff 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px clamp(18px, 3vw, 44px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(230, 235, 239, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  overflow: hidden;
  line-height: 0;
}

.brand img {
  display: block;
  width: min(320px, 32vw);
  height: auto;
}

.header-nav {
  display: flex;
  align-items: stretch;
  color: var(--ink);
  font-size: clamp(14px, 1.45vw, 19px);
  font-weight: 700;
}

.header-nav a,
.nav-dropdown-button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 clamp(12px, 1.55vw, 22px);
  border-left: 1px solid var(--line);
  border-top: 0;
  border-bottom: 0;
  border-right: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  white-space: nowrap;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}

.header-nav > a:last-child {
  border-right: 1px solid var(--line);
}

.header-nav a:hover,
.nav-dropdown-button:hover,
.nav-dropdown-button[aria-expanded="true"] {
  color: var(--red);
  background: rgba(247, 201, 39, 0.12);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-button::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 40;
  display: grid;
  width: min(360px, 88vw);
  padding: 10px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 20px 52px rgba(74, 81, 89, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
}

.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

.nav-toggle {
  display: none;
}

.nav-dropdown-menu a {
  display: block;
  min-height: auto;
  padding: 11px 12px;
  border: 0;
  border-radius: 10px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus {
  color: var(--red);
  background: var(--cream);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: start;
  gap: clamp(32px, 5vw, 72px);
  min-height: calc(100svh - 96px);
  padding: 58px clamp(18px, 5vw, 72px) 54px;
  overflow: hidden;
}

.subpage-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  align-items: center;
  gap: clamp(30px, 5vw, 68px);
  min-height: 78svh;
  padding: 42px clamp(18px, 5vw, 72px) 72px;
  background:
    linear-gradient(135deg, rgba(247, 201, 39, 0.15), transparent 40%),
    #fff;
}

.subpage-hero-copy {
  max-width: 760px;
}

.subpage-hero-copy .lead {
  max-width: 36em;
  line-height: 1.9;
}

.subpage-hero-photo {
  min-height: min(58vh, 560px);
  margin: 0;
  overflow: hidden;
  border-radius: 0 0 0 58px;
  box-shadow: var(--shadow);
}

.subpage-hero-photo img {
  display: block;
  width: 100%;
  height: min(58vh, 560px);
  min-height: 460px;
  object-fit: cover;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--red);
  font-family: "Outfit", "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 28px;
  max-width: 22em;
  font-size: clamp(24px, 2.7vw, 36px);
  font-weight: 800;
  line-height: 1.38;
}

.hero-catch {
  margin-bottom: 22px;
  max-width: 11em;
  color: var(--ink);
  font-size: clamp(36px, 5.1vw, 68px);
  font-weight: 800;
  line-height: 1.22;
}

.lead {
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(19px, 2.2vw, 25px);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-news-ticker {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(100%, 620px);
  margin-top: 22px;
  padding: 13px 18px;
  color: var(--ink);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(226, 218, 207, 0.9);
  border-radius: 999px;
  box-shadow: 0 18px 42px rgba(24, 38, 52, 0.08);
  backdrop-filter: blur(10px);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.hero-news-ticker:hover {
  transform: translateY(-2px);
  border-color: rgba(224, 30, 44, 0.25);
  box-shadow: 0 22px 48px rgba(24, 38, 52, 0.12);
}

.hero-news-label {
  flex: 0 0 auto;
  padding: 5px 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  background: var(--red);
  border-radius: 999px;
}

.hero-news-text {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: clamp(14px, 1.35vw, 16px);
  font-weight: 800;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-news-arrow {
  flex: 0 0 auto;
  margin-left: auto;
  color: var(--red);
  font-family: "Outfit", "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: 800;
}

.intro-text {
  padding: 38px clamp(18px, 5vw, 72px);
  background: #fff;
}

.intro-text p {
  max-width: 1040px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 19px);
  font-weight: 700;
  line-height: 2;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 20px rgba(24, 38, 52, 0.15);
}

.button-primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 16px 34px rgba(217, 35, 46, 0.24);
}

.button-light {
  background: rgba(255, 255, 255, 0.86);
  border-color: var(--line);
}

.button-teal {
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 0 16px 34px rgba(247, 201, 39, 0.22);
}

.hero-visual {
  position: relative;
}

.image-reveal {
  position: relative;
  isolation: isolate;
  min-height: min(66vh, 660px);
  overflow: hidden;
  border-radius: 0 0 0 64px;
  box-shadow: var(--shadow);
  clip-path: inset(0 0 0 0);
  transition: border-radius 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  clip-path: inset(0 0 0 100%);
  width: 100%;
  height: min(66vh, 660px);
  min-height: 520px;
  object-fit: cover;
  object-position: center;
  transform: scale(1.045);
  transition: opacity 420ms ease, clip-path 2100ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-slide-exterior {
  object-position: left center;
}

.hero-slide-reception {
  object-position: right center;
}

.hero-slide.is-active.is-visible {
  opacity: 1;
  z-index: 1;
  clip-path: inset(0 0 0 0);
}

.hero-slide.is-zooming {
  animation: imageEaseSlow 2450ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.image-reveal::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.34), transparent 44%);
  z-index: 3;
}

.reveal-mask {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: linear-gradient(90deg, #ffffff 0%, #f8fbfc 72%, rgba(255, 255, 255, 0) 100%);
  transform: translateX(0);
  opacity: 0;
}

.reveal-mask.is-running {
  opacity: 1;
  animation: maskSlideSlow 2100ms cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

.hero-philosophy {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: clamp(26px, 5vw, 62px);
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px) scale(1.025);
  filter: blur(18px);
  transition:
    opacity 820ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 820ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 820ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.hero-philosophy::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(24, 38, 52, 0) 36%, rgba(24, 38, 52, 0.46) 100%),
    linear-gradient(90deg, rgba(24, 38, 52, 0.5) 0%, rgba(24, 38, 52, 0.08) 56%, rgba(24, 38, 52, 0) 100%);
  opacity: 0;
  transition: opacity 820ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-philosophy::after {
  position: absolute;
  left: clamp(26px, 5vw, 62px);
  bottom: clamp(20px, 4vw, 48px);
  width: min(46vw, 520px);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(224, 30, 44, 0.62), transparent);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition:
    opacity 720ms ease,
    transform 1200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-philosophy.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.hero-philosophy.is-leaving {
  opacity: 0;
  transform: translateY(-10px) scale(0.992);
  filter: blur(7px);
  transition:
    opacity 1450ms cubic-bezier(0.76, 0, 0.24, 1),
    transform 1450ms cubic-bezier(0.76, 0, 0.24, 1),
    filter 1450ms cubic-bezier(0.76, 0, 0.24, 1);
}

.hero-philosophy.is-visible::before {
  opacity: 1;
}

.hero-philosophy.is-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.hero-philosophy-kicker {
  position: relative;
  z-index: 1;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-family: "Outfit", "Noto Sans JP", sans-serif;
  font-size: clamp(11px, 1.1vw, 14px);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-philosophy-text {
  position: relative;
  z-index: 1;
  max-width: min(92%, 720px);
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(44px, 7vw, 104px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.02;
  text-shadow: 0 20px 44px rgba(0, 0, 0, 0.34);
}

.hero-philosophy.is-final {
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-philosophy.is-final::before {
  background:
    radial-gradient(circle at 50% 48%, rgba(224, 30, 44, 0.18), transparent 32%),
    linear-gradient(180deg, rgba(24, 38, 52, 0.18), rgba(24, 38, 52, 0.5));
}

.hero-philosophy.is-final::after {
  left: 50%;
  bottom: clamp(72px, 12vw, 128px);
  width: min(64vw, 760px);
  transform-origin: center;
}

.hero-philosophy.is-final.is-leaving::after {
  top: 50%;
  left: 50%;
  bottom: auto;
  width: min(76vw, 860px);
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.18) 24%, #fff 48%, rgba(224, 30, 44, 0.82) 58%, transparent 100%);
  box-shadow:
    0 0 22px rgba(255, 255, 255, 0.84),
    0 0 44px rgba(224, 30, 44, 0.26);
  transform: translate(-50%, -50%) scaleX(0);
  transform-origin: left center;
  animation: philosophySlitOut 1300ms cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

.hero-philosophy.is-final .hero-philosophy-kicker {
  margin-bottom: 18px;
}

.hero-philosophy.is-final .hero-philosophy-text {
  max-width: min(86%, 900px);
  font-size: clamp(32px, 4.4vw, 70px);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.16;
  white-space: pre-line;
}

.hero-philosophy.is-final.is-leaving .hero-philosophy-text {
  animation: philosophyTextWipeOut 1300ms cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

.hero-status {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  min-height: 64px;
  margin-top: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(24, 38, 52, 0.14);
  font-weight: 800;
  opacity: 0;
  transform: translateY(16px);
  animation: floatIn 700ms ease 1050ms forwards;
}

.hero-status-text {
  flex: 1 1 220px;
  min-width: 0;
}

.hero-status-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 60px;
  padding: 10px 20px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.hero-status-link:hover,
.hero-status-link:focus-visible {
  background: var(--wash);
}

.status-dot {
  width: 13px;
  height: 13px;
  background: var(--yellow);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(247, 201, 39, 0.34);
}

.reveal-item {
  opacity: 0;
  transform: translateY(22px);
}

.is-ready .reveal-item {
  animation: floatIn 720ms ease forwards;
}

.is-ready .reveal-item:nth-child(1) {
  animation-delay: 120ms;
}

.is-ready .reveal-item:nth-child(2) {
  animation-delay: 240ms;
}

.is-ready .reveal-item:nth-child(3) {
  animation-delay: 360ms;
}

.is-ready .reveal-item:nth-child(4) {
  animation-delay: 520ms;
}

.symptoms {
  padding: 72px clamp(18px, 5vw, 72px) 78px;
  background: #fff;
}

.section-lead {
  max-width: 760px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.symptom-group {
  max-width: 1120px;
  margin: 0 auto;
}

.symptom-group + .symptom-group {
  margin-top: 52px;
}

.symptom-group-title {
  margin: 0 0 18px;
  padding-left: 14px;
  border-left: 5px solid var(--red);
  font-size: 24px;
  line-height: 1.4;
}

.body-part-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.body-part-card {
  min-width: 0;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(24, 38, 52, 0.06);
}

.body-part-heading {
  display: flex;
  gap: 14px;
  align-items: center;
}

.body-part-heading .icon,
.purpose-card .icon {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 8px;
}

.body-part-heading h4 {
  margin: 0;
  font-size: 20px;
  line-height: 1.4;
}

.body-part-card > p {
  min-height: 52px;
  margin: 14px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.body-part-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.body-part-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 10px;
  color: var(--ink);
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.body-part-links a::after {
  margin-left: 6px;
  color: var(--red);
  content: "›";
}

.body-part-links a:hover {
  border-color: rgba(217, 35, 46, 0.35);
}

.purpose-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.purpose-card {
  display: flex;
  gap: 14px;
  align-items: center;
  min-width: 0;
  min-height: 104px;
  padding: 18px;
  background: #f9fbfc;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.purpose-card:hover {
  transform: translateY(-3px);
  border-color: rgba(217, 35, 46, 0.28);
  box-shadow: 0 12px 30px rgba(24, 38, 52, 0.08);
}

.purpose-card > span:last-child {
  min-width: 0;
}

.purpose-card strong,
.purpose-card small {
  display: block;
}

.purpose-card strong {
  font-size: 17px;
  line-height: 1.45;
}

.purpose-card small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.home-faq {
  padding: 72px clamp(18px, 5vw, 72px) 82px;
  background: var(--wash);
}

.home-faq .faq-list {
  display: grid;
  gap: 10px;
  max-width: 920px;
  margin: 0 auto;
}

.home-faq .faq-item {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.home-faq .faq-item summary {
  position: relative;
  padding: 20px 52px 20px 22px;
  font-weight: 700;
  line-height: 1.7;
  cursor: pointer;
  list-style: none;
}

.home-faq .faq-item summary::-webkit-details-marker {
  display: none;
}

.home-faq .faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 20px;
  color: var(--red);
  font-size: 24px;
  content: "+";
  transform: translateY(-50%);
}

.home-faq .faq-item[open] summary::after {
  content: "−";
}

.home-faq .faq-answer {
  padding: 0 22px 20px;
  color: var(--muted);
  line-height: 1.9;
}

.home-faq .faq-answer p {
  margin: 0;
}

.home-faq .faq-answer p + p {
  margin-top: 8px;
}

.equipment-section {
  padding: 72px clamp(18px, 5vw, 72px) 84px;
  background: #fff;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
}

.equipment-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 14px 42px rgba(24, 38, 52, 0.08);
}

.equipment-card figure {
  aspect-ratio: 3 / 2;
  margin: 0;
  overflow: hidden;
  background: var(--wash);
}

.equipment-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.equipment-card div {
  padding: 22px 24px 26px;
}

.equipment-kicker {
  margin-bottom: 8px;
  color: var(--red);
  font-family: "Outfit", "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.equipment-card h3 {
  margin: 0 0 10px;
  font-size: clamp(21px, 2vw, 26px);
  line-height: 1.45;
}

.equipment-card p:last-child {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.8;
}

.rehab-note-section {
  padding: 74px clamp(18px, 5vw, 72px);
  background: var(--wash);
}

.rehab-note {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 48px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 14px 42px rgba(24, 38, 52, 0.07);
  text-align: center;
}

.rehab-note h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3.6vw, 44px);
}

.rehab-note p:not(.eyebrow) {
  margin: 0 auto 18px;
  max-width: 42em;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.9;
}

.section-heading {
  max-width: 880px;
  margin: 0 auto 28px;
  text-align: center;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.28;
}

.symptom-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
}

.symptom-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 4px 16px;
  align-items: center;
  min-height: 132px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(247, 201, 39, 0.12), transparent 48%),
    #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(24, 38, 52, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.symptom-card:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 35, 46, 0.24);
  box-shadow: 0 18px 42px rgba(24, 38, 52, 0.1);
}

.icon {
  grid-row: span 2;
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  color: #fff;
  background: #6d747c;
  overflow: hidden;
  border-radius: 18px;
  font-size: 18px;
  font-weight: 800;
}

.icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.symptom-card strong {
  font-size: 19px;
}

.symptom-card small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.sticky-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 30;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 18px 48px rgba(24, 38, 52, 0.18);
  backdrop-filter: blur(14px);
  transition: transform 0.3s ease, opacity 0.25s ease, width 0.25s ease;
}

.sticky-cta.is-hidden {
  transform: translateY(calc(100% + 32px));
}

.sticky-cta a {
  min-width: 96px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.sticky-cta a.is-context-hidden {
  display: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.sticky-cta.is-context-empty {
  opacity: 0;
  pointer-events: none;
}

.sticky-cta.is-hero-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.sticky-cta a:first-child {
  color: #fff;
  background: var(--red);
  box-shadow: 0 10px 24px rgba(217, 35, 46, 0.22);
}

.sticky-cta a:not(:first-child) {
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(230, 226, 216, 0.9);
}

/* Right-side links on desktop. */
.floating-menu {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 28;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateY(-50%);
  transition: opacity 180ms ease;
}
.floating-menu a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 64px;
  min-height: 128px;
  padding: 10px 12px;
  color: #fff;
  background: #4a5159;
  border-radius: 10px 0 0 10px;
  box-shadow: 0 6px 18px rgba(74, 81, 89, .14);
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
}
.floating-menu a span {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  line-height: 1.2;
}
.floating-menu img {
  display: block;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.floating-menu a:hover,
.floating-menu a:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: -3px;
}
.floating-menu a.fm-line {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-right: 0;
}
.floating-menu a.fm-column { background: var(--red); }
.floating-menu a.fm-instagram {
  color: #4a5159;
  background: #fff;
  border: 1px solid var(--line);
  border-right: 0;
}
.floating-menu a.is-context-hidden { display: none; }
.floating-menu.is-context-empty { visibility: hidden; pointer-events: none; }
.floating-menu.is-hero-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
@media (max-width: 980px) {
  .floating-menu { display: none; }
}
@media (min-width: 981px) and (max-height: 760px) {
  .floating-menu a {
    flex-direction: row;
    width: 150px;
    min-height: 64px;
  }
  .floating-menu a span { writing-mode: horizontal-tb; }
}

.accident-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto 72px;
  padding: 34px clamp(22px, 4vw, 46px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 42%),
    var(--red);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(217, 35, 46, 0.22);
}

.accident-banner .eyebrow,
.accident-banner h2 {
  color: #fff;
}

.accident-banner h2 {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 42px);
}

.accident-banner .button-primary {
  color: var(--red);
  background: #fff;
  box-shadow: none;
  white-space: nowrap;
}

.info-section,
.instagram-section {
  padding: 72px clamp(18px, 5vw, 72px);
  background: var(--wash);
}

.info-section + .info-section {
  padding-top: 18px;
}

/* ホーム上部の受診案内は、紹介文へ自然につながる密度にする */
.home-info-section {
  padding-top: 50px;
  padding-bottom: 42px;
}

.home-info-section + .home-info-section {
  padding-top: 14px;
  padding-bottom: 52px;
}

.home-info-section .section-heading {
  margin-bottom: 22px;
}

.home-info-section .section-heading h2 {
  font-size: clamp(30px, 3.2vw, 42px);
}

.home-info-section .status-panel strong {
  font-size: clamp(20px, 2.2vw, 27px);
  line-height: 1.5;
}

.mobile-hours-summary {
  display: none;
}

.instagram-section {
  background: #fff;
}

.status-panel,
.instagram-placeholder {
  max-width: 900px;
  margin: 0 auto;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 14px 42px rgba(24, 38, 52, 0.07);
  text-align: center;
}

.hours-layout,
.access-layout {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
}

.status-panel-left {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  max-width: none;
  margin: 0;
  text-align: left;
}

.schedule-wrap {
  overflow-x: auto;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 14px 42px rgba(24, 38, 52, 0.07);
}

.schedule-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 16px;
  font-weight: 800;
}

.schedule-table th,
.schedule-table td {
  width: 12.5%;
  padding: 16px 12px;
  border: 1px solid var(--line);
  text-align: center;
}

.schedule-table thead th {
  color: #fff;
  background: #6d747c;
}

.schedule-table tbody th {
  color: var(--ink);
  background: var(--cream);
}

.schedule-table td {
  color: var(--ink);
  background: #fff;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  margin-top: 12px;
  color: var(--ink);
  font-weight: 800;
}

.text-link::before {
  content: ">";
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-right: 8px;
  color: #fff;
  background: var(--red);
  border-radius: 50%;
  font-size: 14px;
}

.access-layout {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr) minmax(260px, 0.72fr);
}

/* 診療時間・アクセス（PCのみ・共通） */
@media (min-width: 981px) {
  .hours-layout {
    align-items: stretch;
  }

  .hours-layout .schedule-wrap {
    display: flex;
    align-items: center;
  }

  .access-layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
    align-items: stretch;
    max-width: 1000px;
  }
}

.access-copy,
.map-placeholder,
.access-photo {
  min-height: 280px;
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 14px 42px rgba(24, 38, 52, 0.07);
}

.access-copy {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
}

.access-copy strong {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.6;
}

.access-copy p {
  margin-bottom: 10px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.7;
}

.access-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(32, 37, 44, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(32, 37, 44, 0.06) 1px, transparent 1px),
    var(--wash);
  background-size: 28px 28px;
  text-align: center;
}

.map-placeholder span {
  font-family: "Outfit", "Noto Sans JP", sans-serif;
  font-size: 24px;
  font-weight: 800;
}

.map-placeholder small {
  color: var(--muted);
  font-weight: 700;
}

.simple-link-section {
  display: grid;
  place-items: center;
  padding: 72px clamp(18px, 5vw, 72px);
  background: #fff;
  text-align: center;
}

.social-section {
  padding: 72px clamp(18px, 5vw, 72px);
  background: #fff;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.social-card {
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 24px;
  text-align: center;
}

.social-card h3 {
  margin: 0 0 18px;
  font-size: 24px;
}

.social-card p {
  line-height: 1.8;
}

.line-qr {
  display: block;
  width: 200px;
  max-width: 100%;
  height: auto;
  margin: 24px auto;
}

.button-line {
  color: #fff;
  background: #087c36;
}

.social-card .button {
  max-width: 100%;
  white-space: normal;
}

.social-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.doctor-intro {
  margin: 20px 0 24px;
  line-height: 1.9;
}

.clinic-reasons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 20px;
  max-width: 1120px;
  margin: 0 auto;
  text-align: left;
}

.clinic-reasons article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--cream);
}

.clinic-reasons h3 {
  margin: 0 0 12px;
  font-size: 21px;
}

.clinic-reasons p {
  margin: 0;
  line-height: 1.8;
}

.doctor-section {
  padding: 72px clamp(18px, 5vw, 72px);
  background: var(--wash);
}

.doctor-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 18px 52px rgba(24, 38, 52, 0.09);
}

.doctor-card figure {
  height: 360px;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
}

.doctor-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctor-card h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 3.8vw, 44px);
}

.news-column-section {
  padding: 72px clamp(18px, 5vw, 72px);
  background: #fff;
}

.content-pair {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: 22px;
  max-width: 1120px;
  margin: 0 auto;
}

.news-block,
.column-block {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 14px 42px rgba(24, 38, 52, 0.07);
}

.block-heading h2 {
  margin-bottom: 20px;
  font-size: clamp(28px, 3vw, 40px);
}

.list-cards {
  display: grid;
  gap: 10px;
}

.list-cards article {
  padding: 16px;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.list-cards time {
  display: block;
  margin-bottom: 6px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
}

.list-cards h3,
.column-card h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
}

.column-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.column-card {
  overflow: hidden;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.column-card img {
  display: block;
  width: 100%;
  height: 128px;
  object-fit: cover;
}

.column-card span {
  display: inline-flex;
  margin: 14px 14px 8px;
  padding: 4px 10px;
  color: var(--ink);
  background: var(--cream);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.column-card h3 {
  padding: 0 14px 16px;
}

.status-panel strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: clamp(22px, 3vw, 32px);
}

.status-panel p,
.instagram-placeholder p {
  margin-bottom: 12px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.7;
}

.status-panel small {
  color: var(--muted);
}

.site-footer {
  padding: 64px clamp(18px, 5vw, 72px) 112px;
  color: #fff;
  background: #5f6770;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto 42px;
}

.site-footer h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 18px;
}

.site-footer p {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
}

.footer-links a {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.46);
  text-underline-offset: 4px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #fff;
  text-decoration-color: currentColor;
}

.footer-clinic {
  max-width: 1120px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.footer-clinic strong {
  display: block;
  margin-bottom: 14px;
  font-size: 22px;
}

.footer-clinic small {
  display: block;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.72);
}

@keyframes floatIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes maskSlideSlow {
  to {
    transform: translateX(112%);
    opacity: 0;
  }
}

@keyframes philosophySlitOut {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scaleX(0);
  }

  28% {
    opacity: 1;
    transform: translate(-50%, -50%) scaleX(1);
  }

  72% {
    opacity: 1;
    transform: translate(-50%, -50%) scaleX(1);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scaleX(0.04);
  }
}

@keyframes philosophyTextWipeOut {
  0% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    filter: blur(0);
    transform: translateY(0);
  }

  54% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    filter: blur(0);
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    clip-path: inset(0 0 0 100%);
    filter: blur(10px);
    transform: translateY(-8px);
  }
}

@keyframes imageEaseSlow {
  to {
    transform: scale(1);
  }
}

@media (max-width: 980px) {
  .site-header {
    align-items: center;
    flex-direction: row;
    gap: 12px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    min-width: 44px;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
    background: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
  }

  .nav-toggle:focus-visible,
  .nav-dropdown-button:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 2px;
  }

  .nav-toggle-icon,
  .nav-toggle-icon::before,
  .nav-toggle-icon::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 180ms ease, background 180ms ease;
  }

  .nav-toggle-icon {
    position: relative;
  }

  .nav-toggle-icon::before,
  .nav-toggle-icon::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .nav-toggle-icon::before {
    top: -6px;
  }

  .nav-toggle-icon::after {
    top: 6px;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-icon {
    background: transparent;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
    transform: translateY(-6px) rotate(-45deg);
  }

  .header-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 2;
    flex-direction: column;
    max-height: calc(100vh - 84px);
    max-height: calc(100dvh - 84px);
    overflow-y: auto;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(24, 38, 52, 0.16);
    overscroll-behavior: contain;
  }

  .site-header.nav-ready .header-nav {
    display: none;
  }

  .site-header.nav-ready.is-nav-open .header-nav {
    display: flex;
  }

  .site-header.is-nav-open::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(24, 38, 52, 0.36);
  }

  .header-nav a,
  .nav-dropdown-button {
    width: 100%;
    min-height: 52px;
    padding: 0 20px;
    border: 0;
    border-top: 1px solid var(--line);
    font-size: 15px;
  }

  .header-nav > a:first-child {
    border-top: 0;
  }

  .header-nav > a:last-child {
    border-right: 0;
  }

  .nav-dropdown-button {
    justify-content: flex-start;
    text-align: left;
  }

  .nav-dropdown-button::after {
    margin-left: auto;
  }

  .nav-dropdown-button[aria-expanded="true"]::after {
    transform: translateY(2px) rotate(225deg);
  }

  .nav-dropdown {
    position: static;
  }

  .nav-dropdown-menu {
    position: static;
    display: none;
    width: auto;
    padding: 0;
    background: var(--cream);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: none;
  }

  .nav-dropdown.is-open .nav-dropdown-menu {
    display: grid;
  }

  .nav-dropdown-menu a {
    min-height: 48px;
    padding: 12px 20px 12px 34px;
    border-top: 1px solid var(--line);
    font-size: 14px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 24px;
  }

  .subpage-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 38px;
  }

  .hero-copy {
    max-width: none;
  }

  .image-reveal {
    min-height: 430px;
    border-radius: 0 0 0 42px;
  }

  .subpage-hero-photo {
    min-height: 430px;
    border-radius: 0 0 0 42px;
  }

  .hero-slide {
    height: 430px;
    min-height: 430px;
  }

  .subpage-hero-photo img {
    height: 430px;
    min-height: 430px;
  }

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

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

  .hours-layout,
  .access-layout,
  .doctor-card,
  .content-pair,
  .equipment-grid {
    grid-template-columns: 1fr;
  }

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

  .sticky-cta {
    right: 12px;
    bottom: 12px;
    left: auto;
    max-width: calc(100% - 24px);
    justify-content: space-between;
    border-radius: 22px;
  }

  .sticky-cta a {
    min-width: 96px;
    flex: 0 0 auto;
    min-height: 50px;
    padding: 0 6px;
    font-size: 12px;
  }

}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand img {
    width: min(248px, 62vw);
  }

  .hero {
    padding-top: 20px;
    padding-bottom: 72px;
    row-gap: 12px;
  }

  .hero-copy,
  .hero-visual {
    display: contents;
  }

  .hero-copy > .eyebrow {
    order: 0;
    margin-bottom: 0;
  }

  .hero-copy > h1 {
    order: 1;
    margin-bottom: 0;
  }

  .hero-visual > .image-reveal {
    order: 2;
    min-height: clamp(240px, 36svh, 280px);
  }

  .hero-copy > .hero-catch {
    order: 3;
    margin-bottom: 0;
  }

  .hero-copy > .hero-actions {
    order: 4;
  }

  .hero-visual > .hero-status {
    order: 5;
    margin-top: 0;
  }

  .hero-copy > .hero-news-ticker {
    order: 6;
    margin-top: 0;
  }

  .hero-slide {
    height: clamp(240px, 36svh, 280px);
    min-height: 0;
  }

  .subpage-hero {
    padding-top: 30px;
    padding-bottom: 58px;
  }

  .hero-catch {
    font-size: clamp(34px, 10vw, 46px);
  }

  h1 {
    font-size: clamp(22px, 6vw, 28px);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .hero-actions a:first-child {
    grid-column: 1 / -1;
  }

  .hero-news-ticker {
    align-items: flex-start;
    gap: 10px;
    margin-top: 18px;
    padding: 13px 14px;
    border-radius: 18px;
  }

  .hero-news-text {
    white-space: normal;
  }

  .hero-philosophy {
    padding: 22px;
  }

  .hero-philosophy::after {
    left: 22px;
    bottom: 18px;
    width: min(72vw, 320px);
  }

  .hero-philosophy-text {
    font-size: clamp(34px, 14vw, 58px);
  }

  .hero-philosophy.is-final .hero-philosophy-text {
    max-width: 92%;
    font-size: clamp(28px, 9vw, 40px);
    font-weight: 800;
    letter-spacing: 0.035em;
    line-height: 1.18;
  }

  .subpage-hero-photo,
  .subpage-hero-photo img {
    min-height: 320px;
    height: 320px;
  }

  .button {
    width: 100%;
  }

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

  .body-part-grid,
  .purpose-grid {
    grid-template-columns: 1fr;
  }

  .body-part-card > p {
    min-height: 0;
  }

  .symptom-card {
    min-height: 118px;
  }

  .hours-layout,
  .access-layout {
    gap: 14px;
  }

  .schedule-wrap {
    padding: 10px;
  }

  .home-info-section {
    padding: 36px 18px 18px;
  }

  .home-info-section + .home-info-section {
    padding: 28px 18px 40px;
  }

  .home-info-section .section-heading {
    margin-bottom: 18px;
  }

  .home-info-section .section-heading h2 {
    font-size: 30px;
  }

  .home-info-section .status-panel,
  .home-info-section .access-copy {
    padding: 20px;
  }

  .home-info-section .status-panel strong {
    font-size: 20px;
  }

  .home-info-section .home-hours-regular {
    display: none;
  }

  .home-info-section .schedule-table {
    display: none;
  }

  .home-info-section .schedule-wrap {
    padding: 4px 18px;
    overflow: visible;
  }

  .mobile-hours-summary {
    display: block;
  }

  .mobile-hours-summary > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 13px 0;
  }

  .mobile-hours-summary > div + div {
    border-top: 1px solid var(--line);
  }

  .mobile-hours-summary strong,
  .mobile-hours-summary span {
    font-size: 15px;
    line-height: 1.5;
  }

  .mobile-hours-summary span {
    text-align: right;
  }

  .home-info-section .access-copy strong {
    font-size: 18px;
  }

  .home-info-section .access-photo {
    display: none;
  }

  .access-copy,
  .map-placeholder,
  .access-photo {
    min-height: 220px;
  }

  .doctor-card {
    padding: 16px;
  }

  .doctor-card figure {
    height: 260px;
  }

  .column-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .accident-banner {
    align-items: stretch;
    flex-direction: column;
    margin-right: 18px;
    margin-left: 18px;
    border-radius: 22px;
  }

  .accident-banner .button {
    width: 100%;
  }

  .equipment-card div {
    padding: 20px;
  }

  .sticky-cta {
    display: none;
  }

  .hero-status {
    gap: 10px;
    font-size: 14px;
    line-height: 1.5;
  }

  .hero-status-text {
    flex: 1 1 calc(100% - 28px);
  }

  .hero-status-link {
    width: 100%;
  }

  .floating-menu {
    display: none;
  }
}

@media (max-width: 360px) {
  .brand img {
    width: min(210px, 54vw);
  }
}

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

  .image-reveal {
    clip-path: inset(0 0 0 0);
  }

  .reveal-mask {
    display: none;
  }

  .hero-slide {
    transform: none !important;
    clip-path: none !important;
  }
}

/* Official social icons: preserve original artwork and clear space. */
.social-brand-icon {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin: 0 auto 28px;
}
.line-booking-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.nav-dropdown-menu .nav-equipment-link {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 16px;
}

/* Mobile primary actions stay in consistent positions. */
.mobile-action-bar, .header-nav .mobile-nav-extra { display: none; }
@media (max-width: 980px) {
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
  html.mobile-nav-open { overflow: hidden; }
  .sticky-cta { display: none; }
  .header-nav .mobile-nav-extra { display: flex; align-items: center; }
  .header-nav .mobile-nav-divider { border-top: 2px solid var(--line); }
  .header-nav {
    max-height: calc(100vh - 84px - 78px - env(safe-area-inset-bottom, 0px));
    max-height: calc(100dvh - 84px - 78px - env(safe-area-inset-bottom, 0px));
  }
  .mobile-action-bar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 30;
    padding: 0 0 env(safe-area-inset-bottom, 0px);
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 20px rgba(74, 81, 89, .1);
    transition: opacity 180ms ease;
  }
  .mobile-action-bar a {
    min-height: 78px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--ink);
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    border-right: 1px solid var(--line);
  }
  .mobile-action-bar .mobile-action-phone { color: var(--red); }
  .mobile-action-bar .mobile-action-booking { color: #087c36; border-right: 0; }
  .mobile-action-bar svg { width: 28px; height: 28px; margin: 6px; }
  .mobile-action-bar img { width: 40px; height: 40px; object-fit: contain; }
  .mobile-action-bar a:focus-visible { outline: 3px solid var(--red); outline-offset: -3px; }
  .mobile-action-bar.is-hero-hidden, body.mobile-nav-open .mobile-action-bar {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

/* Match phone action labels to the desktop and mobile navigation breakpoint. */
.phone-label-mobile { display: none; }
@media (max-width: 980px) {
  .phone-label-desktop { display: none; }
  .phone-label-mobile { display: inline; }
}
