@charset "UTF-8";
/* =========================================================
   セキュリティチョイス クラウド／新トップ  ep-topn.css  2026-10-18

   ■ 触る前に読む
   1. すべてのセレクタを .ep-topn（固定ページ本文の一番外側の div）の中に閉じ込めている
      → 他ページ・他プラグインに漏れない
   2. 変数名は --ept-* 。管理画面CSSの :root（--ep-red など）と名前がぶつからないようにしている
      （ep-tokens.css の DS4 と同じ考え方）
   3. 旧トップの ep-top-b.css は、本文の一番外側の class が ep-top-b でなくなるため
      自動で読み込まれなくなる（ep-top-b-loader.php がクラスを見て判定している）
   4. ep-refresh.css はトップに当たると新デザインを壊すので、
      ep-refresh-loader.php からトップの条件を外している（同梱の差し替え版）
   ========================================================= */

/* SWELL の外側コンテナの幅制限を、新トップのときだけ解除する
   （案Bの「全幅修正」と同じやり方。:has() 対応ブラウザ向け） */
#body_wrap.home.page-template-tpl-ep-top-php #content.l-content:has(> #main_content > .ep-topn){
  width:100%;max-width:none;margin:0;padding:0;display:block;
}
#body_wrap.home.page-template-tpl-ep-top-php #content.l-content:has(> #main_content > .ep-topn) > #main_content{
  width:100%;max-width:none;margin:0;padding:0;float:none;
}

/* =========================================================
   セキュリティチョイス クラウド／新トップ（2026-10-18 案）
   ローカル確認用。クラス接頭辞は既存サイトに合わせて ep- 系。
   （素材同梱の design-parts.css は sc- 系だが、sc- は有形版の
     名前空間なので混ぜない。memory.md 注意点2）
   ========================================================= */

.ep-topn{
  --ept-red:#df171b;
  --ept-red-dark:#b91216;
  --ept-navy:#123047;
  --ept-ink:#0c1727;
  --ept-ink-sub:#4a5b6d;
  --ept-line:#dde5ec;
  --ept-blue:#0877df;
  --ept-orange:#ff7b21;
  --ept-green:#10aa55;
  --ept-surface:#f3f7fa;
  --ept-radius:12px;
  --ept-radius-lg:16px;
  --ept-font:"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;
  --ept-wrap:1120px;
  --ept-gutter:20px;
}

.ep-topn *, .ep-topn *::before, .ep-topn *::after{box-sizing:border-box}
.ep-topn{-webkit-text-size-adjust:100%}
.ep-topn{
  margin:0;font-family:var(--ept-font);color:var(--ept-ink);
  background:#fff;line-height:1.8;font-size:16px;
  font-feature-settings:"palt";
}
.ep-topn img{max-width:100%;height:auto;display:block}
.ep-topn a{color:var(--ept-blue)}

.ep-topn .ep-wrap{width:min(100% - var(--ept-gutter)*2,var(--ept-wrap));margin-inline:auto}

/* ---------- 共通ボタン ---------- */
.ep-topn .ep-btn{
  display:inline-flex;align-items:center;justify-content:space-between;gap:14px;
  border-radius:999px;padding:14px 22px;font-weight:700;font-size:15px;
  text-decoration:none;border:1.5px solid transparent;cursor:pointer;
  transition:transform .15s ease,box-shadow .15s ease,background-color .15s ease;
  line-height:1.4;
}
.ep-topn .ep-btn::after{content:"→";font-weight:700}
.ep-topn .ep-btn:hover{transform:translateY(-1px)}
.ep-topn .ep-btn--red{background:var(--ept-red);color:#fff;box-shadow:0 4px 14px rgba(223,23,27,.25)}
.ep-topn .ep-btn--red:hover{background:var(--ept-red-dark)}
.ep-topn .ep-btn--line{background:#fff;color:var(--ept-ink);border-color:#9fb0bf}
.ep-topn .ep-btn--line:hover{border-color:var(--ept-ink);background:#fafcfe}
.ep-topn .ep-btn--navy{background:var(--ept-navy);color:#fff}
.ep-topn .ep-btn--ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.7)}
.ep-topn .ep-btn--ghost:hover{background:rgba(255,255,255,.1)}
.ep-topn .ep-btn--sm{padding:10px 18px;font-size:14px;gap:10px}
.ep-topn .ep-btn--blue{background:var(--ept-blue);color:#fff}
.ep-topn .ep-btn--orange{background:var(--ept-orange);color:#fff}
.ep-topn .ep-btn--green{background:var(--ept-green);color:#fff}

/* ---------- 見出し ---------- */
.ep-topn .ep-sectionTitle{
  font-size:clamp(24px,3.2vw,32px);font-weight:800;margin:0;letter-spacing:.02em;
  line-height:1.35;
}
.ep-topn .ep-sectionTitle::after{
  content:"";display:block;width:34px;height:4px;margin-top:10px;
  background:var(--ept-red);border-radius:2px;
}
.ep-topn .ep-sectionHead{
  display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px 28px;margin-bottom:28px;
}
.ep-topn .ep-sectionHead__lead{margin:0;font-size:15px;color:var(--ept-ink-sub);flex:1 1 320px;line-height:1.9}
.ep-topn .ep-sectionHead__link{
  margin-left:auto;font-weight:700;font-size:14px;color:var(--ept-ink);
  text-decoration:none;border-bottom:2px solid var(--ept-red);padding-bottom:2px;white-space:nowrap;
}
.ep-topn .ep-sectionHead__link::after{content:" →"}
.ep-topn .ep-eyebrow{
  font-size:12px;font-weight:700;letter-spacing:.18em;color:var(--ept-red);
  margin:0 0 4px;text-transform:uppercase;
}

/* =========================================================
   ① FV
   ========================================================= */
.ep-topn .ep-fv{
  position:relative;overflow:hidden;
  background:radial-gradient(ellipse at 78% 45%,#e9f5ff 0,rgba(233,245,255,0) 62%),#fff;
  padding:44px 0 36px;
}
.ep-topn .ep-fv__inner{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.04fr);gap:28px;align-items:center}
.ep-topn .ep-fv__label{
  display:inline-block;font-size:13px;font-weight:700;color:var(--ept-ink-sub);
  margin:0 0 14px;padding-left:16px;position:relative;
}
.ep-topn .ep-fv__label::before{
  content:"";position:absolute;left:0;top:50%;width:9px;height:19px;
  background:var(--ept-red);transform:translateY(-50%) skewX(-18deg);
}
.ep-topn .ep-fv__title{
  font-size:clamp(30px,4.6vw,50px);font-weight:900;line-height:1.26;
  margin:0 0 18px;letter-spacing:.01em;
}
.ep-topn .ep-fv__em{
  color:var(--ept-red);
  display:inline-block;
}
.ep-topn .ep-fv__lead{margin:0 0 24px;font-size:15px;line-height:2;color:var(--ept-ink-sub);max-width:34em}
.ep-topn .ep-fv__btns{display:flex;flex-wrap:wrap;gap:14px}
.ep-topn .ep-fv__visual{position:relative}
.ep-topn .ep-fv__visual img{width:100%}

/* ② 数字バー */
.ep-topn .ep-stats{background:var(--ept-navy);color:#fff}
.ep-topn .ep-stats__inner{
  display:flex;flex-wrap:wrap;align-items:center;gap:10px 28px;padding:14px 0;
}
.ep-topn .ep-hero__stats{
  display:flex;flex-wrap:wrap;gap:10px 14px;list-style:none;margin:0;padding:0;
}
.ep-topn .ep-hero__stats li{
  font-size:14px;font-weight:700;background:rgba(255,255,255,.1);
  border-radius:6px;padding:6px 14px;letter-spacing:.02em;
}
.ep-topn .ep-stats__note{
  margin:0 0 0 auto;font-size:11px;line-height:1.6;color:rgba(255,255,255,.72);text-align:right;
}

/* =========================================================
   ③ 3つの対策から探す
   ========================================================= */
.ep-topn .ep-section{padding:56px 0}
.ep-topn .ep-section--gray{background:var(--ept-surface)}

.ep-topn .ep-steps{display:grid;grid-template-columns:1fr 1fr;gap:20px}

.ep-topn .ep-step{
  position:relative;overflow:hidden;border-radius:var(--ept-radius-lg);
  padding:30px 30px 28px;display:grid;gap:0 20px;
}
.ep-topn .ep-step--epp{
  background:linear-gradient(130deg,#e8f5ff,#e1f2ff);grid-row:span 2;
  grid-template-columns:minmax(0,42%) minmax(0,58%);
  grid-template-rows:auto auto auto 1fr;
  grid-template-areas:
    "num  img"
    "head img"
    "desc desc"
    "btns btns";
}
.ep-topn .ep-step--edr{background:linear-gradient(130deg,#fff5e9,#fff0e6)}
.ep-topn .ep-step--mdr{background:linear-gradient(130deg,#edfff4,#e7fcef)}
.ep-topn .ep-step--edr, .ep-topn .ep-step--mdr{
  grid-template-columns:minmax(0,auto) minmax(0,1fr) minmax(0,30%);
  grid-template-rows:auto 1fr auto;
  grid-template-areas:
    "num  head img"
    "desc desc img"
    "btns btns btns";
}

/* 番号 */
.ep-topn .ep-step__num{
  grid-area:num;margin:0;line-height:.86;letter-spacing:-.02em;
  font-weight:900;color:transparent;-webkit-text-stroke:2px var(--ept-blue);
}
.ep-topn .ep-step--epp .ep-step__num{font-size:clamp(76px,8vw,116px)}
.ep-topn .ep-step--edr .ep-step__num, .ep-topn .ep-step--mdr .ep-step__num{
  font-size:clamp(58px,5.8vw,88px);-webkit-text-stroke-width:2px;padding-right:12px;
}
.ep-topn .ep-step--edr .ep-step__num{-webkit-text-stroke-color:var(--ept-orange)}
.ep-topn .ep-step--mdr .ep-step__num{-webkit-text-stroke-color:var(--ept-green)}

/* 見出し */
.ep-topn .ep-step__head{grid-area:head;align-self:end;min-width:0}
.ep-topn .ep-step--epp .ep-step__head{margin-top:14px}
.ep-topn .ep-step__stepLabel{font-size:13px;font-weight:800;letter-spacing:.12em;color:var(--ept-blue);margin:0 0 2px}
.ep-topn .ep-step--edr .ep-step__stepLabel{color:var(--ept-orange)}
.ep-topn .ep-step--mdr .ep-step__stepLabel{color:var(--ept-green)}
.ep-topn .ep-step__name{font-size:clamp(26px,3vw,38px);font-weight:900;margin:0;line-height:1.15;letter-spacing:.01em}
.ep-topn .ep-step__ja{font-size:clamp(17px,1.8vw,22px);font-weight:900;margin:2px 0 0;line-height:1.35}

/* 説明 */
.ep-topn .ep-step__desc{
  grid-area:desc;align-self:start;margin:16px 0 0;
  font-size:14.5px;line-height:1.95;color:var(--ept-ink-sub);
}
.ep-topn .ep-step--epp .ep-step__desc{max-width:21em;margin-top:18px}
.ep-topn .ep-step--edr .ep-step__desc, .ep-topn .ep-step--mdr .ep-step__desc{max-width:24em;margin-top:12px}

/* ボタン（モデル案に合わせて大きめ） */
.ep-topn .ep-step__btns{grid-area:btns;display:flex;flex-wrap:wrap;gap:14px;margin-top:26px;align-self:end}
/* 余った縦は「説明→ボタン」と「ボタン→下端」に半分ずつ配る（モデル案と同じ間の取り方） */
.ep-topn .ep-step--epp .ep-step__btns{align-self:center;margin-top:0}
.ep-topn .ep-step__btns .ep-btn{flex:1 1 180px;max-width:260px;padding:15px 24px;font-size:15px}
.ep-topn .ep-step--edr .ep-step__btns, .ep-topn .ep-step--mdr .ep-step__btns{margin-top:20px}
.ep-topn .ep-step--edr .ep-step__btns .ep-btn, .ep-topn .ep-step--mdr .ep-step__btns .ep-btn{
  flex:0 1 215px;padding:13px 22px;font-size:14.5px;
}

/* イラスト（枠を取って置くので、文字と重ならない） */
.ep-topn .ep-step__img{
  grid-area:img;align-self:center;justify-self:end;
  width:100%;max-width:100%;pointer-events:none;
}
.ep-topn .ep-step--epp .ep-step__img{
  margin:-22px -26px 0 0;max-width:none;align-self:start;width:calc(100% + 48px);
}
.ep-topn .ep-step--edr .ep-step__img, .ep-topn .ep-step--mdr .ep-step__img{margin:-8px -20px 0 0;max-width:250px}

/* =========================================================
   ④ お困りごとから探す
   ========================================================= */
.ep-topn .ep-troubles{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.ep-topn .ep-trouble{
  position:relative;background:#fff;border:1px solid var(--ept-line);
  border-radius:var(--ept-radius);padding:22px 22px 54px;
  display:flex;gap:16px;align-items:flex-start;text-decoration:none;color:inherit;
  transition:box-shadow .15s ease,transform .15s ease;
}
.ep-topn .ep-trouble:hover{box-shadow:0 8px 24px rgba(18,48,71,.1);transform:translateY(-2px)}
.ep-topn .ep-trouble__icon{width:74px;flex:none}
.ep-topn .ep-trouble__title{font-size:16px;font-weight:800;margin:0 0 6px;line-height:1.5}
.ep-topn .ep-trouble__desc{margin:0;font-size:13px;line-height:1.8;color:var(--ept-ink-sub)}
.ep-topn .ep-trouble__arrow{
  position:absolute;right:18px;bottom:16px;width:30px;height:30px;border-radius:50%;
  background:var(--ept-red);color:#fff;display:grid;place-items:center;font-size:14px;font-weight:700;
}

/* =========================================================
   ⑤ 製品を比べる
   ========================================================= */
.ep-topn .ep-grid{display:grid;gap:18px}
.ep-topn .ep-grid--3{grid-template-columns:repeat(3,1fr)}

.ep-topn .ep-card{
  background:#fff;border:1px solid var(--ept-line);border-radius:var(--ept-radius);
  padding:16px;display:flex;flex-direction:column;position:relative;
}
/* ▼ カードのどこを押しても製品ページへ飛ぶようにする。
   本番の本文からは ep-ds を外したので、ep-components.css の
   「.ep-ds .ep-card__name a::after{inset:0}」が当たらなくなる。その代替。
   テンプレートが出す「詳しく見る」は <span>（リンクではない）ので、
   これが無いと製品名の文字しか押せなくなる。 */
.ep-topn .ep-card__name a::after{content:"";position:absolute;inset:0;z-index:1}
.ep-topn .ep-card__head{min-width:0}
/* ▼ 製品・記事のアイキャッチは PC・スマホとも 1200×630 の比率で出す（2026-10-18）
   元画像が 1200×630 なので、この枠なら余白も切れも出ない。
   製品は object-fit:contain（比率の違う画像が来ても欠けない）、
   記事は object-fit:cover（枠を必ず埋める）。どちらにするかは1語で変えられる。 */
.ep-topn .ep-card__thumb{
  background:#eef3f7;border-radius:8px;overflow:hidden;margin-bottom:14px;
  aspect-ratio:1200/630;display:grid;place-items:center;flex:none;
}
.ep-topn .ep-card__thumb img{width:100%;height:100%;object-fit:contain}
.ep-topn .ep-card__noimg{font-size:12px;color:#8b9cad;padding:10px;text-align:center}
.ep-topn .ep-badges{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}
.ep-topn .ep-badge{
  font-size:12px;font-weight:800;color:#fff;border-radius:999px;padding:3px 14px;letter-spacing:.04em;
}
.ep-topn .ep-badge--epp{background:var(--ept-blue)}
.ep-topn .ep-badge--edr{background:var(--ept-orange)}
.ep-topn .ep-badge--mdr{background:var(--ept-green)}
.ep-topn .ep-card__name{font-size:17px;font-weight:800;margin:0 0 2px;line-height:1.45}
.ep-topn .ep-card__name a{color:inherit;text-decoration:none}
.ep-topn .ep-card__name a:hover{color:var(--ept-blue)}
.ep-topn .ep-card__vendor{margin:0 0 10px;font-size:12.5px;color:var(--ept-ink-sub)}
.ep-topn .ep-card__price{margin:0 0 10px;font-size:15px;font-weight:800;color:var(--ept-red);line-height:1.5}
.ep-topn .ep-card__fit{margin:0 0 16px;font-size:13px;line-height:1.85;color:var(--ept-ink-sub)}
/* 説明文の長さが違ってもボタンの高さが揃うように、本文を縦に伸ばす */
.ep-topn .ep-card__body{display:flex;flex-direction:column;flex:1}
/* 足回りは tpl-ep-top.php の出力（ep-pill ＋ ep-card__more）をそのまま使う。
   WP 実装時にテンプレートを触らず、CSS だけでこの見た目にできる（memory.md 注意点3） */
.ep-topn .ep-card__foot{margin-top:auto;display:flex;flex-direction:column;align-items:stretch;gap:10px}
.ep-topn .ep-pill{
  display:inline-flex;align-items:center;gap:6px;align-self:flex-start;
  font-size:11.5px;font-weight:700;border-radius:999px;padding:4px 12px;line-height:1.6;
}
.ep-topn .ep-pill--ok{background:#e8f7ee;color:#0b7a3d}
.ep-topn .ep-pill--ok .icon-check::before{content:"✓";font-weight:900}
.ep-topn .ep-pill--warn{background:#fdecec;color:var(--ept-red)}
/* 「情シス不在でも運用可」が無い製品はテンプレートが空の span を出す。
   ボタンの高さを揃えるため、同じ高さを確保する */
.ep-topn .ep-card__foot > span:empty{min-height:25px;display:block}
.ep-topn .ep-card__more{
  pointer-events:none;display:flex;align-items:center;justify-content:space-between;gap:12px;
  border:1.5px solid #9fb0bf;border-radius:999px;padding:11px 20px;
  font-weight:700;font-size:14px;color:var(--ept-ink);text-decoration:none;
  transition:border-color .15s ease,background-color .15s ease;
}
.ep-topn .ep-card__more:hover{border-color:var(--ept-ink);background:#fafcfe}
.ep-topn .ep-card__more .icon-chevron-right::before{content:"→";font-weight:700}
.ep-topn .ep-products__more{display:flex;justify-content:center;margin-top:26px}
.ep-topn .ep-products__more .ep-btn{min-width:min(100%,420px);justify-content:center;gap:12px}

/* =========================================================
   ⑥ 新着記事
   ========================================================= */
.ep-topn .ep-mosaic{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.ep-topn .ep-post-card{
  position:relative;background:#fff;border:1px solid var(--ept-line);
  border-radius:var(--ept-radius);overflow:hidden;display:flex;flex-direction:column;
}
/* ▼ 記事カードも同じ理由で全面リンクにする */
.ep-topn .ep-post-card__title a::after{content:"";position:absolute;inset:0;z-index:1}
.ep-topn .ep-post-card__thumb{aspect-ratio:1200/630;background:#eef3f7;overflow:hidden;flex:none}
.ep-topn .ep-post-card__thumb img{width:100%;height:100%;object-fit:cover}
/* ▼ :not() を付けないと、アイキャッチの枠（.ep-post-card__thumb）にも
   padding と flex:1 が当たり、枠が潰れて余白が付く（2026-10-18 修正） */
.ep-topn .ep-post-card > div:not(.ep-post-card__thumb){padding:16px 18px 46px;display:flex;flex-direction:column;flex:1}
.ep-topn .ep-post-card__cat{
  margin:0 0 6px;font-size:11px;font-weight:800;color:var(--ept-blue);letter-spacing:.06em;
}
.ep-topn .ep-post-card__title{font-size:14.5px;font-weight:800;line-height:1.7;margin:0 0 10px}
.ep-topn .ep-post-card__title a{color:inherit;text-decoration:none}
.ep-topn .ep-post-card__title a:hover{color:var(--ept-blue)}
.ep-topn .ep-post-card__date{margin:auto 0 0;font-size:12px;color:var(--ept-ink-sub)}
/* 矢印はテンプレートが出さないので擬似要素で作る（WP 実装時もテンプレート変更が要らない） */
.ep-topn .ep-post-card::after{
  content:"→";position:absolute;right:16px;bottom:14px;pointer-events:none;width:28px;height:28px;border-radius:50%;
  background:var(--ept-red);color:#fff;display:grid;place-items:center;font-size:13px;font-weight:700;
  line-height:1;
}

/* =========================================================
   ⑦ 無料相談 CTA
   ========================================================= */
.ep-topn .ep-cta{
  position:relative;isolation:isolate;overflow:hidden;border-radius:var(--ept-radius-lg);
  background:var(--ept-navy);color:#fff;padding:34px 36px;
  display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:24px;align-items:center;
}
.ep-topn .ep-cta::before{
  content:"";position:absolute;z-index:-1;inset:0 0 0 auto;width:42%;
  background:var(--ept-red);clip-path:polygon(32% 0,100% 0,100% 100%,0 100%);
}
.ep-topn .ep-cta__label{
  display:inline-block;font-size:13px;font-weight:800;margin:0 0 12px;
  padding-left:14px;border-left:4px solid var(--ept-red);line-height:1.4;
}
.ep-topn .ep-cta__title{font-size:clamp(23px,3.2vw,34px);font-weight:900;line-height:1.4;margin:0 0 14px}
.ep-topn .ep-cta__lead{margin:0 0 20px;font-size:14px;line-height:1.95;color:rgba(255,255,255,.88)}
.ep-topn .ep-cta__btns{display:flex;flex-wrap:wrap;gap:14px;margin-bottom:14px}
.ep-topn .ep-cta__note{margin:0;font-size:12px;color:rgba(255,255,255,.72);line-height:1.7}
.ep-topn .ep-cta__visual{position:relative;z-index:1}

/* =========================================================
   ⑧ 運営について
   ========================================================= */
.ep-topn .ep-about{display:grid;grid-template-columns:150px minmax(0,1fr);gap:20px;align-items:start}
.ep-topn .ep-about__title{font-size:20px;font-weight:800;margin:0}
.ep-topn .ep-about__table{width:100%;border-collapse:collapse;font-size:13px;background:#fff}
.ep-topn .ep-about__table th, .ep-topn .ep-about__table td{
  border:1px solid var(--ept-line);padding:12px 16px;text-align:left;vertical-align:top;line-height:1.8;
}
.ep-topn .ep-about__table th{background:#f7fafc;font-weight:800;width:150px;white-space:nowrap}
.ep-topn .ep-about__table td:last-child{color:var(--ept-ink-sub)}
.ep-topn .ep-about__table a{color:var(--ept-blue);text-decoration:underline;margin-left:.4em;white-space:nowrap}
.ep-topn .ep-about__more{grid-column:2;margin:12px 0 0;font-size:13px}
.ep-topn .ep-about__more a{color:var(--ept-ink);font-weight:700;text-decoration:none;border-bottom:2px solid var(--ept-red);padding-bottom:2px}
.ep-topn .ep-about__more a::after{content:" →"}
.ep-topn .ep-stats__link{display:inline-block;margin-top:4px;color:#fff;text-decoration:underline;font-weight:700}

/* ⑨ UTM バナー */
.ep-topn .ep-utm{
  background:#e4f3ff;border-radius:var(--ept-radius);padding:16px 22px;
  display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-top:26px;
}
.ep-topn .ep-utm__icon{width:104px;flex:none}
.ep-topn .ep-utm__title{font-size:16px;font-weight:800;margin:0 0 2px}
.ep-topn .ep-utm__desc{margin:0;font-size:12.5px;color:var(--ept-ink-sub);line-height:1.8}
.ep-topn .ep-utm__body{flex:1 1 280px}
.ep-topn .ep-utm .ep-btn{margin-left:auto}

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width:1000px){
    .ep-topn .ep-fv__inner{grid-template-columns:1fr;gap:20px}
  .ep-topn .ep-fv__visual{order:-1}
  .ep-topn .ep-steps{grid-template-columns:1fr}
  .ep-topn .ep-step--epp{
    grid-row:auto;
    grid-template-columns:minmax(0,auto) minmax(0,1fr) minmax(0,34%);
    grid-template-rows:auto 1fr auto;
    grid-template-areas:
      "num  head img"
      "desc desc img"
      "btns btns btns";
  }
  .ep-topn .ep-step--epp .ep-step__head{margin-top:0}
  .ep-topn .ep-step--epp .ep-step__num{font-size:clamp(62px,6.4vw,96px);padding-right:18px}
  .ep-topn .ep-step--epp .ep-step__desc{max-width:24em;margin-top:12px}
  .ep-topn .ep-step--epp .ep-step__img{margin:-10px -22px 0 0;max-width:270px}
  .ep-topn .ep-step--epp .ep-step__btns{margin-top:20px}
  .ep-topn .ep-step--epp .ep-step__btns .ep-btn{flex:0 1 215px;padding:13px 22px;font-size:14.5px}
  .ep-topn .ep-troubles{grid-template-columns:1fr}
  .ep-topn .ep-grid--3, .ep-topn .ep-mosaic{grid-template-columns:1fr 1fr}
  .ep-topn .ep-cta{grid-template-columns:1fr}
  .ep-topn .ep-cta__visual{display:none}
  .ep-topn .ep-about{grid-template-columns:1fr}
  .ep-topn .ep-about__more{grid-column:1}
  }
@media (max-width:700px){
  .ep-topn{font-size:15px}
  .ep-topn .ep-section{padding:40px 0}
  .ep-topn .ep-fv{padding:28px 0 26px}
  .ep-topn .ep-fv__btns .ep-btn{flex:1 1 100%;justify-content:space-between}
  .ep-topn .ep-stats__inner{padding:12px 0}
  .ep-topn .ep-stats__note{margin:6px 0 0;text-align:left;flex:1 1 100%}
  /* ステップカード（スマホ）: 番号＋見出しを横並び、イラストは説明の下、ボタンは最後 */
  .ep-topn .ep-step, .ep-topn .ep-step--epp, .ep-topn .ep-step--edr, .ep-topn .ep-step--mdr{
    padding:22px 20px 24px;gap:0 14px;
    grid-template-columns:minmax(0,auto) minmax(0,1fr);
    grid-template-rows:auto auto auto auto;
    grid-template-areas:
      "num  head"
      "desc desc"
      "img  img"
      "btns btns";
  }
  .ep-topn .ep-step__num, .ep-topn .ep-step--epp .ep-step__num, .ep-topn .ep-step--edr .ep-step__num, .ep-topn .ep-step--mdr .ep-step__num{
    font-size:62px;-webkit-text-stroke-width:1.6px;padding-right:0;
  }
  .ep-topn .ep-step__head{align-self:center}
  .ep-topn .ep-step--epp .ep-step__head{margin-top:0}
  .ep-topn .ep-step__name{font-size:27px}
  .ep-topn .ep-step__ja{font-size:17px}
  .ep-topn .ep-step__desc, .ep-topn .ep-step--epp .ep-step__desc, .ep-topn .ep-step--edr .ep-step__desc, .ep-topn .ep-step--mdr .ep-step__desc{
    max-width:100%;margin:14px 0 0;font-size:14px;
  }
  .ep-topn .ep-step__img, .ep-topn .ep-step--epp .ep-step__img, .ep-topn .ep-step--edr .ep-step__img, .ep-topn .ep-step--mdr .ep-step__img{
    width:76%;max-width:260px;margin:8px auto 0;justify-self:center;
  }
  .ep-topn .ep-step__btns, .ep-topn .ep-step--epp .ep-step__btns, .ep-topn .ep-step--edr .ep-step__btns, .ep-topn .ep-step--mdr .ep-step__btns{
    margin-top:16px;gap:10px;
  }
  .ep-topn .ep-step__btns .ep-btn, .ep-topn .ep-step--epp .ep-step__btns .ep-btn, .ep-topn .ep-step--edr .ep-step__btns .ep-btn, .ep-topn .ep-step--mdr .ep-step__btns .ep-btn{
    flex:1 1 0;min-width:0;max-width:none;padding:12px 14px;font-size:14px;gap:8px;
  }
  .ep-topn .ep-grid--3, .ep-topn .ep-mosaic{grid-template-columns:1fr}
  .ep-topn .ep-trouble{padding:18px 18px 50px}
  .ep-topn .ep-cta{padding:26px 22px}
  .ep-topn .ep-cta__btns .ep-btn{flex:1 1 100%;justify-content:space-between}
  /* 運営について：スマホでは表を縦積みにする。
     3列のままだと真ん中の列が 75px まで潰れて1〜2文字ずつ折り返すため（2026-10-18） */
  .ep-topn .ep-about__table,
  .ep-topn .ep-about__table tbody,
  .ep-topn .ep-about__table tr,
  .ep-topn .ep-about__table th,
  .ep-topn .ep-about__table td{display:block;width:auto}
  .ep-topn .ep-about__table{border-collapse:separate}
  .ep-topn .ep-about__table tr{
    border:1px solid var(--ept-line);border-radius:8px;overflow:hidden;background:#fff;
  }
  .ep-topn .ep-about__table tr + tr{margin-top:12px}
  .ep-topn .ep-about__table th{
    border:0;border-bottom:1px solid var(--ept-line);
    padding:9px 14px;font-size:12px;white-space:normal;
  }
  .ep-topn .ep-about__table td{border:0;padding:12px 14px 0;font-size:13.5px}
  .ep-topn .ep-about__table td:last-child{padding:6px 14px 13px;font-size:12.5px}
  .ep-topn .ep-about__table a{margin-left:0;display:inline-block;margin-top:4px;white-space:normal}
    .ep-topn .ep-utm .ep-btn{margin-left:0}
  .ep-topn .ep-sectionHead__link{margin-left:0}
}

