:root {
  --green: #067c7f;
  --green-mid: #bddedd;
  --green-light: #f4fafa;
  --ink: #1c2630;
  --purple: #c8c8e5;
  --red: #eb5849;
  --red-dark: #c4402f; /* CTAの立体的な下段差用（赤の暗いシェード） */
  --yellow: #f8e211;
  --num: 'Outfit', 'Noto Sans JP', sans-serif; /* 数字用フォント */
}
.din { font-family: var(--num); line-height: 1; }
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--ink);
  line-height: 1.7;
  background-color: var(--green-light);
  background-image:
    radial-gradient(circle at 12% 20%, var(--purple) 0 6px, transparent 7px),
    radial-gradient(circle at 88% 70%, var(--yellow) 0 6px, transparent 7px);
  background-repeat: no-repeat;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
.container {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  background: #fff;
  min-height: 100vh;
  overflow: hidden;
}

/* ===== ヘッダー ===== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 12px 20px;
}
.site-header .logo { height: 28px; width: auto; }

/* ===== ヒーロー ===== */
.hero { background: var(--green-light); }
.hero-visual { width: 100%; }

/* ===== プラン情報バー ===== */
/* plan-bar(緑/上だけ角丸) と panel(白/下だけ角丸) を同じ幅で重ね、全体にドロップシャドウ */
.plan-bar {
  margin: 0 16px;
  background: var(--green);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0px 8px rgba(28, 38, 48, 0.1);
}
.plan-bar__head {
  text-align: center;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.1;
  padding: 10px 16px;
}
.plan-bar__head strong {
  color: var(--yellow);
  font-size: 30px;
  margin: 0 3px;
}
.plan-bar__tsu { color: var(--yellow); }
.plan-bar__panel {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: #fff;
}
.plan-bar__item {
  padding: 10px 4px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
}
.plan-bar__item + .plan-bar__item { border-left: 1px solid var(--green-mid); }
.plan-bar__top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 30px;
}
.plan-bar__icon { width: 16px; height: 16px; flex: none; }
.plan-bar__label {
  font-size: 9px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.plan-bar__value {
  margin-top: auto; /* 3列とも最下部で揃える */
  padding-top: 8px;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--green);
}
.plan-bar__value .din { font-size: 19px; }

/* ===== CTAボタン ===== */
.cta-wrap { padding: 22px 16px 10px; }
.cta-lead {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--green);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}
.cta-lead::before,
.cta-lead::after {
  content: '';
  width: 2px;
  height: 22px;
  background: var(--green);
}
.cta-lead::before { transform: rotate(-22deg); }
.cta-lead::after { transform: rotate(22deg); }
.cta-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: var(--red);
  color: #fff;
  font-family: inherit;
  font-size: 21px;
  font-weight: 800;
  text-align: center;
  padding: 19px;
  border: none;
  border-radius: 14px;
  box-shadow: 0 6px 0 var(--red-dark); /* 立体的な下段差 */
  cursor: pointer;
}
.cta-button__chevron {
  position: absolute;
  right: 20px;
  width: 24px;
  height: 24px;
  stroke: #fff;
}
.cta-note {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  opacity: 0.72;
  margin-top: 14px;
}

/* ===== お悩み（画像1枚） ===== */
.worry-image { width: 100%; }

/* ===== プランセクション導入タイトル（画像1枚・全幅） ===== */
.plan-intro__img { width: 100%; }

/* ===== 選ばれる理由（イラストカード版・お悩みの下） ===== */
.reasons { padding: 40px 0 28px; }
.reasons__title {
  display: block;
  width: 100%;
  margin: 0 0 24px;
}
.reasons__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 16px 28px;
}
.r-card {
  position: relative;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 0px 8px rgba(28, 38, 48, 0.1);
}
.r-card__no,
.flow-card__no,
.plan-card__no {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 44px;
  height: 44px;
  background: var(--green);
  color: #fff;
  font-family: var(--num);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  border-radius: 0 0 100% 0; /* 1/4円 */
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 10px 0 0 8px;
}
.r-card__img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  object-position: center top;
  display: block;
  background: var(--green-light);
}
.r-card__body { padding: 12px 12px 16px; }
.r-card__title {
  font-size: 15px;
  font-weight: 800;
  color: var(--green);
  line-height: 1.4;
}
.r-card__desc {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.7;
  color: var(--ink);
  opacity: 0.72;
}

/* 9つのプラン（選ばれる理由セクション内・薄緑コンテナ版） */
.plan2 {
  margin: 0 16px;
  background: var(--green-light);
  border-radius: 20px;
  padding: 16px;
}
.plan2__title {
  display: block;
  width: 100%;
  margin: 0 0 18px;
  padding: 0;
}
.plan2__panel {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin: 0 16px 18px;
}
.plan2__item {
  padding: 4px 2px;
  text-align: center;
  display: flex;
  flex-direction: column;
}
.plan2__item + .plan2__item { border-left: 1px solid var(--green-mid); }
.plan2__top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 30px;
}
.plan2__icon { width: 16px; height: 16px; flex: none; }
.plan2__label {
  font-size: 9px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.plan2__value {
  margin-top: auto;
  padding-top: 6px;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--green);
}
.plan2__value .din { font-size: 19px; }
.plan2__lead {
  background: var(--green-light);
  opacity: 0.72;
  border-radius: 14px;
  padding-bottom: 16px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
}

/* ===== お申し込みから開始までの流れ ===== */
.flow {
  padding: 40px 0 28px;
  background: var(--green-light);
}
.flow__title { display: block; width: 100%; margin: 0 0 12px; }
.flow__sub {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  opacity: 0.75;
  margin: 0 16px 24px;
}
.flow-card {
  position: relative;
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 0 8px rgba(28, 38, 48, 0.1);
  overflow: hidden;
  min-height: 128px;
  margin: 0 16px;
}
.flow-card__main {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 4px 16px 14px;
}
.flow-card__icon { flex: none; width: 42px; height: 42px; }
.flow-card__icon img { width: 100%; height: 100%; display: block; }
.flow-card__text { flex: 1; min-width: 0; }
.flow-card__title { font-size: 16px; font-weight: 800; color: var(--green); line-height: 1.3; }
.flow-card__desc {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
  opacity: 0.8;
}
.flow-card__desc strong { color: var(--green); }
.flow-card__img {
  flex: none;
  width: 168px;
  align-self: stretch;
  object-fit: cover;
  object-position: center;
  display: block;
}
.flow-arrow { display: flex; justify-content: center; padding: 6px 0; }
.flow-arrow svg {
  width: 28px;
  height: 28px;
  stroke: var(--green-mid);
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ===== フッター ===== */
.site-footer {
  background: var(--ink);
  color: #fff;
  padding: 28px 20px;
  text-align: center;
}
.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 13px;
}
.site-footer__links a { opacity: 0.9; }
.site-footer__links a:hover { opacity: 1; text-decoration: underline; }
.site-footer__copy { font-size: 12px; opacity: 0.7; }

/* ===== 選ばれる理由（4つの強み）: hero に重なる白ボックス ===== */
.strengths {
  position: relative;
  z-index: 2;
  margin: -12px 14px 14px; /* hero-visual に少し重ねる */
}
.strengths__box {
  container-type: inline-size;
  background: var(--green-mid); /* セル間/外周の区切り線として透ける */
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0px 8px rgba(28, 38, 48, 0.1);
}
.strengths__grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* モバイル: 2列×2行 */
  gap: 1px; /* 区切り線の太さ */
  background: var(--green-mid);
}
.s-card {
  background: #fff;
  padding: 12px;
  text-align: center;
}
.s-card__icon {
  display: block;
  width: 36px;
  height: 36px;
  margin: 0 auto;
}
.s-card__icon img { width: 36px; height: 36px; display: block; }
.s-card__title {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 800;
  color: var(--green);
  line-height: 1.4;
}
.s-card__desc {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.7;
  color: var(--ink);
  opacity: 0.72;
}
/* 広い画面では1行4列 */
@container (min-width: 560px) {
  .strengths__grid { grid-template-columns: repeat(4, 1fr); }
}

/* ===== 9プラン カルーセル ===== */
.plans { padding: 6px 0 34px; background: var(--green-light); }
.plans__summary {
  margin: 0 16px 22px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 0 8px rgba(28, 38, 48, 0.1);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 16px 0;
}
.plans__summary-item { text-align: center; padding: 0 4px; }
.plans__summary-item + .plans__summary-item { border-left: 1px solid var(--green-mid); }
.plans__summary-icon {
  width: 24px;
  height: 24px;
  margin: 0 auto 6px;
  display: block;
}
.plans__summary-label { font-size: 9px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.plans__summary-value {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  line-height: 1.3;
  font-family: var(--num);
}

.plans__carousel { position: relative; }
.plans__track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0 8px;
  scrollbar-width: none;
}
.plans__track::-webkit-scrollbar { display: none; }
/* 先頭(01)・末尾(09)も中央まで寄せられるようにする両端スペーサー */
.plans__track::before,
.plans__track::after {
  content: '';
  flex: 0 0 7.5%;
}
.plan-card {
  flex: 0 0 85%;
  scroll-snap-align: center;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(28, 38, 48, 0.12);
  overflow: hidden;
  padding: 14px 16px 18px;
}
.plan-card.is-rec {
  background: var(--green-light);
  box-shadow: 0 8px 22px rgba(6, 124, 127, 0.22);
}
.plan-card__rec {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-bottom-left-radius: 14px;
  box-shadow: 0 2px 6px rgba(28, 38, 48, 0.18);
}
.plan-card__name {
  display: block;
  width: fit-content;
  margin: 6px auto 0;
  background: var(--yellow);
  color: var(--green);
  font-size: 15px;
  font-weight: 800;
  padding: 6px 20px;
  border-radius: 999px;
}
.plan-card__desc {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  opacity: 0.8;
  margin-top: 12px;
  line-height: 1.6;
}
.plan-card__divider { border: none; border-top: 2px dashed var(--green-mid); margin: 14px 0; }
.plan-card__metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 8px; }
.plan-metric { display: flex; align-items: center; gap: 8px; }
.plan-metric__icon { flex: none; width: 32px; height: 32px; display: block; }
.plan-metric__label { font-size: 9px; font-weight: 700; color: var(--ink); opacity: 0.8; line-height: 1.3; }
.plan-metric__value { font-size: 15px; font-weight: 800; color: var(--green); line-height: 1.2; font-family: var(--num); }
.plans__arrow {
  position: absolute;
  top: 38%;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(28, 38, 48, 0.18);
  display: grid;
  place-items: center;
  border: none;
  cursor: pointer;
  z-index: 4;
}
.plans__arrow svg { width: 18px; height: 18px; stroke: var(--green); fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.plans__arrow--prev { left: 2px; }
.plans__arrow--next { right: 2px; }
.plans__arrow.is-hidden { display: none; }
.plans__pager { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; }
.plans__dots { display: flex; gap: 6px; }
.plans__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-mid); border: none; padding: 0; cursor: pointer; }
.plans__dot.is-active { background: var(--green); }
.plans__count { font-size: 12px; font-weight: 700; color: var(--ink); opacity: 0.7; margin-left: 6px; font-family: var(--num); }

/* ===== 共通セクション見出し（コード） ===== */
.sec-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 21px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 24px;
}
.sec-head::before,
.sec-head::after { content: ''; width: 2px; height: 24px; background: var(--green); }
.sec-head::before { transform: rotate(-22deg); }
.sec-head::after { transform: rotate(22deg); }
.sec-head .hl { color: var(--green); }

/* ===== 申し込みフォーム ===== */
.form-sec { background: var(--green-light); padding: 32px 0; }
.form-card {
  margin: 0 16px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 0 8px rgba(28, 38, 48, 0.1);
  padding: 24px 18px 26px;
}
.field { margin-bottom: 18px; }
.field__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.field__req {
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}
.field__control,
.form-card select {
  width: 100%;
  border: 1.5px solid var(--green-mid);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
}
.field__control:focus,
.form-card select:focus { outline: none; border-color: var(--green); }
.field__control::placeholder { color: #b9c2c0; }
.field__note { font-size: 11px; color: var(--ink); opacity: 0.6; margin-top: 4px; }
.field__error { font-size: 11px; color: var(--red); font-weight: 600; margin-top: 5px; line-height: 1.5; }
.field__error:empty { display: none; }
.field__control.is-error { border-color: var(--red); }
.zip-row { display: flex; gap: 8px; }
.zip-row .field__control { flex: 1; }
.zip-btn {
  flex: none;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
/* 同意 */
.agree { margin-top: 22px; }
.agree__row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
}
.agree__row + .agree__row { margin-top: 10px; }
.agree__row input[type='checkbox'] {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex: none;
  accent-color: var(--green);
}
.agree__all {
  background: var(--green-light);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 14px;
  font-weight: 800;
}
.agree__row a { color: var(--green); text-decoration: underline; }
.form-submit { margin-top: 26px; }
.form-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  opacity: 0.7;
  margin-top: 14px;
}
.form-note__lock { width: 14px; height: 14px; flex: none; stroke: var(--ink); fill: none; }
/* 送信前の確認画面 */
.form-confirm__title { font-size: 17px; font-weight: 800; color: var(--ink); text-align: center; margin-bottom: 18px; }
.form-confirm__list { margin-bottom: 22px; }
.form-confirm__list div { padding: 12px 2px; border-bottom: 1px solid var(--green-mid); }
.form-confirm__list dt { font-size: 11px; font-weight: 700; color: var(--ink); opacity: 0.65; margin-bottom: 4px; }
.form-confirm__list dd { font-size: 15px; color: var(--ink); margin: 0; word-break: break-all; }
.form-confirm__back { display: block; width: 100%; background: none; border: none; color: var(--green); font-size: 14px; font-weight: 700; text-decoration: underline; margin-top: 16px; cursor: pointer; font-family: inherit; }
.cta-button__icon { width: 24px; height: 24px; flex: none; margin-right: 8px; }
/* セクションタイトル画像（全幅） */
.sec-title { display: block; width: 100%; margin: 0 0 24px; }

/* ===== 確認事項 ===== */
.confirm-sec { background: #fff; padding: 40px 0 44px; }
.confirm-list {
  margin: 0 16px;
  background: var(--green-light);
  border-radius: 14px;
  padding: 20px 18px;
}
.confirm-list li {
  list-style: none;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.7;
}
.confirm-list li + li { margin-top: 12px; }
.confirm-list li::before { content: '✓'; color: var(--green); font-weight: 900; flex: none; }

/* プランカードはクリックでフォームへ */
.plan-card { cursor: pointer; }

/* フッターのロゴ・リンク2列 */
.site-footer__logo {
  height: 30px;
  width: auto;
  margin: 0 auto 16px;
  display: block;
  filter: brightness(0) invert(1);
}
.site-footer__pair { display: flex; gap: 16px; justify-content: center; }

/* ===== サブページ用ヘッダー（hero無しの白固定ヘッダー） ===== */
.site-header--page {
  position: sticky;
  top: 0;
  background: #fff;
  box-shadow: 0 1px 8px rgba(28, 38, 48, 0.08);
}

/* ===== 法的ページ本文（tokusyo / terms） ===== */
.legal { background: #fff; }
.legal__inner { padding: 32px 20px 48px; }
.legal__title { font-size: 20px; font-weight: 900; color: var(--ink); text-align: center; margin-bottom: 8px; }
.legal__meta { text-align: center; font-size: 11px; color: var(--ink); opacity: 0.6; margin-bottom: 24px; line-height: 1.7; }
.legal__lead { font-size: 13px; line-height: 1.9; color: var(--ink); margin-bottom: 20px; }
.legal h2 {
  font-size: 16px;
  font-weight: 800;
  color: var(--green);
  margin: 30px 0 12px;
  padding-left: 12px;
  border-left: 4px solid var(--green);
  line-height: 1.5;
}
.legal h3 { font-size: 14px; font-weight: 700; color: var(--ink); margin: 18px 0 8px; }
.legal p { font-size: 13px; line-height: 1.9; color: var(--ink); margin-bottom: 12px; }
.legal ul, .legal ol { margin: 0 0 14px 1.3em; }
.legal li { font-size: 13px; line-height: 1.9; color: var(--ink); margin-bottom: 4px; }
.legal a { color: var(--green); text-decoration: underline; word-break: break-all; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; }
.legal th, .legal td {
  text-align: left;
  vertical-align: top;
  padding: 10px 8px;
  border-bottom: 1px solid var(--green-mid);
  font-size: 13px;
  line-height: 1.8;
}
.legal th { width: 34%; font-weight: 700; color: var(--ink); background: var(--green-light); }
.legal__sign { margin-top: 28px; font-size: 13px; line-height: 1.9; color: var(--ink); }

/* ===== サンクスページ ===== */
.thanks { background: #fff; padding: 44px 20px 48px; text-align: center; }
.thanks__check { width: 84px; height: 84px; border-radius: 50%; background: var(--green); display: grid; place-items: center; margin: 0 auto 24px; }
.thanks__check svg { width: 42px; height: 42px; stroke: #fff; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.thanks__title { font-size: 22px; font-weight: 900; color: var(--ink); margin-bottom: 20px; line-height: 1.5; }
.thanks__msg { font-size: 14px; line-height: 1.9; color: var(--ink); margin-bottom: 24px; }
.thanks__box { background: var(--green-light); border-radius: 16px; padding: 20px 18px; text-align: left; margin-bottom: 28px; }
.thanks__box-title { font-size: 15px; font-weight: 800; color: var(--green); text-align: center; margin-bottom: 14px; }
.thanks__steps { list-style: none; }
.thanks__steps li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.7; color: var(--ink); }
.thanks__steps li + li { margin-top: 12px; }
.thanks__steps .num { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; font-family: var(--num); font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.thanks__contact { font-size: 12px; line-height: 1.8; color: var(--ink); opacity: 0.7; margin-bottom: 24px; }
.thanks__contact a { color: var(--green); text-decoration: underline; }
.thanks__back { display: inline-block; background: var(--green-light); color: var(--green); font-weight: 700; font-size: 14px; padding: 12px 28px; border-radius: 999px; }
