:root {
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  color: #172033;
  background: #f8f8f6;
  --ink: #172033;
  --muted: #5f6878;
  --line: #dfe3e8;
  --surface: #ffffff;
  --soft: #f2f3f1;
  --navy: #13233f;
  --accent: #b97824;
  --accent-dark: #8e5d1d;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: #f8f8f6;
  color: var(--ink);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  line-height: 1.7;
}
a { color: inherit; }
button, a, input, select, textarea { font: inherit; }
.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}
.compact-section { max-width: 900px; }
.section { padding: 76px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--navy); color: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  border-radius: 4px;
}
.brand strong { font-size: .95rem; }
.header-cta {
  padding: 9px 15px;
  color: #fff;
  background: var(--navy);
  text-decoration: none;
  font-weight: 700;
  font-size: .86rem;
  border-radius: 4px;
}

.hero {
  background: #fff;
  padding-top: 68px;
  padding-bottom: 72px;
}
.hero-inner { max-width: 860px; }
.kicker {
  margin: 0;
  color: var(--accent-dark);
  font-size: .88rem;
  font-weight: 700;
}
.hero h1 {
  margin: 18px 0 0;
  font-size: clamp(3rem, 6vw, 5.2rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.headline-line { display: block; }
.hero-description {
  max-width: 720px;
  margin: 24px 0 0;
  color: #465061;
  font-size: 1.04rem;
  line-height: 1.9;
}
.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.button, .text-link { font-weight: 700; }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  text-decoration: none;
  border-radius: 4px;
}
.button-primary { background: var(--accent); color: #fff; }
.text-link { text-underline-offset: 4px; }
.demo-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: .82rem;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 30px;
}
.section-heading h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.3vw, 2.7rem);
  line-height: 1.25;
  letter-spacing: -.02em;
}
.heading-line { display: block; }
.section-heading > p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.85;
}
.section-heading-light > p { color: #c7cfdb; }

.benefit-list, .flow-list { border-top: 1px solid var(--line); }
.info-card, .flow-step {
  display: grid;
  grid-template-columns: 56px 210px 1fr;
  gap: 22px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.info-card .number, .flow-step strong {
  color: var(--accent-dark);
  font-size: .78rem;
  font-weight: 800;
}
.info-card h3, .flow-step h3 {
  margin: 0;
  font-size: 1.08rem;
}
.info-card p, .flow-step p {
  margin: 0;
  color: var(--muted);
}

.section-contact {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.form-section { max-width: 880px; }
.consultation-form {
  display: grid;
  gap: 30px;
}
.form-group {
  margin: 0;
  padding: 0;
  border: 0;
}
.form-group legend,
.field > span {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
}
.field > span small,
.field-note {
  color: var(--muted);
  font-weight: 400;
}
.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
}
.choice-grid-small { grid-template-columns: repeat(2, minmax(0,220px)); }
.choice {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 11px 13px;
  background: #fff;
  border: 1px solid #cfd5dc;
  cursor: pointer;
}
.choice input { margin: 0; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #cfd5dc;
  background: #fff;
  color: var(--ink);
  border-radius: 2px;
}
.field input,
.field select {
  min-height: 48px;
  padding: 0 12px;
}
.field textarea {
  padding: 12px;
  resize: vertical;
}
.amount-field {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
}
.amount-field input {
  border-right: 0;
  border-radius: 2px 0 0 2px;
}
.amount-field > span {
  min-height: 48px;
  display: grid;
  place-items: center;
  padding: 0 14px;
  border: 1px solid #cfd5dc;
  background: #f4f5f3;
}
.file-input { padding: 10px !important; min-height: auto !important; }
.field-note {
  display: block;
  margin-top: 7px;
  font-size: .82rem;
}
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #465061;
  font-size: .92rem;
}
.consent input { margin-top: 5px; }
.submit-button {
  min-height: 52px;
  border: 0;
  border-radius: 4px;
  background: #dfe3e8;
  color: #747d8a;
  font-weight: 700;
}
.form-status {
  margin: -14px 0 0;
  color: var(--muted);
  font-size: .82rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.video-card {
  border-top: 1px solid rgba(255,255,255,.18);
  padding-top: 14px;
}
.video-thumb {
  aspect-ratio: 9 / 16;
  max-height: 390px;
  display: grid;
  place-items: center;
  background: #1a2d4f;
}
.play-button {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
}
.video-meta { padding-top: 12px; }
.video-meta small { color: #d4aa72; font-weight: 700; }
.video-meta h3 { margin: 5px 0 0; font-size: 1rem; }

.site-footer {
  padding: 28px 0;
  background: #0a1326;
  color: #fff;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
}
.footer-inner p {
  margin: 6px 0 0;
  color: #9da8ba;
  font-size: .82rem;
}
.footer-credit { color: #9da8ba; font-size: .8rem; }
.footer-credit a { color: #fff; }

@media (max-width: 800px) {
  .section { padding: 64px 0; }
  .info-card, .flow-step { grid-template-columns: 48px 180px 1fr; }
  .video-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 52px 0; }
  .site-header { position: static; }
  .header-inner { min-height: 60px; }
  .brand strong { font-size: .84rem; }
  .header-cta { padding: 8px 11px; font-size: .76rem; }
  .hero { padding-top: 40px; padding-bottom: 52px; }
  .hero h1 { font-size: clamp(2.3rem, 10.6vw, 3.05rem); }
  .headline-line { white-space: nowrap; }
  .hero-description { font-size: 1rem; }
  .hero-actions { display: grid; gap: 13px; }
  .button { width: 100%; }
  .text-link { justify-self: start; }
  .info-card, .flow-step {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 18px 0;
  }
  .choice-grid,
  .choice-grid-small,
  .form-row { grid-template-columns: 1fr; }
  .consultation-form { gap: 26px; }
  .video-grid { grid-template-columns: 1fr; }
  .video-thumb { aspect-ratio: 16 / 10; }
  .footer-inner { display: grid; align-items: start; }
}

@media (max-width: 370px) {
  .headline-line { white-space: normal; }
  .hero h1 { font-size: 2.25rem; }
}
