:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --accent: #0071e3;
  --accent-strong: #0062c7;
  --ok: #1d7f3f;
  --radius: 20px;
  --shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  letter-spacing: 0.02em;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

section[id] {
  scroll-margin-top: 84px;
}

.label,
.hero .label,
.cta .label {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.cta .label {
  margin: 0 auto 10px;
  max-width: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  text-align: center;
}

.lead {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand__logo {
  height: 44px;
  width: auto;
}

.brand .brand__text {
  color: var(--text);
}

.brand .brand__text span {
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: #3a3a3c;
  align-items: center;
}

.nav__links {
  display: flex;
  gap: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600;
  transition: 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 15px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--text);
}

.btn-secondary:hover {
  background: #fafafa;
}

.hero {
  padding: 78px 0 68px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: url("https://images.unsplash.com/photo-1461749280684-dccba630e2f6?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center 28%;
  opacity: 0.62;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(245, 245, 247, 0.2) 0%, rgba(245, 245, 247, 0.62) 82%);
}

.hero h1 {
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.12;
  margin-bottom: 16px;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
  align-items: stretch;
}

.hero__left,
.hero__right {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(8px) saturate(140%);
  box-shadow: var(--shadow);
  padding: clamp(26px, 4vw, 44px);
}

.hero p {
  color: var(--muted);
  font-size: clamp(15px, 1.45vw, 18px);
  max-width: 32em;
  margin-bottom: 20px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: #4d4d50;
  font-size: 14px;
}

.trust span::before {
  content: "✓";
  color: var(--ok);
  margin-right: 7px;
  font-weight: 700;
}

.mini-price {
  display: grid;
  gap: 12px;
}

.mini-price__tag {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mini-price__value {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  line-height: 1;
}

.mini-price__value strong {
  font-size: clamp(38px, 4.8vw, 58px);
  letter-spacing: -0.03em;
}

.mini-price__value span {
  font-size: 20px;
  color: var(--muted);
  margin-bottom: 9px;
}

.mini-price__note {
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 42px;
}

.card {
  background: var(--surface);
  border-radius: 18px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 22px;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.card p {
  color: var(--muted);
  font-size: 15px;
}

.price-wrap {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.price-box {
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 30px;
  border: 2px solid #8ac5ff;
}

.price-box .name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.price-box .desc {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.price-box .yen {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.price-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  color: #363638;
  font-size: 14px;
}

.price-box li::before {
  content: "・";
  color: var(--accent);
  margin-right: 4px;
}

.steps {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.step {
  background: var(--surface);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
  min-height: 185px;
}

.step .num {
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 10px;
}

.step h3 {
  font-size: 18px;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.step p {
  color: var(--muted);
  font-size: 14px;
}

.faq {
  margin-top: 34px;
  display: grid;
  gap: 12px;
}

details {
  background: var(--surface);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 16px 18px;
}

summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-size: 22px;
  color: var(--accent);
  line-height: 1;
}

details[open] summary::after {
  content: "−";
}

details p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.cta {
  background: #ffffff;
  color: var(--text);
  border-radius: 24px;
  padding: clamp(32px, 6vw, 58px);
  text-align: center;
  box-shadow: var(--shadow);
  border: 2px solid #8ac5ff;
}

.cta h2 {
  color: var(--text);
  margin-bottom: 10px;
}

.cta p {
  margin: 0 auto 22px;
  max-width: 720px;
  color: var(--muted);
  font-size: 17px;
}

.cta .btn-primary {
  background: var(--accent);
  color: #fff;
}

.cta .btn-primary:hover {
  background: var(--accent-strong);
}

/* ── Contact Form (HIG-inspired) ── */
.contact-form {
  background: #ffffff;
  border-radius: 16px;
  padding: 36px 32px;
  margin: 28px auto 0;
  max-width: 480px;
  text-align: left;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.contact-form label {
  display: block;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #a1a1a6;
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form .btn-primary {
  width: 100%;
  margin-top: 6px;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
  transition: background 0.2s ease, transform 0.15s ease;
}

.contact-form .btn-primary:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

footer {
  padding: 40px 0 56px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.fade {
  opacity: 0;
  transform: translateY(16px);
  transition: 0.65s ease;
}

.fade.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* Hamburger Menu Trigger */
.menu-trigger {
  display: none;
  width: 30px;
  height: 24px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 100;
}

.menu-trigger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text);
  position: absolute;
  left: 0;
  transition: 0.3s ease;
}

.menu-trigger span:nth-child(1) { top: 0; }
.menu-trigger span:nth-child(2) { top: 11px; }
.menu-trigger span:nth-child(3) { bottom: 0; }

body.is-menu-open .menu-trigger span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}
body.is-menu-open .menu-trigger span:nth-child(2) {
  opacity: 0;
}
body.is-menu-open .menu-trigger span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

@media (max-width: 960px) {
  .hero__inner,
  .cards,
  .price-wrap {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .section {
    padding: 64px 0;
  }

  section[id] {
    scroll-margin-top: 64px;
  }

  .brand__text {
    font-size: 16px;
  }

  .menu-trigger {
    display: block;
  }

  .nav {
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100dvh;
    background: #fff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 90;
    transition: 0.4s ease;
    padding: 40px;
    text-align: center;
  }

  body.is-menu-open .nav {
    left: 0;
  }

  body.is-menu-open {
    overflow: hidden;
  }

  .nav__links {
    display: flex;
    flex-direction: column;
    gap: 24px;
    font-size: 18px;
    font-weight: 500;
  }

  .nav a.btn {
    width: 100%;
    max-width: 280px;
    font-size: 17px;
    padding: 16px;
  }

  .hero {
    padding: 28px 0 40px;
  }

  .hero h1 {
    font-size: clamp(22px, 5.6vw, 30px);
    line-height: 1.25;
    margin-bottom: 12px;
  }

  .hero h1 span {
    white-space: normal !important;
  }

  .hero p {
    font-size: 14px;
    margin-bottom: 14px;
  }

  .hero__inner {
    gap: 16px;
  }

  .hero__left,
  .hero__right {
    padding: 20px;
  }

  .hero__actions {
    flex-direction: column;
    margin-bottom: 14px;
  }

  .hero__actions .btn {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
  }

  .trust {
    font-size: 12px;
    gap: 6px 12px;
  }

  .mini-price__value strong {
    font-size: clamp(28px, 7.5vw, 38px);
  }

  .mini-price__value span {
    font-size: 16px;
    margin-bottom: 5px;
  }

  .mini-price p {
    font-size: 13px;
  }

  .mini-price__note {
    font-size: 12px;
  }

  .label,
  .hero .label,
  .cta .label {
    font-size: 11px;
  }

  .steps {
    grid-template-columns: 1fr;
  }
}
