:root {
  --paper: #fdfaf6;
  --white: #ffffff;
  --ink: #332623;
  --muted: #6f6560;
  --line: #e8ddd6;
  --accent: #a14e3b;
  --accent-dark: #73372b;
  --teal: #365f70;
  --teal-dark: #263f4b;
  --mist: #edf3f5;
  --warm: #f8f1ea;
  --gold: #d99c4b;
  --shadow: 0 18px 60px rgba(68, 40, 29, .09);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.9;
  overflow-x: hidden;
}

a { color: inherit; }

.container {
  width: min(1160px, calc(100% - 64px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 82px;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(232, 221, 214, .8);
  backdrop-filter: blur(12px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo {
  color: #49332c;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
}

.logo span { color: var(--accent); }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  white-space: nowrap;
}

.nav a {
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.nav a:hover { color: var(--accent); }

.nav .nav-cta {
  padding: 10px 23px;
  color: var(--white);
  background: var(--accent);
  border-radius: 999px;
}

.nav .nav-cta:hover {
  color: var(--white);
  background: var(--accent-dark);
}

.hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 14%, rgba(217, 156, 75, .13) 0 14%, transparent 14.2%),
    linear-gradient(110deg, #fbf7f2 0%, #fdfaf6 53%, #eef4f6 100%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--accent) 0 28%, var(--gold) 28% 42%, var(--teal) 42% 100%);
}

.hero-grid {
  min-height: 690px;
  display: grid;
  grid-template-columns: 1fr .9fr;
  align-items: center;
  gap: 70px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 13px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
}

.hero h1 {
  margin: 0 0 27px;
  color: var(--accent-dark);
  font: 600 clamp(42px, 5vw, 67px)/1.48 "Noto Serif JP", serif;
  letter-spacing: .03em;
}

.hero-lead {
  max-width: 610px;
  margin: 0 0 30px;
  color: #493934;
  font-size: 16px;
  line-height: 2.15;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 6px;
  color: var(--accent-dark);
  border-bottom: 1px solid #c99b8d;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.hero-copy,
.hero-visual,
.body-link-layout > *,
.response-grid > *,
.autonomic-layout > *,
.drt-layout > *,
.daily-heading > *,
.medical-layout > *,
.closing-inner > * { min-width: 0; }

.hero-visual {
  position: relative;
  padding: 0 0 68px 32px;
}

.hero-photo-panel {
  height: 410px;
  margin: 0;
  overflow: hidden;
  background: #dce5e8;
  border: 1px solid rgba(139, 112, 99, .2);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-photo-panel img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 67% center;
}

.hero-visual svg {
  position: absolute;
  left: -18px;
  bottom: 0;
  width: 278px;
  display: block;
  padding: 8px;
  background: rgba(255, 255, 255, .95);
  border: 1px solid #d7e1e4;
  border-radius: 8px;
  box-shadow: 0 16px 45px rgba(38, 63, 75, .16);
}

.body-line {
  fill: rgba(255, 255, 255, .72);
  stroke: #b9cbd1;
  stroke-width: 2;
}

.node { fill: rgba(161, 78, 59, .13); stroke: var(--accent); stroke-width: 3; }
.node-pelvis { fill: rgba(54, 95, 112, .13); stroke: var(--teal); }
.spine { fill: none; stroke: var(--accent); stroke-width: 12; stroke-linecap: round; }
.nerve { fill: none; stroke: #7497a5; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 4 9; }
.pulse { fill: var(--gold); }
.diagram-label rect { fill: var(--white); stroke: #d7e1e4; }
.diagram-label text { fill: var(--teal-dark); font: 600 15px "Noto Sans JP", sans-serif; text-anchor: middle; }

.three-parts { padding: 105px 0; background: var(--white); }

.section-heading h2,
.drt-copy h2,
.medical-intro h2,
.closing h2 {
  margin: 0 0 22px;
  color: #54352f;
  font: 600 clamp(30px, 4vw, 47px)/1.62 "Noto Serif JP", serif;
  letter-spacing: .02em;
}

.heading-line { display: block; }

.section-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 2.1;
}

.centered { text-align: center; }
.centered > p:last-child { max-width: 710px; margin-inline: auto; }
.narrow { max-width: 820px; margin-inline: auto; }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 55px;
}

.pillar {
  position: relative;
  min-height: 292px;
  padding: 35px 34px 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.pillar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
}

.pillar:nth-child(2)::after { background: linear-gradient(90deg, var(--gold), #c4816e); }
.pillar:nth-child(3)::after { background: linear-gradient(90deg, #84a7b4, var(--teal)); }

.pillar-number { color: #9b8c84; font-size: 12px; font-weight: 700; letter-spacing: .14em; }

.pillar-icon {
  width: 54px;
  height: 54px;
  margin: 21px 0 16px;
  display: grid;
  place-items: center;
  color: var(--accent);
  border: 1px solid #ca9889;
  border-radius: 50%;
  font-size: 25px;
  font-weight: 600;
}

.pillar-icon-heart { color: #bd785f; border-color: #d7aa98; }
.pillar-icon-link { color: var(--teal); border-color: #8fb0bc; }

.pillar h3 {
  margin: 0 0 9px;
  color: var(--accent-dark);
  font: 600 25px "Noto Serif JP", serif;
}

.pillar p { margin: 0; color: var(--muted); font-size: 14px; }

.body-link {
  padding: 110px 0;
  color: #edf3f5;
  background: var(--teal-dark);
}

.body-link-layout {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 90px;
  align-items: start;
}

.body-link .section-kicker { color: #e5ad65; }
.body-link .section-heading h2 { color: var(--white); }
.body-link .section-heading > p:last-child { color: #c8d4d9; }
.body-link-copy { position: sticky; top: 125px; }

.connection-flow {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.connection-flow li {
  position: relative;
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 24px;
  padding: 7px 0 38px;
}

.connection-flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 31px;
  top: 68px;
  bottom: 5px;
  width: 1px;
  background: #78929d;
}

.flow-number {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  color: var(--teal-dark);
  background: #e7b76f;
  border-radius: 50%;
  font: 600 18px "Noto Serif JP", serif;
}

.connection-flow h3 {
  margin: 0 0 6px;
  color: var(--white);
  font: 600 25px "Noto Serif JP", serif;
}

.connection-flow p { margin: 0; color: #bdcdd3; font-size: 14px; }

.response { padding: 110px 0; background: #faf8f5; }

.response-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 58px;
}

.response-card {
  padding: 42px 42px 38px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.response-card-male { border-top: 5px solid #5d8290; }
.response-card-female { border-top: 5px solid #be745f; }

.response-title-row { display: flex; align-items: center; gap: 19px; margin-bottom: 24px; }

.response-mark {
  width: 55px;
  height: 55px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--teal);
  border-radius: 50%;
  font: 600 18px "Noto Serif JP", serif;
}

.response-card-female .response-mark { background: #a85b49; }
.response-title-row p { margin: 0; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.response-title-row h3 { margin: 2px 0 0; color: #563c35; font: 600 23px/1.5 "Noto Serif JP", serif; }
.response-card > p { color: #574c47; font-size: 14px; }

.response-card .response-note {
  margin: 24px 0 0;
  padding: 18px 20px;
  color: #4a5d65;
  background: #edf3f5;
  font-size: 13px;
}

.response-card-female .response-note { color: #6c443a; background: #f8efeb; }

.shared-response {
  margin-top: 28px;
  padding: 36px 40px 39px;
  background: var(--white);
  border: 1px solid var(--line);
}

.shared-response h3 {
  margin: 0 0 25px;
  color: #553a33;
  font: 600 23px "Noto Serif JP", serif;
  text-align: center;
}

.shared-items { display: grid; grid-template-columns: repeat(3, 1fr); }
.shared-items > div { display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding: 5px 28px; border-left: 1px solid var(--line); }
.shared-items > div:first-child { border-left: 0; }
.shared-items span { color: var(--accent); font-size: 12px; font-weight: 700; }
.shared-items p { margin: 0; color: var(--muted); font-size: 13px; }
.shared-items strong { color: var(--ink); font-size: 15px; }

.autonomic { padding: 105px 0; background: var(--white); }

.autonomic-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 88px;
  align-items: center;
}

.autonomic-visual { min-width: 0; }

.autonomic-photo {
  height: 310px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.autonomic-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 36% center;
}

.autonomic-balance {
  position: relative;
  min-height: 185px;
  width: calc(100% - 42px);
  margin: -38px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--line);
  box-shadow: 0 12px 35px rgba(68, 40, 29, .09);
}

.mode {
  position: relative;
  z-index: 2;
  width: 135px;
  height: 135px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-align: center;
}

.mode span { font-size: 12px; font-weight: 600; }
.mode strong { font: 600 20px "Noto Serif JP", serif; }
.mode-active { color: #744031; background: #f5dfd6; border: 1px solid #d9a08d; }
.mode-rest { color: #315666; background: #dcebf0; border: 1px solid #8eb0bd; }

.balance-line {
  position: absolute;
  left: 22%;
  right: 22%;
  top: 50%;
  height: 4px;
  background: linear-gradient(90deg, #ca8069, #e1b56f, #7198a7);
  transform: rotate(-7deg);
}

.balance-line::before,
.balance-line::after {
  content: "";
  position: absolute;
  top: -8px;
  width: 20px;
  height: 20px;
  background: var(--white);
  border: 3px solid #c89c68;
  border-radius: 50%;
}

.balance-line::before { left: 29%; }
.balance-line::after { right: 29%; }

.autonomic .section-heading p + p { margin-top: 16px; }

.drt { padding: 110px 0; background: var(--mist); }

.drt-layout {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 85px;
  align-items: start;
}

.drt-visual {
  position: sticky;
  top: 122px;
  padding: 18px 18px 0;
  background: rgba(255, 255, 255, .72);
  border: 1px solid #d6e2e6;
}

.drt-photo {
  height: 350px;
  margin: 0;
  overflow: hidden;
}

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

.drt-visual svg {
  position: relative;
  z-index: 2;
  display: block;
  width: 64%;
  margin: -72px auto 0;
  padding: 8px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid #d6e2e6;
  box-shadow: 0 12px 35px rgba(38, 63, 75, .12);
}
.back-shape { fill: #e3d0c4; stroke: #bb8979; stroke-width: 2; }
.drt-spine { fill: none; stroke: var(--accent-dark); stroke-width: 4; }
.vertebrae circle { fill: #fff7ef; stroke: var(--accent); stroke-width: 3; }
.hand { fill: #c78b72; opacity: .78; }
.sway { fill: none; stroke: var(--teal); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 8 12; }

.drt-copy > p:not(.section-kicker) { color: #53656d; font-size: 15px; }
.drt-copy h2 {
  color: #334f5b;
  font-size: clamp(29px, 3.2vw, 40px);
}

.drt-steps { margin: 33px 0 28px; border-top: 1px solid #cbdadd; }
.drt-steps > div { display: grid; grid-template-columns: 45px 1fr; gap: 17px; padding: 21px 0; border-bottom: 1px solid #cbdadd; }
.drt-steps span { color: #6d94a2; font-size: 13px; font-weight: 700; }
.drt-steps p { margin: 0; color: #5a6a70; font-size: 13px; }
.drt-steps strong { color: #334f5b; font-size: 16px; }

.evidence-note {
  padding: 22px 24px;
  background: var(--white);
  border-left: 4px solid #87a7b3;
}

.evidence-note strong { color: #334f5b; font-size: 15px; }
.evidence-note p { margin: 8px 0 0; color: #66747a; font-size: 12px; line-height: 1.95; }

.daily { padding: 105px 0; background: var(--white); }

.daily-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: end;
}

.daily-heading h2 { margin-bottom: 0; }
.daily-heading h2 { font-size: clamp(30px, 3.4vw, 40px); }

.daily-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 52px;
}

.daily-grid article {
  min-height: 230px;
  padding: 31px 28px;
  background: var(--paper);
  border-top: 3px solid #c7907f;
}

.daily-grid article:nth-child(even) { border-top-color: #83a5b1; }
.daily-grid article > span { color: var(--accent); font-size: 29px; line-height: 1; }
.daily-grid article:nth-child(even) > span { color: var(--teal); }
.daily-grid h3 { margin: 24px 0 9px; color: #543a33; font: 600 22px "Noto Serif JP", serif; }
.daily-grid p { margin: 0; color: var(--muted); font-size: 13px; }

.medical { padding: 100px 0; background: #f7f2ed; }

.medical-layout {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 80px;
  align-items: start;
}

.medical-intro h2 { font-size: clamp(29px, 3.4vw, 40px); }
.medical-intro > p:last-child { color: var(--muted); font-size: 14px; }

.medical-cards { display: grid; gap: 16px; }
.medical-cards article { padding: 29px 32px; background: var(--white); border-top: 3px solid #b98372; }
.medical-cards .urgent-card { border-top-color: #5d8290; }
.medical-cards h3 { margin: 0 0 14px; color: #613e35; font: 600 21px "Noto Serif JP", serif; }
.medical-cards p, .medical-cards li { color: #645954; font-size: 13px; }
.medical-cards p { margin: 0 0 9px; }
.medical-cards ul { margin: 0; padding-left: 1.35em; }
.medical-cards li + li { margin-top: 5px; }
.medical-footnote { grid-column: 2; margin: -57px 31px 0; color: #776b65; font-size: 11px; }

.closing { padding: 95px 0; color: var(--white); background: var(--accent-dark); }

.closing-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 70px;
  align-items: center;
}

.closing .section-kicker { color: #efbd77; }
.closing h2 { color: var(--white); font-size: clamp(30px, 4vw, 45px); }
.closing p:not(.section-kicker) { max-width: 700px; margin: 0; color: #eadbd5; font-size: 14px; }
.closing-actions { min-width: 275px; text-align: center; }

.primary-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 16px 22px;
  color: var(--accent-dark);
  background: var(--white);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.secondary-link { display: inline-block; margin-top: 17px; color: #f1ddd5; font-size: 12px; text-underline-offset: 4px; }

.site-footer { padding: 28px 0; color: #ded2cb; background: #302925; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.site-footer p { margin: 0; font-size: 11px; }
.site-footer strong { color: var(--white); font-size: 13px; }

@media (max-width: 1000px) {
  .nav a:not(.nav-cta) { display: none; }
  .hero-grid { gap: 35px; }
  .body-link-layout, .drt-layout { gap: 55px; }
  .daily-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .container { width: min(100% - 40px, 1160px); }
  .site-header { height: 70px; }
  .header-inner { gap: 10px; }
  .logo { min-width: 0; font-size: clamp(14px, 4vw, 18px); white-space: normal; }
  .nav .nav-cta { padding: 9px 13px; font-size: 11px; }

  .hero, .hero-grid { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 15px; padding: 62px 0 52px; }
  .hero h1 { font-size: 40px; overflow-wrap: anywhere; }
  .hero-lead { font-size: 14px; }
  .hero-lead br { display: none; }
  .hero-visual { padding: 0 0 0; }
  .hero-photo-panel { height: 245px; }
  .hero-visual svg {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(83%, 335px);
    margin: -45px auto 0;
  }

  .three-parts, .response, .autonomic, .drt, .daily { padding: 72px 0; }
  .section-heading h2, .drt-copy h2, .medical-intro h2, .closing h2 { font-size: 29px; }
  .drt-copy h2 { font-size: 27px; }
  .section-heading h2 br, .drt-copy h2 br, .closing h2 br { display: none; }
  .section-heading > p:last-child { font-size: 14px; }
  .pillars { grid-template-columns: 1fr; gap: 14px; margin-top: 35px; }
  .pillar { min-height: 0; padding: 28px; }

  .body-link { padding: 72px 0; }
  .body-link-layout { grid-template-columns: 1fr; gap: 42px; }
  .body-link-copy { position: static; }
  .connection-flow li { grid-template-columns: 56px 1fr; gap: 18px; padding-bottom: 32px; }
  .flow-number { width: 54px; height: 54px; font-size: 15px; }
  .connection-flow li:not(:last-child)::after { left: 26px; top: 58px; }
  .connection-flow h3 { font-size: 21px; }

  .response-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 38px; }
  .response-card { padding: 29px 24px 25px; }
  .response-title-row h3 { font-size: 20px; }
  .shared-response { padding: 28px 23px; }
  .shared-items { grid-template-columns: 1fr; }
  .shared-items > div { padding: 15px 0; border-left: 0; border-top: 1px solid var(--line); }
  .shared-items > div:first-child { border-top: 0; }

  .autonomic-layout { grid-template-columns: 1fr; gap: 35px; }
  .autonomic-photo { height: 230px; }
  .autonomic-balance { width: calc(100% - 22px); min-height: 145px; margin-top: -25px; padding: 8px; }
  .mode { width: 106px; height: 106px; }
  .mode strong { font-size: 17px; }

  .drt-layout { grid-template-columns: 1fr; gap: 38px; }
  .drt-visual { position: static; }
  .drt-photo { height: 250px; }
  .drt-visual svg { width: 70%; margin-top: -45px; }

  .daily-heading { grid-template-columns: 1fr; gap: 20px; }
  .daily-grid { grid-template-columns: 1fr; gap: 13px; margin-top: 33px; }
  .daily-grid article { min-height: 0; }

  .medical { padding: 70px 0; }
  .medical-layout { grid-template-columns: 1fr; gap: 30px; }
  .medical-cards article { padding: 25px 23px; }
  .medical-footnote { grid-column: auto; margin: -12px 0 0; }

  .closing { padding: 68px 0; }
  .closing-inner { grid-template-columns: 1fr; gap: 33px; }
  .closing-actions { min-width: 0; }
  .footer-inner { display: block; }
  .site-footer p + p { margin-top: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
