* {
  box-sizing: border-box;
}

:root {
  --bg: #f7f2e8;
  --bg-soft: #fffaf0;
  --text: #26211b;
  --muted: #6f6558;
  --line: rgba(38, 33, 27, 0.12);
  --accent: #e9783f;
  --accent-dark: #c95524;
  --card: #ffffff;
  --shadow: 0 24px 60px rgba(48, 37, 22, 0.14);
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 242, 232, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.site-header.transparent {
  background: rgba(255, 250, 240, 0.72);
}

.header-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
  font-size: 20px;
}

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

.header-link {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.hero {
  padding: 80px 0 64px;
  background:
    radial-gradient(circle at 10% 0%, rgba(233, 120, 63, 0.20), transparent 34%),
    radial-gradient(circle at 95% 10%, rgba(255, 205, 128, 0.35), transparent 30%);
}

.hero-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.06em;
}

h2 {
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.25;
  letter-spacing: -0.04em;
}

h3 {
  font-size: 20px;
  line-height: 1.4;
}

.lead,
.section-lead,
.thanks-lead {
  color: var(--muted);
  font-size: 18px;
}

.hero-points {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hero-points div {
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.56);
  border-radius: 18px;
  font-weight: 700;
}

.signup-card,
.thanks-card,
.prompt-card,
.feature-card,
.step-card,
.soft-cta {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.signup-card {
  padding: 32px;
}

.card-label {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff0df;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
}

.signup-card h2 {
  margin-bottom: 10px;
  font-size: 32px;
}

.signup-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.signup-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.signup-form label span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

input {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffdf8;
  font: inherit;
}

input:focus {
  outline: 3px solid rgba(233, 120, 63, 0.22);
  border-color: var(--accent);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 13px 22px;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 16px 34px rgba(201, 85, 36, 0.28);
}

.btn.secondary {
  color: var(--accent-dark);
  background: #fff0df;
}

.btn.large {
  min-height: 62px;
  padding: 16px 30px;
  font-size: 18px;
}

.privacy-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.error-box {
  margin: 18px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff0f0;
  color: #a53838;
  font-weight: 700;
}

.section {
  padding: 72px 0;
}

.section-inner {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
}

.feature-grid,
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.feature-card,
.step-card {
  padding: 26px;
  box-shadow: none;
}

.feature-card span,
.step-card span {
  color: var(--accent-dark);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.08em;
}

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

.thanks-page {
  background: #fffaf0;
}

.thanks-hero {
  min-height: 720px;
  padding: 84px 0 48px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(233, 120, 63, 0.22), transparent 36%),
    linear-gradient(180deg, #fff2df 0%, #fffaf0 70%);
}

.thanks-card {
  width: min(760px, calc(100% - 32px));
  padding: clamp(30px, 6vw, 56px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.thanks-card::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin: 0 auto 22px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  font-size: 42px;
  font-weight: 900;
  box-shadow: 0 18px 34px rgba(201, 85, 36, 0.28);
}

.thanks-card h1 {
  font-size: clamp(38px, 6vw, 64px);
}

.thanks-action {
  margin: 30px 0;
}

.thanks-action p {
  margin-top: 14px;
  color: var(--muted);
}

.mail-check {
  margin-top: 28px;
  padding: 22px;
  border-radius: 22px;
  background: #fff7eb;
  text-align: left;
}

.mail-check h2 {
  margin-bottom: 8px;
  font-size: 22px;
}

.mail-check p {
  color: var(--muted);
  margin-bottom: 0;
}

.thanks-next {
  background: var(--bg);
}

.soft-cta {
  margin-top: 32px;
  padding: 34px;
  text-align: center;
}

.soft-cta h2 {
  font-size: 28px;
}

.soft-cta p {
  color: var(--muted);
}

.page-hero {
  padding: 76px 0 44px;
  background: linear-gradient(180deg, #fff0df 0%, var(--bg) 100%);
}

.page-hero-inner,
.prompt-list {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(36px, 6vw, 58px);
}

.prompt-section {
  padding: 24px 0 72px;
}

.prompt-list {
  display: grid;
  gap: 18px;
}

.prompt-card {
  padding: 26px;
  box-shadow: none;
}

.prompt-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.prompt-head span {
  flex: 0 0 auto;
  color: var(--accent-dark);
  font-weight: 900;
}

.prompt-head h2 {
  margin-bottom: 12px;
  font-size: 24px;
}

.prompt-card p {
  color: var(--muted);
  background: #fffaf0;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 30;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  pointer-events: none;
  padding: 12px 18px;
  border-radius: 999px;
  color: #fff;
  background: #26211b;
  transition: 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

.footer-links {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

@media (max-width: 820px) {
  .hero {
    padding-top: 48px;
  }

  .hero-inner,
  .feature-grid,
  .step-grid {
    grid-template-columns: 1fr;
  }

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

  .signup-card {
    padding: 24px;
  }

  .thanks-hero {
    min-height: auto;
    padding-top: 56px;
  }

  .footer-links {
    display: grid;
  }
}


/* Thanks page */
.thanks-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255, 214, 165, 0.45), transparent 34rem),
    radial-gradient(circle at bottom right, rgba(168, 213, 186, 0.45), transparent 32rem),
    #fffaf3;
}

.thanks-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
}

.thanks-card {
  width: min(760px, 100%);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(55, 45, 35, 0.08);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(70, 52, 34, 0.12);
  padding: clamp(28px, 6vw, 56px);
  text-align: center;
}

.thanks-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff0d9;
  color: #9a5a00;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 22px;
}

.thanks-card h1 {
  font-size: clamp(32px, 7vw, 54px);
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin: 0 0 20px;
  color: #2f261d;
}

.thanks-lead {
  font-size: 17px;
  line-height: 1.9;
  color: #5d5147;
  max-width: 620px;
  margin: 0 auto 28px;
}

.thanks-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 28px 0 34px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.primary-button {
  background: #f28c28;
  color: #fff;
  box-shadow: 0 14px 26px rgba(242, 140, 40, 0.25);
}

.secondary-button {
  background: #f7efe5;
  color: #56463a;
}

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

.mail-check-box {
  text-align: left;
  background: #fff8ee;
  border: 1px solid #f1dcc2;
  border-radius: 20px;
  padding: 22px;
  margin: 0 auto 28px;
}

.mail-check-box h2 {
  font-size: 18px;
  margin: 0 0 8px;
  color: #3a2c20;
}

.mail-check-box p {
  margin: 0;
  color: #66584d;
  line-height: 1.8;
}

.thanks-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 28px 0;
}

.thanks-step {
  background: #ffffff;
  border: 1px solid #eee1d2;
  border-radius: 18px;
  padding: 18px 14px;
}

.thanks-step span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #2f261d;
  color: #fff;
  font-weight: 700;
  margin-bottom: 10px;
}

.thanks-step p {
  margin: 0;
  color: #51463d;
  line-height: 1.6;
  font-weight: 600;
}

.thanks-note {
  margin: 22px auto 0;
  max-width: 620px;
  color: #74675d;
  line-height: 1.9;
  font-size: 15px;
}

@media (max-width: 720px) {
  .thanks-steps {
    grid-template-columns: 1fr;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .thanks-card {
    border-radius: 22px;
  }
}



/* ===== Thanks page layout fix v13 ===== */
.thanks-page {
  min-height: 100vh;
  margin: 0;
  color: #27211a;
  background:
    radial-gradient(circle at 15% 12%, rgba(255, 205, 122, 0.45), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(255, 150, 93, 0.28), transparent 30%),
    linear-gradient(180deg, #fff8ec 0%, #f7efe3 100%);
}

.thanks-header {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.thanks-logo {
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: #27211a;
  font-size: 18px;
}

.thanks-header-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(135, 92, 36, 0.16);
  color: #5b3a1c;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(88, 57, 20, 0.08);
}

.thanks-main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 72px;
}

.thanks-hero {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: clamp(34px, 7vw, 72px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 246, 229, 0.92));
  border: 1px solid rgba(137, 92, 35, 0.14);
  box-shadow: 0 28px 70px rgba(88, 57, 20, 0.15);
}

.thanks-hero::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: rgba(255, 132, 82, 0.16);
}

.thanks-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff0d9;
  color: #a6501c;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.thanks-hero h1 {
  position: relative;
  z-index: 1;
  margin: 20px 0 0;
  max-width: 820px;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.22;
  letter-spacing: -0.04em;
  color: #241b13;
}

.thanks-lead {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 22px 0 0;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 2;
  color: #5f5245;
}

.thanks-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.thanks-primary-button,
.thanks-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  line-height: 1;
}

.thanks-primary-button {
  background: linear-gradient(135deg, #ff8a3d, #f15d2b);
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(241, 93, 43, 0.28);
}

.thanks-secondary-button {
  background: #ffffff;
  color: #61401d;
  border: 1px solid rgba(135, 92, 36, 0.18);
}

.thanks-small {
  position: relative;
  z-index: 1;
  margin: 20px 0 0;
  color: #77695b;
  font-size: 14px;
  line-height: 1.8;
}

.thanks-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.thanks-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(137, 92, 35, 0.13);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 18px 44px rgba(88, 57, 20, 0.09);
}

.thanks-card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #ffe5c2;
  color: #a6501c;
  font-weight: 900;
}

.thanks-card h2 {
  margin: 18px 0 0;
  font-size: 19px;
  line-height: 1.5;
  color: #2a2119;
}

.thanks-card p {
  margin: 10px 0 0;
  color: #63564a;
  line-height: 1.9;
}

.thanks-message {
  margin-top: 22px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(39, 33, 26, 0.88);
  color: #fff8ed;
  box-shadow: 0 18px 44px rgba(39, 33, 26, 0.14);
}

.thanks-message p {
  margin: 0;
  line-height: 1.9;
}

.thanks-message p + p {
  margin-top: 6px;
}

@media (max-width: 820px) {
  .thanks-header {
    padding: 16px 0;
  }

  .thanks-card-grid {
    grid-template-columns: 1fr;
  }

  .thanks-hero {
    border-radius: 24px;
    padding: 30px 22px;
  }

  .thanks-actions {
    flex-direction: column;
  }

  .thanks-primary-button,
  .thanks-secondary-button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .thanks-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .thanks-header-link {
    width: 100%;
  }

  .thanks-main {
    width: min(100% - 24px, 1120px);
    padding-bottom: 48px;
  }

  .thanks-card {
    padding: 20px;
  }
}
