:root {
  --ink: #102d47;
  --muted: #536a80;
  --paper: #f6faff;
  --white: #ffffff;
  --line: #c7d8ea;
  --green: #0f70b7;
  --green-dark: #0b5f9f;
  --coral: #dd6047;
  --cyan: #238bd0;
  --yellow: #f1c84b;
  --mist: #eaf5ff;
  --shadow: 0 20px 50px rgba(16, 45, 71, 0.14);
  --radius: 8px;
  color-scheme: light;
  font-family:
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    "YuGothic",
    "Noto Sans JP",
    system-ui,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-break: strict;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition:
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(245, 248, 252, 0.95);
  box-shadow: 0 10px 30px rgba(20, 38, 58, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  box-sizing: border-box;
  width: 46px;
  height: 46px;
  padding: 5px;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 22px rgba(20, 38, 58, 0.12);
}

.brand-name,
.brand-sub {
  display: block;
  line-height: 1.2;
}

.brand-name {
  font-weight: 800;
}

.brand-sub {
  margin-top: 3px;
  font-size: 0.72rem;
  opacity: 0.78;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 30px);
  font-size: 0.9rem;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
}

.site-header:not(.is-scrolled) .brand-name,
.site-header:not(.is-scrolled) .brand-sub,
.site-header:not(.is-scrolled) .nav a:not(.nav-cta) {
  text-shadow: 0 2px 12px rgba(8, 42, 72, 0.46);
}

.nav-cta {
  padding: 9px 16px;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 6px;
}

.hero {
  position: relative;
  display: grid;
  min-height: 82svh;
  overflow: hidden;
  color: var(--white);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 62% 50%;
  filter: saturate(1.08) contrast(1.04);
}

.hero-shade {
  background: linear-gradient(
    90deg,
    rgba(5, 52, 92, 0.88) 0%,
    rgba(8, 71, 123, 0.78) 32%,
    rgba(12, 91, 151, 0.34) 48%,
    rgba(12, 91, 151, 0) 58%
  );
}

.hero-content {
  position: relative;
  align-self: end;
  width: min(820px, calc(100% - 36px));
  margin: 0 0 clamp(28px, 5vh, 54px) clamp(18px, 6vw, 92px);
  padding-top: 92px;
}

.eyebrow,
.offer-label {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
}

.section-kicker {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 14px;
  margin: 0 0 clamp(22px, 2vw, 28px);
  color: var(--coral);
  font-size: clamp(0.92rem, 1.1vw, 1.04rem);
  font-weight: 900;
  line-height: 1.35;
}

.section-kicker::before {
  display: block;
  flex: 0 0 44px;
  height: 1px;
  content: "";
  background: currentColor;
  opacity: 0.72;
}

.section-heading.narrow .section-kicker {
  justify-content: center;
  gap: 16px;
  margin-bottom: clamp(24px, 2.2vw, 30px);
}

.section-heading.narrow .section-kicker::after {
  display: block;
  flex: 0 0 44px;
  height: 1px;
  content: "";
  background: currentColor;
  opacity: 0.72;
}

.hero .eyebrow {
  color: var(--yellow);
}

h1,
h2,
h3,
p,
li,
summary,
dt,
dd {
  line-break: strict;
  overflow-wrap: break-word;
  word-break: normal;
}

h1,
h2,
h3,
summary,
.button,
.brand-name,
.brand-sub,
.hero-facts dd {
  overflow-wrap: normal;
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

@supports (word-break: auto-phrase) {
  h1,
  h2,
  h3,
  p,
  li,
  summary,
  .button {
    word-break: auto-phrase;
  }
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.22;
  letter-spacing: 0;
}

h1 {
  max-width: 13em;
  font-size: clamp(2.35rem, 5.8vw, 4.55rem);
  font-weight: 900;
}

h1 span {
  display: block;
}

.hero-lead {
  max-width: 670px;
  margin: 22px 0 0;
  font-size: clamp(1rem, 1.9vw, 1.25rem);
  font-weight: 600;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.1);
}

.button.dark {
  color: var(--white);
  background: var(--green-dark);
  box-shadow: none;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
}

.hero-facts div {
  min-width: 116px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.09);
}

.hero-facts dt,
.hero-facts dd {
  margin: 0;
}

.hero-facts dt {
  font-size: 0.75rem;
  opacity: 0.72;
}

.hero-facts dd {
  font-weight: 800;
  word-break: keep-all;
}

.container {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.band {
  background: linear-gradient(135deg, #0b5f9f 0%, #1685c8 100%);
  color: var(--white);
}

.intro {
  padding: 38px 0;
}

.intro .section-kicker {
  color: var(--yellow);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 6vw, 80px);
  align-items: start;
}

.intro h2 {
  font-size: clamp(1.55rem, 3.2vw, 2.25rem);
}

.intro p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.section {
  padding: clamp(64px, 9vw, 108px) 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading.narrow {
  max-width: 860px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2,
.sticky-copy h2 {
  font-size: clamp(1.8rem, 3.45vw, 2.74rem);
  line-height: 1.28;
}

.section-heading p:not(.section-kicker),
.sticky-copy p:not(.section-kicker) {
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 600;
}

.symptom-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.symptom-list article {
  min-height: 280px;
  padding: clamp(20px, 3vw, 30px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.number {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--cyan);
  font-weight: 900;
}

.symptom-list h3,
.theme-grid h3,
.case-grid h3,
.offer-grid h3 {
  font-size: 1.2rem;
}

.symptom-list p,
.theme-grid p,
.case-grid p,
.offer-grid p,
.journey p,
.flow-list p,
.faq p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.split-band {
  background: var(--mist);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(250px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(30px, 7vw, 86px);
  align-items: start;
}

.sticky-copy {
  position: sticky;
  top: 108px;
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(31, 111, 184, 0.26);
  border-left: 1px solid rgba(31, 111, 184, 0.26);
}

.theme-grid article,
.case-grid article,
.offer-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 22px rgba(20, 38, 58, 0.05);
}

.theme-grid article {
  min-height: 178px;
  padding: clamp(22px, 3vw, 32px);
  border: 0;
  border-right: 1px solid rgba(31, 111, 184, 0.26);
  border-bottom: 1px solid rgba(31, 111, 184, 0.26);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: none;
}

.theme-grid article:nth-child(2n) {
  background: rgba(255, 255, 255, 0.56);
}

.theme-grid h3 {
  display: flex;
  gap: 14px;
  align-items: center;
  color: var(--ink);
  font-size: clamp(1.18rem, 1.8vw, 1.45rem);
}

.theme-grid h3::before {
  display: block;
  flex: 0 0 36px;
  width: 36px;
  height: 2px;
  content: "";
  background: var(--coral);
}

.theme-grid p {
  max-width: 24em;
  margin-top: 22px;
  color: #536578;
  font-size: 0.98rem;
  line-height: 1.95;
}

.journey {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-top: 36px;
}

.journey article {
  position: relative;
  min-height: 250px;
  padding: 26px 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--white);
}

.journey article:last-child {
  border-right: 1px solid var(--line);
}

.journey span {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 28px;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
  font-weight: 900;
}

.journey h3 {
  font-size: 1.08rem;
}

.case-band {
  background: linear-gradient(135deg, #0b5f9f 0%, #147bbf 100%);
  color: var(--white);
}

.case-band .section-kicker {
  color: var(--yellow);
}

.case-band .section-heading p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.84);
}

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

.case-grid article {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.case-grid p {
  color: rgba(255, 255, 255, 0.84);
}

.flow-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 7vw, 86px);
  align-items: start;
}

.flow-copy {
  margin-bottom: 0;
}

.flow-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.flow-list span {
  color: var(--coral);
  font-weight: 900;
}

.flow-list h3 {
  font-size: 1.16rem;
}

.offer-band {
  background: #fff7dd;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.offer-label {
  color: var(--cyan);
}

.form-band {
  background: var(--paper);
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(320px, 1fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: start;
}

.form-copy h2 {
  font-size: clamp(1.85rem, 4vw, 3rem);
}

.form-copy .section-kicker {
  margin-bottom: clamp(30px, 3vw, 42px);
}

.form-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 600;
}

.form-notes {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.form-notes li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  font-size: 0.95rem;
}

.form-notes li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 10px;
  height: 10px;
  content: "";
  background: var(--coral);
  border-radius: 50%;
}

.form-panel {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-panel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.form-panel-head p,
.form-panel-head h3 {
  margin: 0;
}

.form-panel-head p {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
}

.form-panel-head h3 {
  font-size: 1.65rem;
}

.hubspot-form-shell {
  min-height: 300px;
}

.hubspot-form-shell .hs-form-frame {
  min-height: 980px !important;
}

.hubspot-form-shell.is-fallback {
  min-height: 0;
}

.form-fallback {
  padding: 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.form-fallback h3 {
  font-size: 1.2rem;
}

.form-fallback p {
  margin: 12px 0 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.hubspot-form-shell form {
  display: grid;
  gap: 16px;
}

.hubspot-form-shell iframe {
  display: block;
  width: 100%;
  min-height: 980px !important;
  visibility: visible !important;
}

.final-cta {
  padding: clamp(56px, 8vw, 90px) 0;
  color: var(--white);
  background: linear-gradient(135deg, #0f70b7 0%, #238bd0 100%);
}

.cta-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.55fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: center;
}

.final-cta .section-kicker {
  color: var(--yellow);
  margin-bottom: clamp(30px, 3vw, 42px);
}

.final-cta h2 {
  max-width: 12em;
  font-size: clamp(1.9rem, 4vw, 3.35rem);
}

.final-cta p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.9);
}

.cta-actions {
  display: grid;
  gap: 14px;
  justify-items: start;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.13);
}

.cta-actions p {
  margin: 0;
  font-size: 0.86rem;
}

.cta-note {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  line-height: 1.8;
}

.faq {
  background: var(--white);
}

.faq-list {
  max-width: 850px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  padding: 22px 0;
  font-weight: 800;
}

summary::marker {
  color: var(--green);
}

details p {
  margin: 0;
  padding: 0 0 22px;
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.82);
  background: #0d253a;
}

.footer-inner {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.footer-inner p {
  margin: 6px 0 0;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 980px) {
  .nav a:not(.nav-cta) {
    display: none;
  }

  .intro-grid,
  .two-column,
  .flow-layout,
  .cta-layout,
  .form-layout {
    grid-template-columns: 1fr;
  }

  .sticky-copy {
    position: static;
  }

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

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

  .journey article,
  .journey article:last-child {
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .journey article:last-child {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 64px;
    padding: 10px 16px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-sub {
    display: none;
  }

  .section-kicker {
    gap: 10px;
    margin-bottom: 18px;
    font-size: 0.9rem;
  }

  .section-kicker::before,
  .section-heading.narrow .section-kicker::after {
    flex-basis: 28px;
  }

  .nav-cta {
    padding: 8px 12px;
  }

  .hero {
    min-height: 82svh;
  }

  .hero-image {
    object-position: 68% 50%;
  }

  .hero-shade {
    background: linear-gradient(
      90deg,
      rgba(4, 45, 82, 0.9) 0%,
      rgba(8, 72, 124, 0.8) 44%,
      rgba(10, 91, 154, 0.3) 66%,
      rgba(10, 91, 154, 0) 78%
    );
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: 0 16px 38px;
    padding-top: 84px;
  }

  h1 {
    font-size: clamp(2.15rem, 12vw, 3.2rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-facts div {
    min-width: 0;
    padding: 10px 8px;
  }

  .hero-facts dd {
    font-size: 0.78rem;
  }

  .symptom-list,
  .theme-grid,
  .case-grid,
  .offer-grid {
    grid-template-columns: 1fr;
  }

  #themes .container {
    width: min(100% - 52px, 520px);
  }

  .theme-grid {
    border-left: 0;
  }

  .theme-grid article {
    min-height: 0;
    padding: 24px 6px 28px;
    border-right: 0;
    background: transparent;
  }

  .theme-grid article:nth-child(2n) {
    background: transparent;
  }

  .theme-grid h3 {
    gap: 12px;
  }

  .theme-grid h3::before {
    flex-basis: 32px;
    width: 32px;
  }

  .theme-grid p {
    max-width: none;
    margin-left: 44px;
    margin-top: 12px;
  }

  .symptom-list article {
    min-height: 0;
  }

  .flow-list li {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 18px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
