/* www.ripeff.jp トップ(R171・2026-09-21)
   スマホ先行。960px以上でPCレイアウト。
   動きは transform / opacity のみ。「動きを減らす」設定では最終状態を表示する(末尾)。 */

:root {
  --navy: #141d5a;
  --blue: #1a20a8;
  --cyan: #34e0e6;
  --ink2: #3b4466;
  --ink3: #525a78;
  --line: #e4e7ef;
  --line2: #dfe3ec;
  --bg2: #f1f4fd;
  --line-green: #06c755; /* LINEのボタン専用。「緑=LINEが開く」の意味だけに使う */
  --pad: 16px;
  --jp: "Zen Kaku Gothic New", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif;
  --num: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(.16, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 64px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--navy);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--blue); }
a:hover { color: #10157a; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.on-navy :focus-visible { outline-color: var(--cyan); }
.num { font-family: var(--num); font-weight: 600; font-variant-numeric: tabular-nums; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.pc { display: none; }
.wrap { width: 100%; max-width: 592px; margin-inline: auto; padding-inline: var(--pad); }

/* ---------- ヘッダー ---------- */
.hd { position: fixed; z-index: 30; left: 0; top: 0; width: 100%; }
.hd::before {
  content: ""; position: absolute; inset: 0; background: #fff; border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity .25s;
}
.hd.scrolled::before, .menu-open .hd::before { opacity: 1; }
.hd-in { position: relative; height: 56px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: #121c5a; min-height: 44px; }
.logo-mark { width: 48px; height: 18px; display: block; }
.logo-word { width: 122px; height: 11px; display: block; }
.gnav { display: none; }
.burger {
  width: 48px; height: 48px; margin-right: -8px; border: 0; background: transparent; padding: 0;
  display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--navy);
  -webkit-tap-highlight-color: transparent;
}
.burger span { position: absolute; width: 18px; height: 1.8px; border-radius: 2px; background: currentColor; transition: transform .25s var(--ease); }
.burger span:first-child { transform: translateY(-4px); }
.burger span:last-child { transform: translateY(4px); }
.menu-open .burger span:first-child { transform: rotate(45deg); }
.menu-open .burger span:last-child { transform: rotate(-45deg); }

.menu {
  position: fixed; z-index: 20; inset: 0; height: 100dvh; padding: 72px var(--pad) calc(24px + env(safe-area-inset-bottom));
  background: #fff; overflow-y: auto; display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s;
}
.menu-open .menu { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s var(--ease); }
.menu a.m-link {
  display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--line);
  font-size: 17px; font-weight: 700; color: var(--navy); text-decoration: none;
}
.menu a.m-link:first-child { border-top: 1px solid var(--line); }
.menu .btn-line { margin-top: 28px; }
.menu-open, .menu-open body { overflow: hidden; }

/* ---------- ボタン ---------- */
.btn-line {
  position: relative; overflow: hidden; height: 56px; padding: 0 28px; border-radius: 999px;
  background: var(--line-green); color: #fff; text-decoration: none;
  display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; font-size: 16px;
  transition: transform .15s; -webkit-tap-highlight-color: transparent;
}
.btn-line:hover { color: #fff; }
.btn-line:active { transform: scale(.98); }
.btn-line svg { flex-shrink: 0; }
.btn-line.white { background: var(--line-green); color: #fff; } /* 紺の上でも同じ緑 */
.btn-line.white:hover { color: #fff; }
.tap-ripple {
  position: absolute; width: 240px; height: 240px; margin: -120px 0 0 -120px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .22); pointer-events: none;
  animation: tapRipple .6s ease-out forwards;
}
@keyframes tapRipple { from { transform: scale(0); opacity: 1; } to { transform: scale(1); opacity: 0; } }
.txt-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  font-size: 15px; font-weight: 700; color: var(--navy); text-decoration: none;
}
.txt-link svg { transition: transform .2s var(--ease); }

/* ---------- ファーストビュー ---------- */
.hero { position: relative; overflow: hidden; }
.hero-in { position: relative; max-width: 592px; margin-inline: auto; }
.hero-art { position: absolute; top: 0; right: 0; width: 375px; height: 700px; pointer-events: none; }
.hero-art svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; }
.rp, .rp-dot { transform-box: fill-box; transform-origin: center; }
.rp { vector-effect: non-scaling-stroke; animation: rpOut 1.6s var(--ease) both; }
.rp-dot { animation: rpDot .25s ease-out both; }
.lb { animation: lbIn .5s ease-out both; }
@keyframes rpOut { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes rpDot { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes lbIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.rp-wash { animation: lbIn 1.2s ease-out .2s both; }
.hero-lb { position: absolute; display: flex; flex-direction: column; white-space: nowrap; }
.hero-lb .n { color: var(--blue); font-family: var(--num); font-weight: 600; font-size: 20px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.hero-lb .n small { font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif; font-size: 13px; font-weight: 700; }
.hero-lb .t { font-size: 13px; color: var(--ink3); }
.hero-lb.l1 { right: 216px; top: 56px; align-items: flex-end; }
.hero-lb.l2 { left: 106px; top: 226px; }
.hero-lb.l3 { right: 16px; top: 222px; align-items: flex-end; }
.hero-copy { position: relative; padding: 284px var(--pad) 12px; display: flex; flex-direction: column; gap: 14px; }
.hero-kicker { font-size: 13px; color: var(--ink3); }
.hero h1 { font-family: var(--jp); font-weight: 700; font-size: clamp(28px, 9.07vw, 34px); line-height: 1.36; letter-spacing: -.01em; }
.hero h1 .hl { color: var(--blue); }
.hero-lead { font-size: 15px; line-height: 1.8; color: var(--ink2); }
.hero-cta { display: flex; flex-direction: column; gap: 6px; margin-top: 2px; }
.hero-cta .note { align-self: center; font-size: 12px; color: var(--ink3); }
.hero-actions { display: flex; flex-direction: column; gap: 14px; }
.hero-copy .txt-link { align-self: center; }

/* ---------- 数字の帯 ---------- */
.stats { padding: 48px 0 72px; }
.stats-row { border-bottom: 1px solid var(--line); }
.stat {
  padding: 18px 0; border-top: 1px solid var(--line);
  display: flex; flex-direction: row-reverse; align-items: baseline; justify-content: space-between; gap: 12px;
}
.stat .n { color: var(--blue); font-family: var(--num); font-weight: 600; font-size: 28px; font-variant-numeric: tabular-nums; white-space: nowrap; line-height: 1.2; }
.stat .n small { font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif; font-size: 15px; font-weight: 700; }
.stat .t { font-size: 14px; line-height: 1.5; color: var(--ink2); }
.stats-note { padding-top: 10px; font-size: 12px; line-height: 1.7; color: var(--ink3); }

/* ---------- 共通の見出し ---------- */
.h2 { font-family: var(--jp); font-weight: 700; font-size: 24px; line-height: 1.45; }
.h2.l { font-size: 30px; line-height: 1.4; }
.h2.s { font-size: 22px; }
.sec { padding: 80px 0; }
.sec.gray { background: var(--bg2); }
.stack { display: flex; flex-direction: column; }

/* お悩み */
.worry { padding: 0 0 80px; }
.worry .split { gap: 22px; }
.worry-list { font-size: 17px; font-weight: 700; line-height: 1.6; border-bottom: 1px solid var(--line); }
.worry-list li { position: relative; padding: 16px 0 16px 20px; border-top: 1px solid var(--line); }
.worry-list li::before { content: ""; position: absolute; left: 2px; top: calc(16px + .8em - 3.5px); width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.worry-body { display: flex; flex-direction: column; gap: 22px; }
.worry-body p { font-size: 15px; line-height: 1.85; color: var(--ink2); }
.split { display: flex; flex-direction: column; }

/* サービス */
.service .wrap { display: flex; flex-direction: column; gap: 36px; }
.service-head { display: flex; flex-direction: column; gap: 14px; }
.service-intro { display: flex; flex-direction: column; gap: 14px; }
.service-intro p { font-size: 14px; line-height: 1.85; color: var(--ink2); }
.service-intro p.who { font-size: 15px; }
.svc { display: flex; flex-direction: column; gap: 14px; }
.svc-head { display: flex; flex-direction: column; gap: 14px; }
.svc-head h3 { font-size: 20px; font-weight: 700; white-space: nowrap; }
.svc-head p { font-size: 15px; line-height: 1.85; color: var(--ink2); }
.courses { display: flex; flex-direction: column; gap: 14px; }
.course {
  padding: 22px 20px; background: #fff; border: 1px solid var(--line2); border-radius: 8px;
  display: flex; flex-direction: column; gap: 12px;
}
.course.main { border: 2px solid var(--blue); }
.course-name { display: flex; flex-direction: column; gap: 2px; }
.course-name b { font-size: 18px; }
.course-name span { font-size: 13px; color: var(--ink3); }
.course-spec { font-size: 15px; line-height: 1.6; display: flex; flex-direction: column; gap: 8px; }
.course-spec li { position: relative; padding-left: 16px; }
.course-spec li::before { content: ""; position: absolute; left: 1px; top: calc(.8em - 3px); width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.guarantee { padding: 14px 16px; border-radius: 6px; border-left: 3px solid var(--blue); background: #e9edfc; display: flex; flex-direction: column; gap: 4px; }
.guarantee b { font-size: 12px; color: var(--blue); }
.course .guarantee { margin-top: auto; } /* コースの高さが違っても保証の箱を下にそろえる */
.guarantee span { font-size: 14px; line-height: 1.75; }
.svc-note { font-size: 13px; line-height: 1.8; color: var(--ink2); }
.plans { background: #fff; border: 1px solid var(--line2); border-radius: 8px; display: flex; flex-direction: column; }
.plan { padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; border-bottom: 1px solid var(--line); }
.plan:last-child { border-bottom: 0; }
.plan-top { display: flex; justify-content: space-between; font-weight: 700; }
.plan-top .vol { color: var(--blue); }
.plan-desc { font-size: 13px; color: var(--ink3); }

/* 特徴 */
.feat .split { gap: 28px; }
.feat-list { display: flex; flex-direction: column; gap: 28px; }
.feat-item { display: flex; gap: 16px; }
.feat-item .no { font-family: var(--num); font-weight: 600; font-size: 14px; color: var(--blue); width: 24px; flex-shrink: 0; padding-top: 3px; }
.feat-item div { display: flex; flex-direction: column; gap: 6px; }
.feat-item b { font-size: 17px; }
.feat-item p { font-size: 15px; line-height: 1.8; color: var(--ink2); }

/* 実績 */
.results { padding: 120px 0; background: var(--navy); color: #fff; }
.results .wrap { display: flex; flex-direction: column; gap: 44px; }
.cases { display: flex; flex-direction: column; }
.case { display: flex; flex-direction: column; gap: 10px; }
.case:first-child { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid #333d7a; }
.case-genre { font-size: 13px; color: #c5cae6; }
.case-from { display: flex; align-items: center; gap: 10px; }
.case-from .num { font-size: 22px; color: #c5cae6; }
.case-line { flex-grow: 1; height: 1px; background: var(--cyan); transform-origin: left center; }
.case-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); margin-left: -10px; margin-right: 8px; flex-shrink: 0; }
.case-to { align-self: flex-end; font-size: 68px; line-height: 1; color: var(--cyan); letter-spacing: -.02em; }
.case-days { align-self: flex-end; font-size: 15px; color: #dfe2f3; }
.case-days strong { font-size: 20px; color: #fff; }
.results-note { font-size: 13px; line-height: 1.8; color: #c5cae6; }

/* 声 */
.voice .wrap { display: flex; flex-direction: column; gap: 28px; }
.voice-grid { display: flex; flex-direction: column; gap: 28px; }
.voice-main { padding-left: 16px; border-left: 3px solid var(--blue); display: flex; flex-direction: column; gap: 12px; }
.voice-main blockquote { font-family: var(--jp); font-weight: 700; font-size: 19px; line-height: 1.75; }
.voice figcaption { font-size: 13px; color: var(--ink3); }
.voice-sub { border-bottom: 1px solid var(--line); }
.voice-sub figure { padding: 20px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.voice-sub blockquote { font-size: 15px; line-height: 1.85; }
.voice-note { font-size: 12px; line-height: 1.7; color: var(--ink3); }

/* 代表者 */
.about .split { gap: 22px; }
.about-name { display: flex; flex-direction: column; gap: 6px; }
.about-name h2 { font-family: var(--jp); font-weight: 700; font-size: 26px; }
.about-name h2 .aka { font-size: 16px; }
.about-name .role { font-size: 14px; color: var(--ink3); }
.about-body { display: flex; flex-direction: column; gap: 22px; }
.about-nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line2); border-bottom: 1px solid var(--line2); }
.about-nums > div { padding: 16px 0; display: flex; flex-direction: column; gap: 2px; }
.about-nums > div:first-child { border-right: 1px solid var(--line2); }
.about-nums > div:last-child { padding-left: 16px; }
.about-nums .n { color: var(--blue); font-family: var(--num); font-weight: 600; font-size: 26px; line-height: 1.3; }
.about-nums .n small { font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif; font-size: 14px; font-weight: 700; }
.about-nums .t { font-size: 13px; color: var(--ink3); }
.about-body p { font-size: 15px; line-height: 1.95; color: #2c3560; }
.about-body p.motto { font-family: var(--jp); font-weight: 700; font-size: 18px; line-height: 1.7; color: var(--navy); }

/* 流れ */
.flow .wrap { display: flex; flex-direction: column; gap: 28px; }
.flow-list { padding-left: 4px; display: flex; flex-direction: column; }
.flow-list li { position: relative; padding: 0 0 26px 26px; border-left: 1px solid #c9cee0; display: flex; flex-direction: column; gap: 4px; }
.flow-list li:last-child { padding-bottom: 0; border-left-color: transparent; }
.flow-list li::before { content: ""; position: absolute; left: -6px; top: 4px; width: 11px; height: 11px; border-radius: 50%; background: var(--blue); }
.flow-list b { font-size: 17px; }
.flow-list span { font-size: 14px; line-height: 1.8; color: var(--ink2); }

/* FAQ */
.faq { padding: 0 0 72px; }
.faq .split { gap: 18px; }
.faq-list { border-bottom: 1px solid var(--line); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 18px 0; min-height: 48px;
  display: flex; justify-content: space-between; gap: 12px; font-size: 16px; font-weight: 700;
  -webkit-tap-highlight-color: transparent;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-weight: 400; flex-shrink: 0; color: var(--blue); font-size: 20px; line-height: 1.2; }
.faq-list details[open] summary::after { content: "−"; }
.faq-a { padding: 0 0 18px; margin-top: -8px; font-size: 14px; line-height: 1.85; color: var(--ink2); }
.faq-list details[open] .faq-a { animation: faqIn .3s ease-out both; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* 会社概要 */
.company { padding: 72px 0; }
.company .split { gap: 18px; }
.company dl { font-size: 15px; border-bottom: 1px solid var(--line2); }
.company dl > div { padding: 14px 0; border-top: 1px solid var(--line2); }
.company dt { font-size: 12px; color: var(--ink3); }
.company dd { margin-top: 4px; line-height: 1.8; }

/* 最後の相談 */
.closing { position: relative; overflow: hidden; padding: 96px 0 64px; background: var(--navy); color: #fff; }
.closing .wrap { position: relative; display: flex; flex-direction: column; gap: 18px; }
.closing-art { position: absolute; top: 0; right: 0; width: 375px; height: 420px; pointer-events: none; }
.closing-art svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; }
.closing-copy { display: flex; flex-direction: column; gap: 18px; }
.closing h2 { font-family: var(--jp); font-weight: 700; font-size: 28px; line-height: 1.45; }
.closing p { font-size: 15px; line-height: 1.8; color: #dfe2f3; }
.closing .btn-line { margin-top: 8px; }
.rp2, .rp2-dot { transform-box: fill-box; transform-origin: center; }
.rp2 { vector-effect: non-scaling-stroke; }

/* フッター */
.ft { padding: 40px 0 calc(48px + env(safe-area-inset-bottom)); background: var(--navy); color: #dfe2f3; border-top: 1px solid #2b3576; }
.ft .wrap { display: flex; flex-direction: column; gap: 22px; }
.ft-brand { display: flex; flex-direction: column; gap: 12px; }
.ft-logo { display: flex; align-items: center; gap: 10px; color: #fff; }
.ft-logo .logo-mark { width: 56px; height: 21px; }
.ft-logo .logo-word { width: 144px; height: 13px; }
.ft-name { font-size: 14px; color: #fff; }
.ft nav { display: flex; flex-direction: column; font-size: 14px; }
.ft nav a { color: #dfe2f3; text-decoration: none; padding: 10px 0; min-height: 44px; display: flex; align-items: center; }
.ft small { font-size: 12px; color: #aab0d4; }

/* スマホ下部の固定LINEボタン */
.linebar {
  position: fixed; z-index: 15; left: 0; right: 0; bottom: 0;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line);
  transform: translateY(110%); visibility: hidden;
  transition: transform .3s var(--ease), visibility 0s .3s;
}
.linebar.show { transform: none; visibility: visible; transition: transform .3s var(--ease); }
.linebar .btn-line { height: 52px; max-width: 560px; margin-inline: auto; }

/* ---------- スクロールで出す(JSが動いたときだけ隠す) ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity .5s ease-out var(--d, 0ms), transform .5s var(--ease) var(--d, 0ms); }

.js .case .case-line { transform: scaleX(0); }
.js .case .case-dot, .js .case .case-days, .js .case.fade .case-to { opacity: 0; }
.js .case.in .case-line { transform: none; transition: transform .8s var(--ease); }
.js .case.in .case-dot { opacity: 1; transition: opacity .3s .7s; }
.js .case.in.fade .case-to { opacity: 1; transition: opacity .6s .4s; }
.js .case.in .case-days { opacity: 1; transition: opacity .5s 1.1s; }

.js .closing .rp2 { transform: scale(0); opacity: 0; }
.js .closing .rp2-dot { transform: scale(0); }
.js .closing.in .rp2 { transform: none; opacity: 1; transition: transform 1.6s var(--ease) var(--d, 0s), opacity 1.6s var(--ease) var(--d, 0s); }
.js .closing.in .rp2-dot { transform: none; transition: transform .25s ease-out; }

@media (hover: hover) {
  .txt-link:hover svg, .btn-line:hover .arrow { transform: translateX(4px); }
  .course, .plans { transition: border-color .2s; }
  .course:hover, .plans:hover { border-color: #aab2cc; }
  .course.main:hover { border-color: var(--blue); }
  .gnav a.g-link:hover { text-decoration: underline; text-underline-offset: 6px; }
  .ft nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
}

/* ---------- PC(960px以上) ---------- */
@media (min-width: 960px) {
  :root { --pad: clamp(40px, 8.33vw, 120px); }
  html { scroll-padding-top: 90px; }
  .sp { display: none; }
  .pc { display: revert; }
  .wrap { max-width: 1440px; }
  .split { flex-direction: row; gap: clamp(40px, 5.55vw, 80px) !important; }
  .split > .split-h { width: clamp(260px, 26.4vw, 380px); flex-shrink: 0; }
  .split > .split-b { flex-grow: 1; min-width: 0; }
  .h2 { font-size: 34px; }
  .h2.l { font-size: 40px; }
  .h2.s { font-size: 28px; }
  .sec { padding: 120px 0; }

  .hd-in { height: 84px; max-width: 1440px; }
  .logo { gap: 12px; }
  .logo-mark { width: 64px; height: 24px; }
  .logo-word { width: 166px; height: 15px; }
  .burger, .menu, .linebar { display: none; }
  .gnav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 32px); font-size: 14px; font-weight: 600; }
  .gnav a.g-link { color: var(--navy); text-decoration: none; white-space: nowrap; }
  .gnav .btn-line { height: 44px; padding: 0 22px; font-size: 14px; }

  .hero-in { max-width: 1440px; min-height: min(800px, 55.56vw); }
  .hero-art { width: 100%; height: auto; aspect-ratio: 1440 / 800; }
  .hero-lb .n { font-size: clamp(24px, 2.36vw, 34px); }
  .hero-lb .n small { font-size: clamp(14px, 1.25vw, 18px); }
  .hero-lb .t { font-size: 14px; }
  .hero-lb.l1 { right: 40.97%; top: 17%; }
  .hero-lb.l2 { left: 59.17%; top: 74%; right: auto; }
  .hero-lb.l3 { left: 83.06%; top: 45.5%; right: auto; align-items: flex-start; }
  .hero-copy { padding: clamp(130px, 13.9vw, 200px) var(--pad) 80px; gap: 26px; max-width: calc(var(--pad) + 800px); }
  .hero-kicker { font-size: 14px; }
  .hero h1 { font-size: clamp(46px, 5.14vw, 74px); line-height: 1.3; white-space: nowrap; }
  .hero-lead { font-size: 17px; line-height: 1.9; max-width: clamp(340px, 36.1vw, 520px); }
  .hero-actions { flex-direction: row; align-items: center; gap: 28px; margin-top: 6px; }
  .hero-cta { margin-top: 0; }
  .hero-cta .btn-line { height: 60px; padding: 0 34px; }
  .hero-cta .note { display: none; }
  .hero-copy .txt-link { align-self: auto; font-size: 16px; }

  .stats { padding: 40px 0 120px; }
  .stats-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border-top: 1px solid var(--line); }
  .stat { padding: 32px; border-top: 0; border-right: 1px solid var(--line); flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 6px; }
  .stat:first-child { padding-left: 0; }
  .stat:last-child { border-right: 0; }
  .stat .n { font-size: clamp(38px, 3.6vw, 52px); line-height: 1.1; }
  .stat .n small { font-size: clamp(17px, 1.53vw, 22px); }
  .stat .t { font-size: 15px; }
  .stats-note { padding-top: 14px; font-size: 13px; }

  .worry { padding: 0 0 120px; }
  .worry-body { gap: 28px; }
  .worry-list { font-size: 20px; }
  .worry-list li { padding: 22px 0 22px 26px; }
  .worry-list li::before { top: calc(22px + .8em - 4px); width: 8px; height: 8px; }
  .worry-body p { font-size: 16px; line-height: 1.9; }

  .service .wrap { gap: 56px; }
  .service-intro { padding-top: 6px; }
  .service-intro p { font-size: 15px; line-height: 1.9; }
  .service-intro p.who { font-size: 17px; }
  .service-intro p.price { order: 2; }
  .service-intro p.policy { order: 3; }
  .svc { gap: 20px; }
  .svc-head { flex-direction: row; align-items: baseline; gap: 20px; }
  .svc-head h3 { font-size: 24px; }
  .svc-head p { line-height: 1.8; }
  .courses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .course { padding: 36px; gap: 18px; }
  .course-name { gap: 4px; }
  .course-name b { font-size: 22px; }
  .course-name span { font-size: 14px; }
  .course-spec { font-size: 16px; }
  .guarantee { padding: 18px 20px; }
  .guarantee b { font-size: 13px; }
  .guarantee span { font-size: 15px; }
  .svc-note { font-size: 14px; }
  .plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .plan { padding: 28px 30px; gap: 8px; border-bottom: 0; border-right: 1px solid var(--line); }
  .plan:last-child { border-right: 0; }
  .plan-top { flex-direction: column; gap: 8px; }
  .plan-top .name { font-size: 18px; }
  .plan-top .vol { font-family: var(--num); font-weight: 600; font-size: 30px; line-height: 1.3; }
  .plan-top .vol small { font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif; font-size: 15px; font-weight: 700; }
  .plan-desc { font-size: 14px; line-height: 1.7; }

  .feat-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 56px; }
  .feat-item { flex-direction: column; gap: 10px; }
  .feat-item .no { font-size: 15px; width: auto; padding-top: 0; }
  .feat-item div { gap: 10px; }
  .feat-item b { font-size: 20px; }
  .feat-item p { line-height: 1.9; }

  .results { padding: 160px 0; }
  .results .wrap { gap: 64px; }
  .cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5.55vw, 80px); }
  .case { gap: 14px; }
  .case:first-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
  .case-genre { font-size: 15px; }
  .case-from { gap: 14px; }
  .case-from .num { font-size: 30px; }
  .case-dot { width: 11px; height: 11px; margin-left: -14px; margin-right: 12px; }
  .case-to { font-size: clamp(76px, 8.33vw, 120px); letter-spacing: -.03em; }
  .case-days { font-size: 17px; }
  .case-days strong { font-size: 24px; }
  .results-note { font-size: 14px; }

  .voice .wrap { gap: 44px; }
  .voice-grid { flex-direction: row; gap: clamp(40px, 5.55vw, 80px); }
  .voice-main { width: 50%; max-width: 600px; flex-shrink: 0; padding-left: 28px; gap: 18px; }
  .voice-main blockquote { font-size: clamp(22px, 1.95vw, 28px); line-height: 1.7; }
  .voice figcaption { font-size: 14px; }
  .voice-sub { flex-grow: 1; align-self: flex-start; }
  .voice-sub figure { padding: 24px 0; gap: 10px; }
  .voice-sub blockquote { font-size: 16px; line-height: 1.9; }
  .voice-note { font-size: 13px; }

  .about-name { gap: 10px; }
  .about-name h2 { font-size: 34px; }
  .about-name h2 .aka { display: block; margin-top: 10px; font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif; font-size: 16px; }
  .about-name h2 .paren { display: none; }
  .about-name .role { font-size: 15px; }
  .about-body { gap: 24px; }
  .about-nums > div { padding: 22px 0; gap: 4px; }
  .about-nums > div:last-child { padding-left: 28px; }
  .about-nums .n { font-size: 40px; }
  .about-nums .n small { font-size: 18px; }
  .about-nums .t { font-size: 14px; }
  .about-body p { font-size: 16px; line-height: 2; }
  .about-body p.motto { font-size: 22px; }

  .flow .wrap { gap: 48px; }
  .flow-list { padding-left: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; border-top: 1px solid #c9cee0; }
  .flow-list li { padding: 30px 0 0; border-left: 0; gap: 8px; }
  .flow-list li::before { left: 0; top: -7px; width: 13px; height: 13px; }
  .flow-list b { font-size: 19px; }
  .flow-list span { font-size: 15px; line-height: 1.85; }

  .faq { padding: 0 0 100px; }
  .faq-list summary { padding: 22px 0; gap: 16px; font-size: 17px; }
  .faq-a { padding-bottom: 22px; font-size: 15px; line-height: 1.9; }

  .company { padding: 100px 0; }
  .company dl { font-size: 16px; }
  .company dl > div { display: grid; grid-template-columns: 160px minmax(0, 1fr); padding: 18px 0; }
  .company dt { font-size: 14px; padding-top: 2px; }
  .company dd { margin-top: 0; }

  .closing { padding: 140px 0 100px; }
  .closing .wrap { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 60px; }
  .closing-art { width: 100%; max-width: 1440px; height: auto; aspect-ratio: 1440 / 520; left: 50%; right: auto; transform: translateX(-50%); }
  .closing h2 { font-size: clamp(36px, 3.33vw, 48px); line-height: 1.4; }
  .closing p { font-size: 17px; }
  .closing .btn-line { flex-shrink: 0; height: 64px; padding: 0 38px; font-size: 17px; margin-top: 0; }

  .ft { padding: 48px 0 56px; }
  .ft .wrap { gap: 28px; }
  .ft-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
  .ft-brand { flex-direction: row; align-items: center; gap: 26px; }
  .ft-logo { gap: 14px; }
  .ft-logo .logo-mark { width: 64px; height: 24px; }
  .ft-logo .logo-word { width: 166px; height: 15px; }
  .ft nav { flex-direction: row; flex-wrap: wrap; gap: 0 28px; }
  .ft nav a { padding: 0; }
}

/* ---------- 動きを減らす設定: 動かさず最終状態を出す ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .js .reveal { opacity: 1 !important; transform: none !important; }
  .js .case .case-line, .js .closing .rp2, .js .closing .rp2-dot { transform: none !important; opacity: 1 !important; }
  .js .case .case-dot, .js .case .case-days, .js .case.fade .case-to { opacity: 1 !important; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
