/* ==========================================================================
   ethics.japha.jp 共通スタイル
   デザイン言語は「臨床研究はじめてガイド」原稿に準拠:
   3色運用（--base 青 / --ok 緑 / --care 琥珀）・システムフォント・画像不使用
   LPは一般的なサービスサイトの定石構成:
   ヘッダーナビ＋CTA → 2カラムヒーロー（コピー×画面モック） → 提供元バー →
   特長 → 流れ（横4ステップ） → 比較 → 修了コード → FAQ → CTAバンド → 多列フッター
   ========================================================================== */
:root {
  /* 骨格色: shinsa.japha.jp v2.0 のトークンに準拠 */
  --navy: #16263a;       /* 基調ネイビー（ヘッダー・ヒーロー・ボタン・大見出し） */
  --navy-2: #22405f;     /* ネイビー（hover・グラデ終端） */
  --link: #2f6fbf;       /* アクセント・ブルー（リンク） */
  --link-dark: #235a9e;
  --bg: #fcfcfa;         /* ページ背景（オフホワイト） */
  --ink: #33332c;        /* 本文（shinsa --text） */
  --edge: #e4e2da;       /* 罫線（shinsa --line） */
  /* 意味色: はじめてガイド原稿の3色運用を維持 */
  --base: #2b5e96;       /* ガイド基調の青（コンテンツ内アクセント） */
  --base-bg: #eaf2fb;
  --base-dark: #22405f;
  --ok: #2f6b3d;   --ok-bg: #eaf6ec;   --ok-line: #4c9a5f;
  /* 注意色はガイドの琥珀を shinsa のオレンジ系に整合 */
  --care: #c2691f; --care-bg: #fbf2e9; --care-line: #d4773a;
  --line: #9aa5b1;
  --paper: #fff;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.95;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--link); }
::selection { background: var(--base-bg); color: var(--base-dark); }
:focus-visible { outline: 2px solid var(--base); outline-offset: 2px; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }
.wrap-lg { max-width: 1060px; margin: 0 auto; padding: 0 16px; }

/* ---- ボタン ---- */
.btn {
  display: inline-block; text-decoration: none; text-align: center; cursor: pointer;
  border-radius: 999px; padding: 14px 34px; font-size: 1.02rem; font-weight: 700;
  font-family: inherit; line-height: 1.6; border: 2px solid var(--navy);
  transition: transform .15s ease, box-shadow .15s ease, background .15s, color .15s, border-color .15s, opacity .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(30, 70, 112, .18); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); border-color: var(--navy-2); }
.btn-ghost { background: #fff; color: var(--navy); }
.btn-block { display: block; width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .45; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* ==========================================================================
   ヘッダー（ロゴ＋ページ内ナビ＋アクション）
   ========================================================================== */
.lp-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--edge);
}
.lp-header__in {
  max-width: 1060px; margin: 0 auto; padding: 10px 16px;
  display: flex; align-items: center; gap: 22px;
}
.lp-brand {
  font-weight: 700; color: var(--navy); text-decoration: none; font-size: 1rem; line-height: 1.35;
  letter-spacing: .01em; white-space: nowrap;
}
.lp-brand small { display: block; font-size: 0.66rem; font-weight: 400; color: #6a7480; letter-spacing: .05em; }
.lp-nav { display: flex; gap: 4px; margin-left: 6px; }
.lp-nav a {
  color: #4a545f; text-decoration: none; font-size: 0.88rem; font-weight: 700;
  padding: 7px 13px; border-radius: 999px; transition: background .15s, color .15s;
}
.lp-nav a:hover { background: #eef1ea; color: var(--navy); }
.lp-header__actions { margin-left: auto; display: flex; gap: 9px; align-items: center; }
.lp-header__actions .btn { padding: 7px 20px; font-size: 0.85rem; white-space: nowrap; }
@media (max-width: 880px) { .lp-nav { display: none; } }
@media (max-width: 640px) {
  .lp-header__in { gap: 10px; padding: 9px 12px; }
  .lp-brand { font-size: 0.88rem; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .lp-brand small { display: none; }
  .lp-header__actions .btn { padding: 6px 14px; font-size: 0.78rem; }
  .lp-header__actions .btn-ghost { display: none; } /* ログイン導線はヒーローとフッターに確保 */
}

/* ==========================================================================
   ヒーロー（左コピー × 右プロダクトモック）
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 12% -12%, rgba(120, 168, 216, .35), rgba(120, 168, 216, 0) 62%),
    radial-gradient(760px 420px at 95% 110%, rgba(74, 124, 178, .5), rgba(74, 124, 178, 0) 60%),
    linear-gradient(168deg, #101a29 0%, var(--navy) 55%, var(--navy-2) 100%);
  color: #fff; padding: 96px 0 100px;
}
.hero::before {
  content: ""; position: absolute; inset: -420px 0 0 0; pointer-events: none;
  transform: translateY(var(--plx-hero, 0px));
  background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1.5px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.7), transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.7), transparent 70%);
}
.hero-inner {
  position: relative; max-width: 1060px; margin: 0 auto; padding: 0 16px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px; align-items: center;
}
.hero-copy .kicker-w {
  display: inline-block; font-size: 0.78rem; letter-spacing: .22em; font-weight: 700;
  border: 1px solid rgba(255, 255, 255, .45); border-radius: 999px; padding: 4px 18px 4px 20px;
  background: rgba(255, 255, 255, .08);
}
.hero-copy h1 { font-size: 2.5rem; line-height: 1.42; margin: 28px 0 24px; letter-spacing: .02em; text-wrap: balance; }
.hero-copy h1 .accent { color: #cfe4f7; }
.hero-copy .lead { max-width: 580px; margin: 0 0 38px; font-size: 1.06rem; opacity: .96; }
.hero-copy .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-copy .cta .btn { border-color: #fff; min-width: 220px; }
.hero-copy .cta .btn-primary { background: #fff; color: var(--navy); }
.hero-copy .cta .btn-primary:hover { background: #f0f6fc; border-color: #f0f6fc; }
.hero-copy .cta .btn-ghost { background: transparent; color: #fff; }
.hero-copy .cta .btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.hero-copy .chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.hero-copy .chips .chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: .02em;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px; padding: 4px 13px;
}
.hero-copy .chips .chip svg { width: 12px; height: 12px; flex-shrink: 0; }

/* ---- 受講画面モック（HTML/CSSのみ） ---- */
.hero-mock { position: relative; transform: translateY(var(--plx-mock, 0px)); will-change: transform; }
.mock-frame { max-width: 490px; margin-left: auto; }
.mock-slide {
  position: relative; background: #fff; color: var(--ink); border-radius: 16px;
  box-shadow: 0 26px 60px rgba(5, 20, 40, .45);
  padding: 26px 24px 40px; overflow: hidden;
}
.mock-slide::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--base), #6f9cc8);
}
.mock-slide .m-kicker { color: var(--base); font-size: 0.72rem; font-weight: 700; letter-spacing: .06em; }
.mock-slide .m-title {
  font-size: 1.12rem; font-weight: 700; margin: 4px 0 10px;
  padding-bottom: 9px; border-bottom: 1px solid var(--edge);
}
.mock-slide .m-line { font-size: 0.8rem; line-height: 1.9; color: #4a545f; margin-bottom: 10px; }
.mock-slide .m-point { background: var(--base-bg); border-radius: 9px; padding: 9px 12px; font-size: 0.78rem; color: var(--base-dark); font-weight: 700; }
.mock-slide .m-num { position: absolute; right: 15px; bottom: 9px; font-size: 0.68rem; color: #9aa5b1; font-weight: 700; letter-spacing: .1em; }
.mock-slide .m-num b { color: var(--base); font-size: 0.78rem; }
.mock-bar {
  background: #fff; border-radius: 12px; margin-top: 11px;
  box-shadow: 0 14px 36px rgba(5, 20, 40, .38);
  padding: 11px 13px; display: flex; align-items: center; gap: 12px;
}
.mock-bar .m-timer { flex: 1; min-width: 0; }
.mock-bar .m-lab { display: block; font-size: 0.64rem; font-weight: 700; color: #6a7480; margin-bottom: 4px; }
.mock-bar .m-track { display: block; background: #e4e9ee; border-radius: 999px; height: 8px; overflow: hidden; }
.mock-bar .m-track i {
  display: block; height: 100%; width: 66%; border-radius: 999px;
  background: linear-gradient(90deg, #4e7fb3, var(--base));
  animation: mock-fill 7s ease-out infinite alternate;
}
@keyframes mock-fill { from { width: 34%; } to { width: 88%; } }
.mock-bar .m-next {
  background: var(--navy); color: #fff; font-size: 0.78rem; font-weight: 700;
  border-radius: 999px; padding: 7px 20px; white-space: nowrap;
}
@media (max-width: 880px) {
  .hero { padding: 64px 0 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-copy { text-align: center; }
  .hero-copy .lead { margin: 0 auto 26px; text-align: left; }
  .hero-copy .cta, .hero-copy .chips { justify-content: center; }
  .hero-copy h1 { font-size: 1.95rem; }
  .mock-frame { margin: 0 auto; }
}

/* ---- 提供元バー ---- */
.provider-bar {
  background: #fff; border-bottom: 1px solid var(--edge);
  padding: 20px 0; text-align: center; font-size: 0.9rem; color: #56616d;
}
.provider-bar strong { color: var(--navy); }

/* ==========================================================================
   セクション共通
   ========================================================================== */
.sec { padding: 104px 0 40px; }
.sec-tint { background: #f6f4ee; margin-top: 48px; padding-bottom: 96px; }
.sec-h { text-align: center; font-size: 1.95rem; color: var(--navy); letter-spacing: .03em; margin-bottom: 10px; text-wrap: balance; }
.sec-h::after {
  content: ""; display: block; width: 36px; height: 3px; border-radius: 2px;
  background: var(--base); margin: 20px auto 0; opacity: .85;
}
.sec-lead { text-align: center; font-size: 1rem; color: #56616d; margin: 20px auto 52px; max-width: 860px; }

/* ---- 特長カード ---- */
.feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; }
@media (max-width: 760px) { .feat { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; } }
.feat .f {
  background: #fff; border: 1px solid var(--edge); border-radius: 16px;
  padding: 42px 30px 34px; text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feat .f:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(30, 70, 112, .1); }
.feat .f .ico {
  width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 18px;
  background: var(--base-bg); display: flex; align-items: center; justify-content: center;
}
.feat .f .ico svg { width: 34px; height: 34px; }
.feat .f .ft { font-weight: 700; font-size: 1.18rem; margin-bottom: 12px; color: var(--navy); }
.feat .f p { font-size: 0.9rem; text-align: left; color: #4a545f; line-height: 1.95; }

/* ---- 講習の内容（カリキュラム） ---- */
.curr { max-width: 820px; margin: 0 auto; }
.cr {
  display: flex; align-items: flex-start; gap: 16px;
  background: #fff; border: 1px solid var(--edge); border-radius: 14px;
  padding: 28px 30px; margin-bottom: 18px;
  transition: border-color .2s, box-shadow .2s;
}
.cr:hover { border-color: #cfcabe; box-shadow: 0 8px 20px rgba(22, 38, 58, .07); }
.cr-no {
  flex-shrink: 0; background: var(--base-bg); color: var(--navy); font-weight: 700;
  font-size: 0.78rem; border-radius: 8px; padding: 4px 12px; margin-top: 2px; white-space: nowrap;
}
.cr-body { flex: 1; min-width: 0; }
.cr-t { font-weight: 700; font-size: 1.18rem; color: var(--navy); margin-bottom: 6px; }
.cr-body p { font-size: 0.9rem; color: #56616d; line-height: 1.95; }
.cr-quiz {
  flex-shrink: 0; align-self: flex-start; margin-top: 4px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: .04em;
  background: var(--ok-bg); color: var(--ok); border: 1px solid var(--ok-line);
  border-radius: 999px; padding: 2px 12px; white-space: nowrap;
}
.cr.is-coming { background: #fbfaf7; }
.cr.is-coming .cr-no { background: #f1efe9; color: #8a8a80; }
.cr.is-coming .cr-t { color: #6a6a60; }
.cr-quiz.is-coming { background: #f1efe9; color: #8a8a80; border: 1px dashed #cfcabe; }
.curr-note { text-align: center; font-size: 0.92rem; color: #56616d; margin-top: 32px; }
@media (max-width: 560px) {
  .cr { flex-wrap: wrap; gap: 10px; }
  .cr-quiz { order: -1; margin-left: auto; }
}

/* ---- 受講の流れ（デスクトップ横4ステップ／モバイル縦） ---- */
.flow { counter-reset: step; position: relative; margin: 0 auto; }
/* モバイル: 縦積み＋左の縦線 */
.flow::before {
  content: ""; position: absolute; left: 29px; top: 20px; bottom: 20px;
  width: 2px; background: #d5dee7; z-index: 0;
}
.flow .st {
  position: relative; z-index: 1;
  background: #fff; border: 1px solid var(--edge); border-radius: 14px;
  padding: 18px 20px 16px 64px; margin-bottom: 14px;
  transition: border-color .2s, box-shadow .2s;
}
.flow .st:hover { border-color: #b9cadb; box-shadow: 0 8px 20px rgba(30, 70, 112, .07); }
.flow .st::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 15px; top: 15px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 0.95rem;
  box-shadow: 0 0 0 4px var(--bg);
}
.flow .st .t { font-weight: 700; color: var(--navy); }
.flow .st p { font-size: 0.85rem; color: #4a545f; line-height: 1.85; }
.flow .st.goal { background: var(--ok-bg); border: 2px solid var(--ok-line); }
.flow .st.goal::before { background: var(--ok); content: "✓"; }
.flow .st.goal .t { color: var(--ok); }
/* デスクトップ: 横4カラム */
@media (min-width: 861px) {
  .flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .flow::before { left: 40px; right: 40px; top: 33px; bottom: auto; width: auto; height: 2px; }
  .flow .st { padding: 68px 24px 26px; margin-bottom: 0; }
  .flow .st::before { left: 16px; top: 16px; }
  .flow .st .t { font-size: 1.08rem; margin-bottom: 8px; }
}
@media (max-width: 860px) { .flow { max-width: 560px; } }

/* ---- 比較（選ばれる理由） ---- */
.cmp {
  background: #fff; border: 1px solid var(--edge); border-radius: 16px;
  overflow: hidden; max-width: 920px; margin: 0 auto;
  box-shadow: 0 8px 26px rgba(30, 70, 112, .06);
}
.cmp-row {
  display: grid; grid-template-columns: 150px 1fr 1.3fr;
  border-top: 1px solid var(--edge); font-size: 0.94rem;
}
.cmp-row:first-child { border-top: none; }
.cmp-row > span { padding: 22px 24px; display: block; align-content: center; line-height: 1.9; }
.cmp-row .k { font-weight: 700; color: #56616d; background: #f7f9fb; font-size: 0.88rem; }
.cmp-row > span:nth-child(2) { color: #6a7480; }
.cmp-row .hl { background: var(--base-bg); color: var(--base-dark); border-left: 2px solid var(--base); }
.cmp-row .hl b { color: var(--base); }
.cmp-head { background: #f7f9fb; }
.cmp-head > span { font-weight: 700; color: #56616d; font-size: 0.9rem; padding-top: 15px; padding-bottom: 15px; text-align: center; }
.cmp-head .hl { color: #fff; background: var(--navy); border-left: 2px solid var(--navy); text-align: center; font-size: 0.98rem; }
.cmp-row .k br { display: none; }
.cmp-note { max-width: 920px; margin: 28px auto 0; font-size: 0.92rem; color: #56616d; text-align: center; }
.sec-lead strong { color: var(--base-dark); }
@media (max-width: 560px) {
  .cmp-row { grid-template-columns: 74px 1fr 1.2fr; font-size: 0.78rem; }
  .cmp-row > span { padding: 11px 10px; }
  .cmp-row .k br { display: block; }
  .sec-lead { text-align: left; }
  .sec-lead br { display: none; }
}

/* ---- 修了コード説明 ---- */
.code-box {
  background: #fff; border: 1px solid var(--edge); border-radius: 16px;
  padding: 40px 38px; max-width: 680px; margin: 0 auto;
  box-shadow: 0 8px 26px rgba(30, 70, 112, .06);
}
.code-box .sample {
  position: relative;
  background: linear-gradient(180deg, #f3f8fd, var(--base-bg));
  border: 1.5px dashed #7ba2c9; border-radius: 12px;
  text-align: center; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 1.4rem; letter-spacing: .12em; color: var(--base-dark); font-weight: 700;
  padding: 28px 10px 22px; margin: 26px 0; word-break: break-all;
}
.code-box .sample .tag {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--base); color: #fff; font-family: inherit;
  font-size: 0.62rem; letter-spacing: .18em; font-weight: 700;
  border-radius: 999px; padding: 2px 12px; white-space: nowrap;
}
.code-box ul { margin: 12px 0 0; list-style: none; }
.code-box li { position: relative; padding-left: 1.7em; font-size: 0.9rem; margin-bottom: 6px; }
.code-box li::before {
  content: ""; position: absolute; left: 2px; top: .62em;
  width: 9px; height: 9px; border-radius: 2px; background: var(--base); opacity: .8;
  transform: rotate(45deg);
}
.code-paper {
  background: #f8f7f4; border: 1px dashed #cfcabe; border-radius: 12px;
  padding: 14px 16px; margin-top: 16px;
}
.code-paper .h { font-weight: 700; font-size: 0.85rem; color: #6a6a60; margin-bottom: 3px; }
.code-paper p { font-size: 0.82rem; color: #56616d; line-height: 1.85; }
.code-paper strong { color: var(--navy); }

/* ---- FAQ ---- */
.faq-list { max-width: 680px; margin: 0 auto; }
details.faq {
  background: #fff; border: 1px solid var(--edge); border-radius: 14px; margin-bottom: 14px;
  transition: box-shadow .2s;
}
details.faq[open] { box-shadow: 0 8px 22px rgba(30, 70, 112, .08); }
details.faq summary {
  cursor: pointer; font-weight: 700; padding: 20px 52px 20px 24px; list-style: none; position: relative;
  font-size: 1.02rem; line-height: 1.7;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: ""; position: absolute; right: 24px; top: 27px;
  width: 9px; height: 9px;
  border-right: 2px solid var(--base); border-bottom: 2px solid var(--base);
  transform: rotate(45deg); transition: transform .2s;
}
details.faq[open] summary::after { transform: rotate(225deg); top: 31px; }
details.faq .a { padding: 0 24px 20px; font-size: 0.95rem; color: #4a545f; }

/* ---- 締めのCTAバンド ---- */
.cta-band {
  position: relative; overflow: hidden;
  margin-top: 0;
  background:
    radial-gradient(700px 300px at 85% -20%, rgba(120, 168, 216, .35), rgba(120, 168, 216, 0) 60%),
    linear-gradient(168deg, #101a29, var(--navy-2));
  color: #fff; text-align: center; padding: 92px 18px 96px;
}
.cta-band::before {
  content: ""; position: absolute; inset: -420px 0 0 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .1) 1px, transparent 1.5px);
  background-size: 26px 26px;
  transform: translateY(calc(var(--plx-band, 0px) * -1));
}
.cta-band > * { position: relative; }
.cta-band h2 { font-size: 2.1rem; letter-spacing: .03em; margin-bottom: 16px; text-wrap: balance; }
.cta-band p { font-size: 1.02rem; opacity: .92; margin-bottom: 36px; }
.cta-band .btn { border-color: #fff; background: #fff; color: var(--navy); min-width: 260px; }
.cta-band .btn:hover { background: #f0f6fc; border-color: #f0f6fc; }

/* ---- フッター（多列） ---- */
.lp-footer { background: #fff; border-top: 1px solid var(--edge); padding: 60px 0 44px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 22px; text-align: center; } }
.foot-brand .org { font-weight: 700; color: var(--navy); font-size: 0.98rem; margin-bottom: 6px; }
.foot-brand p { font-size: 0.8rem; color: #6a7480; max-width: 26em; }
@media (max-width: 760px) { .foot-brand p { margin: 0 auto; } }
.foot-col .h { font-weight: 700; font-size: 0.8rem; color: #9aa5b1; letter-spacing: .1em; margin-bottom: 8px; }
.foot-col a {
  display: block; font-size: 0.86rem; color: #4a545f; text-decoration: none; margin-bottom: 7px;
}
.foot-col a:hover { color: var(--link); text-decoration: underline; }
.lp-footer .copy {
  text-align: center; font-size: 0.72rem; color: #9aa5b1; letter-spacing: .04em;
  border-top: 1px solid var(--edge); margin-top: 28px; padding-top: 18px;
}

/* ==========================================================================
   コンテンツ共通（スライド本文でも使用）
   ========================================================================== */
.kicker { color: var(--base); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; }
.keypoint { background: var(--base-bg); border-radius: 12px; padding: 14px 18px; margin: 14px 0; font-size: 0.95rem; }
.keypoint strong { color: var(--base); }
.note { background: #fff8f0; border-left: 4px solid var(--care-line); border-radius: 0 10px 10px 0; padding: 12px 16px; font-size: 0.92rem; margin: 14px 0; }
.figure { background: #fbfcfd; border: 1px solid var(--edge); border-radius: 14px; padding: 24px 14px 20px; margin: 20px 0; }
.figure-title { text-align: center; font-weight: 700; font-size: 1rem; margin-bottom: 16px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .feat .f, .flow .st { transition: none; }
  .btn:hover, .feat .f:hover { transform: none; }
  .mock-bar .m-track i { animation: none; }
}

/* モバイル: 余白の最適化 */
@media (max-width: 640px) {
  .sec { padding: 68px 0 28px; }
  .sec-h { font-size: 1.5rem; }
  .sec-lead { margin-bottom: 36px; }
  .hero { padding: 56px 0 64px; }
  .cta-band { padding: 64px 18px 68px; }
  .cta-band h2 { font-size: 1.6rem; }
  .feat .f { padding: 32px 24px 26px; }
  .cr { padding: 22px 20px; }
}

/* ---- スクロールリビール（lp.js が .js-reveal を付与） ---- */
.js-reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s cubic-bezier(.22, .61, .36, 1); }
.js-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- 規約ページ（免責事項・個人情報保護方針） ---- */
.legal { max-width: 760px; margin: 0 auto; padding: 68px 22px 96px; }
.legal h1 { font-size: 1.65rem; color: var(--navy); letter-spacing: .02em; margin-bottom: 8px; }
.legal .updated { font-size: 0.8rem; color: #8a94a0; margin-bottom: 34px; }
.legal h2 { font-size: 1.02rem; color: var(--navy); margin: 36px 0 10px; }
.legal p, .legal li { font-size: 0.92rem; line-height: 1.95; color: var(--ink); }
.legal p { margin-bottom: 10px; }
.legal ul { padding-left: 1.4em; margin: 6px 0 14px; }
.legal li { margin-bottom: 4px; }
.legal a { color: var(--link); }

/* ---- フッター内の法的リンク ---- */
.foot-legal { display: flex; gap: 22px; margin-top: 30px; font-size: 0.8rem; }
.foot-legal a { color: #6a7480; text-decoration: none; }
.foot-legal a:hover { color: var(--link); text-decoration: underline; }
@media (max-width: 760px) { .foot-legal { justify-content: center; } }
