/* LEGAL VIBES — 京大ロー模試の LP（ＬＰ1）
   色・線・角丸・書体は exam.legal-vibes.com と同じ（線 1px・角丸 10px・影なし・字は 14px 以上・部品の傾きなし・
   書体は Noto Sans JP ＋ Noto Sans で、太さは 400 と 700 の 2 つだけ）。
   mocks/lp-brushup/build-site.mjs が page.html から組んだもの。直すときは page.html を直して組み直す。 */
:root{
    --canvas:#f3f7fa; --card:#ffffff; --ink:#2a2a2a; --body:#3a3f44; --muted:#5c6771;
    --hair:#b9c6d0; --teal:#63d2d9; --teal-deep:#0c7d86; --aqua:#ddf2f5; --red:#dc2131;
    --line:1px; --r:10px; --teal-light:#b0e8ec; --gold:#b45309; --gold-soft:#fdf3e7;
    /* 書体は exam 側と同じ（運営 10-10）: 和文 Noto Sans JP・欧文と数字 Noto Sans。太さは 400 と 700 の 2 つだけ */
    --font:"Noto Sans JP",-apple-system,BlinkMacSystemFont,"Segoe UI","Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic Medium","Yu Gothic",Meiryo,sans-serif;
    --num:"Noto Sans",var(--font);
    /* 見出し・キャッチコピーは明朝（kikkawalaw.com を参考）、英字の小見出しは Lora */
    --serif:"Noto Serif JP","Hiragino Mincho ProN","Yu Mincho","YuMincho",serif;
    --lora:"Lora",var(--serif);
  }

  *{ box-sizing:border-box; }
  html{ scroll-behavior:smooth; scroll-padding-top:68px; } /* 固定ヘッダー（64px＋帯4px）の分だけ、#apply などへの移動先を下げる */
  body{ margin:0; background:var(--canvas); color:var(--body); font-size:16px; line-height:1.8;
    font-family:var(--font);
    -webkit-font-smoothing:antialiased; overflow-x:hidden; }
  img{ display:block; max-width:100%; height:auto; }
  a{ color:inherit; text-decoration:none; }
  h1,h2,h3,p,ul,ol,dl,dd,figure{ margin:0; padding:0; }
  ul,ol{ list-style:none; }
  .lp-wrap{ max-width:1200px; margin:0 auto; padding:0 24px; }
  .ku{ display:inline-block; }

  /* ── 上の帯 ── */
  /* 上の帯と足元の線は exam 側と同じ 2 色（ターコイズ 78%＋墨 22%・高さ 4px＝globals.css の m-stripe） */
  /* ヘッダー（会社名と「申し込む」）はスクロールしても画面上部に残す */
  .lp-hdr{ position:sticky; top:0; z-index:50; background:var(--card); }
  .lp-hdr-sakura{ z-index:0; }  .lp-hdr-in{ position:relative; z-index:1; }
  /* ホーム：ヘッダーとヒーローをまたぐ桜。クリックの邪魔はしない */
  .lp-sky{ position:absolute; left:0; right:0; top:0; z-index:60; pointer-events:none; overflow:hidden; }
  .lp-sky .lp-sakura{ z-index:auto; }
  .lp-sky-on .lp-hdr-sakura{ visibility:hidden; }
  .lp-stripe{ position:relative; height:4px; background:linear-gradient(90deg,var(--teal) 0 78%,var(--ink) 78% 100%); }
  header, main, footer{ position:relative; }

  /*BG-BEGIN 背景の斜めの帯（exam 側の src/components/ui/motion-bg.css の写し。LV の印と同じ 23°）。
    ⚠️ 傾き（skewX）を書いてよいのはこの塊の中だけ（運営 10-10「全部傾きを無くそう」「背景だけは斜めでいこう」）。
    ⚠️ 動き（keyframes）の両端にも同じ skewX(-23deg) を書く（書かないと、動くあいだ傾きが消える） */
  .lp-bg{ position:fixed; inset:0; z-index:0; overflow:hidden; pointer-events:none; contain:strict; }
  /* 帯は乗算（mix-blend-mode）をやめ、半透明で重ねる（毎フレームの合成が重かった。地が明るいので見た目はほぼ同じ） */
  .lp-bg i{ position:absolute; display:block; background:var(--aqua); transform:skewX(-23deg); opacity:.85; will-change:transform; }
  .lp-bg i.ln{ background:none; border:1.5px solid var(--teal-light); mix-blend-mode:normal; }
  .lp-bg .b1{ width:260px; height:520px; right:-40px; top:-220px; animation:lp-bg-1 30s ease-in-out infinite alternate; }
  .lp-bg .b2{ width:90px; height:420px; right:270px; top:-200px; background:var(--teal-light); opacity:.5; animation:lp-bg-2 24s ease-in-out infinite alternate; }
  .lp-bg .b3{ width:150px; height:560px; right:130px; top:-160px; animation:lp-bg-3 36s ease-in-out infinite alternate; }
  .lp-bg .b4{ width:200px; height:380px; left:-60px; bottom:-200px; background:var(--teal-light); opacity:.5; animation:lp-bg-4 28s ease-in-out infinite alternate; }
  .lp-bg .b5{ width:110px; height:400px; left:150px; bottom:-230px; animation:lp-bg-5 33s ease-in-out infinite alternate; }
  .lp-bg .b6{ width:140px; height:300px; right:9%; bottom:-200px; animation:lp-bg-6 26s ease-in-out infinite alternate; }
  @keyframes lp-bg-1{ from{ transform:translate(0,0) skewX(-23deg); } to{ transform:translate(-17px,40px) skewX(-23deg); } }
  @keyframes lp-bg-2{ from{ transform:translate(0,0) skewX(-23deg); } to{ transform:translate(15px,-36px) skewX(-23deg); } }
  @keyframes lp-bg-3{ from{ transform:translate(0,0) skewX(-23deg); } to{ transform:translate(-13px,30px) skewX(-23deg); } }
  @keyframes lp-bg-4{ from{ transform:translate(0,0) skewX(-23deg); } to{ transform:translate(17px,-40px) skewX(-23deg); } }
  @keyframes lp-bg-5{ from{ transform:translate(0,0) skewX(-23deg); } to{ transform:translate(-12px,28px) skewX(-23deg); } }
  @keyframes lp-bg-6{ from{ transform:translate(0,0) skewX(-23deg); } to{ transform:translate(14px,-34px) skewX(-23deg); } }
  @media (max-width:767px){
    .lp-bg .pc{ display:none; }
    .lp-bg .b1{ width:150px; height:340px; right:-60px; top:-170px; }
    .lp-bg .b3{ width:80px; height:340px; right:60px; top:-190px; }
    .lp-bg .b4{ width:130px; height:260px; left:-60px; bottom:-150px; }
    .lp-bg .b5{ width:70px; height:280px; left:70px; bottom:-190px; }
  }
  @media (prefers-reduced-motion:reduce){ .lp-bg i{ animation:none; } }
  /*BG-END*/
  .lp-hdr-in{ display:flex; align-items:center; justify-content:space-between; height:64px; }
  .lp-logo{ display:flex; align-items:center; gap:10px; font-family:var(--num); font-weight:700; font-size:16px; letter-spacing:.14em; color:var(--ink); }
  .lp-logo svg{ width:40px; height:40px; }
  /* ロゴのまわりに、桜の花びらを少しだけ舞わせる */
  .lp-logo{ position:relative; }
  .lp-petals{ position:absolute; inset:-14px -10px -14px -8px; pointer-events:none; overflow:visible; }
  .lp-petals i{ position:absolute; width:9px; height:7px; background:#ffbfcc; border-radius:70% 0 70% 0; opacity:0; transform:rotate(20deg);
    animation:lp-petal 6.5s ease-in-out infinite; }
  .lp-petals i:nth-child(1){ left:4%;  top:-6px; animation-delay:0s;   width:8px; height:6px; }
  .lp-petals i:nth-child(2){ left:18%; top:2px;  animation-delay:1.1s; background:#ffd0da; }
  .lp-petals i:nth-child(3){ left:30%; top:-10px; animation-delay:2.3s; width:7px; height:5px; }
  .lp-petals i:nth-child(4){ left:58%; top:-4px; animation-delay:3.4s; background:#ffd0da; }
  .lp-petals i:nth-child(5){ left:80%; top:0;    animation-delay:4.6s; width:8px; height:6px; }
  .lp-petals i:nth-child(6){ left:95%; top:-8px; animation-delay:5.5s; background:#ffb3c2; width:7px; height:5px; }
  @keyframes lp-petal{
    0%  { opacity:0; transform:translate(0,0) rotate(0deg); }
    12% { opacity:.9; }
    60% { opacity:.8; }
    100%{ opacity:0; transform:translate(14px,46px) rotate(260deg); }
  }
  @media (prefers-reduced-motion:reduce){ .lp-petals i{ animation:none; opacity:.7; } }

  .lp-skip{ position:absolute; left:16px; top:-64px; z-index:10; padding:10px 16px; border-radius:var(--r); background:var(--ink); color:#fff; font-size:16px; font-weight:700; }
  .lp-skip:focus{ top:12px; }
  .lp-test{ padding:12px 24px; background:var(--aqua); border-bottom:var(--line) solid var(--hair); color:var(--body); font-size:14px; line-height:1.7; text-align:center; }
  .lp-test b{ color:var(--ink); }

  /* ── ボタン（主ボタンも長方形＝運営 10-10「全部傾きを無くそう」） ── */
  .lp-go{ display:inline-flex; align-items:center; justify-content:center; height:56px; min-width:240px; padding:0 32px;
    border-radius:var(--r); background:var(--teal-deep); color:#fff; font-size:16px; font-weight:700;
    transition:background-color .15s ease, transform .15s ease; }
  .lp-go > span{ display:inline-block; }
  .lp-go:hover{ background:var(--ink); transform:translateY(-2px); }
  .lp-go--s{ height:44px; min-width:132px; padding:0 20px; font-size:14px; }
  .lp-go--m{ height:48px; width:184px; min-width:0; padding:0 12px; white-space:nowrap; }
  .lp-sub{ display:inline-flex; align-items:center; justify-content:center; height:56px; min-width:200px; padding:0 24px;
    border:var(--line) solid var(--hair); border-radius:var(--r); background:var(--card); color:var(--ink); font-size:16px; font-weight:400; }
  .lp-sub:hover{ border-color:var(--ink); }

  /* ── ヘッダー右側：「申し込む」の横のメニュー（お知らせ・出題予想・受験者用サイト） ──
     開閉はブラウザ標準の popover（外側クリックや Esc で閉じる）。メニューの位置は固定ヘッダーの直下に固定で置く。 */
  .lp-hdr-r{ display:flex; align-items:center; gap:10px; }
  .lp-menu-btn{ display:inline-flex; align-items:center; gap:8px; height:44px; padding:0 14px; border:var(--line) solid var(--hair); border-radius:var(--r);
    background:var(--card); color:var(--ink); font:inherit; font-size:14px; font-weight:700; line-height:1; cursor:pointer; }
  .lp-menu-btn:hover{ border-color:var(--ink); }
  .lp-menu-ic{ display:inline-flex; flex-direction:column; justify-content:center; gap:4px; width:18px; }
  .lp-menu-ic i{ display:block; height:2px; background:var(--ink); border-radius:1px; }
  .lp-menu{ position:fixed; inset:auto; top:76px; right:max(24px, calc((100vw - 1200px) / 2 + 24px)); z-index:60; margin:0; width:280px; padding:8px;
    border:var(--line) solid var(--hair); border-radius:var(--r); background:var(--card); }
  .lp-menu:is(:popover-open, .\:popover-open){ display:block; }
  .lp-menu a, .lp-menu .is-off{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 14px; border-radius:var(--r);
    color:var(--ink); font-size:15px; font-weight:700; line-height:1.5; }
  .lp-menu a:hover{ background:var(--aqua); }
  .lp-menu a[aria-current="page"]{ background:var(--canvas); }
  .lp-menu small{ font-size:12px; font-weight:400; color:var(--muted); white-space:nowrap; }
  .lp-menu a.lp-menu-sub{ justify-content:flex-start; gap:10px; padding:10px 14px 10px 26px; font-weight:400; }
  .lp-menu a.lp-menu-sub::before{ content:""; width:6px; height:6px; border-radius:50%; background:var(--teal); flex:none; }
  .lp-menu .is-off{ color:var(--muted); cursor:default; }
  @media (max-width:900px){
    .lp-hdr-r{ gap:8px; }
    .lp-menu-txt{ display:none; } .lp-menu-btn{ width:44px; padding:0; justify-content:center; }
    .lp-go--s{ min-width:112px; padding:0 16px; }
    .lp-menu{ left:16px; right:16px; width:auto; }
  }

  /* ── 出題予想ページ（yosou.html） ── */
  .lp-yosou{ padding:56px 0 96px; }
  .lp-yosou-in{ max-width:960px; }
  .lp-yosou-k{ font-size:14px; font-weight:700; color:var(--teal-deep); letter-spacing:.06em; }
  .lp-yosou-h1{ margin-top:6px; font-size:32px; font-weight:700; line-height:1.3; color:var(--ink); }
  .lp-yosou-lead{ margin-top:12px; font-size:16px; color:var(--body); }
  .lp-yosou-sec{ margin-top:40px; }
  .lp-yosou-h2{ display:inline-block; padding:4px 14px; border-radius:var(--r); background:var(--aqua); font-size:18px; font-weight:700; color:var(--teal-deep); }
  .lp-yosou-grid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(280px, 1fr)); gap:16px; margin-top:16px; }
  .lp-yosou-card{ padding:20px 22px; border:var(--line) solid var(--hair); border-radius:var(--r); background:var(--card); }
  .lp-yosou-t{ font-size:19px; font-weight:700; color:var(--ink); }
  .lp-yosou-card p{ margin-top:8px; font-size:15px; color:var(--body); }
  .lp-yosou-soon{ color:var(--muted); }
  .lp-crumb{ display:flex; align-items:center; gap:8px; margin-bottom:16px; font-size:14px; color:var(--muted); }
  .lp-crumb a{ color:var(--teal-deep); font-weight:700; }
  .lp-yosou-series{ display:grid; gap:16px; margin-top:32px; }
  .lp-yosou-series > li > .lp-yosou-card{ display:flex; flex-direction:column; gap:6px; }
  .lp-yosou-card--link:hover{ border-color:var(--ink); }
  .lp-yosou-card--off{ background:var(--canvas); }
  .lp-yosou-card--off .lp-yosou-t{ color:var(--muted); }
  .lp-yosou-t small{ font-size:14px; font-weight:400; color:var(--muted); margin-left:6px; }
  .lp-yosou-d{ font-size:15px; color:var(--body); }
  .lp-yosou-go{ margin-top:6px; font-size:15px; font-weight:700; color:var(--teal-deep); }
  .lp-yosou-note{ margin-top:40px; font-size:13px; color:var(--muted); }
  .lp-yosou-cta{ justify-content:center; margin-top:40px; }
  @media (max-width:900px){ .lp-yosou{ padding:40px 0 72px; } .lp-yosou-h1{ font-size:26px; } }

  /* ── お知らせページ（news.html） ── */
  .lp-news{ padding:56px 0 96px; }
  .lp-news-in{ max-width:860px; }
  .lp-news-h1{ font-size:32px; font-weight:700; line-height:1.3; color:var(--ink); }
  .lp-news-lead{ margin-top:12px; font-size:16px; color:var(--body); }
  .lp-news-list{ margin-top:40px; border-top:var(--line) solid var(--hair); }
  .lp-news-item{ display:grid; grid-template-columns:160px 1fr; gap:8px 24px; padding:24px 0; border-bottom:var(--line) solid var(--hair); }
  .lp-news-date{ font-family:var(--num); font-size:15px; color:var(--muted); padding-top:4px; }
  .lp-news-t{ font-size:19px; font-weight:700; line-height:1.5; color:var(--ink); }
  .lp-news-body p{ margin-top:8px; font-size:16px; }
  .lp-news-body a{ color:var(--teal-deep); font-weight:700; text-decoration:underline; }
  @media (max-width:900px){ .lp-news{ padding:40px 0 72px; } .lp-news-h1{ font-size:26px; } .lp-news-item{ grid-template-columns:1fr; gap:4px; } }

  /* ── ヒーロー（共通） ── */
  .lp-hero{ position:relative; overflow:hidden;
    background:linear-gradient(118deg,#ffffff 0%,#ddf2f4 34%,#a9e3e8 58%,#e8f6f8 78%,#f3f8fa 100%); }
  .lp-hero-bg{ position:absolute; inset:0; z-index:0; overflow:hidden; pointer-events:none; }
  .lp-neat{ position:absolute; inset:0; width:100%; height:100%; display:block; }
  /* 京都の写真を地に敷く：右側に写真、左は文字が読めるよう白〜水色で覆う。写真はゆっくり寄る */
  .lp-hero-slides{ position:absolute; inset:0; }
  .lp-hero-photo{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:68% 58%; opacity:0; transform:scale(1);
    transition:opacity 3.2s ease-in-out; }
  /* ゆっくり寄る動きは表示中の写真だけに付ける（隠れている写真まで動かさない） */
  .lp-hero-slides::after{ content:""; position:absolute; inset:0; z-index:1; pointer-events:none; opacity:.07; mix-blend-mode:overlay;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }
  .lp-hero-photo.is-on{ opacity:1; animation:lp-kenburns 28s ease-in-out infinite alternate; will-change:transform, opacity; }
  /* ツリーの写真：横長の枠では写真の高さの2割ほどしか見えないので、ツリー（写真の中央やや右）を中心に置き、寄るアニメーションは止めて全体が映るようにする */
  .lp-hero-photo--tree{ object-position:59% 50%; animation:none; transform:none; }
  @media (max-width:900px){ .lp-hero-photo--tree{ object-position:56% 50%; } }
  .lp-hero-veil{ position:absolute; inset:0; background:
      linear-gradient(98deg, rgba(243,248,250,.96) 0%, rgba(243,248,250,.90) 30%, rgba(243,248,250,.62) 48%, rgba(243,248,250,.18) 68%, rgba(243,248,250,0) 100%),
      linear-gradient(180deg, rgba(243,248,250,.15) 0%, rgba(243,248,250,0) 35%, rgba(243,248,250,.30) 100%); }
  @keyframes lp-kenburns{ from{ transform:scale(1) translate(0,0); } to{ transform:scale(1.045) translate(-.8%,-.5%); } }   /* 寄りすぎると写真の粗さが目立つので、控えめに */
  @media (prefers-reduced-motion:reduce){ .lp-hero-photo{ animation:none; transform:none; } }
  @media (max-width:900px){
    .lp-hero-photo{ object-position:70% 62%; }
    .lp-hero-veil{ background:
      linear-gradient(180deg, rgba(243,248,250,.94) 0%, rgba(243,248,250,.80) 48%, rgba(243,248,250,.30) 78%, rgba(243,248,250,.15) 100%); }
  }
  .lp-hero > .lp-wrap, .lp-hero > .lp-in{ position:relative; z-index:1; }
  .lp-tag{ display:inline-flex; align-items:center; height:32px; padding:0 14px; border-radius:var(--r);
    background:var(--aqua); color:var(--teal-deep); font-size:14px; font-weight:700; }
  /* ヒーローの「京大ロー模試」は大きめに */
  /* ヒーローの大見出し：年度 ＋ 京大ロー模試 */
  .lp-hero-title{ margin:0; display:flex; flex-direction:column; align-items:flex-start; gap:6px; line-height:1.15; color:var(--ink); }
  .lp-hero-year{ display:inline-flex; align-items:center; height:40px; padding:0 16px; border-radius:var(--r); background:var(--aqua); color:var(--teal-deep); font-size:20px; font-weight:700; letter-spacing:.06em; }
  .lp-hero-name{ font-size:clamp(44px,7vw,84px); font-weight:700; letter-spacing:.02em; }
  .lp-hero-title + .lp-lead{ margin-top:22px; font-size:22px; font-weight:700; color:#1a1d20; text-shadow:0 1px 2px rgba(255,255,255,.6), 0 0 14px rgba(255,255,255,.55); }
  .lp-hero .lp-lead[data-tone="white"], .lp-hero .lp-lead[data-tone="black"]{ color:#1a1d20; }
  .lp-hero .lp-lead[data-tone="white"] .lp-lead-by, .lp-hero .lp-lead[data-tone="black"] .lp-lead-by{ color:#1a1d20; }
  .lp-lead-by{ font-weight:700; color:var(--ink); }
  .lp-lead-key{ font-weight:700; color:inherit; }
  .lp-h1{ margin-top:16px; font-size:clamp(30px,4.1vw,48px); line-height:1.3; font-weight:700; color:var(--ink); }
  .lp-lead{ margin-top:20px; max-width:640px; font-size:18px; line-height:1.8; color:var(--body); }
  .lp-cta{ display:flex; flex-wrap:wrap; align-items:center; gap:16px 24px; margin-top:32px; }
  /* 地に合わせて字の色が変わる（ホームの NL3 の写し。黒と白の直書きはここだけ） */
  .lp-hero .lp-h1, .lp-hero .lp-lead{ transition:color .4s linear; }
  .lp-hero .lp-h1[data-tone="black"], .lp-hero .lp-lead[data-tone="black"]{ color:#000; }
  .lp-hero .lp-h1[data-tone="white"], .lp-hero .lp-lead[data-tone="white"]{ color:#fff; }
  /* 大見出しと「作成」の行も、地の色に合わせて白黒が切り替わる */
  .lp-hero .lp-hero-title[data-tone="black"] .lp-hero-name{ color:#000; }
  .lp-hero .lp-hero-title[data-tone="white"] .lp-hero-name{ color:#fff; }
  .lp-hero .lp-lead[data-tone="black"] .lp-lead-by{ color:#000; }
  .lp-hero .lp-lead[data-tone="white"] .lp-lead-by{ color:#fff; }
  .lp-hero .lp-hero-title .lp-hero-name, .lp-hero .lp-lead-by{ transition:color .4s linear; }
  .lp-hero .lp-cta .lp-go[data-tone="invert"]{ background:var(--card); color:var(--ink); }

  /* ── 段と見出し ── */
  .lp-sec{ padding:88px 0; }
  .lp-sec--card{ background:var(--card); border-block:var(--line) solid var(--hair); }
  .lp-h2{ font-size:32px; line-height:1.4; font-weight:700; color:var(--ink); }
  .lp-frame{ border:var(--line) solid var(--hair); border-radius:var(--r); background:var(--card); overflow:hidden; }
  .lp-frame img{ width:100%; }
  .lp-sample{ margin-top:16px; font-size:14px; color:var(--muted); }
  /* 画像の段と「想い」の段のあいだが空きすぎないように */
  .lp-sec--feats{ padding-bottom:32px; }
  .lp-sec--feats .lp-feat + .lp-feat{ margin-top:56px; }

  /* ── 受験料: 札 ── */
  .lp-plans{ display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-top:32px; }
  .lp-plan{ background:var(--card); border:var(--line) solid var(--hair); border-radius:var(--r); padding:32px; }
  .lp-plan h3{ display:flex; align-items:baseline; flex-wrap:wrap; gap:4px 16px; color:var(--ink); }
  .lp-plan-n{ font-size:32px; font-weight:700; line-height:1.3; }
  .lp-plan-course{ font-size:16px; font-weight:700; color:var(--teal-deep); }
  .lp-plan-sub{ margin-top:8px; font-size:16px; color:var(--body); }
  .lp-plan-rows{ margin-top:24px; border-top:var(--line) solid var(--hair); }
  .lp-plan-row{ display:grid; grid-template-columns:88px 1fr auto; align-items:center; gap:16px; padding:20px 8px 20px 0;
    border-bottom:var(--line) solid var(--hair); }
  .lp-way{ font-size:18px; font-weight:700; color:var(--ink); }
  .lp-price{ font-family:var(--num); font-size:40px; font-weight:700; line-height:1; color:var(--ink); letter-spacing:-.01em; white-space:nowrap; }
  .lp-price small{ margin-left:4px; font-size:16px; font-weight:700; }
  .lp-tax{ margin-top:16px; font-size:14px; color:var(--muted); }

  /* ── 日付の帯 ── */
  .lp-dates{ display:grid; grid-template-columns:repeat(3,1fr); margin-top:32px; background:var(--card);
    border:var(--line) solid var(--hair); border-radius:var(--r); }
  .lp-dates > div{ padding:24px 32px; }
  .lp-dates > div + div{ border-left:var(--line) solid var(--hair); }
  .lp-dates dt{ font-size:14px; font-weight:700; color:var(--teal-deep); }
  .lp-dates dd{ margin-top:4px; font-size:16px; color:var(--body); }
  .lp-dates dd b{ font-size:26px; line-height:1.4; color:var(--ink); }
  .lp-next{ margin-top:24px; font-size:16px; color:var(--body); }

  /* ── お申し込みのあと ── */
  .lp-steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:32px; counter-reset:st; }
  .lp-steps li{ counter-increment:st; padding:24px 0 0; border-top:var(--line) solid var(--teal-deep);
    font-size:20px; font-weight:700; line-height:1.5; color:var(--ink); }
  .lp-steps li::before{ content:counter(st); display:block; margin-bottom:8px; font-family:var(--num); font-size:40px; font-weight:700; line-height:1; color:var(--teal-deep); }

  /* ── 断り書き・足元 ── */
  .lp-deny{ max-width:900px; font-size:14px; line-height:1.9; color:var(--muted); }
  /* 足元は exam 側と同じ形: 2 色の線・「規約と表記」の札・小さい矢じりつきのリンク */
  .lp-ftr{ padding:0 0 120px; background:var(--canvas); }
  .lp-ftr .lp-wrap{ padding-top:32px; }
  .lp-legal{ display:flex; flex-wrap:wrap; align-items:center; gap:14px 40px; margin-top:28px; }
  .lp-legal-k{ padding:11px 20px; border-radius:var(--r); background:var(--muted); color:#fff; font-size:16px; font-weight:700; line-height:1.4; }
  .lp-legal-l{ display:flex; flex-wrap:wrap; gap:8px 22px; }
  .lp-legal-l a{ display:inline-flex; align-items:center; gap:6px; font-size:14px; font-weight:700; color:var(--body); }
  .lp-legal-l a::before{ content:""; width:7px; height:7px; background:var(--muted); clip-path:polygon(0 0,100% 50%,0 100%); }
  .lp-legal-l a:hover{ color:var(--ink); }
  .lp-copy{ margin-top:20px; font-size:14px; color:var(--muted); }

  /* ── スマホの下の帯 ── */
  .lp-bar{ display:none; }

  /* ════ ＬＰ１ 入口の姉妹 ════ */
  /* ヒーローの下の CBT は、画面を切らずに全体（1920×1080 の比のまま）を出す（運営 10-10「比率が違うから本番準拠型にする」） */
  [data-v="1"] .lp-hero{ padding:72px 0 72px; }
  [data-v="1"] .lp-hero-shot{ margin-top:56px; }
  .lp-feat{ display:grid; grid-template-columns:minmax(0,5fr) minmax(0,7fr); gap:64px; align-items:center; }
  .lp-feat + .lp-feat{ margin-top:96px; }
  .lp-feat:nth-child(even){ grid-template-columns:minmax(0,7fr) minmax(0,5fr); }
  .lp-feat:nth-child(even) > :first-child{ order:2; }
  .lp-feat-t{ padding-top:24px; border-top:var(--line) solid var(--teal-deep); }
  /* 添削と成績表は、紙 1 枚の絵を幅いっぱいに（1152px＝実物とほぼ同じ大きさ。列に入れると字が読めない）。言葉は絵の上に左寄せ */
  .lp-feat.lp-feat--wide, .lp-feat.lp-feat--wide:nth-child(even){ grid-template-columns:minmax(0,1fr); gap:32px; }
  .lp-feat.lp-feat--wide > :first-child{ order:0; }
  .lp-feat--wide .lp-feat-t{ max-width:560px; }
  /* 段の題名（受験画面・添削・順位・成績表）は大きく */
  .lp-feat-t .lp-tag{ height:48px; padding:0 22px; font-size:24px; letter-spacing:.04em; }
  .lp-feat-p{ margin:14px 0 0; font-size:17px; line-height:1.8; color:var(--body); text-wrap:pretty; }
  /* 説明文は枠いっぱいまで使い、途中で折れないようにする（狭い画面では文末の1〜2字だけ残る折れ方を避ける） */
  .lp-sec--feats .lp-feat--wide .lp-feat-t{ max-width:none; }
  .lp-feat-p + .lp-feat-p{ margin-top:8px; }
  .lp-feat-p--em{ font-weight:700; color:#000; font-size:21px; }
  .lp-feat-note{ display:inline-block; margin-top:2px; font-size:14px; color:var(--mute, #5C6771); }
  .lp-feat-h{ margin-top:16px; font-size:32px; line-height:1.5; font-weight:700; color:var(--ink); }
  /* 言葉は 1 行ずつの塊。行の中は、読点の後ろ（.ku の切れ目）でだけ折る */
  .lp-ln{ display:block; }
  .lp-say{ padding:104px 0; text-align:center; }
  .lp-say-t{ font-size:32px; line-height:1.6; font-weight:700; color:var(--ink); }
  .lp-state{ max-width:760px; margin-inline:auto; }
  /* 読む段は、PC では読点・句点の後ろでだけ折る（.ku）。狭い幅では文の途中でも折れるので、最後の行に 1〜2 字だけ残さない（text-wrap） */
  .lp-state p{ margin-top:20px; font-size:18px; line-height:2; color:var(--body); text-wrap:pretty; }
  .lp-state .lp-state-end{ margin-top:36px; font-size:24px; line-height:1.6; font-weight:700; color:var(--ink); }
  .lp-state .lp-state-sig{ margin-top:36px; font-size:16px; line-height:1.6; font-weight:700; color:var(--ink); }
  /* ---- 想いの段：全体の中で一番目立つ段にする ---- */
  .lp-sec--message{ position:relative; overflow:hidden; padding:112px 0; background:linear-gradient(180deg, var(--aqua) 0%, var(--card) 55%); border-block:var(--line) solid var(--teal-light); }
  .lp-sec--message > .lp-wrap{ position:relative; z-index:1; }
  .lp-sakura{ position:absolute; inset:0; width:100%; height:100%; pointer-events:none; z-index:2; }
  .lp-state--em{ max-width:760px; padding:0; background:transparent; border:0; box-shadow:none; }
  .lp-state--em .lp-h2{ font-size:38px; line-height:1.4; color:var(--ink); }
  .lp-state--em .lp-h2::after{ content:""; display:block; width:72px; height:4px; margin-top:18px; background:var(--teal-deep); border-radius:2px; }
  .lp-state--em p{ font-size:19px; line-height:2.1; margin-top:22px; }
  .lp-state--em p b{ font-weight:700; color:var(--ink); background:linear-gradient(transparent 62%, rgba(255,255,255,.9) 62%); }
  .lp-state--em .lp-state-end{ margin-top:44px; font-size:32px; line-height:1.5; color:var(--teal-deep); }
  .lp-state--em .lp-state-sig{ margin-top:28px; font-size:17px; padding-top:20px; border-top:var(--line) solid var(--hair); }
  /* ---- 受験料の段：目を引くように ---- */
  .lp-sec--fee{ padding:104px 0; background:linear-gradient(180deg, var(--card) 0%, var(--aqua) 100%); border-block:var(--line) solid var(--teal-light); }
  .lp-h2--fee{ font-size:40px; }
  .lp-h2--fee .lp-fee-tax{ display:inline-block; margin-left:14px; vertical-align:middle; font-size:15px; font-weight:700; color:var(--teal-deep); background:var(--aqua); border-radius:999px; padding:4px 12px; }
  .lp-h2--fee::after{ content:""; display:block; width:72px; height:4px; margin-top:16px; background:var(--teal-deep); border-radius:2px; }
  .lp-sec--fee .lp-plan{ border:2px solid var(--teal-deep); border-radius:16px; padding:36px; box-shadow:0 18px 48px rgba(12,125,134,.14); }
  .lp-sec--fee .lp-plan-n{ font-size:40px; }
  .lp-sec--fee .lp-plan-course{ font-size:17px; }
  .lp-sec--fee .lp-plan-rows{ border-top:2px solid var(--teal-light); }
  .lp-sec--fee .lp-way{ display:inline-flex; align-items:center; justify-content:center; min-width:72px; height:32px; padding:0 12px; border-radius:999px; background:var(--aqua); color:var(--teal-deep); font-size:15px; font-weight:700; }
  .lp-sec--fee .lp-price{ font-size:48px; color:var(--teal-deep); }
  .lp-sec--fee .lp-price small{ color:var(--ink); }
  .lp-sec--fee .lp-tax{ font-size:15px; font-weight:700; color:var(--body); }
  .lp-sec--fee .lp-dates{ background:var(--card); border:2px solid var(--teal-light); border-radius:12px; }
  .lp-sec--fee .lp-dates dd b{ color:var(--teal-deep); }
  /* ---- 受験料：信頼の1行・おすすめ・CBT/手書きの説明・残り日数 ---- */
  .lp-fee-by{ margin:14px 0 0; font-size:16px; font-weight:700; color:var(--ink); }
  .lp-plan-row--pick{ position:relative; background:var(--gold-soft); margin:0 -12px; padding-left:12px; padding-right:12px; border-radius:10px; }
  .lp-plan--pick{ border-color:var(--gold) !important; }
  .lp-plan-badge{ position:absolute; top:-14px; right:20px; display:inline-flex; align-items:center; height:28px; padding:0 14px; border-radius:999px; background:var(--gold); color:#fff; font-size:13px; font-weight:700; letter-spacing:.04em; }
  .lp-sec--fee .lp-plan{ position:relative; }
  .lp-fee-how{ margin:18px 0 0; font-size:14px; line-height:1.8; color:var(--body); }
  .lp-fee-how b{ color:var(--ink); }
  /* CBT と手書きは、1つずつ行を分ける。「手書き」の途中では折らない */
  .lp-fee-how-i{ display:block; } .lp-fee-how-i + .lp-fee-how-i{ margin-top:4px; }
  .lp-fee-how b{ white-space:nowrap; }
  .lp-days-left{ display:inline-flex; align-items:center; height:28px; margin-left:10px; padding:0 12px; border-radius:999px; background:var(--gold); color:#fff; font-size:14px; font-weight:700; vertical-align:middle; font-variant-numeric:tabular-nums; }
  .lp-days-left:empty{ display:none; }
  /* 申込のあと：各ステップの補足 */
  .lp-steps li small{ display:block; margin-top:6px; font-size:14px; font-weight:400; line-height:1.7; color:var(--body); }
  /* 見本画像は幅を抑えて、縦に長くなりすぎないように */
  .lp-sec--feats .lp-frame{ max-width:960px; }
  .lp-dates-note{ display:block; margin-top:6px; font-size:14px; font-weight:700; color:var(--body); }
  /* ⚠️ b は親より太く（bolder）なる＝親が 700 だと 900 と計算される。面は 400 と 700 だけなので 700 と書く */
  .lp-state-sig b{ font-family:var(--num); font-weight:700; letter-spacing:.14em; margin-right:12px; }
  .lp-close{ text-align:center; }
  .lp-close .lp-cta{ justify-content:center; }

  /* ════ 狭い画面 ════ */
  @media (max-width:1023px){
    .lp-feat, .lp-feat:nth-child(even), .lp-band-in, .lp-rows .lp-rowf{ grid-template-columns:minmax(0,1fr); gap:24px; }
    .lp-feat:nth-child(even) > :first-child{ order:0; }
  }
  @media (max-width:767px){
    .lp-wrap{ padding:0 16px; }
    .lp-sec{ padding:56px 0; } .lp-sec--feats{ padding-bottom:20px; } .lp-sec--feats .lp-feat + .lp-feat{ margin-top:36px; }
    .lp-h2, .lp-feat-h, .lp-say-t, .lp-rows .lp-rowf h3, .lp-bigcard h3{ font-size:26px; }
    .lp-say{ padding:64px 0; }
    /* 狭い幅では 1 つの節が 1 行より長い＝節ごとの塊をやめて、ふつうの文として流す */
    .lp-sec--message{ padding:64px 0; } .lp-state--em{ padding:0; } .lp-state--em .lp-h2{ font-size:28px; } .lp-state--em p{ font-size:16px; line-height:1.95; } .lp-state--em .lp-state-end{ font-size:24px; }
    .lp-state p{ font-size:16px; line-height:1.9; text-wrap:balance; } .lp-state p:not(.lp-state-end) .ku{ display:inline; } .lp-state .lp-state-end{ font-size:20px; }
    .lp-lead{ font-size:16px; } .lp-feat-p{ font-size:15px; } .lp-feat-t .lp-tag{ height:40px; padding:0 16px; font-size:19px; } .lp-hero-year{ height:34px; font-size:16px; } .lp-hero-name{ font-size:clamp(38px,11vw,52px); } .lp-hero-title + .lp-lead{ font-size:17px; }
    .lp-cta .lp-go, .lp-cta .lp-sub{ width:100%; min-width:0; }
    .lp-feat + .lp-feat{ margin-top:56px; }
    .lp-plans, .lp-big2, .lp-two, .lp-pair{ grid-template-columns:1fr; }
    .lp-plan{ padding:24px 20px; }
    .lp-plan-row{ grid-template-columns:56px 1fr auto; gap:8px; padding-right:0; }
    .lp-price{ font-size:30px; } .lp-plan-row--pick{ margin:0; padding-left:0; padding-right:0; background:none; } .lp-sec--fee{ padding:64px 0; } .lp-h2--fee{ font-size:30px; } .lp-sec--fee .lp-plan{ padding:24px 18px; border-radius:12px; } .lp-sec--fee .lp-plan-n{ font-size:32px; } .lp-sec--fee .lp-price{ font-size:34px; } .lp-sec--fee .lp-way{ min-width:56px; height:28px; padding:0 8px; font-size:13px; }
    .lp-go--m{ width:136px; padding:0 8px; font-size:14px; }
    .lp-sec--fee .lp-price{ font-size:30px; }
    .lp-dates, .lp-steps{ grid-template-columns:1fr; }
    .lp-dates > div + div{ border-left:0; border-top:var(--line) solid var(--hair); }
    .lp-dates > div{ padding:20px; }
    .lp-steps{ gap:0; } .lp-steps li{ padding:20px 0; }
    [data-v="1"] .lp-hero{ padding:48px 0; } [data-v="1"] .lp-hero-shot{ margin-top:40px; }
    .lp-bar{ display:flex; position:fixed; left:0; right:0; bottom:0; z-index:5; align-items:center; justify-content:space-between; gap:12px;
      padding:10px 16px; background:var(--card); border-top:var(--line) solid var(--hair); }
    .lp-bar p{ font-size:14px; line-height:1.5; color:var(--body); } .lp-bar b{ font-size:18px; color:var(--ink); }
  }
  @media (prefers-reduced-motion:reduce){ html{ scroll-behavior:auto; } .lp-go{ transition:none; } }

  /* ── ホーム（index.html） ── */
  .lp-home-en{ font-family:var(--num); font-size:13px; font-weight:700; letter-spacing:.16em; color:var(--teal-deep); text-transform:uppercase; }
  /* 冒頭の段にも、模試LPの「想い」と同じ桜を降らせる（canvas.lp-sakura・同じ設定） */
  .lp-home-hero{ position:relative; overflow:hidden; padding:96px 0 72px; }
  /* 3. 地の水色がゆっくり揺らぐ（オーロラ風。GPU で動く transform/opacity だけ） */
  .lp-home-hero::before, .lp-home-hero::after{ content:""; position:absolute; z-index:0; width:70vw; height:70vw; max-width:900px; max-height:900px; border-radius:50%; pointer-events:none; filter:blur(60px); opacity:.55; will-change:transform; }
  .lp-home-hero::before{ left:-18vw; top:-30vw; background:radial-gradient(circle, rgba(99,210,217,.55), rgba(99,210,217,0) 65%); animation:lp-aurora-a 22s ease-in-out infinite alternate; }
  .lp-home-hero::after{ right:-22vw; bottom:-34vw; background:radial-gradient(circle, rgba(12,125,134,.35), rgba(12,125,134,0) 65%); animation:lp-aurora-b 26s ease-in-out infinite alternate; }
  .lp-home-hero > .lp-wrap{ position:relative; z-index:1; } .lp-home-hero > canvas{ z-index:1; }
  @keyframes lp-aurora-a{ from{ transform:translate(0,0) scale(1); } to{ transform:translate(14vw,10vw) scale(1.15); } }
  @keyframes lp-aurora-b{ from{ transform:translate(0,0) scale(1.1); } to{ transform:translate(-12vw,-8vw) scale(.95); } }
  /* 1. 見出しの行ごとの登場：行をはみ出した部分は隠す */
  .lp-line-w{ display:block; overflow:hidden; } .lp-line{ display:block; }
  .lp-home-hero > .lp-wrap{ position:relative; z-index:1; }
  /* 冒頭の「LEGAL VIBES」の下に、オープニングと同じターコイズの線を引く（左から伸びる） */
  .lp-home-brand{ display:inline-block; padding-bottom:14px; position:relative; }
  .lp-home-brand::after{ content:""; position:absolute; left:0; bottom:0; width:min(240px, 52vw); height:3px; background:var(--teal);
    transform:scaleX(0); transform-origin:left center; animation:lp-brand-line .7s cubic-bezier(.22,.61,.36,1) .3s forwards; }
  @keyframes lp-brand-line{ to{ transform:scaleX(1); } }
  /* 冒頭の一言に続く文章（LPの「想い」と同じ組み。ホームでは左寄せ・強調の下線は水色） */
  .lp-home-msg{ margin:36px 0 0; font-weight:400; }
  /* スマホでも文節の途中で折り返さない（.ku の単位でだけ改行する） */
  .lp-home-msg p{ text-wrap:wrap; }
  .lp-home-msg p:not(.lp-state-end) .ku{ display:inline-block; }
  .lp-home-msg p:not(.lp-state-sig) b{ background:linear-gradient(transparent 62%, var(--teal-light) 62%); }
  .lp-home-msg .lp-state-sig b{ background:none; }
  @media (prefers-reduced-motion:reduce){ .lp-home-brand::after{ animation:none; transform:none; } }
  .lp-home-h1{ margin-top:16px; font-size:40px; font-weight:700; line-height:1.55; color:var(--ink); }
  .lp-home-lead{ margin-top:24px; font-size:17px; color:var(--body); }
  .lp-home-cta{ display:flex; flex-wrap:wrap; align-items:center; gap:12px 20px; margin-top:36px; }
  .lp-home-go, .lp-home-go span{ color:#fff; }
  .lp-home-cta-note{ font-size:14px; font-weight:700; color:var(--gold); letter-spacing:.04em; }
  /* 価格・日付・順位は等幅数字で桁をそろえる */
  .lp-price, .lp-dates, .lp-home-news, .lp-home-now-t, .lp-plan-n, .lp-hero-year, time{ font-variant-numeric:tabular-nums; }
  .lp-home-now{ padding:0 0 40px; }
  .lp-home-now-in{ display:flex; flex-wrap:wrap; align-items:center; gap:10px 18px; padding:18px 24px; border:var(--line) solid var(--teal-light); border-radius:var(--r); background:var(--aqua); }
  .lp-home-now-in:hover{ border-color:var(--teal-deep); }
  /* 4. 縁を細い光が一周する */
  @property --lp-ang{ syntax:"<angle>"; inherits:false; initial-value:0deg; }
  .lp-home-now-in{ position:relative; isolation:isolate; }
  .lp-home-now-in::before{ content:""; position:absolute; inset:-2px; z-index:-1; border-radius:calc(var(--r) + 2px); padding:2px;
    background:conic-gradient(from var(--lp-ang), transparent 0 70%, var(--gold) 86%, transparent 100%);
    -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite:xor; mask-composite:exclude;
    animation:lp-beam 5s linear infinite; }
  @keyframes lp-beam{ to{ --lp-ang:360deg; } }
  /* 「受付中」など、今動いてほしい所だけ金茶 */
  .lp-home-tag{ display:inline-flex; align-items:center; height:28px; padding:0 12px; border-radius:999px; background:var(--gold); color:#fff; font-size:13px; font-weight:700; }
  .lp-home-now-t{ font-size:18px; font-weight:700; color:var(--ink); }
  .lp-home-now-d{ flex:1 1 320px; font-size:14px; color:var(--body); }
  .lp-home-now-go{ font-size:15px; font-weight:700; color:var(--teal-deep); }
  .lp-home-sec{ padding:56px 0; border-top:var(--line) solid var(--hair); }
  .lp-home-sec--card{ background:var(--card); }
  .lp-home-head{ display:flex; align-items:baseline; gap:18px; }
  .lp-home-h2{ font-size:26px; font-weight:700; color:var(--ink); }
  .lp-home-h3{ font-size:19px; font-weight:700; color:var(--ink); }
  .lp-home-news{ margin-top:20px; border-top:var(--line) solid var(--hair); }
  .lp-home-news li{ border-bottom:var(--line) solid var(--hair); }
  .lp-home-news a{ display:flex; flex-wrap:wrap; gap:6px 24px; padding:16px 4px; color:var(--ink); }
  .lp-home-news a:hover{ background:var(--aqua); }
  .lp-home-news time{ font-family:var(--num); color:var(--muted); min-width:110px; }
  .lp-home-more{ margin-top:14px; text-align:right; font-weight:700; } .lp-home-more a{ color:var(--teal-deep); }
  .lp-home-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(280px, 1fr)); gap:16px; margin-top:24px; }
  .lp-home-card{ display:flex; flex-direction:column; gap:10px; padding:24px; border:var(--line) solid var(--hair); border-radius:var(--r); background:var(--card); color:var(--body); }
  .lp-home-card:hover{ border-color:var(--ink); }
  .lp-home-card p{ font-size:15px; }
  .lp-home-card .lp-home-h3{ margin-top:-4px; }
  .lp-home-go{ margin-top:auto; padding-top:6px; font-size:15px; font-weight:700; color:var(--teal-deep); }
  .lp-home-go small{ font-size:13px; font-weight:400; color:var(--muted); }
  /* サービスの3枚：写真を背景にした帯（スマホは縦に3段、パソコンは横に3列・画面幅いっぱい） */
  .lp-home-sec--card:has(.lp-home-panels){ padding-bottom:0; }
  .lp-home-panels{ display:grid; grid-template-columns:repeat(3, 1fr); margin-top:32px; }
  .lp-home-panel{ position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px; min-height:440px; padding:48px 24px;
    text-align:center; color:#fff; overflow:hidden; isolation:isolate; }
  /* 写真は彩度を落としてサイトの青緑に寄せ、3枚の色味を揃える。--pos＝見せる位置、--zoom＝寄り具合（1 が等倍） */
  .lp-home-panel::before{ content:""; position:absolute; inset:0; z-index:-2; background:var(--bg) var(--pos, center)/cover no-repeat;
    filter:grayscale(.9) contrast(1.05) brightness(.95); transform:scale(var(--zoom, 1)); transform-origin:var(--pos, center); transition:transform .6s ease; }
  /* 覆い：上は薄く・下は濃く（青緑がかった濃紺） */
  .lp-home-panel::after{ content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(180deg, rgba(10,62,72,.56) 0%, rgba(9,44,54,.74) 50%, rgba(7,30,38,.92) 100%); }
  .lp-home-panel-t, .lp-home-panel-d, .lp-home-panel-en{ text-shadow:0 1px 2px rgba(0,0,0,.45), 0 0 18px rgba(0,0,0,.35); }
  /* タップの反応：触っていることがはっきり分かるように */
  .lp-home-panel{ -webkit-tap-highlight-color:transparent; cursor:pointer; touch-action:manipulation; }
  .lp-home-panel::after{ transition:opacity .16s ease; }
  .lp-home-panel.is-pressed::after{ opacity:.5; }                         /* 覆いが薄くなり、写真がぐっと明るくなる */
  .lp-home-panel > span{ transition:transform .16s cubic-bezier(.22,.61,.36,1); }
  .lp-home-panel.is-pressed > span{ transform:scale(.94); }               /* 文字が沈む */
  /* 枠が内側からターコイズに光る */
  .lp-home-panel{ outline:0 solid var(--teal); outline-offset:0; transition:outline-width .16s ease, outline-offset .16s ease; }
  .lp-home-panel.is-pressed{ outline-width:6px; outline-offset:-6px; }
  .lp-home-panel-go{ position:relative; }
  .lp-home-panel-go::after{ content:""; position:absolute; left:0; right:0; bottom:-2px; height:2px; background:#fff; transform:scaleX(0); transform-origin:left center; transition:transform .22s ease; }
  .lp-home-panel.is-pressed .lp-home-panel-go::after{ transform:scaleX(1); }
  .lp-ripple{ position:absolute; z-index:0; border-radius:50%; pointer-events:none; background:radial-gradient(circle, rgba(255,255,255,.5) 0%, rgba(140,225,231,.28) 30%, rgba(255,255,255,0) 60%); transform:scale(0); animation:lp-ripple .6s ease-out forwards; }
  @keyframes lp-ripple{ to{ transform:scale(1); opacity:0; } }
  /* マウスを乗せたとき（パソコン）も、動いて分かるように */
  @media (hover:hover) and (pointer:fine){
    .lp-home-panel:hover::after{ opacity:.82; }
    .lp-home-panel:hover .lp-home-panel-t{ transform:translateY(-4px); }
    .lp-home-panel:hover .lp-home-panel-go::after{ transform:scaleX(1); }
    .lp-home-panel:hover{ outline-width:2px; outline-offset:-2px; }
    .lp-home-panel.is-pressed:hover{ outline-width:6px; outline-offset:-6px; }
  }
  /* 6. 見えている間、写真がゆっくり寄る */
  .lp-home-panel::before{ animation:lp-kb 24s ease-in-out infinite alternate; }
  @keyframes lp-kb{ from{ transform:scale(var(--zoom, 1)); } to{ transform:scale(calc(var(--zoom, 1) * 1.08)); } }
  /* 5. カーソルの位置がほんのり明るくなる（マウスのある端末だけ） */
  @media (hover:hover) and (pointer:fine){
    .lp-home-panel .lp-home-panel-spot{ content:""; }
    .lp-home-panel{ background-image:radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.14), transparent 60%); background-blend-mode:screen; }
  }
  /* 白っぽい画像（画面の写真）は、文字が読めるよう覆いを濃くする */
  .lp-home-panel--dark::after{ background:linear-gradient(180deg, rgba(10,62,72,.66) 0%, rgba(9,44,54,.78) 50%, rgba(7,30,38,.9) 100%); }
  .lp-home-panel-en{ font-family:var(--lora); font-size:18px; letter-spacing:.12em; }
  .lp-home-panel-t{ font-family:var(--serif); font-size:34px; font-weight:700; letter-spacing:.14em; line-height:1.3; }
  .lp-home-panel-d{ margin-top:10px; font-size:16px; line-height:1.9; letter-spacing:.08em; }
  .lp-home-panel-go{ margin-top:18px; padding-bottom:8px; font-size:15px; letter-spacing:.14em; border-bottom:2px solid var(--teal); }
  @media (max-width:900px){
    .lp-home-panels{ grid-template-columns:1fr; margin-top:24px; }
    .lp-home-panel{ min-height:340px; }
    .lp-home-panel-t{ font-size:30px; }
  }
  @media (prefers-reduced-motion:reduce){ .lp-home-panel::before{ transition:none; animation:none; } .lp-home-panel:hover::before{ transform:scale(var(--zoom, 1)); } .lp-home-hero::before, .lp-home-hero::after, .lp-home-now-in::before{ animation:none; } }
  .lp-home-about{ background:linear-gradient(180deg, var(--aqua) 0%, var(--canvas) 100%); }
  .lp-home-about-in{ max-width:960px; }
  .lp-home-omoi{ background:var(--card); }
  /* 想いの文章：文節（.ku）で折り返さず、ふつうの文として流す */
  .lp-home-omoi .ku, .lp-home-about .ku{ display:inline; }
  .lp-home-p{ margin-top:20px; font-size:17px; line-height:2; color:var(--body); }
  .lp-home-vals{ display:grid; grid-template-columns:repeat(auto-fit, minmax(260px, 1fr)); gap:16px; margin-top:28px; }
  .lp-home-val{ padding:22px 24px; border:var(--line) solid var(--hair); border-radius:var(--r); background:var(--card); }
  .lp-home-val p{ margin-top:8px; font-size:15px; }
  .lp-home-dl{ display:grid; gap:0; margin-top:20px; border-top:var(--line) solid var(--hair); }
  .lp-home-dl > div{ display:grid; grid-template-columns:160px 1fr; gap:8px 24px; padding:14px 4px; border-bottom:var(--line) solid var(--hair); }
  .lp-home-dl dt{ font-weight:700; color:var(--ink); } .lp-home-dl dd{ color:var(--body); } .lp-home-dl a{ color:var(--teal-deep); font-weight:700; }
  /* 私たちについて：運営メンバーの経歴（成績通知の画像＋よくある質問） */
  .lp-mem{ margin-top:48px; }
  .lp-mem-h{ margin:0 0 16px; font-size:19px; color:var(--ink); }
  .lp-mem-h ~ .lp-mem-h{ margin-top:44px; }
  /* 成績通知の下に、実績を1行で（スマホでも折り返さない。字の大きさを画面幅に合わせて縮める） */
  /* 成績表は縦1列・同じ幅に並べ、下の1行の字の大きさを全部そろえる（いちばん長い1行＝京大ローに合わせる） */
  .lp-mem-recs{ display:grid; grid-template-columns:minmax(0,1fr); gap:20px; max-width:760px; }
  /* 模試ページの「作成者の実績」：見出しの下の一文と、成績表を中央に */
  .lp-mem-lead{ margin:16px 0 28px; color:var(--body); }
  .lp-sec--authors .lp-mem-recs{ margin-inline:auto; }
  .lp-sec--authors .lp-mem-lead{ text-align:center; text-wrap:balance; }
  .lp-mem-rec--tall{ justify-items:center; }
  .lp-mem-rec--tall img{ max-width:440px; }
  .lp-mem-rec{ container-type:inline-size; display:grid; gap:18px; margin:0; padding:24px; border:var(--line) solid var(--hair); border-radius:var(--r); background:var(--card); }
  .lp-mem-rec img{ display:block; width:100%; height:auto; border:var(--line) solid var(--hair); border-radius:6px; background:#fff; }
  .lp-mem-big{ min-width:0; white-space:nowrap; font-family:var(--serif); font-weight:700; font-size:clamp(12px, 3.4vw, 24px); font-size:min(24px, calc(100cqi / 25)); line-height:1.5; letter-spacing:.04em; color:var(--ink); }
  .lp-mem-faq{ border-top:var(--line) solid var(--hair); }
  .lp-mem-faq details{ border-bottom:var(--line) solid var(--hair); }
  .lp-mem-faq summary{ display:flex; gap:14px; align-items:flex-start; padding:16px 4px; cursor:pointer; list-style:none; font-weight:700; color:var(--ink); }
  .lp-mem-faq summary::-webkit-details-marker{ display:none; }
  .lp-mem-faq summary::after{ content:"＋"; margin-left:auto; padding-left:12px; color:var(--muted); font-weight:400; transition:transform .2s ease; }
  .lp-mem-faq details[open] summary::after{ transform:rotate(45deg); }
  .lp-mem-faq summary:focus-visible{ outline:2px solid var(--teal-deep); outline-offset:2px; }
  .lp-mem-faq p{ display:flex; gap:14px; margin:0; padding:0 4px 18px; font-size:15px; line-height:1.9; color:var(--body); }
  .lp-mem-faq a{ color:var(--teal-deep); font-weight:700; }
  .lp-mem-q, .lp-mem-a{ flex:none; width:1.2em; font-family:var(--lora); font-weight:400; }
  .lp-mem-q{ color:var(--teal-deep); } .lp-mem-a{ color:var(--muted); }
  @media (prefers-reduced-motion:reduce){ .lp-mem-faq summary::after{ transition:none; } }
  @media (max-width:900px){
    .lp-mem{ margin-top:36px; }
    .lp-mem-rec{ gap:12px; padding:16px; }
  }
  @media (max-width:900px){
    .lp-home-hero{ padding:56px 0 40px; } .lp-home-h1{ font-size:28px; } .lp-home-lead{ font-size:16px; }
    .lp-home-sec{ padding:40px 0; } .lp-home-h2{ font-size:22px; } .lp-home-head{ flex-direction:column; gap:4px; }
    .lp-home-dl > div{ grid-template-columns:1fr; gap:2px; }
    /* お知らせは、スマホでは日付の下に見出し（横並びにしない） */
    .lp-home-news a{ flex-direction:column; gap:2px; padding:14px 4px; }
  }

  /* ── 書体（kikkawalaw.com を参考）：見出しは明朝・中太・字間ひろめ、ロゴと英字の小見出しは Lora。本文・ボタン・数字は従来どおり ──
     ※ 他の指定より後ろに置いて上書きする */
  /* 見出しは明朝・中太・字間ひろめ。ボタンや表の数字は従来どおりゴシック */
  h1, h2, h3{ font-family:var(--serif); font-weight:700; letter-spacing:.06em; }
  .lp-home-en, .lp-yosou-k, .lp-crumb{ font-family:var(--lora); }
  .lp-home-h1, .lp-hero-title, .lp-state--em .lp-h2{ font-weight:700; }
  .lp-menu a, .lp-menu .is-off{ font-family:var(--font); }
  @media (max-width:900px){ .lp-home-msg p{ text-wrap:wrap; } .lp-home-msg p:not(.lp-state-end) .ku{ display:inline-block; } }
  /* スマホのときだけ効く改行 */
  .lp-br-sp{ display:none; }
  @media (max-width:900px){ .lp-br-sp{ display:inline; } }
