/* =========================================================
   hlp.css  ― 車種別LP 共通スタイル
   ・色とフォントは .hlp の変数で管理
   ・車種ごとの色・フォントの違いは hlp-themes.css で上書き
   ・ここを直すと全車種に反映される
   ========================================================= */

/* =========================================================
   0. 変数（標準＝ハイエース）
   ========================================================= */
.hlp{
  /* ベース */
  --ink:#3A3834;          /* 文字色・暗い背景（選択/理由/動画/ライトボックス） */
  --ink-deep:#2B2A27;     /* さらに暗い背景（スタイル一覧） */
  --base:#ECEAE6;         /* ページ全体の背景 */
  --paper:#faf9f6;        /* カード背景 */
  --surface:#f1f0ec;      /* 画像・表見出しの下地 */
  --white:#fff;

  /* カーキ（ボタン・ヒーロー） */
  --khaki:#86724F;
  --khaki-light:#b3a591;  /* カラー一覧の背景 */
  --khaki-hover:#6F5E3F;

  /* オレンジ（アクセント） */
  --accent:#C4551B;         /* 線・フォーカス・ホバー・主ボタン */
  --accent-hover:#D4691F;   /* 主ボタンのホバー */
  --accent-text:#B84A12;    /* 明るい背景上の文字 */
  --accent-on-dark:#E8803F; /* 暗い背景上の文字 */

  /* グレー系 */
  --muted:#6B675F;
  --muted-light:#B9B5AC;
  --danger:#b3321a;

  /* 透過色 */
  --text-sub:rgba(0,0,0,.55);
  --text-body:rgba(0,0,0,.68);
  --line:rgba(0,0,0,.18);
  --line-soft:rgba(0,0,0,.12);
  --on-dark:rgba(255,255,255,.72);
  --line-dark:rgba(255,255,255,.2);

  /* フォント */
  --font-jp:"Noto Sans JP",sans-serif;
  --font-en:"niveau-grotesk",sans-serif;

  font-family:var(--font-jp);color:var(--ink);background:var(--base);line-height:1.6;-webkit-font-smoothing:antialiased;
  position:relative;z-index:10;
}
.hlp *,.hlp *::before,.hlp *::after{box-sizing:border-box}
.hlp h2,.hlp h3,.hlp p{margin:0;padding:0}
.hlp a{color:inherit;text-decoration:none}
/* サイト共通CSSのリンクホバー(透過0.85)をLP内だけ無効にする */
.hlp a:hover,.hlp a:hover *{opacity:1}
.hlp img{display:block;max-width:100%}
.hlp button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
.hlp svg{width:100%;height:100%}
.hlp .c{font-family:var(--font-en)}
.hlp a:focus-visible,.hlp button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.hlp a,.hlp button{position:relative;pointer-events:auto!important;cursor:pointer}
.hlp>svg:first-child{position:absolute!important;width:0!important;height:0!important;overflow:hidden!important;pointer-events:none!important}
.hlp p a,.hlp small a,.hlp dd a{display:inline;vertical-align:baseline}
.hlp-sm{display:none}

/* =========================================================
   1. 共通パーツ
   ========================================================= */

/* --- セクション余白（共通） --- */
.hlp .hlp-sel,.hlp .hlp-style,.hlp .hlp-why,.hlp .hlp-movie,.hlp .hlp-faq,.hlp .hlp-rank,.hlp .hf,
.hlp .hlp-user,.hlp .hlp-color{padding:80px 20px} 
.hlp .hlp-shell{max-width:1280px;margin:auto;padding:76px 20px}
.hlp{padding-top:80px} 
@media(min-width:640px){.hlp{padding-top:0} }

/* --- 暗いセクションの背景 --- */
.hlp .hlp-sel,.hlp .hlp-why,.hlp .hlp-movie{background:var(--ink);color:var(--white)}
.hlp .hlp-style{background:var(--ink-deep);color:var(--white)}
.hlp .hlp-faq,.hlp .hlp-user,.hlp .hf{background:var(--white)}

/* --- 見出し --- */
.hlp-sh{text-align:center}
.hlp-sh p{font-family:var(--font-en);font-size:12px;font-weight:800;letter-spacing:.22em;color:var(--muted)}
.hlp-sh h2{margin-top:9px;font-size:clamp(27px,3.2vw,42px);font-weight:900;line-height:1.4;letter-spacing:-.025em}
.hlp-sh>span{display:block;width:34px;height:3px;margin:18px auto 0;background:var(--accent)}
.hlp-sh--l{color:var(--white)}
.hlp-sh--l p{color:var(--on-dark)}
.hlp-sub{max-width:560px;margin:24px auto 0!important;text-align:center;font-size:13px;line-height:2;color:var(--text-sub)}
.hlp .hlp-sel .hlp-sub,.hlp .hlp-style .hlp-sub{color:var(--on-dark)}

/* --- CTAボタン（共通：カーキ） --- */
.hlp .hlp-style__cta,.hlp .hlp-rank__cta,.hlp .hlp-color__cta,.hlp .hlp-faq__cta,.hlp .hlp-why__btn,
.hlp .hlp-sel__cta,.hlp .hf__go{
  display:flex;width:100%;max-width:430px;align-items:center;justify-content:center;gap:24px;
  margin:48px auto 0;padding:20px 32px;
  background:var(--khaki);color:var(--white);
  font-size:14px;font-weight:900;letter-spacing:.08em;text-align:center;text-decoration:none;transition:.2s;
}
.hlp .hlp-style__cta:hover,.hlp .hlp-rank__cta:hover,.hlp .hlp-faq__cta:hover,.hlp .hlp-why__btn:hover{background:var(--khaki-hover)}
.hlp .hlp-style__cta i,.hlp .hlp-rank__cta i,.hlp .hlp-color__cta i,.hlp .hlp-faq__cta i,.hlp .hlp-why__btn i,.hlp .hlp-sel__cta i{display:block;width:20px;height:20px}

/* --- CTAボタン（オレンジ：選択・適合確認） --- */
.hlp .hlp-sel__cta,.hlp .hlp-color__cta,.hlp .hf__go{background:var(--accent)}
.hlp .hlp-sel__cta:hover,.hlp .hf__go:hover{background:var(--accent-hover)}

/* --- CTAボタン（個別の余白調整） --- */
.hlp .hlp-why__btn{margin-top:28px}
.hlp .hf__go{margin-top:8px}
.hlp .hf__go:disabled{opacity:.35;cursor:not-allowed}

/* --- 商品カード（お客様写真・ランキング共通） --- */
.hlp-pc__img{position:relative;aspect-ratio:1;overflow:hidden;background:var(--surface)}
.hlp-pc__img img{width:100%;height:100%;object-fit:cover;transition:transform .45s}
.hlp-pc:hover .hlp-pc__img img{transform:scale(1.035)}
.hlp-pc__no{position:absolute;left:0;top:0;display:grid;width:30px;height:30px;place-items:center;background:var(--ink);color:var(--white);font-family:var(--font-en);font-size:17px;font-weight:700}
.hlp-pc__nm{margin-top:16px;font-size:12px;font-weight:700;line-height:24px}
.hlp-pc__pr{margin-top:8px;font-family:var(--font-en);font-size:14px;font-weight:700}
.hlp-pc__pr small{margin-left:4px;font-family:var(--font-jp);font-size:10px;font-weight:400}

/* --- 画像カード（カラー・スタイル共通） --- */
.hlp-scroll{display:flex;gap:16px;margin-top:48px;padding-bottom:24px;overflow-x:auto;scroll-snap-type:x mandatory}
.hlp-card{position:relative;flex:0 0 50vw;height:420px;overflow:hidden;scroll-snap-align:start;color:var(--white)}
.hlp-card img{width:100%;height:100%;object-fit:cover;mix-blend-mode:luminosity;opacity:.88;transition:transform .6s,opacity .4s}
.hlp-card:hover img{transform:scale(1.04);opacity:1;mix-blend-mode:normal}
.hlp-card__ov{position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.9),rgba(0,0,0,.05) 50%,transparent)}
.hlp-card__no{position:absolute;right:20px;top:20px;font-family:var(--font-en);font-size:12px;font-weight:700;color:rgba(255,255,255,.6)}
.hlp-card__tx{position:absolute;left:0;right:0;bottom:0;padding:24px}
.hlp-card__tx h3{font-family:var(--font-en);font-size:30px;font-weight:900;letter-spacing:.06em}
.hlp-card__tx p{margin-top:8px;font-size:11px;line-height:24px;color:rgba(255,255,255,.65)}

/* =========================================================
   2. ヒーロー
   ========================================================= */
.hlp-hero{position:relative;overflow:hidden;background:#161616;color:var(--white)}
.hlp-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:60% center;filter:saturate(.72) contrast(1.05)}
.hlp-hero__ov{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.82),rgba(0,0,0,.3)),linear-gradient(0deg,rgba(0,0,0,.65),transparent 55%)}
.hlp-hero__grid{position:absolute;inset:0;opacity:.12;background-image:linear-gradient(rgba(255,255,255,.2) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.2) 1px,transparent 1px);background-size:90px 90px}
.hlp-hero__in{position:relative;z-index:1;max-width:1320px;min-height:670px;margin:auto;display:flex;align-items:flex-end;padding:96px 20px 64px}
.hlp-hero__box{max-width:700px}
.hlp-hero__tag{display:flex;align-items:center;gap:12px;margin-bottom:20px}
.hlp-hero__tag b{background:var(--khaki);padding:6px 12px;font-size:10px;font-weight:900;letter-spacing:.15em}
.hlp-hero__tag span{font-size:14px;font-weight:700;letter-spacing:.18em}
.hlp-hero h2{font-size:48px;font-weight:900;line-height:1.17;letter-spacing:-.045em}
.hlp-hero__lead{max-width:540px;margin-top:24px!important;font-size:14px;font-weight:500;line-height:2;letter-spacing:.06em;color:rgba(255,255,255,.75)}
.hlp-hero__btns{display:flex;flex-direction:column;gap:12px;margin-top:36px}
.hlp-hero__vert{display:none;position:absolute;right:28px;bottom:28px;font-size:9px;letter-spacing:.24em;color:rgba(255,255,255,.55);writing-mode:vertical-rl}
.hlp-btn{display:flex;width:100%;align-items:center;justify-content:space-between;padding:18px 22px;font-size:12px;font-weight:900;letter-spacing:.08em;transition:.2s}
.hlp-btn svg{width:19px;height:19px;flex:none}
.hlp-btn--p{background:var(--khaki);color:var(--white)}
.hlp-btn--p:hover{background:var(--khaki-hover)}
.hlp-btn--o{border:1px solid rgba(255,255,255,.55)}
.hlp-btn--o:hover{border-color:var(--white);background:rgba(255,255,255,.1)}

/* =========================================================
   3. 各セクション
   ========================================================= */

/* --- 車種セレクタ --- */
.hlp-sel__in{max-width:1000px;margin:auto}
.hlp-sel__box{max-width:620px;margin:48px auto 0}
.hlp-sel__label{margin-bottom:14px;font-size:13px;font-weight:700}
.hlp-sel__label span{margin-right:9px;font-family:var(--font-en);font-size:11px;color:var(--accent-on-dark)}
.hlp-tg{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line-dark)}
.hlp-tg small{display:block;margin-top:4px;font-family:var(--font-en);font-size:9px;letter-spacing:.15em}
.hlp-tg a{display:block;padding:0 8px 18px;border-right:1px solid var(--line-dark);border-bottom:1px solid var(--line-dark);color:rgba(255,255,255,.7);font-size:16px;font-weight:700;text-align:center;transition:.2s}
.hlp-tg a img{display:block;max-width:100%;margin:1rem auto;aspect-ratio:16/9;object-fit:cover;filter:brightness(.78);transition:.3s}
.hlp-tg a:hover img{filter:brightness(.78);opacity:1!important}
.hlp-tg a:last-child{border:0}
.hlp-tg a:hover,.hlp-tg a.on{color:var(--white);background:var(--khaki)}

/* --- カテゴリタイル --- */
.hlp-cat{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;max-width:1000px;margin:48px auto 0}
.hlp-tile{position:relative;display:block;aspect-ratio:.86;overflow:hidden;background:#ddd;color:var(--white)}
.hlp-tile img{width:100%;height:100%;object-fit:cover;transition:transform .55s ease}
.hlp-tile:hover img{transform:scale(1.045)}
.hlp-tile__ov{position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.85),rgba(0,0,0,.1) 50%,transparent)}
.hlp-tile__tx{position:absolute;left:0;right:0;bottom:0;padding:16px}
.hlp-tile__tx p{font-family:var(--font-en);font-size:10px;font-weight:700;letter-spacing:.18em;color:rgba(255,255,255,.55)}
.hlp-tile__tx p.hlp-tile__text{margin-top:8px;font-family:var(--font-jp);font-size:12px;font-weight:400;letter-spacing:.02em;line-height:1.7;color:var(--white)}
.hlp-tile__row{display:flex;align-items:center;justify-content:space-between;margin-top:4px}
.hlp-tile__row h3{font-size:14px;font-weight:700;color:var(--white)}
.hlp-tile__row i{display:block;width:20px;height:20px;transition:transform .2s}
.hlp-tile:hover .hlp-tile__row i{transform:translateX(4px)}

/* --- カラーバリエーション --- */
.hlp .hlp-color{background:var(--khaki-light);color:var(--ink-deep)}
.hlp .hlp-color .hlp-sh p{color:var(--ink-deep)}
.hlp .hlp-color .hlp-sub{color:rgba(0,0,0,.78)}
.hlp-color__in{max-width:1280px;margin:auto}
.hlp-color__a{padding:0 52px 26px 40px;font-size:14px;line-height:2;color:rgba(0,0,0,.82)}
.hlp .hlp-color__a a{color:var(--ink-deep);font-weight:700;text-decoration:underline;text-underline-offset:3px}
.hlp .hlp-color__a a:hover{color:var(--accent-text)}
.hlp-color__in .hlp-card img{mix-blend-mode:normal}

/* --- スタイル一覧 --- */
.hlp-style__in{max-width:1280px;margin:auto}

/* --- コーディネート --- */
.hlp-co{display:grid;margin-top:48px;overflow:hidden;background:#dedbd3}
.hlp-co__img{min-height:460px}
.hlp-co__img img{width:100%;height:100%;min-height:460px;object-fit:cover}
.hlp-co__tx{display:flex;align-items:center;padding:32px}
.hlp-co__tx>div>p:first-child{font-family:var(--font-en);font-size:12px;font-weight:700;letter-spacing:.2em;color:var(--accent-text)}
.hlp-co__tx h3{margin-top:16px;font-size:30px;font-weight:900;line-height:1.4}
.hlp-co__tx>div>p:nth-of-type(2){margin-top:28px;font-size:14px;line-height:32px;color:var(--text-sub)}
.hlp-link{display:inline-flex;align-items:center;gap:28px;margin-top:32px;padding-bottom:8px;border-bottom:1px solid #222;font-size:12px;font-weight:700}
.hlp-link i{display:block;width:18px;height:18px}

/* --- お客様写真 --- */
.hlp-user__in{max-width:1120px;margin:auto}
.hlp-user__grid{display:grid;grid-template-columns:repeat(2,1fr);gap:28px;margin-top:48px}
.hlp-user__grid h3{font-size:16px;margin:1rem 0}
h3.user_name{text-align:center}
.hlp-user__imgs{display:grid;grid-template-columns:1fr;gap:8px;margin-top:1rem}
.hlp-pc--case{display:block;max-width:960px;margin:48px auto 0}
@media(min-width:640px){.hlp-user__imgs{gap:20px;grid-template-columns:repeat(3,1fr)}}

/* --- ランキング --- */
.hlp-rank__in{max-width:1120px;margin:auto}
.hlp-rank__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin-top:48px}

/* --- 選ばれる理由 --- */
.hlp-why__in{max-width:1120px;margin:auto}
.hlp-why__grid{display:grid;grid-template-columns:1fr;gap:16px;margin-top:48px}
.hlp-why__item{overflow:hidden;border:1px solid var(--line-dark);background:rgba(255,255,255,.04)}
.hlp-why__img{position:relative;overflow:hidden;aspect-ratio:3/2;background:#2a2926}
.hlp-why__img img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s}
.hlp-why__item:hover .hlp-why__img img{transform:scale(1.04)}
.hlp-why__no{position:absolute;left:0;top:0;padding:6px 14px;background:var(--muted);font-family:var(--font-en);font-size:20px;font-weight:700;line-height:1.4;letter-spacing:.08em;color:var(--white)}
.hlp-why__body{padding:24px 24px 28px}
.hlp-why__t{font-size:19px;font-weight:900;line-height:1.5}
.hlp-why__d{margin-top:12px;font-size:13px;line-height:2;color:var(--on-dark)}
.hlp-why__d small{display:inline;font-size:11px;line-height:inherit;color:rgba(255,255,255,.65)}
.hlp .hlp-why__d a{display:inline!important;vertical-align:baseline;color:var(--white);text-decoration:underline;text-underline-offset:3px}
.hlp .hlp-why__d a:hover{color:var(--accent-on-dark)}
.hlp-why__d strong{color:var(--accent-on-dark)}
.hlp-why__sample{margin-top:48px;padding:40px 24px;border:1px solid rgba(255,255,255,.25);text-align:center}
.hlp-why__sample .c{font-size:12px;font-weight:800;letter-spacing:.22em;color:var(--muted-light)}
.hlp-why__sample h3{margin-top:9px;font-size:22px;font-weight:900;line-height:1.5}
.hlp-why__sample .hlp-why__d{max-width:560px;margin:14px auto 0}

/* --- 取り付け動画 --- */
.hlp-movie__in{max-width:800px;margin:auto}
.hlp-movie .youtube{position:relative;width:100%;aspect-ratio:16/9;margin-top:48px;background:#000}
.hlp-movie .youtube iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
@supports not (aspect-ratio:16/9){.hlp-movie .youtube{height:0;padding-top:56.25%}}

/* --- FAQ --- */
.hlp-faq__in{max-width:820px;margin:auto}
.hlp-faq__list{margin-top:48px;border-top:1px solid var(--line)}
.hlp-faq details{border-bottom:1px solid var(--line)}
.hlp-faq summary{position:relative;display:block;padding:22px 52px 22px 40px;cursor:pointer;list-style:none;font-size:15px;font-weight:700;line-height:1.7;transition:color .2s}
.hlp-faq summary::-webkit-details-marker{display:none}
.hlp-faq summary::marker{content:""}
.hlp-faq__q{position:absolute;left:4px;top:19px;font-family:var(--font-en);font-size:24px;font-weight:800;line-height:1.4;color:var(--accent-text)}
.hlp-faq summary::before,.hlp-faq summary::after{content:"";position:absolute;right:14px;top:50%;width:16px;height:2px;margin-top:-1px;background:var(--ink);transition:transform .25s,background .2s}
.hlp-faq summary::after{transform:rotate(90deg)}
.hlp-faq details[open] summary::after{transform:rotate(0)}
.hlp-faq summary:hover{color:var(--accent-text)}
.hlp-faq summary:hover::before,.hlp-faq summary:hover::after{background:var(--accent-text)}
.hlp-faq summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.hlp-faq__a{padding:0 52px 26px 40px;font-size:14px;line-height:2;color:var(--text-body)}
.hlp .hlp-faq__a a{color:var(--accent-text);text-decoration:underline}

/* =========================================================
   4. 適合確認ツール
   ========================================================= */
.hlp .hf__in{max-width:820px;margin:auto}
.hlp .hf__form{display:grid;gap:20px;margin-top:40px}
.hlp .hf__row label{display:block;margin-bottom:8px;font-size:13px;font-weight:700}
.hlp .hf__row label b{margin-right:10px;font-size:12px;letter-spacing:.15em;color:var(--accent-text)}
.hlp .hf__ym{display:grid;grid-template-columns:2fr 1fr;gap:12px}
.hlp .hf select{width:100%;min-height:52px;padding:0 14px;border:1px solid rgba(0,0,0,.3);border-radius:0;background:var(--white);color:var(--ink);font:inherit;font-size:14px}
.hlp .hf select:disabled{background:var(--surface);color:rgba(0,0,0,.4)}
.hlp .hf select:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.hlp .hf__status{margin-top:20px;text-align:center;font-size:13px;color:rgba(0,0,0,.6)}
.hlp .hf__out{display:grid;gap:16px;margin-top:32px}
.hlp .hf__card{display:grid;grid-template-columns:1fr;border:1px solid var(--line);background:var(--paper)}
.hlp .hf__img img{width:100%;aspect-ratio:4/3;object-fit:cover}
.hlp .hf__body{padding:20px}
.hlp .hf__no{font-size:20px;font-weight:800;letter-spacing:.06em;color:var(--accent-text)}
.hlp .hf__body dl{display:grid;grid-template-columns:7em 1fr;gap:8px 12px;margin:12px 0 0;font-size:13px;line-height:1.8}
.hlp .hf__body dt{font-weight:700}
.hlp .hf__body dd{margin:0;white-space:pre-line;word-break:break-word}
.hlp .hf__body dd.hf__ng{color:var(--danger)}
.hlp .hf__link{display:inline-block;margin-top:16px;padding:14px 22px;background:var(--ink);color:var(--white);font-size:12px;font-weight:900;letter-spacing:.06em;transition:.2s}
.hlp .hf__link:hover{background:var(--accent)}
.hlp .hf__note{margin-top:28px;font-size:11px;line-height:1.9;color:var(--text-sub)}
.hlp .hf__note a{text-decoration:underline}

/* --- 適合ガイド（アコーディオン） --- */
.hlp .hf__guide{margin-top:0;border-top:1px solid var(--line);border-bottom:0}
.hlp .hf__guide:first-of-type{margin-top:32px}
.hlp .hf__guide:last-of-type{border-bottom:1px solid var(--line)}
.hlp .hf__guide summary{position:relative;display:block;padding:18px 44px 18px 4px;cursor:pointer;list-style:none;font-size:14px;font-weight:700}
.hlp .hf__guide summary::-webkit-details-marker{display:none}
.hlp .hf__guide summary::marker{content:""}
.hlp .hf__guide summary::before,.hlp .hf__guide summary::after{content:"";position:absolute;right:14px;top:50%;width:14px;height:2px;margin-top:-1px;background:var(--ink);transition:transform .25s}
.hlp .hf__guide summary::after{transform:rotate(90deg)}
.hlp .hf__guide[open] summary::after{transform:rotate(0)}
.hlp .hf__guide summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.hlp .hf__guide-body{padding:4px 4px 24px;font-size:13px;line-height:1.9;color:var(--text-body)}
.hlp .hf__guide h3{margin:24px 0 8px;font-size:13px;font-weight:900;color:var(--ink)}
.hlp .hf__guide-body small{color:var(--accent-text)}
.hlp .hf__guide table{width:100%;border-collapse:collapse}
.hlp .hf__guide th,.hlp .hf__guide td{padding:10px 8px;border-bottom:1px solid var(--line-soft);text-align:left;vertical-align:top}
.hlp .hf__guide th{width:6.5em;font-weight:700;color:var(--ink);white-space:nowrap}
.hlp .hf__guide ul{margin:0;padding:0;list-style:none}
.hlp .hf__guide li{display:flex;flex-wrap:wrap;gap:4px 16px;padding:8px 0;border-bottom:1px solid var(--line-soft)}
.hlp .hf__guide li b{min-width:11em;color:var(--ink)}
.hlp .hf__guide li span:empty{display:none}

/* --- 適合早見表 --- */
.hlp .hf__tbl-date{margin:0 0 8px;font-size:11px;color:rgba(0,0,0,.5)}
.hlp .hf__tblw{overflow-x:auto;-webkit-overflow-scrolling:touch}
.hlp .hf__guide .hf__tbl{min-width:760px;font-size:12px;line-height:1.7}
.hlp .hf__guide .hf__tbl caption{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.hlp .hf__guide .hf__tbl th,.hlp .hf__guide .hf__tbl td{width:auto;padding:8px;white-space:normal;word-break:break-word}
.hlp .hf__guide .hf__tbl thead th{background:var(--surface);font-weight:900;white-space:nowrap}
.hlp .hf__guide .hf__tbl tbody th{font-weight:800;color:var(--accent-text);white-space:nowrap}
.hlp .hf__guide .hf__tbl small{display:block;font-size:11px;color:rgba(0,0,0,.6)}

/* --- 3ステップ --- */
.hlp .hf--steps{padding-bottom:8px}
.hlp .hf--steps+.hf{padding-top:56px}
.hlp .hf__in--wide{max-width:1000px}
.hlp .hs{display:grid;gap:40px;margin:40px 0 0;padding:0;list-style:none}
.hlp .hs li{position:relative;margin:0;padding:0;list-style:none}
.hlp .hs li:not(:last-child)::after{content:"";position:absolute;left:50%;bottom:-26px;width:10px;height:10px;border-top:2px solid var(--accent);border-right:2px solid var(--accent);transform:translateX(-50%) rotate(135deg)}
.hlp .hs__card{display:flex;flex-direction:column;height:100%;padding:26px 24px 22px;border:1px solid var(--line);background:var(--paper);transition:.2s}
.hlp .hs__card:hover{border-color:var(--accent);background:var(--surface)}
.hlp .hs__card:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.hlp .hs__no{font-size:13px;font-weight:800;letter-spacing:.22em;color:var(--accent-text)}
.hlp .hs__t{margin-top:8px;font-size:18px;font-weight:900;line-height:1.5;letter-spacing:-.01em}
.hlp .hs__d{margin-top:10px;font-size:12px;line-height:1.9;color:rgba(0,0,0,.62)}
.hlp .hs__go{display:flex;align-items:center;gap:8px;margin-top:auto;padding-top:18px;font-size:12px;font-weight:900;letter-spacing:.08em;color:var(--accent-text)}
.hlp .hs__go i{display:block;width:20px;height:20px;transition:transform .2s}
.hlp .hs__card:hover .hs__go i{transform:translateX(4px)}
.hlp .hs__go i svg{width:20px;height:20px}

/* =========================================================
   5. ライトボックス
   ========================================================= */
.hlp #hlp-color .hlp-card{cursor:zoom-in}
.hlp #hlp-color .hlp-card::after{content:"+";position:absolute;left:16px;top:16px;display:flex;align-items:center;justify-content:center;width:30px;height:30px;background:rgba(0,0,0,.55);font-size:20px;line-height:1;color:var(--white);transition:background .2s}
.hlp #hlp-color .hlp-card:hover::after{background:var(--accent)}
.hlp .hlp-lb{width:min(94vw,980px);max-height:94vh;margin:auto;padding:0;overflow:auto;border:0;background:var(--ink);color:var(--white)}
.hlp .hlp-lb::backdrop{background:rgba(0,0,0,.82)}
.hlp .hlp-lb__in{position:relative}
.hlp .hlp-lb__fig{position:relative;background:#0e0e0e}
.hlp .hlp-lb__img{display:block;width:100%;max-height:66vh;object-fit:contain}
.hlp .hlp-lb__x,.hlp .hlp-lb__prev,.hlp .hlp-lb__next{position:absolute;z-index:2;display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;background:rgba(0,0,0,.6);font-size:28px;line-height:1;color:var(--white);cursor:pointer;transition:background .2s}
.hlp .hlp-lb__x{right:0;top:0}
.hlp .hlp-lb__prev,.hlp .hlp-lb__next{top:50%;margin-top:-22px}
.hlp .hlp-lb__prev{left:0}
.hlp .hlp-lb__next{right:0}
.hlp .hlp-lb__prev svg,.hlp .hlp-lb__next svg{width:22px;height:22px}
.hlp .hlp-lb__prev svg{transform:scaleX(-1)}
.hlp .hlp-lb__x:hover,.hlp .hlp-lb__prev:hover,.hlp .hlp-lb__next:hover{background:var(--accent)}
.hlp .hlp-lb__cap{padding:20px 24px 24px}
.hlp .hlp-lb__cnt{font-size:12px;font-weight:700;letter-spacing:.2em;color:var(--accent-on-dark)}
.hlp .hlp-lb__t{margin-top:6px;font-size:22px;font-weight:900;line-height:1.4}
.hlp .hlp-lb__d{margin-top:6px;font-size:12px;line-height:1.9;color:rgba(255,255,255,.7)}

/* =========================================================
   6. レスポンシブ（まとめて最後に）
   ========================================================= */
@media(min-width:640px){
  .hlp-hero h2{font-size:68px}
  .hlp-hero__lead{font-size:16px}
  .hlp-sm{display:inline}
  .hlp-hero__btns{flex-direction:row}
  .hlp-btn{width:230px}
  .hlp .hlp-shell{padding-top:104px;padding-bottom:104px}
  .hlp-cat{grid-template-columns:repeat(3,1fr)}
  .hlp-tile{aspect-ratio:1/1.15}
  .hlp-tile__tx{padding:24px}
  .hlp-tile__row h3{font-size:16px}
  .hlp-card{flex-basis:290px;height:440px}
  .hlp-co__tx{padding:48px}
  .hlp-co__tx h3{font-size:36px}
  .hlp-user__grid{grid-template-columns:repeat(3,1fr)}
  .hlp .hf__card{grid-template-columns:240px 1fr}
  .hlp .hf__img img{height:100%;aspect-ratio:auto}
}
@media(min-width:768px){
  .hlp-cat{gap:16px}
  .hlp .hs{grid-template-columns:repeat(3,1fr);gap:44px}
  .hlp .hs li:not(:last-child)::after{left:auto;right:-27px;top:50%;bottom:auto;transform:translateY(-50%) rotate(45deg)}
  .hlp .hlp-why__grid{grid-template-columns:repeat(3,1fr);gap:24px}
  .hlp .hlp-why__sample{padding:48px 40px}
  .hlp .hlp-why__sample h3{font-size:26px}
}
@media(min-width:1024px){
  .hlp-hero>img{object-position:center 62%}
  .hlp-hero__ov{background:linear-gradient(90deg,rgba(0,0,0,.88) 0%,rgba(0,0,0,.56) 43%,rgba(0,0,0,.1) 74%),linear-gradient(0deg,rgba(0,0,0,.48),transparent 48%)}
  .hlp-hero__in{min-height:790px;align-items:center;padding:96px 40px 40px}
  .hlp-hero h2{font-size:82px}
  .hlp-hero__vert{display:block}
  .hlp .hlp-sel,.hlp .hlp-style,.hlp .hlp-why,.hlp .hlp-movie,.hlp .hlp-faq,.hlp .hlp-rank,.hlp .hf{padding-top:112px;padding-bottom:112px}
  .hlp .hf--steps{padding-bottom:8px}
  .hlp .hf--steps+.hf{padding-top:56px}
  .hlp-co{grid-template-columns:58% 42%}
  .hlp-co__tx{padding:56px}
  .hlp-pc__no{width:48px;height:48px}
  .hlp-faq summary{font-size:16px}
}

/* ===== ランクルLP用の追加CSS(スマホが基本 → 768px以上でPC) ===== */

/* 暗い背景のセクション内のリード文 */
.hlp .hlp-sel__in>.hlp-sub,
.hlp .hlp-style__in>.hlp-sub{color:rgba(255,255,255,.7)}

/* --- モデルから選ぶ --- */
.hlp .hlp-mdl{display:grid;gap:16px;max-width:1000px;margin:48px auto 0}
.hlp .hlp-mdl__note{margin-top:8px;text-align:center;font-size:12px;line-height:1.9;color:rgba(255,255,255,.6)}

/* 70の大きなタイル */
.hlp .hlp-mdl__main{position:relative;display:block;aspect-ratio:16/10;overflow:hidden;background:#222;color:#fff}
.hlp .hlp-mdl__main img{width:100%;height:100%;object-fit:cover;object-position:center 85%;filter:saturate(.8);transition:transform .55s ease}
.hlp .hlp-mdl__main:hover img{transform:scale(1.04)}
.hlp .hlp-mdl__ov{position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.92) 0%,rgba(0,0,0,.65) 45%,transparent 80%)}
.hlp .hlp-mdl__tx{position:absolute;left:0;right:0;bottom:0;padding:20px}
.hlp .hlp-mdl__tx>p.c{font-size:12px;font-weight:700;letter-spacing:.2em;color:var(--lc-accent-hover,#f0a24a);text-shadow:0 1px 4px rgba(0,0,0,.7)}
.hlp .hlp-mdl__row{display:flex;align-items:center;justify-content:space-between;margin-top:6px}
.hlp .hlp-mdl__row h3{font-size:24px;font-weight:900;line-height:1.3;color:#fff;text-shadow:0 1px 6px rgba(0,0,0,.8)}
.hlp .hlp-mdl__row i{display:block;width:24px;height:24px;flex:none;transition:transform .2s}
.hlp .hlp-mdl__main:hover .hlp-mdl__row i{transform:translateX(4px)}
.hlp .hlp-mdl__d{margin-top:8px;font-size:13px;line-height:1.8;color:rgba(255,255,255,.8);text-shadow:0 1px 6px rgba(0,0,0,.8)}

/* 70以外のモデル:スマホは2列(画像は5:2の比率で全体表示) */
.hlp .hlp-mdl__others{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
.hlp .hlp-mdl__sub{position:relative;display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.04);color:rgba(255,255,255,.8);font-size:14px;font-weight:700;text-align:center;transition:.2s}
.hlp .hlp-mdl__sub:hover{color:#fff;background:var(--lc-accent,#e65224)}
.hlp .hlp-mdl__pic{display:block;width:100%;height:auto;aspect-ratio:5/2;object-fit:cover;filter:brightness(.85);transition:filter .3s}
.hlp .hlp-mdl__sub:hover .hlp-mdl__pic{filter:none}
.hlp .hlp-mdl__sub span{display:block;padding:8px 4px 10px;font-size:13px;line-height:1.4}
.hlp .hlp-mdl__sub small{display:block;margin-top:4px;font-family:"Barlow Condensed",sans-serif;font-size:10px;letter-spacing:.15em;line-height:1.2}

/* --- PC・タブレット(768px以上) --- */
@media(min-width:768px){
  .hlp .hlp-mdl__main{aspect-ratio:21/9}
  .hlp .hlp-mdl__tx{padding:32px}
  .hlp .hlp-mdl__row h3{font-size:34px}
  .hlp .hlp-mdl__others{grid-template-columns:repeat(4,1fr);gap:12px}
  .hlp .hlp-mdl__pic{height:110px;aspect-ratio:auto}
  .hlp .hlp-mdl__sub span{padding:10px 8px 12px}
}

@media(prefers-reduced-motion:reduce){.hlp *{transition-duration:.01ms!important}}
