:root {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --text: #172033;
  --muted: #5b667a;
  --border: #dfe3ea;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-soft: #eaf1ff;
  --green: #16a34a;
  --shadow: 0 18px 50px rgba(23, 32, 51, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    "Noto Sans JP",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 56px);
  border-bottom: 1px solid rgba(223, 227, 234, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.brand img,
.site-footer img {
  display: block;
  width: 168px;
  height: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.header-cta,
.button-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
}

.header-cta:hover,
.button-primary:hover {
  background: var(--blue-dark);
}

.button-secondary {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
}

.button-on-dark {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: 56px 0 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.12;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.25;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.45;
}

.lead {
  max-width: 700px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  background: var(--blue-soft);
  color: #17418f;
  font-size: 13px;
  font-weight: 800;
}

.product-panel {
  position: relative;
  border: 1px solid #b7cdfc;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow:
    0 0 0 8px rgba(255, 255, 255, 0.92),
    0 0 0 10px rgba(37, 99, 235, 0.08),
    0 30px 90px rgba(23, 32, 51, 0.18),
    0 12px 28px rgba(37, 99, 235, 0.14);
  overflow: hidden;
}

.product-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(37, 99, 235, 0.08);
}

.hero-hook {
  position: absolute;
  top: 14px;
  right: 28px;
  z-index: 3;
  display: grid;
  gap: 2px;
  min-width: 172px;
  padding: 12px 16px;
  border: 2px solid #ffffff;
  border-radius: 8px;
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.28);
  transform: rotate(2deg);
}

.hero-hook::after {
  content: "";
  position: absolute;
  right: 42px;
  bottom: -346px;
  width: 16px;
  height: 16px;
  border-right: 4px solid var(--blue);
  border-bottom: 4px solid var(--blue);
  background: transparent;
  transform: rotate(45deg);
}

.hero-hook::before {
  content: "";
  position: absolute;
  right: 48px;
  top: calc(100% + 8px);
  width: 4px;
  height: 324px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.28);
}

.hero-hook strong {
  font-size: 22px;
  line-height: 1.1;
}

.hero-hook span {
  font-size: 12px;
  font-weight: 900;
}

.panel-top {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 20px;
  border-bottom: 1px solid #d6e4ff;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.mail-card {
  margin: 20px;
  padding: 18px;
  border: 1px solid #cfe0ff;
  border-radius: 8px;
  background: #f7fbff;
}

.label {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.email {
  margin: 12px 0 0;
  padding: 12px;
  border-radius: 6px;
  background: #fff;
  color: #17418f;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.flow-list {
  display: grid;
  gap: 12px;
  padding: 0 20px 20px;
}

.flow-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
}

.flow-item span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eef2f7;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.flow-item.active span {
  background: var(--blue);
  color: #fff;
}

.flow-item p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.result-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-top: 1px solid var(--border);
  background: var(--surface-soft);
}

.result-box span {
  color: var(--muted);
  font-weight: 800;
}

.result-box strong {
  color: var(--blue);
  font-size: 28px;
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 84px 0;
}

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

.section-heading p:not(.eyebrow),
.reason-copy p,
.feature-copy p,
.pricing-card p,
.final-cta p {
  color: var(--muted);
}

.problem-grid,
.steps,
.feature-grid,
.assurance-grid,
.advanced-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.problem-grid article,
.steps article,
.assurance-grid article,
.advanced-grid article,
.feature-grid div {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.problem-grid p,
.steps p,
.feature-grid p,
.assurance-grid p,
.advanced-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.advanced-section {
  padding-top: 36px;
}

.advanced-grid article {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 18px;
  padding: 0 10px;
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  background: var(--blue-soft);
  color: #17418f;
  font-size: 12px;
  font-weight: 900;
}

.icon-box {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 900;
}

.reason-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 36px;
  align-items: center;
}

.comparison {
  display: grid;
  gap: 14px;
}

.comparison > div {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.comparison .after {
  border-color: #b7cdfc;
  background: #f7fbff;
}

.comparison ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.steps article span {
  display: block;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.feature-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) 1fr;
  gap: 34px;
  align-items: start;
}

.feature-grid {
  grid-template-columns: repeat(2, 1fr);
}

.pricing-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 34px;
  align-items: center;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid #b7cdfc;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.price-list {
  display: grid;
  gap: 12px;
}

.price-list div {
  padding: 18px;
  border-radius: 8px;
  background: var(--surface-soft);
}

.price-list span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.price-list strong {
  display: block;
  font-size: 18px;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 56px;
  padding: clamp(28px, 5vw, 48px);
  border-radius: 8px;
  background: #102042;
  color: #fff;
}

.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.assurance-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.final-cta p {
  max-width: 720px;
  color: #d8e3f8;
}

.final-cta .eyebrow {
  color: #8fb5ff;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 56px);
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

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

.footer-links a:hover {
  color: var(--blue);
}

@media (max-width: 900px) {
  .header-nav {
    display: none;
  }

  .hero,
  .reason-section,
  .feature-section,
  .pricing-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .problem-grid,
  .steps,
  .assurance-grid,
  .advanced-grid {
    grid-template-columns: 1fr;
  }

  .hero-hook {
    top: 12px;
    right: 18px;
  }

  .hero-hook::before {
    height: 308px;
  }

  .hero-hook::after {
    bottom: -330px;
  }
}

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

  .brand img,
  .site-footer img {
    width: 132px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero,
  .section {
    width: min(100% - 32px, 1120px);
  }

  .hero {
    padding-top: 34px;
  }

  h1 {
    font-size: 38px;
  }

  .lead {
    font-size: 16px;
  }

  .hero-hook {
    position: relative;
    top: auto;
    right: auto;
    width: fit-content;
    margin: 0 16px -2px auto;
    transform: rotate(1deg);
  }

  .hero-hook::before,
  .hero-hook::after {
    display: none;
  }

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

  .final-cta,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .final-cta .button {
    width: 100%;
  }

  .final-actions {
    width: 100%;
    flex-direction: column;
  }
}

/* Pricing Grid & Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 4px 12px rgba(23, 32, 51, 0.03);
  transition: all 0.3s ease;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(23, 32, 51, 0.08);
}

.price-card.popular {
  border-color: var(--blue);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.price-header {
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
  text-align: center;
}

.plan-name {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 8px;
  font-weight: 800;
}

.plan-price .currency {
  font-size: 20px;
  margin-right: 2px;
}

.plan-price .amount {
  font-size: 40px;
  line-height: 1;
}

.plan-price .period {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  margin-left: 2px;
}

.plan-desc {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.plan-features {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
}

.plan-features li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 20px;
  color: var(--text);
}

.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 800;
}

.plan-features li strong {
  font-weight: 800;
}

/* Media Queries for Pricing Grid */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
