/* =========================================================
   CACAORBIS — 公開サイトのデザイン
   生成りの紙に細い方眼、明朝の見出し、深緑のアクセント。
   ========================================================= */
:root {
    --cbx-paper: #F4F1E8;
    --cbx-paper-2: #ECE7DA;
    --cbx-ink: #1B231F;
    --cbx-ink-2: #3D4540;
    --cbx-muted: #646B64;
    --cbx-line: #CFC8B6;
    --cbx-line-strong: #BDB5A1;
    --cbx-green: #1E4636;
    --cbx-green-deep: #142E24;
    --cbx-brass: #7A5C33;
    --cbx-on-green: #E9E4D6;
    --cbx-on-green-muted: #B9C7BE;
    --cbx-gold: #C9B48A;
    --cbx-display: 'Zen Old Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
    --cbx-latin: 'Cormorant Garamond', 'Times New Roman', serif;
    --cbx-body: 'Zen Kaku Gothic New', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
    --cbx-ease: cubic-bezier(.2, .7, .2, 1);
    --cbx-gutter: clamp(20px, 5vw, 64px);
}

/* ---------- 基本 ---------- */
body.cbx { margin: 0; background: var(--cbx-paper); color: var(--cbx-ink); font-family: var(--cbx-body); font-size: 16px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
.cbx *, .cbx *::before, .cbx *::after { box-sizing: border-box; }
.cbx a { color: var(--cbx-green); }
.cbx a:focus-visible, .cbx button:focus-visible, .cbx input:focus-visible, .cbx select:focus-visible, .cbx summary:focus-visible { outline: 2px solid var(--cbx-green); outline-offset: 3px; }
.cbx img { max-width: 100%; height: auto; }
.cbx-visually-hidden, .cbx .visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cbx-skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 16px; background: var(--cbx-green); color: var(--cbx-paper) !important; text-decoration: none; }
.cbx-skip:focus { top: 12px; }
.cbx-wrap { max-width: 1280px; margin: 0 auto; padding-inline: var(--cbx-gutter); }
.cbx-paper { background-color: var(--cbx-paper); background-image: linear-gradient(to right, rgba(27,35,31,.045) 1px, transparent 1px), linear-gradient(to bottom, rgba(27,35,31,.045) 1px, transparent 1px); background-size: 96px 96px; }
.cbx-main { display: block; max-width: none; margin: 0; padding: 0; }

/* ---------- ヘッダー ---------- */
.cbx-header { background: var(--cbx-paper); border-bottom: 1px solid var(--cbx-line); position: relative; z-index: 10; }
.cbx-header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding-block: 22px; }
.cbx-brand { display: flex; align-items: center; gap: 14px; color: var(--cbx-green) !important; text-decoration: none; }
.cbx-brand > span { display: flex; flex-direction: column; line-height: 1.2; }
.cbx-brand-name { font-family: var(--cbx-latin); font-weight: 500; font-size: 22px; letter-spacing: .22em; color: var(--cbx-ink); }
.cbx-brand-sub { font-family: var(--cbx-display); font-size: 12px; letter-spacing: .3em; color: #4A524C; }
.cbx-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; font-size: 14px; letter-spacing: .06em; }
.cbx-nav a { padding: 10px 0; color: var(--cbx-ink); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 6px) / 0 1px no-repeat; transition: background-size .5s ease, color .3s ease; }
.cbx-nav a:hover, .cbx-nav a[aria-current="page"] { background-size: 100% 1px; color: var(--cbx-green); }
.cbx-nav .cbx-nav-search { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--cbx-line); border-radius: 50%; background: none; }
.cbx-nav .cbx-nav-search:hover { border-color: var(--cbx-green); }

/* ---------- 文字 ---------- */
.cbx-label { margin: 0; display: flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 500; letter-spacing: .26em; color: var(--cbx-muted); }
.cbx-label-rule { display: inline-block; width: 36px; height: 1px; background: var(--cbx-green); }
.cbx-index { font-family: var(--cbx-latin); color: var(--cbx-brass); letter-spacing: .04em; }
.cbx-accent { color: var(--cbx-green); }
.cbx-display { margin: 0; font-family: var(--cbx-display); font-weight: 600; font-size: clamp(40px, 5vw, 72px); line-height: 1.32; letter-spacing: .04em; }
.cbx-display > span { display: block; }
.cbx-display-page { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.35; }
.cbx-h2 { margin: 0; font-family: var(--cbx-display); font-weight: 600; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.45; letter-spacing: .04em; }
.cbx-h2-small { font-size: clamp(26px, 2.8vw, 38px); }
.cbx-h3 { margin: 0 0 8px; font-family: var(--cbx-display); font-weight: 600; font-size: 22px; letter-spacing: .04em; }
.cbx-latin { margin: 0; font-family: var(--cbx-latin); font-style: italic; font-size: 23px; color: #4A524C; }
.cbx-latin-small { font-family: var(--cbx-latin); font-style: italic; font-size: 16px; color: var(--cbx-muted); letter-spacing: .02em; }
.cbx-lead { margin: 0; max-width: 34em; color: var(--cbx-ink-2); line-height: 2; }
.cbx-kicker { font-size: 12px; letter-spacing: .14em; color: var(--cbx-green); }
.cbx-meta { margin: 0; font-size: 12px; color: var(--cbx-muted); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.cbx-meta .article-dates time { white-space: nowrap; }

/* ---------- ボタン・リンク ---------- */
.cbx-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.cbx-button { display: inline-flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 30px; border: 1px solid var(--cbx-green); background: var(--cbx-green); color: var(--cbx-paper) !important; text-decoration: none; font-size: 15px; letter-spacing: .12em; transition: background-color .4s ease, border-color .4s ease; }
.cbx-button:hover { background: var(--cbx-green-deep); border-color: var(--cbx-green-deep); }
.cbx-button-outline-light { background: transparent; border-color: var(--cbx-on-green); color: var(--cbx-on-green) !important; }
.cbx-button-outline-light:hover { background: var(--cbx-on-green); color: var(--cbx-green-deep) !important; }
.cbx-link { color: var(--cbx-green) !important; text-decoration: none; padding-bottom: 3px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .5s ease; font-size: 15px; letter-spacing: .06em; }
.cbx-link:hover { background-size: 30% 1px; }
.cbx-arrow { display: inline-block; transition: transform .5s ease; }
a:hover .cbx-arrow { transform: translateX(5px); }
.cbx-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.cbx-chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--cbx-line-strong); border-radius: 999px; color: var(--cbx-ink-2) !important; text-decoration: none; font-size: 14px; transition: border-color .3s ease, color .3s ease; }
a.cbx-chip:hover { border-color: var(--cbx-green); color: var(--cbx-green) !important; }

/* ---------- 区切り ---------- */
.cbx-section { padding-block: clamp(72px, 9vw, 128px); }
.cbx-section-tight { padding-top: 0; }
.cbx-section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 64px; margin-bottom: 44px; }
.cbx-section-head > div { display: flex; flex-direction: column; gap: 16px; }
.cbx-section-note { flex: 0 1 380px; margin: 0; color: var(--cbx-ink-2); line-height: 2; }
.cbx-rule { height: 1px; background: var(--cbx-ink); }
.cbx-band { background: rgba(236, 231, 218, .6); border-top: 1px solid var(--cbx-line); }
.cbx-band-deep { background: var(--cbx-paper-2); border-bottom: 1px solid var(--cbx-line); }
.cbx-split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; border-top: 1px solid var(--cbx-line); }
.cbx-split-bottom { align-items: flex-end; }
.cbx-split-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }

/* ---------- トップ：ヒーロー ---------- */
.cbx-hero { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-block: clamp(48px, 7vw, 104px) clamp(56px, 7vw, 96px); }
.cbx-hero-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.cbx-hero-copy .cbx-latin { margin-top: -6px; font-size: 24px; }
.cbx-facts { margin: 16px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--cbx-line); }
.cbx-facts > div { padding: 18px 16px 0; border-right: 1px solid var(--cbx-line); }
.cbx-facts > div:first-child { padding-left: 0; }
.cbx-facts > div:last-child { border-right: 0; padding-right: 0; }
.cbx-facts dt { font-size: 12px; color: var(--cbx-muted); letter-spacing: .08em; }
.cbx-facts dd { margin: 4px 0 0; }
.cbx-num { font-family: var(--cbx-latin); font-size: 34px; line-height: 1.1; }
.cbx-fact-text { font-family: var(--cbx-display); font-size: 22px; line-height: 1.5; padding-top: 6px; }
.cbx-hero-figure { flex: 1.25 1 480px; min-width: 0; margin: 0; }
.cbx-frame { position: relative; padding: 14px; border: 1px solid var(--cbx-line-strong); background: var(--cbx-paper); }
.cbx-frame-image { overflow: hidden; aspect-ratio: 4 / 3.3; }
.cbx-frame-wide { aspect-ratio: 21 / 9; }
.cbx-frame-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.cbx-corner { position: absolute; width: 14px; height: 14px; border-color: var(--cbx-green); border-style: solid; border-width: 0; }
.cbx-corner-tl { top: -7px; left: -7px; border-top-width: 1px; border-left-width: 1px; }
.cbx-corner-tr { top: -7px; right: -7px; border-top-width: 1px; border-right-width: 1px; }
.cbx-corner-bl { bottom: -7px; left: -7px; border-bottom-width: 1px; border-left-width: 1px; }
.cbx-corner-br { bottom: -7px; right: -7px; border-bottom-width: 1px; border-right-width: 1px; }
.cbx-caption { margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; font-size: 12px; letter-spacing: .1em; color: var(--cbx-muted); }

/* ---------- 流れる用語の帯 ---------- */
.cbx-ticker { overflow: hidden; border-block: 1px solid var(--cbx-green); background: var(--cbx-paper); padding: 16px 0; }
.cbx-ticker-track { display: flex; width: max-content; font-family: var(--cbx-latin); font-style: italic; font-size: 26px; color: var(--cbx-green); white-space: nowrap; }
.cbx-ticker-track > span { padding-right: 48px; }

/* ---------- 五つの主題 ---------- */
.cbx-index-list { list-style: none; margin: 0; padding: 0; }
.cbx-index-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 32px; padding: 30px 8px; border-bottom: 1px solid var(--cbx-line); color: var(--cbx-ink) !important; text-decoration: none; transition: background-color .4s ease; }
.cbx-index-row:hover { background: rgba(30, 70, 54, .045); }
.cbx-index-row > .cbx-index { flex: 0 0 64px; font-size: 22px; }
.cbx-index-name { flex: 1 1 320px; display: flex; flex-direction: column; gap: 2px; }
.cbx-index-title { font-family: var(--cbx-display); font-size: 26px; font-weight: 600; letter-spacing: .04em; transition: color .4s ease; }
.cbx-index-row:hover .cbx-index-title { color: var(--cbx-green); }
.cbx-index-desc { flex: 1 1 300px; color: var(--cbx-ink-2); font-size: 15px; }
.cbx-index-row > .cbx-arrow { font-size: 20px; color: var(--cbx-green); }
.cbx-step-2 { margin-left: 4%; } .cbx-step-3 { margin-left: 8%; } .cbx-step-4 { margin-left: 12%; } .cbx-step-5 { margin-left: 16%; }

/* ---------- 特集・カード・行 ---------- */
.cbx-feature { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; margin-top: 28px; color: var(--cbx-ink) !important; text-decoration: none; }
.cbx-feature-visual { flex: 1.3 1 480px; min-width: 0; overflow: hidden; aspect-ratio: 16 / 10; border: 1px solid var(--cbx-line-strong); }
.cbx-feature-visual img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--cbx-ease); }
.cbx-feature:hover .cbx-feature-visual img { transform: scale(1.045); }
.cbx-feature-copy { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.cbx-feature-title { font-family: var(--cbx-display); font-weight: 600; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.55; letter-spacing: .03em; transition: color .4s ease; }
.cbx-feature:hover .cbx-feature-title { color: var(--cbx-green); }
.cbx-feature-excerpt { color: var(--cbx-ink-2); line-height: 2; }
.cbx-feature-copy .cbx-link { align-self: flex-start; }

.cbx-card-grid, .cbx-legacy .journal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 48px 36px; }
.cbx-card { display: flex; flex-direction: column; gap: 14px; }
.cbx-card-link { display: flex; flex-direction: column; gap: 16px; color: var(--cbx-ink) !important; text-decoration: none; }
.cbx-card-visual { display: block; overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--cbx-line-strong); background: var(--cbx-paper-2); }
.cbx-card-visual img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--cbx-ease); }
.cbx-card-link:hover .cbx-card-visual img { transform: scale(1.045); }
.cbx-card-noimage { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--cbx-green); font-family: var(--cbx-latin); letter-spacing: .3em; font-size: 13px; }
.cbx-card-title { font-family: var(--cbx-display); font-weight: 600; font-size: 20px; line-height: 1.7; transition: color .4s ease; }
.cbx-card-link:hover .cbx-card-title { color: var(--cbx-green); }

.cbx-rows { list-style: none; margin: 56px 0 0; padding: 0; border-top: 1px solid var(--cbx-ink); }
.cbx-rows-list { margin-top: 8px; border-top-color: var(--cbx-line); }
.cbx-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 36px; padding: 26px 8px; border-bottom: 1px solid var(--cbx-line); color: var(--cbx-ink) !important; text-decoration: none; transition: background-color .4s ease; }
.cbx-row:hover { background: rgba(30, 70, 54, .045); }
.cbx-row-date { flex: 0 0 104px; display: flex; flex-direction: column; font-size: 12px; letter-spacing: .06em; color: var(--cbx-muted); font-variant-numeric: tabular-nums; }
.cbx-row-year { font-family: var(--cbx-latin); font-size: 22px; line-height: 1.3; color: var(--cbx-ink); letter-spacing: .02em; }
.cbx-row-main { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.cbx-row-title { font-family: var(--cbx-display); font-weight: 600; font-size: 20px; line-height: 1.65; transition: color .4s ease; }
.cbx-row:hover .cbx-row-title { color: var(--cbx-green); }
.cbx-row-excerpt { color: var(--cbx-ink-2); font-size: 14px; line-height: 1.9; }
.cbx-row-visual { flex: 0 0 200px; overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--cbx-line-strong); }
.cbx-row-visual img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--cbx-ease); }
.cbx-row:hover .cbx-row-visual img { transform: scale(1.06); }
.cbx-row-arrow { flex: 0 0 auto; font-size: 20px; color: var(--cbx-green); }

/* ---------- 地域の索引 ---------- */
.cbx-atlas { flex: 1.2 1 480px; min-width: 0; padding: 28px; border: 1px solid var(--cbx-line-strong); background-color: var(--cbx-paper); background-image: linear-gradient(to right, rgba(30,70,54,.08) 1px, transparent 1px), linear-gradient(to bottom, rgba(30,70,54,.08) 1px, transparent 1px); background-size: 32px 32px; }
.cbx-atlas-head { margin: 0 0 18px; display: flex; justify-content: space-between; gap: 12px; font-size: 12px; letter-spacing: .2em; color: var(--cbx-muted); }
.cbx-atlas-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--cbx-line-strong); border: 1px solid var(--cbx-line-strong); }
.cbx-region { display: flex; flex-direction: column; gap: 2px; padding: 20px 22px; background: var(--cbx-paper); color: var(--cbx-ink) !important; text-decoration: none; transition: background-color .4s ease, color .4s ease; }
.cbx-region strong { font-family: var(--cbx-display); font-size: 19px; font-weight: 600; }
.cbx-region:hover { background: var(--cbx-green); color: var(--cbx-paper) !important; }
.cbx-region:hover .cbx-latin-small { color: #C9D8CF; }

/* ---------- 編集方針 ---------- */
.cbx-standards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid var(--cbx-ink); }
.cbx-standards li { padding: 28px 28px 8px 0; display: flex; flex-direction: column; gap: 12px; }
.cbx-standards strong { font-family: var(--cbx-display); font-size: 20px; font-weight: 600; }
.cbx-standards li > span:last-child { color: var(--cbx-ink-2); font-size: 15px; line-height: 1.9; }
.cbx-roman { font-family: var(--cbx-latin); font-style: italic; font-size: 26px; color: var(--cbx-green); }

/* ---------- 検索 ---------- */
.cbx-search-block { flex: 1.3 1 440px; min-width: 0; }
.cbx-search { display: flex; flex-direction: column; gap: 14px; }
.cbx-search-label { font-size: 13px; color: var(--cbx-muted); letter-spacing: .08em; }
.cbx-search-field { display: flex; border-bottom: 1px solid var(--cbx-ink); }
.cbx-search-field input { flex: 1; min-width: 0; height: 56px; padding: 0; border: 0; background: transparent; font-family: var(--cbx-display); font-size: 20px; color: var(--cbx-ink); outline: none; }
.cbx-search-field:focus-within { border-bottom-color: var(--cbx-green); box-shadow: 0 1px 0 var(--cbx-green); }
.cbx-search-field button { min-width: 112px; height: 56px; border: 0; background: var(--cbx-green); color: var(--cbx-paper); font: inherit; font-size: 15px; letter-spacing: .14em; cursor: pointer; transition: background-color .4s ease; }
.cbx-search-field button:hover { background: var(--cbx-green-deep); }

/* ---------- 一覧ページ ---------- */
.cbx-page-head { padding-top: clamp(48px, 6vw, 88px); }
.cbx-page-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px 64px; }
.cbx-page-head-copy { flex: 1 1 440px; display: flex; flex-direction: column; gap: 18px; }
.cbx-page-head-search { flex: 0 1 440px; min-width: 0; }
.cbx-page-head .cbx-rule { margin-top: 48px; }
.cbx-tabs { display: flex; flex-wrap: wrap; gap: 0 4px; border-bottom: 1px solid var(--cbx-line); }
.cbx-tabs a { display: inline-flex; align-items: center; min-height: 52px; padding: 0 18px; margin-bottom: -1px; border-bottom: 2px solid transparent; color: #4A524C !important; text-decoration: none; font-family: var(--cbx-display); font-size: 16px; letter-spacing: .06em; transition: color .3s ease, border-color .3s ease; }
.cbx-tabs a:hover { color: var(--cbx-green) !important; }
.cbx-tabs a[aria-current="page"] { color: var(--cbx-green) !important; border-bottom-color: var(--cbx-green); font-weight: 600; }
.cbx-list-section { padding-bottom: clamp(64px, 8vw, 104px); }
.cbx-count { margin: 24px 0 8px; font-size: 13px; color: var(--cbx-muted); letter-spacing: .06em; }
.cbx-empty { margin: 0; padding: 64px 0; text-align: center; font-family: var(--cbx-display); font-size: 18px; color: var(--cbx-ink-2); list-style: none; }
.cbx-error { margin: 16px 0 0; color: #8A3B2B; }
.cbx-ranking { margin-top: 48px; }
.cbx-ranking .cbx-rows { margin-top: 16px; }
.cbx-archive { margin-top: 56px; border-top: 1px solid var(--cbx-line); border-bottom: 1px solid var(--cbx-line); }
.cbx-archive summary { padding: 18px 4px; cursor: pointer; font-family: var(--cbx-display); font-size: 17px; }
.cbx-archive-body { padding: 8px 0 24px; }

/* ---------- ページ送り ---------- */
.cbx-pager { margin-top: 56px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.cbx-pager-status { font-family: var(--cbx-latin); font-style: italic; font-size: 18px; color: #4A524C; }
.cbx-pager-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cbx-page { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 48px; height: 48px; padding: 0 12px; border: 1px solid var(--cbx-line-strong); color: var(--cbx-ink) !important; text-decoration: none; font-family: var(--cbx-latin); font-size: 19px; transition: border-color .3s ease, color .3s ease; }
a.cbx-page:hover { border-color: var(--cbx-green); color: var(--cbx-green) !important; }
.cbx-page.is-current { border-color: var(--cbx-green); background: var(--cbx-green); color: var(--cbx-paper) !important; }
.cbx-page-step { padding: 0 20px; font-family: var(--cbx-body); font-size: 14px; letter-spacing: .1em; }
.cbx-page-gap { padding: 0 6px; color: var(--cbx-muted); }

/* ---------- 記事 ---------- */
.cbx-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 30; pointer-events: none; }
.cbx-progress span { display: block; height: 3px; background: var(--cbx-green); transform: scaleX(0); transform-origin: left center; }
.cbx-article-head { padding-top: clamp(40px, 6vw, 80px); }
.cbx-breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px 12px; font-size: 13px; color: var(--cbx-muted); letter-spacing: .06em; }
.cbx-breadcrumbs a { color: #4A524C !important; text-decoration: none; }
.cbx-breadcrumbs a:hover { color: var(--cbx-green) !important; text-decoration: underline; text-underline-offset: 4px; }
.cbx-article-title-block { max-width: 920px; margin-top: 40px; display: flex; flex-direction: column; gap: 22px; }
.cbx-article-title { margin: 0; font-family: var(--cbx-display); font-weight: 600; font-size: clamp(30px, 3.8vw, 52px); line-height: 1.5; letter-spacing: .04em; }
.cbx-article-head .cbx-rule { margin-top: 40px; }
.cbx-article-meta { margin: 0; display: flex; flex-wrap: wrap; gap: 12px 40px; padding: 18px 0; border-bottom: 1px solid var(--cbx-line); font-size: 13px; letter-spacing: .06em; }
.cbx-article-meta div { display: flex; gap: 10px; }
.cbx-article-meta dt { color: var(--cbx-muted); }
.cbx-article-meta dd { margin: 0; font-variant-numeric: tabular-nums; }
.cbx-article-meta .cbx-link { font-size: 13px; }
.cbx-article-figure { margin: 48px auto 0; }
.cbx-article-figure .cbx-frame-image img { object-position: 50% 50%; }
.cbx-article-layout { display: flex; flex-wrap: wrap; gap: 48px 80px; align-items: flex-start; padding-block: clamp(48px, 6vw, 80px) clamp(64px, 8vw, 104px); }
.cbx-toc { flex: 1 1 240px; max-width: 100%; min-width: 0; }
.cbx-toc-inner { display: flex; flex-direction: column; gap: 14px; }
.cbx-toc ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--cbx-ink); font-size: 14px; }
.cbx-toc a { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid #DDD6C5; color: var(--cbx-ink-2) !important; text-decoration: none; line-height: 1.7; transition: color .3s ease; }
.cbx-toc a:hover, .cbx-toc a.is-active { color: var(--cbx-green) !important; }
.cbx-toc-level-3 a { padding-left: 34px; font-size: 13px; }
.cbx-toc-report { align-self: flex-start; margin-top: 10px; font-size: 13px; }
.cbx-article-main { flex: 999 1 560px; min-width: 0; max-width: 740px; }
.cbx-article-layout:not(:has(.cbx-toc)) .cbx-article-main { margin-inline: auto; }

/* 本文の組版 */
.cbx-prose { font-size: 17px; line-height: 2.1; letter-spacing: .02em; color: var(--cbx-ink); overflow-wrap: anywhere; }
.cbx-prose > :first-child { margin-top: 0; }
.cbx-prose p { margin: 0 0 1.9em; }
.cbx-prose h2 { margin: 2.6em 0 1em; padding-top: 1.4em; border-top: 1px solid var(--cbx-line); font-family: var(--cbx-display); font-weight: 600; font-size: 28px; line-height: 1.55; letter-spacing: .03em; scroll-margin-top: 32px; }
.cbx-prose h3 { margin: 2.2em 0 .8em; font-family: var(--cbx-display); font-weight: 600; font-size: 21px; line-height: 1.6; scroll-margin-top: 32px; }
.cbx-prose h4 { margin: 2em 0 .6em; font-size: 17px; font-weight: 700; }
.cbx-prose a { color: var(--cbx-green); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.cbx-prose a:hover { color: var(--cbx-green-deep); }
.cbx-prose ul, .cbx-prose ol { margin: 0 0 1.9em; padding-left: 1.4em; }
.cbx-prose li + li { margin-top: .4em; }
.cbx-prose li::marker { color: var(--cbx-green); }
.cbx-prose blockquote { margin: 2em 0; padding: 4px 0 4px 28px; border-left: 1px solid var(--cbx-green); font-family: var(--cbx-display); font-size: 19px; color: var(--cbx-green); }
.cbx-prose blockquote p:last-child { margin-bottom: 0; }
.cbx-prose img { display: block; max-width: 100%; height: auto; margin: 2em auto; border: 1px solid var(--cbx-line-strong); }
.cbx-prose figure { margin: 2em 0; }
.cbx-prose figcaption { margin-top: 10px; font-size: 13px; color: var(--cbx-muted); }
.cbx-prose table { width: 100%; margin: 0 0 1.9em; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.cbx-prose th, .cbx-prose td { padding: 10px 12px; border-bottom: 1px solid var(--cbx-line); text-align: left; vertical-align: top; }
.cbx-prose th { font-weight: 500; color: var(--cbx-muted); }
.cbx-prose hr { margin: 3em 0; border: 0; border-top: 1px solid var(--cbx-line); }
.cbx-prose code { padding: 1px 6px; background: var(--cbx-paper-2); font-size: .9em; }
.cbx-prose strong { font-weight: 700; }

.cbx-article-note { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--cbx-ink); display: flex; flex-direction: column; gap: 16px; }
.cbx-article-note p { margin: 0; font-size: 14px; line-height: 1.9; color: var(--cbx-ink-2); }
.cbx-article-note .cbx-link { font-size: 14px; }
.cbx-author { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: center; padding: 28px 32px; border: 1px solid var(--cbx-line-strong); }
.cbx-author > div { flex: 1 1 320px; display: flex; flex-direction: column; gap: 6px; }
.cbx-author p { margin: 0; }
.cbx-author-mark { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--cbx-green); display: flex; align-items: center; justify-content: center; color: var(--cbx-green); }
.cbx-author-name { font-family: var(--cbx-display); font-size: 19px; font-weight: 600; }
.cbx-author-text { font-size: 14px; color: var(--cbx-ink-2); line-height: 1.9; }
.cbx-article-return { margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 12px 32px; }

/* ---------- フッター ---------- */
.cbx-footer { background: var(--cbx-green-deep); color: var(--cbx-on-green); padding: clamp(64px, 8vw, 104px) 0 40px; }
.cbx-footer a { color: var(--cbx-on-green); text-decoration: none; }
.cbx-footer a:hover { color: #ffffff; text-decoration: underline; text-underline-offset: 4px; }
.cbx-footer a:focus-visible { outline-color: var(--cbx-on-green); }
.cbx-footer-lead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px 64px; padding-bottom: 56px; border-bottom: 1px solid rgba(233, 228, 214, .22); }
.cbx-footer-motto { margin: 0; font-family: var(--cbx-display); font-weight: 600; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.4; letter-spacing: .04em; }
.cbx-footer-motto span { font-family: var(--cbx-latin); font-style: italic; font-weight: 400; color: var(--cbx-gold); }
.cbx-footer .cbx-button-outline-light:hover { text-decoration: none; color: var(--cbx-green-deep) !important; }
.cbx-footer-cols { display: flex; flex-wrap: wrap; gap: 40px 64px; padding: 48px 0; }
.cbx-footer-brand { flex: 1.4 1 260px; display: flex; flex-direction: column; gap: 10px; }
.cbx-footer-brand .cbx-brand-name { color: var(--cbx-on-green); }
.cbx-footer-brand p { margin: 0; font-size: 13px; color: var(--cbx-on-green-muted); line-height: 1.9; }
.cbx-footer-cols nav { flex: 1 1 160px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.cbx-footer-label { font-size: 12px; letter-spacing: .2em; color: var(--cbx-on-green-muted); }
.cbx-footer-note { margin: 0; padding-top: 24px; border-top: 1px solid rgba(233, 228, 214, .22); font-size: 12px; letter-spacing: .1em; color: var(--cbx-on-green-muted); }

/* ---------- まだ作り替えていないページ：書体と色だけ合わせる ---------- */
.cbx-legacy { background-color: var(--cbx-paper); }
.cbx-legacy h1, .cbx-legacy h2, .cbx-legacy h3 { font-family: var(--cbx-display); font-weight: 600; letter-spacing: .03em; color: var(--cbx-ink); }
.cbx-legacy .eyebrow { font-family: var(--cbx-body); font-size: 12px; letter-spacing: .26em; color: var(--cbx-muted); }
.cbx-legacy .page-heading h1 { font-size: clamp(32px, 4vw, 52px); line-height: 1.4; }
.cbx-legacy .underlined-link { color: var(--cbx-green); }
.cbx-legacy .breadcrumbs a { color: #4A524C; }
.cbx-legacy a { color: var(--cbx-green); }
.cbx-legacy button, .cbx-legacy .button { border-radius: 0; }
.cbx-legacy .search-form button, .cbx-legacy form button[type="submit"]:not(.ws-button) { background: var(--cbx-green); border-color: var(--cbx-green); color: var(--cbx-paper); }

/* ---------- スマートフォンのメニュー（JavaScriptがあるときだけ折りたたむ） ---------- */
.cbx-menu-toggle { display: none; }
.cbx-nav-search-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@keyframes cbxMenu { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (max-width: 820px) {
    .cbx-header-inner { padding-block: 12px; gap: 0 16px; }
    .cbx-brand { gap: 10px; }
    .cbx-brand svg { width: 28px; height: 28px; }
    .cbx-brand-name { font-size: 19px; }
    .cbx-brand-sub { font-size: 11px; letter-spacing: .24em; }
    .cbx-js-menu .cbx-menu-toggle { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 2px 0 10px; border: 0; background: none; color: var(--cbx-ink); font: inherit; font-size: 13px; letter-spacing: .16em; cursor: pointer; }
    .cbx-menu-icon { position: relative; display: inline-block; width: 22px; height: 12px; }
    .cbx-menu-icon span { position: absolute; left: 0; width: 100%; height: 1px; background: currentColor; transition: transform .35s var(--cbx-ease), top .35s var(--cbx-ease); }
    .cbx-menu-icon span:first-child { top: 0; }
    .cbx-menu-icon span:last-child { top: 11px; }
    .cbx-menu-toggle[aria-expanded="true"] .cbx-menu-icon span:first-child { top: 5.5px; transform: rotate(45deg); }
    .cbx-menu-toggle[aria-expanded="true"] .cbx-menu-icon span:last-child { top: 5.5px; transform: rotate(-45deg); }
    .cbx-js-menu .cbx-nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; margin-top: 12px; border-top: 1px solid var(--cbx-ink); }
    .cbx-js-menu .cbx-nav.is-open { display: flex; }
    .cbx-js-menu .cbx-nav a { display: flex; align-items: center; min-height: 52px; padding: 0 2px; border-bottom: 1px solid var(--cbx-line); background: none; font-family: var(--cbx-display); font-size: 16px; letter-spacing: .08em; }
    .cbx-js-menu .cbx-nav a[aria-current="page"] { color: var(--cbx-green); }
    .cbx-js-menu .cbx-nav .cbx-nav-search { width: auto; height: auto; min-height: 52px; gap: 12px; justify-content: flex-start; border: 0; border-bottom: 1px solid var(--cbx-line); border-radius: 0; }
    .cbx-js-menu .cbx-nav-search-text { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}
@media (max-width: 820px) and (prefers-reduced-motion: no-preference) {
    .cbx-js-menu .cbx-nav.is-open { animation: cbxMenu .35s var(--cbx-ease); }
}

/* ---------- 動き（視差効果を減らす設定では止める） ---------- */
@keyframes cbxRise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes cbxFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes cbxDraw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes cbxZoom { from { transform: scale(1.12); } to { transform: scale(1.02); } }
@keyframes cbxBreathe { from { transform: scale(1.02); } to { transform: scale(1.07); } }
@keyframes cbxTicker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes cbxTick { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
    .cbx-in { animation: cbxRise 1.1s var(--cbx-ease) both; }
    .cbx-d1 { animation-delay: .15s; } .cbx-d2 { animation-delay: .3s; } .cbx-d3 { animation-delay: .45s; } .cbx-d4 { animation-delay: .6s; } .cbx-d5 { animation-delay: .75s; }
    .cbx-rule-draw { transform-origin: left center; animation: cbxDraw 1.6s cubic-bezier(.6, 0, .2, 1) .3s both; }
    .cbx-hero-img { animation: cbxZoom 2.6s var(--cbx-ease) both, cbxBreathe 22s ease-in-out 2.6s infinite alternate; }
    .cbx-article-figure .cbx-hero-img { animation: cbxZoom 2.4s var(--cbx-ease) both; }
    .cbx-corner { animation: cbxTick .8s ease 1.2s both; }
    .cbx-ticker-track { animation: cbxTicker 70s linear infinite; }
    .cbx-ticker:hover .cbx-ticker-track { animation-play-state: paused; }
    /* スクロールに合わせて現れる：対応ブラウザはCSSだけで、それ以外はJSで */
    .cbx-sdt .cbx-rv { animation: cbxRise linear both; animation-timeline: view(); animation-range: entry 5% cover 30%; }
    .cbx-sdt .cbx-rv-line { transform-origin: left center; animation: cbxDraw linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
    .cbx-sdt .cbx-rv-img { animation: cbxFade linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
    .cbx-io .cbx-rv { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--cbx-ease), transform 1s var(--cbx-ease); }
    .cbx-io .cbx-rv-line { transform: scaleX(0); transform-origin: left center; transition: transform 1.4s cubic-bezier(.6, 0, .2, 1); }
    .cbx-io .cbx-rv-img { opacity: 0; transition: opacity 1.2s ease; }
    .cbx-io .is-visible { opacity: 1; transform: none; }
}

/* ---------- 狭い画面 ---------- */
@media (max-width: 820px) {
    .cbx-step-2, .cbx-step-3, .cbx-step-4, .cbx-step-5 { margin-left: 0; }
    .cbx-nav { gap: 0 18px; }
    .cbx-row-visual { flex-basis: 100%; order: -1; aspect-ratio: 16 / 9; }
    .cbx-row-date { flex-basis: 100%; flex-direction: row; align-items: baseline; gap: 10px; }
    .cbx-row-arrow { display: none; }
    .cbx-facts > div { padding-inline: 10px; }
    .cbx-search-field button { min-width: 84px; }
    .cbx-atlas { padding: 18px; }
    .cbx-atlas-grid { grid-template-columns: minmax(0, 1fr); }
    .cbx-prose { font-size: 16px; }
    .cbx-prose h2 { font-size: 24px; }
}
@media (min-width: 1000px) { .cbx-toc-inner { position: sticky; top: 32px; } }
@media print {
    .cbx-header, .cbx-footer, .cbx-progress, .cbx-ticker, .cbx-toc { display: none; }
    .cbx-paper { background: none; }
}

/* 読み込み時の演出：カカオの実が割れ、豆がチョコレートに生まれ変わる */
.cbx-intro-overlay { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; background-color: #F4F1E8; background-image: linear-gradient(to right, rgba(27,35,31,.045) 1px, transparent 1px), linear-gradient(to bottom, rgba(27,35,31,.045) 1px, transparent 1px); background-size: 96px 96px; cursor: pointer; animation: cbxIntroOut .6s ease 2.7s forwards; }
.cbx-intro-overlay.is-playing { display: flex; }
.cbx-intro-art { width: min(56vw, 280px); height: auto; overflow: visible; }
.cbx-intro-art .cbx-draw { fill: none; stroke: #1E4636; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: cbxIntroDraw .9s cubic-bezier(.6,0,.3,1) .1s forwards; }
.cbx-intro-art .cbx-draw-late { stroke-width: 1.1; animation-delay: .35s; }
.cbx-intro-art .cbx-pod-left, .cbx-intro-art .cbx-pod-right { transform-box: view-box; transform-origin: 120px 212px; }
.cbx-intro-art .cbx-pod-left { animation: cbxIntroSplitL .7s cubic-bezier(.5,0,.2,1) 1s forwards; }
.cbx-intro-art .cbx-pod-right { animation: cbxIntroSplitR .7s cubic-bezier(.5,0,.2,1) 1s forwards; }
.cbx-intro-art .cbx-bean { fill: #6B4A33; opacity: 0; transform-box: fill-box; transform-origin: center; animation: cbxIntroBeanIn .35s ease forwards, cbxIntroGather .5s cubic-bezier(.6,0,.3,1) forwards; }
.cbx-intro-art .cbx-bean-1 { --dx: 12px; --dy: 28px; animation-delay: 1.05s, 1.55s; }
.cbx-intro-art .cbx-bean-2 { --dx: -13px; --dy: 16px; animation-delay: 1.12s, 1.55s; }
.cbx-intro-art .cbx-bean-3 { --dx: 11px; --dy: -6px; animation-delay: 1.19s, 1.55s; }
.cbx-intro-art .cbx-bean-4 { --dx: -11px; --dy: -22px; animation-delay: 1.26s, 1.55s; }
.cbx-intro-art .cbx-bean-5 { --dx: 1px; --dy: -48px; animation-delay: 1.33s, 1.55s; }
.cbx-intro-art .cbx-bar-base { fill: #2E1B12; opacity: 0; transform-box: fill-box; transform-origin: center; animation: cbxIntroBar .45s cubic-bezier(.2,.7,.2,1) 1.8s forwards; }
.cbx-intro-art .cbx-piece { fill: #4A2C1C; stroke: #6E4A34; stroke-width: 1; opacity: 0; transform-box: fill-box; transform-origin: center; animation: cbxIntroPiece .4s cubic-bezier(.2,.7,.2,1) forwards; }
.cbx-intro-art .cbx-piece-1 { animation-delay: 1.9s; } .cbx-intro-art .cbx-piece-2 { animation-delay: 1.96s; } .cbx-intro-art .cbx-piece-3 { animation-delay: 2.02s; }
.cbx-intro-art .cbx-piece-4 { animation-delay: 2.08s; } .cbx-intro-art .cbx-piece-5 { animation-delay: 2.14s; } .cbx-intro-art .cbx-piece-6 { animation-delay: 2.2s; }
.cbx-intro-art .cbx-intro-word { font-family: 'Cormorant Garamond', 'Times New Roman', serif; font-size: 15px; letter-spacing: .32em; fill: #1B231F; opacity: 0; animation: cbxIntroWord .6s ease 2.05s forwards; }
@keyframes cbxIntroDraw { to { stroke-dashoffset: 0; } }
@keyframes cbxIntroSplitL { 0% { transform: none; opacity: 1; } 60% { opacity: 1; } 100% { transform: translateX(-46px) rotate(-16deg); opacity: 0; } }
@keyframes cbxIntroSplitR { 0% { transform: none; opacity: 1; } 60% { opacity: 1; } 100% { transform: translateX(46px) rotate(16deg); opacity: 0; } }
@keyframes cbxIntroBeanIn { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: scale(1); } }
@keyframes cbxIntroGather { from { opacity: 1; transform: translate(0, 0) scale(1); } to { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.3); } }
@keyframes cbxIntroBar { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
@keyframes cbxIntroPiece { from { opacity: 0; transform: translateY(-6px) scale(.85); } to { opacity: 1; transform: none; } }
@keyframes cbxIntroWord { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes cbxIntroOut { to { opacity: 0; visibility: hidden; } }
html.cbx-intro { overflow: hidden; }
/* 演出の間は、トップの見出しと写真の動きを待たせる */
.cbx-intro .cbx-hero .cbx-in, .cbx-intro .cbx-hero-img, .cbx-intro .cbx-corner { animation-play-state: paused; }
.cbx-intro-overlay.is-leaving { animation: cbxIntroOut .3s ease forwards; }
