@charset "utf-8";
/* online-oripa.jp 共通スタイル
   - 命名：l-（レイアウト）/ c-（コンポーネント）/ u-（ユーティリティ）
   - ライトテーマのみ（ダークは実装しない。検証面を増やさないため）
   - リストマーカーはリセットしない。c-article 配下で明示指定する */

:root{
  --ink:#1b1d21; --ink-2:#4b5159; --ink-3:#737a84;
  --line:#e3e6ea; --line-2:#cfd4da;
  --bg:#fff; --bg-2:#f7f8fa; --bg-3:#eef1f5;
  --key:#1f6feb; --key-d:#174ea6; --key-bg:#eaf1fe;
  --warn:#8a5a00; --warn-bg:#fff8e6; --warn-line:#f0d9a0;
  --cv:#e8590c; --cv-d:#c2410c;
  --w:760px; --w-wide:1040px;
  --r:8px; --r-s:5px;
  --f: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; }
body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family:var(--f); font-size:16px; line-height:1.85;
  font-feature-settings:"palt" 1;
}
img,svg{ max-width:100%; height:auto; vertical-align:middle; }
a{ color:var(--key); text-decoration:underline; text-underline-offset:2px; }
a:hover{ color:var(--key-d); }

/* ---------- layout ---------- */
.l-container{ width:100%; max-width:var(--w); margin-inline:auto; padding-inline:16px; }
.l-container--wide{ max-width:var(--w-wide); }

.l-header{ border-bottom:1px solid var(--line); background:var(--bg); }
.l-header__inner{ display:flex; align-items:center; gap:12px; min-height:58px; }
.l-header__logo{ font-size:15px; font-weight:700; letter-spacing:.01em; color:var(--ink); text-decoration:none; line-height:1.3; }
.l-header__logo span{ display:block; font-size:11px; font-weight:400; color:var(--ink-3); }

.l-nav{ border-bottom:1px solid var(--line); background:var(--bg-2); }
.l-nav__list{ display:flex; gap:2px; margin:0; padding:0; list-style:none; overflow-x:auto; scrollbar-width:none; }
.l-nav__list::-webkit-scrollbar{ display:none; }
.l-nav__list a{
  display:block; padding:11px 12px; font-size:13px; white-space:nowrap;
  color:var(--ink-2); text-decoration:none; border-bottom:2px solid transparent;
}
.l-nav__list a:hover{ color:var(--key); border-bottom-color:var(--line-2); }
.l-nav__list a[aria-current="page"]{ color:var(--ink); font-weight:700; border-bottom-color:var(--key); }

.l-main{ padding-block:8px 48px; }

.l-footer{ margin-top:56px; border-top:1px solid var(--line); background:var(--bg-2); padding-block:28px 36px; font-size:13px; color:var(--ink-2); }
.l-footer__links{ display:flex; flex-wrap:wrap; gap:6px 18px; margin:0 0 18px; padding:0; list-style:none; }
.l-footer__links a{ color:var(--ink-2); }
.l-footer__copy{ margin:16px 0 0; color:var(--ink-3); font-size:12px; }

/* ---------- 広告表記（ステマ規制・景表法） ---------- */
.c-pr{
  margin:10px 0 0; padding:7px 11px; border:1px solid var(--line);
  border-radius:var(--r-s); background:var(--bg-2);
  font-size:12px; line-height:1.7; color:var(--ink-2);
}

/* ---------- パンくず ---------- */
.c-breadcrumb{ margin:12px 0 0; font-size:12px; color:var(--ink-3); }
.c-breadcrumb ol{ display:flex; flex-wrap:wrap; gap:4px; margin:0; padding:0; list-style:none; }
.c-breadcrumb li:not(:last-child)::after{ content:"›"; margin-left:5px; color:var(--line-2); }
.c-breadcrumb a{ color:var(--ink-3); }

/* ---------- 記事ヘッダ ---------- */
.c-head{ margin:14px 0 0; }
.c-head__title{ margin:0; font-size:26px; line-height:1.45; font-weight:700; letter-spacing:-.01em; }
.c-meta{ display:flex; flex-wrap:wrap; gap:4px 14px; margin:12px 0 0; font-size:12px; color:var(--ink-3); }
.c-meta a{ color:var(--ink-3); }

/* ---------- 本文 ---------- */
.c-article{ margin-top:28px; }
.c-article > h2{
  margin:48px 0 18px; padding:0 0 9px; border-bottom:2px solid var(--ink);
  font-size:21px; line-height:1.5; font-weight:700;
}
.c-article > h3{ margin:34px 0 12px; font-size:18px; line-height:1.55; font-weight:700; }
.c-article > h4{ margin:26px 0 10px; font-size:16px; font-weight:700; color:var(--ink-2); }
.c-article p{ margin:0 0 1.5em; }
.c-article > ul, .c-article > ol, .c-article li > ul, .c-article li > ol{
  margin:0 0 1.5em; padding-left:1.6em;
}
.c-article ul{ list-style-type:disc; }
.c-article ul ul{ list-style-type:circle; }
.c-article ol{ list-style-type:decimal; }
.c-article li{ margin-bottom:.5em; list-style-position:outside; }
.c-article li::marker{ color:var(--ink-3); }
.c-article strong{ font-weight:700; background:linear-gradient(transparent 62%, #ffeeba 62%); }
.c-article a{ overflow-wrap:anywhere; }
.c-article hr{ margin:40px 0; border:0; border-top:1px solid var(--line); }

/* インラインコード（属性名などを示すとき） */
.c-article code{
  padding:1px 5px; border:1px solid var(--line); border-radius:3px;
  background:var(--bg-2); font-size:.88em;
  font-family:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  word-break:break-all;
}

/* ---------- 目次 ---------- */
.c-toc{ margin:28px 0; padding:16px 18px; border:1px solid var(--line); border-radius:var(--r); background:var(--bg-2); }
.c-toc__title{ margin:0 0 10px; font-size:14px; font-weight:700; }
.c-toc ol{ margin:0; padding-left:1.3em; font-size:14px; }
.c-toc li{ margin-bottom:.35em; }
.c-toc a{ color:var(--ink-2); text-decoration:none; }
.c-toc a:hover{ color:var(--key); text-decoration:underline; }
/* 高さ制限＋overflow は入れない（到達不能になった事故があるため） */

/* ---------- 表 ---------- */
.c-table-wrap{ margin:0 0 1.8em; overflow-x:auto; -webkit-overflow-scrolling:touch; border:1px solid var(--line); border-radius:var(--r); }
.c-table-wrap table{ width:100%; min-width:560px; border-collapse:collapse; font-size:14px; line-height:1.65; }
.c-table-wrap th, .c-table-wrap td{ padding:10px 12px; border-bottom:1px solid var(--line); border-right:1px solid var(--line); text-align:left; vertical-align:top; }
.c-table-wrap th:last-child, .c-table-wrap td:last-child{ border-right:0; }
.c-table-wrap thead th{ background:var(--bg-3); font-weight:700; white-space:nowrap; }
.c-table-wrap tbody th{ background:var(--bg-2); font-weight:700; white-space:nowrap; }
.c-table-wrap tbody tr:last-child th, .c-table-wrap tbody tr:last-child td{ border-bottom:0; }
.c-table-wrap caption{ padding:9px 12px; border-bottom:1px solid var(--line); background:var(--bg-2); font-size:12px; color:var(--ink-2); text-align:left; }
.c-table-note{ margin:-1.2em 0 1.8em; font-size:12px; color:var(--ink-3); }

/* ---------- ブランドカード ---------- */
.c-brand{ margin:0 0 28px; border:1px solid var(--line-2); border-radius:var(--r); overflow:hidden; }
.c-brand__head{ display:flex; align-items:center; gap:10px; padding:12px 14px; border-bottom:1px solid var(--line); background:var(--bg-2); }
.c-rank{ flex:0 0 auto; min-width:26px; height:26px; padding:0 7px; border-radius:var(--r-s); background:var(--ink); color:#fff; font-size:13px; font-weight:700; line-height:26px; text-align:center; }
.c-brand__name{ margin:0; font-size:17px; font-weight:700; line-height:1.4; }
.c-brand__body{ padding:14px; }
.c-brand__spec{ margin:0 0 14px; font-size:14px; }
.c-brand__spec dl{ display:grid; grid-template-columns:7.5em 1fr; gap:0; margin:0; border-top:1px solid var(--line); }
.c-brand__spec dt{ padding:8px 10px; border-bottom:1px solid var(--line); background:var(--bg-2); font-weight:700; font-size:13px; }
.c-brand__spec dd{ margin:0; padding:8px 10px; border-bottom:1px solid var(--line); }

/* ---------- CTA ---------- */
.c-cta{ margin:22px 0; text-align:center; }
.c-cta__btn{
  display:block; width:100%; max-width:430px; margin-inline:auto; padding:15px 20px;
  border-radius:var(--r); background:var(--cv); color:#fff; font-size:16px; font-weight:700;
  line-height:1.45; text-align:center; text-decoration:none;
  box-shadow:0 2px 0 var(--cv-d); transition:transform .08s ease;
}
.c-cta__btn:hover{ color:#fff; transform:translateY(1px); box-shadow:0 1px 0 var(--cv-d); }
.c-cta__btn small{ display:block; margin-top:3px; font-size:12px; font-weight:400; opacity:.92; }
.c-cta__note{ margin:9px 0 0; font-size:12px; color:var(--ink-3); }
/* 内部リンクはCTAの直前・直後に置かない。全ブランド紹介後にまとめる */
.c-inlinks{ margin:34px 0; padding:16px 18px; border:1px solid var(--line); border-radius:var(--r); background:var(--bg-2); }
.c-inlinks__title{ margin:0 0 10px; font-size:14px; font-weight:700; }
.c-inlinks ul{ margin:0; padding-left:1.3em; font-size:14px; list-style-type:disc; }
.c-inlinks li{ margin-bottom:.4em; }

/* ---------- 口コミ引用（投稿者名は出さない） ---------- */
.c-quote{ margin:0 0 16px; padding:13px 15px; border:1px solid var(--line); border-left:3px solid var(--line-2); border-radius:0 var(--r-s) var(--r-s) 0; background:var(--bg-2); }
.c-quote p{ margin:0 0 .6em; font-size:14px; line-height:1.8; }
.c-quote p:last-of-type{ margin-bottom:0; }
.c-quote__src{ display:block; margin-top:9px; font-size:12px; color:var(--ink-3); font-style:normal; }

/* ---------- 注意・補足 ---------- */
.c-note{ margin:0 0 1.8em; padding:14px 16px; border:1px solid var(--line); border-radius:var(--r); background:var(--bg-2); font-size:14px; }
.c-note--warn{ border-color:var(--warn-line); background:var(--warn-bg); color:var(--warn); }
.c-note__title{ margin:0 0 7px; font-size:14px; font-weight:700; }
.c-note > :last-child{ margin-bottom:0; }
.c-note ul{ margin:0; padding-left:1.4em; list-style-type:disc; }

/* ---------- FAQ ---------- */
.c-faq{ margin:0 0 1.8em; border:1px solid var(--line); border-radius:var(--r); overflow:hidden; }
.c-faq__item{ border-bottom:1px solid var(--line); }
.c-faq__item:last-child{ border-bottom:0; }
.c-faq__q{ margin:0; padding:13px 15px; background:var(--bg-2); font-size:15px; font-weight:700; }
.c-faq__a{ padding:13px 15px; font-size:14px; }
.c-faq__a > :last-child{ margin-bottom:0; }

/* ---------- 一覧ページ ---------- */
.c-list{ margin:24px 0 0; padding:0; list-style:none; }
.c-list__item{ padding:16px 0; border-bottom:1px solid var(--line); }
.c-list__item a{ font-size:16px; font-weight:700; text-decoration:none; }
.c-list__item a:hover{ text-decoration:underline; }
.c-list__desc{ margin:5px 0 0; font-size:13px; color:var(--ink-2); }

/* ---------- 免責 ---------- */
.c-disclaimer{ margin:40px 0 0; padding:15px 17px; border:1px solid var(--line); border-radius:var(--r); background:var(--bg-2); font-size:12px; line-height:1.8; color:var(--ink-2); }
.c-disclaimer p{ margin:0 0 .8em; }
.c-disclaimer > :last-child{ margin-bottom:0; }

/* ---------- utilities ---------- */
.u-sr{ position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
.u-nowrap{ white-space:nowrap; }
.u-num{ font-variant-numeric:tabular-nums; }
.u-tc{ text-align:center; }
.u-tr{ text-align:right; }

@media (min-width:720px){
  body{ font-size:17px; }
  .c-head__title{ font-size:31px; }
  .c-article > h2{ font-size:23px; }
  .c-article > h3{ font-size:19px; }
  .c-table-wrap table{ min-width:0; }
}
@media print{
  .l-nav, .c-cta, .c-inlinks{ display:none; }
}
