:root {
  --ink: #182024;
  --text: #263238;
  --muted: #6d7b80;
  --line: #d9e2df;
  --paper: #f7f8f5;
  --white: #ffffff;
  --mist: #eaf3f1;
  --mist-2: #dfecea;
  --blue: #5f7f8a;
  --blue-dark: #294c57;
  --soft: #eef4f2;
  --cream: #fbfaf5;
  --max: 1560px;
  --nav: 64px;
  --page-pad: clamp(128px, 14vw, 336px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: Inter, "DM Sans", "Hiragino Sans", "Noto Sans JP", system-ui, -apple-system, sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

img,
video,
iframe {
  display: block;
  max-width: 100%;
}

.line-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  object-fit: contain;
}

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

button {
  font: inherit;
}

.site-nav {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 28px;
  padding: 0 var(--page-pad);
  color: var(--ink);
  background: rgba(247, 248, 245, 0.86);
  border-bottom: 1px solid rgba(41, 76, 87, 0.12);
  backdrop-filter: blur(18px);
}

.wordmark,
.site-nav nav a,
.nav-phone,
.nav-cta,
.button,
.scene-label {
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0;
}

.wordmark {
  display: grid;
  gap: 2px;
  color: var(--ink);
  line-height: 1.1;
}

.wordmark span {
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 650;
  letter-spacing: 0;
  white-space: nowrap;
}

.wordmark b {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 750;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.site-nav nav a,
.nav-phone,
.nav-cta {
  font-size: 0.86rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}

.site-nav nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
}

.site-nav nav a:hover,
.nav-phone:hover,
.nav-cta:hover {
  color: var(--blue-dark);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-phone {
  color: var(--muted);
}

.line-link,
.contact-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-cta,
.button {
  border: 1px solid var(--blue-dark);
  border-radius: 6px;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  color: var(--blue-dark);
}

.menu {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
}

.menu span {
  display: block;
  width: 19px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.menu[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.scene {
  position: relative;
  padding: 108px var(--page-pad);
  overflow: hidden;
}

.hero {
  min-height: 94svh;
  display: grid;
  align-content: end;
  padding-top: calc(var(--nav) + 48px);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  inset-inline: var(--page-pad);
}

.hero-media {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(320px, 0.72fr);
  grid-template-rows: minmax(0, 0.58fr) minmax(0, 0.42fr);
  gap: 1px;
  background: var(--line);
  overflow: hidden;
}

.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.02) brightness(0.98);
}

.hero-main {
  grid-row: 1 / 3;
  object-position: center;
}

.hero-sub {
  object-position: center;
}

.hero-rack {
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(247, 248, 245, 0.96), rgba(247, 248, 245, 0.83) 34%, rgba(247, 248, 245, 0.22) 70%, rgba(247, 248, 245, 0.08)),
    linear-gradient(0deg, rgba(247, 248, 245, 0.98), rgba(247, 248, 245, 0.1) 46%, rgba(247, 248, 245, 0.18));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(660px, 100%);
}

.scene-label {
  margin: 0 0 16px;
  color: var(--blue);
}

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

h1,
h2,
h3 {
  margin-bottom: 0;
  color: var(--ink);
  font-weight: 520;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(4.5rem, 5.7vw, 5.5rem);
}

h2 {
  font-size: 3.9rem;
}

h3 {
  font-size: 2.35rem;
}

.hero-title span,
.split-heading span {
  display: block;
  white-space: nowrap;
}

.hero-lead,
.medical-copy p,
.trainer-copy p,
.access p,
.section-head p:not(.scene-label) {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-lead {
  width: min(540px, 100%);
  margin: 28px 0 0;
}

.hero-medical {
  width: min(560px, 100%);
  margin-top: 24px;
  padding: 18px 20px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(41, 76, 87, 0.18);
  border-left: 5px solid var(--blue-dark);
  backdrop-filter: blur(14px);
}

.hero-medical span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: var(--white);
  background: var(--blue-dark);
  border-radius: 5px;
  font-size: 0.78rem;
  font-weight: 750;
}

.hero-medical b {
  display: block;
  margin-top: 12px;
  color: var(--ink);
  font-size: 1.28rem;
  font-weight: 650;
  line-height: 1.38;
}

.hero-medical small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
}

.button.primary {
  color: var(--white);
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.button.secondary {
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.62);
}

.button.ghost {
  color: var(--blue-dark);
  background: rgba(247, 248, 245, 0.72);
  border-color: rgba(41, 76, 87, 0.22);
}

.button:hover,
.button:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.hero-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.8fr 0.8fr 1.4fr;
  width: min(980px, 100%);
  margin-top: 64px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(41, 76, 87, 0.14);
}

.hero-strip span {
  min-height: 88px;
  padding: 18px 22px;
  color: var(--muted);
  font-size: 0.85rem;
}

.hero-strip span + span {
  border-left: 1px solid rgba(41, 76, 87, 0.14);
}

.hero-strip b {
  display: block;
  color: var(--blue-dark);
  font-size: 1.8rem;
  font-weight: 520;
  line-height: 1.08;
}

.hero-strip span:nth-child(3) b {
  font-size: 1.35rem;
  line-height: 1.18;
}

.medical {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(500px, 1.04fr);
  align-items: center;
  gap: 56px;
  background: var(--mist);
}

.medical-copy {
  max-width: 760px;
}

.medical-copy h2 {
  font-size: 3.85rem;
}

.medical-copy p {
  margin: 26px 0 0;
}

.medical-emphasis {
  margin-top: 28px;
  padding: 22px 24px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue-dark);
}

.medical-emphasis span {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 750;
}

.medical-emphasis b {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-size: 1.32rem;
  font-weight: 560;
  line-height: 1.48;
}

.medical-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  background: var(--line);
  border: 1px solid var(--line);
}

.medical-summary div {
  min-height: 142px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.8);
}

.medical-summary span {
  display: block;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 650;
}

.medical-summary b {
  display: block;
  margin-top: 16px;
  color: var(--ink);
  font-size: clamp(1.5rem, 1.45vw, 1.84rem);
  font-weight: 560;
  line-height: 1.12;
  white-space: nowrap;
}

.medical-panel {
  position: relative;
  min-height: 620px;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}

.medical-photo {
  position: absolute;
  inset: 0;
}

.medical-photo img {
  width: 100%;
  height: 100%;
  padding: 34px;
  object-fit: contain;
  object-position: center;
  filter: none;
}

.medical-photo::after {
  display: none;
}

.medical-note {
  position: absolute;
  left: 28px;
  bottom: 28px;
  width: min(410px, calc(100% - 56px));
  padding: 22px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(41, 76, 87, 0.14);
  backdrop-filter: blur(14px);
}

.medical-note span {
  display: block;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 650;
}

.medical-note p {
  margin: 12px 0 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
}

.section-head {
  width: min(980px, 100%);
  margin: 0 0 54px;
}

.credits span,
.price-board span {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 650;
  text-transform: uppercase;
}

.trainer {
  display: grid;
  grid-template-columns: minmax(340px, 0.78fr) minmax(0, 1.18fr);
  align-items: center;
  gap: 68px;
  background: var(--cream);
  color: var(--text);
}

.trainer-image img {
  width: 100%;
  height: min(76vh, 820px);
  object-fit: cover;
  object-position: 56% center;
  border-radius: 8px;
}

.trainer-copy {
  max-width: 900px;
}

.trainer-profile {
  display: grid;
  grid-template-columns: minmax(130px, 0.95fr) minmax(88px, 0.56fr) minmax(210px, 1.25fr);
  gap: 1px;
  width: min(760px, 100%);
  margin-top: 28px;
  background: var(--line);
  border: 1px solid var(--line);
}

.trainer-profile div {
  min-height: 86px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.72);
}

.trainer-profile span {
  display: block;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 700;
}

.trainer-profile b {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 560;
  line-height: 1.18;
}

.trainer-copy p {
  width: min(700px, 100%);
  margin: 24px 0 0;
}

.credits {
  display: grid;
  gap: 1px;
  margin-top: 42px;
  background: var(--line);
  border: 1px solid var(--line);
}

.credits div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: start;
  padding: 22px 26px;
  background: var(--cream);
}

.credits b {
  display: block;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 520;
  line-height: 1.48;
}

.credits span {
  margin-bottom: 0;
  line-height: 1.45;
}

.price {
  min-height: auto;
  background: var(--mist);
  color: var(--text);
}

.price-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(var(--max), 100%);
  margin: 0 auto;
  background: var(--line);
  border: 1px solid var(--line);
}

.price-board article {
  min-height: 260px;
  padding: 26px;
  background: var(--white);
}

.price-board h3 {
  min-height: 3.6em;
  color: var(--ink);
  font-size: 1.42rem;
  line-height: 1.25;
}

.price-board b {
  display: block;
  margin-top: 22px;
  color: var(--blue-dark);
  font-size: 2.15rem;
  font-weight: 560;
  line-height: 1;
  white-space: nowrap;
}

.price-board p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.single-line {
  font-size: clamp(2.1rem, 3.4vw, 3.35rem);
  white-space: nowrap;
}

.deduction-detail {
  min-height: auto;
  background: var(--paper);
}

.estimate {
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--line);
}

.estimate-inline {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.estimate-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.estimate-head span {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 650;
}

.frequency {
  display: flex;
  gap: 6px;
}

.frequency button {
  min-height: 34px;
  padding: 0 14px;
  color: var(--blue-dark);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 5px;
  cursor: pointer;
}

.frequency button.is-selected {
  color: var(--white);
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.estimate dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
}

.estimate dl div {
  min-height: 132px;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.estimate dl div:last-child {
  border-right: 0;
}

.estimate dt {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 650;
}

.estimate dd {
  margin: 18px 0 0;
  color: var(--ink);
  font-size: 1.6rem;
  font-weight: 560;
  line-height: 1.15;
}

.estimate p {
  margin: 0;
  padding: 18px 22px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.65;
}

.contact {
  background: var(--mist);
}

.contact .section-head p:not(.scene-label) {
  width: min(720px, 100%);
  margin: 24px 0 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(var(--max), 100%);
  margin: 0 auto;
  background: var(--line);
  border: 1px solid var(--line);
}

.contact-card {
  display: grid;
  align-content: start;
  min-height: 310px;
  padding: 30px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.82);
  transition: background 160ms ease, transform 160ms ease;
}

.contact-card:hover,
.contact-card:focus-visible {
  background: var(--white);
  transform: translateY(-2px);
}

.contact-card span {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 650;
}

.contact-kicker {
  width: fit-content;
}

.contact-card h3 {
  margin-top: 22px;
  font-size: 1.78rem;
}

.contact-card p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.contact-card b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 42px;
  margin-top: 34px;
  padding: 0 16px;
  color: var(--blue-dark);
  font-size: 0.88rem;
  font-weight: 650;
  border: 1px solid rgba(41, 76, 87, 0.2);
  border-radius: 6px;
}

.contact-line {
  background: var(--blue-dark);
  color: var(--white);
}

.contact-line:hover,
.contact-line:focus-visible {
  background: #213f49;
  color: var(--white);
}

.contact-line span,
.contact-line h3,
.contact-line p,
.contact-line b {
  color: var(--white);
}

.contact-line b {
  border-color: rgba(255, 255, 255, 0.46);
}

.access {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
  gap: 32px;
  align-items: stretch;
  background: var(--cream);
}

.access-copy {
  display: grid;
  align-content: center;
}

.access p {
  margin: 22px 0 0;
}

.access .hero-actions {
  margin-top: 30px;
}

.map-frame {
  min-height: 520px;
  overflow: hidden;
  background: var(--soft);
  border: 1px solid var(--line);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
}

.fixed-contact {
  position: fixed;
  z-index: 50;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: none;
  grid-template-columns: 1.15fr 0.92fr 0.92fr;
  gap: 1px;
  overflow: hidden;
  background: rgba(41, 76, 87, 0.2);
  border: 1px solid rgba(41, 76, 87, 0.16);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(24, 32, 36, 0.16);
}

.fixed-contact a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.94);
  font-size: 0.88rem;
  font-weight: 700;
}

.fixed-contact .fixed-line {
  color: var(--white);
  background: var(--blue-dark);
}

@media (max-width: 1180px) {
  :root {
    --page-pad: 48px;
  }

  .site-nav {
    padding: 0 28px;
  }

  h1 {
    font-size: 4.15rem;
  }

  h2,
  .medical-copy h2 {
    font-size: 3.15rem;
  }

  .single-line {
    font-size: 2.45rem;
  }

  h3 {
    font-size: 2.15rem;
  }

  .medical,
  .trainer,
  .price-board,
  .contact-grid,
  .access {
    grid-template-columns: 1fr;
  }

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

  .estimate dl div:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 980px) {
  :root {
    --nav: 60px;
    --page-pad: 28px;
  }

  .site-nav {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 12px;
  }

  .site-nav nav {
    position: fixed;
    top: var(--nav);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    color: var(--ink);
    background: rgba(247, 248, 245, 0.98);
    border-bottom: 1px solid var(--line);
  }

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

  .site-nav nav a {
    padding: 18px 22px;
    border-top: 1px solid var(--line);
  }

  .menu {
    display: block;
  }

  .hero-media {
    inset-inline: 0;
    grid-template-columns: 1fr;
  }

  .hero-main {
    grid-row: 1 / 3;
  }

  .hero-sub,
  .hero-rack {
    display: none;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(247, 248, 245, 0.98), rgba(247, 248, 245, 0.7) 45%, rgba(247, 248, 245, 0.24)),
      linear-gradient(90deg, rgba(247, 248, 245, 0.88), rgba(247, 248, 245, 0.38));
  }

  .hero-strip {
    grid-template-columns: 1fr;
  }

  .hero-strip span + span {
    border-top: 1px solid rgba(41, 76, 87, 0.14);
    border-left: 0;
  }

  .contact-card {
    min-height: auto;
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: 74px;
  }

  .site-nav {
    padding-inline: 14px;
  }

  .wordmark {
    gap: 1px;
  }

  .wordmark span {
    font-size: 0.5rem;
  }

  .wordmark b {
    font-size: 0.72rem;
  }

  .nav-actions {
    display: none;
  }

  .line-icon {
    width: 40px;
    height: 40px;
  }

  .button.line-link {
    min-height: 58px;
  }

  .scene {
    padding: 72px 16px;
  }

  .hero {
    min-height: 100svh;
    padding-top: calc(var(--nav) + 42px);
  }

  h1 {
    font-size: 2.46rem;
  }

  h2,
  .medical-copy h2 {
    font-size: 2.16rem;
  }

  h3 {
    font-size: 1.75rem;
  }

  .hero-lead,
  .medical-copy p,
  .trainer-copy p,
  .access p {
    font-size: 0.98rem;
  }

  .hero-medical {
    margin-top: 20px;
    padding: 16px;
  }

  .hero-medical b {
    font-size: 1.04rem;
  }

  .medical-emphasis {
    padding: 18px 20px;
  }

  .medical-emphasis b {
    font-size: 1.08rem;
  }

  .hero-actions {
    gap: 10px;
  }

  .button {
    width: 100%;
  }

  .hero-strip {
    margin-top: 42px;
  }

  .hero-strip b {
    font-size: 1.55rem;
  }

  .hero-strip span:nth-child(3) b {
    font-size: 1.24rem;
  }

  .medical-summary,
  .estimate dl {
    grid-template-columns: 1fr;
  }

  .medical-panel {
    min-height: 520px;
  }

  .medical-note {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
  }

  .section-head {
    margin-bottom: 34px;
  }

  .trainer-image img {
    height: 480px;
  }

  .credits {
    margin-top: 32px;
  }

  .trainer-profile {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .trainer-profile div {
    min-height: auto;
    padding: 16px 18px;
  }

  .trainer-profile b {
    font-size: 1.16rem;
  }

  .credits div {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 20px;
  }

  .credits b {
    font-size: 1.02rem;
  }

  .single-line {
    font-size: clamp(1.14rem, 5vw, 1.34rem);
  }

  .price-board article {
    min-height: auto;
    padding: 24px;
  }

  .price-board h3 {
    min-height: auto;
  }

  .price-board b {
    font-size: 2rem;
  }

  .estimate-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .estimate dl div {
    min-height: auto;
    border-right: 0;
  }

  .contact-card {
    padding: 24px;
  }

  .contact-card h3 {
    font-size: 1.48rem;
  }

  .contact-card b {
    width: 100%;
    margin-top: 24px;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 420px;
  }

  .fixed-contact {
    display: grid;
  }
}
