:root {
  --green: #46bc9c;
  --green-pale: #f2fffb;
  --yellow: #ffe65c;
  --ink: #333;
  --ink-dark: #384145;
  --gray-bg: #f0f4f8;
  --gray-line: #d0d9e2;
  --slate: #636f7c;
  --blue: #3aa7d8;
  --orange: #f89e35;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; padding: 0; }
em { font-style: normal; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 16px; color: var(--ink-dark);
  border-radius: 40px; padding: 18px 48px; min-width: 280px;
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.12); }
.btn--yellow { background: var(--yellow); }
.btn--green { background: var(--green); color: #fff; }
.btn--small { min-width: 0; padding: 10px 24px; font-size: 15px; }
.btn--arrow::after {
  content: ""; width: 26px; height: 10px; margin-left: 12px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 10'%3E%3Cpath d='M1 9h23L17 2M9 9' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 10'%3E%3Cpath d='M1 9h23L17 2M9 9' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.center { text-align: center; margin-top: 64px; }

/* ---------- 見出し ---------- */
.title {
  font-size: 44px; font-weight: 900; color: var(--ink-dark);
  text-align: center; line-height: 1.4;
}
.subtitle {
  margin-top: 12px; text-align: center;
  font-size: 20px; font-weight: 700; color: var(--green);
}

/* ---------- ヘッダー ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--green);
}
.header__inner {
  max-width: 1280px; margin: 0 auto; padding: 16px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.header__logo img { width: 200px; }
.nav { display: flex; align-items: center; }
.nav > a:not(.btn) {
  color: #fff; font-weight: 700; font-size: 15px;
  padding: 0 20px; border-left: 1px solid rgba(255,255,255,.6);
}
.nav > a:first-child { border-left: none; }
.nav > a:not(.btn):hover { opacity: .75; }
.nav .btn { margin-left: 20px; }
.menu-btn { display: none; }

/* ---------- ファーストビュー ---------- */
.hero { background: var(--green); color: #fff; overflow: hidden; }
.hero__inner {
  max-width: 1280px; margin: 0 auto; padding: 48px 48px 96px;
  display: grid; grid-template-columns: 1fr 1.25fr; align-items: center; gap: 32px;
}
.hero h1 { font-size: 48px; font-weight: 900; line-height: 1.4; letter-spacing: .02em; }
.hero p { margin: 24px 0 40px; font-size: 16px; line-height: 1.9; }
.hero__bubbles { width: 88%; margin: 0 auto; }
.hero__people { margin-top: -4%; }

/* ---------- お悩み ---------- */
.worry {
  padding: 96px 24px 0;
  background:
    radial-gradient(circle, #d6efe7 1.5px, transparent 1.6px) 0 0/14px 14px;
  background-color: #fff;
}
.worry__body { position: relative; max-width: 1000px; margin: 40px auto 0; }
.worry__body img { width: 630px; margin: 0 auto; }
.bubble {
  position: absolute; width: 240px; padding: 28px 30px;
  background: #fff; border: 2px solid var(--ink-dark); border-radius: 50%;
  font-size: 14px; font-weight: 700; text-align: center; line-height: 1.6;
}
.bubble em { color: var(--green); }
.bubble--1 { top: 10%; left: 4%; }
.bubble--2 { bottom: 14%; left: 0; }
.bubble--3 { top: 34%; right: 0; }

/* ---------- 特徴 ---------- */
.feature { position: relative; background: var(--green); padding: 0 24px 120px; }
.feature__wave { width: 100%; height: 64px; object-fit: fill; display: block; }
.feature__arrow { margin: -20px auto 0; position: relative; }
.feature__lead {
  margin-top: 32px; text-align: center; color: #fff;
  font-size: 34px; font-weight: 900; line-height: 1.4;
}
.feature__lead strong { color: var(--yellow); font-size: 40px; }
.cards { max-width: 1200px; margin: 64px auto 0; display: grid; gap: 48px; }
.card {
  background: #fff; border-radius: 40px; padding: 64px 72px;
  display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 48px;
}
.card--reverse .card__text { order: 2; }
.card img { justify-self: center; max-height: 300px; width: auto; }
.tag {
  display: inline-block; background: var(--yellow); border-radius: 20px;
  padding: 2px 18px; font-weight: 700; font-size: 14px;
}
.card h3 { margin: 18px 0 24px; font-size: 36px; font-weight: 700; line-height: 1.3; }
.card h3 em { color: var(--green); }
.card p { font-size: 17px; line-height: 1.7; }

/* ---------- ドット背景 ---------- */
.dots {
  background: radial-gradient(circle, #e3e9ee 1.5px, transparent 1.6px) 0 0/14px 14px;
  background-color: #fff;
}

/* ---------- プラン ---------- */
.plan { padding: 120px 24px; }
.table-wrap { max-width: 1200px; margin: 48px auto 0; overflow-x: auto; padding-top: 16px; }
.plan-table {
  width: 100%; min-width: 900px; border-collapse: separate; border-spacing: 0;
  font-size: 15px; font-weight: 500; text-align: center; background: #fff;
}
.plan-table th, .plan-table td {
  padding: 18px 10px; border-bottom: 1px solid var(--gray-line); vertical-align: middle;
}
.plan-table td + td, .plan-table th + td { border-left: 1px solid var(--gray-line); }
.plan-table tbody th {
  background: var(--gray-bg); text-align: left; font-weight: 500; width: 140px; padding-left: 16px;
}
.plan-table small { display: block; font-size: 13px; }
.plan-table thead th { color: #fff; font-weight: 700; padding: 16px 8px; position: relative; border-bottom: none; }
.plan-table .corner { background: var(--gray-bg); }
.p-knowledge { background: var(--slate); }
.p-light { background: var(--blue); }
.p-standard { background: var(--green); font-size: 16px; }
.p-premium { background: var(--orange); }
.p-other { background: #fff; color: var(--ink) !important; border-top: 1px solid var(--gray-line); }
.popular {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--yellow); color: var(--ink); font-size: 12px;
  padding: 2px 14px; border-radius: 4px; white-space: nowrap;
}
.plan-table td.hl { background: var(--green-pale); font-weight: 700; }
.table-hint { display: none; }
.notes { max-width: 1200px; margin: 24px auto 0; list-style: none; font-size: 13px; color: #555; }

/* ---------- 流れ ---------- */
.flow { background: var(--gray-bg); padding: 120px 24px; }
.steps {
  max-width: 1200px; margin: 56px auto 0; list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.steps li { position: relative; text-align: center; }
.num {
  position: absolute; top: -12px; left: 0;
  font-family: "Open Sans", sans-serif; font-weight: 800; font-size: 52px;
  color: var(--green); letter-spacing: -.01em; line-height: 1;
}
.circle {
  width: 100%; max-width: 260px; aspect-ratio: 1; margin: 0 auto;
  background: #fff; border-radius: 50%;
  display: grid; place-items: center;
}
.circle img { width: 62%; }
.steps p { margin-top: 20px; font-size: 16px; font-weight: 500; }

/* ---------- FAQ ---------- */
.faq { padding: 120px 24px; }
.qa { max-width: 1200px; margin: 56px auto 0; display: grid; gap: 32px; }
.qa__item { background: var(--gray-bg); border-radius: 32px; padding: 28px 40px; }
.qa dt, .qa dd { display: flex; gap: 20px; align-items: flex-start; }
.qa dt { font-size: 20px; font-weight: 700; padding-bottom: 20px; border-bottom: 1px solid var(--gray-line); }
.qa dd { padding-top: 20px; font-size: 17px; }
.mark {
  flex: none; width: 36px; height: 36px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--green); color: #fff; font-family: "Open Sans", sans-serif; font-weight: 800; font-size: 18px;
}
.mark--a { background: var(--ink-dark); }

/* ---------- CTA / フッター ---------- */
.cta { background: var(--green); padding: 100px 24px; text-align: center; }
.cta h2 { color: #fff; font-size: 44px; font-weight: 900; line-height: 1.4; margin-bottom: 40px; }
.footer {
  max-width: 1280px; margin: 0 auto; padding: 32px 48px;
  display: flex; align-items: center; justify-content: space-between;
}
.footer img { width: 200px; }
.footer small { font-size: 12px; font-weight: 300; }

/* ---------- タブレット ---------- */
@media (max-width: 1080px) {
  .header__inner { padding: 14px 24px; }
  .nav > a:not(.btn) { padding: 0 12px; font-size: 14px; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; padding: 40px 24px 72px; }
  .hero h1 { font-size: 40px; }
  .card { padding: 48px; }
  .bubble { width: 210px; font-size: 13px; padding: 22px 24px; }
}

/* ---------- スマホ ---------- */
@media (max-width: 820px) {
  .header__logo img { width: 150px; }
  .menu-btn {
    display: grid; gap: 6px; width: 44px; height: 44px; place-content: center;
    background: none; border: 0; cursor: pointer; z-index: 60; position: relative;
  }
  .menu-btn span { width: 26px; height: 2px; background: #fff; transition: transform .25s, opacity .25s; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 0; background: var(--green);
    flex-direction: column; justify-content: center; gap: 8px;
    opacity: 0; pointer-events: none; transition: opacity .25s;
  }
  .nav.is-open { opacity: 1; pointer-events: auto; }
  .nav > a:not(.btn) { border: 0; font-size: 18px; padding: 14px; }
  .nav .btn { margin: 20px 0 0; font-size: 16px; padding: 14px 40px; }
  body.menu-open { overflow: hidden; }

  .title, .cta h2 { font-size: 26px; }
  .subtitle { font-size: 16px; }
  .btn { min-width: 0; width: 100%; max-width: 320px; }
  .center { margin-top: 48px; }

  .hero h1 { font-size: 30px; }
  .hero p { font-size: 14px; margin: 16px 0 28px; }
  .hero p br { display: none; }

  .worry { padding-top: 64px; }
  .worry__body { display: flex; flex-direction: column; align-items: center; gap: 12px; }
  .worry__body img { order: 4; width: 100%; max-width: 420px; margin-top: 8px; }
  .bubble { position: static; width: 100%; max-width: 420px; border-radius: 40px; padding: 16px 20px; }

  .feature { padding-bottom: 80px; }
  .feature__wave { height: 28px; }
  .feature__arrow { width: 56px; }
  .feature__lead { font-size: 18px; }
  .feature__lead strong { font-size: 22px; }
  .cards { margin-top: 40px; gap: 24px; }
  .card { grid-template-columns: 1fr; padding: 32px 24px; border-radius: 24px; gap: 24px; }
  .card--reverse .card__text { order: 0; }
  .card img { max-height: 200px; }
  .card h3 { font-size: 24px; margin: 12px 0 16px; }
  .card p { font-size: 15px; }

  .plan, .flow, .faq { padding: 72px 16px; }
  .cta { padding: 72px 16px; }
  .plan-table { min-width: 760px; font-size: 13px; }
  .plan-table tbody th { width: 96px; padding-left: 10px; position: sticky; left: 0; z-index: 1; }
  .plan-table .corner { position: sticky; left: 0; z-index: 1; }
  .plan-table th, .plan-table td { padding: 12px 6px; }
  .plan-table small { font-size: 11px; }
  .table-hint { display: block; text-align: center; font-size: 12px; color: #888; margin-top: 8px; }

  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .num { font-size: 36px; }
  .steps p { font-size: 13px; }
  .steps p br { display: none; }

  .qa__item { padding: 20px; border-radius: 20px; }
  .qa dt { font-size: 16px; gap: 12px; }
  .qa dd { font-size: 14px; gap: 12px; }
  .mark { width: 28px; height: 28px; font-size: 15px; }

  .footer { flex-direction: column; gap: 12px; padding: 28px 16px; }
  .footer img { width: 160px; }
}
