/* =========================================================
   つかってみたノート — style.css
   テレビ局のサイトのような、鮮やかで力強いメディアデザイン
   ========================================================= */
:root {
  --brand: #0a3dbd;
  --brand-2: #1257ff;
  --brand-dark: #061f66;
  --brand-soft: #eaf0ff;
  --yellow: #ffd400;
  --red: #e60039;
  --ink: #12151d;
  --text-2: #3b4252;
  --muted: #6b7280;
  --line: #e3e6ec;
  --bg: #eef1f6;
  --white: #ffffff;
  --good: #00965f;
  --bad: #d4401f;
  --buy: #ff6a00;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(10, 20, 50, 0.06), 0 2px 8px rgba(10, 20, 50, 0.06);
  --shadow-hover: 0 12px 28px -10px rgba(10, 30, 90, 0.35);
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  --en: "Montserrat", "Noto Sans JP", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.8; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.ic { width: 20px; height: 20px; flex: none; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 12px; }

/* ---------- 広告表記バー ---------- */
.adbar { background: #071233; color: #b9c4e0; font-size: 12px; line-height: 1.5; }
.adbar .wrap { display: flex; align-items: center; gap: 12px; min-height: 30px; padding: 5px 0; }
.adbar a { margin-left: auto; color: #fff; white-space: nowrap; }

/* ---------- ヘッダー ---------- */
.header { background: var(--white); position: sticky; top: 0; z-index: 40; box-shadow: 0 2px 10px rgba(10, 20, 60, 0.08); }
.header__inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.logo__mark { position: relative; width: 52px; height: 52px; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 12px; background: var(--brand); color: #fff; font-weight: 900; line-height: 1; overflow: hidden; }
.logo__mark span:first-child { font-size: 22px; letter-spacing: 0.02em; }
.logo__mark span:last-child { font-family: var(--en); font-size: 10px; margin-top: 3px; letter-spacing: 0.08em; }
.logo__mark::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--yellow); }
.logo__text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.logo__name { font-weight: 900; font-size: 21px; letter-spacing: 0.02em; }
.logo__tag { font-size: 12px; color: var(--muted); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search { position: relative; display: flex; margin-left: auto; width: min(340px, 36%); }
.search input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 2px solid var(--brand); border-right: 0; border-radius: 8px 0 0 8px; font: inherit; font-size: 14px; background: var(--white); color: var(--ink); }
.search input:focus { outline: none; box-shadow: inset 0 0 0 1px var(--brand); }
.search button { width: 52px; border: 0; border-radius: 0 8px 8px 0; background: var(--brand); color: #fff; cursor: pointer; display: grid; place-items: center; }
.search button:hover { background: var(--brand-2); }
.menu-btn { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 1px; width: 52px; height: 52px; margin-left: auto; border: 0; border-radius: 10px; background: var(--brand); color: #fff; cursor: pointer; }
.menu-btn span { font-family: var(--en); font-size: 9px; font-weight: 800; letter-spacing: 0.08em; }

.gnav { background: var(--brand); }
.gnav__inner { display: flex; overflow-x: auto; scrollbar-width: none; }
.gnav__inner::-webkit-scrollbar { display: none; }
.gnav__item { position: relative; flex: 1 0 auto; text-align: center; padding: 13px 22px; font-weight: 700; font-size: 15px; color: #fff; text-decoration: none; white-space: nowrap; border-right: 1px solid rgba(255, 255, 255, 0.14); transition: background .15s; }
.gnav__item:first-child { border-left: 1px solid rgba(255, 255, 255, 0.14); }
.gnav__item::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--yellow); transform: scaleX(0); transition: transform .2s; }
.gnav__item:hover { background: rgba(255, 255, 255, 0.1); }
.gnav__item:hover::after, .gnav__item.is-active::after { transform: scaleX(1); }
.gnav__item.is-active { background: var(--brand-dark); }

/* ---------- ティッカー ---------- */
.ticker { background: var(--white); border-bottom: 1px solid var(--line); }
.ticker__inner { display: flex; align-items: stretch; min-height: 42px; }
.ticker__label { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 0 14px; background: var(--red); color: #fff; font-family: var(--en); font-weight: 800; font-size: 13px; letter-spacing: 0.06em; }
.ticker__label .ic { width: 16px; height: 16px; }
.ticker__viewport { position: relative; flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.ticker__track { display: flex; width: max-content; height: 100%; align-items: center; animation: ticker 40s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__track a { display: inline-flex; align-items: center; gap: 10px; padding: 0 32px; font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.ticker__track a:hover { color: var(--brand); text-decoration: underline; }
.ticker__track time { font-family: var(--en); font-size: 12px; font-weight: 700; color: var(--brand); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- スライダー ---------- */
.slider { position: relative; padding: 28px 0 0; background: linear-gradient(180deg, #071233 0%, #0b2470 100%); overflow: hidden; }
.slider::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 14px); pointer-events: none; }
.slider__inner { position: relative; }
.slider__track { position: relative; height: 420px; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.6); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide__link { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); height: 100%; text-decoration: none; color: #fff; background: var(--cat); }
.slide__link::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0) 60%), repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.06) 0 2px, transparent 2px 16px); pointer-events: none; }
.slide__text { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; padding: 40px 48px; }
.slide__label { display: inline-block; padding: 4px 14px; border-radius: 4px; background: var(--yellow); color: var(--ink); font-weight: 900; font-size: 14px; letter-spacing: 0.08em; }
.slide__cat { font-size: 14px; font-weight: 700; opacity: 0.9; }
.slide__title { font-size: clamp(24px, 2.6vw, 34px); font-weight: 900; line-height: 1.4; letter-spacing: 0.01em; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.18); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.slide__desc { font-size: 15px; line-height: 1.75; opacity: 0.92; max-width: 30em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.slide__cta { margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; padding: 12px 22px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 900; font-size: 15px; transition: transform .2s; }
.slide__link:hover .slide__cta { transform: translateX(4px); }
.slide__art { position: relative; display: grid; place-items: center; padding: 28px 40px 28px 0; }
.slide__art img { width: 100%; max-width: 480px; background: #fff; border-radius: 16px; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.45); transform: rotate(-2deg); transition: transform .6s ease; }
.slide.is-active .slide__art img { transform: rotate(0); }
.slider__nav { position: absolute; top: 50%; z-index: 3; width: 48px; height: 48px; display: grid; place-items: center; margin-top: -24px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.95); color: var(--ink); cursor: pointer; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25); transition: transform .15s; }
.slider__nav:hover { transform: scale(1.08); }
.slider__nav--prev { left: -22px; }
.slider__nav--next { right: -22px; }
.slider__thumbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; padding: 16px 0 24px; }
.slider__thumb { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; text-align: left; border: 0; border-radius: 8px; background: rgba(255, 255, 255, 0.08); color: #c9d4f2; cursor: pointer; overflow: hidden; transition: background .2s, color .2s; }
.slider__thumb::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--cat); }
.slider__thumb::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--yellow); transform: scaleX(0); transform-origin: 0 50%; }
.slider__thumb.is-active { background: rgba(255, 255, 255, 0.18); color: #fff; }
.slider__thumb.is-active::after { animation: thumbbar var(--slide-ms, 6000ms) linear forwards; }
.slider.is-paused .slider__thumb.is-active::after { animation-play-state: paused; }
.slider__thumb-label { font-size: 11px; font-weight: 900; color: var(--yellow); }
.slider__thumb-title { font-size: 13px; font-weight: 700; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@keyframes thumbbar { to { transform: scaleX(1); } }

/* ---------- 2段組み（メイン＋サイドバー） ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; align-items: start; padding: 8px 0 56px; }
.layout__main { min-width: 0; }

/* ---------- セクション見出し ---------- */
.sec { padding-top: 36px; }
.sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 3px solid var(--ink); position: relative; }
.sec__head::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 120px; height: 3px; background: var(--brand-2); }
.sec__title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; }
.sec__en { font-family: var(--en); font-size: 30px; font-weight: 900; font-style: italic; letter-spacing: 0.01em; color: var(--brand); line-height: 1.1; }
.sec__ja { font-size: 15px; font-weight: 700; }
.sec__more { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 700; text-decoration: none; color: var(--brand); white-space: nowrap; }
.sec__more .ic { width: 16px; height: 16px; }

/* ---------- 記事カード ---------- */
.cards { display: grid; gap: 20px; }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.card__media { position: relative; display: block; }
.thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.thumb__photo { width: 100%; height: 100%; object-fit: cover; }
.cover { position: relative; background: color-mix(in srgb, var(--cat) 14%, white); }
.cover::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, color-mix(in srgb, var(--cat) 10%, transparent) 0 2px, transparent 2px 12px); }
.cover__img { position: absolute; inset: 7% 9% 5%; width: 82%; height: 88%; object-fit: contain; transition: transform .35s ease; }
.card:hover .cover__img { transform: scale(1.05); }
.card__cat { position: absolute; left: 0; bottom: 0; padding: 3px 12px; background: var(--cat); color: #fff; font-size: 12px; font-weight: 700; border-top-right-radius: 6px; }
.card__body { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; flex: 1; }
.card__badges { display: flex; gap: 6px; min-height: 0; }
.card__badges:empty { display: none; }
.card__title { font-weight: 700; font-size: 15px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card:hover .card__title { color: var(--brand); }
.card__date { margin-top: auto; font-family: var(--en); font-size: 12px; font-weight: 700; color: var(--muted); }
.badge-new { display: inline-flex; align-items: center; padding: 0 7px; border-radius: 3px; background: var(--red); color: #fff; font-family: var(--en); font-size: 11px; font-weight: 800; line-height: 1.7; letter-spacing: 0.04em; }
.badge-pr { display: inline-flex; align-items: center; padding: 0 7px; border-radius: 3px; border: 1px solid #c9ced8; color: var(--muted); font-size: 11px; font-weight: 700; line-height: 1.6; background: #fff; }
.badge-pr--light { border-color: rgba(255, 255, 255, 0.7); color: #fff; background: transparent; }
.badge-cat { display: inline-flex; padding: 0 8px; border-radius: 3px; background: color-mix(in srgb, var(--cat) 12%, white); color: var(--cat); font-size: 11.5px; font-weight: 700; line-height: 1.7; }

/* 新着リスト */
.list { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.li a { display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background .15s; }
.li:last-child a { border-bottom: 0; }
.li a:hover { background: var(--brand-soft); }
.li time { font-family: var(--en); font-size: 13px; font-weight: 700; color: var(--muted); }
.li__cat { display: inline-block; min-width: 56px; padding: 1px 8px; text-align: center; border-radius: 3px; background: var(--cat); color: #fff; font-size: 12px; font-weight: 700; }
.li__title { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; line-height: 1.6; }
.li a:hover .li__title { color: var(--brand); }
.li--empty { padding: 22px 18px; color: var(--muted); font-size: 14.5px; }

/* 目的から探す */
.purposes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.purpose { display: flex; align-items: center; gap: 12px; padding: 14px 16px; text-decoration: none; font-weight: 700; font-size: 14.5px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border-left: 5px solid var(--cat); transition: transform .15s, box-shadow .15s; }
.purpose span:nth-child(2) { flex: 1; }
.purpose__icon { width: 36px; height: 36px; display: grid; place-items: center; flex: none; border-radius: 50%; background: color-mix(in srgb, var(--cat) 12%, white); color: var(--cat); }
.purpose > .ic { width: 18px; height: 18px; color: var(--cat); }
.purpose:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }

/* タブ（選び方ガイド） */
.tabs { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.tabs__list { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.banner:last-child:nth-child(odd) { grid-column: 1 / -1; }
.tabs__btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 8px; border: 0; border-bottom: 4px solid var(--line); background: #f6f7fa; font-weight: 700; font-size: 14px; color: var(--text-2); cursor: pointer; transition: background .15s, color .15s; }
.tabs__btn .ic { color: var(--cat); }
.tabs__btn:hover { background: #fff; }
.tabs__btn.is-active { background: var(--cat); color: #fff; border-bottom-color: color-mix(in srgb, var(--cat) 70%, black); }
.tabs__btn.is-active .ic { color: #fff; }
.tabs__panel { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; padding: 24px; }
.tabs__art .cover { border-radius: 8px; }
.tabs__lead { font-weight: 700; margin-bottom: 12px; }
.guide { display: flex; flex-direction: column; gap: 10px; }
.guide li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.75; color: var(--text-2); }
.guide__num { width: 26px; height: 26px; flex: none; display: grid; place-items: center; margin-top: 1px; border-radius: 6px; font-family: var(--en); font-size: 13px; font-weight: 800; color: #fff; background: var(--cat, var(--brand)); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 900; font-size: 15px; text-decoration: none; transition: transform .15s, filter .15s; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn--cat { margin-top: 18px; background: var(--cat); color: #fff; }
.btn--buy { width: 100%; background: var(--buy); color: #fff; box-shadow: 0 4px 0 #c24f00; border-radius: 10px; min-height: 56px; font-size: 16px; }
.btn--buy:hover { transform: translateY(2px); box-shadow: 0 2px 0 #c24f00; }
.btn--buy .ic { width: 16px; height: 16px; }
.text-link { display: inline-flex; align-items: center; gap: 2px; font-weight: 700; font-size: 14px; color: var(--brand); text-decoration: none; }
.text-link .ic { width: 16px; height: 16px; }

/* カテゴリーバナー（帯） */
.band { margin-top: 24px; padding: 8px 0 40px; background: var(--white); }
.band .sec__head { margin-top: 28px; }
.banners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.banner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 200px; align-items: center; min-height: 170px; padding: 0 0 0 28px; border-radius: 12px; overflow: hidden; text-decoration: none; color: #fff; background: var(--cat); transition: transform .2s, box-shadow .2s; }
.banner::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.07) 0 2px, transparent 2px 14px), linear-gradient(100deg, rgba(0, 0, 0, 0.2), transparent 70%); }
.banner:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.banner__text { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 4px; padding: 20px 20px 20px 0; }
.banner__en { font-family: var(--en); font-size: 12px; font-weight: 800; letter-spacing: 0.14em; opacity: 0.85; }
.banner__name { font-size: 24px; font-weight: 900; }
.banner__desc { font-size: 13px; line-height: 1.7; opacity: 0.92; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.banner__art { position: relative; align-self: stretch; display: grid; place-items: center; padding: 16px 16px 16px 0; }
.banner__art img { width: 100%; background: #fff; border-radius: 10px; transform: rotate(3deg); transition: transform .3s; }
.banner:hover .banner__art img { transform: rotate(0) scale(1.03); }

/* はじめての方へ・FAQ */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.step { position: relative; padding: 22px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border-top: 5px solid var(--brand); }
.step__num { font-family: var(--en); font-size: 12px; font-weight: 800; color: var(--brand); letter-spacing: 0.1em; }
.step__num b { font-size: 30px; margin-left: 4px; font-style: italic; }
.step__title { margin-top: 4px; font-size: 18px; font-weight: 900; }
.step__text { margin-top: 6px; font-size: 14.5px; color: var(--text-2); line-height: 1.8; }
.sec--faq { padding-bottom: 56px; }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq__item { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.faq__item summary { display: flex; align-items: center; gap: 14px; padding: 16px 20px; font-weight: 700; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; margin-left: auto; font-family: var(--en); font-size: 24px; font-weight: 700; color: var(--brand); line-height: 1; }
.faq__item[open] summary::after { content: "−"; }
.faq__q { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 6px; font-family: var(--en); font-size: 15px; font-weight: 900; color: #fff; background: var(--brand); }
.faq__q--a { background: var(--red); }
.faq__a { display: flex; gap: 14px; padding: 0 20px 18px; color: var(--text-2); font-size: 15px; line-height: 1.85; }

.prose ul.checklist { list-style: none; padding: 18px 20px; border: 2px solid var(--brand); background: #fff; }
.prose ul.checklist li { position: relative; padding-left: 32px; }
.prose ul.checklist li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 18px; height: 18px; border: 2px solid var(--brand); border-radius: 4px; background: #fff; }
.sd-table td small { display: block; color: var(--muted); font-size: 12.5px; }
.sd-table th { white-space: nowrap; }
.sd-table .muted-cell { color: var(--muted); font-size: 13px; }
.sd-table__note { margin-top: 8px !important; font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.cta { text-align: center; padding: 18px 16px; background: #fff7ef; border: 2px dashed #ffc999; border-radius: 12px; }
.cta__btn { max-width: 440px; }
.cta__note { margin-top: 8px !important; font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.faq--article .faq__item { box-shadow: none; border: 1px solid var(--line); }
.faq--article .faq__item summary { font-size: 16px; line-height: 1.6; }
.faq--article .faq__a p { margin: 0; }
.prose .compare { font-variant-numeric: tabular-nums; }
.soon { display: flex; align-items: center; gap: 16px; padding: 24px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border-left: 5px solid var(--cat); }
.soon__icon { width: 48px; height: 48px; display: grid; place-items: center; flex: none; border-radius: 50%; background: color-mix(in srgb, var(--cat) 12%, white); color: var(--cat); }
.soon__title { font-weight: 900; }
.soon__text { font-size: 14px; color: var(--muted); }
.guidebox { padding: 24px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border-top: 5px solid var(--cat); }

/* ---------- ランキング ---------- */
.gnav__item--rank { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: rgba(255, 212, 0, 0.16); }
.gnav__item--rank .ic { width: 16px; height: 16px; color: var(--yellow); }
.stars { position: relative; display: inline-block; font-size: 17px; letter-spacing: 1px; line-height: 1; color: transparent;
  background: linear-gradient(90deg, #ffb400 var(--pct, 0%), #d6dbe5 var(--pct, 0%)); -webkit-background-clip: text; background-clip: text; }
.stars__num { margin-left: 6px; font-family: var(--en); font-size: 15px; }
.rankno { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-family: var(--en); font-weight: 900; font-size: 16px; color: #fff; background: #8a93a6; }
.rankno--1 { background: linear-gradient(135deg, #f7c948, #d99a00); box-shadow: 0 4px 10px -4px rgba(217, 154, 0, 0.8); }
.rankno--2 { background: linear-gradient(135deg, #cfd6e0, #8e99ab); }
.rankno--3 { background: linear-gradient(135deg, #e3a06b, #a8602e); }
.rankno--big { display: inline-flex; align-items: baseline; justify-content: center; width: 76px; height: 64px; padding-top: 12px; font-size: 32px; border-radius: 14px; }
.rankno--big small { font-size: 14px; margin-left: 2px; }
.rank-table th, .rank-table td { font-size: 14px; }
.rank-table tbody th a { color: var(--ink); text-decoration: none; font-weight: 900; }
.rank-table tbody th a:hover { color: var(--brand); }
.rt-no { width: 56px; text-align: center !important; }
.rt-badge { display: block; margin-top: 4px; font-size: 11.5px; font-weight: 700; color: var(--red); }
.rt-stars { white-space: nowrap; }
.picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.picks li { display: flex; align-items: center; gap: 8px; padding: 12px 14px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); font-size: 14px; }
.picks .pick__q { flex: 1; color: var(--text-2); }
.picks .ic { width: 16px; height: 16px; color: var(--muted); }
.picks a { font-weight: 900; color: var(--brand); text-decoration: none; white-space: nowrap; }
.rank-cards { display: flex; flex-direction: column; gap: 22px; }
.rank-card { position: relative; padding: 22px; background: var(--white); border-radius: 14px; box-shadow: var(--shadow); border-top: 6px solid var(--cat); }
.rank-card__top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.rank-badge { display: inline-block; padding: 4px 14px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 900; font-size: 13px; }
.rank-card__grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 22px; align-items: start; }
.rank-card__media { display: block; border-radius: 10px; overflow: hidden; }
.rank-card__name { font-size: 22px; font-weight: 900; line-height: 1.4; }
.rank-card__catch { margin-top: 4px; font-weight: 700; color: var(--text-2); }
.rank-card__cospa { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.rank-card__cospa > span:first-child { font-size: 12px; font-weight: 900; color: var(--muted); }
.rank-card__specs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.rank-card__specs li { padding: 3px 10px; border-radius: 6px; background: color-mix(in srgb, var(--cat) 10%, white); color: var(--cat); font-size: 12.5px; font-weight: 700; }
.rank-card__for { margin-top: 12px; padding: 10px 14px; border-radius: 8px; background: #f6f7fa; font-size: 14px; }
.rank-card__for b { margin-right: 8px; color: var(--brand); }
.rank-card__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.rank-card__actions .btn--buy { width: auto; flex: 1 1 220px; min-height: 50px; }
.btn--line { flex: 1 1 180px; border: 2px solid var(--brand); color: var(--brand); background: #fff; }
.rankbanner { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding: 16px 18px; border-radius: 12px; text-decoration: none; color: var(--ink); background: linear-gradient(100deg, #fff7d6, #fff); border: 2px solid var(--yellow); box-shadow: var(--shadow); }
.rankbanner__icon { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--yellow); color: var(--ink); }
.rankbanner__text { flex: 1; display: flex; flex-direction: column; }
.rankbanner__text b { font-size: 16px; }
.rankbanner__text small { color: var(--muted); font-size: 12.5px; }
.rankbanner:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
@media (max-width: 860px) {
  .rank-card__grid { grid-template-columns: minmax(0, 1fr); }
  .rank-card__media { max-width: 360px; }
  .picks { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 広告枠 ---------- */
.ad { margin: 28px auto 0; text-align: center; }
.ad__label { font-size: 11px; color: var(--muted); letter-spacing: 0.1em; margin-bottom: 4px; }
.ad__body { display: flex; justify-content: center; }
.ad--home_top .ad__body, .ad--category_top .ad__body { min-height: 90px; }
.ad--placeholder .ad__body { align-items: center; min-height: 120px; background: repeating-linear-gradient(-45deg, #f4f5f8 0 10px, #eceef3 10px 20px); border: 2px dashed #c3c9d6; border-radius: 8px; }
.ad--home_top.ad--placeholder .ad__body, .ad--category_top.ad--placeholder .ad__body { min-height: 90px; max-width: 728px; margin: 0 auto; }
.ad--sidebar.ad--placeholder .ad__body { min-height: 250px; }
.ad--sidebar_bottom.ad--placeholder .ad__body { min-height: 600px; }
.ad__body img { max-width: 100%; height: auto; border-radius: 8px; }
.ad__body a { display: inline-block; line-height: 0; transition: transform .2s, box-shadow .2s; border-radius: 8px; }
.ad__body a:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.ad__ph { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.ad__ph strong { font-size: 14px; color: var(--text-2); }
.ad__ph small { font-family: var(--en); font-size: 12px; font-weight: 700; }
.side .ad { margin: 0; }

/* ---------- サイドバー ---------- */
.side { display: flex; flex-direction: column; gap: 20px; padding-top: 36px; align-self: stretch; }
.side-box { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; font-size: 14px; }
.side-box__title { padding: 10px 16px; background: var(--brand); color: #fff; font-size: 15px; font-weight: 900; position: relative; }
.side-box__title::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 8px; background: var(--yellow); }
.side-latest li a { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); text-decoration: none; }
.side-latest li:last-child a { border-bottom: 0; }
.side-latest__media .thumb { border-radius: 6px; }
.side-latest__text { display: flex; flex-direction: column; gap: 2px; font-weight: 700; font-size: 13.5px; line-height: 1.55; }
.side-latest__text time { font-family: var(--en); font-size: 11.5px; color: var(--muted); }
.side-latest a:hover .side-latest__text { color: var(--brand); }
.side-empty { padding: 14px 16px; color: var(--muted); }
.side-cats a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 700; }
.side-cats li:last-child a { border-bottom: 0; }
.side-cats a > .ic:last-child { margin-left: auto; width: 16px; height: 16px; color: var(--muted); }
.side-cats__icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; background: var(--cat); color: #fff; }
.side-cats__icon .ic { width: 18px; height: 18px; }
.side-cats a:hover { background: var(--brand-soft); }
.side-box--policy p { padding: 14px 16px 6px; color: var(--text-2); line-height: 1.75; }
.side-box--policy .text-link { padding: 0 16px 14px; }
.side-sticky { position: sticky; top: 150px; display: flex; flex-direction: column; gap: 20px; }
.side-toc ol { counter-reset: st; padding: 8px 10px; }
.side-toc li { counter-increment: st; }
.side-toc a { display: flex; gap: 8px; padding: 7px 8px; border-radius: 6px; text-decoration: none; line-height: 1.55; color: var(--text-2); font-weight: 500; }
.side-toc a::before { content: counter(st); font-family: var(--en); font-weight: 800; color: var(--brand); min-width: 1.2em; }
.side-toc a:hover { background: var(--bg); }
.side-toc a.is-active { background: var(--brand-soft); color: var(--brand); font-weight: 700; }

/* ---------- カテゴリー見出し ---------- */
.cathero { position: relative; overflow: hidden; color: #fff; background: var(--cat); }
.cathero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.07) 0 2px, transparent 2px 14px), linear-gradient(100deg, rgba(0, 0, 0, 0.25), transparent 70%); }
.cathero__inner { position: relative; display: flex; align-items: center; gap: 32px; min-height: 220px; padding: 28px 0; }
.cathero__text { flex: 1; }
.cathero__en, .pagehead .cathero__en { font-family: var(--en); font-size: 13px; font-weight: 800; letter-spacing: 0.16em; opacity: 0.85; }
.cathero__title { margin-top: 4px; font-size: clamp(30px, 4vw, 44px); font-weight: 900; line-height: 1.3; }
.cathero__desc { margin-top: 8px; max-width: 40em; font-size: 15.5px; opacity: 0.95; }
.cathero__art { width: 300px; flex: none; background: #fff; border-radius: 14px; transform: rotate(2deg); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.45); }
.pagehead { padding: 32px 0; background: linear-gradient(110deg, var(--brand-dark), var(--brand)); color: #fff; }
.pagehead__title { margin-top: 4px; font-size: clamp(26px, 3.4vw, 36px); font-weight: 900; }

.crumbs { background: var(--white); border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.crumbs .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; padding: 10px 0; }
.crumbs a { color: var(--brand); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs__sep .ic { width: 12px; height: 12px; color: #b3b9c6; }
.crumbs [aria-current] { color: var(--text-2); max-width: 36em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 記事 ---------- */
.arthead { background: var(--cat); }
.arthead .wrap { padding: 10px 0; }
.arthead__cat { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 900; font-size: 15px; text-decoration: none; }
.article { margin-top: 28px; padding: 36px 40px 44px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.article--page { margin-top: 36px; }
.article__badges { display: flex; gap: 6px; margin-bottom: 8px; }
.article__badges:empty { display: none; }
.article__title { font-size: clamp(24px, 3vw, 32px); font-weight: 900; line-height: 1.5; }
.article__meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 12px; font-size: 13px; color: var(--muted); font-weight: 500; }
.article__meta span { display: inline-flex; align-items: center; gap: 5px; }
.article__meta .ic { width: 15px; height: 15px; }
.article__meta time { font-family: var(--en); font-weight: 700; }
.article__visual { margin: 22px 0 24px; border-radius: 10px; overflow: hidden; }
.article__visual .thumb { aspect-ratio: 16 / 8; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.share__label { font-family: var(--en); font-size: 12px; font-weight: 800; letter-spacing: 0.12em; color: var(--muted); margin-right: 4px; }
.share__btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 700; color: var(--ink); text-decoration: none; cursor: pointer; }
.share__btn .ic { width: 15px; height: 15px; }
.share__btn--x { background: #111; border-color: #111; color: #fff; }
.share__btn:hover { filter: brightness(0.95); }
.prose + .ad + .share, .prose + .share { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.prnote { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; margin-bottom: 20px; font-size: 13px; line-height: 1.7; color: var(--text-2); background: #f6f7fa; border-radius: 8px; }
.prnote .ic { width: 16px; height: 16px; margin-top: 3px; color: var(--muted); }
.prnote a { color: var(--brand); }
.summary { padding: 18px 22px; margin-bottom: 20px; border: 2px solid var(--brand); border-radius: 10px; }
.summary__title { display: inline-block; margin-bottom: 6px; padding: 2px 12px; border-radius: 4px; background: var(--brand); color: #fff; font-weight: 900; font-size: 14px; }
.summary li { display: flex; gap: 8px; align-items: flex-start; padding: 3px 0; font-size: 15px; font-weight: 500; }
.summary .ic { width: 18px; height: 18px; color: var(--good); margin-top: 4px; }
.toc { margin: 8px 0 24px; border: 1px solid var(--line); border-radius: 10px; background: #f9fafc; }
.toc summary { display: flex; align-items: center; gap: 8px; padding: 14px 18px; font-weight: 900; cursor: pointer; list-style: none; }
.toc summary .ic { color: var(--brand); }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { counter-reset: toc; padding: 0 18px 14px; }
.toc li { counter-increment: toc; display: flex; gap: 10px; padding: 7px 0; border-top: 1px dashed var(--line); font-size: 15px; }
.toc li::before { content: counter(toc); font-family: var(--en); font-weight: 800; color: var(--brand); min-width: 1.2em; }
.toc a { text-decoration: none; font-weight: 500; }
.toc a:hover { color: var(--brand); text-decoration: underline; }

.prose { font-size: 16.5px; line-height: 2; }
.prose > * + * { margin-top: 1.4em; }
.prose h2 { margin-top: 2.4em; padding: 14px 18px 14px 22px; font-size: 22px; font-weight: 900; line-height: 1.5; background: var(--brand-soft); border-left: 8px solid var(--brand); border-radius: 0 8px 8px 0; scroll-margin-top: 160px; }
.prose h3 { margin-top: 2em; padding-bottom: 6px; font-size: 19px; font-weight: 900; border-bottom: 3px solid var(--line); position: relative; }
.prose h3::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 60px; height: 3px; background: var(--brand); }
.prose ul, .prose ol { padding: 16px 20px 16px 2.2em; background: #f6f7fa; border-radius: 8px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li::marker { color: var(--brand); font-weight: 700; }
.prose li + li { margin-top: 0.35em; }
.prose a { color: var(--brand); font-weight: 500; text-underline-offset: 3px; }
.prose strong { font-weight: 900; }
.prose mark { background: linear-gradient(transparent 60%, #fff07a 60%); color: inherit; }
.prose code { font-size: 0.9em; padding: 2px 6px; border-radius: 5px; background: #f1f3f7; }
.prose blockquote { margin: 1.4em 0 0; padding: 16px 20px; border-left: 4px solid #c9ced8; background: #f6f7fa; color: var(--text-2); }
.prose hr { border: 0; border-top: 2px solid var(--line); margin: 2.4em 0; }
.prose figure img { border-radius: 10px; }
.figure-link { text-align: center; }
.figure-link a { display: inline-block; line-height: 0; border-radius: 10px; transition: transform .2s, box-shadow .2s; }
.figure-link a:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.prose figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); text-align: center; }
.table-wrap { overflow-x: auto; border-radius: 10px; border: 1px solid var(--line); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.7; }
.prose th, .prose td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose thead th { background: var(--brand); color: #fff; font-weight: 900; white-space: nowrap; }
.prose tbody th { background: #f6f7fa; font-weight: 700; white-space: nowrap; }
.prose tbody tr:last-child th, .prose tbody tr:last-child td { border-bottom: 0; }
.prose .ad { margin-top: 2em; }

.box { border-radius: 10px; border: 2px solid var(--line); background: var(--white); overflow: hidden; }
.box__label { display: flex; align-items: center; gap: 8px; padding: 8px 16px; font-weight: 900; font-size: 15px; background: #f6f7fa; }
.box__label .ic { width: 18px; height: 18px; }
.box__body { padding: 14px 18px 16px; }
.box__body > * + * { margin-top: 0.8em; }
.box__body ul, .box__body ol { background: none; padding: 0 0 0 1.4em; }
.box--good { border-color: var(--good); }
.box--good .box__label { background: var(--good); color: #fff; }
.box--bad, .box--warn { border-color: var(--bad); }
.box--bad .box__label, .box--warn .box__label { background: var(--bad); color: #fff; }
.box--point { border-color: var(--yellow); }
.box--point .box__label { background: var(--yellow); color: var(--ink); }
.box--conclusion { border-color: var(--brand); margin-bottom: 20px; }
.box--conclusion .box__label { background: var(--brand); color: #fff; }

.product { padding: 22px; border: 3px solid var(--ink); border-radius: 12px; background: var(--white); }
.product__head { display: flex; gap: 18px; align-items: center; }
.product__img { width: 120px; height: 120px; object-fit: contain; flex: none; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.product__name { margin-top: 6px; font-size: 19px; font-weight: 900; line-height: 1.5; }
.product__note { margin-top: 4px; font-size: 14.5px; color: var(--text-2); line-height: 1.7; }
.product__pc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.pc { padding: 12px 14px; border-radius: 8px; font-size: 14px; line-height: 1.7; }
.pc ul { list-style: disc; padding-left: 1.2em; background: none; }
.pc--good { background: color-mix(in srgb, var(--good) 9%, white); }
.pc--bad { background: color-mix(in srgb, var(--bad) 8%, white); }
.pc__label { font-weight: 900; font-size: 13px; margin-bottom: 4px; }
.pc--good .pc__label { color: var(--good); }
.pc--bad .pc__label { color: var(--bad); }
.product .btn--buy { margin-top: 18px; }
.product__fine { margin-top: 10px; font-size: 12px; color: var(--muted); text-align: center; }

.author { display: flex; gap: 18px; align-items: flex-start; margin-top: 36px; padding: 22px; border-radius: 10px; background: #f6f7fa; }
.author img { width: 72px; height: 72px; border-radius: 50%; flex: none; background: #fff; border: 3px solid #fff; box-shadow: var(--shadow); }
.author__role { font-size: 12px; font-weight: 900; color: var(--brand); }
.author__name { font-weight: 900; font-size: 17px; }
.author__bio { margin: 6px 0 8px; font-size: 14.5px; color: var(--text-2); line-height: 1.8; }

.searchpage { padding-top: 36px; }
.search--page { width: 100%; margin: 0 0 12px; }
.search--page input { height: 54px; font-size: 16px; }
.searchpage__status { color: var(--muted); font-size: 14px; margin-bottom: 12px; }

/* ---------- フッター ---------- */
.footer { color: #c3cce6; font-size: 14px; }
.footer__top { background: var(--brand-dark); padding: 44px 0 36px; border-top: 6px solid var(--yellow); }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.footer__about p { margin-top: 14px; line-height: 1.85; color: #aeb9d8; }
.logo--footer .logo__name { color: #fff; font-size: 19px; }
.footer__h { font-weight: 900; color: #fff; margin-bottom: 10px; padding-left: 10px; border-left: 4px solid var(--yellow); }
.footer__grid li { padding: 4px 0; }
.footer__bottom { background: #04123d; padding: 16px 0 20px; font-size: 12.5px; color: #8f9cc2; }
.footer__copy { font-family: var(--en); margin-top: 4px; }

/* ---------- ドロワー・その他 ---------- */
.drawer { position: fixed; inset: 0; z-index: 60; background: rgba(5, 12, 35, 0.6); }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(340px, 88vw); overflow-y: auto; background: var(--white); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--brand); color: #fff; font-family: var(--en); font-weight: 900; letter-spacing: 0.1em; }
.drawer__close { width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: none; color: #fff; cursor: pointer; }
.search--drawer { width: auto; margin: 16px; }
.drawer__list a { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 700; }
.drawer__list .dot { width: 10px; height: 10px; border-radius: 3px; background: var(--cat); }
.drawer__list--sub a { font-weight: 500; font-size: 14px; color: var(--text-2); }

.progress { position: fixed; left: 0; right: 0; top: 0; height: 4px; z-index: 70; pointer-events: none; }
.progress__bar { display: block; height: 100%; background: var(--yellow); transform: scaleX(0); transform-origin: 0 50%; }
body:not(.page-article) .progress { display: none; }
.totop { position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: #fff; box-shadow: 0 8px 20px -6px rgba(10, 30, 90, 0.5); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s, transform .25s; }
.totop.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.ic--up { transform: rotate(-90deg); }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 80; transform: translate(-50%, 20px); padding: 10px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; opacity: 0; transition: opacity .2s, transform .2s; pointer-events: none; }
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); }

/* ---------- レスポンシブ ---------- */
@media (max-width: 1100px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .side { padding-top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .side-sticky { position: static; }
  .side-toc { display: none; }
  .ad--sidebar_bottom { display: none; }
  .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .slider__nav--prev { left: 10px; }
  .slider__nav--next { right: 10px; }
}
@media (max-width: 860px) {
  .slider__track { height: auto; aspect-ratio: auto; min-height: 520px; }
  .slide__link { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .slide__art { order: -1; padding: 24px 24px 0; }
  .slide__art img { max-width: 360px; }
  .slide__text { padding: 20px 24px 28px; justify-content: flex-start; }
  .purposes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tabs__panel { grid-template-columns: minmax(0, 1fr); }
  .tabs__art { max-width: 320px; }
  .banners { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cathero__art { width: 220px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer__about { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .wrap { width: calc(100% - 24px); }
  .adbar { font-size: 11px; }
  .header__inner { min-height: 64px; gap: 10px; }
  .header .search { display: none; }
  .menu-btn { display: flex; width: 48px; height: 48px; }
  .logo__mark { width: 44px; height: 44px; border-radius: 10px; }
  .logo__mark span:first-child { font-size: 18px; }
  .logo__mark span:last-child { font-size: 8.5px; }
  .logo__name { font-size: 17px; }
  .logo__tag { display: none; }
  .gnav__item { flex: 0 0 auto; padding: 11px 16px; font-size: 14px; }
  .ticker__label { padding: 0 10px; font-size: 12px; }
  .ticker__track a { font-size: 13px; padding: 0 20px; }
  .slider { padding-top: 14px; }
  .slider__track { min-height: 470px; border-radius: 12px; }
  .slide__art { padding: 18px 18px 0; }
  .slide__art img { max-width: 250px; }
  .slide__text { gap: 8px; padding: 16px 20px 22px; }
  .slide__desc, .slide__cat { display: none; }
  .slide__title { font-size: 21px; }
  .slide__cta { padding: 10px 18px; font-size: 14px; }
  .slider__nav { display: none; }
  .slider__thumbs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px; }
  .slider__thumb { flex: 0 0 64%; scroll-snap-align: start; }
  .sec__en { font-size: 24px; }
  .cards--4, .cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card__title { font-size: 13.5px; }
  .card__body { padding: 10px 10px 12px; }
  .li a { grid-template-columns: auto minmax(0, 1fr); gap: 4px 10px; padding: 12px 14px; }
  .li__title { grid-column: 1 / -1; font-size: 14.5px; }
  .purposes { grid-template-columns: minmax(0, 1fr); }
  .tabs__list { display: flex; overflow-x: auto; }
  .tabs__btn { flex: 0 0 auto; padding: 12px 16px; font-size: 13px; }
  .tabs__panel { padding: 18px; }
  .banner { grid-template-columns: minmax(0, 1fr) 120px; min-height: 140px; padding-left: 18px; }
  .banner__name { font-size: 19px; }
  .side { grid-template-columns: minmax(0, 1fr); }
  .cathero__inner { flex-direction: column-reverse; align-items: flex-start; gap: 16px; min-height: 0; }
  .cathero__art { width: 200px; }
  .article { margin: 16px -12px 0; padding: 24px 16px 32px; border-radius: 0; }
  .prose { font-size: 16px; }
  .prose h2 { font-size: 19px; padding: 12px 14px 12px 16px; }
  .product { padding: 16px; }
  .product__head { align-items: flex-start; }
  .product__img { width: 88px; height: 88px; }
  .product__pc { grid-template-columns: minmax(0, 1fr); }
  .author { flex-direction: column; }
  .soon { flex-direction: column; align-items: flex-start; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .totop { right: 12px; bottom: 12px; width: 46px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .ticker__viewport { overflow-x: auto; }
}

/* ---- 空き広告枠のおすすめ商品（build.py の promo）---- */
.promo { margin: 28px auto 0; text-align: left; }
.side .promo { margin: 0; }
.promo__label { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font-size: 12px; font-weight: 700; color: var(--muted); }
.promo__label span { padding: 1px 6px; border-radius: 4px; background: var(--muted); color: #fff; font-size: 10.5px; letter-spacing: .05em; }
.promo__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.promo--wide .promo__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.promo__item { display: flex; flex-direction: column; gap: 6px; padding: 14px 14px 12px; border: 1px solid var(--line); border-top: 4px solid var(--cat, var(--accent)); border-radius: 10px; background: #fff; }
.promo__item.is-extra { display: none; }
.promo__cat { align-self: flex-start; padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; color: var(--cat, var(--accent)); background: color-mix(in srgb, var(--cat, #0a62ff) 10%, white); }
.promo__name { font-weight: 800; font-size: 14px; line-height: 1.5; color: var(--text); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.promo__name:hover { color: var(--cat, var(--accent)); text-decoration: underline; }
.promo__note { margin: 0; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.promo__btns { display: flex; gap: 6px; margin-top: auto; padding-top: 4px; }
.promo__btns a { flex: 1; display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 8px; border-radius: 8px; font-size: 12.5px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.promo__read { border: 1px solid var(--line); color: var(--text); background: #fff; }
.promo__read:hover { border-color: var(--cat, var(--accent)); }
.promo__buy { background: #ffb400; color: #1c1c1c; }
.promo__buy:hover { filter: brightness(1.05); }
@media (max-width: 860px) {
  .promo--wide .promo__list { grid-template-columns: minmax(0, 1fr); }
}

/* ---- 商品の形のイラスト（自作の SVG。make_items.py）---- */
.cover--item .cover__img { inset: 5% 10% 3%; width: 80%; height: 92%; }
.illust-tag { position: absolute; right: 6px; bottom: 6px; padding: 1px 7px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--muted); font-size: 10.5px; font-weight: 700; line-height: 1.6; pointer-events: none; }
.article__visual .cover--item::after { content: "イラスト"; position: absolute; right: 10px; bottom: 10px; padding: 1px 8px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--muted); font-size: 11px; font-weight: 700; }
.product__illust { position: relative; flex: none; width: 168px; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: color-mix(in srgb, var(--cat, #0a62ff) 12%, white); }
.product__illust .item-illust { display: block; width: 100%; height: 100%; object-fit: contain; }
.promo__art { display: block; margin: -14px -14px 2px; aspect-ratio: 16 / 8; border-radius: 6px 6px 0 0; overflow: hidden; background: color-mix(in srgb, var(--cat, #0a62ff) 12%, white); }
.promo__art .item-illust { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .3s ease; }
.promo__item:hover .promo__art .item-illust { transform: scale(1.05); }
.side .promo__art { aspect-ratio: 16 / 7; }

/* ---- 記事の上の「この記事で紹介する商品」 ---- */
.quick { display: flex; gap: 16px; align-items: center; margin: 0 0 22px; padding: 14px; border: 2px solid var(--cat, var(--brand)); border-radius: 12px; background: color-mix(in srgb, var(--cat, #0a62ff) 5%, white); }
.quick__art { position: relative; flex: none; width: 170px; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: color-mix(in srgb, var(--cat, #0a62ff) 14%, white); }
.quick__art .item-illust { display: block; width: 100%; height: 100%; object-fit: contain; }
.quick__body { min-width: 0; flex: 1; }
.quick__label { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.quick__name { margin-top: 4px; font-size: 16px; font-weight: 900; line-height: 1.5; }
.quick__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.quick__btns a { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 42px; padding: 0 16px; border-radius: 9px; font-size: 14px; font-weight: 800; text-decoration: none; }
.quick__buy { background: var(--buy); color: #fff; box-shadow: 0 3px 0 #c24f00; }
.quick__buy .ic { width: 14px; height: 14px; }
.quick__more { border: 1px solid var(--line); background: #fff; color: var(--text); }
.quick__more::after { content: "↓"; margin-left: 4px; }
.readtime { padding: 0 8px; border-radius: 999px; background: color-mix(in srgb, var(--cat, #0a62ff) 10%, white); color: var(--text-2); font-weight: 700; }

/* ---- スマホで下にずっと出る「Amazonで見る」 ---- */
.sticky-buy { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 12px; background: rgba(18, 21, 29, .94); color: #fff; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .45); transform: translateY(140%); transition: transform .25s ease; }
.sticky-buy.is-shown { transform: none; }
.sticky-buy__name { flex: 1; min-width: 0; font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy__btn { flex: none; display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 9px; background: var(--buy); color: #fff; font-size: 14px; font-weight: 800; text-decoration: none; }
@media (min-width: 861px) { .sticky-buy { display: none; } }
@media (max-width: 640px) {
  .quick { flex-direction: column; align-items: stretch; }
  .quick__art { width: 100%; aspect-ratio: 16 / 8; }
  .quick__btns a { flex: 1; }
  .product__head { flex-direction: column; align-items: stretch; }
  .product__illust { width: 100%; aspect-ratio: 16 / 8; }
}
@media (max-width: 860px) { body.has-sticky .totop { bottom: 78px; } }

/* =========================================================
   読み方に合わせる仕掛けと動き（motion.js）
   ========================================================= */
@property --pct { syntax: "<percentage>"; inherits: true; initial-value: 0%; }

/* ---- 記事の入口「この記事、どう読みますか？」 ---- */
.entry { margin: 0 0 18px; padding: 16px; border-radius: 14px; background: linear-gradient(135deg, var(--brand-dark), var(--brand) 60%, var(--brand-2)); color: #fff; position: relative; overflow: hidden; }
.entry::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 212, 0, .35), transparent 65%); animation: entry-glow 6s ease-in-out infinite alternate; pointer-events: none; }
@keyframes entry-glow { to { transform: translate(-60px, 40px) scale(1.15); } }
.entry__q { position: relative; margin-bottom: 10px; font-weight: 900; font-size: 16px; letter-spacing: .02em; }
.entry__q::before { content: "Q"; display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 8px; border-radius: 6px; background: var(--yellow); color: var(--ink); font-family: var(--en); font-size: 14px; }
.entry__modes { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.entry__btn { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 14px; border: 2px solid rgba(255, 255, 255, .35); border-radius: 12px; background: rgba(255, 255, 255, .1); color: #fff; text-align: left; cursor: pointer; transition: transform .2s, background .2s, border-color .2s, box-shadow .2s; }
.entry__btn .ic { width: 30px; height: 30px; padding: 5px; border-radius: 50%; background: #fff; color: var(--brand); }
.entry__btn--quick .ic { background: var(--yellow); color: var(--ink); }
.entry__btn span { display: flex; flex-direction: column; line-height: 1.4; }
.entry__btn b { font-size: 15.5px; }
.entry__btn small { font-size: 12px; opacity: .85; }
.entry__btn:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .18); border-color: #fff; }
.entry__btn.is-chosen { background: #fff; color: var(--ink); border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(255, 212, 0, .45); }
.entry__btn.is-last::after { content: "前回"; margin-left: auto; padding: 1px 8px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: 11px; font-weight: 800; }

/* ---- 結論の「ネタバレ」 ---- */
.spoiler { position: relative; }
.spoiler__tag { margin-left: auto; padding: 1px 9px; border-radius: 999px; background: var(--red); color: #fff; font-size: 11px; letter-spacing: .05em; }
.spoiler.is-open .spoiler__tag { background: var(--good); }
.spoiler.is-open .spoiler__tag::after { content: "（公開中）"; }
html.js .spoiler__body { transition: filter .6s ease, opacity .6s ease; }
html.js .spoiler:not(.is-open) .spoiler__body { filter: blur(8px); opacity: .55; user-select: none; pointer-events: none; }
.spoiler__btn { position: absolute; left: 50%; top: calc(50% + 18px); transform: translate(-50%, -50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 2px; width: min(92%, 380px); padding: 12px 16px; border: 0; border-radius: 12px; background: var(--ink); color: #fff; cursor: pointer; box-shadow: 0 12px 30px -10px rgba(10, 20, 50, .6); transition: transform .2s, opacity .35s; animation: spoiler-bob 2.4s ease-in-out infinite; }
.spoiler__btn .ic { width: 24px; height: 24px; color: var(--yellow); }
.spoiler__btn b { font-size: 16px; }
.spoiler__btn small { font-size: 11.5px; color: #c9d4f2; }
.spoiler__btn:hover { transform: translate(-50%, -54%); }
@keyframes spoiler-bob { 50% { box-shadow: 0 16px 36px -8px rgba(10, 61, 189, .7); } }
.spoiler.is-open .spoiler__btn { opacity: 0; pointer-events: none; transform: translate(-50%, -50%) scale(.8); }
.answer-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.answer-btns a { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 44px; padding: 0 18px; border-radius: 9px; font-size: 14.5px; font-weight: 800; text-decoration: none; }
.answer-btns.is-pulse .quick__buy { animation: pulse 1.2s ease 2; }
@keyframes pulse { 0%, 100% { transform: none; } 40% { transform: scale(1.06); box-shadow: 0 0 0 8px rgba(255, 106, 0, .2), 0 3px 0 #c24f00; } }

/* ---- 最後の「答え合わせ」 ---- */
.finish { position: relative; margin: 36px 0 8px; padding: 26px 22px 22px; border-radius: 16px; background: linear-gradient(160deg, #fff8d6, #fff 55%); border: 3px solid var(--yellow); text-align: center; overflow: hidden; }
.finish__en { font-family: var(--en); font-weight: 900; letter-spacing: .3em; color: var(--brand); font-size: 13px; }
.finish__title { margin-top: 4px; font-size: 21px; font-weight: 900; line-height: 1.5; }
.finish__text { margin: 14px auto 16px; max-width: 640px; text-align: left; font-size: 15.5px; line-height: 1.9; padding: 14px 16px; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.finish .answer-btns { justify-content: center; }
.finish__next { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 10px; border-radius: 12px; background: #fff; border: 1px solid var(--line); text-align: left; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.finish__next:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.finish__next-art { flex: none; width: 120px; border-radius: 8px; overflow: hidden; }
.finish__next small { display: block; font-size: 12px; font-weight: 700; color: var(--brand); }
.finish__next b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14.5px; line-height: 1.5; }
.finish__next > .ic { margin-left: auto; color: var(--brand); }
html.js .finish .finish__title { transform: scale(.9); opacity: .4; transition: transform .6s cubic-bezier(.2, 1.4, .4, 1), opacity .5s; }
html.js .finish.is-in .finish__title { transform: none; opacity: 1; }

/* ---- 紙ふぶき ---- */
.burst { position: fixed; inset: 0; pointer-events: none; z-index: 90; }
.burst i { position: fixed; display: block; }

/* ---- スクロールで出てくる ---- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .45s ease, transform .45s cubic-bezier(.2, .7, .3, 1); transition-delay: calc(var(--i, 0) * 60ms); }
.rv.is-in { opacity: 1; transform: none; }
.stars { transition: --pct 1.2s cubic-bezier(.2, .7, .3, 1) .25s; }
.rv:not(.is-in) .stars { --pct: 0% !important; }

/* ---- 立体的に傾くカード（パソコン）---- */
.tilt { transition: transform .25s ease, box-shadow .25s ease, opacity .6s ease; will-change: transform; }
.card.tilt { position: relative; }
.card.tilt::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .25s; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .45), transparent 45%); }
.card.tilt:hover::after { opacity: 1; }

/* ---- イラストがふわっと浮く ---- */
.quick__art .item-illust, .product__illust .item-illust { animation: float 4.5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-5px); } }

/* ---- 買うボタンに光が走る ---- */
.btn--buy, .quick__buy, .sticky-buy__btn { position: relative; overflow: hidden; }
.btn--buy::after, .quick__buy::after, .sticky-buy__btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); animation: shine 4.5s ease-in-out infinite; pointer-events: none; }
@keyframes shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }

/* ---- スマホ：いま何章目かのチップと目次シート ---- */
.chapter { position: fixed; left: 50%; top: 84px; z-index: 45; display: flex; align-items: center; gap: 10px; max-width: calc(100% - 24px); padding: 5px 6px 5px 5px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .96); color: var(--ink); box-shadow: 0 8px 24px -8px rgba(10, 20, 50, .35); cursor: pointer; transform: translate(-50%, -150%); opacity: 0; transition: transform .3s ease, opacity .3s; }
.chapter.is-shown { transform: translate(-50%, 0); opacity: 1; }
.chapter__ring { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--brand) var(--p, 0%), #dfe5f0 0); }
.chapter__no { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #fff; font-family: var(--en); font-weight: 900; font-size: 13px; color: var(--brand); }
.chapter.is-tick .chapter__no { animation: tick .45s ease; }
@keyframes tick { 40% { transform: scale(1.3); } }
.chapter__txt { min-width: 0; display: flex; flex-direction: column; line-height: 1.25; text-align: left; }
.chapter__txt small { font-family: var(--en); font-size: 10.5px; font-weight: 800; color: var(--muted); }
.chapter__txt b { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 52vw; }
.chapter__open { flex: none; padding: 5px 11px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 800; }
.sheet { position: fixed; inset: 0; z-index: 85; background: rgba(8, 14, 30, 0); transition: background .25s; }
.sheet.is-open { background: rgba(8, 14, 30, .5); }
.sheet__panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 75vh; overflow: auto; padding: 8px 16px 24px; border-radius: 18px 18px 0 0; background: #fff; transform: translateY(100%); transition: transform .3s cubic-bezier(.2, .7, .3, 1); }
.sheet.is-open .sheet__panel { transform: none; }
.sheet__panel::before { content: ""; display: block; width: 44px; height: 5px; margin: 4px auto 10px; border-radius: 3px; background: #d5dbe5; }
.sheet__title { display: flex; align-items: center; font-weight: 900; font-size: 17px; margin-bottom: 6px; }
.sheet__close { margin-left: auto; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f1f3f7; font-size: 20px; cursor: pointer; }
.sheet li a { display: flex; gap: 12px; padding: 11px 6px; border-top: 1px dashed var(--line); text-decoration: none; font-size: 15px; font-weight: 600; line-height: 1.5; }
.sheet li a span { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-family: var(--en); font-size: 12px; font-weight: 900; }
.sheet li.is-current a { color: var(--brand); }
.sheet li.is-current a span { background: var(--brand); color: #fff; }
@media (min-width: 861px) { .chapter, .sheet { display: none !important; } }
@media (max-width: 640px) {
  .entry__modes { grid-template-columns: 1fr; }
  .chapter { top: 70px; }
  .finish { padding: 22px 14px 16px; }
  .finish__title { font-size: 18px; }
  .finish__next-art { width: 92px; }
}
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .entry::before, .spoiler__btn, .quick__art .item-illust, .product__illust .item-illust,
  .btn--buy::after, .quick__buy::after, .sticky-buy__btn::after { animation: none; }
}

body.has-sticky .toast { bottom: 84px; }
.author__initial { flex: none; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #f783ac, #e64980); color: #fff; font-family: var(--en); font-size: 30px; font-weight: 900; }

/* A8.net の広告 */
.ad--a8 { margin: 28px auto; }
.ad__lead { font-size: 14px; color: var(--ink); margin: 0 0 8px; }
.a8rot { min-height: 250px; align-items: center; }
.ad--a8-small .a8rot { min-height: 50px; }
.a8rot img[width="1"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.a8text { margin: 24px 0; padding: 16px 18px; border: 2px solid var(--line); border-radius: 12px; background: var(--white); }
.a8text__label { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-weight: 800; font-size: 14px; }
.a8text__label span { padding: 1px 7px; border-radius: 4px; background: #e9ecef; color: var(--muted); font-size: 11px; letter-spacing: .05em; }
.a8text__lead { margin: 0 0 8px; font-size: 14px; }
.a8text__list { margin: 0; padding-left: 1.2em; }
.a8text__list li { margin: 4px 0; }
.a8text__list a { font-weight: 700; }
.a8text__list img[width="1"] { position: absolute; width: 1px; height: 1px; opacity: 0; }

/* 404ページ */
.nf { padding: 28px 0 8px; }
.nf__box { max-width: 720px; margin: 0 auto 32px; padding: 28px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; }
.nf__lead { margin: 0 0 18px; color: var(--text-2); }
.nf__box .search--page { max-width: 480px; margin: 0 auto; }
.nf__h { margin: 24px 0 10px; font-weight: 700; }
.nf__cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.nf__cat { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 14px; border-left: 4px solid var(--cat, var(--brand)); }
.nf__cat:hover { background: var(--brand-soft); }
.nf__home { margin: 24px 0 0; }
.nf__btn { display: inline-block; padding: 12px 28px; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 700; text-decoration: none; }
.nf__btn:hover { background: var(--brand-2); }

/* 記事の最初の「使用状況」 */
.usage { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin: 0 0 10px; padding: 10px 14px; border-radius: 8px; font-size: 13px; line-height: 1.7; color: var(--text-2); background: #f6f7fa; border-left: 4px solid var(--muted); }
.usage__label { flex: none; padding: 2px 10px; border-radius: 999px; font-weight: 700; color: #fff; background: var(--muted); }
.usage--used { border-left-color: var(--good); } .usage--used .usage__label { background: var(--good); }
.usage--partial { border-left-color: #c07a00; } .usage--partial .usage__label { background: #c07a00; }
.usage--unused, .usage--spec, .usage--brand { border-left-color: var(--bad); } .usage--unused .usage__label, .usage--spec .usage__label, .usage--brand .usage__label { background: var(--bad); }

/* いいね */
.like-btn { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.like-btn[hidden] { display: none; }
.like-btn__heart { color: #c9ced8; font-size: 1.15em; line-height: 1; transition: color .2s, transform .2s; }
.like-btn__n:not(:empty) { margin-left: 2px; font-family: var(--en); }
.like-btn.is-liked { border-color: #ff4d79; color: #e0245e; background: #fff0f4; }
.like-btn.is-liked .like-btn__heart { color: #ff3d6e; }
.like-btn.is-pop .like-btn__heart { animation: likepop .45s ease; }
@keyframes likepop { 0% { transform: scale(1); } 40% { transform: scale(1.6); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .like-btn.is-pop .like-btn__heart { animation: none; } }
.likebox { margin: 28px 0; padding: 22px 16px; text-align: center; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.likebox[hidden] { display: none; }
.likebox__q { margin: 0 0 12px; font-weight: 700; }
.like-btn--big { padding: 12px 30px; border: 2px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-weight: 700; font-size: 16px; color: var(--ink); }
.like-btn--big:hover { border-color: #ff8fab; }
.likebox__thanks { margin: 10px 0 0; min-height: 1.5em; font-size: 13px; color: var(--muted); }

/* ---------- お問い合わせフォーム ---------- */
.cform { margin-top: 24px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.cform__form { display: flex; flex-direction: column; gap: 22px; }
.cform__label { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-weight: 900; }
.cform__req, .cform__opt { padding: 1px 8px; border-radius: 4px; font-size: 12px; font-weight: 700; }
.cform__req { background: var(--red); color: #fff; }
.cform__opt { background: var(--bg); color: var(--muted); }
.cform input[type="text"], .cform input[type="email"], .cform input[type="url"], .cform select, .cform textarea {
  width: 100%; padding: 12px 14px; border: 2px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; }
.cform textarea { min-height: 200px; resize: vertical; line-height: 1.8; }
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: none; border-color: var(--brand-2); }
.cform__note { margin-top: 6px !important; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.cform__count { margin-top: 4px !important; text-align: right; color: var(--muted); font-size: 13px; }
.cform__count.is-over { color: var(--red); font-weight: 700; }
.cform__err { display: none; margin-top: 6px !important; color: var(--red); font-size: 14px; font-weight: 700; }
.cform__field.is-error .cform__err { display: block; }
.cform__field.is-error input, .cform__field.is-error select, .cform__field.is-error textarea { border-color: var(--red); }
.cform__check { display: flex; align-items: flex-start; gap: 10px; font-weight: 700; cursor: pointer; }
.cform__check input { width: 20px; height: 20px; margin-top: 4px; flex: none; accent-color: var(--brand); }
.cform__check a { color: var(--brand-2); }
.cform__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.cform__msg { display: none; padding: 12px 16px; border-radius: 8px; background: #fdecef; color: var(--red); font-weight: 700; }
.cform__msg.is-error { display: block; }
.cform__submit { align-self: flex-start; min-width: 220px; border: 0; background: var(--brand); color: #fff; cursor: pointer; }
.cform__submit:disabled { opacity: .6; cursor: wait; }
.cform__done { text-align: center; padding: 10px 0; }
.cform__done p { margin: 0 0 10px; }
.cform__done-title { font-size: 21px; font-weight: 900; color: var(--good); }
@media (max-width: 600px) { .cform { padding: 18px; } .cform__submit { width: 100%; } }

/* =========================================================
   診断・計算ツール／筆者が使ったもの／セールカレンダー（build_tools.py・tools.js）
   ========================================================= */
.badge-used { display: inline-flex; align-items: center; padding: 0 7px; border-radius: 3px; background: var(--good); color: #fff; font-size: 11px; font-weight: 700; line-height: 1.6; }
.tool { min-width: 0; }
.tool__lead { font-size: 16px; margin: 0 0 18px; }
.tool__h { margin: 34px 0 12px; font-size: 20px; border-left: 6px solid var(--brand); padding-left: 10px; }
.tool__note { color: var(--muted); font-size: 13px; margin: 12px 0 0; }
.tool__list { padding-left: 1.2em; }
.tool__list li { margin: 6px 0; }
.toolgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 640px) { .toolgrid { grid-template-columns: 1fr; } }
.toolcard { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); text-decoration: none; color: inherit; border-top: 5px solid var(--yellow); transition: transform .15s, box-shadow .15s; }
.toolcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.toolcard__q { color: var(--muted); font-size: 13px; }
.toolcard__name { font-size: 19px; color: var(--brand-dark); }
.toolcard__desc { font-size: 14px; }
.toolcard__go { margin-top: auto; padding-top: 8px; color: var(--brand); font-weight: 900; display: inline-flex; align-items: center; gap: 4px; }
.toolcard__go .ic { width: 16px; height: 16px; }
.calc, .quiz, .compare { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.calc__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.calc__row > label:first-child, .calc__label { font-weight: 900; min-width: 11em; }
.calc__row small { flex-basis: 100%; color: var(--muted); }
.calc select, .calc input[type=number] { font: inherit; padding: 8px 10px; border: 2px solid var(--line); border-radius: 8px; background: #fff; }
.calc input[type=number] { width: 6em; }
.calc__num { display: inline-flex; align-items: center; gap: 6px; }
.calc__radio { display: inline-flex; align-items: center; gap: 6px; }
.calc__hint { color: var(--muted); font-size: 13px; margin: 8px 0 0; }
.calc__result { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; padding: 16px; border-radius: 10px; background: var(--brand-soft); }
.calc__big { font-size: 30px; font-weight: 900; color: var(--brand-dark); font-family: var(--en); }
.calc__cards { font-size: 14px; }
.quiz__q { border: 0; margin: 0 0 14px; padding: 14px; border-radius: 10px; background: var(--bg); }
.quiz__q legend { font-weight: 900; font-size: 16px; padding: 0; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.quiz__q legend span { display: inline-grid; place-items: center; min-width: 34px; height: 26px; border-radius: 6px; background: var(--brand); color: #fff; font-family: var(--en); font-size: 13px; }
.quiz__q label { display: flex; align-items: center; gap: 8px; padding: 8px 10px; margin: 4px 0; border-radius: 8px; background: #fff; cursor: pointer; }
.quiz__q label:has(input:checked) { outline: 2px solid var(--brand); background: var(--brand-soft); font-weight: 700; }
.quiz__q input { width: 18px; height: 18px; accent-color: var(--brand); }
.quiz__q.is-miss { outline: 2px solid var(--red); }
.quiz__go { margin-top: 6px; }
.quiz__result { margin-top: 20px; padding: 18px; border-radius: 10px; border: 3px solid var(--yellow); background: #fffdf0; }
.quiz__en { margin: 0; color: var(--brand); font-family: var(--en); font-weight: 900; letter-spacing: .1em; font-size: 12px; }
.quiz__title { margin: 2px 0 8px; font-size: 21px; }
.quiz__links { padding-left: 1.2em; }
.quiz__again { margin-top: 14px; }
.camres { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.camres__item { display: flex; gap: 12px; padding: 14px; border-radius: 10px; background: #fff; box-shadow: var(--shadow); }
.camres__no { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 900; font-family: var(--en); }
.camres__name { font-size: 18px; margin-right: 8px; }
.camres__badge { display: inline-block; padding: 0 8px; border-radius: 4px; background: var(--yellow); font-size: 12px; font-weight: 700; }
.camres__why { margin: 6px 0 2px; color: var(--good); font-weight: 700; font-size: 14px; }
.camres__for { margin: 0; font-size: 14px; color: var(--text-2); }
.camres__btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
.camres__btns .btn, .cmp .btn { min-height: 40px; padding: 0 14px; font-size: 14px; width: auto; flex: none; }
.pickgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; margin: 10px 0 16px; }
.pick { display: flex; flex-direction: column; padding: 8px 10px 8px 34px; position: relative; border-radius: 8px; background: var(--bg); cursor: pointer; }
.pick input { position: absolute; left: 10px; top: 11px; width: 16px; height: 16px; accent-color: var(--brand); }
.pick:has(input:checked) { outline: 2px solid var(--brand); background: var(--brand-soft); }
.pick span { font-weight: 700; font-size: 14px; }
.pick small { color: var(--muted); font-size: 12px; }
.cmp { width: 100%; border-collapse: collapse; min-width: 560px; }
.cmp th, .cmp td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 14px; }
.cmp thead th { background: var(--brand-dark); color: #fff; }
.cmp thead th small { display: block; font-weight: 400; opacity: .8; font-size: 11px; }
.cmp tbody th { background: var(--bg); white-space: nowrap; width: 7em; }
.cmp td .btn { margin: 0 6px 6px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.chips .chip { padding: 6px 14px; border-radius: 999px; border: 2px solid var(--line); background: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.chips .chip.is-on { border-color: var(--brand); background: var(--brand); color: #fff; }
.nextsale { padding: 20px; border-radius: var(--radius); background: linear-gradient(135deg, var(--brand-dark), var(--brand-2)); color: #fff; }
.nextsale:empty { display: none; }
.nextsale p { margin: 0 0 6px; }
.nextsale__en { font-family: var(--en); font-weight: 900; letter-spacing: .12em; font-size: 12px; color: var(--yellow); }
.nextsale__name { font-size: 22px; font-weight: 900; }
.nextsale b { font-size: 26px; color: var(--yellow); }
.nextsale .btn { margin-top: 8px; width: auto; }
.cal { width: 100%; border-collapse: collapse; min-width: 620px; }
.cal th, .cal td { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 14px; }
.cal thead th { background: var(--brand-dark); color: #fff; }
.cal tbody th { white-space: nowrap; }
.cal td small { display: block; color: var(--muted); }
.cal__more { margin-left: 8px; font-size: 13px; }
.cal__ex { color: var(--text-2); font-size: 13px; }
.salenotify { padding: 18px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.salenotify .btn { width: auto; min-width: 260px; }
.salenotify__msg { font-weight: 700; color: var(--good); min-height: 1.5em; }
/* 記事：この商品を使っていますか？／更新履歴 */
.usebox { margin: 24px 0; padding: 18px; border-radius: var(--radius); background: #f3fbf7; border: 2px solid #c9ecd9; text-align: center; }
.usebox__q { margin: 0 0 10px; font-weight: 900; font-size: 17px; }
.usebox__btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.usebox__btn { min-width: 140px; padding: 10px 16px; border-radius: 999px; border: 2px solid var(--good); background: #fff; color: var(--good); font: inherit; font-weight: 900; cursor: pointer; }
.usebox__btn.is-on { background: var(--good); color: #fff; }
.usebox__btn b { font-family: var(--en); }
.usebox__note { margin: 10px 0 0; color: var(--muted); font-size: 12px; }
.history { margin: 24px 0; padding: 12px 16px; border-radius: 10px; background: var(--bg); font-size: 14px; }
.history summary { cursor: pointer; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.history summary .ic { width: 16px; height: 16px; }
.history ul { margin: 10px 0 0; padding-left: 1.2em; }
.history time { display: inline-block; min-width: 7.5em; color: var(--muted); font-family: var(--en); }
/* 記事の中から診断・ツールへ */
.toollink { display: flex; align-items: center; gap: 12px; margin: 20px 0; padding: 14px 16px; border-radius: var(--radius); border: 2px dashed var(--brand); background: var(--brand-soft); text-decoration: none; color: inherit; }
.toollink__tag { flex: none; padding: 2px 8px; border-radius: 4px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 900; }
.toollink b { display: block; color: var(--brand-dark); }
.toollink span { font-size: 14px; }

/* ニセ警察詐欺：チェックと家族に送るカード（広告なし） */
.sagi-list { display: grid; gap: 6px; margin: 10px 0 14px; }
.sagi-q { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border-radius: 8px; background: var(--bg); cursor: pointer; font-weight: 700; }
.sagi-q input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--red); }
.sagi-q:has(input:checked) { outline: 2px solid var(--red); background: #fff0f3; }
.sagi-red { color: var(--red) !important; }
.sagi-never { padding-left: 1.2em; }
.sagi-never li { margin: 4px 0; }
.sagi-do { padding-left: 1.4em; font-size: 16px; }
.sagi-do li { margin: 6px 0; }
.sagicard { max-width: 560px; margin: 0 auto; padding: 22px; border-radius: 14px; border: 4px solid var(--red); background: #fff; }
.sagicard__head { margin: 0 0 6px; font-size: 24px; font-weight: 900; color: var(--red); text-align: center; }
.sagicard__sub { margin: 14px 0 4px; font-weight: 900; font-size: 17px; }
.sagicard__never, .sagicard__do { margin: 0; padding-left: 1.4em; font-size: 16px; line-height: 1.8; }
.sagicard__note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.sagicard__share { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 18px 0; }
.sagicard__share .btn { width: auto; min-width: 180px; flex: none; }
@media print {
  .header, .gnav, .ticker, .crumbs, .footer, .sidebar, .layout__side, .pagehead, .tool__lead, .tool__note, .sagicard__share, .totop, .sticky-buy { display: none !important; }
  .sagicard { border-width: 3px; }
}
.sagi-do, .sagicard__do { list-style: decimal; }
.sagi-never, .sagicard__never { list-style: disc; }
.sagi-do li::marker, .sagicard__do li::marker { font-weight: 900; color: var(--red); }
