:root {
  --bg: #f7f4ef;
  --paper: #ffffff;
  --ink: #1f2937;
  --muted: #5f6875;
  --line: #d9d4cc;
  --accent: #b45359;
  --accent-dark: #8f3e44;
  --soft: #f2e7e2;
  --navy: #1f2d3d;
  --z-header: 10;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  color: var(--ink);
  background: var(--bg);
  font-family: "Yu Gothic", "Hiragino Sans", Meiryo, system-ui, sans-serif;
  line-height: 1.75;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.2;
  text-wrap: balance;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(40px, 7vw, 72px);
}

h2 {
  max-width: 820px;
  margin-bottom: 28px;
  font-size: clamp(30px, 4.5vw, 48px);
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

p {
  text-wrap: pretty;
}

.shell {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  max-width: 820px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  border-bottom: 1px solid rgba(217, 212, 204, 0.9);
  background: rgba(247, 244, 239, 0.96);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  padding-right: env(safe-area-inset-right);
  padding-left: env(safe-area-inset-left);
}

.brand,
.topbar-link {
  font-weight: 800;
  text-decoration: none;
}

.brand {
  font-size: 14px;
}

.topbar-link {
  color: var(--muted);
  font-size: 13px;
}

.hero {
  padding: 24px 0 30px;
  color: var(--ink);
  background: #fffaf1;
}

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

.hero-visual {
  display: block;
  overflow: hidden;
  border: 1px solid #eadfd3;
  border-radius: 8px;
  background: #fffaf1;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-actionbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 22px;
}

.hero-actionbar .actions {
  flex: 0 0 auto;
  margin-top: 0;
}

.hero-action-title {
  margin: 0;
  color: var(--navy);
  font-size: 20px;
  font-weight: 900;
}

.hero-action-copy {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  gap: 64px;
  align-items: center;
}

.hero-main {
  max-width: 710px;
}

.hero h1 {
  max-width: 700px;
  margin-bottom: 22px;
  font-size: clamp(48px, 7vw, 84px);
}

.hero h1 span,
.hero h1 strong {
  display: block;
}

.hero h1 strong {
  color: #f2c8c4;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 900;
}

.eyebrow.light {
  color: #f2c8c4;
}

.hero-copy {
  max-width: 650px;
  margin: 0;
  color: #dbe4ee;
  font-size: 17px;
  line-height: 1.9;
}

.hero-hook {
  max-width: 650px;
  margin: 0 0 12px;
  color: #ffffff;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 900;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.hero-points span {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
}

.offer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.offer-row span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font-size: 14px;
}

.tabular {
  font-variant-numeric: tabular-nums;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid var(--navy);
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
}

.button.primary {
  background: var(--navy);
  color: #ffffff;
}

.button.primary:hover {
  background: #111827;
}

.button.secondary {
  border-color: var(--line);
  background: var(--paper);
}

.button.secondary:hover {
  border-color: var(--navy);
}

.hero .button.primary {
  border-color: #e8666d;
  background: #e8666d;
  color: #ffffff;
}

.hero .button.primary:hover {
  border-color: #cf555d;
  background: #cf555d;
}

.hero .button.secondary {
  border-color: #d8cec3;
  background: #ffffff;
  color: var(--navy);
}

.hero .button.secondary:hover {
  border-color: var(--navy);
}

.button.disabled {
  border-color: #9ca3af;
  background: #e5e7eb;
  color: #6b7280;
  cursor: not-allowed;
}

.fine-print {
  max-width: 700px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.hero .fine-print {
  color: var(--muted);
}

.hero-card,
.feature-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.hero-card {
  padding: 30px;
  border: 0;
  color: var(--ink);
  background: #ffffff;
}

.card-label {
  margin: 0 0 18px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 900;
}

.hero-meeting {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.hero-meeting > span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.hero-meeting strong {
  display: block;
  margin: 3px 0 0;
  color: var(--navy);
  font-size: clamp(44px, 5vw, 58px);
  line-height: 1.1;
}

.hero-meeting strong small {
  margin-left: 4px;
  font-size: 18px;
}

.hero-meeting p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.hero-pay-list {
  display: grid;
  gap: 12px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.hero-pay-list p {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  font-size: 13px;
}

.hero-pay-list strong {
  color: var(--navy);
  font-size: 18px;
  white-space: nowrap;
}

.hero-card-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

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

.check-list li {
  position: relative;
  padding-left: 28px;
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  top: 1px;
  left: 0;
  color: var(--accent);
  content: "✓";
  font-weight: 900;
}

.section {
  padding: 76px 0;
  border-top: 1px solid var(--line);
}

.soft-section {
  background: var(--soft);
}

.section-lead {
  max-width: 680px;
  margin: -8px 0 28px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.9;
}

.plain-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.plain-list p {
  margin: 0;
  padding: 16px 18px;
  border-left: 3px solid var(--accent);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  padding: 24px;
}

.feature-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.feature-number {
  margin: 0 0 26px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 900;
}

.dark-section {
  color: #ffffff;
  background: var(--navy);
}

.pay-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid #536171;
  border-radius: 8px;
  background: #536171;
}

.pay-grid article {
  display: grid;
  gap: 10px;
  padding: 26px;
  background: var(--navy);
}

.pay-grid p,
.pay-grid small {
  margin: 0;
}

.pay-grid strong {
  font-size: 34px;
}

.pay-grid small,
.dark-note {
  color: #cbd5e1;
}

.dark-note {
  margin: 18px 0 0;
  font-size: 13px;
}

.steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

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

.steps > li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  min-height: 34px;
  border-radius: 8px;
  background: var(--navy);
  color: #ffffff;
  font-weight: 900;
}

.steps strong {
  font-size: 18px;
}

.steps p {
  margin: 4px 0 0;
  color: var(--muted);
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.requirements-grid ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 22px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

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

.faq-list summary {
  padding: 20px 4px;
  font-weight: 900;
  cursor: pointer;
}

.faq-list details p {
  margin: 0;
  padding: 0 4px 22px;
  color: var(--muted);
}

.apply-section {
  padding: 76px 0;
  border-top: 1px solid var(--line);
}

.apply-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.apply-card h2 {
  margin-bottom: 14px;
}

.apply-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.footer {
  padding: 32px 0 calc(32px + env(safe-area-inset-bottom));
  color: #cbd5e1;
  background: #111827;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
}

.footer p {
  margin: 0;
}

@media (max-width: 800px) {
  .hero-grid,
  .feature-grid,
  .pay-grid,
  .requirements-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 14px 0 22px;
  }

  .hero-visual-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero-actionbar {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
    padding-top: 18px;
  }

  .hero-actionbar .actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .section,
  .apply-section {
    padding: 58px 0;
  }

  .plain-list {
    grid-template-columns: 1fr;
  }

  .apply-card,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .shell {
    width: min(100% - 28px, 1080px);
  }

  .offer-row {
    display: grid;
  }

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

  .offer-row span {
    display: flex;
    justify-content: space-between;
  }

  .hero-card,
  .feature-card,
  .pay-grid article,
  .apply-card {
    padding: 22px;
  }
}

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