/* ============================================================
   AhaGate（個人向け）LP
   ============================================================ */

/* ---------------- 共通 ---------------- */
.ag-head { text-align: center; margin: 0 auto clamp(36px, 5vw, 56px); }
.ag-head h2 { font-size: clamp(24px, 3.2vw, 38px); line-height: 1.55; }
.ag-head::after { content: ""; display: block; width: 120px; height: 3px; margin: 26px auto 0; border-radius: 3px; background: var(--brand); }

.ag-mark { font-weight: 700; color: var(--ink); background: linear-gradient(transparent 62%, #BFD3FF 62%); }
.ag-small { font-size: 12.5px; color: var(--ink-mute); }

/* ---------------- ファーストビュー ---------------- */
.ag-hero { padding: clamp(72px, 11vw, 150px) 0 clamp(56px, 8vw, 96px); text-align: center; background: linear-gradient(180deg, #fff 0%, var(--bg-tint) 100%); }
.ag-hero__name { display: inline-block; margin-bottom: 26px; padding: 6px 16px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-ink); font-size: 13px; font-weight: 700; }
.ag-hero__catch { font-size: clamp(28px, 4.6vw, 52px); line-height: 1.5; color: var(--ink); }
.ag-hero__catch span { color: var(--brand); }
.ag-hero__lead { margin: 30px 0 46px; font-size: clamp(15px, 1.6vw, 19px); line-height: 2; color: var(--ink-2); }
.ag-tokuten { max-width: 420px; margin: 0 auto 40px; text-align: left; }

/* ---------------- LINEボタン ---------------- */
.ag-cta { display: flex; flex-direction: column; align-items: center; text-align: center; }
.ag-cta__bubble { position: relative; z-index: 1; margin-bottom: -14px; padding: 6px 22px; border: 1.5px solid #06C755; border-radius: 999px; background: #fff; color: #05A548; font-size: 13.5px; font-weight: 700; }
.ag-cta__bubble::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 12px; height: 12px; background: #fff; border-right: 1.5px solid #06C755; border-bottom: 1.5px solid #06C755; transform: translateX(-50%) rotate(45deg); }
.ag-cta__btn { display: flex; flex-direction: column; align-items: center; gap: 4px; width: min(100%, 420px); padding: 26px 24px 18px; border-radius: 999px; background: #06C755; color: #fff; box-shadow: 0 12px 30px rgba(6,199,85,.28); transition: transform .15s ease, background .15s ease; }
.ag-cta__btn:hover { background: #05b34c; transform: translateY(-2px); }
.ag-cta__btn small { font-size: 12.5px; font-weight: 600; }
.ag-cta__btn b { display: inline-flex; align-items: center; gap: 10px; font-size: clamp(19px, 2.2vw, 23px); letter-spacing: .05em; }
.ag-cta__btn svg { flex-shrink: 0; }
.ag-cta__btn b span { word-break: keep-all; }
.ag-cta__note { margin-top: 12px; font-size: 12.5px; color: var(--ink-3); }
.ag-cta__sub { margin-top: 10px; font-size: 13.5px; line-height: 1.8; color: var(--ink-2); }
.ag-cta__sub a { color: #05A548; font-weight: 700; text-decoration: underline; }
.ag-small + .ag-cta { margin-top: 36px; }

/* ---------------- Q&Aカード ---------------- */
.ag-qa { margin-bottom: 26px; padding: clamp(26px, 4vw, 46px); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sm); }
.ag-qa h3 { margin-bottom: 20px; font-size: clamp(18px, 2vw, 23px); }
.ag-qa h3 span { margin-right: 6px; color: var(--brand); font-family: var(--font-num); }
.ag-qa p { margin: 0 0 12px; font-size: 15px; line-height: 2; color: var(--ink-2); }
.ag-qa p:last-child { margin-bottom: 0; }

.ag-person { display: flex; align-items: center; gap: 20px; margin-top: 24px; }
.ag-person img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
.ag-person b { display: block; font-size: 17px; }
.ag-person span { font-size: 13px; color: var(--ink-mute); }

/* 一般的なスクールとの比較 */
.ag-vs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; margin: 28px 0; }
.ag-vs__col { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 32px 16px; border-radius: var(--r); background: #F3F4F6; text-align: center; }
.ag-vs__col--ours { border: 2px solid var(--brand); background: var(--brand-soft); }
.ag-vs__name { font-size: 15px; font-weight: 700; color: var(--ink-mute); }
.ag-vs__col--ours .ag-vs__name { color: var(--brand-ink); }
.ag-vs__price { font-family: var(--font-num); font-size: clamp(24px, 3vw, 34px); font-weight: 800; color: var(--brand); }
.ag-vs__price--off { color: var(--ink-mute); text-decoration: line-through; }
.ag-vs__sub { font-size: 13.5px; font-weight: 700; color: var(--ink-mute); }
.ag-vs__col--ours .ag-vs__sub { color: var(--brand-ink); }
.ag-vs__mid { font-family: var(--font-num); font-weight: 800; color: var(--ink-2); }
@media (max-width: 620px) {
  .ag-vs { grid-template-columns: 1fr; }
  .ag-vs__mid { text-align: center; }
}

/* チェックの帯 */
.ag-checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; margin: 10px 0 0; padding: 18px 24px; list-style: none; background: var(--brand); color: #fff; font-size: clamp(15px, 1.8vw, 20px); font-weight: 700; }
.ag-checks li::before { content: "✓"; display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 8px; border-radius: 50%; background: #fff; color: var(--brand); font-size: 13px; }

.ag-band { margin-top: 18px; padding: 18px 24px; background: var(--brand-ink); color: #fff; text-align: center; font-size: clamp(15px, 1.8vw, 19px); font-weight: 700; }

/* ---------------- 代表のストーリー ---------------- */
.ag-story { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ag-story__card { padding: 26px 28px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--shadow-xs); }
.ag-story__card--wide { grid-column: 1 / -1; border: 2px solid var(--brand); }
.ag-story__no { display: inline-block; margin-bottom: 8px; font-family: var(--font-num); font-size: 22px; font-weight: 800; color: var(--brand); }
.ag-story__card h3 { margin-bottom: 10px; font-size: 17px; }
.ag-story__card p { font-size: 14.5px; line-height: 1.95; color: var(--ink-2); }
@media (max-width: 720px) {
  .ag-story { grid-template-columns: 1fr; }
}

/* ---------------- ブランド色のCTA ---------------- */
.ag-brand { background: var(--brand); color: #fff; text-align: center; }
.ag-brand__title { margin-bottom: clamp(36px, 5vw, 52px); font-size: clamp(23px, 3.2vw, 38px); line-height: 1.6; color: #fff; }
.ag-brand .ag-cta__note { color: #fff; }
.ag-brand .ag-cta__sub { color: #fff; }
.ag-brand .ag-cta__sub a { color: #fff; }

.ag-steps { display: flex; justify-content: center; gap: clamp(20px, 5vw, 64px); margin: 0 0 clamp(40px, 5vw, 56px); padding: 0; list-style: none; }
.ag-steps__item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; width: 150px; }
.ag-steps__item:not(:last-child)::after { content: "→"; position: absolute; top: 88px; right: calc(-1 * clamp(20px, 5vw, 64px) / 2 - 10px); font-size: 26px; }
.ag-steps__no { font-family: var(--font-num); font-size: 16px; font-weight: 700; }
.ag-steps__ico { display: grid; place-items: center; width: 120px; height: 120px; border: 2px solid #fff; border-radius: 50%; }
.ag-steps__ico--text { font-family: var(--font-num); font-size: 26px; font-weight: 800; }
.ag-steps__item b { font-size: 15.5px; line-height: 1.6; }
@media (max-width: 620px) {
  .ag-steps { gap: 8px; }
  .ag-steps__item { width: 33%; }
  .ag-steps__item:not(:last-child)::after { display: none; }
  .ag-steps__ico { width: 76px; height: 76px; }
  .ag-steps__ico svg { width: 32px; height: 32px; }
  .ag-steps__ico--text { font-size: 18px; }
  .ag-steps__item b { font-size: 12.5px; }
}

.ag-message { margin-bottom: clamp(48px, 6vw, 72px); padding: clamp(26px, 4vw, 40px); border-radius: var(--r-lg); background: #fff; color: var(--ink); }
.ag-message p { font-size: clamp(19px, 2.4vw, 26px); font-weight: 700; line-height: 1.75; color: var(--ink); }
.ag-message small { display: block; margin-top: 14px; font-size: 13px; color: var(--ink-mute); }

/* ---------------- ロードマップ ---------------- */
.ag-progress { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 clamp(40px, 5vw, 56px); padding: 0; list-style: none; text-align: center; }
.ag-progress::before { content: ""; position: absolute; top: 44px; left: 0; right: 0; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--brand) 70%, var(--warn)); }
.ag-progress li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ag-progress__dot { display: grid; place-items: center; align-content: center; width: 88px; height: 88px; margin-bottom: 10px; border-radius: 50%; background: var(--brand); color: #fff; font-family: var(--font-num); font-size: 20px; font-weight: 800; line-height: 1.1; }
.ag-progress__dot small { font-size: 11px; font-weight: 700; }
.ag-progress li.is-goal .ag-progress__dot { background: var(--warn); font-size: 17px; }
.ag-progress b { font-size: 15.5px; }
.ag-progress li > small { font-size: 12.5px; color: var(--ink-mute); }
@media (max-width: 620px) {
  .ag-progress::before { top: 30px; }
  .ag-progress__dot { width: 60px; height: 60px; font-size: 15px; }
  .ag-progress li.is-goal .ag-progress__dot { font-size: 12px; }
  .ag-progress b { font-size: 12.5px; }
  .ag-progress li > small { font-size: 11px; }
}

.ag-ba { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 18px; margin-bottom: clamp(48px, 6vw, 72px); }
.ag-ba__col { overflow: hidden; border-radius: var(--r); background: #fff; box-shadow: var(--shadow-sm); }
.ag-ba__col h3 { padding: 14px; background: #E5E7EB; color: var(--ink-mute); font-size: 16px; text-align: center; }
.ag-ba__col--after h3 { background: var(--brand); color: #fff; }
.ag-ba__col ul { margin: 0; padding: 20px 24px; list-style: none; }
.ag-ba__col li { padding: 7px 0; font-size: 14.5px; color: var(--ink-3); }
.ag-ba__col li::before { content: "×"; margin-right: 8px; font-weight: 700; color: var(--ink-mute); }
.ag-ba__col--after li { color: var(--ink); font-weight: 600; }
.ag-ba__col--after li::before { content: "✓"; color: var(--brand); }
.ag-ba__arrow { align-self: center; font-size: 28px; color: var(--ink-3); }
@media (max-width: 720px) {
  .ag-ba { grid-template-columns: 1fr; }
  .ag-ba__arrow { justify-self: center; transform: rotate(90deg); }
}

.ag-timeline { position: relative; padding-left: 40px; }
.ag-timeline::before { content: ""; position: absolute; top: 14px; bottom: 30px; left: 13px; width: 3px; background: linear-gradient(180deg, var(--brand) 75%, var(--warn)); }
.ag-timeline__item { position: relative; margin-bottom: 30px; padding: 24px 28px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow-sm); }
.ag-timeline__item::before { content: ""; position: absolute; top: 28px; left: -33px; width: 13px; height: 13px; border: 3px solid var(--brand); border-radius: 50%; background: #fff; }
.ag-timeline__item.is-goal::before { border-color: var(--warn); }
.ag-timeline__tag { display: inline-block; margin-bottom: 10px; padding: 3px 14px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 12.5px; font-weight: 700; }
.ag-timeline__item.is-goal .ag-timeline__tag { background: var(--warn); }
.ag-timeline__item h3 { font-size: 19px; }
.ag-timeline__sub { margin-bottom: 14px; font-size: 13.5px; color: var(--ink-mute); }

.ag-tech { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; margin: clamp(48px, 6vw, 72px) 0 28px; padding: 0; list-style: none; font-family: var(--font-num); font-size: 19px; font-weight: 700; color: var(--ink-mute); }
.ag-concept { text-align: center; font-size: 15.5px; line-height: 2; color: var(--ink-2); }

/* ---------------- サポート ---------------- */
.ag-support { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: clamp(36px, 5vw, 48px); }
.ag-support__card { display: flex; flex-direction: column; align-items: center; padding: 26px 20px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow-sm); text-align: center; }
.ag-support__card h3 { margin-bottom: 10px; font-size: 18px; color: var(--brand); }
.ag-support__answer { margin-bottom: 18px; font-size: 15px; font-weight: 700; line-height: 1.7; color: var(--ink-2); }
.ag-support__answer small { font-size: 12.5px; font-weight: 500; color: var(--ink-mute); }
.ag-support__ico { display: grid; place-items: center; width: 100%; height: 110px; margin-top: auto; border-radius: var(--r); background: var(--bg-tint); color: var(--brand); }
@media (max-width: 720px) {
  .ag-support { grid-template-columns: 1fr; }
}

.ag-log { padding: clamp(24px, 4vw, 40px); border: 2px solid var(--brand); border-radius: var(--r-lg); background: #fff; }
.ag-log h3 { margin-bottom: 10px; font-size: clamp(17px, 2vw, 21px); }
.ag-log > p { margin-bottom: 18px; font-size: 14.5px; color: var(--ink-2); }
.ag-log__table { margin-bottom: 10px; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.ag-log__row { display: grid; grid-template-columns: 150px 1fr; font-size: 14px; }
.ag-log__row:not(:last-child) { border-bottom: 1px solid var(--line); }
.ag-log__row span { padding: 10px 14px; }
.ag-log__row span:first-child { background: var(--bg-soft); font-weight: 700; color: var(--ink-2); }
@media (max-width: 560px) {
  .ag-log__row { grid-template-columns: 1fr; }
}

/* ---------------- FAQ ---------------- */
.ag-faq { background: var(--bg-tint); }
.ag-faq .acc { max-width: none; }
.ag-faq .acc__item { margin-bottom: 14px; padding: 0 22px; border: none; border-radius: var(--r); background: #fff; box-shadow: var(--shadow-xs); }
.ag-faq .acc__item:first-child { border-top: none; }
.ag-faq .acc__q { font-size: 16px; }
.ag-faq .acc__item.open .acc__q { border-bottom: 1px solid var(--line-soft); }
.ag-faq .acc__item.open .acc__q .tg { transform: none; }
.ag-faq .acc__item.open .tg__v { display: none; }
.ag-faq .acc__a p { padding: 18px 4px 22px; font-size: 14.5px; }

/* ---------------- 法人向けとの違い ---------------- */
.ag-diff__lead { margin-bottom: 24px; font-size: 15px; line-height: 2; color: var(--ink-2); text-align: center; }
.ag-diff { overflow-x: auto; }
.ag-diff table { width: 100%; min-width: 600px; border-collapse: separate; border-spacing: 0; overflow: hidden; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sm); font-size: 14px; }
.ag-diff th, .ag-diff td { padding: 14px 16px; border-bottom: 1px solid var(--line-soft); line-height: 1.75; text-align: left; vertical-align: top; }
.ag-diff thead th { background: var(--bg-soft); font-size: 14.5px; color: var(--ink-2); }
.ag-diff thead th small { display: block; font-size: 11.5px; font-weight: 600; }
.ag-diff tbody th { width: 18%; background: var(--bg-soft); color: var(--ink-2); white-space: nowrap; }
.ag-diff td { color: var(--ink-3); }
.ag-diff .is-ours { background: var(--brand-soft); color: var(--brand-ink); font-weight: 600; }
.ag-diff thead .is-ours { background: var(--brand); color: #fff; }
.ag-diff__link { margin-top: 18px; font-size: 14px; color: var(--ink-3); text-align: center; }
.ag-diff__link a { color: var(--brand); font-weight: 700; }
