@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Noto+Sans+JP:wght@400;500;700;800&display=swap');

:root {
  --hospital-blue: #22a8c4;
  --hospital-blue-dark: #05778a;
  --hospital-blue-soft: #e8f7fa;
  --hospital-beige: #f6f2ea;
  --hospital-beige-deep: #ece5d7;
  --hospital-accent: #e86f4a;
  --hospital-accent-soft: #fff0e9;
  --hospital-red: #df4b35;
  --hospital-text: #222;
  --hospital-muted: #65757b;
  --hospital-line: #e5ecef;
  --white: #fff;
  --shadow-border:
    0 0 0 1px rgba(0, 0, 0, 0.055),
    0 1px 2px -1px rgba(0, 0, 0, 0.08),
    0 12px 30px rgba(20, 98, 112, 0.07);
  --shadow-border-hover:
    0 0 0 1px rgba(0, 0, 0, 0.075),
    0 2px 4px -1px rgba(0, 0, 0, 0.09),
    0 18px 42px rgba(20, 98, 112, 0.11);
  --shadow-soft: var(--shadow-border);
  --font-main: "Inter", "Noto Sans JP", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  background: var(--hospital-beige);
  color: var(--hospital-text);
  font-family: var(--font-main);
  line-height: 1.7;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
  outline: 1px solid rgba(0, 0, 0, 0.1);
  outline-offset: -1px;
}

.container {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-top {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 86px;
}

.site-logo {
  align-items: center;
  display: flex;
}

.site-logo img {
  display: block;
  height: 128px;
  max-width: 540px;
  object-fit: contain;
  outline: 0;
  width: auto;
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 1rem;
}

.header-phone {
  color: var(--hospital-text);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.pill-button {
  align-items: center;
  background: var(--hospital-blue);
  border: 0;
  border-radius: 999px;
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.45rem;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.pill-button:hover {
  background: var(--hospital-blue-dark);
  box-shadow: 0 12px 24px rgba(5, 119, 138, 0.18);
  transform: translateY(-2px);
}

.pill-button:active {
  transform: scale(0.96);
}

.pill-button:focus-visible,
.lead-card:focus-visible,
.nav-row a:focus-visible,
.floating-inquiry-toggle:focus-visible,
.floating-inquiry-close:focus-visible,
.inquiry-form input:focus-visible,
.inquiry-form select:focus-visible {
  outline: 3px solid rgba(34, 168, 196, 0.32);
  outline-offset: 4px;
}

.pill-button-large {
  min-height: 56px;
  padding: 1rem 1.8rem;
}

.site-nav {
  border-top: 1px solid var(--hospital-line);
  box-shadow: 0 6px 20px rgba(27, 79, 89, 0.05);
}

.nav-row {
  align-items: center;
  display: flex;
  gap: 2.5rem;
  min-height: 54px;
}

.nav-row a {
  align-items: center;
  color: var(--hospital-text);
  display: inline-flex;
  font-size: 0.96rem;
  font-weight: 800;
  min-height: 44px;
  position: relative;
  transition: color 0.18s ease;
}

.nav-row a::after {
  background: var(--hospital-blue);
  border-radius: 999px;
  bottom: -0.95rem;
  content: "";
  height: 4px;
  left: 0;
  opacity: 0;
  position: absolute;
  width: 100%;
}

.nav-row a.active,
.nav-row a:hover {
  color: var(--hospital-blue-dark);
}

.nav-row a.active::after,
.nav-row a:hover::after {
  opacity: 1;
}

.photo-hero {
  min-height: 620px;
  overflow: hidden;
  position: relative;
}

.hero-photo {
  display: block;
  height: 620px;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.hero-rotator {
  height: 620px;
  position: relative;
}

.hero-slide {
  inset: 0;
  position: absolute;
}

.hero-slide-one {
  animation: heroFadeOne 18s ease-in-out infinite;
}

.hero-slide-two {
  animation: heroFadeTwo 18s ease-in-out infinite;
  opacity: 0;
}

.hero-slide-three {
  animation: heroFadeThree 18s ease-in-out infinite;
  opacity: 0;
  transform: scaleX(-1);
}

@keyframes heroFadeOne {
  0%, 27% { opacity: 1; }
  34%, 94% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes heroFadeTwo {
  0%, 27% { opacity: 0; }
  34%, 60% { opacity: 1; }
  67%, 100% { opacity: 0; }
}

@keyframes heroFadeThree {
  0%, 60% { opacity: 0; }
  67%, 94% { opacity: 1; }
  100% { opacity: 0; }
}

.home-hero .hero-photo {
  object-position: center;
}

.jst-hero .hero-photo {
  object-position: center;
}

.oncology-hero .hero-photo {
  object-position: center 42%;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.82) 38%, rgba(255,255,255,0.08) 76%);
  inset: 0;
  position: absolute;
}

.hero-content {
  inset: 0;
  position: absolute;
}

.hero-copy {
  max-width: 610px;
  padding-top: 6.6rem;
}

.hero-copy h1 {
  color: var(--hospital-blue-dark);
  font-size: clamp(2.7rem, 6vw, 5.7rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0.6rem 0 1.2rem;
  text-wrap: balance;
}

.hero-copy p {
  color: #26383e;
  font-size: 1.18rem;
  margin-bottom: 2rem;
  max-width: 550px;
  text-wrap: pretty;
}

.section-kicker {
  color: var(--hospital-blue);
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.brand-lockup {
  align-items: center;
  display: flex;
  gap: 1rem;
}

.brand-lockup img {
  background: var(--white);
  border: 1px solid var(--hospital-line);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  height: 58px;
  object-fit: contain;
  padding: 0.7rem 0.9rem;
  width: auto;
}

.lead-card-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 3.2rem;
  margin-top: -4.6rem;
  position: relative;
  z-index: 10;
}

.lead-card {
  align-items: center;
  background: var(--white);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  color: var(--hospital-text);
  display: grid;
  justify-items: center;
  min-height: 210px;
  padding: 1.45rem;
  text-align: center;
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.lead-card:hover {
  box-shadow: var(--shadow-border-hover);
  transform: translateY(-3px);
}

.lead-card:active {
  transform: scale(0.96);
}

.lead-icon,
.card-icon {
  align-items: center;
  background: var(--hospital-beige);
  border-radius: 50%;
  color: var(--hospital-blue-dark);
  display: inline-flex;
  font-weight: 800;
  height: 86px;
  justify-content: center;
  width: 86px;
}

.lead-icon svg,
.card-icon svg {
  fill: none;
  height: 42px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.8;
  width: 42px;
}

.card-icon svg {
  height: 38px;
  width: 38px;
}

.icon-emoji {
  display: block;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 2.55rem;
  line-height: 1;
  transform: translateY(-1px);
}

.lead-card strong {
  color: var(--hospital-blue-dark);
  display: block;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.35;
  text-wrap: balance;
}

.lead-title-short {
  display: none;
}

.lead-card small {
  color: var(--hospital-muted);
  display: block;
  font-weight: 700;
  line-height: 1.45;
  text-wrap: pretty;
}

.lead-card em {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--hospital-line);
  border-radius: 50%;
  color: var(--hospital-blue-dark);
  display: inline-flex;
  font-style: normal;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.lead-card:nth-child(3) .lead-icon,
.lead-card:nth-child(3) em {
  background: var(--hospital-accent-soft);
  color: var(--hospital-accent);
}

.lead-card:nth-child(3) strong {
  color: var(--hospital-accent);
}

.hospital-section {
  margin-bottom: 6rem;
}

.section-heading {
  margin: 0 auto 2.2rem;
  max-width: 760px;
  text-align: center;
}

.section-heading-left {
  margin: 0;
  text-align: left;
}

.section-heading h2,
.notice-panel h2,
.consult-panel h2 {
  color: var(--hospital-blue-dark);
  font-size: clamp(1.9rem, 3vw, 3rem);
  font-weight: 800;
  line-height: 1.25;
  margin-top: 0.5rem;
  text-wrap: balance;
}

.section-heading p,
.notice-panel p,
.consult-panel p {
  color: var(--hospital-muted);
  font-size: 1.05rem;
  margin-top: 1rem;
  text-wrap: pretty;
}

.stats-band {
  background: var(--white);
  border-radius: 34px;
  box-shadow: var(--shadow-border);
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 5.5rem;
  padding: 2rem;
}

.stat-tile {
  border-right: 1px solid var(--hospital-line);
  padding: 1rem;
  text-align: center;
}

.stat-tile:last-child {
  border-right: 0;
}

.stat-number,
.stat-text {
  color: var(--hospital-blue);
  display: block;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  line-height: 1;
}

.stat-number-long {
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.stat-tile small {
  color: var(--hospital-muted);
  display: block;
  font-weight: 800;
  letter-spacing: 0.4px;
  margin-top: 0.7rem;
  text-transform: uppercase;
}

.hospital-grid {
  display: grid;
  gap: 1.25rem;
}

.proof-section {
  margin-top: 4.5rem;
}

.proof-grid {
  gap: 0.8rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.proof-card {
  --proof-accent: var(--hospital-blue);
  --proof-bg: var(--white);
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 1.25rem;
}

.proof-card:nth-child(1) {
  --proof-accent: #05778a;
  --proof-bg: #05778a;
}

.proof-card:nth-child(2) {
  --proof-accent: #e86f4a;
  --proof-bg: #e86f4a;
}

.proof-card:nth-child(3) {
  --proof-accent: #2f9f8f;
  --proof-bg: #2f9f8f;
}

.proof-card:nth-child(4) {
  --proof-accent: #df4b35;
  --proof-bg: #df4b35;
}

.proof-card:nth-child(5) {
  --proof-accent: #5f86c8;
  --proof-bg: #5f86c8;
}

.hospital-card.proof-card {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--proof-bg) 92%, white 8%) 0%, var(--proof-bg) 100%);
  box-shadow:
    var(--shadow-border);
}

.proof-number {
  color: var(--white);
  display: block;
  font-size: clamp(1.85rem, 2.65vw, 3rem);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.96;
  margin-bottom: 1.15rem;
  min-height: 3.1rem;
}

.hospital-grid .hospital-card.proof-card h3 {
  color: var(--white);
  font-size: 0.94rem;
  line-height: 1.25;
  margin: 0 0 0.5rem;
}

.hospital-card.proof-card p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
  line-height: 1.45;
  margin-top: auto;
}

.innovation-stack {
  display: grid;
  gap: 1rem;
  margin: 0 auto;
  max-width: 820px;
}

.addon-stack {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 920px;
}

.innovation-card {
  padding: 1.75rem 2rem;
}

.innovation-card h3 {
  margin-top: 0;
}

.innovation-number {
  color: var(--hospital-blue);
  display: block;
  font-size: clamp(3rem, 7vw, 5.4rem);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  line-height: 0.95;
  margin-bottom: 0.75rem;
}

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

.three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.four-col {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hospital-card,
.info-panel,
.notice-panel,
.consult-panel {
  background: var(--white);
  border-radius: 28px;
  box-shadow: var(--shadow-border);
}

.hospital-card {
  padding: 2rem;
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.hospital-card:hover {
  box-shadow: var(--shadow-border-hover);
  transform: translateY(-2px);
}

.hospital-card h3,
.info-panel h3,
.step-list h3 {
  color: var(--hospital-blue-dark);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 1.2rem 0 0.7rem;
  text-wrap: balance;
}

.hospital-card p,
.info-panel p,
.step-list p {
  color: var(--hospital-muted);
  font-size: 0.98rem;
  text-wrap: pretty;
}

.hospital-card:nth-child(2) .card-icon {
  background: var(--hospital-accent-soft);
  color: var(--hospital-accent);
}

.hospital-card:nth-child(2) h3 {
  color: #bf563a;
}

.info-panel {
  padding: 3rem;
}

.split-panel {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.split-panel div {
  background: var(--hospital-beige);
  border-radius: 24px;
  padding: 1.6rem;
}

.timeline-panel {
  display: grid;
  gap: 0.9rem;
  margin: 0 auto;
  max-width: 760px;
  padding-left: 5.8rem;
  position: relative;
}

.timeline-panel::before {
  background: linear-gradient(180deg, var(--hospital-blue), var(--hospital-accent));
  border-radius: 999px;
  content: "";
  inset: 0 auto 0 3.25rem;
  position: absolute;
  transform: none;
  width: 3px;
}

.timeline-panel article {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-border);
  display: grid;
  gap: 0.35rem;
  min-height: 0;
  padding: 0.95rem 1rem;
  position: relative;
  transition: box-shadow 0.22s ease, transform 0.22s ease;
  width: 100%;
}

.timeline-panel article:hover {
  box-shadow: var(--shadow-border-hover);
  transform: translateY(-2px);
}

.timeline-panel article::before {
  background: var(--white);
  border: 3px solid var(--hospital-blue);
  border-radius: 999px;
  box-shadow: 0 0 0 7px var(--hospital-blue-soft);
  content: "";
  height: 14px;
  left: -2.95rem;
  position: absolute;
  top: 1.05rem;
  width: 14px;
}

.timeline-panel article:nth-child(4n + 2)::before,
.timeline-panel article:nth-child(4n + 3)::before {
  border-color: var(--hospital-accent);
  box-shadow: 0 0 0 7px var(--hospital-accent-soft);
}

.timeline-panel span {
  align-items: center;
  background: transparent;
  border-radius: 999px;
  color: var(--hospital-blue-dark);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  height: auto;
  justify-content: center;
  left: -5.7rem;
  position: absolute;
  top: 0.92rem;
  width: 3.6rem;
}

.timeline-panel h3 {
  color: var(--hospital-blue-dark);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.2rem;
  text-wrap: balance;
}

.timeline-panel p {
  color: var(--hospital-muted);
  font-size: 0.88rem;
  line-height: 1.45;
  text-wrap: pretty;
}

.recovery-timeline {
  --recovery-1: #dff4ea;
  --recovery-2: #c7ecd9;
  --recovery-3: #aee2c5;
  --recovery-4: #8fd5ad;
  --recovery-5: #6bc693;
  --recovery-6: #3ead72;
  --recovery-7: #168a55;
}

.recovery-timeline::before {
  background: linear-gradient(
    180deg,
    var(--recovery-1) 0%,
    var(--recovery-3) 32%,
    var(--recovery-5) 66%,
    var(--recovery-7) 100%
  );
}

.recovery-timeline article {
  --step-green: var(--recovery-1);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--step-green) 28%, white 72%) 0%, var(--white) 72%);
  box-shadow:
    inset 5px 0 0 var(--step-green),
    var(--shadow-border);
}

.recovery-timeline article:nth-child(2) {
  --step-green: var(--recovery-2);
}

.recovery-timeline article:nth-child(3) {
  --step-green: var(--recovery-3);
}

.recovery-timeline article:nth-child(4) {
  --step-green: var(--recovery-4);
}

.recovery-timeline article:nth-child(5) {
  --step-green: var(--recovery-5);
}

.recovery-timeline article:nth-child(6) {
  --step-green: var(--recovery-6);
}

.recovery-timeline article:nth-child(7) {
  --step-green: var(--recovery-7);
}

.recovery-timeline article::before,
.recovery-timeline article:nth-child(4n + 2)::before,
.recovery-timeline article:nth-child(4n + 3)::before {
  display: none;
}

.recovery-timeline span {
  background: color-mix(in srgb, var(--step-green) 34%, white 66%);
  border: 3px solid var(--step-green);
  box-shadow: 0 0 0 7px color-mix(in srgb, var(--step-green) 18%, white 82%);
  color: #116b45;
  font-size: 0.82rem;
  height: 2.55rem;
  left: -3.82rem;
  top: 0.58rem;
  width: 2.55rem;
}

.recovery-timeline h3 {
  color: #0d6a43;
}

.treatment-panel {
  display: grid;
  gap: 3rem;
  grid-template-columns: 0.8fr 1.2fr;
}

.step-list {
  display: grid;
  gap: 0.75rem;
}

.step-list details {
  background: var(--hospital-beige);
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.045);
  overflow: hidden;
}

.step-list details:nth-child(1) {
  background: #fff4ee;
}

.step-list details:nth-child(2) {
  background: #ffe8dc;
}

.step-list details:nth-child(3) {
  background: #ffd9c6;
}

.step-list details:nth-child(4) {
  background: #ffc6ad;
}

.step-list details:nth-child(4) span,
.step-list details:nth-child(4) summary::after {
  color: #9d3f25;
}

.step-list summary {
  align-items: center;
  cursor: pointer;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: auto 1fr auto;
  list-style: none;
  min-height: 64px;
  padding: 1rem 1.15rem;
}

.step-list summary::-webkit-details-marker {
  display: none;
}

.step-list summary::after {
  color: var(--hospital-blue);
  content: "+";
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
}

.step-list details[open] summary::after {
  content: "-";
}

.step-list summary:focus-visible {
  outline: 3px solid rgba(34, 168, 196, 0.32);
  outline-offset: -3px;
}

.step-list span {
  color: var(--hospital-blue);
  font-weight: 800;
}

.step-list h3 {
  margin: 0;
}

.step-list details p {
  border-top: 1px solid var(--hospital-beige-deep);
  margin: 0;
  padding: 0.9rem 1.15rem 1.1rem 3.65rem;
}

.notice-panel {
  align-items: center;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 0.85fr 1.15fr;
  padding: 3rem;
}

.cost-list,
.news-list {
  background: var(--hospital-beige);
  border-radius: 22px;
  padding: 1.5rem;
}

.notice-panel {
  border-left: 8px solid var(--hospital-accent);
}

.robotics-panel {
  border-left: 0;
}

.cost-list p,
.news-list p {
  border-bottom: 1px solid var(--hospital-beige-deep);
  color: var(--hospital-muted);
  margin: 0;
  padding: 1rem 0;
}

.cost-list p:first-child,
.news-list p:first-child {
  padding-top: 0;
}

.cost-list p:last-child,
.news-list p:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.cost-list strong,
.news-list strong {
  color: var(--hospital-blue-dark);
  display: block;
  font-weight: 800;
}

.cost-list .fine-print {
  color: var(--hospital-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.robotics-panel {
  background: var(--hospital-blue-dark);
  color: var(--white);
}

.robotics-benefits {
  display: grid;
  gap: 1rem;
}

.robot-composite {
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  box-shadow: 0 24px 46px rgba(0, 0, 0, 0.22);
  margin: -1.2rem 0 0;
  overflow: hidden;
}

.robot-composite img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  outline: 0;
  width: 100%;
}

.robotics-panel h2,
.robotics-panel .section-kicker,
.robotics-panel p,
.robotics-panel strong {
  color: var(--white);
}

.robotics-panel .news-list {
  background: rgba(255,255,255,0.12);
}

.robotics-panel .news-list p {
  border-bottom-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.86);
}

.consult-panel {
  align-items: center;
  box-shadow:
    inset 8px 0 0 var(--hospital-blue),
    var(--shadow-border);
  display: flex;
  gap: 2.5rem;
  justify-content: space-between;
  padding: 3rem;
}

.floating-inquiry {
  bottom: 1.5rem;
  position: fixed;
  right: 1.5rem;
  z-index: 1200;
}

.floating-inquiry-toggle {
  background: var(--hospital-accent);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(191, 86, 58, 0.28);
  color: var(--white);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 800;
  min-height: 52px;
  padding: 0 1.35rem;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.floating-inquiry-toggle:hover {
  background: #bf563a;
  box-shadow: 0 22px 44px rgba(191, 86, 58, 0.34);
  transform: translateY(-2px);
}

.floating-inquiry-toggle[aria-expanded="true"] {
  transform: translateY(0);
}

.floating-inquiry-panel {
  background: var(--white);
  border-radius: 20px;
  bottom: calc(100% + 0.75rem);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.06),
    0 28px 70px rgba(20, 98, 112, 0.24);
  padding: 1.25rem;
  position: absolute;
  right: 0;
  width: min(360px, calc(100vw - 2rem));
}

.floating-inquiry-panel[hidden] {
  display: none;
}

.floating-inquiry-head {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.floating-inquiry-head h2 {
  color: var(--hospital-blue-dark);
  font-size: 1.2rem;
  line-height: 1.2;
  margin-top: 0.25rem;
}

.floating-inquiry-close {
  align-items: center;
  background: var(--hospital-beige);
  border: 0;
  border-radius: 999px;
  color: var(--hospital-blue-dark);
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  font-family: inherit;
  font-size: 1.4rem;
  font-weight: 800;
  height: 36px;
  justify-content: center;
  line-height: 1;
  width: 36px;
}

.inquiry-form {
  display: grid;
  gap: 0.7rem;
}

.inquiry-form label {
  color: var(--hospital-text);
  font-size: 0.82rem;
  font-weight: 800;
}

.inquiry-form input,
.inquiry-form select {
  appearance: none;
  background: var(--white);
  border: 1px solid var(--hospital-line);
  border-radius: 12px;
  color: var(--hospital-text);
  font-family: inherit;
  font-size: 1rem;
  min-height: 46px;
  padding: 0 0.85rem;
  width: 100%;
}

.inquiry-form select {
  background:
    linear-gradient(45deg, transparent 50%, var(--hospital-blue-dark) 50%),
    linear-gradient(135deg, var(--hospital-blue-dark) 50%, transparent 50%),
    var(--white);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%,
    0 0;
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px, 100%;
  padding-right: 2.5rem;
}

.inquiry-form .pill-button {
  margin-top: 0.3rem;
  width: 100%;
}

.site-footer {
  background: var(--white);
  border-top: 1px solid var(--hospital-line);
  margin-top: 5rem;
}

.footer-row {
  align-items: center;
  color: var(--hospital-muted);
  display: flex;
  font-size: 0.92rem;
  font-weight: 700;
  justify-content: space-between;
  min-height: 96px;
}

.animate-in {
  filter: blur(4px);
  opacity: 0;
  transform: translateY(14px);
  transition: filter 0.65s ease, opacity 0.65s ease, transform 0.65s ease;
}

.animate-in.visible {
  filter: blur(0);
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1020px) {
  .header-top,
  .nav-row,
  .header-actions,
  .footer-row {
    flex-wrap: wrap;
  }

  .lead-card-row,
  .four-col,
  .three-col,
  .robot-composite {
    aspect-ratio: 4 / 3;
    border-radius: 18px;
    margin-top: -0.7rem;
  }

  .robot-composite img {
    object-position: 63% center;
  }

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

  .notice-panel,
  .treatment-panel {
    grid-template-columns: 1fr;
  }

  .consult-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }

  .header-top {
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 1rem;
    padding-top: 1rem;
  }

  .site-logo img {
    height: 108px;
    max-width: 460px;
  }

  .header-actions {
    align-items: stretch;
    gap: 0.6rem;
    width: 100%;
  }

  .header-phone,
  .header-actions .pill-button {
    flex: 1;
    font-size: 0.78rem;
    line-height: 1.15;
    min-width: 0;
    padding-left: 0.7rem;
    padding-right: 0.7rem;
    text-align: center;
    white-space: normal;
  }

  .floating-inquiry {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
  }

  .floating-inquiry-toggle {
    width: 100%;
  }

  .floating-inquiry-panel {
    bottom: calc(100% + 0.65rem);
    left: 0;
    max-height: calc(100vh - 7rem);
    overflow-y: auto;
    right: 0;
    width: 100%;
  }

  .nav-row {
    gap: 1rem;
    flex-wrap: nowrap;
    justify-content: flex-start;
    min-height: auto;
    overflow-x: auto;
    padding-bottom: 1rem;
    padding-top: 1rem;
    scrollbar-width: none;
  }

  .nav-row::-webkit-scrollbar {
    display: none;
  }

  .nav-row a {
    flex: 0 0 auto;
    font-size: 0.86rem;
  }

  .nav-row a::after {
    display: none;
  }

  .photo-hero,
  .hero-photo,
  .hero-rotator {
    min-height: 640px;
  }

  .hero-photo,
  .hero-rotator {
    height: 640px;
  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.82) 52%, rgba(255,255,255,0.12) 100%);
  }

  .hero-copy {
    padding-top: 4rem;
  }

  .hero-copy h1 {
    font-size: 3rem;
  }

  .brand-lockup {
    align-items: flex-start;
    flex-direction: column;
  }

  .two-col,
  .three-col,
  .four-col,
  .split-panel,
  .step-list {
    grid-template-columns: 1fr;
  }

  .lead-card-row {
    gap: 0.75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 2rem;
    margin-top: -2.8rem;
  }

  .lead-card {
    border-radius: 16px;
    min-height: 142px;
    padding: 0.9rem 0.75rem;
  }

  .lead-icon {
    height: 48px;
    width: 48px;
  }

  .lead-icon svg {
    height: 24px;
    width: 24px;
  }

  .lead-icon .icon-emoji {
    font-size: 1.65rem;
  }

  .lead-card strong {
    font-size: 0.86rem;
    line-height: 1.18;
  }

  .lead-title-full {
    display: none;
  }

  .lead-title-short {
    display: inline;
  }

  .lead-card small {
    display: block;
    font-size: 0.68rem;
    line-height: 1.25;
  }

  .lead-card em {
    display: none;
  }

  .stats-band {
    border-radius: 22px;
    gap: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 3rem;
    padding: 0.75rem 0.35rem;
  }

  .stat-tile {
    border-bottom: 0;
    border-right: 1px solid var(--hospital-line);
    padding: 0.55rem 0.3rem;
  }

  .stat-number,
  .stat-text {
    font-size: 1.75rem;
  }

  .stat-number-long {
    font-size: 1.18rem;
  }

  .stat-tile small {
    font-size: 0.58rem;
    letter-spacing: 0.2px;
    line-height: 1.2;
    margin-top: 0.35rem;
  }

  .stat-tile:last-child {
    border-right: 0;
  }

  .hospital-grid,
  .split-panel {
    display: grid;
    gap: 0.85rem;
    grid-auto-columns: minmax(240px, 82vw);
    grid-auto-flow: column;
    grid-template-columns: none;
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    overflow-x: auto;
    padding: 0 1.25rem 0.35rem;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .hospital-grid::-webkit-scrollbar,
  .split-panel::-webkit-scrollbar {
    display: none;
  }

  .hospital-grid > *,
  .split-panel > * {
    scroll-snap-align: start;
  }

  .proof-grid {
    grid-auto-columns: initial;
    grid-auto-flow: row;
    grid-template-columns: 1fr;
    margin-left: 0;
    margin-right: 0;
    overflow-x: visible;
    padding: 0;
    scroll-snap-type: none;
  }

  .proof-card {
    min-height: 0;
    padding: 1.15rem;
  }

  .proof-number {
    min-height: 0;
  }

  .step-list {
    gap: 0.55rem;
  }

  .step-list summary {
    min-height: 54px;
    padding: 0.82rem 0.95rem;
  }

  .step-list details p {
    padding: 0.8rem 0.95rem 0.95rem 3.35rem;
  }

  .timeline-panel {
    gap: 0.7rem;
    max-width: none;
    padding-left: 3rem;
  }

  .timeline-panel::before {
    left: 1rem;
    transform: none;
    width: 3px;
  }

  .timeline-panel article {
    border-radius: 16px;
    padding: 0.85rem 0.95rem;
    width: 100%;
  }

  .timeline-panel article::before {
    height: 12px;
    left: -2.3rem;
    right: auto;
    top: 1.1rem;
    width: 12px;
  }

  .timeline-panel span {
    font-size: 0.62rem;
    height: auto;
    left: -3rem;
    top: 0.98rem;
    width: 1.9rem;
  }

  .recovery-timeline span {
    font-size: 0.72rem;
    height: 2.15rem;
    left: -3.08rem;
    top: 0.78rem;
    width: 2.15rem;
  }

  .timeline-panel h3 {
    font-size: 0.95rem;
  }

  .timeline-panel p {
    font-size: 0.82rem;
    line-height: 1.4;
  }

  .info-panel,
  .notice-panel,
  .consult-panel {
    padding: 2rem;
  }

  .robot-composite img {
    object-position: 88% center;
  }

  .split-panel {
    grid-auto-columns: minmax(205px, 72vw);
    margin-left: 0;
    margin-right: 0;
    padding: 1rem;
  }

  .pill-button-large,
  .consult-panel .pill-button {
    width: 100%;
  }

  .footer-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 2rem;
    padding-top: 2rem;
  }
}

@media (max-width: 520px) {
  .robot-composite img {
    object-position: right center;
  }
}

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

