:root {
  --ink: #2a2324;
  --muted: #6e6264;
  --bg: #f4f1f1;
  --card: #ffffff;
  --line: #e6dcdd;
  --head: #f6eced;
  --accent: #9b1b30;       /* エンジ色 */
  --accent-dark: #7a1426;
  --accent-soft: #fbeef0;
  --price: #b3122b;
  --ok: #2f6b3a;
  --ng: #b3261e;
  --footer: #2e1519;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(60, 20, 25, .08), 0 4px 14px rgba(60, 20, 25, .06);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.7 "Hiragino Sans", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.main { padding-top: 16px; padding-bottom: 64px; min-height: 60vh; }
.muted { color: var(--muted); font-size: 13px; }
h1 { font-size: 24px; line-height: 1.4; margin: 4px 0 12px; }
h2 { font-size: 19px; margin: 36px 0 14px; display: flex; align-items: center; gap: 10px; }
h2::before { content: ""; width: 5px; height: 20px; background: var(--accent); border-radius: 2px; }
h3 { font-size: 16px; margin: 20px 0 8px; }

/* ---------- ヘッダー ---------- */
.topbar { background: var(--accent); color: #fff; font-size: 12px; text-align: center; padding: 5px 16px; letter-spacing: .03em; }
.topbar b { font-weight: 700; }
.site-header { background: var(--card); box-shadow: 0 1px 0 var(--line); position: sticky; top: 0; z-index: 20; }
.header-main { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.logo { font-weight: 800; font-size: 24px; color: var(--ink); letter-spacing: .03em; white-space: nowrap; }
.logo:hover { text-decoration: none; }
.logo span { color: var(--accent); }
.logo small { display: block; font-size: 10px; font-weight: 400; color: var(--muted); letter-spacing: .08em; margin-top: -4px; }
.hsearch { flex: 1; display: flex; max-width: 620px; border: 2px solid var(--accent); border-radius: 24px; overflow: hidden; background: #fff; }
.hsearch input { flex: 1; border: 0; padding: 9px 16px; font: inherit; outline: none; min-width: 0; }
.hsearch button { border: 0; background: var(--accent); color: #fff; padding: 0 20px; font: inherit; font-weight: 700; cursor: pointer; }
.hicons { display: flex; gap: 6px; margin-left: auto; }
.hicon { display: flex; flex-direction: column; align-items: center; font-size: 11px; color: var(--ink); padding: 4px 10px; border-radius: var(--radius); position: relative; }
.hicon:hover { background: var(--accent-soft); text-decoration: none; }
.hicon svg { width: 26px; height: 26px; }
.hicon .badge { position: absolute; top: 0; right: 4px; min-width: 18px; height: 18px; line-height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; text-align: center; }
.catnav { border-top: 1px solid var(--line); }
.catnav .wrap { display: flex; gap: 2px; overflow-x: auto; }
.catnav a { padding: 10px 14px; color: var(--ink); font-size: 14px; font-weight: 600; white-space: nowrap; border-bottom: 3px solid transparent; }
.catnav a:hover, .catnav a.on { color: var(--accent); border-bottom-color: var(--accent); text-decoration: none; }

/* ---------- 共通パーツ ---------- */
.flash { padding: 10px 14px; border-radius: var(--radius); margin: 0 0 12px; }
.flash.ok { background: #e7f2e8; color: var(--ok); }
.flash.ng { background: #fbe7e4; color: var(--ng); }
.crumbs { font-size: 12px; color: var(--muted); margin: 0 0 10px; }
.crumbs a { color: var(--muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 20px; border: 0; border-radius: var(--radius); background: var(--accent); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.btn:hover { background: var(--accent-dark); text-decoration: none; }
.btn.sub { background: #fff; color: var(--accent); border: 1px solid var(--accent); }
.btn.sub:hover { background: var(--accent-soft); }
.btn.small { padding: 6px 12px; font-size: 13px; }
.btn.big { width: 100%; padding: 14px; font-size: 17px; }
.btn.cart { background: #d4213d; }
.btn.cart:hover { background: var(--accent-dark); }
.btn[disabled] { background: #c9bfc1; cursor: not-allowed; }
.panel { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
input, select, textarea { font: inherit; padding: 9px 11px; border: 1px solid #d6c9cb; border-radius: 6px; background: #fff; max-width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }
textarea { width: 100%; min-height: 110px; }
.price { color: var(--price); font-weight: 800; }
.price small { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 2px; }
.tag { display: inline-block; font-size: 11px; padding: 1px 7px; border-radius: 3px; background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.tag.gray { background: #eee; color: #666; }

/* 紙見本（商品写真の代わり） */
.swatch { position: relative; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background-color: var(--sw, #f5f1ea);
  background-image:
    linear-gradient(135deg, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 45%, rgba(0,0,0,.06) 100%),
    repeating-linear-gradient(90deg, rgba(0,0,0,.018) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(0deg, rgba(0,0,0,.014) 0 1px, transparent 1px 4px); }
.swatch::before { content: ""; position: absolute; left: 12%; top: 14%; right: 18%; bottom: 10%; background: inherit; box-shadow: 6px 6px 0 rgba(0,0,0,.06), 12px 12px 0 rgba(0,0,0,.04); border: 1px solid rgba(0,0,0,.06); transform: rotate(-3deg); }
.swatch span { position: absolute; left: 10px; bottom: 8px; right: 10px; font-size: 12px; font-weight: 700; color: var(--swink, #3a2f30); opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 商品カード */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.pcard { display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; color: var(--ink); transition: transform .12s, box-shadow .12s; }
.pcard:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(60, 20, 25, .14); text-decoration: none; }
.pcard .swatch { border-radius: 0; }
.pcard .body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pcard .name { font-weight: 700; font-size: 15px; line-height: 1.4; }
.pcard .tags { display: flex; gap: 4px; flex-wrap: wrap; }
.pcard .price { font-size: 17px; margin-top: auto; }
.pcard .go { margin-top: 6px; text-align: center; background: var(--accent-soft); color: var(--accent); border-radius: 6px; padding: 6px; font-size: 13px; font-weight: 700; }
.pcard:hover .go { background: var(--accent); color: #fff; }

/* ---------- トップ ---------- */
.hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0; background: linear-gradient(120deg, #7a1426, #b3223a); color: #fff; border-radius: 12px; overflow: hidden; min-height: 280px; }
.hero .copy { padding: 36px 40px; display: flex; flex-direction: column; justify-content: center; }
.hero .copy p.lead { font-size: 13px; letter-spacing: .12em; opacity: .85; margin: 0 0 6px; }
.hero h1 { font-size: 32px; margin: 0 0 12px; color: #fff; }
.hero .copy p { margin: 0 0 20px; opacity: .92; }
.hero .btn { background: #fff; color: var(--accent); align-self: flex-start; }
.hero .btn:hover { background: var(--accent-soft); }
.hero .art { position: relative; }
.hero .art i { position: absolute; width: 58%; aspect-ratio: 210 / 297; border-radius: 3px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.hero .art i:nth-child(1) { background: #fbfbf7; left: 14%; top: 18%; transform: rotate(-12deg); }
.hero .art i:nth-child(2) { background: #f3ead3; left: 24%; top: 12%; transform: rotate(-4deg); }
.hero .art i:nth-child(3) { background: #f2c4cf; left: 34%; top: 10%; transform: rotate(5deg); }
.hero .art i:nth-child(4) { background: #262424; left: 42%; top: 14%; transform: rotate(13deg); }
.usp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 14px 0 0; }
.usp div { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px 14px; display: flex; gap: 10px; align-items: center; font-size: 13px; }
.usp b { display: block; font-size: 14px; color: var(--accent); }
.usp svg { width: 30px; height: 30px; flex: none; color: var(--accent); }
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.cat { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; color: var(--ink); display: flex; flex-direction: column; gap: 2px; border-left: 4px solid var(--accent); }
.cat:hover { background: var(--accent-soft); text-decoration: none; }
.cat b { font-size: 17px; }
.cat span { font-size: 12px; color: var(--muted); }
.kana { display: flex; flex-wrap: wrap; gap: 6px; }
.kana a { display: inline-block; min-width: 38px; line-height: 36px; padding: 0 8px; text-align: center; border: 1px solid var(--line); border-radius: 6px; background: var(--card); color: var(--ink); font-weight: 700; }
.kana a.on, .kana a:hover { background: var(--accent); color: #fff; border-color: var(--accent); text-decoration: none; }
.columns { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.colcard { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 16px; color: var(--ink); }
.colcard b { display: block; line-height: 1.5; margin-bottom: 4px; }
.colcard span { font-size: 12px; color: var(--muted); }
.more { text-align: right; margin: 10px 0 0; font-size: 14px; }

/* ---------- 一覧 ---------- */
.listing { display: grid; grid-template-columns: 230px 1fr; gap: 20px; align-items: start; }
.filters { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; position: sticky; top: 130px; }
.filters h4 { margin: 12px 0 6px; font-size: 13px; color: var(--muted); }
.filters h4:first-child { margin-top: 0; }
.filters .opts { display: flex; flex-wrap: wrap; gap: 5px; }
.filters .opts a { font-size: 13px; padding: 3px 10px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); }
.filters .opts a.on, .filters .opts a:hover { background: var(--accent); border-color: var(--accent); color: #fff; text-decoration: none; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.toolbar .sort a { font-size: 13px; margin-left: 10px; color: var(--muted); }
.toolbar .sort a.on { color: var(--accent); font-weight: 700; }
.pager { margin: 24px 0; }
.pager nav > div:first-child { display: none; }

/* ---------- 商品ページ ---------- */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.product .gallery .swatch { aspect-ratio: 1 / 1; box-shadow: var(--shadow); }
.product .gallery .swatch span { font-size: 18px; }
.product .note { font-size: 12px; color: var(--muted); margin-top: 8px; }
.buybox h1 { font-size: 26px; margin-bottom: 4px; }
.buybox .from { font-size: 14px; margin: 6px 0 14px; }
.buybox .from .price { font-size: 26px; }
.step { margin: 14px 0; }
.step label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.step label i { display: inline-block; width: 20px; height: 20px; line-height: 20px; border-radius: 50%; background: var(--accent); color: #fff; font-style: normal; text-align: center; font-size: 12px; margin-right: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { font: inherit; font-size: 14px; padding: 7px 14px; border: 1px solid #d6c9cb; background: #fff; border-radius: 6px; cursor: pointer; }
.chips button.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); font-weight: 700; box-shadow: inset 0 0 0 1px var(--accent); }
.step select { width: 100%; }
.total { display: flex; align-items: baseline; justify-content: space-between; background: var(--accent-soft); border-radius: var(--radius); padding: 12px 16px; margin: 16px 0 12px; }
.total .price { font-size: 30px; }
.total .per { font-size: 12px; color: var(--muted); }
.qtyrow { display: flex; gap: 10px; align-items: center; }
.qtyrow input { width: 80px; text-align: center; }
.assure { list-style: none; padding: 12px 14px; margin: 14px 0 0; background: #faf7f7; border: 1px solid var(--line); border-radius: var(--radius); font-size: 13px; }
.assure li { padding: 2px 0 2px 20px; position: relative; }
.assure li::before { content: "✓"; position: absolute; left: 2px; color: var(--accent); font-weight: 700; }

.table-wrap { overflow-x: auto; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
th { background: var(--head); white-space: nowrap; font-weight: 700; }
td.num, th.num { text-align: right; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
details.pricelist { margin-top: 10px; }
details.pricelist summary { cursor: pointer; font-weight: 700; padding: 10px 14px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
details.pricelist[open] summary { margin-bottom: 10px; }

/* ---------- カート・注文 ---------- */
.steps { display: flex; justify-content: center; gap: 0; margin: 8px 0 20px; counter-reset: s; }
.steps li { list-style: none; flex: 1; max-width: 200px; text-align: center; font-size: 13px; color: var(--muted); position: relative; padding-top: 34px; }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 28px; height: 28px; line-height: 28px; border-radius: 50%; background: #ddd2d4; color: #fff; font-weight: 700; z-index: 1; }
.steps li::after { content: ""; position: absolute; top: 13px; left: -50%; width: 100%; height: 2px; background: #ddd2d4; }
.steps li:first-child::after { display: none; }
.steps li.on { color: var(--accent); font-weight: 700; }
.steps li.on::before, .steps li.done::before { background: var(--accent); }
.steps li.on::after, .steps li.done::after { background: var(--accent); }
.checkout { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; }
.summary { position: sticky; top: 130px; }
.summary table td { border: 0; padding: 4px 0; font-size: 14px; }
.summary .grand td { border-top: 2px solid var(--line); padding-top: 10px; font-size: 16px; font-weight: 700; }
.summary .grand .price { font-size: 22px; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 14px; border-bottom: 1px solid var(--line); align-items: center; }
.line:last-child { border-bottom: 0; }
.line .swatch { aspect-ratio: 1; }
.line .name { font-weight: 700; }
.line .spec { font-size: 12px; color: var(--muted); }
.line .right { text-align: right; }
.line .right input { width: 64px; text-align: center; }
.form-row { margin-bottom: 14px; }
.form-row label { display: block; font-weight: 700; font-size: 13px; margin-bottom: 4px; }
.form-row input[type=text], .form-row input[type=email], .form-row input[type=tel] { width: 100%; }
.req { display: inline-block; background: var(--ng); color: #fff; font-size: 10px; padding: 0 5px; border-radius: 3px; margin-left: 6px; vertical-align: 1px; }
.err { color: var(--ng); font-size: 12px; margin: 2px 0 0; }
.bank { background: var(--card); border: 2px solid var(--accent); border-radius: var(--radius); padding: 18px; }
.bank dl { display: grid; grid-template-columns: 6em 1fr; gap: 4px 12px; margin: 0; }
.bank dt { color: var(--muted); }
.bank dd { margin: 0; font-weight: 700; }
.deflist { display: grid; grid-template-columns: minmax(8em, 14em) 1fr; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.deflist dt, .deflist dd { margin: 0; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.deflist dt { background: var(--head); font-weight: 700; font-size: 13px; }
.article { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.article p { margin: 0 0 1em; }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }

/* ---------- フッター ---------- */
.site-footer { background: var(--footer); color: #e8d9dc; padding: 36px 0 16px; font-size: 13px; margin-top: 40px; }
.site-footer a { color: #e8d9dc; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.footer-inner h5 { margin: 0 0 8px; font-size: 13px; color: #fff; }
.footer-inner nav { display: flex; flex-direction: column; gap: 4px; }
.site-footer .logo { color: #fff; font-size: 20px; }
.copy { text-align: center; margin: 28px 0 0; color: #a88d93; font-size: 11px; }

@media (max-width: 900px) {
  .listing, .product, .checkout { grid-template-columns: 1fr; }
  .filters, .summary { position: static; }
  .hero { grid-template-columns: 1fr; }
  .hero .art { display: none; }
  .usp { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .header-main { flex-wrap: wrap; gap: 8px; padding: 8px 0; }
  .hsearch { order: 3; flex-basis: 100%; }
  .hero .copy { padding: 24px; }
  .hero h1 { font-size: 24px; }
  .products { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .deflist, .bank dl { grid-template-columns: 1fr; }
  .deflist dt { border-bottom: 0; }
  .line { grid-template-columns: 56px 1fr; }
  .line .right { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
}

/* 絞り込み：PCでは常に開いた状態、スマホでは畳める */
.filters > summary { display: none; }
@media (max-width: 900px) {
  .filters > summary { display: flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 700; list-style: none; }
  .filters > summary::-webkit-details-marker { display: none; }
  .filters > summary::after { content: "＋"; margin-left: auto; color: var(--accent); }
  .filters[open] > summary { margin-bottom: 10px; }
  .filters[open] > summary::after { content: "－"; }
}

/* ---------- コラム ---------- */
.column-hero { background: var(--card); border-radius: 12px; box-shadow: var(--shadow); padding: 28px 32px; border-left: 6px solid var(--accent); }
.column-hero .lead { margin: 0; font-size: 12px; letter-spacing: .14em; color: var(--accent); font-weight: 700; }
.column-hero h1 { margin: 2px 0 6px; font-size: 28px; }
.column-hero p { margin: 0; color: var(--muted); }
.ctabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.ctabs a { padding: 6px 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); color: var(--ink); font-size: 14px; font-weight: 600; }
.ctabs a span { font-size: 11px; color: var(--muted); margin-left: 2px; }
.ctabs a.on, .ctabs a:hover { background: var(--accent); border-color: var(--accent); color: #fff; text-decoration: none; }
.ctabs a.on span, .ctabs a:hover span { color: #f5d6dc; }

.clist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.clist.small { grid-template-columns: repeat(4, 1fr); }
.ccard { display: flex; flex-direction: column; background: var(--card); border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; color: var(--ink); transition: transform .12s, box-shadow .12s; }
.ccard:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(60, 20, 25, .14); text-decoration: none; }
.eyecatch { position: relative; aspect-ratio: 16 / 9; padding: 16px 18px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden;
  background: linear-gradient(135deg, var(--ec), color-mix(in srgb, var(--ec) 55%, #000)); }
.eyecatch::before, .eyecatch::after { content: ""; position: absolute; width: 46%; aspect-ratio: 210 / 297; right: -6%; top: -18%; background: rgba(255,255,255,.12); border-radius: 3px; transform: rotate(18deg); }
.eyecatch::after { right: 12%; top: -30%; background: rgba(255,255,255,.08); transform: rotate(6deg); }
.eyecatch .cat { position: absolute; top: 12px; left: 14px; font-size: 11px; font-weight: 700; background: rgba(255,255,255,.92); color: var(--ec); padding: 2px 9px; border-radius: 3px; }
.eyecatch b { position: relative; font-size: 15px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-shadow: 0 1px 2px rgba(0,0,0,.2); }
.cbody { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.cbody .meta { margin: 0; font-size: 12px; color: var(--muted); }
.cbody h3 { margin: 4px 0 6px; font-size: 15px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cbody .excerpt { margin: 0 0 10px; font-size: 13px; color: var(--muted); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cbody .readmore { margin-top: auto; font-size: 13px; font-weight: 700; color: var(--accent); }
.clist.small .excerpt, .clist.small .eyecatch b { display: none; }
.ccard.big { grid-column: span 3; flex-direction: row; }
.ccard.big .eyecatch { flex: 0 0 52%; aspect-ratio: auto; min-height: 260px; padding: 28px; }
.ccard.big .eyecatch b { font-size: 22px; }
.ccard.big .cbody { padding: 26px 28px; justify-content: center; }
.ccard.big h3 { font-size: 20px; -webkit-line-clamp: 3; }
.ccard.big .excerpt { -webkit-line-clamp: 4; font-size: 14px; }

.cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 32px 0 0; padding: 20px 24px; border-radius: 10px; background: var(--accent-soft); border: 1px solid #efd3d8; }
.cta b { color: var(--accent-dark); font-size: 16px; }
.cta p { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.cta .btn { flex: none; }

.colwrap { display: grid; grid-template-columns: 1fr 280px; gap: 24px; align-items: start; }
.post { background: var(--card); border-radius: 12px; box-shadow: var(--shadow); padding: 0 0 32px; overflow: hidden; }
.post-head { padding: 34px 44px 26px; background: linear-gradient(135deg, var(--ec), color-mix(in srgb, var(--ec) 55%, #000)); color: #fff; }
.post-head .cat { display: inline-block; font-size: 12px; font-weight: 700; background: rgba(255,255,255,.92); color: var(--ec); padding: 2px 10px; border-radius: 3px; }
.post-head h1 { color: #fff; font-size: 27px; line-height: 1.5; margin: 12px 0 8px; }
.post-head .meta { margin: 0; font-size: 13px; opacity: .85; }
.toc { margin: 28px 44px 0; padding: 18px 22px; background: #faf6f6; border: 1px solid var(--line); border-radius: 8px; }
.toc-title { margin: 0 0 6px; font-weight: 700; color: var(--accent); }
.toc ol { margin: 0; padding-left: 1.4em; font-size: 14px; }
.toc li { margin: 3px 0; }
.toc li.lv3 { list-style: none; margin-left: 1em; font-size: 13px; }
.toc li.lv3::before { content: "– "; color: var(--muted); }
.toc a { color: var(--ink); }
.post-body { padding: 8px 44px 0; font-size: 16px; line-height: 2; }
.post-body p { margin: 1.1em 0; }
.post-body h2 { margin: 2.2em 0 .8em; padding: 12px 16px; font-size: 21px; line-height: 1.5; background: var(--accent-soft); border-left: 5px solid var(--accent); border-radius: 0 6px 6px 0; }
.post-body h2::before { display: none; }
.post-body h3 { margin: 1.8em 0 .6em; padding-bottom: 6px; font-size: 18px; border-bottom: 2px solid var(--line); position: relative; }
.post-body h3::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 60px; height: 2px; background: var(--accent); }
.post-body ul { margin: 1em 0; padding: 14px 18px 14px 36px; background: #faf6f6; border-radius: 8px; }
.post-body li { margin: 4px 0; }
.post-body li::marker { color: var(--accent); }
.post-body .table-wrap { margin: 1.2em 0; box-shadow: none; border: 1px solid var(--line); }
.post-body table { font-size: 14px; }
.post .cta { margin: 36px 44px 0; }
.colside { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 130px; }
.side-title { margin: 0 0 8px; font-weight: 700; font-size: 14px; border-bottom: 2px solid var(--accent); padding-bottom: 6px; }
.side-links { display: flex; flex-direction: column; }
.side-links a { display: flex; justify-content: space-between; padding: 7px 2px; border-bottom: 1px dashed var(--line); color: var(--ink); font-size: 14px; }
.side-links a span { color: var(--muted); font-size: 12px; }
.side-search { display: flex; gap: 6px; margin-bottom: 8px; }
.side-search input { flex: 1; min-width: 0; }

@media (max-width: 900px) {
  .clist, .clist.small { grid-template-columns: repeat(2, 1fr); }
  .ccard.big { grid-column: span 2; flex-direction: column; }
  .ccard.big .eyecatch { min-height: 200px; }
  .colwrap { grid-template-columns: 1fr; }
  .colside { position: static; }
  .cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .clist, .clist.small { grid-template-columns: 1fr; }
  .ccard.big { grid-column: auto; }
  .post-head, .post-body { padding-left: 18px; padding-right: 18px; }
  .toc, .post .cta { margin-left: 18px; margin-right: 18px; }
  .post-head h1 { font-size: 22px; }
  .post-body { font-size: 15px; }
  .column-hero { padding: 20px; }
}

/* サイズボタンの仕上がり寸法 */
.chips button .mm { display: block; font-size: 10px; font-weight: 400; color: var(--muted); line-height: 1.2; }
