@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ（オトコの作戦会議 デザイン v2）
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.2.0
*/

/* =====================================================================
   オトコの作戦会議 デザイン v2
   Figma「00 デザインシステム」の色・文字・部品をそのまま変数化している。
   色を変えるときは :root の変数だけを変える。
   ===================================================================== */

:root {
  --ink: #12171d;
  --paper: #fff;
  --mist: #f2f2ef;
  --sub: #555b62;        /* 白地 7.1:1 */
  --line: #d9dbde;
  --shu: #b8321c;        /* 白地 5.3:1 */
  --shu-on-ink: #f07055; /* 墨地 6.1:1 */
  --sub-on-ink: #a9afb6; /* 墨地 8.1:1 */
  --line-on-ink: #2b323b;

  --f-mincho: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --f-gothic: "BIZ UDPGothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --f-num: "Barlow Condensed", "Arial Narrow", var(--f-gothic);

  --gutter: 20px;
  --sec: 48px;          /* セクション上下の余白 */
  --body: 17px;
  --body-lh: 1.85;
  --header-h: 56px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 768px) {
  :root { --gutter: 40px; --sec: 72px; --body: 18px; --body-lh: 1.9; --header-h: 72px; }
}
@media (min-width: 1200px) {
  :root { --sec: 96px; }
}

/* ---------- リセット（このテーマで出力するページだけに効く） ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body.oc {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-gothic); font-size: var(--body); line-height: var(--body-lh);
  font-feature-settings: "palt" 0; overflow-wrap: anywhere; line-break: strict;
  -webkit-font-smoothing: antialiased;
}
:where(.oc) :where(h1, h2, h3, p, ul, ol, figure, dl, dd, fieldset) { margin: 0; padding: 0; }
:where(.oc) :where(ul, ol) { list-style: none; }
:where(.oc) fieldset { border: 0; min-width: 0; }
:where(.oc) legend { padding: 0; }
:where(.oc) a { color: inherit; text-decoration: none; }
:where(.oc) img { max-width: 100%; height: auto; }
:where(.oc) button { font: inherit; color: inherit; cursor: pointer; }
.oc :focus-visible { outline: 3px solid var(--shu); outline-offset: 2px; }
.oc-sec--mist :focus-visible, .oc-hero :focus-visible { outline-color: var(--shu); }
.oc-header :focus-visible, .oc-footer :focus-visible, .oc-menu :focus-visible, .oc-poll--dark :focus-visible { outline-color: var(--shu-on-ink); }
#main:focus { outline: none; }
.oc [hidden] { display: none !important; }
.oc-visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.oc-skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--paper); color: var(--ink); padding: 10px 16px; font-weight: 700; font-size: 15px; }
.oc-skip:focus { top: 8px; }

/* ---------- レイアウト ---------- */
.oc-wrap { width: min(1440px, 100% - var(--gutter) * 2); margin-inline: auto; }
.oc-sec { padding-block: var(--sec); }
.oc-sec--tight { padding-block: calc(var(--sec) * .5) calc(var(--sec) * .5); }
.oc-sec--mist { background: var(--mist); }
.oc-sec--line { border-top: 1px solid var(--line); }
.oc-sec__head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
@media (min-width: 1024px) {
  .oc-sec__head--split { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 32px; }
}
.oc-split { display: grid; gap: 32px; }
@media (min-width: 1024px) { .oc-split { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; } }
.oc-split__text { display: flex; flex-direction: column; gap: 16px; }

/* ---------- 文字 ---------- */
.oc-eyebrow, .oc-qlabel, .oc-datacard__label {
  font-family: var(--f-num); font-weight: 600; font-size: 16px; line-height: 1.2; letter-spacing: .12em; color: var(--shu);
}
.oc-h1 { font-family: var(--f-mincho); font-weight: 700; font-size: 26px; line-height: 1.5; }
.oc-h1--l { font-size: 34px; line-height: 1.35; }
.oc-h1--s { font-size: 24px; }
.oc-h2 { font-family: var(--f-mincho); font-weight: 700; font-size: 26px; line-height: 1.5; margin-top: 12px; }
.oc-h2--s { font-size: 22px; line-height: 1.55; }
.oc-lead { color: var(--sub); }
.oc-h1, .oc-h2, .oc-display, .oc-index__title, .oc-poll__q, .oc-article__h1, .oc-content h2, .oc-promise li, .oc-datacard__caption, .oc-card__title { word-break: auto-phrase; text-wrap: pretty; }
.oc-body { font-size: var(--body); line-height: var(--body-lh); }
.oc-meta { font-size: 15px; line-height: 1.6; color: var(--sub); }
.oc-kicker { font-size: 15px; font-weight: 700; line-height: 1.5; color: var(--shu); margin-top: 8px; }
.oc-num { font-family: var(--f-num); font-weight: 600; font-size: 30px; line-height: 1; }
.oc-num--ja { font-family: var(--f-gothic); font-weight: 700; font-size: 26px; }
.oc-more { margin-top: 16px; font-size: 15px; font-weight: 700; line-height: 1.5; }
.oc-more a { color: var(--shu); display: inline-block; padding-block: 11px; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 0 1px no-repeat; transition: background-size .25s var(--ease); }
.oc-more a:hover { background-size: 100% 1px; }
@media (min-width: 768px) {
  .oc-h1 { font-size: 38px; line-height: 1.45; }
  .oc-h1--l { font-size: 48px; line-height: 1.35; }
  .oc-h1--s { font-size: 28px; line-height: 1.5; }
  .oc-h2 { font-size: 38px; line-height: 1.45; }
  .oc-h2--s { font-size: 28px; line-height: 1.5; }
}

/* ---------- ボタン・チップ ---------- */
.oc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 28px; font-size: 15px; font-weight: 700; line-height: 1.5; border: 1.5px solid var(--ink); background: var(--ink); color: var(--paper); border-radius: 0; }
.oc-btn--line { background: var(--paper); color: var(--ink); }
.oc-btn .oc-arrow { transition: transform .2s var(--ease); }
.oc-btn:hover .oc-arrow { transform: translateX(4px); }
.oc-chip { position: relative; display: inline-flex; align-items: center; padding: 6px 12px; border: 1px solid var(--ink); background: var(--paper); font-size: 15px; font-weight: 700; line-height: 1.5; transition: background-color .2s, color .2s; }
.oc-chip::before { content: ""; position: absolute; inset: -4px; } /* タップ領域を44px以上に */
.oc-chip:hover { background: var(--ink); color: var(--paper); }

/* ---------- ロゴ・ヘッダー ---------- */
.oc-logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--paper); }
.oc-logo__mark { width: 14px; height: 14px; background: var(--shu-on-ink); flex: none; }
.oc-logo__text { font-family: var(--f-mincho); font-weight: 800; font-size: 20px; line-height: 1.2; white-space: nowrap; letter-spacing: .02em; }
@media (min-width: 768px) { .oc-logo__text { font-size: 22px; } }

.oc-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; gap: 0; padding: 0 4px 0 20px;
  background: var(--ink); color: var(--paper);
  transition: transform .25s var(--ease);
}
.oc-header .oc-logo { margin-right: auto; }
.oc-header.is-hidden { transform: translateY(-100%); }
.oc-gnav { display: none; }
.oc-iconbtn { display: inline-grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; background: none; color: var(--paper); flex: none; }
.oc-iconbtn svg { transition: transform .2s var(--ease); }
.oc-iconbtn:hover svg { transform: scale(1.08); }
@media (min-width: 768px) { .oc-header { padding: 0 36px 0 48px; } }
@media (min-width: 1100px) {
  .oc-header { gap: 40px; }
  .oc-header .oc-logo { margin-right: 0; }
  .oc-gnav { display: block; flex: 1; }
  .oc-gnav ul { display: flex; gap: 32px; }
  .oc-gnav a { display: inline-block; padding: 12px 0; font-size: 15px; font-weight: 700; line-height: 1.5; white-space: nowrap; background: linear-gradient(var(--shu-on-ink), var(--shu-on-ink)) 0 calc(100% - 8px) / 0 2px no-repeat; transition: background-size .25s var(--ease); }
  .oc-gnav a:hover, .oc-gnav a[aria-current] { background-size: 100% 2px; }
}

/* ---------- メニュー（dialog） ---------- */
.oc-menu { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: var(--ink); color: var(--paper); overflow-y: auto; overscroll-behavior: contain; }
.oc-menu::backdrop { background: rgb(18 23 29 / .6); }
.oc-menu[open] { animation: oc-fade .2s var(--ease); }
.oc-menu__bar { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding: 0 4px 0 20px; background: var(--ink); }
.oc-menu__body { width: min(720px, 100% - 40px); margin: 0 auto; padding: 8px 0 48px; }
.oc-menu__search input { width: 100%; height: 52px; padding: 0 16px; border: 1px solid var(--line-on-ink); background: transparent; color: var(--paper); font: inherit; font-size: 16px; border-radius: 0; }
.oc-menu__search input::placeholder { color: var(--sub-on-ink); }
.oc-menu__label { margin-top: 28px; color: var(--shu-on-ink); font-size: 15px; font-weight: 700; letter-spacing: .08em; }
.oc-menu__cats a { display: flex; flex-direction: column; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line-on-ink); }
.oc-menu__cat { font-family: var(--f-mincho); font-weight: 700; font-size: 22px; line-height: 1.5; }
.oc-menu__themes { font-size: 15px; line-height: 1.6; color: var(--sub-on-ink); }
.oc-menu__cats a:hover .oc-menu__cat { color: var(--shu-on-ink); }
.oc-menu__links { margin-top: 16px; }
.oc-menu__links a { display: block; padding: 12px 0; font-size: 15px; font-weight: 700; }
@media (min-width: 768px) { .oc-menu__bar { padding: 0 36px 0 48px; } }
@keyframes oc-fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- TOP：ヒーロー ---------- */
.oc-hero { display: grid; gap: 24px; padding-block: 40px 48px; }
.oc-hero__text { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.oc-hero__h1 { display: flex; flex-direction: column; gap: 20px; font-weight: 400; }
.oc-hero__site { font-size: 15px; font-weight: 700; line-height: 1.5; color: var(--shu); }
.oc-display { font-family: var(--f-mincho); font-weight: 800; font-size: clamp(28px, 8.8vw, 34px); line-height: 1.35; }
@media (max-width: 767px) { .oc-pc-only { display: none; } }
.oc-hero__def { font-size: var(--body); line-height: var(--body-lh); }
.oc-facts { display: flex; gap: 28px; }
.oc-facts li { position: relative; display: flex; flex-direction: column; gap: 6px; padding-top: 14px; }
.oc-facts li::before { content: ""; position: absolute; top: 0; left: 0; width: 28px; height: 3px; background: var(--shu); transform: scaleX(var(--p, 1)); transform-origin: left; }
.oc-facts .oc-num { font-size: 40px; font-variant-numeric: tabular-nums; }
@media (min-width: 768px) { .oc-facts { gap: 48px; } .oc-facts .oc-num { font-size: 52px; } }
.oc-facts li span:last-child { font-size: 15px; line-height: 1.6; color: var(--sub); }
@media (min-width: 1024px) {
  .oc-hero { grid-template-columns: 1fr 480px; gap: 64px; align-items: end; padding-block: 88px 96px; }
  .oc-hero__text, .oc-hero__h1 { gap: 24px; }
  .oc-display { font-size: 64px; line-height: 1.25; }
}
@media (min-width: 768px) and (max-width: 1023px) { .oc-display { font-size: 48px; line-height: 1.3; } }

/* ---------- データカード ---------- */
.oc-datacard { display: flex; flex-direction: column; gap: 12px; padding: 22px 20px; border: 1.5px solid var(--ink); background: var(--paper); }
.oc-datacard__num { display: flex; align-items: baseline; gap: 6px; font-family: var(--f-num); font-weight: 600; line-height: 1; }
.oc-datacard__value { font-size: 72px; font-variant-numeric: tabular-nums; }
.oc-hero .oc-bar > span { animation: none; } /* TOPの数字はJSで数え上げと同時に伸ばす */
.oc-datacard__unit { font-size: 30px; }
.oc-datacard__caption { font-size: 19px; font-weight: 700; line-height: 1.75; }
.oc-datacard__src { font-size: 15px; line-height: 1.6; color: var(--sub); }
.oc-datacard__src a { text-decoration: underline; text-underline-offset: 3px; }
.oc-bar { height: 10px; background: var(--mist); overflow: hidden; }
.oc-bar > span { display: block; height: 100%; width: var(--v); background: var(--ink); transform-origin: left; }
@media (min-width: 768px) {
  .oc-datacard { padding: 28px; }
  .oc-datacard__value { font-size: 128px; }
}

/* ---------- TOP：悩みの索引 ---------- */
.oc-filter, .oc-kindfilter { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.oc-filter button { min-height: 44px; padding: 0; border: 0; background: none; font-size: 15px; font-weight: 700; line-height: 1.5; color: var(--ink); }
@media (max-width: 767px) { .oc-filter { display: none !important; } }
.oc-filter button[aria-pressed="true"] { color: var(--shu); }
.oc-filter button:hover { color: var(--shu); }
.oc-index { display: grid; }
.oc-index li[hidden] { display: none; }
.oc-index a { display: flex; align-items: center; gap: 14px; min-height: 80px; padding: 14px 0; border-bottom: 1px solid var(--ink); background: linear-gradient(var(--shu), var(--shu)) 0 100% / 0 2px no-repeat; transition: background-size .3s var(--ease); }
.oc-index__no { font-family: var(--f-num); font-weight: 600; font-size: 30px; line-height: 1; color: var(--shu); flex: none; min-width: 2ch; }
.oc-index__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.oc-index__title { font-family: var(--f-mincho); font-weight: 700; font-size: 21px; line-height: 1.45; }
.oc-index__meta { font-size: 15px; line-height: 1.6; color: var(--sub); }
.oc-arrow { flex: none; transition: transform .2s var(--ease); }
.oc-index a:hover { background-size: 100% 2px; }
.oc-index a:hover .oc-arrow { transform: translateX(4px); }
.oc-index__more { width: 100%; margin-top: 16px; }
.oc-index.is-collapsed li:nth-child(n + 7) { display: none; }
@media (min-width: 768px) {
  .oc-index { grid-template-columns: 1fr 1fr; grid-auto-flow: column; grid-template-rows: repeat(6, auto); column-gap: 64px; }
  .oc-index a { gap: 20px; padding: 18px 0; }
  .oc-index__title { font-size: 26px; line-height: 1.4; }
  .oc-index.is-filtered { grid-auto-flow: row; grid-template-rows: none; }
}
@media (min-width: 1200px) { .oc-index__title { font-size: 30px; } }

/* ---------- 記事カード（TOP・カテゴリー・テーマ・検索・次に読む） ----------
   見た目の順番：画像または要点の数字 → 種類・カテゴリー → タイトル → 要約 → 更新日・読了。
   HTMLはタイトルが先（読み上げ・検索エンジン向け）。
   幅：768px以上は「1枚330px以上」を保ったまま画面幅に合わせて列数が増える（最大1440pxで4列）。 */
.oc-cards { display: grid; gap: 16px; margin-top: 24px; }
.oc-sec__head + .oc-cards { margin-top: 0; }
.oc-card { display: flex; min-width: 0; }
.oc-card[hidden] { display: none; }
.oc-card__link { flex: 1; min-width: 0; display: grid; grid-template-rows: auto 1fr; grid-template-areas: "visual" "body"; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--ink); overflow: hidden; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.oc-card:not(.has-visual) .oc-card__link { grid-template-areas: "body"; grid-template-rows: 1fr; }
.oc-card__link:hover { border-color: var(--ink); box-shadow: 0 8px 20px rgb(18 23 29 / .08); }
.oc-card__body { grid-area: body; display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 16px; min-width: 0; }
.oc-card__labels { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 15px; line-height: 1.5; }
.oc-kindbadge { display: inline-flex; align-items: center; padding: 0 9px; background: var(--ink); color: var(--paper); font-size: 15px; font-weight: 700; line-height: 1.75; letter-spacing: .04em; white-space: nowrap; }
.oc-card__cat { font-weight: 700; color: var(--shu); }
.oc-card__theme { color: var(--sub); }
.oc-card__title { font-family: var(--f-gothic); font-size: 19px; font-weight: 700; line-height: 1.6; word-break: auto-phrase; text-wrap: pretty; }
.oc-card__link:hover .oc-card__title { text-decoration: underline; text-decoration-color: var(--shu); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.oc-card__excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 16px; line-height: 1.75; color: var(--sub); }
.oc-card__meta { display: flex; flex-wrap: wrap; gap: 0 16px; margin-top: auto; padding-top: 2px; font-size: 15px; line-height: 1.6; color: var(--sub); }

/* 画像・数字の枠（スマホ 3:1、PC 5:2。どちらも同じ高さにそろえて一覧の列を乱さない） */
.oc-card__visual { grid-area: visual; display: block; aspect-ratio: 3 / 1; overflow: hidden; background: var(--mist); }
.oc-card__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; transition: transform .4s var(--ease); }
.oc-card__link:hover .oc-card__img { transform: scale(1.03); }
.oc-card__visual--fig { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: 1fr auto; column-gap: 16px; align-items: center; padding: 14px 18px 12px; background: var(--ink); color: var(--paper); }
.oc-fig__num { font-family: var(--f-num); font-weight: 600; font-size: 46px; line-height: 1; letter-spacing: .01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.oc-fig__unit { margin-left: 3px; font-family: var(--f-gothic); font-size: 17px; font-weight: 700; color: var(--shu-on-ink); }
.oc-fig__label { font-size: 15px; font-weight: 700; line-height: 1.5; color: var(--sub-on-ink); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.oc-fig__bar { grid-column: 1 / -1; display: block; height: 4px; margin-top: 8px; background: var(--line-on-ink); }
.oc-fig__bar > span { display: block; width: var(--v); height: 100%; background: var(--shu-on-ink); }

@media (min-width: 768px) {
  .oc-cards { grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 24px; }
  .oc-cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oc-card__body { gap: 12px; padding: 20px 24px 20px; }
  .oc-card__title { font-size: 20px; }
  .oc-card__excerpt { -webkit-line-clamp: 3; }
  .oc-card__visual { aspect-ratio: 5 / 2; }
  .oc-card__visual--fig { grid-template-columns: 1fr; grid-template-rows: 1fr auto auto; align-items: end; row-gap: 6px; padding: 20px 24px 18px; }
  .oc-fig__num { font-size: 60px; }
  .oc-fig__unit { font-size: 20px; }
  .oc-fig__bar { margin-top: 6px; }
}
@media (min-width: 1100px) { .oc-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- TOP：カテゴリー ---------- */
.oc-cats { display: grid; margin-top: 20px; }
.oc-cats__item { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 14px 0; border-top: 1px solid var(--ink); }
@media (max-width: 767px) { .oc-cats__name a::after { content: ""; position: absolute; inset: 0; } }
.oc-cats__name { font-family: var(--f-mincho); font-weight: 700; font-size: 22px; line-height: 1.55; }
.oc-cats__name a { display: block; }
.oc-cats__desc { display: none; }
.oc-cats__short { font-size: 15px; line-height: 1.6; color: var(--sub); }
.oc-cats__themes { display: none; }
.oc-cats__item:has(.oc-cats__name a:hover) .oc-cats__name { color: var(--shu); }
@media (min-width: 768px) {
  .oc-cats { grid-template-columns: repeat(3, 1fr); gap: 32px 24px; margin-top: 32px; }
  .oc-cats__item { gap: 12px; padding: 20px 0 0; border-top-width: 2px; }
  .oc-cats__name { font-size: 28px; line-height: 1.5; }
  .oc-cats__desc { display: block; font-size: 15px; line-height: 1.6; color: var(--sub); }
  .oc-cats__short { display: none; }
  .oc-cats__themes { display: grid; gap: 0; }
  .oc-cats__themes a { display: inline-block; padding: 6px 0; font-size: 15px; font-weight: 700; line-height: 1.5; }
  .oc-cats__themes a:hover { color: var(--shu); }
  .oc-cats--compact .oc-cats__short { display: block; }
}
@media (min-width: 1200px) { .oc-cats { grid-template-columns: repeat(6, 1fr); } }

/* ---------- アンケート ---------- */
.oc-poll { padding: 24px 20px; border: 1.5px solid var(--ink); background: var(--paper); }
.oc-poll legend { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.oc-poll__label { font-size: 15px; font-weight: 700; line-height: 1.5; color: var(--shu); }
.oc-poll__q { font-family: var(--f-mincho); font-weight: 700; font-size: 22px; line-height: 1.55; }
.oc-poll__opts { display: grid; gap: 8px; margin-top: 16px; }
.oc-poll__opt { display: flex; align-items: center; min-height: 52px; padding: 0 16px; border: 1.5px solid var(--ink); background: var(--paper); font-size: 15px; font-weight: 700; line-height: 1.5; text-align: left; border-radius: 0; transition: background-color .2s, color .2s; }
.oc-poll__opt:hover, .oc-poll__opt[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.oc-poll__opt:disabled { cursor: default; }
.oc-poll__done { margin-top: 16px; font-size: 15px; font-weight: 700; line-height: 1.6; }
.oc-poll--dark { border: 0; background: var(--ink); color: var(--paper); padding: 28px 20px; }
.oc-poll--dark .oc-poll__label { color: var(--shu-on-ink); }
.oc-poll--dark .oc-poll__opts { grid-template-columns: 1fr 1fr; gap: 10px; }
.oc-poll--dark .oc-poll__opt { justify-content: center; min-height: 56px; border-color: var(--paper); background: transparent; color: var(--paper); text-align: center; }
.oc-poll--dark .oc-poll__opt:hover, .oc-poll--dark .oc-poll__opt[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
@media (min-width: 768px) {
  .oc-poll { padding: 32px; }
  .oc-poll__q { font-size: 28px; line-height: 1.5; }
  .oc-poll__opt { min-height: 56px; padding: 0 20px; }
  .oc-poll--dark { padding: 28px; }
  .oc-poll--dark .oc-poll__opts { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- TOP：3つの約束 ---------- */
.oc-promise li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--ink); font-size: 15px; font-weight: 700; line-height: 1.5; }
.oc-promise__no { font-family: var(--f-num); font-weight: 600; font-size: 30px; line-height: 1; color: var(--shu); min-width: 1ch; }
@media (min-width: 768px) {
  .oc-promise li { gap: 20px; padding: 20px 0; font-family: var(--f-mincho); font-size: 28px; line-height: 1.5; }
  .oc-promise__no { font-size: 72px; }
}

/* ---------- フッター ---------- */
.oc-footer { display: flex; flex-direction: column; gap: 24px; padding: 40px var(--gutter-f, 20px) calc(40px + env(safe-area-inset-bottom)); background: var(--ink); color: var(--paper); }
.oc-footer__about { display: flex; flex-direction: column; gap: 10px; }
.oc-footer__about p { font-size: 15px; line-height: 1.6; color: var(--sub-on-ink); }
.oc-footer__index { display: grid; }
.oc-footer__col ul { display: none; }
.oc-footer__cat { display: flex; align-items: center; min-height: 48px; border-bottom: 1px solid var(--line-on-ink); font-size: 15px; font-weight: 700; line-height: 1.5; }
.oc-footer__legal { display: flex; flex-direction: column; gap: 4px; font-size: 15px; line-height: 1.6; }
.oc-footer__legal a { padding: 10px 0; }
.oc-footer__legal small { font-size: 15px; color: var(--sub-on-ink); }
.oc-footer a:hover { color: var(--shu-on-ink); }
@media (min-width: 768px) {
  .oc-footer { gap: 40px; padding: 64px 48px 48px; }
  .oc-footer__about p { font-size: 18px; line-height: 1.9; }
  .oc-footer__index { grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
  .oc-footer__cat { min-height: 0; border: 0; padding: 0 0 10px; }
  .oc-footer__col ul { display: grid; gap: 0; }
  .oc-footer__col li a { display: inline-block; padding: 5px 0; font-size: 15px; line-height: 1.6; color: var(--sub-on-ink); }
  .oc-footer__legal { flex-direction: row; align-items: center; gap: 28px; padding-top: 24px; border-top: 1px solid var(--line-on-ink); }
  .oc-footer__legal a { padding: 0; }
}
@media (min-width: 1200px) { .oc-footer__index { grid-template-columns: repeat(6, 1fr); } }

/* ---------- パンくず ---------- */
.oc-bc ol { display: flex; flex-wrap: wrap; gap: 0 8px; font-size: 15px; line-height: 1.6; color: var(--sub); }
.oc-bc li { display: flex; gap: 8px; min-width: 0; }
.oc-bc li + li::before { content: "›"; }
.oc-bc a { display: inline-block; padding-block: 10px; margin-block: -10px; }
.oc-bc a:hover { color: var(--ink); text-decoration: underline; }
.oc-bc [aria-current] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 20em; }

/* ---------- アーカイブ（カテゴリー・検索・404） ---------- */
.oc-archive-hero { background: var(--mist); padding-block: 24px 40px; }
.oc-archive-hero .oc-wrap { display: flex; flex-direction: column; gap: 12px; }
.oc-archive-hero__desc { max-width: 40em; }
@media (min-width: 768px) { .oc-archive-hero { padding-block: 48px 64px; } .oc-archive-hero .oc-wrap { gap: 16px; } }
.oc-themes { display: grid; margin-top: 16px; }
.oc-themes a { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-top: 1px solid var(--ink); }
.oc-themes__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.oc-themes__name { font-family: var(--f-mincho); font-weight: 700; font-size: 22px; line-height: 1.5; }
.oc-themes__cnt { flex: none; font-size: 15px; font-weight: 700; color: var(--shu); }
.oc-themes__desc { font-size: 15px; line-height: 1.6; color: var(--sub); }
.oc-themes a:hover .oc-themes__name { color: var(--shu); }
@media (min-width: 768px) { .oc-themes { grid-template-columns: repeat(2, 1fr); column-gap: 24px; row-gap: 24px; } .oc-themes a { padding-top: 20px; } }
@media (min-width: 1024px) { .oc-themes { grid-template-columns: repeat(3, 1fr); } }
.oc-empty, .oc-tip { margin-top: 20px; padding: 20px; border: 1px dashed var(--sub); font-size: 15px; line-height: 1.7; color: var(--sub); }
.oc-empty__h, .oc-tip__h { font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.oc-empty a, .oc-tip a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.oc-pager ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.oc-pager a, .oc-pager span { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--ink); font-size: 15px; font-weight: 700; }
.oc-pager .current { background: var(--ink); color: var(--paper); }
.oc-pager .dots { border: 0; }
.oc-pager a:hover { background: var(--mist); }
.oc-searchform { display: flex; width: 100%; max-width: 760px; }
.oc-searchform input { flex: 1; min-width: 0; height: 52px; padding: 0 16px; border: 1.5px solid var(--ink); border-right: 0; background: var(--paper); font: inherit; font-size: 17px; border-radius: 0; }
.oc-searchform button { flex: none; height: 52px; padding: 0 20px; border: 0; background: var(--ink); color: var(--paper); font-size: 15px; font-weight: 700; }
@media (min-width: 768px) { .oc-searchform input { height: 56px; } .oc-searchform button { height: 56px; padding: 0 28px; } }

/* テーマ（タグ） */
.oc-tag-hero { display: flex; flex-direction: column; gap: 12px; padding-block: 24px 16px; }
.oc-summary { max-width: 760px; margin-top: 12px; padding: 20px; background: var(--mist); }
.oc-summary__label { font-size: 15px; font-weight: 700; color: var(--sub); margin-bottom: 4px; }
@media (min-width: 768px) { .oc-tag-hero { gap: 16px; padding-block: 40px 24px; } .oc-summary { padding: 24px; } }
.oc-order { display: grid; margin-top: 16px; border-top: 1.5px solid var(--ink); }
.oc-order a { display: flex; flex-direction: column; gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.oc-order__no { font-size: 15px; font-weight: 700; color: var(--shu); }
.oc-order__kind { font-size: 15px; color: var(--sub); }
.oc-order__title { font-size: 19px; font-weight: 700; line-height: 1.6; }
.oc-order .oc-kindbadge { align-self: flex-start; margin-block: 2px 4px; }
.oc-order a:hover .oc-order__title { color: var(--shu); }
@media (min-width: 1024px) { .oc-order { grid-template-columns: repeat(4, 1fr); column-gap: 24px; } .oc-order a { border-bottom: 0; } }
.oc-kindfilter button { min-height: 44px; padding: 0 12px; border: 1px solid var(--ink); background: var(--paper); font-size: 15px; font-weight: 700; }
.oc-kindfilter { gap: 8px; }
.oc-kindfilter button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.oc-related-themes { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; font-size: 15px; color: var(--sub); }
.oc-related-themes ul { display: flex; flex-wrap: wrap; gap: 12px 8px; }
.oc-related-themes .oc-chip { color: var(--ink); }
.oc-related-themes .oc-chip:hover { color: var(--paper); }
.oc-related-themes--top { margin: 0 0 8px; }

/* ---------- 記事 ----------
   本文は1カラム・最大720px（18pxで1行約40字）。サイドバーは置かない。
   グラフ・表だけはPCで本文より少し広く使う。 */
.oc-read { width: min(720px, 100% - var(--gutter) * 2); margin-inline: auto; }
html:has(body.oc-single) { scroll-padding-top: calc(var(--header-h) + 64px); }

.oc-article__head { padding-block: 20px 28px; border-bottom: 1px solid var(--line); }
.oc-article__head .oc-read { display: flex; flex-direction: column; gap: 14px; }
.oc-article__labels { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 15px; font-weight: 700; line-height: 1.5; }
.oc-article__cat, .oc-article__theme { display: inline-block; padding-block: 10px; margin-block: -10px; }
.oc-article__cat { color: var(--shu); }
.oc-article__theme { color: var(--sub); }
.oc-article__cat:hover, .oc-article__theme:hover { text-decoration: underline; text-underline-offset: 4px; }
.oc-pr { font-size: 15px; font-weight: 700; padding: 0 8px; border: 1px solid var(--sub); color: var(--sub); }
.oc-article__h1 { font-family: var(--f-mincho); font-weight: 700; font-size: 27px; line-height: 1.5; text-wrap: pretty; word-break: auto-phrase; font-feature-settings: "palt" 1; letter-spacing: .03em; }
.oc-article__meta { display: flex; flex-wrap: wrap; gap: 2px 20px; font-size: 15px; line-height: 1.6; color: var(--sub); }
.oc-article__meta a { display: inline-block; padding-block: 10px; margin-block: -10px; color: var(--ink); text-decoration: underline; text-decoration-color: var(--shu); text-underline-offset: 4px; }
.oc-article__body { padding-top: 28px; }
.oc-article__visual { width: min(720px, 100% - var(--gutter) * 2); margin: 28px auto 0; }
.oc-article__img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; background: var(--mist); }
.oc-article__visual figcaption { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--sub); }
@media (min-width: 768px) { .oc-article__visual { margin-top: 40px; } .oc-article__img { aspect-ratio: 5 / 2; } } /* PCは本文と同じ幅・低めにして、結論を早く見せる */
@media (min-width: 768px) {
  .oc-article__head { padding-block: 40px; }
  .oc-article__head .oc-read { gap: 18px; }
  .oc-article__h1 { font-size: 36px; line-height: 1.45; }
  .oc-article__body { padding-top: 40px; }
}

/* 読書バー（JSで生成）：ヘッダーの下に固定。いまの問い・進み具合・目次 */
.oc-readbar { position: fixed; left: 0; right: 0; top: var(--header-h); z-index: 45; background: var(--paper); border-bottom: 1px solid var(--line); transform: translateY(-110%); visibility: hidden; transition: transform .25s var(--ease), top .25s var(--ease), visibility 0s linear .25s; }
.oc-readbar.is-shown { transform: none; visibility: visible; transition: transform .25s var(--ease), top .25s var(--ease); }
.oc-header.is-hidden ~ main .oc-readbar { top: 0; }
.oc-readbar__in { width: min(720px, 100% - var(--gutter) * 2); margin-inline: auto; }
.oc-readbar__btn { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 0; border: 0; background: none; text-align: left; }
.oc-readbar__label { flex: none; display: inline-flex; align-items: center; gap: 6px; padding-right: 12px; border-right: 1px solid var(--line); font-size: 15px; font-weight: 700; line-height: 1.5; color: var(--sub); }
.oc-readbar__q { flex: none; font-family: var(--f-num); font-weight: 600; font-size: 18px; line-height: 1; letter-spacing: .08em; color: var(--shu); }
.oc-readbar__q:empty { display: none; }
.oc-readbar__now { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 700; line-height: 1.5; }
.oc-readbar__chev { flex: none; transition: transform .2s var(--ease); }
.oc-readbar__btn[aria-expanded="true"] .oc-readbar__chev { transform: rotate(180deg); }
.oc-readbar__btn:hover .oc-readbar__now { text-decoration: underline; text-underline-offset: 4px; }
.oc-readbar__progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; }
.oc-readbar__progress > span { display: block; height: 100%; background: var(--shu); transform-origin: left; transform: scaleX(0); }
.oc-readbar__toc { position: absolute; top: calc(100% + 2px); left: 0; right: 0; max-height: calc(100vh - var(--header-h) - 96px); max-height: calc(100dvh - var(--header-h) - 96px); overflow-y: auto; overscroll-behavior: contain; background: var(--paper); border-bottom: 2px solid var(--ink); box-shadow: 0 16px 32px rgb(18 23 29 / .14); }
.oc-readbar__toc ol { width: min(720px, 100% - var(--gutter) * 2); margin-inline: auto; padding-block: 8px 16px; }
.oc-readbar__toc a { display: flex; align-items: baseline; gap: 12px; min-height: 48px; padding: 12px; border-left: 3px solid transparent; font-size: 15px; font-weight: 700; line-height: 1.5; }
.oc-readbar__toc a:hover, .oc-readbar__toc a[aria-current="true"] { background: var(--mist); border-left-color: var(--shu); }

/* 目次（本文中に1つだけ。結論と根拠の直後） */
.oc-toc { padding: 20px 20px 8px; background: var(--mist); border-top: 3px solid var(--ink); }
.oc-toc__label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; margin-bottom: 6px; font-size: 17px; font-weight: 700; line-height: 1.5; }
.oc-toc__label span { font-size: 15px; font-weight: 400; color: var(--sub); }
.oc-toc ol { display: grid; }
.oc-toc li + li { border-top: 1px solid var(--line); }
.oc-toc a { display: flex; align-items: baseline; gap: 12px; min-height: 48px; padding: 12px 0; font-size: 16px; font-weight: 700; line-height: 1.55; }
.oc-toc__q { flex: none; min-width: 2.6em; font-family: var(--f-num); font-weight: 600; font-size: 17px; letter-spacing: .08em; color: var(--shu); }
.oc-toc a:hover .oc-toc__t { text-decoration: underline; text-decoration-color: var(--shu); text-underline-offset: 4px; }
.oc-content nav.oc-toc ol { list-style: none; padding: 0; gap: 0; }
.oc-content .oc-toc a { color: var(--ink); text-decoration: none; }
@media (min-width: 768px) { .oc-toc { padding: 24px 28px 12px; } }

/* 本文：段落の間は約1行。問い（h2）は上に罫線を引いて区切る */
.oc-content { display: flex; flex-direction: column; gap: 20px; font-size: var(--body); line-height: var(--body-lh); }
.oc-content > * { margin: 0; }
.oc-content a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--shu); text-underline-offset: 4px; }
.oc-content a:hover { color: var(--shu); }
.oc-content h2 { font-family: var(--f-mincho); font-weight: 700; font-size: 23px; line-height: 1.55; font-feature-settings: "palt" 1; letter-spacing: .03em; scroll-margin-top: calc(var(--header-h) + 64px); }
.oc-content .oc-qlabel { font-size: 20px; }
.oc-content > .oc-qlabel, .oc-content > h2:not(.oc-qlabel + h2) { margin-top: 36px; padding-top: 24px; border-top: 2px solid var(--ink); }
.oc-content > .oc-qlabel { margin-bottom: -12px; }
.oc-content > :first-child { margin-top: 0; }
.oc-content h3 { font-size: 19px; font-weight: 700; line-height: 1.6; }
.oc-content > h3 { margin-top: 12px; padding-left: 14px; border-left: 4px solid var(--shu); }
.oc-content ul:not([class]) , .oc-content ol:not([class]) { padding-left: 1.4em; display: grid; gap: 8px; }
.oc-content ul:not([class]) { list-style: disc; }
.oc-content ol:not([class]) { list-style: decimal; }
.oc-content ul.wp-block-list { list-style: disc; padding-left: 1.4em; display: grid; gap: 8px; }
.oc-content ol.wp-block-list:not(.oc-conclusion):not(.oc-steps) { list-style: decimal; padding-left: 1.4em; display: grid; gap: 8px; }
.oc-content strong { font-weight: 700; background: linear-gradient(transparent 62%, rgb(184 50 28 / .14) 0); }
.oc-content table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.65; }
.oc-content th, .oc-content td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.oc-content th { background: var(--mist); font-weight: 700; }
.oc-content figure.wp-block-table { overflow-x: auto; }
.oc-content figure.wp-block-table figcaption { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--sub); }
.oc-grade th[scope="row"] { width: 104px; font-family: var(--f-num); font-size: 24px; line-height: 1.1; }
.oc-grade th[scope="row"] > span { display: block; margin-top: 6px; font-family: var(--f-gothic); font-size: 14px; font-weight: 700; line-height: 1.4; color: var(--sub); }
.oc-content blockquote { margin: 0; padding: 16px 20px; border-left: 3px solid var(--line); color: var(--sub); }
.oc-content .oc-answer, .oc-content p.is-style-answer { padding: 2px 0 2px 16px; border-left: 4px solid var(--ink); font-size: 19px; font-weight: 700; line-height: 1.75; }
@media (min-width: 768px) {
  .oc-content { gap: 24px; }
  .oc-content h2 { font-size: 30px; line-height: 1.5; }
  .oc-content > .oc-qlabel, .oc-content > h2:not(.oc-qlabel + h2) { margin-top: 56px; padding-top: 32px; }
  .oc-content > .oc-qlabel { margin-bottom: -16px; }
  .oc-content h3 { font-size: 20px; }
  .oc-content .oc-answer, .oc-content p.is-style-answer { font-size: 20px; padding-left: 20px; }
}
/* グラフ・数値・表はPCで本文より左右80pxずつ広く */
@media (min-width: 1100px) {
  .oc-content > :is(.oc-bars, .oc-stats, figure.wp-block-table) { margin-inline: -80px; }
}

/* 本文で使う部品（ブロックの「追加CSSクラス」に指定して使う） */
ol.oc-conclusion { counter-reset: oc; display: flex; flex-direction: column; gap: 16px; padding: 24px 20px; background: var(--ink); color: var(--paper); list-style: none; }
ol.oc-conclusion::before { content: "この記事の結論"; font-family: var(--f-num), var(--f-gothic); font-weight: 600; font-size: 16px; letter-spacing: .12em; color: var(--shu-on-ink); }
ol.oc-conclusion > li { counter-increment: oc; display: flex; gap: 14px; }
ol.oc-conclusion > li::before { content: counter(oc); font-family: var(--f-num); font-weight: 600; font-size: 30px; line-height: 1; color: var(--shu-on-ink); padding-top: .2em; flex: none; }
@media (min-width: 768px) { ol.oc-conclusion { padding: 28px; } }
.oc-basis { padding: 14px 18px; border: 1px dashed var(--sub); font-size: 15px; line-height: 1.6; color: var(--sub); }
.oc-definition { display: flex; flex-direction: column; gap: 8px; padding: 20px; background: var(--mist); }
.oc-definition::before { content: "この記事での言葉の意味"; font-size: 15px; font-weight: 700; color: var(--sub); }
.oc-definition > * { margin: 0; }
.oc-definition h3, .oc-definition dt { font-size: 20px; font-weight: 700; line-height: 1.6; margin: 0; }
.oc-definition dd { margin: 0; }
@media (min-width: 768px) { .oc-definition { padding: 24px; } }
.oc-content .oc-datacard { margin-block: 8px; }
.oc-breakdown { display: flex; flex-direction: column; gap: 10px; padding: 20px; border: 1.5px solid var(--ink); border-top: 0; margin-top: -24px; }
.oc-breakdown__h { font-size: 15px; font-weight: 700; color: var(--sub); }
.oc-breakdown__row { display: grid; grid-template-columns: 5.5em 1fr auto; align-items: center; gap: 12px; font-size: 15px; line-height: 1.6; }
.oc-breakdown__row .oc-bar { height: 12px; }
.oc-breakdown__v { font-family: var(--f-num); font-weight: 600; font-size: 26px; line-height: 1; }
@media (min-width: 768px) { .oc-breakdown { padding: 20px 28px; } .oc-breakdown__row { grid-template-columns: 200px 1fr auto; gap: 16px; } .oc-breakdown__v { font-size: 30px; } }
.oc-related { display: flex; gap: 16px; padding: 14px 0; border-block: 1px solid var(--line); font-size: 15px; font-weight: 700; line-height: 1.5; }
.oc-related::before { content: "あわせて読む"; flex: none; color: var(--shu); }
.oc-related a { text-decoration: none; }
.oc-proposal { font-size: 15px; font-weight: 700; line-height: 1.5; color: var(--sub); }
ol.oc-steps { counter-reset: st; display: flex; flex-direction: column; list-style: none; }
ol.oc-steps > li { counter-increment: st; display: flex; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
ol.oc-steps > li::before { content: counter(st); font-family: var(--f-num); font-weight: 600; font-size: 30px; line-height: 1; color: var(--shu); padding-top: .2em; flex: none; }
details.oc-details, .oc-content details { background: var(--mist); font-size: 15px; line-height: 1.7; }
.oc-content details > summary { display: flex; gap: 12px; align-items: center; min-height: 48px; padding: 12px 20px; font-weight: 700; cursor: pointer; list-style: none; }
.oc-content details > summary::-webkit-details-marker { display: none; }
.oc-content details > summary::before { content: "＋"; }
.oc-content details[open] > summary::before { content: "－"; }
.oc-content details > :not(summary) { padding: 0 20px 16px; margin: 0; }
.oc-next { display: flex; flex-direction: column; gap: 16px; padding: 24px 20px; background: var(--mist); border-top: 4px solid var(--shu); }
.oc-next > * { margin: 0; }
.oc-next h2, .oc-next .oc-qlabel { margin-top: 0 !important; }
.oc-next ul { list-style: none !important; padding: 0 !important; display: grid; gap: 0; }
.oc-next li { display: flex; align-items: flex-start; gap: 14px; padding: 10px 0; }
.oc-next li::before { content: ""; flex: none; width: 24px; height: 24px; margin-top: .3em; border: 1.5px solid var(--ink); background: var(--paper); }
@media (min-width: 768px) { .oc-next { padding: 28px; } }
.oc-faq { display: flex; flex-direction: column; }
.oc-faq > h3 { margin: 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 19px; }
.oc-faq > p { padding: 8px 0 20px; }
@media (min-width: 768px) { .oc-faq > h3 { font-size: 20px; } }

/* 数値カード（[oc_stats]） */
.oc-stats { margin-block: 8px; }
.oc-stats__cap, .oc-bars__cap { margin-bottom: 12px; font-size: 15px; font-weight: 700; line-height: 1.5; color: var(--sub); }
.oc-stats__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5px; background: var(--ink); border: 1.5px solid var(--ink); list-style: none !important; padding: 0 !important; }
.oc-stats__list > li { display: flex; flex-direction: column; gap: 8px; padding: 18px 16px; background: var(--paper); }
.oc-stat__num { display: flex; align-items: baseline; gap: 4px; font-family: var(--f-num); font-weight: 600; line-height: 1; }
.oc-count { font-size: 52px; font-variant-numeric: tabular-nums; }
.oc-stat__unit { font-size: 22px; }
.oc-stat__label { font-size: 15px; font-weight: 700; line-height: 1.6; }
.oc-stats__src, .oc-bars__src { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--sub); }
.oc-stats__src a, .oc-bars__src a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 768px) {
  .oc-stats__list { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
  .oc-stats__list > li { padding: 24px; }
  .oc-count { font-size: 64px; }
}

/* 比較バー（[oc_bars]）。中身は表なので検索エンジン・AI・読み上げにはそのまま表として伝わる */
.oc-bars { margin-block: 8px; padding: 20px; border: 1.5px solid var(--ink); background: var(--paper); }
.oc-bars .oc-bars__table { display: block; width: 100%; border-collapse: collapse; }
.oc-bars .oc-bars__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.oc-bars .oc-bars__table tbody { display: block; }
.oc-bars .oc-bars__table tr { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 12px 0; border-top: 1px solid var(--line); }
.oc-bars .oc-bars__table tbody tr:first-child { border-top: 0; padding-top: 0; }
.oc-bars .oc-bars__table th[scope="row"] { display: flex; align-items: baseline; gap: 10px; padding: 0; border: 0; background: none; font-size: 16px; font-weight: 700; line-height: 1.5; text-align: left; }
.oc-bars .oc-bars__table td { display: grid; grid-template-columns: var(--oc-sw, 2.6em) minmax(0, 1fr) var(--oc-vw, 4.4em); align-items: center; gap: 10px; padding: 0; border: 0; font-size: 15px; line-height: 1.4; }
.oc-bars--n1 .oc-bars__table td { grid-template-columns: minmax(0, 1fr) var(--oc-vw, 4.4em); }
.oc-bars__no { flex: none; min-width: 1.3em; font-family: var(--f-num); font-weight: 600; font-size: 22px; line-height: 1; color: var(--shu); }
.oc-bars__s { color: var(--sub); font-weight: 700; white-space: nowrap; }
.oc-bars__table th[scope="row"] > span, .oc-bars__cap, .oc-stat__label { word-break: auto-phrase; }
.oc-bars__track { display: block; height: 12px; background: var(--mist); overflow: hidden; }
.oc-bars__fill { display: block; width: var(--v); height: 100%; background: var(--sub); transform-origin: left; }
.oc-bars__fill.is-hl { background: var(--shu); }
.oc-bars--n1 .oc-bars__fill.is-hl { background: var(--ink); }
.oc-bars__v { font-family: var(--f-num); font-weight: 600; font-size: 22px; line-height: 1; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (min-width: 768px) {
  .oc-bars { padding: 24px 28px; }
  .oc-bars .oc-bars__table tr { grid-template-columns: 15em minmax(0, 1fr); column-gap: 24px; row-gap: 6px; align-items: center; }
  .oc-bars--n2 .oc-bars__table th[scope="row"] { grid-row: span 2; }
  .oc-bars--n3 .oc-bars__table th[scope="row"] { grid-row: span 3; }
  .oc-bars .oc-bars__table td { grid-column: 2; }
  .oc-bars__v { font-size: 24px; }
}

/* 記事の下：アンケート → この記事について（出典） → 記事の外に「次に読む」 */
.oc-article__foot { padding-block: 48px var(--sec); }
.oc-article__foot .oc-read { display: flex; flex-direction: column; gap: 40px; }
.oc-article__poll { scroll-margin-top: calc(var(--header-h) + 16px); }
.oc-about-article { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; border-top: 2px solid var(--ink); scroll-margin-top: calc(var(--header-h) + 16px); }
.oc-about-article__h { font-size: 20px; font-weight: 700; line-height: 1.6; }
.oc-about-article__dl { display: grid; font-size: 15px; line-height: 1.6; }
.oc-about-article__dl > div { display: flex; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.oc-about-article__dl dt { flex: none; width: 6em; font-weight: 700; color: var(--sub); }
.oc-about-article__dl dd { margin: 0; }
.oc-about-article__src { margin-top: 8px; font-size: 15px; font-weight: 700; }
.oc-sources { list-style: decimal; padding-left: 1.4em; font-size: 15px; line-height: 1.6; display: grid; gap: 10px; }
.oc-sources a { text-decoration: underline; text-underline-offset: 3px; }
.oc-sources__date { display: block; color: var(--sub); }
.oc-about-article .oc-more { margin-top: 0; }

.oc-nextread { padding-block: var(--sec); background: var(--mist); }
.oc-nextread__links { display: grid; margin-top: 32px; border-top: 1px solid var(--ink); }
.oc-nextread__links a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 700; line-height: 1.5; }
.oc-nextread__links a:hover { color: var(--shu); }
.oc-nextread__links a:hover .oc-arrow { transform: translateX(4px); }
@media (min-width: 1024px) { .oc-nextread__links { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; } }

/* 固定ページ */
.oc-page { max-width: 760px; padding-block: 24px var(--sec); }
.oc-page__head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 2px solid var(--ink); }
@media (min-width: 768px) { .oc-page { padding-top: 40px; } }

/* ---------- 動き（CSSのみ。動きを減らす設定ではすべて止める） ---------- */
@view-transition { navigation: auto; }
::view-transition-group(*) { animation-duration: .3s; animation-timing-function: var(--ease); }
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    .oc-bar > span, .oc-bars__fill { animation: oc-grow linear both; animation-timeline: view(); animation-range: entry 10% cover 35%; }
  }
}
@keyframes oc-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  @view-transition { navigation: none; }
}
@media (hover: none) {
  .oc-index a:hover { background-size: 0 2px; }
  .oc-index a:active { background-size: 100% 2px; }
}

/* 印刷 */
@media print {
  .oc-header, .oc-menu, .oc-footer, .oc-readbar, .oc-nextread, .oc-poll { display: none !important; }
}

/* ---------- 議題（週1回の読者アンケート）と「今日の作戦会議」 ---------- */
.oc-today { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.oc-today__h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: 15px; font-weight: 700; line-height: 1.5; }
.oc-today__date { font-family: var(--f-num); font-weight: 600; font-size: 17px; letter-spacing: .06em; color: var(--shu); }
.oc-today__next { padding: 20px; border: 1.5px solid var(--ink); background: var(--paper); font-size: 15px; line-height: 1.8; }
.oc-today__num { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 6px; align-items: baseline; padding: 16px 20px; background: var(--mist); color: inherit; text-decoration: none; }
.oc-today__numlabel { grid-column: 1 / -1; font-size: 13px; font-weight: 700; line-height: 1.5; letter-spacing: .08em; color: var(--shu); }
.oc-today__fig { display: flex; align-items: baseline; gap: 4px; font-family: var(--f-num); font-weight: 600; line-height: 1; }
.oc-today__value { font-size: 44px; font-variant-numeric: tabular-nums; }
.oc-today__unit { font-size: 20px; }
.oc-today__cap { font-size: 15px; font-weight: 700; line-height: 1.6; word-break: auto-phrase; text-wrap: pretty; }
.oc-today__link { grid-column: 1 / -1; font-size: 14px; line-height: 1.6; color: var(--sub); text-decoration: underline; text-underline-offset: 3px; }
.oc-today__num:hover .oc-today__link { color: var(--ink); }

.oc-gidai { padding: 24px 20px; border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink); }
.oc-gidai fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.oc-gidai legend { display: flex; flex-direction: column; gap: 12px; width: 100%; padding: 0; }
.oc-gidai__label { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 15px; font-weight: 700; line-height: 1.5; color: var(--shu); }
.oc-gidai__close { font-weight: 400; color: var(--sub); }
.oc-gidai__q { font-family: var(--f-mincho); font-weight: 700; font-size: 22px; line-height: 1.55; word-break: auto-phrase; text-wrap: pretty; }
.oc-gidai__opts { display: grid; gap: 8px; margin-top: 16px; }
.oc-gidai__opt { display: flex; align-items: center; min-height: 52px; padding: 0 16px; border: 1.5px solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink); font: inherit; font-size: 15px; font-weight: 700; line-height: 1.5; text-align: left; cursor: pointer; transition: background-color .2s, color .2s; }
.oc-gidai__opt:hover:not(:disabled), .oc-gidai__opt[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.oc-gidai__opt:disabled { cursor: default; }
.oc-gidai__opt:disabled:not([aria-pressed="true"]) { opacity: .55; }
.oc-gidai__done { margin-top: 16px; font-size: 15px; font-weight: 700; line-height: 1.6; }
.oc-gidai__result { margin-top: 16px; }
.oc-gidai__bars { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.oc-gidai__bars li { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: baseline; font-size: 15px; line-height: 1.5; }
.oc-gidai__bars em { margin-left: 8px; font-size: 13px; font-style: normal; font-weight: 700; color: var(--shu); }
.oc-gidai__pct { font-family: var(--f-num); font-weight: 600; font-size: 20px; font-variant-numeric: tabular-nums; }
.oc-gidai__bar { grid-column: 1 / -1; height: 8px; background: var(--line); }
.oc-gidai__bar > span { display: block; height: 100%; background: var(--ink); }
.oc-gidai__bars .is-mine .oc-gidai__bar > span { background: var(--shu); }
.oc-gidai__total, .oc-gidai__wait { margin-top: 12px; font-size: 14px; line-height: 1.7; color: var(--sub); }
.oc-gidai__note { margin-top: 12px; font-size: 13px; line-height: 1.6; color: var(--sub); }
.oc-gidai__note a { margin-left: 8px; text-decoration: underline; text-underline-offset: 3px; }
.oc-gidai :focus-visible { outline: 2px solid var(--shu); outline-offset: 2px; }
.oc-gidai--dark { border: 0; background: var(--ink); color: var(--paper); }
.oc-gidai--dark .oc-gidai__label { color: var(--shu-on-ink); }
.oc-gidai--dark .oc-gidai__close, .oc-gidai--dark .oc-gidai__note, .oc-gidai--dark .oc-gidai__total, .oc-gidai--dark .oc-gidai__wait { color: var(--sub-on-ink); }
.oc-gidai--dark .oc-gidai__opt { border-color: var(--paper); background: transparent; color: var(--paper); }
.oc-gidai--dark .oc-gidai__opt:hover:not(:disabled), .oc-gidai--dark .oc-gidai__opt[aria-pressed="true"] { background: var(--paper); color: var(--ink); }
.oc-gidai--dark .oc-gidai__bar { background: var(--line-on-ink); }
.oc-gidai--dark .oc-gidai__bar > span { background: var(--paper); }
.oc-gidai--dark .oc-gidai__bars .is-mine .oc-gidai__bar > span { background: var(--shu-on-ink); }
.oc-gidai--dark .oc-gidai__bars em { color: var(--shu-on-ink); }
.oc-gidai--dark :focus-visible { outline-color: var(--shu-on-ink); }
@media (min-width: 768px) {
  .oc-gidai { padding: 28px; }
  .oc-gidai__q { font-size: 24px; }
  .oc-gidai__opts { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { .oc-gidai__opt { transition: none; } }

.oc-gidai-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.oc-gidai-list a { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.oc-gidai-list__meta { font-size: 13px; line-height: 1.5; color: var(--sub); }
.oc-gidai-list__q { font-weight: 700; line-height: 1.6; }
.oc-gidai-list a:hover .oc-gidai-list__q { text-decoration: underline; text-underline-offset: 3px; }
.oc-gidai-page > * + * { margin-top: 32px; }
@media (min-width: 1024px) { .oc-hero { align-items: center; } } /* 右の「今日の作戦会議」が高いため、見出しを中央にそろえる */

/* ---------- ホーム画面に追加の案内（スマホだけ・JSで作る） ---------- */
.oc-a2hs { position: relative; margin: 40px var(--gutter) 32px; padding: 20px 44px 20px 20px; border: 1px solid var(--line); border-left: 4px solid var(--shu); background: var(--mist); color: var(--ink); }
.oc-a2hs__label { margin: 0 0 6px; font-size: 13px; font-weight: 700; color: var(--shu); }
.oc-a2hs__text { margin: 0; font-size: 15px; line-height: 1.8; }
.oc-a2hs__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 14px; }
.oc-a2hs__btn { min-height: 44px; padding: 0 16px; border: 0; border-radius: 0; background: var(--ink); color: var(--paper); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.oc-a2hs__link { min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--ink); font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.oc-a2hs__x { position: absolute; top: 4px; right: 4px; width: 44px; height: 44px; border: 0; background: none; color: var(--sub); font-size: 22px; line-height: 1; cursor: pointer; }
.oc-a2hs-vote { margin: 12px 0 0; font-size: 14px; line-height: 1.8; }
.oc-a2hs-vote__btn { display: inline-flex; align-items: center; min-height: 44px; margin-left: 4px; padding: 0 4px; border: 0; background: none; color: inherit; font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.oc-a2hs-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; align-items: center; gap: 8px; min-height: 56px; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)) 16px; background: var(--ink); color: var(--paper); transform: translateY(110%); transition: transform .3s var(--ease); }
.oc-a2hs-bar.is-on { transform: none; }
.oc-a2hs-bar__text { flex: 1; margin: 0; font-size: 14px; line-height: 1.5; }
.oc-a2hs-bar__btn { flex: none; min-height: 40px; padding: 0 12px; border: 1px solid var(--shu-on-ink); border-radius: 0; background: none; color: var(--paper); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.oc-a2hs-bar__x { flex: none; width: 44px; height: 44px; border: 0; background: none; color: var(--sub-on-ink); font-size: 22px; line-height: 1; cursor: pointer; }
.oc-a2hs-guide { width: 100%; max-width: none; max-height: 88vh; margin: auto 0 0; padding: 0; border: 0; background: var(--paper); color: var(--ink); overflow-y: auto; overscroll-behavior: contain; }
.oc-a2hs-guide::backdrop { background: rgb(18 23 29 / .6); }
.oc-a2hs-guide__in { padding: 24px 20px calc(24px + env(safe-area-inset-bottom)); }
.oc-a2hs-guide__label { margin: 0 0 4px; font-size: 13px; font-weight: 700; color: var(--shu); }
.oc-a2hs-guide__h { margin: 0 0 16px; font-family: var(--f-mincho); font-size: 22px; line-height: 1.5; }
.oc-a2hs-guide__note { margin: 0 0 12px; padding: 10px 12px; background: var(--mist); font-size: 14px; line-height: 1.7; }
.oc-a2hs-guide__steps { margin: 0 0 16px; padding-left: 1.5em; font-size: 16px; line-height: 1.8; }
.oc-a2hs-guide__steps li { display: list-item; list-style: decimal outside; padding: 0; }
.oc-a2hs-guide__steps li::before { content: none; }
.oc-a2hs-guide__steps li + li { margin-top: 8px; }
.oc-a2hs-guide__small { margin: 0 0 16px; font-size: 13px; line-height: 1.7; color: var(--sub); }
.oc-a2hs-guide__mark { margin: 0 0 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.oc-a2hs-guide__mark summary { min-height: 44px; display: flex; align-items: center; font-size: 15px; font-weight: 700; cursor: pointer; }
.oc-a2hs-guide__mark .oc-a2hs-guide__steps { margin-top: 4px; font-size: 15px; }
.oc-a2hs-guide__close { width: 100%; min-height: 48px; border: 1px solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink); font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .oc-a2hs-bar { transition: none; } }
@media (min-width: 768px) { .oc-a2hs, .oc-a2hs-bar { display: none; } }
@media print { .oc-a2hs, .oc-a2hs-bar, .oc-a2hs-guide { display: none; } }

/* ---------- 数字の早見表（/suuji/） ---------- */
.oc-numbers__count { margin: 0 0 16px; color: var(--sub); font-size: 15px; }
.oc-numbers__toc ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; padding: 0; list-style: none; }
.oc-numbers__toc li { margin: 0; padding: 0; }
.oc-numbers__toc li::before { content: none; }
.oc-numbers__toc a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 15px; }
.oc-numbers__toc a span { color: var(--sub); font-size: 13px; }
.oc-numbers__group { margin: 0 0 40px; scroll-margin-top: calc(var(--header-h) + 16px); }
.oc-numbers__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.oc-numbers__list li { margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.oc-numbers__list li::before { content: none; }
.oc-numbers__list a { display: grid; grid-template-columns: 7.5em 1fr; gap: 2px 16px; padding: 14px 0; color: var(--ink); text-decoration: none; }
.oc-numbers__v { grid-row: span 2; font-family: var(--f-num); font-size: 30px; font-weight: 600; line-height: 1.1; color: var(--shu); font-variant-numeric: tabular-nums; }
.oc-numbers__v small { margin-left: 2px; font-family: var(--f-gothic); font-size: 13px; font-weight: 700; }
.oc-numbers__l { font-size: 15px; line-height: 1.6; }
.oc-numbers__t { font-size: 13px; line-height: 1.6; color: var(--sub); text-decoration: underline; text-underline-offset: 3px; }
.oc-numbers__list a:hover .oc-numbers__t, .oc-numbers__list a:focus-visible .oc-numbers__t { color: var(--shu); }
@media (max-width: 767px) { .oc-numbers__list a { grid-template-columns: 6em 1fr; } .oc-numbers__v { font-size: 26px; } }
.oc-content .oc-numbers__toc ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; padding: 0; list-style: none; }
.oc-content .oc-numbers__list { display: block; margin: 0; padding: 0; list-style: none; }
.oc-content .oc-numbers__toc li, .oc-content .oc-numbers__list li { display: block; margin: 0; padding: 0; list-style: none; }
.oc-content .oc-numbers__list li { border-bottom: 1px solid var(--line); }
.oc-content .oc-numbers__toc li::before, .oc-content .oc-numbers__list li::before { content: none; }
.oc-today__all { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================
 * 地図（[oc_map]）
 * ========================================================= */
.oc-map { margin: 32px 0; }
.oc-map__cap { font-weight: 700; margin: 0 0 8px; font-size: 0.95em; }
.oc-map__canvas { position: relative; height: 380px; border: 1px solid #d5d9de; border-radius: 6px; background: #eef1f4; overflow: hidden; z-index: 0; }
.oc-map__wait { margin: 0; padding: 16px; font-size: 0.85em; color: #555; }
.oc-map__hint { margin: 6px 0 12px; font-size: 0.8em; color: #666; }
.oc-map__pin { background: none; border: 0; }
.oc-map__pin span { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #12171D; border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,.4); color: #fff; font-size: 12px; font-weight: 700; line-height: 1; }
.oc-map__pin span { font-feature-settings: "tnum"; }
.oc-map__pop { display: flex; flex-direction: column; gap: 4px; font-size: 13px; line-height: 1.5; max-width: 240px; }
.oc-map__pop-addr { color: #555; }
.oc-map__pop-links { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 4px; }
.oc-map__pop-links a { font-weight: 700; }
.oc-content .oc-map__list, .oc-map__list { display: block; margin: 0; padding: 0; list-style: none; }
.oc-content .oc-map__list li, .oc-map__item { display: flex; gap: 10px; margin: 0; padding: 10px 0; border-bottom: 1px solid #e3e6ea; list-style: none; cursor: pointer; }
.oc-content .oc-map__list li::before { content: none; }
.oc-map__num { flex: 0 0 24px; height: 24px; border-radius: 50%; background: #12171D; color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.oc-map__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.oc-map__name { font-weight: 700; }
.oc-map__desc, .oc-map__addr { font-size: 0.85em; color: #555; }
.oc-map__links { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 0.85em; margin-top: 2px; }
.oc-map__more { margin-top: 4px; }
.oc-map__more > summary { cursor: pointer; font-weight: 700; padding: 8px 0; }
@media (max-width: 767px) { .oc-map__canvas { height: 320px; } }
@media print { .oc-map__canvas, .oc-map__hint { display: none; } }

/* ===== 施設データベース（/shisetsu/）2026-10-15 ===== */
.oc-fac-lead { margin: 8px 0 0; color: #444; font-size: 0.95em; line-height: 1.8; }
.oc-fac-checked { display: inline-block; font-size: 0.85em; color: #666; }
.oc-fac-alert { padding: 12px 14px; border-left: 4px solid #b3261e; background: #fdf1f0; font-weight: 700; }
.oc-fac-dl { margin: 16px 0 24px; border-top: 1px solid #e3e6ea; }
.oc-fac-dl > div { display: grid; grid-template-columns: 9em 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid #e3e6ea; }
.oc-fac-dl dt { font-weight: 700; color: #12171D; font-size: 0.9em; }
.oc-fac-dl dd { margin: 0; line-height: 1.7; overflow-wrap: anywhere; }
.oc-fac-chips, .oc-fac-jump ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 20px; padding: 0; list-style: none; }
.oc-fac-chips li, .oc-fac-jump li { margin: 0; }
.oc-fac-chips a, .oc-fac-jump a { display: inline-block; padding: 7px 12px; border: 1px solid #c9ced4; border-radius: 999px; font-size: 0.9em; text-decoration: none; color: #12171D; background: #fff; }
.oc-fac-chips a:hover, .oc-fac-jump a:hover { background: #f1f3f5; }
.oc-fac-facts { margin: 12px 0 20px; padding: 12px 16px 12px 32px; background: #f6f7f9; border-radius: 6px; }
.oc-fac-facts li { margin: 4px 0; }
.oc-fac-rank, .oc-fac-near { margin: 12px 0 20px; padding-left: 1.6em; }
.oc-fac-near { list-style: disc; }
.oc-fac-rank li, .oc-fac-near li { margin: 8px 0; line-height: 1.6; }
.oc-fac-rank span, .oc-fac-near span { display: block; font-size: 0.85em; color: #555; }
.oc-fac-guides { margin: 12px 0 20px; }
.oc-fac-guides li { margin: 6px 0; }
.oc-fac-hint { font-size: 0.8em; color: #666; margin: 4px 0 8px; }
.oc-fac-note { margin-top: 32px; padding-top: 12px; border-top: 1px solid #e3e6ea; font-size: 0.8em; color: #666; line-height: 1.8; }
.oc-fac-back { margin: 24px 0; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.oc-fac-src { font-size: 0.85em; }
.oc-fac-table th[scope="row"] { white-space: normal; min-width: 8em; }
.oc-fac-table td { font-size: 0.9em; }
.oc-fac-lv1 { padding-left: 1.6em !important; font-weight: 400; }
.oc-map__name[href] { font-weight: 700; }
.oc-map__pop-detail { font-weight: 700; }
@media (max-width: 600px) {
	.oc-fac-dl > div { grid-template-columns: 1fr; gap: 2px; }
	.oc-fac-chips a, .oc-fac-jump a { padding: 8px 12px; }
}

/* 施設DB：記事本文の ul スタイルに負けないように（2026-10-15 修正） */
.oc-content ul.oc-fac-chips, .oc-content .oc-fac-jump ul { display: flex !important; flex-wrap: wrap; gap: 8px; list-style: none !important; padding-left: 0 !important; margin-left: 0 !important; }
.oc-content ul.oc-fac-chips > li, .oc-content .oc-fac-jump li { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.oc-content ul.oc-fac-chips > li::before, .oc-content .oc-fac-jump li::before, .oc-content ul.oc-fac-chips > li::marker, .oc-content .oc-fac-jump li::marker { content: none !important; display: none !important; }

/* oc-fac-firsth2: 見出し直後の二重線を解消 */
.oc-fac-page .oc-content > h2:first-child{margin-top:0;border-top:0;padding-top:0}

/* oc-fac-purpose: 総合ページの目的から探す */
.oc-fac-purpose{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;margin:16px 0 8px}
.oc-fac-purpose__item{border:1px solid #e3e1db;border-radius:6px;padding:16px 18px;background:#fbfaf7}
.oc-content .oc-fac-purpose__item h3.wp-block-heading{margin:0 0 6px;padding:0;border:0;font-size:1.05rem}
.oc-fac-purpose__item p{margin:0 0 10px;font-size:.92rem;line-height:1.7;color:#555}
.oc-content .oc-fac-purpose__item ul.oc-fac-chips{margin:0}

/* =========================================================
 * 絞り込み地図（.oc-finder）・屋外スポットの解説 2026-10-16
 * ========================================================= */
.oc-finder { margin: 32px 0; }
.oc-finder__ctrl { display: flex; flex-direction: column; gap: 10px; margin: 0 0 10px; }
.oc-finder__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.oc-finder__chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 4px 12px; border: 1px solid #c9ced4; border-radius: 18px; background: #fff; color: #12171D; font-size: 0.85em; cursor: pointer; }
.oc-finder__chip i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.oc-finder__chip[aria-pressed="false"] { background: #f1f3f5; color: #888; }
.oc-finder__chip[aria-pressed="false"] i { opacity: .3; }
.oc-finder__chip--all { font-weight: 700; }
.oc-finder__sel { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; }
.oc-finder__sel label { display: flex; flex-direction: column; gap: 2px; font-size: 0.8em; color: #555; }
.oc-finder__sel select { min-height: 38px; min-width: 9em; max-width: 46vw; font-size: 15px; border: 1px solid #c9ced4; border-radius: 6px; background: #fff; padding: 0 6px; }
.oc-finder__geo { min-height: 38px; padding: 0 14px; border: 1px solid #12171D; border-radius: 6px; background: #12171D; color: #fff; font-size: 0.85em; cursor: pointer; }
.oc-finder__geo:disabled { opacity: .6; }
.oc-finder__canvas { position: relative; height: 460px; border: 1px solid #d5d9de; border-radius: 6px; background: #eef1f4; overflow: hidden; z-index: 0; }
.oc-finder__pin { background: none; border: 0; }
.oc-finder__pin span { display: block; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,.45); }
.oc-finder__count { margin: 8px 0 4px; font-size: 0.85em; color: #444; }
.oc-content .oc-finder__list, .oc-finder__list { margin: 0; padding: 0; list-style: none; }
.oc-content .oc-finder__list li, .oc-finder__list li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid #e3e6ea; margin: 0; list-style: none; }
.oc-content .oc-finder__list li::before { content: none; }
.oc-finder__list li > i { flex: 0 0 12px; height: 12px; border-radius: 50%; margin-top: 6px; }
.oc-finder__list li > div { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.oc-finder__list li > div a { font-weight: 700; }
.oc-finder__list li > div span { font-size: 0.82em; color: #555; overflow-wrap: anywhere; }
.oc-finder__show { flex: 0 0 auto; min-height: 32px; padding: 0 10px; border: 1px solid #c9ced4; border-radius: 6px; background: #fff; font-size: 0.8em; cursor: pointer; }
.oc-fac-guide { margin: 28px 0; }
.oc-fac-stay { display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px; background: #f1f3f5; border-radius: 6px; font-size: 0.9em; }
.oc-fac-stay span { font-weight: 700; }
@media (max-width: 767px) {
	.oc-finder__canvas { height: 380px; }
	.oc-finder__sel label { flex: 1 1 40%; }
	.oc-finder__sel select { max-width: none; width: 100%; }
	.oc-finder__geo { flex: 1 1 100%; }
}
@media print { .oc-finder__canvas, .oc-finder__ctrl { display: none; } }


/* =====================================================================
   2026-11-16 UIUX改善：場所探しの入口・施設ページの比較・記事末の出典
   ===================================================================== */
/* ヘッダー：場所を探す（スマホはアイコン＋「場所」、PCはカテゴリーの右） */
.oc-hplace { flex-direction: column; gap: 2px; font-size: 10px; font-weight: 700; line-height: 1; letter-spacing: .04em; }
.oc-hplace svg { width: 22px; height: 22px; }
.oc-hplace:hover { color: var(--shu-on-ink); }
@media (min-width: 1100px) { .oc-hplace { display: none; } }
.oc-gnav__place { margin-left: auto; }
.oc-gnav__place a { display: inline-flex; align-items: center; gap: 6px; color: var(--shu-on-ink); }
.oc-gnav__place svg { width: 18px; height: 18px; flex: none; }
/* メニュー：場所から探す */
.oc-menu__places { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.oc-menu__places a { display: flex; align-items: center; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line-on-ink); font-size: 15px; font-weight: 700; line-height: 1.4; }
.oc-menu__places a:hover { border-color: var(--shu-on-ink); color: var(--shu-on-ink); }
.oc-menu__places li:last-child { grid-column: 1 / -1; }
/* TOP：一人で過ごせる場所を探す */
.oc-places { border-top: 1px solid var(--line); }
.oc-places__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
@media (min-width: 768px) { .oc-places__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.oc-places__item { display: grid; align-content: start; gap: 4px; height: 100%; padding: 14px 14px 16px; border: 1px solid var(--ink); background: var(--paper); transition: background-color .2s var(--ease), color .2s var(--ease); }
.oc-places__item:hover { background: var(--ink); color: var(--paper); }
.oc-places__name { font-size: 17px; font-weight: 800; line-height: 1.4; }
.oc-places__count { font-family: var(--f-num); font-size: 28px; font-weight: 700; line-height: 1.1; color: var(--shu); }
.oc-places__item:hover .oc-places__count { color: var(--shu-on-ink); }
.oc-places__count small { margin-left: 2px; font-family: var(--f-gothic); font-size: 13px; font-weight: 700; }
.oc-places__desc { font-size: 13px; line-height: 1.55; color: var(--sub); }
.oc-places__item:hover .oc-places__desc { color: var(--sub-on-ink); }
/* 施設ページ：料金欄の直下の「比べる・調べる」 */
.oc-fac-compare { margin: 20px 0 28px; padding: 16px 18px; border-left: 4px solid var(--shu); background: var(--mist); }
.oc-content .oc-fac-compare__h, .oc-fac-compare .oc-fac-compare__h { margin: 0 0 10px; font-size: 18px; font-weight: 700; line-height: 1.5; }
@media (min-width: 768px) { .oc-content .oc-fac-compare__h, .oc-fac-compare .oc-fac-compare__h { font-size: 20px; } }
.oc-fac-compare .oc-fac-chain { margin: 0 0 8px; font-size: 15px; line-height: 1.7; }
.oc-fac-compare .oc-fac-guides { margin: 0; padding-left: 1.2em; font-size: 15px; line-height: 1.7; }
.oc-fac-compare a { color: var(--shu); text-decoration: underline; text-underline-offset: 3px; }
/* 記事：次に読むを本文直後に置いたので上下の余白を調整。出典は折りたたみ */
.oc-article > .oc-nextread { margin-top: 40px; }
.oc-about-article__details > summary { display: flex; align-items: center; min-height: 44px; cursor: pointer; list-style: none; }
.oc-about-article__details > summary::-webkit-details-marker { display: none; }
.oc-about-article__details > summary::after { content: "＋"; margin-left: 8px; color: var(--shu); font-weight: 700; }
.oc-about-article__details[open] > summary::after { content: "－"; }

/* 2026-11-16 UIUX：スマホの「次に読む」は3本を見比べやすいよう、見出しと種類だけの短いカードにする */
@media (max-width: 767px) {
	.oc-nextread .oc-card .oc-card__excerpt, .oc-nextread .oc-card .oc-card__visual, .oc-nextread .oc-card .oc-card__theme { display: none; }
	.oc-nextread .oc-card .oc-card__title { font-size: 17px; line-height: 1.55; }
	.oc-nextread .oc-card .oc-card__body { gap: 8px; }
}

/* 2026-11-16 UIUX：施設ページ（流入の約55%）ではメニューの「場所から探す」を検索の直後に出す */
.oc-fac .oc-menu__body { display: flex; flex-direction: column; }
.oc-fac .oc-menu__search { order: 1; }
.oc-fac .oc-menu__label:has(+ .oc-menu__places) { order: 2; }
.oc-fac .oc-menu__places { order: 3; }
.oc-fac .oc-menu__label:has(+ .oc-menu__cats) { order: 4; }
.oc-fac .oc-menu__cats { order: 5; }
.oc-fac .oc-menu__links { order: 6; }

/* 2026-11-16 UIUX：カテゴリーページの「テーマから探す（上部）」と「まず読む」 */
.oc-thchips { padding-top: 20px; }
.oc-thchips__h { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--sub); }
.oc-thchips ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.oc-thchips a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--ink); background: var(--paper); font-size: 15px; font-weight: 700; line-height: 1.3; }
.oc-thchips a span { font-family: var(--f-num); font-size: 13px; color: var(--shu); }
.oc-thchips a:hover { background: var(--ink); color: var(--paper); }
.oc-thchips a:hover span { color: var(--shu-on-ink); }
.oc-firstread__note { margin: 6px 0 18px; font-size: 14px; line-height: 1.7; color: var(--sub); }
@media (max-width: 767px) {
	.oc-firstread .oc-card .oc-card__excerpt, .oc-firstread .oc-card .oc-card__visual, .oc-firstread .oc-card .oc-card__theme { display: none; }
	.oc-firstread .oc-card .oc-card__title { font-size: 17px; line-height: 1.55; }
}

/* 2026-11-16 UIUX：施設の種類ページ「地域から探す」の折りたたみ */
.oc-fac-areas__note { margin: 0 0 12px; font-size: 14px; color: var(--sub); }
.oc-fac-areas { display: grid; gap: 8px; }
@media (min-width: 768px) { .oc-fac-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
.oc-fac-areas__grp, .oc-fac-areas__one { margin: 0; border: 1px solid var(--ink); background: var(--paper); }
.oc-fac-areas__grp > summary, .oc-fac-areas__one a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 10px 16px; font-size: 16px; font-weight: 700; cursor: pointer; list-style: none; text-decoration: none; color: inherit; }
.oc-fac-areas__grp > summary::-webkit-details-marker { display: none; }
.oc-fac-areas__grp > summary span, .oc-fac-areas__one span { margin-left: auto; font-family: var(--f-num); font-size: 14px; font-weight: 700; color: var(--shu); }
.oc-fac-areas__one a::after { content: "→"; color: var(--shu); }
.oc-fac-areas__grp ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0 8px 10px; list-style: none; border-top: 1px solid var(--line); }
.oc-fac-areas__grp li a { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 8px; font-size: 15px; line-height: 1.4; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.oc-fac-areas__grp li a span { font-family: var(--f-num); font-size: 13px; color: var(--sub); text-decoration: none; }
.oc-fac-areas__grp li.oc-fac-areas__all { grid-column: 1 / -1; }
.oc-fac-areas__grp li.oc-fac-areas__all a { font-weight: 700; color: var(--shu); }
.oc-content .oc-fac-areas__grp > summary::before { color: var(--shu); font-weight: 700; }
.oc-content .oc-fac-areas__grp > ul { list-style: none; margin: 0; padding: 4px 8px 10px; }
.oc-content .oc-fac-areas__grp > ul > li { margin: 0; padding: 0; }
.oc-fac-jump { margin: 0 0 20px; }
.oc-fac-jump a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--ink); font-size: 15px; font-weight: 700; text-decoration: none; color: inherit; }
.oc-fac-jump a::after { content: "↓"; color: var(--shu); }
.oc-fac-areas, #areas { scroll-margin-top: calc(var(--header-h, 64px) + 12px); }

/* 2026-11-16 UIUX：地域ページの施設一覧表。「横にスクロールできます」と案内していたが最小幅がなく、スマホで1行400〜1,500pxに縦長になっていた */
@media (max-width: 899px) {
	.oc-content .oc-table-wide { overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.oc-content .oc-table-wide table { min-width: 760px; }
	.oc-content .oc-table-wide:has(thead th:nth-child(5)) table { min-width: 900px; }
	.oc-content .oc-table-wide th[scope="row"] { position: sticky; left: 0; z-index: 1; min-width: 9em; max-width: 11em; background: var(--paper); box-shadow: 1px 0 0 var(--line); }
}
.oc-fac-tnav { padding-top: 0; margin: 0 0 20px; }
.oc-content .oc-fac-tnav ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.oc-content .oc-fac-tnav li { margin: 0; }
.oc-content .oc-fac-tnav a { text-decoration: none; color: inherit; }
.oc-rows-folded tbody tr:nth-child(n+21) { display: none; }
.oc-rows-more { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; margin: -8px 0 24px; padding: 10px 16px; border: 1px solid var(--ink); background: var(--paper); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.oc-rows-more::after { content: "＋"; margin-left: 8px; color: var(--shu); }
.oc-rows-more:hover { background: var(--ink); color: var(--paper); }

/* 2026-11-16 記事内の6列以上の表：スマホ・タブレットは横スクロール＋1列目固定 */
@media (max-width:899px){
.oc-content figure.wp-block-table:has(thead th:nth-child(5)){overflow-x:auto;-webkit-overflow-scrolling:touch}
.oc-content figure.wp-block-table:has(thead th:nth-child(5)) table{min-width:720px}
.oc-content figure.wp-block-table:has(thead th:nth-child(5)) tbody th,.oc-content figure.wp-block-table:has(thead th:nth-child(5)) thead th:first-child{position:sticky;left:0;z-index:1;background:#fff}
.oc-content figure.wp-block-table:has(thead th:nth-child(5)) thead th:first-child{background:#f2f2ef}
}

/* 2026-11-16 title-fix：タイトルが枠からはみ出さないように（文節で折り返し、収まらない語は途中でも折り返す） */
.oc-h1,.oc-h2,.oc-display,.oc-index__title,.oc-poll__q,.oc-article__h1,.oc-content h2,.oc-content h3,.oc-card__title,.oc-gidai__q,.oc-today__cap,.oc-promise li,.oc-datacar,.oc-bars__table th[scope="row"]>span,.oc-bars__cap,.oc-stat__label,.oc-related a,.oc-faq h3{word-break:auto-phrase;line-break:strict;overflow-wrap:anywhere;min-width:0;max-width:100%}
.oc-card,.oc-card>*,.oc-card a{min-width:0;max-width:100%}
.oc-article__h1,.oc-index__title,.oc-h1{text-wrap:balance}
@media (max-width:767px){
.oc-article__h1{font-size:clamp(21px,6.2vw,25px);line-height:1.5;letter-spacing:.01em}
.oc-card__title{font-size:17px;line-height:1.6}
.oc-index__title{font-size:clamp(18px,5.4vw,21px)}
}
@media (max-width:359px){
.oc-logo__text{font-size:16px}
.oc-header .oc-iconbtn{width:40px;min-width:40px}
}

/* 2026-11-16 イベントの開催状況バッジ */
.oc-ev{display:inline-block;padding:1px 8px;font-size:.85em;font-weight:700;line-height:1.6;border-radius:2px;white-space:nowrap}
.oc-ev--upcoming{background:#e6efe6;color:#1d5a28}
.oc-ev--open{background:#b03a2e;color:#fff}
.oc-ev--ended{background:#e4e4e1;color:#4a4a4a}
.oc-ev-notice{margin:0 0 24px;padding:12px 16px;border-left:4px solid #8a8a85;background:#f4f4f0;font-size:15px;line-height:1.75}
.oc-ev-notice--open{border-left-color:#b03a2e}
.oc-ev-notice--upcoming{border-left-color:#1d5a28}
.oc-ev-notice .oc-ev{margin-right:6px}
