/*
Theme Name: マネッポ FX
Theme URI: https://fx.maneppo.com/
Author: Ordinal Online
Author URI: https://ordinal-online.com/
Description: マネッポ（Maneppo）の「FX」サイト（https://fx.maneppo.com/）専用テーマ。為替レート一覧・通貨ペアのチャートとテクニカル指標。pips損益・必要証拠金の計算と、市場の時間帯の表示つき。
Version: 2.6.0
Requires at least: 6.4
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: maneppo-fx
*/

/* ============================================================
 * トークン（DADS：Color/Key・SolidGray・Semantic）
 * ========================================================== */
:root {
	--white: #ffffff;
	--g50: #f2f2f2;
	--g100: #e6e6e6;
	--g420: #949494;
	--g536: #767676;
	--g600: #666666;
	--g800: #333333;
	--key: #3460fb;      /* Key/600 アクセント・リンク */
	--key-50: #e8f1fe;   /* Key/50 */
	--key-100: #d9e6ff;  /* Key/100 */
	--key-900: #0017c1;  /* Key/900 ボタン */
	--key-1000: #00118f; /* Key/1000 ボタンhover */
	--up: #197a4b;       /* Success/2（白地の文字でAA） */
	--up-bg: #259d63;    /* Success/1 */
	--down: #ec0000;     /* Error/1 */
	--down-bg: #ce0000;  /* Error/2 */
	--star: #e2a50a;
	--font: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	--wrap: 1240px;
	--gut: 20px;
	--r: 8px;
	--r-lg: 12px;
	--head-h: 64px;
	--shadow: 0 2px 8px rgba(0, 0, 0, .06);
	--bg: #ffffff;           /* ページ背景（カード面は --white） */
	--key-900-ink: #0017c1;  /* 文字・枠に使うKey/900 */
	--btn-bg: #0017c1;       /* ボタン背景 */
	--btn-bg-h: #00118f;
	--btn-fg: #ffffff;
	--hover: #fafafa;        /* 表の行ホバー */
	--best-bg: #f6fbf8;      /* 最良の行 */
	--ok-bg: #e6f5ec;
	--ng-bg: #fdeeee;
	--scrim: rgba(0, 0, 0, .06);
	color-scheme: light;
}

:root[data-theme="dark"] {
	--bg: #0b0e14;
	--white: #141922;
	--g50: #1b212d;
	--g100: #2a3242;
	--g420: #5b6577;
	--g536: #9aa5b8;
	--g600: #aeb8c9;
	--g800: #e8ebf2;
	--key: #86a0ff;
	--key-50: #1a2340;
	--key-100: #27346a;
	--key-900: #0017c1;
	--key-1000: #00118f;
	--key-900-ink: #a5b8ff;
	--btn-bg: #3460fb;
	--btn-bg-h: #2a4fdb;
	--btn-fg: #ffffff;
	--up: #3ddc97;
	--down: #ff6b6b;
	--star: #f2b929;
	--shadow: 0 2px 10px rgba(0, 0, 0, .45);
	--hover: #1a202b;
	--best-bg: #14281f;
	--ok-bg: #123524;
	--ng-bg: #3a1a1d;
	--scrim: rgba(255, 255, 255, .06);
	color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--bg: #0b0e14;
		--white: #141922;
		--g50: #1b212d;
		--g100: #2a3242;
		--g420: #5b6577;
		--g536: #9aa5b8;
		--g600: #aeb8c9;
		--g800: #e8ebf2;
		--key: #86a0ff;
		--key-50: #1a2340;
		--key-100: #27346a;
		--key-900: #0017c1;
		--key-1000: #00118f;
		--key-900-ink: #a5b8ff;
		--btn-bg: #3460fb;
		--btn-bg-h: #2a4fdb;
		--btn-fg: #ffffff;
		--up: #3ddc97;
		--down: #ff6b6b;
		--star: #f2b929;
		--shadow: 0 2px 10px rgba(0, 0, 0, .45);
		--hover: #1a202b;
		--best-bg: #14281f;
		--ok-bg: #123524;
		--ng-bg: #3a1a1d;
		--scrim: rgba(255, 255, 255, .06);
		color-scheme: dark;
	}
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 56px); }
body { margin: 0; background: var(--bg); color: var(--g800); font-family: var(--font); font-size: 16px; line-height: 1.7; letter-spacing: .02em; }
img { max-width: 100%; height: auto; }
a { color: var(--key); text-underline-offset: 3px; }
a:hover { color: var(--key-900-ink); }
:focus-visible { outline: 3px solid #f5b500; outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.5; margin: 0; font-weight: 700; }
p { margin: 0 0 1em; }
button { font: inherit; letter-spacing: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; letter-spacing: 0; }
.is-up { color: var(--up); }
.is-down { color: var(--down); }
.is-flat { color: var(--g536); }
.is-key { color: var(--key); }
.muted { color: var(--g536); }
.sm-only { display: none; }
.stamp { font-size: .8125rem; color: var(--g536); margin: 8px 0 0; }
.pct { font-weight: 700; white-space: nowrap; }

/* ============================================================
 * 相場ストリップ（最上部）
 * ========================================================== */
.strip { border-bottom: 1px solid var(--g100); font-size: .8125rem; color: var(--g600); }
.strip__in { display: flex; gap: 24px; align-items: center; min-height: 36px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.strip__in::-webkit-scrollbar { display: none; }
.strip b { color: var(--g800); font-weight: 700; }
.strip a { color: var(--g600); text-decoration: none; }
.strip a:hover { color: var(--key); }
.strip .pct { font-size: .8125rem; }

/* ============================================================
 * ヘッダー
 * ========================================================== */
.site-head { background: var(--white); border-bottom: 1px solid var(--g100); position: sticky; top: 0; z-index: 50; }
.site-head__in { display: flex; align-items: center; gap: 28px; min-height: var(--head-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--g800); font-weight: 700; font-size: 1.125rem; white-space: nowrap; }
.brand:hover { color: var(--g800); }
.brand img { max-height: 32px; width: auto; }
.brand__mark { flex: 0 0 auto; display: block; }
.brand__word { font-size: 1.1875rem; font-weight: 700; letter-spacing: -.01em; }
.brand__word span { color: var(--key); }
.nav__list, .nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav a { display: block; padding: 8px 12px; color: var(--g800); text-decoration: none; font-size: .9375rem; font-weight: 700; border-radius: var(--r); }
.nav a:hover { background: var(--g50); color: var(--g800); }
.nav .current-menu-item > a, .nav a[aria-current="page"] { color: var(--key); }
.head-search { margin-left: auto; position: relative; }
.head-search input { width: 260px; height: 40px; padding: 0 14px 0 38px; border: 1px solid transparent; border-radius: var(--r); font: inherit; font-size: .875rem; background: var(--g50); color: var(--g800); }
.head-search input:focus { background: var(--white); border-color: var(--key); outline: none; box-shadow: 0 0 0 3px var(--key-100); }
.head-search .ico { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--g536); pointer-events: none; }
.head-actions { display: none; margin-left: auto; gap: 4px; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; background: none; color: var(--g800); border-radius: var(--r); cursor: pointer; }
.icon-btn:hover { background: var(--g50); }

/* ============================================================
 * パンくず・ページ見出し
 * ========================================================== */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; margin: 16px 0 0; padding: 0; font-size: .8125rem; color: var(--g536); }
.crumbs li + li::before { content: "›"; margin: 0 8px; color: var(--g420); }
.crumbs a { color: var(--g600); text-decoration: none; }
.crumbs a:hover { color: var(--key); text-decoration: underline; }
.page-head { padding: 20px 0 4px; }
.page-head h1 { font-size: clamp(1.5rem, 2.6vw, 2rem); word-break: keep-all; overflow-wrap: anywhere; }
.page-head__lead { color: var(--g600); margin: 8px 0 0; max-width: 52em; font-size: .9375rem; }

/* ============================================================
 * セクション
 * ========================================================== */
.sec { margin: 40px 0; }
.sec__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.sec__head h2 { font-size: 1.25rem; }
.sec__more { font-size: .875rem; font-weight: 700; white-space: nowrap; text-decoration: none; }
.sec__more:hover { text-decoration: underline; }
.panel { background: var(--white); border: 1px solid var(--g100); border-radius: var(--r-lg); }
.panel--pad { padding: 20px; }
.card { background: var(--white); border: 1px solid var(--g100); border-radius: var(--r-lg); box-shadow: var(--shadow); }

/* 当サイトの独自観測 */

/* ============================================================
 * ボタン・チップ・セグメント（DADS Button準拠）
 * ========================================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 8px 20px; border-radius: var(--r); background: var(--btn-bg); color: var(--btn-fg); text-decoration: none; font-weight: 700; font-size: .9375rem; border: 1px solid var(--btn-bg); cursor: pointer; font-family: inherit; line-height: 1.4; text-align: center; }
.btn:hover { background: var(--btn-bg-h); border-color: var(--btn-bg-h); color: var(--btn-fg); text-decoration: underline; }
.btn--ghost { background: var(--white); color: var(--key-900-ink); }
.btn--ghost:hover { background: var(--key-50); color: var(--key-900-ink); }
.btn--sm { min-height: 32px; padding: 4px 12px; font-size: .8125rem; }
.btn--lg { min-height: 52px; font-size: 1rem; }
.btn--block { width: 100%; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; min-height: 32px; padding: 3px 14px; border: 1px solid var(--key-900-ink); border-radius: var(--r); background: var(--white); color: var(--key-900-ink); font-size: .8125rem; font-weight: 700; cursor: pointer; white-space: nowrap; }
.chip:hover { background: var(--key-50); }
.chip.is-on { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-fg); }
.seg { display: inline-flex; gap: 2px; padding: 2px; background: var(--g50); border-radius: var(--r); }
.seg button, .seg a { border: 0; background: none; padding: 5px 12px; border-radius: 6px; font-size: .8125rem; font-weight: 700; color: var(--g600); cursor: pointer; text-decoration: none; white-space: nowrap; }
.seg button[aria-pressed="true"], .seg a[aria-current="true"] { background: var(--white); color: var(--g800); box-shadow: 0 1px 3px var(--scrim); }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; padding: 1px 8px; border-radius: 6px; background: var(--g50); color: var(--g600); text-decoration: none; white-space: nowrap; }
a.tag:hover { background: var(--key-50); color: var(--key); }
.rank-chip { display: inline-block; font-size: .8125rem; font-weight: 700; padding: 1px 8px; border-radius: 6px; background: var(--g50); color: var(--g600); }

/* ============================================================
 * 表（CMC型）
 * ========================================================== */
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.tbl th { text-align: left; font-weight: 700; font-size: .8125rem; color: var(--g800); padding: 10px; border-top: 1px solid var(--g100); border-bottom: 1px solid var(--g100); white-space: nowrap; background: var(--white); line-height: 1.4; }
.tbl th small { font-weight: 400; color: var(--g536); }
.tbl th button { border: 0; background: none; padding: 0; font: inherit; color: inherit; cursor: pointer; white-space: nowrap; }
.tbl th button:hover { color: var(--key); }
.tbl th[aria-sort] button::after { content: "▼"; font-size: .625rem; margin-left: 4px; color: var(--key); }
.tbl th[aria-sort="ascending"] button::after { content: "▲"; }
.tbl td { padding: 14px 10px; border-bottom: 1px solid var(--g100); vertical-align: middle; }
.tbl tbody tr:hover { background: var(--hover); }
.tbl .r { text-align: right; }
.tbl .c-rank { width: 44px; color: var(--g536); text-align: left; }
.tbl-wrap .tbl { min-width: 560px; }
.coin-cell { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--g800); min-width: 0; }
.coin-cell:hover b { color: var(--key); }
.coin-cell__txt { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.coin-cell b { font-weight: 700; white-space: nowrap; }
.coin-cell small { color: var(--g536); font-size: .8125rem; }
.coin-icon { border-radius: 50%; flex: 0 0 auto; }
.coin-icon--blank { display: inline-grid; place-items: center; background: var(--g100); color: var(--g600); font-size: .75rem; font-weight: 700; }
.ex-badge { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--g800); white-space: nowrap; }
.ex-badge img { width: 20px; height: 20px; border-radius: 50%; }
.ex-cell { text-decoration: none; }
.ex-cell:hover .ex-badge { color: var(--key); }
.ex-cell__sub { display: block; color: var(--g536); font-size: .75rem; margin-top: 2px; }
.best-tag { display: inline-block; font-size: .6875rem; font-weight: 700; color: #fff; background: var(--btn-bg); border-radius: 4px; padding: 0 6px; margin-left: 6px; }
.best-v { font-weight: 700; margin-left: 4px; }
.c-hl small { display: block; color: var(--g536); font-size: .8125rem; }
.c-act { white-space: nowrap; }
.c-act .btn + .btn { margin-left: 6px; }
.tbl--market .c-spark { width: 136px; }
.tbl--extra .c-hl { display: none; }
.tbl--market .c-best { min-width: 200px; }
.tbl tr.is-best-row td { background: var(--best-bg); }
.spark { display: inline-block; vertical-align: middle; }
.spark--none { width: 120px; height: 36px; }
.mkt__empty { padding: 24px 10px; color: var(--g536); text-align: center; margin: 0; }
.stars { color: var(--star); letter-spacing: 1px; font-size: .875rem; margin-left: 4px; }

/* ============================================================
 * トップ
 * ========================================================== */
.home-title { padding: 24px 0 0; }
.home-title h1 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.home-title p { color: var(--g600); margin: 6px 0 0; font-size: .9375rem; }
.hl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 20px 0 24px; }
.hl { padding: 14px 16px 8px; }
.hl__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 4px; }
.hl__head h2 { font-size: .9375rem; }
.hl__head a { font-size: .8125rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.hl ol { list-style: none; margin: 0; padding: 0; }
.hl li { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 7px 0; font-size: .875rem; }
.hl li > span:first-child { color: var(--g536); font-variant-numeric: tabular-nums; }
.hl li a { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--g800); text-decoration: none; font-weight: 700; }
.hl li a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hl li a:hover { color: var(--key); }
.hl li b { font-variant-numeric: tabular-nums; }
.hl__empty { color: var(--g536); font-size: .875rem; padding: 8px 0 12px; margin: 0; }
.mkt-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 8px; }
.mkt-bar .stamp { margin: 0; white-space: nowrap; }
.home-cols { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; align-items: start; }

/* ============================================================
 * 銘柄ページ（左に指標・右にチャートとマーケット）
 * ========================================================== */
.coin-layout { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 40px; align-items: start; margin-top: 16px; }
.coin-side { position: sticky; top: calc(var(--head-h) + 16px); display: grid; gap: 16px; }
.coin-id { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.coin-id h1 { font-size: 1.25rem; }
.coin-id .sym { color: var(--g536); font-size: .875rem; font-weight: 700; }
.coin-px { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.coin-px__v { font-size: clamp(1.75rem, 3vw, 2rem); font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.chg-chip { display: inline-flex; align-items: center; gap: 2px; padding: 3px 8px; border-radius: 6px; color: #fff; font-size: .875rem; font-weight: 700; white-space: nowrap; }
.chg-chip.is-up { background: var(--up); }
.chg-chip.is-down { background: var(--down-bg); }
.chg-chip.is-flat { background: var(--g600); }
.range__track { position: relative; height: 6px; background: var(--g100); border-radius: 3px; }
.range__fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--key); border-radius: 3px; }
.range__lbl { display: flex; justify-content: space-between; gap: 8px; font-size: .8125rem; color: var(--g600); margin-top: 6px; }
.range__lbl span:nth-child(2) { color: var(--g536); }
.stat-card { border: 1px solid var(--g100); border-radius: var(--r-lg); padding: 4px 16px; margin: 0; }
.stat-card > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--g100); font-size: .875rem; }
.stat-card > div:last-child { border-bottom: 0; }
.stat-card dt { color: var(--g600); }
.stat-card dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.stat-card dd small { font-weight: 400; color: var(--g536); }
.coin-side .pr-note { margin: -4px 0 0; }
.coin-side .crumbs ol { margin: 0; }
.chg-chip small { font-size: .75rem; font-weight: 700; opacity: .9; }
.tabs { position: sticky; top: var(--head-h); z-index: 20; background: var(--white); border-bottom: 1px solid var(--g100); display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { padding: 12px 0; color: var(--g600); text-decoration: none; font-weight: 700; font-size: .875rem; border-bottom: 3px solid transparent; white-space: nowrap; }
.tabs a:hover { color: var(--g800); }
.tabs a.is-on { color: var(--key); border-bottom-color: var(--key); }
.coin-main > .sec:first-of-type { margin-top: 24px; }

/* ============================================================
 * チャート
 * ========================================================== */
.chart__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.chart__note { font-size: .8125rem; color: var(--g536); }
.chart__range { display: none; }
.chart__range.is-on { display: block; }
.chart svg { display: block; width: 100%; height: 280px; }
.chart svg.is-up { color: var(--up-bg); }
.chart svg.is-down { color: var(--down); }
.chart__grid { stroke: var(--g100); stroke-dasharray: 3 4; }
.chart__axis { display: flex; justify-content: space-between; font-size: .75rem; color: var(--g536); margin-top: 4px; }
.chart__minmax { display: flex; justify-content: space-between; gap: 12px; font-size: .8125rem; color: var(--g600); margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--g100); }
.chart__minmax b { color: var(--g800); }

/* ============================================================
 * スプレッドバー（売値〜買値の幅）
 * ========================================================== */
.board { border: 1px solid var(--g100); border-radius: var(--r-lg); padding: 16px 20px 12px; }
.board__axis { display: flex; justify-content: space-between; font-size: .75rem; color: var(--g536); margin: 0 158px 4px 168px; }
.board__row { display: grid; grid-template-columns: 160px 1fr 150px; align-items: center; gap: 8px; padding: 9px 0; border-top: 1px solid var(--g100); }
.board__row:first-of-type { border-top: 0; }
.board__track { position: relative; height: 26px; background: repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), var(--g100) calc(25% - 1px) 25%); border-radius: 4px; }
.board__band { position: absolute; top: 7px; height: 12px; background: var(--g420); border-radius: 3px; min-width: 3px; }
.board__band::before, .board__band::after { content: ""; position: absolute; top: -5px; width: 2px; height: 22px; }
.board__band::before { left: -1px; background: var(--down); }
.board__band::after { right: -1px; background: var(--up); }
.board__row.is-best .board__band { background: var(--key); }
.board__vals { text-align: right; font-size: .8125rem; line-height: 1.35; color: var(--g600); }
.board__vals b { display: block; font-size: 1rem; color: var(--g800); }
.board__legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: .75rem; color: var(--g536); margin-top: 10px; }
.board__legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }

/* ============================================================
 * 2カラム（記事・取引所・ニュース）
 * ========================================================== */
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.aside > * + * { margin-top: 20px; }
.aside h2 { font-size: 1rem; margin-bottom: 10px; }

/* ============================================================
 * 本文
 * ========================================================== */
.prose { max-width: 46em; }
.prose h2 { font-size: 1.25rem; margin: 2em 0 .7em; padding-bottom: .4em; border-bottom: 1px solid var(--g100); }
.prose h3 { font-size: 1.0625rem; margin: 1.6em 0 .5em; }
.prose h2:first-child, .prose .toc + h2, .prose .byline + h2 { margin-top: 0; }
.prose .lead { font-size: 1.0625rem; font-weight: 500; line-height: 1.8; }
.prose .asof { font-size: .8125rem; color: var(--g536); margin-top: 1.6em; }
.prose .tbl-scroll { overflow-x: auto; }
.prose caption { text-align: left; font-size: .8125rem; color: var(--g536); padding-bottom: 6px; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose table { border-collapse: collapse; width: 100%; font-size: .9375rem; }
.prose th, .prose td { border: 1px solid var(--g100); padding: 8px 10px; text-align: left; }
.prose th { background: var(--g50); }
.prose blockquote { margin: 1.2em 0; padding: 4px 16px; border-left: 3px solid var(--g100); color: var(--g600); }
.page-body { margin-top: 16px; }
.toc { background: var(--g50); border-radius: var(--r); padding: 14px 18px; margin-bottom: 24px; }
.toc__title { font-weight: 700; margin: 0 0 6px; }
.toc ol { margin: 0; padding-left: 1.3em; }
.byline { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .8125rem; color: var(--g536); margin: 4px 0 16px; }
.byline b { color: var(--g600); font-weight: 700; }
.pending { border: 1px dashed var(--g420); border-radius: var(--r); padding: 16px 18px; color: var(--g600); font-size: .875rem; background: var(--g50); }

/* ============================================================
 * よくある質問
 * ========================================================== */
.faq details { border-bottom: 1px solid var(--g100); }
.faq summary { cursor: pointer; padding: 16px 32px 16px 0; font-weight: 700; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); color: var(--g600); font-weight: 700; }
.faq details[open] summary::after { content: "－"; }
.faq .faq__a { padding: 0 0 16px; color: var(--g600); }

/* ============================================================
 * 取引所
 * ========================================================== */
.score-big { font-size: 2.5rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.crit-list { display: grid; gap: 10px; }
.crit { display: grid; grid-template-columns: 76px 1fr 36px; gap: 10px; align-items: center; font-size: .8125rem; color: var(--g600); }
.crit__bar { height: 6px; background: var(--g100); border-radius: 3px; overflow: hidden; }
.crit__bar span { display: block; height: 100%; background: var(--key); }
.crit__v { text-align: right; font-weight: 700; color: var(--g800); font-variant-numeric: tabular-nums; }
.ex-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 28px; }

/* ============================================================
 * 口コミ
 * ========================================================== */
.reviews { display: grid; gap: 12px; }
.review { border: 1px solid var(--g100); border-radius: var(--r-lg); padding: 14px 18px; }
.review__head { display: flex; justify-content: space-between; gap: 10px; font-size: .8125rem; color: var(--g536); margin-bottom: 6px; }
.review__head b { color: var(--g800); }
.review p { margin: 0; color: var(--g600); font-size: .9375rem; }
.rform { display: grid; gap: 14px; }
.rform label { display: grid; gap: 4px; font-size: .875rem; font-weight: 700; color: var(--g800); }
.rform select, .rform input, .rform textarea { width: 100%; min-width: 0; box-sizing: border-box; font: inherit; font-weight: 400; font-size: 1rem; padding: 10px 12px; border: 1px solid var(--g420); border-radius: var(--r); background: var(--white); color: var(--g800); }
.rform select:focus, .rform input:focus, .rform textarea:focus { outline: none; border-color: var(--key); box-shadow: 0 0 0 3px var(--key-100); }
.rform__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.notice-box { padding: 12px 16px; border-radius: var(--r); font-size: .9375rem; margin-bottom: 16px; }
.notice-box--ok { background: var(--ok-bg); color: var(--up); }
.notice-box--ng { background: var(--ng-bg); color: var(--down-bg); }

/* ============================================================
 * ニュース
 * ========================================================== */
.news-day + .news-day { margin-top: 28px; }
.news-day__date { font-size: 1rem; color: var(--g600); margin-bottom: 4px; }
.news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--g100); }
.news-list li { padding: 14px 0; border-bottom: 1px solid var(--g100); }
.news-list a { color: var(--g800); text-decoration: none; font-weight: 700; line-height: 1.6; }
.news-list a:hover { color: var(--key); text-decoration: underline; }
.news-list__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: .75rem; color: var(--g536); margin-top: 4px; }
.news-list__meta .has-sum { color: var(--key); font-weight: 700; }
.news-list__meta .tag { font-weight: 700; }
.summary { background: var(--key-50); border-radius: var(--r-lg); padding: 18px 22px; }
.summary__label { font-size: .8125rem; font-weight: 700; color: var(--key); margin-bottom: 8px; }
.summary p { max-width: 42em; }
.source { background: var(--g50); border-radius: var(--r); padding: 14px 18px; font-size: .875rem; color: var(--g600); }

/* ============================================================
 * 記事カード
 * ========================================================== */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.post-card a { text-decoration: none; color: var(--g800); }
.post-card a:hover h3 { color: var(--key); }
.post-card img { border-radius: var(--r); aspect-ratio: 16/9; object-fit: cover; width: 100%; background: var(--g50); }
.post-card h3 { font-size: 1rem; margin-top: 8px; }
.post-card time { font-size: .75rem; color: var(--g536); }
.data-card { display: block; text-decoration: none; color: var(--g800); padding: 20px; }
.data-card:hover { border-color: var(--key); color: var(--g800); }
.data-card h2 { font-size: 1.125rem; margin: 10px 0 6px; }
.data-card p { margin: 0; font-size: .875rem; color: var(--g600); }

/* ============================================================
 * マトリクス（独自データ）
 * ========================================================== */
.matrix td.cell { text-align: right; font-variant-numeric: tabular-nums; }
.matrix td.cell.is-min { background: var(--key-50); color: var(--key-900-ink); font-weight: 700; }
.method { font-size: .875rem; color: var(--g600); margin: 0; }
.method dt { font-weight: 700; color: var(--g800); margin-top: 10px; }
.method dt:first-child { margin-top: 0; }
.method dd { margin: 2px 0 0; }

/* ============================================================
 * 広告・PR
 * ========================================================== */
.pr-note { font-size: .75rem; color: var(--g536); margin: 8px 0 0; line-height: 1.6; }

/* ============================================================
 * フッター
 * ========================================================== */
.site-foot { margin-top: 72px; background: var(--g50); color: var(--g600); font-size: .8125rem; }
.site-foot a { color: var(--g800); text-decoration: none; }
.site-foot a:hover { color: var(--key); text-decoration: underline; }
.site-foot__in { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding: 40px var(--gut) 24px; }
.site-foot h2 { font-size: .875rem; color: var(--g800); margin-bottom: 10px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-foot__note { border-top: 1px solid var(--g100); padding: 16px var(--gut) 28px; font-size: .75rem; color: var(--g536); }

/* ============================================================
 * ページ送り
 * ========================================================== */
.pager { display: flex; gap: 6px; justify-content: center; margin: 28px 0; flex-wrap: wrap; }
.pager .page-numbers { min-width: 36px; padding: 6px 12px; border-radius: var(--r); text-decoration: none; color: var(--g800); font-weight: 700; text-align: center; }
.pager a.page-numbers:hover { background: var(--g50); }
.pager .current { background: var(--key-50); color: var(--key); }

/* ============================================================
 * 下部タブバー（スマホ）
 * ========================================================== */
.tabbar { display: none; }

/* ============================================================
 * レスポンシブ
 * ========================================================== */
@media (max-width: 1080px) {
	.tbl--market .c-hl { display: none; }
	.coin-layout { grid-template-columns: 300px minmax(0, 1fr); gap: 28px; }
	.head-search input { width: 200px; }
}
@media (max-width: 960px) {
	.coin-layout, .cols, .home-cols, .ex-hero { grid-template-columns: minmax(0, 1fr); }
	.coin-side { position: static; }
	.hl-grid { grid-template-columns: minmax(0, 1fr); }
	.hl-grid > .hl:nth-child(n+2) { display: none; }
	.site-foot__in { grid-template-columns: 1fr 1fr; }
	.tbl--market .c-7d, .tbl--market .c-cat { display: none; }
}
@media (max-width: 760px) {
	:root { --head-h: 56px; --gut: 16px; }
	body { padding-bottom: 64px; }
	.site-head__in { gap: 12px; }
	.head-actions { display: flex; }
	.head-search { display: none; position: absolute; left: 0; right: 0; top: var(--head-h); background: var(--white); border-bottom: 1px solid var(--g100); padding: 10px var(--gut); margin: 0; }
	.head-search.is-open { display: block; }
	.head-search input { width: 100%; }
	.head-search .ico { left: calc(var(--gut) + 12px); }
	.nav { display: none; position: absolute; left: 0; right: 0; top: var(--head-h); background: var(--white); border-bottom: 1px solid var(--g100); padding: 4px var(--gut) 12px; }
	.nav.is-open { display: block; }
	.nav__list, .nav ul { flex-direction: column; }
	.nav a { padding: 12px 4px; border-bottom: 1px solid var(--g100); border-radius: 0; }
	.strip__in { gap: 16px; min-height: 32px; }
	.sec { margin: 32px 0; }
	.home-title h1 { font-size: 1.5rem; }
	.hl-grid { margin: 16px 0; }

	/* ランキング：1行リスト（アイコン・名前・7日・価格／24時間） */
	.tbl-wrap .tbl.tbl--market { min-width: 0; }
	.tbl--market thead { display: none; }
	.tbl--market .c-24h, .tbl--market .c-best, .tbl--market .c-nex { display: none; }
	.tbl--market, .tbl--market tbody { display: block; }
	.tbl--market tr { display: flex; align-items: center; gap: 6px; border-bottom: 1px solid var(--g100); }
	.tbl--market tr[hidden] { display: none; }
	.tbl--market td { display: block; padding: 12px 0; border-bottom: 0; }
	.tbl--market td.c-rank { order: 1; flex: 0 0 22px; }
	.tbl--market td.c-name { order: 2; flex: 1 1 auto; min-width: 0; }
	.tbl--market td.c-spark { order: 3; flex: 0 0 72px; }
	.tbl--market td.c-price { order: 4; flex: 0 0 108px; width: 108px; }
	.tbl--market td.c-spark { width: 72px; }
	.tbl--market .c-rank { width: 26px; font-size: .8125rem; }
	.tbl--market .c-spark { width: 80px; }
	.tbl--market .spark { width: 72px; height: 28px; }
	.tbl--market .spark--none { width: 72px; height: 28px; }
	.tbl--market .c-price { width: 1%; white-space: nowrap; }
	.tbl--market .c-price b { display: block; font-size: .875rem; }
	.tbl--market .c-price .pct { font-size: .8125rem; }
	.tbl--market .sm-only { display: block; }
	.tbl--market .coin-cell__txt { flex-direction: column; align-items: flex-start; gap: 0; line-height: 1.4; }
	.tbl--market .coin-cell b { font-size: .875rem; display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
	.tbl--market .coin-cell small { font-size: .75rem; }
	.mkt-bar { flex-direction: column; align-items: stretch; gap: 8px; }
	.mkt-bar .stamp { white-space: normal; }

	.tbl--ex .c-hide-sm, .tbl--mk .c-hide-sm { display: none; }
	.tbl-wrap .tbl.tbl--mk { min-width: 0; }
	.tbl--ex .ex-cell__sub { display: none; }
	.tbl-wrap .tbl.tbl--ex { min-width: 0; }
	.tbl th, .tbl td { padding: 10px 6px; }

	.board { padding: 12px; }
	.board__axis { margin: 0 0 4px; }
	.board__row { grid-template-columns: 1fr auto; grid-template-areas: "name vals" "track track"; }
	.board__row > :nth-child(1) { grid-area: name; }
	.board__row > :nth-child(2) { grid-area: track; }
	.board__row > :nth-child(3) { grid-area: vals; }
	.chart svg { height: 200px; }
	.tabs { gap: 20px; }
	.rform__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-foot__in { grid-template-columns: 1fr; }

	.tabbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--white); border-top: 1px solid var(--g100); padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); justify-content: space-around; }
	.tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; text-decoration: none; color: var(--g600); font-size: .6875rem; font-weight: 700; padding: 2px 0; }
	.tabbar a[aria-current="page"] { color: var(--key); }
}
@media (prefers-reduced-motion: reduce) {
	* { scroll-behavior: auto !important; transition: none !important; }
}

/* ============================================================
 * 広告枠（CoinMarketCap型：角丸のカード・右下に「広告」）
 * ========================================================== */
.ad { position: relative; margin: 20px 0; }
.ad__item { position: relative; display: flex; justify-content: center; align-items: center; overflow: hidden; border: 1px solid var(--g100); border-radius: var(--r-lg); background: var(--white); }
.ad__item + .ad__item { margin-top: 12px; }
.ad__link { display: block; line-height: 0; width: 100%; }
.ad__link img { display: block; width: 100%; height: auto; max-height: 360px; object-fit: contain; }
.ad__tag { position: absolute; right: 8px; bottom: 8px; z-index: 2; padding: 1px 8px; border-radius: 999px; background: rgba(51, 51, 51, .72); color: #fff; font-size: .6875rem; font-weight: 700; line-height: 1.6; letter-spacing: .04em; pointer-events: none; }
.ad--leader .ad__item, .ad--foot .ad__item { min-height: 90px; max-width: 970px; margin-left: auto; margin-right: auto; }
.ad--foot { margin: 28px 0 0; }
.ad--sidebar .ad__item { min-height: 250px; }
.ad--home_card { margin: 0; }
.ad--home_card .ad__item { height: 100%; min-height: 250px; }
.ad--inline .ad__item { max-width: 728px; margin-left: auto; margin-right: auto; }
.ad__item.is-pc { display: none; }
.ad__item.is-sp { display: flex; }
@media (min-width: 761px) {
	.ad__item.is-pc { display: flex; }
	.ad__item.is-sp { display: none; }
}
/* 口座開設カード */
.ad__cta { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 250px; padding: 24px 20px 32px; text-align: center; text-decoration: none; color: var(--g800); }
.ad__cta:hover { background: var(--key-50); color: var(--g800); }
.ad__cta-logo img { width: 56px; height: 56px; border-radius: 50%; display: block; }
.ad__cta-name { font-size: .8125rem; font-weight: 700; color: var(--g600); }
.ad__cta-head { font-size: 1.25rem; line-height: 1.4; }
.ad__cta-sub { font-size: .875rem; color: var(--g600); }
.ad__cta-btn { margin-top: 8px; display: inline-flex; align-items: center; min-height: 44px; padding: 8px 24px; border-radius: var(--r); background: var(--btn-bg); color: var(--btn-fg); font-weight: 700; }
/* スポンサーリンク（ピル） */
.ad--chips { margin: 0 0 20px; }
.ad--list { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ad--list .ad__item { display: inline-flex; width: auto; border: 1px solid var(--key-900-ink); border-radius: 999px; padding: 4px 6px 4px 14px; min-height: 36px; background: var(--white); }
.ad--list .ad__item + .ad__item { margin-top: 0; }
.ad--list .ad__tag { position: static; margin-left: 8px; background: var(--g50); color: var(--g600); pointer-events: none; }
.ad__chip { font-weight: 700; font-size: .875rem; color: var(--key-900-ink); text-decoration: none; }
.ad__chip:hover { text-decoration: underline; }
/* 未設定の枠（管理者にだけ表示） */
.ad--empty .ad__ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 100%; min-height: 90px; padding: 12px; border: 2px dashed var(--g420); border-radius: var(--r-lg); color: var(--g600); text-align: center; font-size: .875rem; }
.ad--empty .ad__ph small { font-size: .75rem; }
.ad--home_card.ad--empty .ad__ph, .ad--sidebar.ad--empty .ad__ph { min-height: 250px; }
/* トップ：ハイライト3枚＋広告 */
@media (min-width: 1100px) {
	.hl-grid--ad { grid-template-columns: repeat(3, minmax(0, 1fr)) 336px; }
}
@media (min-width: 761px) and (max-width: 1099px) {
	.hl-grid--ad > .ad { grid-column: 1 / -1; }
	.hl-grid--ad > .ad .ad__item { min-height: 120px; }
}
@media (max-width: 760px) {
	.hl-grid--ad > .ad { margin-top: 0; }
	.ad--home_card .ad__item { min-height: 0; }
}
@media (max-width: 760px) {
	.ad--sidebar { display: none; }
}

/* ダークモード切替ボタン：いまの表示と反対のアイコンを出す */
.theme-toggle { flex: 0 0 auto; margin-left: -12px; }
.theme-ico { display: inline-grid; place-items: center; }
.theme-ico--sun { display: none; }
:root[data-theme="dark"] .theme-ico--moon { display: none; }
:root[data-theme="dark"] .theme-ico--sun { display: inline-grid; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .theme-ico--moon { display: none; }
	:root:not([data-theme="light"]) .theme-ico--sun { display: inline-grid; }
}
@media (max-width: 760px) {
	.theme-toggle { margin-left: 0; }
}
/* ダークモードの細部 */
:root[data-theme="dark"] img.coin-icon, :root[data-theme="dark"] .ex-badge img { background: #fff; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) img.coin-icon, :root:not([data-theme="light"]) .ex-badge img { background: #fff; }
}
/* 参考価格（CoinGecko）の印 */
.ref-tag { display: inline-block; margin-left: 4px; padding: 0 5px; border: 1px solid var(--g420); border-radius: 4px; font-size: .625rem; font-weight: 700; color: var(--g600); vertical-align: middle; line-height: 1.5; }

/* ============================================================
 * ヒートマップ
 * ========================================================== */
.hm { margin: 16px 0 8px; --h-d3: #b3261e; --h-d2: #d9443a; --h-d1: #e98a83; --h-n0: #8a94a6; --h-u1: #6cc49a; --h-u2: #259d63; --h-u3: #127a46; --h-na: #b7bfcc; }
:root[data-theme="dark"] .hm { --h-d3: #a1221b; --h-d2: #c43a31; --h-d1: #7d3a37; --h-n0: #3b4352; --h-u1: #2c6b4c; --h-u2: #1f8a55; --h-u3: #13a05c; --h-na: #2a3242; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .hm { --h-d3: #a1221b; --h-d2: #c43a31; --h-d1: #7d3a37; --h-n0: #3b4352; --h-u1: #2c6b4c; --h-u2: #1f8a55; --h-u3: #13a05c; --h-na: #2a3242; }
}
.hm__bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.hm__legend { display: flex; flex-wrap: wrap; gap: 2px; margin: 0; padding: 0; list-style: none; font-size: .6875rem; }
.hm__legend li { padding: 2px 8px; color: #fff; font-weight: 700; }
.hm__legend li:first-child { border-radius: 4px 0 0 4px; }
.hm__legend li:last-child { border-radius: 0 4px 4px 0; }
.h-d3 { background: var(--h-d3); } .h-d2 { background: var(--h-d2); } .h-d1 { background: var(--h-d1); } .h-n0 { background: var(--h-n0); } .h-u1 { background: var(--h-u1); } .h-u2 { background: var(--h-u2); } .h-u3 { background: var(--h-u3); }
.hm__map { position: relative; width: 100%; overflow: hidden; border-radius: var(--r-lg); background: var(--g100); }
.hm__map--pc { aspect-ratio: 1000 / 560; }
.hm__map--sp { aspect-ratio: 360 / 640; display: none; }
@media (max-width: 760px) {
	.hm__map--pc { display: none; }
	.hm__map--sp { display: block; }
}
.hm__t { position: absolute; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; overflow: hidden; border: 1px solid var(--bg); color: #fff; text-decoration: none; text-align: center; line-height: 1.15; background: var(--h-na); transition: filter .15s; }
.hm__t:hover, .hm__t:focus-visible { filter: brightness(1.12); color: #fff; z-index: 2; outline: 2px solid #fff; outline-offset: -2px; }
.hm[data-mode="24"] .hm__t[data-c24="d3"], .hm[data-mode="7"] .hm__t[data-c7="d3"] { background: var(--h-d3); }
.hm[data-mode="24"] .hm__t[data-c24="d2"], .hm[data-mode="7"] .hm__t[data-c7="d2"] { background: var(--h-d2); }
.hm[data-mode="24"] .hm__t[data-c24="d1"], .hm[data-mode="7"] .hm__t[data-c7="d1"] { background: var(--h-d1); }
.hm[data-mode="24"] .hm__t[data-c24="n0"], .hm[data-mode="7"] .hm__t[data-c7="n0"] { background: var(--h-n0); }
.hm[data-mode="24"] .hm__t[data-c24="u1"], .hm[data-mode="7"] .hm__t[data-c7="u1"] { background: var(--h-u1); }
.hm[data-mode="24"] .hm__t[data-c24="u2"], .hm[data-mode="7"] .hm__t[data-c7="u2"] { background: var(--h-u2); }
.hm[data-mode="24"] .hm__t[data-c24="u3"], .hm[data-mode="7"] .hm__t[data-c7="u3"] { background: var(--h-u3); }
.hm__s { font-weight: 800; }
.hm__p { font-weight: 600; opacity: .95; }
.hm__v { font-size: .75em; opacity: .85; }
.hm[data-mode="24"] .hm__p--7, .hm[data-mode="7"] .hm__p--24 { display: none; }
.hm--xl .hm__s { font-size: 2rem; } .hm--xl .hm__p { font-size: 1.125rem; } .hm--xl .hm__v { font-size: .9375rem; }
.hm--l .hm__s { font-size: 1.375rem; } .hm--l .hm__p { font-size: .9375rem; } .hm--l .hm__v { font-size: .8125rem; }
.hm--m .hm__s { font-size: 1rem; } .hm--m .hm__p { font-size: .75rem; } .hm--m .hm__v { display: none; }
.hm--s .hm__s { font-size: .75rem; } .hm--s .hm__p { font-size: .625rem; } .hm--s .hm__v { display: none; }
.hm--xs .hm__s { font-size: .5625rem; } .hm--xs .hm__p, .hm--xs .hm__v { display: none; }
@media (max-width: 760px) {
	.hm--xl .hm__s { font-size: 1.5rem; } .hm--l .hm__s { font-size: 1.0625rem; } .hm--m .hm__s { font-size: .8125rem; } .hm--s .hm__p { display: none; }
}
.hm-sum { margin: 14px 0 0; font-weight: 600; }
.hm-movers { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 16px; }
.hm-movers__c h2 { font-size: 1rem; margin: 0 0 8px; }
.hm-movers__c ol { margin: 0; padding-left: 1.4em; }
.hm-movers__c li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--g100); }
.hm-movers__c li:last-child { border-bottom: 0; }

/* ============================================================
 * テクニカル指標・恐怖と強欲
 * ========================================================== */
.ta { --fg-xf: #c62828; --fg-f: #ef8a3c; --fg-n: #b7bfcc; --fg-g: #7cc47f; --fg-xg: #1f9d55; }
.ta__top { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.ta-card { border: 1px solid var(--g100); border-radius: var(--r-lg); background: var(--white); padding: 16px; text-align: center; }
.ta-card__h { margin: 0 0 4px; font-size: .9375rem; }
.ta-card__note { margin: 6px 0 0; font-size: .75rem; color: var(--g600); text-align: left; }
.fg-gauge { display: block; width: 100%; max-width: 260px; height: auto; margin: 0 auto; }
.fg-seg { fill: none; stroke-width: 16; stroke-linecap: butt; }
.fg-xf { stroke: var(--fg-xf); } .fg-f { stroke: var(--fg-f); } .fg-n { stroke: var(--fg-n); } .fg-g { stroke: var(--fg-g); } .fg-xg { stroke: var(--fg-xg); }
.fg-dot { fill: var(--white); stroke: var(--g800); stroke-width: 3; }
.fg-num { font-size: 34px; font-weight: 800; fill: var(--g800); }
.fg-lab { font-size: 13px; font-weight: 700; fill: var(--g600); }
.ta-hist { display: flex; justify-content: center; gap: 16px; margin: 8px 0 0; font-size: .8125rem; }
.ta-hist dt { color: var(--g600); font-size: .75rem; }
.ta-hist dd { margin: 0; }
.fg-t { display: inline-block; min-width: 2em; padding: 0 4px; border-radius: 4px; color: #fff; }
.fg-t.fg-xf { background: var(--fg-xf); } .fg-t.fg-f { background: var(--fg-f); } .fg-t.fg-n { background: var(--fg-n); color: #222; } .fg-t.fg-g { background: var(--fg-g); color: #0b2e15; } .fg-t.fg-xg { background: var(--fg-xg); }
.ta__sum { margin: 16px 0 8px; font-weight: 600; }
.tbl--ta th[scope="row"] { font-weight: 600; white-space: nowrap; }
.ta-st { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.ta-st--g { background: var(--ok-bg); color: var(--up); }
.ta-st--f { background: var(--ng-bg); color: var(--down); }
.ta-st--n { background: var(--g50); color: var(--g600); }
.tbl--ta td.num { white-space: nowrap; }

/* ============================================================
 * マネッポ：サイト群ナビ・相場帯・ブランド
 * ========================================================== */
.netbar { background: var(--g800); color: var(--bg); font-size: .8125rem; }
:root[data-theme="dark"] .netbar { background: #05070b; color: var(--g800); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .netbar { background: #05070b; color: var(--g800); } }
.netbar__in { display: flex; align-items: center; gap: 16px; min-height: 36px; overflow-x: auto; scrollbar-width: none; }
.netbar__in::-webkit-scrollbar { display: none; }
.netbar__home { font-weight: 800; color: inherit; text-decoration: none; white-space: nowrap; }
.netbar__list { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.netbar__list a { display: block; padding: 8px 10px; color: inherit; opacity: .78; text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; }
.netbar__list a:hover { opacity: 1; color: inherit; }
.netbar__list a[aria-current="true"] { opacity: 1; font-weight: 700; border-bottom-color: #FFC83D; }
.mstrip { border-bottom: 1px solid var(--g100); background: var(--white); font-size: .8125rem; }
.mstrip__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; overflow-x: auto; scrollbar-width: none; }
.mstrip__in::-webkit-scrollbar { display: none; }
.mstrip__list { display: flex; gap: 20px; margin: 0; padding: 0; list-style: none; }
.mstrip__list a { color: var(--g800); text-decoration: none; white-space: nowrap; }
.mstrip__list a:hover { color: var(--key-900-ink); }
.mstrip__n { color: var(--g600); }
.mstrip__src { color: var(--g536); font-size: .6875rem; white-space: nowrap; }
@media (max-width: 760px) { .mstrip__src { display: none; } }
.brand__word { font-weight: 800; letter-spacing: .02em; }
.brand__vert { margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--key-50); color: var(--key-900-ink); font-size: .75rem; font-weight: 700; white-space: nowrap; }
.home-kicker { margin: 0 0 4px !important; color: var(--key-900-ink) !important; font-weight: 700; font-size: .8125rem !important; letter-spacing: .04em; }
/* 記事中心のトップ */
.feat { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.feat__item a { display: block; height: 100%; padding: 0 0 12px; border: 1px solid var(--g100); border-radius: var(--r-lg); background: var(--white); overflow: hidden; color: var(--g800); text-decoration: none; }
.feat__item a:hover { border-color: var(--key); }
.feat__item img, .feat__ph { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.feat__ph { display: grid; place-items: center; background: var(--key-50); color: var(--key-900-ink); font-weight: 800; font-size: 1.25rem; }
.feat__item h3 { margin: 12px 14px 4px; font-size: 1.0625rem; line-height: 1.5; }
.feat__item p { margin: 0 14px; color: var(--g600); font-size: .8125rem; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-top: 24px; }
.cat-box .sec__head { margin-bottom: 4px; }
.cat-box .sec__head h2 { font-size: 1.0625rem; }
.cat-box__list { margin: 0; padding: 0; list-style: none; }
.cat-box__list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--g100); font-size: .9375rem; }
.cat-box__list li:last-child { border-bottom: 0; }
.cat-box__list time { color: var(--g536); font-size: .75rem; white-space: nowrap; }
.net-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.net-cards a { display: flex; flex-direction: column; gap: 4px; height: 100%; color: var(--g800); text-decoration: none; }
.net-cards a:hover { border-color: var(--key); }
.net-cards b { color: var(--key-900-ink); }
.net-cards span { color: var(--g600); font-size: .8125rem; }
.foot-sites { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
/* FX */
.coin-head { padding: 20px 0 8px; }
.coin-head h1 { font-size: clamp(1.25rem, 2.4vw, 1.75rem); }
.coin-price { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-top: 8px; }
.coin-price > b { font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.2; }
.fx-quote { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin: 12px 0 0; }
.fx-quote > div { padding: 10px 12px; border: 1px solid var(--g100); border-radius: var(--r); background: var(--white); }
.fx-quote dt { color: var(--g600); font-size: .75rem; }
.fx-quote dd { margin: 2px 0 0; font-weight: 700; }
.tag-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tag-links a { display: inline-block; padding: 6px 12px; border: 1px solid var(--g100); border-radius: 999px; background: var(--white); text-decoration: none; font-size: .875rem; }
.tag-links a:hover { border-color: var(--key); }
.pair-cell { text-align: left; font-weight: 400; white-space: nowrap; }
@media (max-width: 760px) { .feat__item img { aspect-ratio: 2 / 1; } .feat__ph { display: none; } }

/* ============================================================
 * マネッポ v2.1：トップ・記事・計算ツールの部品
 * ========================================================== */
.hero { padding-bottom: 8px; }
.hero .rate-chips { margin-top: 12px; }
.feat__cat, .art__cat { display: inline-block; margin: 12px 14px 0; padding: 1px 10px; border-radius: 999px; background: var(--key-50); color: var(--key-900-ink); font-size: .75rem; font-weight: 700; text-decoration: none; }
.art__cat { margin: 0 0 8px; }
a.art__cat:hover { background: var(--key-100); }
.feat__cat + h3 { margin-top: 6px; }

/* 段階の案内 */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.steps .card { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px; color: var(--g800); text-decoration: none; }
.steps a.card:hover { border-color: var(--key); }
.steps__n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--key); color: #fff; font-weight: 800; font-size: .875rem; }
.steps b { margin-top: 6px; font-size: 1rem; }
.steps span:last-child { color: var(--g600); font-size: .8125rem; }
@media (max-width: 760px) {
	.steps { gap: 8px; }
	.steps .card { display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; row-gap: 0; align-items: center; padding: 10px 14px; }
	.steps__n { grid-row: span 2; }
	.steps b { margin-top: 0; }
}

/* カテゴリの入口 */
.hubs { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.hub { padding: 16px 18px; }
.hub h3 { margin: 0 0 4px; font-size: 1.0625rem; }
.hub h3 a { color: var(--key-900-ink); text-decoration: none; }
.hub__desc { margin: 0 0 8px; color: var(--g600); font-size: .8125rem; line-height: 1.7; }
.hub__list { margin: 0; padding: 0; list-style: none; }
.hub__list li { padding: 7px 0; border-top: 1px solid var(--g100); font-size: .9375rem; line-height: 1.5; }
.hub__list a { color: var(--g800); text-decoration: none; }
.hub__list a:hover { color: var(--key); text-decoration: underline; }
.hub__more { display: inline-block; margin-top: 8px; font-size: .8125rem; font-weight: 700; }

/* 市場の取引時間 */
.mkt { padding: 16px 18px; }
.mkt h2 { margin: 0 0 8px; font-size: 1rem; }
.mkt__list { margin: 0; padding: 0; list-style: none; }
.mkt__list li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; padding: 8px 0; border-top: 1px solid var(--g100); }
.mkt__list li:first-child { border-top: 0; }
.mkt__list b { font-size: .9375rem; }
.mkt__st { justify-self: end; padding: 1px 10px; border-radius: 999px; background: var(--g50); color: var(--g600); font-size: .75rem; font-weight: 700; }
.mkt__st.is-on { background: var(--ok-bg); color: var(--up); }
.mkt__time { grid-column: 1 / -1; color: var(--g600); font-size: .8125rem; }
.mkt__time small { margin-left: 4px; color: var(--g536); }
.mkt__jst { font-weight: 700; color: var(--g800); }
.mkt__note { margin: 8px 0 0; color: var(--g536); font-size: .75rem; }

/* 為替のチップ */
.rate-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rate-chip { display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 12px; border: 1px solid var(--g100); border-radius: 999px; background: var(--white); font-size: .875rem; }
.rate-chip small { color: var(--g600); }

/* 2列（トップの上部） */
.split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* 記事 */
.art__head h1 { line-height: 1.45; }
.art__points { margin: 16px 0 20px; padding: 14px 18px; border-radius: var(--r-lg); background: var(--key-50); }
.art__points-h { margin: 0 0 6px; color: var(--key-900-ink); font-weight: 800; font-size: .875rem; }
.art__points ul { margin: 0; padding-left: 1.2em; }
.art__points li + li { margin-top: 4px; }
.art__points p:last-child { margin-bottom: 0; }
.art__fig { margin: 0 0 20px; }
.art__fig img { border-radius: var(--r-lg); width: 100%; height: auto; }
.aside-list { margin: 0; padding: 0; list-style: none; }
.aside-list li { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; border-top: 1px solid var(--g100); font-size: .9375rem; }
.aside-list li:first-child { border-top: 0; }
.related { margin-top: 32px; }
.notice-box { margin: 16px 0; padding: 14px 18px; border: 1px solid var(--g100); border-left: 4px solid var(--key); border-radius: var(--r); background: var(--white); font-size: .875rem; line-height: 1.8; }
.notice-box__h { margin: 0 0 4px; font-weight: 800; }
.notice-box p:last-child, .notice-box ul:last-child { margin-bottom: 0; }
.notice-box ul { margin: 0; padding-left: 1.2em; }
.notice-box--warn { border-left-color: var(--down); background: var(--ng-bg); }

/* 計算ツール */
.tool { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; margin: 16px 0 24px; border: 1px solid var(--g100); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow); overflow: hidden; }
.tool__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; padding: 18px; align-content: start; }
.tool__f { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tool__f--wide { grid-column: 1 / -1; }
.tool__f label { font-size: .8125rem; font-weight: 700; color: var(--g800); }
.tool__in { display: flex; align-items: center; border: 1px solid var(--g420); border-radius: var(--r); background: var(--bg); }
.tool__in:focus-within { border-color: var(--key); box-shadow: 0 0 0 3px var(--key-100); }
.tool__in input, .tool__in select { flex: 1; min-width: 0; width: 100%; padding: 9px 10px; border: 0; background: transparent; color: var(--g800); font: inherit; font-size: 1rem; font-variant-numeric: tabular-nums; outline: none; }
.tool__in span { padding: 0 10px 0 2px; color: var(--g600); font-size: .8125rem; white-space: nowrap; }
.tool__help { color: var(--g536); font-size: .6875rem; line-height: 1.5; }
.tool__result { padding: 18px; background: var(--key-50); }
.tool__r { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--key-100); font-size: .9375rem; }
.tool__r:last-child { border-bottom: 0; }
.tool__r span { color: var(--g600); }
.tool__r output { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.tool__r--big { flex-direction: column; align-items: flex-start; gap: 2px; }
.tool__r--big output { font-size: 1.5rem; line-height: 1.35; color: var(--key-900-ink); text-align: left; }
.tool__r--big output.up { color: var(--up); }
.tool__r--big output.down { color: var(--down); }
.tool__chart { margin-top: 12px; }
.tool__chart svg { display: block; width: 100%; height: auto; }
.tool__note { grid-column: 1 / -1; margin: 0; padding: 10px 18px; border-top: 1px solid var(--g100); color: var(--g536); font-size: .75rem; line-height: 1.7; }
.tool__list { margin: 8px 0 0; padding: 0; list-style: none; font-size: .8125rem; }
.tool__list li { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; }
@media (max-width: 760px) {
	.tool { grid-template-columns: 1fr; }
	.tool__fields { grid-template-columns: 1fr 1fr; padding: 14px; }
	.tool__result { padding: 14px; }
}
.tool-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.tool-card { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px 16px; color: var(--g800); text-decoration: none; }
.tool-card:hover { border-color: var(--key); }
.tool-card b { color: var(--key-900-ink); }
.tool-card b::before { content: "＝ "; color: var(--key); }
.tool-card span { color: var(--g600); font-size: .8125rem; }
.tool-page__prose { margin-top: 8px; }
.chart-bar { fill: var(--key); }
.chart-bar--sub { fill: var(--key-100); }
.chart-axis { fill: var(--g536); font-size: 11px; }

/* TradingView ウィジェット */
.tv { margin: 0 0 8px; }
.tv__box { position: relative; height: var(--tv-h, 400px); border: 1px solid var(--g100); border-radius: var(--r-lg); background: var(--white); overflow: hidden; }
.tv--ticker .tv__box { border-radius: var(--r); }
.tv__box .tradingview-widget-container__widget { height: 100%; }
.tv__loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--g536); font-size: .8125rem; }
.tv__credit { margin: 4px 2px 0; text-align: right; color: var(--g536); font-size: .6875rem; }
.tv__credit a { color: inherit; }
.mk-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 900px) { .mk-grid { grid-template-columns: 1fr; } }
.mk-grid .sec__head { margin-bottom: 8px; }
@media (max-width: 760px) { .tv:not(.tv--ticker) .tv__box { height: min(var(--tv-h, 400px), 440px); } }

/* 価格・指標のカード */
.quote-cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.quote-cards a { display: grid; gap: 2px; padding: 12px 14px; color: var(--g800); text-decoration: none; height: 100%; }
.quote-cards a:hover { border-color: var(--key); }
.quote-cards__name { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: .8125rem; }
.quote-cards__name b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.quote-cards__name small { color: var(--g536); white-space: nowrap; }
.quote-cards__px { font-size: 1.125rem; font-weight: 700; }
.quote-cards__pct { font-size: .8125rem; }
.quote-cards__sp svg { display: block; width: 100%; height: 30px; }
@media (max-width: 1100px) { .quote-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .quote-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .quote-cards__name small { display: none; } }
.quote-cards--macro li { display: grid; gap: 2px; padding: 12px 14px; }
.quote-cards--macro .quote-cards__pct small { color: var(--g536); font-weight: 400; }
.macro .stamp { margin-top: 8px; }

/* ============================================================
 * マネッポ v2.3 スキン
 * 配色：白ベース ＋ 紺（骨格・見出し）・赤（強調・上昇）・水色（リンク・選択）
 * 部品：写真主体の記事カード、線と余白で区切る見出し、大きな順位数字、角の小さい箱
 * 株価の上昇＝赤、下落＝青（日本の証券サイトの慣習）
 * ========================================================== */
:root {
	--navy: #0f2d5c;
	--navy-d: #0a2147;
	--navy-50: #eef2f8;
	--red: #e2231a;
	--red-50: #fff3f2;
	--sky: #1d9bd7;
	--sky-ink: #0b72ad;
	--sky-50: #ecf7fd;
	--sky-100: #d3ecf8;
	--line: #e1e5ea;
	--ink: #0f2d5c;
	--rule: #0f2d5c;

	--g50: #f4f6f8;
	--g100: #e1e5ea;
	--g420: #9aa3ad;
	--g536: #6b7580;
	--g600: #57606a;
	--g800: #1f2933;
	--key: var(--sky-ink);
	--key-50: var(--sky-50);
	--key-100: var(--sky-100);
	--key-900: var(--navy);
	--key-1000: var(--navy-d);
	--key-900-ink: var(--navy);
	--btn-bg: var(--navy);
	--btn-bg-h: var(--navy-d);
	--up: #d61f1f;
	--up-bg: #d61f1f;
	--down: #1565c0;
	--down-bg: #1565c0;
	--ok-bg: #fdecec;
	--ng-bg: #fff4f3;
	--best-bg: #f0f8fd;
	--hover: #f7f9fb;
	--r: 4px;
	--r-lg: 6px;
	--shadow: none;
	--head-h: 60px;
	--font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
}
:root[data-theme="dark"] {
	--navy: #0b1d3a;
	--navy-d: #081529;
	--navy-50: #17233a;
	--red: #ff5a52;
	--red-50: #2c1717;
	--sky: #4fb8ea;
	--sky-ink: #6cc4ee;
	--sky-50: #13283a;
	--sky-100: #1c3a54;
	--line: #2a3646;
	--ink: #e7ecf3;
	--rule: #3d4d63;
	--bg: #0d131b;
	--white: #141c27;
	--g50: #1a2431;
	--g100: #2a3646;
	--g420: #5b6777;
	--g536: #93a0b2;
	--g600: #aab5c5;
	--g800: #e7ecf3;
	--key: var(--sky-ink);
	--key-50: var(--sky-50);
	--key-100: var(--sky-100);
	--key-900-ink: #a9c8ee;
	--btn-bg: #1d5aa8;
	--btn-bg-h: #184c8f;
	--up: #ff6b6b;
	--up-bg: #d63a3a;
	--down: #5aa9ff;
	--down-bg: #2f6fbf;
	--ok-bg: #3a1c1c;
	--ng-bg: #2c1717;
	--best-bg: #13283a;
	--hover: #19222e;
}
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--navy: #0b1d3a; --navy-d: #081529; --navy-50: #17233a; --red: #ff5a52; --red-50: #2c1717;
		--sky: #4fb8ea; --sky-ink: #6cc4ee; --sky-50: #13283a; --sky-100: #1c3a54; --line: #2a3646; --ink: #e7ecf3; --rule: #3d4d63;
		--bg: #0d131b; --white: #141c27; --g50: #1a2431; --g100: #2a3646; --g420: #5b6777; --g536: #93a0b2; --g600: #aab5c5; --g800: #e7ecf3;
		--key: var(--sky-ink); --key-50: var(--sky-50); --key-100: var(--sky-100); --key-900-ink: #a9c8ee; --btn-bg: #1d5aa8; --btn-bg-h: #184c8f;
		--up: #ff6b6b; --up-bg: #d63a3a; --down: #5aa9ff; --down-bg: #2f6fbf; --ok-bg: #3a1c1c; --ng-bg: #2c1717; --best-bg: #13283a; --hover: #19222e;
	}
}

body { letter-spacing: .03em; line-height: 1.75; }
a:hover { color: var(--sky); }
h1, h2, h3 { letter-spacing: .02em; }

/* ---------- サイト群のバー（最上部） ---------- */
.netbar, :root[data-theme="dark"] .netbar { background: var(--g50); color: var(--g800); border-bottom: 1px solid var(--line); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .netbar { background: var(--g50); color: var(--g800); } }
.netbar__in { min-height: 34px; gap: 8px; }
.netbar__home { color: var(--ink); font-size: .8125rem; padding-right: 8px; border-right: 1px solid var(--line); }
:root[data-theme="dark"] .netbar__home { color: var(--g800); }
.netbar__list a { padding: 7px 12px 6px; opacity: 1; color: var(--g600); font-size: .8125rem; border-bottom: 0; border-top: 3px solid transparent; }
.netbar__list a:hover { color: var(--ink); background: var(--white); }
.netbar__list a[aria-current="true"] { color: var(--ink); background: var(--white); font-weight: 700; border-top-color: var(--red); }
:root[data-theme="dark"] .netbar__list a[aria-current="true"], :root[data-theme="dark"] .netbar__list a:hover { color: var(--g800); }

/* ---------- 相場の帯 ---------- */
.mstrip, .strip { background: var(--white); border-bottom: 1px solid var(--line); }
.mstrip__list { gap: 24px; }
.mstrip__list a { font-size: .8125rem; }
.mstrip__n { color: var(--g536); margin-right: 4px; }

/* ---------- ヘッダー（白）＋グローバルナビ（紺の帯） ---------- */
.site-head { border-bottom: 0; }
.site-head__in { min-height: var(--head-h); gap: 20px; }
.brand { gap: 8px; }
.brand__word { color: var(--ink); font-size: 1.375rem; font-weight: 800; letter-spacing: .04em; }
.brand__vert { margin-left: 4px; padding: 2px 8px; border-radius: 2px; background: var(--red); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .04em; }
.head-search input { height: 38px; border: 1px solid #cfd6de; border-radius: var(--r); background: var(--white); }
:root[data-theme="dark"] .head-search input { border-color: var(--g100); }
.head-search input:focus { border-color: var(--sky); box-shadow: 0 0 0 3px var(--sky-100); }
.nav { background: var(--navy); }
.nav__in { display: flex; align-items: center; }
.nav__list, .nav ul { gap: 0; }
.nav a { padding: 11px 18px 9px; color: #fff; border-radius: 0; font-size: .9375rem; border-bottom: 3px solid transparent; }
.nav a:hover { background: var(--navy-d); color: #fff; }
.nav .current-menu-item > a, .nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--red); }
@media (max-width: 760px) {
	.nav { background: var(--white); }
	.nav__in { display: block; padding: 0; }
	.nav a { color: var(--g800); border-bottom: 1px solid var(--line); padding: 12px 4px; }
	.nav a:hover { background: var(--g50); color: var(--g800); }
	.nav .current-menu-item > a, .nav a[aria-current="page"] { color: var(--red); border-bottom-color: var(--line); }
}

/* ---------- 見出し・セクション ---------- */
.home-kicker { display: none; }
.home-title { padding: 24px 0 4px; }
.home-title h1 { color: var(--ink); font-size: clamp(1.375rem, 2.4vw, 1.75rem); }
.home-title p { font-size: .9375rem; }
.page-head h1 { color: var(--g800); }
.sec { margin: 44px 0; }
.sec__head { position: relative; align-items: flex-end; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--line); }
.sec__head::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 72px; height: 2px; background: var(--red); }
.sec__head h2 { color: var(--ink); font-size: 1.25rem; line-height: 1.4; }
.sec__more { color: var(--sky-ink); font-size: .8125rem; }
.sec__more::after { content: "›"; margin-left: 4px; font-size: 1rem; line-height: 1; }
.mk-grid .sec__head, .split .sec__head { margin-bottom: 12px; }
.panel h2 { font-size: .9375rem; color: var(--ink); padding-bottom: 8px; margin-bottom: 8px; border-bottom: 2px solid var(--rule); }

/* ---------- 箱・ボタン・タブ ---------- */
.card, .panel { border-color: var(--line); border-radius: var(--r-lg); box-shadow: none; }
.btn { border-radius: var(--r); text-decoration: none; }
.btn:hover { text-decoration: none; }
.btn--ghost { border-color: var(--rule); color: var(--ink); }
.chip { border-radius: var(--r); border-color: var(--line); color: var(--g800); font-weight: 700; }
.chip:hover { border-color: var(--navy); background: var(--white); }
.chip.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.seg { padding: 0; gap: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); overflow: hidden; }
.seg button, .seg a { border-radius: 0; padding: 5px 14px; border-left: 1px solid var(--line); }
.seg button:first-child, .seg a:first-child { border-left: 0; }
.seg button[aria-pressed="true"], .seg a[aria-current="true"] { background: var(--navy); color: #fff; box-shadow: none; }
.tag { border-radius: 2px; }
.tag-links a { border: 0; border-radius: 999px; background: var(--g50); color: var(--g800); padding: 5px 14px; font-size: .8125rem; }
.tag-links a:hover { background: var(--sky-50); color: var(--sky-ink); }
.more-btn { display: flex; justify-content: center; margin-top: 20px; }
.more-btn a { display: inline-block; min-width: 240px; padding: 10px 24px; border: 1px solid var(--rule); border-radius: 999px; color: var(--ink); font-weight: 700; font-size: .875rem; text-align: center; text-decoration: none; }
.more-btn a:hover { background: var(--navy); color: #fff; }

/* ---------- 表（ミンカブ型） ---------- */
.tbl thead th { background: var(--g50); color: var(--g600); border-color: var(--line); font-size: .75rem; }
.tbl tbody th { border-bottom: 1px solid var(--line); border-top: 0; }
.tbl td { border-bottom: 1px solid var(--line); }
.tbl tbody tr:hover td { background: var(--hover); }

/* ---------- 記事カード（写真主体） ---------- */
.feat { gap: 24px; }
.feat__item a { padding: 0; border: 0; border-radius: 0; background: none; overflow: visible; }
.feat__item a:hover { border-color: transparent; }
.feat__item a:hover h3 { color: var(--sky-ink); }
.feat__item img, .feat__ph { border-radius: var(--r-lg); }
.feat__ph, .mag-ph { font-size: 0; color: transparent; background: var(--g50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' rx='7' fill='%23c9d1db'/%3E%3Cpath d='M7 23h5v-5h5v-5h5V8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 44px no-repeat; }
.feat__cat, .art__cat { margin: 12px 0 0; padding: 0; border-radius: 0; background: none; color: var(--red); font-size: .75rem; font-weight: 700; letter-spacing: .04em; }
a.art__cat:hover { background: none; text-decoration: underline; }
.art__cat { margin: 0 0 6px; }
.feat__cat + h3, .feat__item h3 { margin: 4px 0 6px; font-size: 1.0625rem; line-height: 1.55; }
.feat__item p { margin: 0; font-size: .8125rem; line-height: 1.7; }
.posts { gap: 28px 24px; }
.post-card img { border-radius: var(--r-lg); }
.post-card h3 { font-size: .9375rem; line-height: 1.6; margin-top: 10px; }
.post-card a:hover h3 { color: var(--sky-ink); }

/* ---------- はじめての方へ（STEP） ---------- */
.steps { gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.steps li + li .card { border-left: 1px solid var(--line); }
.steps .card { border: 0; border-radius: 0; padding: 16px 18px; }
.steps a.card:hover { background: var(--hover); border-color: var(--line); }
.steps__n { display: block; width: auto; height: auto; border-radius: 0; background: none; color: var(--red); font-size: .75rem; font-weight: 800; letter-spacing: .08em; }
.steps__n::before { content: "STEP "; }
.steps b { margin-top: 2px; color: var(--ink); }
@media (max-width: 760px) {
	.steps { grid-template-columns: 1fr; }
	.steps li + li .card { border-left: 0; border-top: 1px solid var(--line); }
	.steps .card { grid-template-columns: 56px 1fr; padding: 12px 14px; }
	.steps__n { grid-row: span 2; }
}

/* ---------- テーマ別の入口 ---------- */
.hubs { gap: 20px; }
.hub { padding: 0 0 4px; border: 0; background: none; }
.hub h3 { margin: 0 0 6px; padding: 0 0 8px; border-bottom: 2px solid var(--rule); font-size: 1rem; }
.hub h3 a { color: var(--ink); }
:root[data-theme="dark"] .hub h3 { border-bottom-color: var(--g100); }
.hub__desc { margin: 8px 0 6px; }
.hub__list li { position: relative; padding: 8px 0 8px 14px; border-top: 0; border-bottom: 1px dotted var(--line); }
.hub__list li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 5px; height: 5px; border-top: 2px solid var(--sky); border-right: 2px solid var(--sky); transform: rotate(45deg); }
.hub__more { color: var(--sky-ink); }
.hub__more::after { content: " ›"; }

/* ---------- 計算ツール ---------- */
.tool-cards { gap: 12px; }
.tool-card { position: relative; padding: 14px 16px 14px 56px; border-color: var(--line); }
.tool-card::before { content: ""; position: absolute; left: 16px; top: 16px; width: 28px; height: 28px; border-radius: var(--r); background: var(--sky-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b72ad' stroke-width='2' stroke-linecap='round'%3E%3Crect x='5' y='3' width='14' height='18' rx='2'/%3E%3Cpath d='M8 7h8M8 12h.01M12 12h.01M16 12h.01M8 16h.01M12 16h.01M16 16h.01'/%3E%3C/svg%3E") center / 18px no-repeat; }
.tool-card b { color: var(--ink); }
.tool-card b::before { content: none; }
.tool-card:hover { border-color: var(--sky); }
.tool { border-color: var(--line); box-shadow: none; border-radius: var(--r-lg); }
.tool__in { border-color: #c5cdd6; border-radius: var(--r); }
.tool__in:focus-within { border-color: var(--sky); box-shadow: 0 0 0 3px var(--sky-100); }
.tool__result { background: var(--g50); border-left: 1px solid var(--line); }
.tool__r { border-bottom-color: var(--line); }
.tool__r--big output { color: var(--ink); }
@media (max-width: 760px) { .tool__result { border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- 注意書き ---------- */
.notice-box { border: 1px solid var(--line); border-left: 1px solid var(--line); border-radius: var(--r-lg); background: var(--g50); }
.notice-box__h { display: flex; align-items: center; gap: 6px; color: var(--ink); }
.notice-box__h::before { content: "i"; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); color: var(--white); font-size: .6875rem; font-weight: 800; font-style: normal; }
.notice-box--warn { background: var(--red-50); border-color: #f3cfcc; border-left-color: #f3cfcc; }
.notice-box--warn .notice-box__h { color: var(--red); }
.notice-box--warn .notice-box__h::before { content: "!"; background: var(--red); }
:root[data-theme="dark"] .notice-box--warn { border-color: #5a2b2b; }

/* ---------- 記事ページ ---------- */
.art__head h1 { color: var(--g800); }
.art__points { padding: 14px 18px; border: 1px solid var(--line); border-top: 3px solid var(--rule); border-radius: 0 0 var(--r-lg) var(--r-lg); background: var(--white); }
.art__points-h { color: var(--ink); }
.art__points li::marker { color: var(--red); }
:root[data-theme="dark"] .art__points { border-top-color: var(--sky); }
.prose h2 { padding: 10px 14px; border: 0; border-left: 4px solid var(--rule); background: var(--g50); font-size: 1.1875rem; }
.prose h3 { padding-bottom: 4px; border-bottom: 2px solid var(--sky-100); }
.prose th { background: var(--g50); }
.aside-list li { border-top-color: var(--line); }
.aside-list a { color: var(--g800); text-decoration: none; }
.aside-list a:hover { color: var(--sky-ink); text-decoration: underline; }

/* ---------- 取引時間 ---------- */
.mkt h2 { color: var(--ink); }
.mkt__st { border-radius: 2px; }
.mkt__st.is-on { background: var(--red); color: #fff; }

/* ---------- 為替チップ ---------- */
.rate-chip { border-radius: var(--r); border-color: var(--line); }

/* ---------- ランキング（大きな順位数字） ---------- */
.hl li > span:first-child, .rk li::before { font-size: 1.125rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.hl li:nth-child(-n+3) > span:first-child, .rk li:nth-child(-n+3)::before { color: var(--red); }
:root[data-theme="dark"] .hl li > span:first-child, :root[data-theme="dark"] .rk li::before { color: var(--g600); }
.rk h3, .hl__head h2 { color: var(--ink); }

/* ---------- 価格・チャートの枠 ---------- */
.tv__box { border-color: var(--line); border-radius: var(--r-lg); }

/* ---------- フッター（紺） ---------- */
.site-foot { background: var(--navy); color: #c3cede; }
.site-foot a { color: #fff; }
.site-foot a:hover { color: #fff; }
.site-foot h2 { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .2); padding-bottom: 8px; }
.site-foot__note { border-top-color: rgba(255, 255, 255, .15); color: #9fb0c8; }
.site-foot .brand__word { color: #fff; }

/* ---------- スマホの下部タブ ---------- */
.tabbar a[aria-current="page"] { color: var(--red); }

/* ============================================================
 * 比較・口コミ（価格.com型）
 * ========================================================== */
.mstars { position: relative; display: inline-block; font-size: 1rem; line-height: 1; letter-spacing: 1px; vertical-align: -1px; }
.mstars__bg { color: #d5dbe2; }
.mstars__fg { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: #f39800; }
:root[data-theme="dark"] .mstars__bg { color: #3a4656; }
.mstars__n { margin-left: 4px; color: #e07b00; font-size: .9375rem; }
.cmp-pr { margin: 6px 0 0; color: var(--g536); font-size: .75rem; }
.pr { margin-left: 6px; padding: 0 5px; border: 1px solid var(--g420); border-radius: 2px; color: var(--g536); font-size: .625rem; vertical-align: 2px; }
.btn--cta { background: var(--red); border-color: var(--red); color: #fff; }
.btn--cta:hover { background: #c41c14; border-color: #c41c14; color: #fff; }
.btn--sm { padding: 5px 12px; font-size: .8125rem; }
.btn--lg { padding: 12px 28px; font-size: 1rem; }
.yes { color: var(--red); font-weight: 800; }
.no { color: var(--g420); }
/* 一覧 */
.cmp-ctrl { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; margin: 20px 0 8px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--g50); }
.cmp-ctrl__sort { display: flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 700; }
.cmp-ctrl select { padding: 6px 8px; border: 1px solid #c5cdd6; border-radius: var(--r); background: var(--white); color: var(--g800); font: inherit; }
.cmp-ctrl__filter { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 0; border: 0; font-size: .875rem; }
.cmp-ctrl__filter legend { float: left; margin-right: 8px; font-weight: 700; }
.cmp-count { margin: 12px 0 8px; font-size: .875rem; }
.cmp-count b { font-size: 1.25rem; color: var(--red); }
.cmp-list { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--rule); }
.cmp-item { display: grid; grid-template-columns: 40px 72px minmax(0, 1fr) 180px; gap: 16px; align-items: start; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.cmp-item__rank { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 2px; background: var(--g50); color: var(--ink); font-weight: 800; font-size: 1.125rem; }
.cmp-item__rank.is-top { background: var(--red); color: #fff; }
.cmp-item__logo, .cmp-hero__logo { display: grid; place-items: center; width: 72px; height: 72px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); overflow: hidden; color: var(--ink); font-weight: 800; text-decoration: none; }
.cmp-item__logo img, .cmp-hero__logo img { width: 100%; height: 100%; object-fit: contain; }
.cmp-item__name { margin: 0; font-size: 1.125rem; }
.cmp-item__name a { color: var(--ink); text-decoration: none; }
.cmp-item__name a:hover { color: var(--sky-ink); text-decoration: underline; }
.cmp-item__rate { margin: 4px 0; font-size: .8125rem; }
.cmp-item__note { margin: 4px 0 8px; color: var(--g600); font-size: .875rem; }
.cmp-item__specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.cmp-item__specs div { padding: 6px 10px; border-right: 1px solid var(--line); border-top: 1px solid var(--line); margin-top: -1px; }
.cmp-item__specs dt { color: var(--g536); font-size: .6875rem; }
.cmp-item__specs dd { margin: 0; font-weight: 700; font-size: .875rem; }
.cmp-item__specs dd small { font-weight: 400; margin-left: 1px; }
.cmp-item__act { display: flex; flex-direction: column; gap: 8px; align-items: stretch; text-align: center; }
.cmp-item__act .pr { align-self: center; margin: -4px 0 0; }
.cmp-pick { font-size: .8125rem; color: var(--g600); cursor: pointer; }
@media (max-width: 760px) {
	.cmp-item { grid-template-columns: 34px 56px minmax(0, 1fr); gap: 10px; }
	.cmp-item__logo { width: 56px; height: 56px; }
	.cmp-item__act { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; }
	.cmp-item__act .btn { flex: 1; }
}
.cmp-bar { position: fixed; left: 50%; bottom: 16px; z-index: 50; display: flex; align-items: center; gap: 12px; max-width: calc(100% - 32px); padding: 10px 14px; transform: translateX(-50%); border-radius: var(--r-lg); background: var(--navy); color: #fff; box-shadow: 0 6px 24px rgba(0, 0, 0, .25); font-size: .875rem; }
.cmp-bar__names { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 40vw; }
.cmp-bar__clear { border: 0; background: none; color: #c3cede; font: inherit; cursor: pointer; text-decoration: underline; }
@media (max-width: 760px) { .cmp-bar { bottom: 76px; } }
.cmp-spec th, .cmp-spec td, .cmp-vs th, .cmp-vs td { white-space: nowrap; font-size: .8125rem; }
.cmp-vs tbody th { background: var(--g50); }
.cmp-vs td { text-align: center; }
.cmp-mini td small, .cmp-spec td small { margin-left: 1px; color: var(--g536); }
.cmp-rank { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; border-radius: 2px; background: var(--g50); font-size: .75rem; font-weight: 800; color: var(--ink); }
.cmp-mini tr:nth-child(-n+3) .cmp-rank { background: var(--red); color: #fff; }
.cmp-mini .btn, .cmp-vs .btn { white-space: nowrap; }
.cmp-mini td:last-child { white-space: nowrap; }
.cmp-mini td .pr { display: block; width: fit-content; margin-top: 3px; }
@media (max-width: 600px) {
	.cmp-mini th[scope="row"] { min-width: 11em; }
	.cmp-mini td { padding-left: 6px; padding-right: 6px; }
}
.cmp-rate { display: block; margin: 2px 0 0 30px; font-size: .75rem; font-weight: 400; }
.cmp-rate .mstars { font-size: .8125rem; }
.cmp-guide { margin-top: 32px; }
/* 詳細 */
.cmp-hero { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 24px 0 16px; border-bottom: 2px solid var(--rule); }
.cmp-hero__logo { width: 96px; height: 96px; font-size: 1.25rem; }
.cmp-hero h1 { margin: 0; font-size: clamp(1.25rem, 2.4vw, 1.625rem); color: var(--ink); }
.cmp-hero__co { margin: 4px 0; color: var(--g536); font-size: .8125rem; }
.cmp-hero__rate { margin: 0; font-size: .875rem; }
.cmp-hero__rate .mstars { font-size: 1.25rem; }
.cmp-hero__act { display: flex; flex-direction: column; gap: 8px; text-align: center; }
@media (max-width: 760px) { .cmp-hero { grid-template-columns: 64px minmax(0, 1fr); } .cmp-hero__logo { width: 64px; height: 64px; } .cmp-hero__act { grid-column: 1 / -1; } }
.cmp-tabs { position: sticky; top: 0; z-index: 5; display: flex; gap: 0; margin: 0 0 8px; border-bottom: 1px solid var(--line); background: var(--bg); overflow-x: auto; }
.cmp-tabs a { padding: 12px 18px 10px; color: var(--g600); font-weight: 700; font-size: .9375rem; text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; }
.cmp-tabs a:hover { color: var(--ink); border-bottom-color: var(--sky); }
.cmp-lead { font-size: 1rem; }
.pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 12px 0 20px; }
@media (max-width: 760px) { .pc-grid { grid-template-columns: 1fr; } }
.pc { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-lg); }
.pc__h { margin: 0 0 6px; font-weight: 800; font-size: .875rem; }
.pc--pro .pc__h { color: var(--red); }
.pc--con .pc__h { color: var(--down); }
.pc ul { margin: 0; padding-left: 1.2em; font-size: .9375rem; }
.cmp-spec1 th { width: 40%; background: var(--g50); font-weight: 700; color: var(--g800); }
.tbl-wrap .tbl.cmp-spec1 { min-width: 0; }
.cmp-spec1 th { white-space: normal; }
.sat { display: grid; grid-template-columns: 180px minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px; align-items: start; }
@media (max-width: 900px) { .sat { grid-template-columns: 1fr; } }
.sat__total { text-align: center; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-lg); }
.sat__big { margin: 0; font-size: 2.5rem; font-weight: 800; color: #e07b00; line-height: 1.1; }
.sat__total .mstars { font-size: 1.375rem; }
.sat__row { display: grid; grid-template-columns: 32px minmax(0, 1fr) 44px; gap: 8px; align-items: center; margin: 6px 0; font-size: .8125rem; }
.sat__bar { height: 10px; border-radius: 2px; background: var(--g50); overflow: hidden; }
.sat__bar span { display: block; height: 100%; background: #f39800; }
.sat__crit th { font-weight: 700; }
.sat__crit .mstars { font-size: .875rem; }
.rv-sort { font-size: .8125rem; }
.rv-sort a, .rv-sort b { margin-right: 12px; }
.rv-list { border-top: 1px solid var(--line); }
.rv { padding: 18px 0; border-bottom: 1px solid var(--line); }
.rv__head { display: flex; align-items: center; gap: 10px; }
.rv__head h3 { margin: 0; font-size: 1rem; }
.rv__meta { margin: 4px 0 8px; color: var(--g536); font-size: .75rem; }
.rv__crit { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0 0 10px; padding: 0; list-style: none; font-size: .75rem; color: var(--g600); }
.rv__crit b { color: #e07b00; }
.rv__pc { margin: 8px 0; padding-left: 12px; border-left: 3px solid var(--line); font-size: .9375rem; }
.rv__pc > p:first-child { margin: 0; font-weight: 800; font-size: .8125rem; }
.rv__pc--pro > p:first-child { color: var(--red); }
.rv__pc--con > p:first-child { color: var(--down); }
.rv__pc p { margin: 2px 0; }
.rv__foot { margin: 8px 0 0; text-align: right; }
.helpful { padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--g600); font: inherit; font-size: .75rem; cursor: pointer; }
.helpful:hover { border-color: var(--sky); color: var(--sky-ink); }
.helpful.is-done { background: var(--sky-50); border-color: var(--sky-100); color: var(--sky-ink); cursor: default; }
.helpful b { margin-left: 4px; }
.review .rv__foot { margin-top: 4px; }
/* 口コミを書く */
.rv-form { max-width: 760px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--g50); }
.rv-form label, .rv-form legend { display: block; margin-bottom: 4px; font-weight: 700; font-size: .875rem; }
.rv-form input[type=text], .rv-form input:not([type]), .rv-form textarea, .rv-form select { width: 100%; padding: 8px 10px; border: 1px solid #c5cdd6; border-radius: var(--r); background: var(--white); color: var(--g800); font: inherit; }
.rv-form fieldset { margin: 0 0 12px; padding: 0; border: 0; }
.rv-form__crit { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 4px 16px; margin-bottom: 8px; }
.rv-form__crit legend { font-size: .8125rem; font-weight: 400; color: var(--g600); }
.rv-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .rv-form__row { grid-template-columns: 1fr; } }
.rv-form__note { color: var(--g536); font-size: .75rem; }
.rv-form__hp { position: absolute; left: -9999px; }
.req { margin-left: 4px; padding: 0 5px; border-radius: 2px; background: var(--red); color: #fff; font-size: .625rem; vertical-align: 1px; }
.star-in { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.star-in input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-in label { margin: 0; color: #d5dbe2; font-size: 1.75rem; line-height: 1; cursor: pointer; font-weight: 400; }
.star-in--sm label { font-size: 1.25rem; }
.star-in label:hover, .star-in label:hover ~ label, .star-in input:checked ~ label { color: #f39800; }
.star-in input:focus-visible + label { outline: 2px solid var(--sky); outline-offset: 2px; }
.form-msg { padding: 10px 14px; border-radius: var(--r); font-size: .875rem; }
.form-msg--ok { background: var(--sky-50); color: var(--sky-ink); }
.form-msg--ng { background: var(--red-50); color: var(--red); }
.pager { display: flex; gap: 6px; margin: 16px 0; }
.pager a, .pager span { display: grid; place-items: center; min-width: 34px; height: 34px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; }
.pager span { background: var(--navy); border-color: var(--navy); color: #fff; }
.toast { position: fixed; left: 50%; bottom: 90px; z-index: 60; transform: translateX(-50%); margin: 0; padding: 10px 16px; border-radius: var(--r); background: #222; color: #fff; font-size: .875rem; }

/* ============================================================
 * デモトレード
 * ========================================================== */
.demo { margin: 16px 0 24px; }
.demo.is-stale .demo-live { color: var(--g536); }
.demo.is-stale .demo-live i { background: var(--g420); animation: none; }
.demo-start { padding: 28px; text-align: center; }
.demo-start h2 { margin: 0 0 4px; color: var(--ink); }
.demo-start__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }
.demo-acct { padding: 0; overflow: hidden; }
.demo-acct dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 0; }
.demo-acct dl div { padding: 12px 16px; border-right: 1px solid var(--line); }
.demo-acct dt { color: var(--g536); font-size: .75rem; }
.demo-acct dd { margin: 2px 0 0; font-size: 1.125rem; font-weight: 800; }
.demo-main { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; }
@media (max-width: 900px) { .demo-main { grid-template-columns: 1fr; } }
.demo-order, .demo-chart { padding: 16px 18px; }
.demo-chart h2 { margin: 0 0 8px; font-size: 1rem; color: var(--ink); }
.demo-order__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 12px; }
.demo-order__head label { font-weight: 700; font-size: .875rem; }
.demo-order__head select { flex: 1; min-width: 180px; padding: 8px; border: 1px solid #c5cdd6; border-radius: var(--r); background: var(--white); color: var(--g800); font: inherit; }
.demo-live { display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-size: .75rem; font-weight: 700; }
.demo-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: demo-blink 1.6s infinite; }
@keyframes demo-blink { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .demo-live i { animation: none; } }
.demo-quote { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: stretch; }
.demo-q { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 8px; border: 0; border-radius: var(--r-lg); color: #fff; font: inherit; cursor: pointer; }
.demo-q small { font-size: .75rem; opacity: .9; }
.demo-q b { font-size: 1.5rem; letter-spacing: .01em; }
.demo-q--sell { background: var(--down-bg); }
.demo-q--buy { background: var(--up-bg); }
.demo-q:hover { filter: brightness(1.08); }
.demo-q:disabled { opacity: .45; cursor: not-allowed; }
.demo-q__sp { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 0 6px; color: var(--g600); font-size: .75rem; }
.demo-q__sp b { color: var(--g800); font-size: .875rem; }
.demo-qty { margin-top: 12px; }
.demo-qty label { font-weight: 700; font-size: .875rem; }
.demo-msg { min-height: 1.6em; margin: 10px 0 0; font-size: .875rem; }
.demo-msg.is-ok { color: var(--sky-ink); }
.demo-msg.is-bad { color: var(--red); }
.demo-eq svg { display: block; width: 100%; height: 120px; }
.demo-eq svg.is-up { color: var(--up); }
.demo-eq svg.is-down { color: var(--down); }
.demo-eq__mm { display: flex; justify-content: space-between; margin: 4px 0 0; color: var(--g536); font-size: .75rem; }
.demo-tbl td, .demo-tbl th { white-space: nowrap; font-size: .8125rem; }
.demo-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin: 32px 0; padding: 18px 22px; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--r-lg); background: var(--white); }
.demo-banner__h { margin: 0; font-weight: 800; font-size: 1.0625rem; color: var(--ink); }
.demo-banner p { margin: 2px 0 0; }
.cmp-bar[hidden], .demo-q[hidden] { display: none; }

/* ============================================================
 * FXサイト
 * ========================================================== */
.split .sec { margin-top: 0; }
