/* 金貨買取.jp */
:root {
  --ink: #1b2a3a;
  --ink-soft: #4f5c69;
  --paper: #f6f8fa;
  --white: #ffffff;
  --line: #d5dce3;
  --row: #eef2f5;
  --gold: #85661c;
  --up: #2e7d4f;
  --down: #b3261e;
  --link: #1f4f8a;
  /* 読み込みの速さを優先し、端末に入っているゴシック体を使う（Webフォントは使わない） */
  --sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", "Meiryo", sans-serif;
  --serif: var(--sans);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.85;
  font-feature-settings: "palt" 0;
}
img { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ヘッダー */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.site-header__inner { max-width: 1120px; margin: 0 auto; padding: 14px 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; }
.site-name { font-family: var(--serif); font-weight: 700; font-size: 26px; color: var(--ink); text-decoration: none; letter-spacing: .04em; }
.site-tagline { font-size: 13px; color: var(--ink-soft); margin: 0; }
.site-nav { background: var(--ink); }
.site-nav ul { max-width: 1120px; margin: 0 auto; padding: 0 8px; list-style: none; display: flex; overflow-x: auto; }
.site-nav a { display: block; padding: 10px 12px; color: #fff; text-decoration: none; font-size: 15px; white-space: nowrap; }
.site-nav a:hover { text-decoration: underline; }

/* 本文 */
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px 64px; }
.breadcrumb { font-size: 13px; color: var(--ink-soft); padding: 14px 0 0; }
.breadcrumb a { color: var(--ink-soft); }
.article { background: var(--white); margin-top: 12px; padding: 28px 22px 40px; border: 1px solid var(--line); }
@media (min-width: 720px) { .article { padding: 40px 48px 52px; } }

h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.45; }
h1 { font-size: 28px; margin: 0 0 6px; }
@media (min-width: 720px) { h1 { font-size: 32px; } }
.pr-note { font-size: 12px; color: var(--ink-soft); margin: 0 0 18px; }
.updated { font-size: 13px; color: var(--ink-soft); margin: 0 0 20px; }
h2 { font-size: 23px; margin: 52px 0 16px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); }
h3 { font-size: 19px; margin: 32px 0 10px; }
p { margin: 0 0 1.1em; }
.lead { font-size: 17px; }

/* 今日の相場票（このサイトで唯一目立たせる部品） */
.board {
  margin: 24px 0 8px;
  border: 3px double var(--gold);
  padding: 18px 18px 14px;
  background: var(--white);
}
.board__title { font-family: var(--serif); font-size: 16px; margin: 0 0 6px; color: var(--ink); }
.board__price { font-family: var(--serif); color: var(--gold); font-size: 44px; font-weight: 800; line-height: 1.15; font-variant-numeric: tabular-nums; margin: 0; }
.board__price small { font-size: 18px; margin-left: 4px; color: var(--ink); font-weight: 700; }
.board__diff { font-size: 15px; margin: 4px 0 10px; }
.board__diff.up { color: var(--up); }
.board__diff.down { color: var(--down); }
.board__meta { font-size: 13px; color: var(--ink-soft); margin: 0; border-top: 1px solid var(--line); padding-top: 8px; }
.board--coin .board__price { font-size: 40px; }

/* 表 */
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.6; }
th, td { padding: 10px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
thead th { background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; white-space: nowrap; }
tbody th { font-weight: 700; background: var(--row); white-space: nowrap; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
td.price { font-family: var(--serif); font-weight: 700; font-size: 17px; color: var(--gold); }
.spec th { width: 34%; }
tbody th.name-cell { white-space: normal; min-width: 9em; }

@media (max-width: 600px) {
  .wrap { padding: 0 8px 48px; }
  .article { padding: 22px 16px 32px; }
  table { font-size: 14.5px; }
  th, td { padding: 9px 7px; }
  tbody th { white-space: normal; }
  td.num { white-space: normal; }
  td.price { font-size: 16px; white-space: nowrap; }
  .board__price { font-size: 38px; }
  .board--coin .board__price { font-size: 34px; }
}
.note { font-size: 13.5px; color: var(--ink-soft); }

/* 申込みの案内 */
.cta-area { margin: 36px 0; padding: 22px 18px 6px; background: #fff8e8; border: 2px solid #e2c27a; border-radius: 8px; }
.cta-area__title { font-size: 19px; font-weight: 700; margin: 0 0 6px; line-height: 1.5; }
.cta-area__note { font-size: 14px; color: var(--ink-soft); margin: 0 0 16px; }
.cta { position: relative; margin: 0 0 16px; border: 1px solid var(--line); background: var(--white); padding: 20px 18px 18px; border-radius: 6px; box-shadow: 0 2px 6px rgba(27, 42, 58, .08); }
.cta__rank { position: absolute; top: -11px; left: 14px; margin: 0; background: #c8102e; color: #fff; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 3px; letter-spacing: .05em; }
.cta__name { font-size: 22px; font-weight: 700; margin: 4px 0 2px; }
.cta__catch { margin: 0 0 10px; font-size: 15px; color: var(--ink-soft); }
.cta__points { list-style: none; margin: 0 0 14px; padding: 0; font-size: 15.5px; }
.cta__points li { position: relative; padding-left: 26px; margin-bottom: 6px; line-height: 1.6; }
.cta__points li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 12px; height: 7px; border-left: 3px solid var(--up); border-bottom: 3px solid var(--up); transform: rotate(-45deg); }
.cta__micro { font-size: 12.5px; color: var(--ink-soft); text-align: center; margin: 8px 0 0; }

/* 立体的なボタン */
.button {
  position: relative; display: block; text-align: center; text-decoration: none; font-weight: 700; font-size: 18px; line-height: 1.4;
  padding: 16px 40px 15px 20px; border-radius: 8px; transition: transform .08s, box-shadow .08s;
}
.button::after { content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; margin-top: -5px; border-top: 3px solid currentColor; border-right: 3px solid currentColor; transform: rotate(45deg); }
.button--main { color: #fff; background: linear-gradient(#f2a33a, #e07f12); box-shadow: 0 5px 0 #a85a06, 0 7px 12px rgba(0, 0, 0, .18); text-shadow: 0 1px 1px rgba(0, 0, 0, .2); }
.button--main:hover { background: linear-gradient(#f5ae4c, #e8891c); }
.button--main:active { transform: translateY(4px); box-shadow: 0 1px 0 #a85a06, 0 2px 4px rgba(0, 0, 0, .2); }
.button--sub { color: #fff; background: linear-gradient(#2f4a66, #1b2a3a); box-shadow: 0 5px 0 #0c141d, 0 7px 12px rgba(0, 0, 0, .18); }
.button--sub:hover { background: linear-gradient(#3a5878, #22344a); }
.button--sub:active { transform: translateY(4px); box-shadow: 0 1px 0 #0c141d; }

/* 画面下に付いてくる申込みボタン */
.float-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; align-items: center; gap: 12px; padding: 10px 12px calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -4px 12px rgba(0, 0, 0, .08); }
.float-cta[hidden] { display: none; }
.float-cta__text { margin: 0; font-size: 13px; font-weight: 700; line-height: 1.4; white-space: nowrap; }
.float-cta__btn { flex: 1; font-size: 16px; padding: 12px 34px 11px 14px; }
body.has-float { padding-bottom: 84px; }
@media (min-width: 1080px) {
  .float-cta { left: auto; right: 20px; bottom: 20px; width: 360px; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
  .float-cta .sp { display: none; }
  body.has-float { padding-bottom: 0; }
}

/* 購入（楽天・Yahoo） */
.items { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0 0 1.4em; border-top: 1px solid var(--line); }
.item { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.item img { width: 96px; height: 96px; object-fit: contain; background: var(--white); border: 1px solid var(--line); }
.item__title { font-size: 14px; line-height: 1.6; margin: 0 0 4px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.item__price { font-family: var(--serif); font-weight: 700; color: var(--ink); font-size: 18px; margin: 0; }
.item__shop { font-size: 12.5px; color: var(--ink-soft); margin: 0 0 6px; }
.item__link { font-size: 14px; font-weight: 700; }

/* 目次的なリンク一覧（関連ページ） */
.related { margin-top: 48px; }
.related ul { padding-left: 1.2em; }
.related li { margin-bottom: 6px; }

/* フッター */
.site-footer { border-top: 1px solid var(--line); background: var(--white); font-size: 13px; color: var(--ink-soft); }
.site-footer__inner { max-width: 1120px; margin: 0 auto; padding: 24px 16px 40px; }
.site-footer ul { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer a { color: var(--ink-soft); }
.credits { margin: 0 0 6px; }

/* 計測用の1px画像で余白が出ないようにする */
img[width="1"][height="1"] { position: absolute; width: 1px; height: 1px; overflow: hidden; }
.item__noimg { display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; border: 1px solid var(--line); font-size: 12px; color: var(--ink-soft); }
@media (max-width: 600px) { thead th { white-space: normal; } }

/* 2段組み（広い画面だけ）。スマホでは本文の下にサイドメニュー */
@media (min-width: 1080px) {
  .wrap { max-width: 1120px; display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; align-items: start; }
}
.main-col { min-width: 0; }

/* サイドメニュー */
.side { margin-top: 24px; font-size: 15px; }
@media (min-width: 1080px) { .side { margin-top: 41px; } }
.side__box { background: var(--white); border: 1px solid var(--line); padding: 16px 18px; margin-bottom: 16px; }
.side__title { font-family: var(--serif); font-weight: 700; font-size: 16px; margin: 0 0 10px; padding-bottom: 6px; border-bottom: 2px solid var(--ink); }
.side__num { font-family: var(--serif); color: var(--gold); font-size: 30px; font-weight: 800; line-height: 1.2; margin: 0; font-variant-numeric: tabular-nums; }
.side__num small { font-size: 14px; color: var(--ink); margin-left: 3px; }
.side__price .note { margin: 2px 0 8px; }
.side__more { margin: 8px 0 0; font-size: 14px; }
.side__list { list-style: none; padding: 0; margin: 0; }
.side__list li { border-bottom: 1px solid var(--row); }
.side__list a { display: block; padding: 7px 0; text-decoration: none; line-height: 1.5; }
.side__list a:hover { text-decoration: underline; }
.side__list a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.side__banner { margin: 0 0 10px; text-align: center; }
.side__partner { margin: 0 0 4px; font-weight: 700; }
.side__sky { text-align: center; margin-bottom: 16px; }
@media (min-width: 1080px) { .side__sky { position: sticky; top: 16px; } }
@media (max-width: 1079px) { .side__sky { display: none; } }

/* バナー */
.banner { display: inline-block; line-height: 0; }
.banner img { max-width: 100%; height: auto; }
.cta__banner { text-align: center; margin: 0 0 12px; }

/* 価格推移 */
td.up { color: var(--up); }
td.down { color: var(--down); }
.chart { margin: 8px 0 20px; padding: 12px 12px 8px; border: 1px solid var(--line); background: var(--white); }
.chart svg { display: block; width: 100%; height: auto; }
.chart__grid { stroke: var(--line); stroke-width: 1; }
.chart__line { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.chart figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--ink-soft); margin-top: 6px; }
.daily th, .daily td { white-space: nowrap; }

/* 商品写真と購入ボタン */
.photo { margin: 16px 0 20px; text-align: center; }
.photo__img { display: block; background: var(--white); border: 1px solid var(--line); padding: 12px; }
.photo__img img { display: block; width: 100%; max-width: 320px; height: auto; aspect-ratio: 1 / 1; object-fit: contain; margin: 0 auto; }
.buy { margin-top: 12px; padding: 12px 12px 14px; background: var(--row); border-radius: 6px; }
.buy__title { margin: 0 0 8px; font-size: 14px; font-weight: 700; }
.buy__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 420px) { .buy__btns { grid-template-columns: 1fr; } }
.shop-btn { position: relative; display: block; text-align: center; color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; padding: 12px 28px 11px 12px; border-radius: 6px; transition: transform .08s, box-shadow .08s; }
.shop-btn::after { content: ""; position: absolute; right: 12px; top: 50%; width: 7px; height: 7px; margin-top: -4px; border-top: 2px solid #fff; border-right: 2px solid #fff; transform: rotate(45deg); }
.shop-btn--rakuten { background: linear-gradient(#d4202f, #b5121f); box-shadow: 0 4px 0 #7d0a13; }
.shop-btn--yahoo { background: linear-gradient(#ff3d5a, #e0102f); box-shadow: 0 4px 0 #99091f; }
.shop-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0, 0, 0, .4); }
.shop-btn--small { display: inline-block; font-size: 13.5px; padding: 8px 26px 7px 12px; margin-top: 4px; }

/* 目次 */
.toc { margin: 24px 0 8px; padding: 16px 18px 12px; border: 1px solid var(--line); background: var(--row); border-radius: 6px; }
.toc__title { margin: 0 0 8px; font-weight: 700; font-size: 16px; }
.toc ol { margin: 0; padding-left: 1.4em; font-size: 15px; }
.toc li { margin-bottom: 5px; line-height: 1.6; }
h2[id] { scroll-margin-top: 12px; }

/* 横棒グラフ */
.bars { margin: 6px 0 22px; padding: 14px 14px 10px; background: var(--white); border: 1px solid var(--line); }
.bars__row { display: grid; grid-template-columns: 7.5em minmax(0, 1fr) 7.5em; gap: 10px; align-items: center; padding: 5px 0; font-size: 14.5px; }
.bars--wide .bars__row { grid-template-columns: 10.5em minmax(0, 1fr) 7.5em; }
.bars__label { line-height: 1.4; }
.bars__track { height: 16px; background: var(--row); border-radius: 3px; overflow: hidden; }
.bars__bar { display: block; height: 100%; background: #9fb0c2; border-radius: 3px; }
.bars__row.is-hl .bars__bar { background: var(--gold); }
.bars__row.is-hl .bars__label, .bars__row.is-hl .bars__value { font-weight: 700; }
.bars__value { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bars figcaption { font-size: 12.5px; color: var(--ink-soft); margin-top: 6px; }
@media (max-width: 600px) {
  .bars__row, .bars--wide .bars__row { grid-template-columns: 1fr auto; gap: 2px 8px; }
  .bars__track { grid-column: 1 / -1; grid-row: 2; }
}
table.sizes th { white-space: nowrap; }
@media (max-width: 600px) {
  .cta-area { padding: 18px 10px 4px; margin: 28px -6px; }
  .cta { padding: 18px 12px 14px; }
  .button { font-size: 16px; padding: 14px 32px 13px 12px; }
  .button::after { right: 12px; width: 8px; height: 8px; }
}
@media (max-width: 600px) { table.sizes th, table.sizes td { white-space: nowrap; padding-left: 6px; padding-right: 6px; } table.sizes { font-size: 14px; } }

/* リード文（金貨ページは今日の金額を最初に出す） */
.lead__answer { font-size: 18px; }
.lead__price { display: inline-block; color: var(--gold); font-size: 26px; font-weight: 800; margin: 0 4px; font-variant-numeric: tabular-nums; }
.lead__sizes { list-style: none; padding: 0; margin: 0 0 1.1em; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 6px; }
.lead__sizes li { display: flex; justify-content: space-between; gap: 8px; padding: 8px 12px; background: var(--row); border-radius: 4px; font-size: 15px; }
.lead__sizes b { color: var(--gold); font-variant-numeric: tabular-nums; }
.lead__btn { margin: 4px 0 8px; }
.lead__src { display: block; font-size: 13px; color: var(--ink-soft); }

/* 金貨ページのファーストビュー（写真の上に見出し・更新日・今日の買取目安） */
.hero { position: relative; overflow: hidden; margin: -28px -22px 22px; padding: 26px 22px 24px; background: #fbf6ea; border-bottom: 1px solid var(--line); isolation: isolate; }
@media (min-width: 720px) { .hero { margin: -40px -48px 28px; padding: 36px 48px 32px; min-height: 360px; } }
@media (max-width: 600px) { .hero { margin: -22px -16px 20px; padding: 20px 16px 20px; } }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(255, 252, 244, .97) 0%, rgba(255, 252, 244, .9) 50%, rgba(255, 252, 244, .25) 100%); }
@media (max-width: 719px) { .hero::before { background: linear-gradient(180deg, rgba(255, 252, 244, .94) 0%, rgba(255, 252, 244, .82) 42%, rgba(255, 252, 244, .3) 100%); } }
.hero__body { max-width: 560px; }
.hero__dates { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 12.5px; color: var(--ink-soft); margin: 0 0 8px; line-height: 1.6; }
.hero__title { margin: 0 0 4px; font-size: 26px; line-height: 1.4; }
@media (min-width: 720px) { .hero__title { font-size: 31px; } }
.hero__pr { font-size: 11.5px; color: var(--ink-soft); margin: 0 0 14px; }
.hero__price { display: inline-block; min-width: min(100%, 360px); background: rgba(255, 255, 255, .94); border: 2px solid #d9c27e; border-radius: 10px; padding: 12px 18px 12px; box-shadow: 0 6px 18px rgba(133, 102, 28, .16); }
.hero__label { font-size: 14.5px; font-weight: 700; margin: 0; line-height: 1.5; }
.hero__num { font-family: var(--serif); color: var(--gold); font-size: 46px; font-weight: 800; line-height: 1.15; margin: 2px 0 2px; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.hero__num small { font-size: 20px; margin-left: 3px; color: var(--ink); }
.hero__diff { display: inline-block; font-size: 14.5px; font-weight: 700; margin: 2px 0 4px; padding: 1px 10px; border-radius: 999px; background: var(--row); }
.hero__diff.up { color: var(--up); background: #e6f3eb; }
.hero__diff.down { color: var(--down); background: #fbe9e7; }
.hero__src { font-size: 12px; color: var(--ink-soft); margin: 0; }
@media (max-width: 380px) { .hero__num { font-size: 40px; } }

/* 図解（src/figures.php と記事内の図） */
.fig { margin: 8px 0 24px; padding: 16px 16px 12px; background: #fffdf7; border: 1px solid #e6d9b4; border-radius: 8px; }
.fig__title { font-weight: 700; font-size: 15.5px; margin: 0 0 12px; }
.fig figcaption { font-size: 12.5px; color: var(--ink-soft); margin-top: 8px; line-height: 1.6; }
/* 買取価格の決まり方 */
.formula { display: flex; align-items: stretch; gap: 8px; flex-wrap: wrap; }
.formula__box { flex: 1 1 140px; display: flex; flex-direction: column; justify-content: center; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 10px 8px; }
.formula__box.is-hl { border: 2px solid var(--gold); background: #fff8e6; }
.formula__k { font-size: 12.5px; color: var(--ink-soft); line-height: 1.4; }
.formula__v { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.3; }
.formula__box.is-hl .formula__v { color: var(--gold); }
.formula__v small { font-size: 13px; margin-left: 2px; color: var(--ink); }
.formula__op { align-self: center; font-size: 22px; font-weight: 800; color: var(--gold); flex: 0 0 auto; }
.formula__next { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: 14.5px; }
.formula__next p { margin: 0; }
.formula__arrow { flex: 0 0 auto; width: 0; height: 0; margin-top: 6px; border-left: 8px solid transparent; border-right: 8px solid transparent; border-top: 11px solid var(--gold); }
@media (max-width: 600px) {
  .formula { flex-direction: column; }
  .formula__box { flex: 0 0 auto; flex-direction: row; justify-content: space-between; align-items: baseline; text-align: left; padding: 8px 12px; }
  .formula__op { align-self: center; line-height: 1; font-size: 18px; }
}
/* 純金の割合の帯 */
.purity { display: flex; height: 34px; border-radius: 6px; overflow: hidden; background: #c9ced4; font-size: 13px; font-weight: 700; }
.purity__gold { display: flex; align-items: center; padding-left: 10px; background: linear-gradient(180deg, #e8c766, #c79a2b); color: #3b2a05; white-space: nowrap; overflow: hidden; }
.purity__other { flex: 1; display: flex; align-items: center; justify-content: center; background: repeating-linear-gradient(45deg, #b8bfc7, #b8bfc7 5px, #c9ced4 5px, #c9ced4 10px); color: #2a333c; min-width: 3.4em; white-space: nowrap; }
.purity__legend { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13.5px; }
.purity__legend i { display: inline-block; width: 12px; height: 12px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }
.purity__legend i.is-gold { background: #d4a83a; }
.purity__legend i.is-other { background: #b8bfc7; }
/* サイズのくらべ */
.coins { display: flex; align-items: flex-end; justify-content: space-around; gap: 10px; flex-wrap: wrap; }
.coins__item { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 76px; padding: 6px 4px; border-radius: 8px; }
.coins__item.is-hl { background: #fff4d6; outline: 2px solid var(--gold); }
.coins__disc { display: block; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fbe7a1 0%, #e2b84a 45%, #b0811c 100%); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .35), 0 2px 4px rgba(0, 0, 0, .18); margin-bottom: 6px; }
.coins__label { font-weight: 700; font-size: 14px; line-height: 1.4; }
.coins__g { font-size: 12px; color: var(--ink-soft); line-height: 1.4; }
.coins__price { font-size: 14px; font-weight: 700; color: var(--gold); font-variant-numeric: tabular-nums; line-height: 1.4; }
/* 22金と24金 */
.karat__item { margin-bottom: 12px; }
.karat__name { font-weight: 700; font-size: 14.5px; margin: 0 0 4px; }
.karat__name small { margin-left: 8px; font-size: 12px; padding: 1px 8px; border-radius: 999px; background: var(--row); }
.karat__note { font-size: 13px; color: var(--ink-soft); margin: 4px 0 0; }
/* 両替と金としての価値 */
.exch__row { display: grid; grid-template-columns: 11em minmax(0, 1fr) 7.5em; gap: 10px; align-items: center; padding: 6px 0; font-size: 14.5px; }
.exch__track { height: 22px; background: var(--row); border-radius: 4px; overflow: hidden; }
.exch__bar { display: block; height: 100%; background: #9fb0c2; border-radius: 4px; }
.exch__row.is-hl .exch__bar { background: linear-gradient(180deg, #e8c766, #c79a2b); }
.exch__row.is-hl .exch__k, .exch__row.is-hl .exch__v { font-weight: 700; }
.exch__row.is-hl .exch__v { color: var(--gold); }
.exch__v { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 600px) { .exch__row { grid-template-columns: 1fr auto; } .exch__track { grid-column: 1 / -1; grid-row: 2; } }
/* 売るまでの流れ */
.fig-steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; padding: 14px; }
.fig-steps li { counter-increment: step; position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 34px 8px 10px; text-align: center; font-size: 13px; line-height: 1.5; }
.fig-steps li::before { content: counter(step); position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: #fff; font-weight: 800; font-size: 13px; line-height: 22px; text-align: center; }
.fig-steps b { display: block; font-size: 14px; margin-bottom: 2px; }
.fig-steps span { color: var(--ink-soft); font-size: 12px; }
@media (max-width: 719px) {
  .fig-steps { grid-template-columns: 1fr; }
  .fig-steps li { text-align: left; padding: 10px 12px 10px 46px; }
  .fig-steps li::before { top: 50%; left: 12px; transform: translateY(-50%); }
  .fig-steps li:not(:last-child)::after { content: ""; position: absolute; left: 22px; bottom: -9px; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 8px solid var(--gold); z-index: 1; }
}
/* 税金の計算の流れ */
.tax { display: flex; flex-direction: column; gap: 6px; max-width: 520px; }
.tax__box, .tax__minus { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; padding: 9px 14px; border-radius: 8px; background: var(--white); border: 1px solid var(--line); font-size: 15px; }
.tax__box span, .tax__minus span { font-weight: 700; }
.tax small { font-size: 12.5px; color: var(--ink-soft); }
.tax__minus { margin-left: 22px; background: #f3f5f7; }
.tax__minus span::before { content: "－ "; color: var(--down); }
.tax__box.is-start { border-color: #9fb0c2; }
.tax__box.is-end { border: 2px solid var(--gold); background: #fff8e6; }
.tax__box:not(.is-start) span::before { content: "＝ "; color: var(--gold); }
