@charset "UTF-8";
/*!
Theme Name: hs-research
Template:   cocoon
Description: 橋本総研.com リニューアル用の Cocoon 子テーマ。本文・URL・画像は変えず、見せ方だけを変える。
Version:    0.1.0
*/

/* ============================================================
   トークン
   ============================================================ */
:root {
  --hs-bg: #f6f6f3;
  --hs-surface: #ffffff;
  --hs-ink: #1c1e22;
  --hs-ink-2: #4a4f57;
  --hs-ink-3: #767c86;
  --hs-line: #e3e3de;
  --hs-accent: #0d6a6c;          /* 研究ノートの主色: 深いティール */
  --hs-accent-ink: #0a5355;
  --hs-accent-soft: #e4f1f0;
  --hs-mark: #f3e3b3;
  --hs-research: #0d6a6c;
  --hs-projects: #8a4fbf;
  --hs-insights: #b4532a;
  --hs-knowledge: #2c64b5;
  --hs-notes: #5d6b2f;
  --hs-radius: 10px;
  --hs-read: 720px;              /* 本文の行長(全角で約40字) */
  --hs-wide: 1120px;
  --hs-font: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Meiryo", sans-serif;
  /* A案: 明朝は Webフォントを配らない(2026-12-05 本人決定)。明朝の無い端末ではゴシックで出る */
  --hs-serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif CJK JP", "Noto Serif JP", serif;
  --hs-paper: #fbfaf7;
  --hs-ed-ink: #161412;
  --hs-ed-sub: #5d5850;
  --hs-ed-rule: #d9d4ca;
  --hs-ed-accent: #c8371d;      /* 朱色。番号と線にだけ使う */
  --hs-ed-tint: #f1ede4;
  --hs-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

/* ============================================================
   土台(Cocoon の既定を打ち消す)
   ============================================================ */
html { scroll-padding-top: 72px; }
body, body.public-page {
  background: var(--hs-bg);
  color: var(--hs-ink);
  font-family: var(--hs-font);
  font-size: 17px;
  line-height: 1.9;
  font-feature-settings: "palt" 0;
  -webkit-text-size-adjust: 100%;
}
a { color: var(--hs-accent); text-underline-offset: .2em; }
a:hover { color: var(--hs-accent-ink); }
.wrap { width: auto; max-width: var(--hs-wide); padding: 0 20px; }
#container, .container { background: transparent; }
.content { margin-top: 0; }
.content-in { display: block; }
.main, body.public-page .main, body .content .main {
  width: auto; max-width: none; float: none;
  background: transparent; border: 0; padding: 0; margin: 0 auto;
}
/* Cocoon はモバイル幅で .main と .wrap に余白を足すので、ここで一本化する(余白は各ブロック側で持つ) */
body .content-in.wrap { padding: 0; max-width: none; }
.sidebar, div.sidebar, #sidebar { display: none; }   /* 出力は sidebar.php で止めている。念のため */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ============================================================
   ヘッダー(A案: 紙色・明朝のサイト名・墨の罫線。全ページ共通)
   ============================================================ */
.hs-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 247, .96);
  border-bottom: 1px solid var(--hs-ed-ink);
}
.admin-bar .hs-header { top: 32px; }
.hs-header__in {
  max-width: var(--hs-wide); margin: 0 auto; padding: 0 20px; height: 54px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.hs-brand { text-decoration: none; color: var(--hs-ed-ink); }
.hs-brand:hover { color: var(--hs-ed-ink); }
.hs-brand__name { font-family: var(--hs-serif); font-weight: 700; font-size: 21px; letter-spacing: .12em; white-space: nowrap; }
.hs-search { position: relative; }
.hs-search summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 36px; height: 36px; }
.hs-search summary::-webkit-details-marker { display: none; }
.hs-search svg { width: 21px; height: 21px; stroke: var(--hs-ed-ink); fill: none; stroke-width: 1.5; }
.hs-search form { position: absolute; right: 0; top: 44px; width: min(320px, calc(100vw - 32px)); padding: 10px; background: var(--hs-paper); border: 1px solid var(--hs-ed-ink); }
.hs-search input {
  width: 100%; height: 40px; padding: 0 12px;
  font: inherit; font-size: 16px; line-height: 40px;   /* 16px 未満だと iOS が拡大する */
  border: 1px solid var(--hs-ed-rule); border-radius: 0; background: #fff;
}
.hs-search input:focus { outline: 2px solid var(--hs-ed-ink); outline-offset: 1px; }
.hs-nav__in { max-width: var(--hs-wide); margin: 0 auto; padding: 0 12px; }
.hs-nav__list {
  display: flex; gap: 2px; margin: 0; padding: 0; list-style: none;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.hs-nav__list::-webkit-scrollbar { display: none; }
.hs-nav__list li { flex: none; margin: 0; }
.hs-nav__list a {
  display: block; padding: 2px 8px 10px; font-size: 13.5px; letter-spacing: .04em;
  color: var(--hs-ed-sub); text-decoration: none; border-bottom: 2px solid transparent;
}
.hs-nav__list a:hover, .hs-nav__list a[aria-current="page"], .hs-nav__list .current-menu-item > a {
  color: var(--hs-ed-ink); border-bottom-color: var(--hs-ed-accent);
}

/* ============================================================
   トップページ
   ============================================================ */
.hs-home, .hs-section-page { max-width: var(--hs-wide); margin: 0 auto; padding: 0 20px 48px; }
/* 語り口に合わせて、見出しは大きく打ち出さず、本文に近い調子にする */
.hs-hero { padding: 44px 0 32px; border-bottom: 1px solid var(--hs-line); }
.hs-hero__eyebrow { margin: 0 0 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--hs-accent); }
.hs-hero__title { margin: 0; font-size: clamp(24px, 3vw, 32px); line-height: 1.5; font-weight: 700; letter-spacing: .02em; }
.hs-hero__lead { max-width: 38em; margin: 14px 0 0; color: var(--hs-ink-2); font-size: 16.5px; line-height: 1.9; }
.hs-hero__stats { margin: 18px 0 0; font-size: 13.5px; color: var(--hs-ink-3); }
.hs-hero__stats a { color: var(--hs-ink-2); white-space: nowrap; }
.hs-br-sp { display: none; }

.hs-block { padding: 40px 0 8px; }
.hs-block__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 18px; }
.hs-block__head h2 {
  margin: 0; padding: 0; background: none; border: 0; color: var(--hs-ink);
  font-size: 20px; font-weight: 700; line-height: 1.45;
}
.hs-block__head p { margin: 0; font-size: 14px; color: var(--hs-ink-3); }

.hs-sections { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1080px) { .hs-sections { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hs-section-card {
  --c: var(--hs-accent);
  display: flex; flex-direction: column; gap: 4px; padding: 16px 18px;
  background: var(--hs-surface); border: 1px solid var(--hs-line);
  border-radius: var(--hs-radius); color: var(--hs-ink); text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.hs-section-card:hover { color: var(--hs-ink); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0, 0, 0, .06); }
.hs-section-card__label { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--c); }
.hs-section-card__ja { font-size: 17px; font-weight: 700; line-height: 1.5; }
.hs-section-card__ja::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--c); vertical-align: .15em; }
.hs-section-card__ja small { margin-left: 4px; font-size: 13px; font-weight: 400; color: var(--hs-ink-3); white-space: nowrap; }
.hs-section-card__lead { font-size: 14px; line-height: 1.7; color: var(--hs-ink-2); }
.hs-section-card--research, .hs-tag--research, .hs-section-head--research { --c: var(--hs-research); }
.hs-section-card--projects, .hs-tag--projects, .hs-section-head--projects { --c: var(--hs-projects); }
.hs-section-card--insights, .hs-tag--insights, .hs-section-head--insights { --c: var(--hs-insights); }
.hs-section-card--knowledge, .hs-tag--knowledge, .hs-section-head--knowledge { --c: var(--hs-knowledge); }
.hs-section-card--notes, .hs-tag--notes, .hs-section-head--notes { --c: var(--hs-notes); }

/* カード */
.hs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.hs-card { margin: 0; }
.hs-card__link {
  display: flex; flex-direction: column; height: 100%;
  background: var(--hs-surface); border: 1px solid var(--hs-line); border-radius: var(--hs-radius);
  overflow: hidden; color: var(--hs-ink); text-decoration: none;
  transition: box-shadow .15s ease, border-color .15s ease;
}
.hs-card__link:hover { color: var(--hs-ink); border-color: #cfd3cf; box-shadow: 0 6px 18px rgba(0, 0, 0, .06); }
.hs-card__thumb { aspect-ratio: 16 / 9; background: #ecece7; overflow: hidden; }
.hs-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hs-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.hs-card__meta { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--hs-ink-3); }
.hs-tag { --c: var(--hs-accent); font-weight: 600; color: var(--c); font-size: 12px; }
.hs-card__title { margin: 0; font-size: 17px; line-height: 1.55; font-weight: 700; }
.hs-card__link:hover .hs-card__title { color: var(--hs-accent-ink); }
.hs-card__excerpt { margin: 0; font-size: 14px; line-height: 1.7; color: var(--hs-ink-2); }

.hs-rows { display: grid; grid-template-columns: repeat(auto-fill, minmax(460px, 1fr)); gap: 0 28px; }
.hs-card--row .hs-card__link { flex-direction: row; align-items: center; gap: 14px; background: none; border: 0; border-bottom: 1px solid var(--hs-line); border-radius: 0; padding: 12px 0; }
.hs-card--row .hs-card__link:hover { box-shadow: none; }
.hs-card--row .hs-card__thumb { flex: none; width: 120px; border-radius: 6px; }
.hs-card--row .hs-card__body { padding: 0; gap: 2px; }
.hs-card--row .hs-card__title { font-size: 15.5px; }

/* 関連する記事のまとまり */
.hs-paths { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 18px; }
.hs-path { background: var(--hs-surface); border: 1px solid var(--hs-line); border-radius: var(--hs-radius); padding: 20px 22px; }
.hs-path__title { margin: 0; font-size: 17px; font-weight: 700; background: none; border: 0; padding: 0; }
.hs-path__desc { margin: 4px 0 12px; font-size: 14px; color: var(--hs-ink-3); }
.hs-path__list { margin: 0; padding: 0; list-style: none; }
.hs-path__list li {
  display: flex; gap: 10px; align-items: baseline;
  padding: 8px 0; border-top: 1px dashed var(--hs-line); font-size: 15px; line-height: 1.6;
}
.hs-path__list a { color: var(--hs-ink); text-decoration: none; font-weight: 600; }
.hs-path__list a:hover { color: var(--hs-accent); text-decoration: underline; }
.hs-path__list span { margin-left: auto; flex: none; font-size: 12px; color: var(--hs-ink-3); }

.hs-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hs-chips a {
  display: inline-flex; align-items: baseline; gap: 4px; padding: 5px 12px;
  border: 1px solid var(--hs-line); border-radius: 999px; background: var(--hs-surface);
  color: var(--hs-ink-2); font-size: 14px; text-decoration: none; line-height: 1.5;
}
.hs-chips a:hover { border-color: var(--hs-accent); color: var(--hs-accent); }
.hs-chips small { color: var(--hs-ink-3); font-size: 12px; }

/* 区分ページ */
.hs-section-head { --c: var(--hs-accent); padding: 44px 0 24px; margin-bottom: 24px; border-bottom: 1px solid var(--hs-line); }
.hs-section-head h1 { margin: 0 0 8px; font-size: clamp(22px, 2.8vw, 28px); line-height: 1.45; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.hs-section-head h1::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.hs-section-head__lead { margin: 0 0 16px; color: var(--hs-ink-2); }
.hs-section-head__count { margin: 14px 0 0; font-size: 14px; color: var(--hs-ink-3); }
.hs-pager { margin: 32px 0 0; display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.hs-pager .page-numbers { padding: 6px 12px; border: 1px solid var(--hs-line); border-radius: 6px; background: var(--hs-surface); text-decoration: none; color: var(--hs-ink-2); }
.hs-pager .current { background: var(--hs-accent); border-color: var(--hs-accent); color: #fff; }

/* ============================================================
   記事ページ
   ============================================================ */
body.single .main, body.page:not(.home) .main, body.archive .main, body.search .main { padding: 0 20px; }
.article, .entry-content, .breadcrumb, .date-tags, .sns-share, .under-entry-content, .eye-catch-wrap {
  max-width: var(--hs-read); margin-left: auto; margin-right: auto;
}
/* パンくずは .main の外(main_before)に出るので、.main と同じ左右の余白を自分で持つ。
   content-box にして、PC では本文(720px)と左端を揃える */
.breadcrumb, body .breadcrumb, #breadcrumb, body #breadcrumb { box-sizing: content-box; margin-top: 28px; padding: 0 20px; font-size: 13px; color: var(--hs-ink-3); background: transparent !important; border: 0; box-shadow: none; }
.breadcrumb a { color: var(--hs-ink-3); }
.article { background: none; padding: 0; margin-top: 8px; }
.article .entry-title {
  margin: 12px 0 16px; padding: 0; background: none; border: 0;
  font-size: clamp(25px, 3.4vw, 34px); line-height: 1.45; font-weight: 800; letter-spacing: .01em; color: var(--hs-ink);
}
.date-tags { display: flex; gap: 14px; justify-content: flex-start; font-size: 13.5px; color: var(--hs-ink-3); margin-bottom: 18px; }
.date-tags .post-date, .date-tags .post-update { font-size: 13.5px; }
.eye-catch-wrap { margin-bottom: 28px; }
.eye-catch { margin: 0; display: block; }
.eye-catch img { width: 100%; max-height: 420px; object-fit: contain; border-radius: var(--hs-radius); background: #fff; }
.entry-content { font-size: 17px; line-height: 1.95; }
.entry-content > * { margin-top: 0; }
.entry-content p { margin: 0 0 1.5em; }
.article h2, .entry-content h2 {
  margin: 2.6em 0 .9em; padding: 0 0 .35em; background: none; color: var(--hs-ink);
  border: 0; border-bottom: 2px solid var(--hs-ink); border-radius: 0;
  font-size: 1.45em; line-height: 1.45; font-weight: 800;
}
.article h3, .entry-content h3 {
  margin: 2.2em 0 .8em; padding: 0 0 0 .7em; background: none; color: var(--hs-ink);
  border: 0; border-left: 4px solid var(--hs-accent); border-radius: 0;
  font-size: 1.22em; line-height: 1.5; font-weight: 700;
}
.article h4, .entry-content h4 { margin: 1.8em 0 .6em; padding: 0; background: none; border: 0; font-size: 1.06em; font-weight: 700; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; margin: 0 0 1.5em; }
.entry-content li { margin: .3em 0; }
.entry-content img { height: auto; border-radius: 6px; }
.entry-content figure { margin: 1.8em 0; }
.entry-content figcaption, .wp-block-image figcaption { font-size: 13.5px; color: var(--hs-ink-3); text-align: center; line-height: 1.6; }
.entry-content blockquote {
  margin: 1.8em 0; padding: 14px 18px; background: var(--hs-surface);
  border: 0; border-left: 4px solid var(--hs-line); color: var(--hs-ink-2); font-size: .94em;
}
.entry-content blockquote::before, .entry-content blockquote::after { display: none; }
.entry-content table { display: block; overflow-x: auto; max-width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.6; }
.entry-content th, .entry-content td { border: 1px solid var(--hs-line); padding: 8px 10px; }
.entry-content th { background: #f0f0ec; }
.entry-content pre, .entry-content code { font-family: var(--hs-mono); }
.entry-content pre { max-width: 100%; overflow-x: auto; font-size: 14px; border-radius: 8px; }
.entry-content strong, .entry-content b { background: linear-gradient(transparent 64%, var(--hs-mark) 64%); }
.entry-content a { word-break: break-all; }

/* Cocoon 部品の見た目を揃える */
.toc {
  display: block; width: auto; margin: 2em 0; padding: 18px 22px;
  background: var(--hs-surface); border: 1px solid var(--hs-line); border-radius: var(--hs-radius); font-size: 15px;
}
.toc-title { text-align: left; font-weight: 700; font-size: 15px; color: var(--hs-ink); }
.toc-content ol, .toc-content ul { padding-left: 1.3em; }
.toc a { color: var(--hs-ink-2); text-decoration: none; }
.toc a:hover { color: var(--hs-accent); text-decoration: underline; }
.blogcard-wrap { max-width: none; width: 100%; margin: 1.6em 0; }
.blogcard {
  padding: 12px; border: 1px solid var(--hs-line); border-radius: var(--hs-radius); background: var(--hs-surface);
  line-height: 1.5;
}
.blogcard-label { background: var(--hs-accent); font-size: 12px; }
.blogcard-title { font-weight: 700; font-size: 15.5px; color: var(--hs-ink); }
.blogcard-snippet { font-size: 13px; color: var(--hs-ink-3); }
.blogcard-thumbnail img { border-radius: 6px; }
.speech-wrap { margin: 1.6em 0; }
.speech-balloon { border-radius: 12px; line-height: 1.75; }
.sns-share { margin-top: 2.4em; }
.sns-share-message { font-size: 14px; color: var(--hs-ink-3); }
.sns-share-buttons a { border-radius: 8px; }
.related-entries, .comment-area, .pager-post-navi, .under-entry-content { max-width: var(--hs-read); margin-left: auto; margin-right: auto; }
.related-entry-heading, .comment-title { background: none; border: 0; border-bottom: 2px solid var(--hs-ink); padding: 0 0 .3em; color: var(--hs-ink); font-size: 20px; font-weight: 800; }
.related-entry-card-wrap, .entry-card-wrap { border-radius: var(--hs-radius); }
.go-to-top-button { border-radius: 50%; background: var(--hs-accent); }

/* 学習パスの前後ナビ */
.hs-path-nav { margin: 2.4em 0 0; padding: 16px 18px; border: 1px solid var(--hs-line); border-radius: var(--hs-radius); background: var(--hs-accent-soft); }
.hs-path-nav__head { font-size: 14px; font-weight: 600; color: var(--hs-accent-ink); }
.hs-path-nav__links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin-top: 8px; font-size: 15px; line-height: 1.6; }
.hs-path-nav__links .next { margin-left: auto; text-align: right; }

/* 一覧(カテゴリー・タグ・検索)は Cocoon のカードを使い、見た目だけ揃える */
.archive-title, .list-title { max-width: var(--hs-wide); margin: 32px auto 16px; font-size: 26px; font-weight: 800; background: none; border: 0; padding: 0; }
.list { max-width: var(--hs-wide); margin: 0 auto; }
.entry-card-wrap { background: var(--hs-surface); border: 1px solid var(--hs-line); margin-bottom: 12px; padding: 14px; }
.entry-card-title { font-size: 17px; font-weight: 700; line-height: 1.55; }
.entry-card-snippet { font-size: 14px; color: var(--hs-ink-2); }
.cat-label { display: none; }

/* フッター(A案: 紙色に墨の罫線。全ページ共通) */
.footer { background: var(--hs-paper); color: var(--hs-ed-sub); margin-top: 64px; padding: 0; border-top: 1px solid var(--hs-ed-ink); }
.footer a { color: var(--hs-ed-ink); }
.footer-in { max-width: var(--hs-wide); padding: 0 20px; }
.hs-footer { display: block; padding: 32px 0 36px; text-align: left; }
.hs-footer__cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 28px; }
.hs-footer__name { font-family: var(--hs-serif); font-weight: 700; font-size: 18px; letter-spacing: .1em; color: var(--hs-ed-ink); }
.hs-footer__desc { margin: 8px 0 0; font-size: 13px; line-height: 1.8; color: var(--hs-ed-sub); }
.hs-footer__links { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px 16px; margin: 0; padding: 0; list-style: none; }
.hs-footer__links a { display: block; text-decoration: none; font-size: 13px; line-height: 1.6; }
.hs-footer__copy { margin-top: 24px; padding-top: 14px; border-top: 1px solid var(--hs-ed-rule); font-size: 12px; color: var(--hs-ed-sub); }

/* 広告(記事ページの2枠だけ)。本文と混ざらないよう、罫線と小さなラベルで区切る */
.ad-area { margin: 40px 0; padding: 12px 0 16px; border-top: 1px solid var(--hs-ed-rule); border-bottom: 1px solid var(--hs-ed-rule); text-align: center; }
.ad-label { margin-bottom: 8px; font-size: 11px; letter-spacing: .12em; color: var(--hs-ed-sub); }

/* ============================================================
   トップ(A案 Editorial Lab。2026-12-05 本人決定)
   モックアップ docs/mockups/top-20261012/a-editorial-lab.html をスマホ幅の基準にし、PC では 680px の1段で中央に置く
   ============================================================ */
body.home, body.home.public-page { background: var(--hs-paper); }
.hs-ed {
  max-width: 680px; margin: 0 auto; padding: 0 0 8px;
  color: var(--hs-ed-ink); font-size: 15px; line-height: 1.8; font-feature-settings: "palt";
}
.hs-ed a { color: inherit; text-decoration: none; }
.hs-ed a:hover h2, .hs-ed a:hover h4, .hs-ed a:hover h5, .hs-ed .ed-q a:hover, .hs-ed .ed-ts a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; }
.hs-ed h1, .hs-ed h2, .hs-ed h3, .hs-ed h4, .hs-ed h5 { margin: 0; padding: 0; background: none; border: 0; color: inherit; font-family: var(--hs-serif); font-weight: 700; }
.hs-ed h2::before, .hs-ed h2::after, .hs-ed h3::before, .hs-ed h3::after, .hs-ed h4::before, .hs-ed h4::after { content: none; }
.hs-ed p, .hs-ed ul, .hs-ed ol { margin: 0; padding: 0; }
.hs-ed ul, .hs-ed ol { list-style: none; }
.hs-ed figure { margin: 0; }
.ed-num { font-variant-numeric: tabular-nums; }
/* 写真は温かみのあるモノクロに揃える(メディアは変えず表示だけ) */
.hs-ed .ed-img { display: block; width: 100%; height: auto; object-fit: cover; filter: grayscale(1) sepia(.12) contrast(1.04); }
.hs-ed .ed-img.ed-fig { filter: grayscale(1) contrast(.92) brightness(1.02); mix-blend-mode: multiply; background: var(--hs-ed-tint); }
.hs-ed .ed-img.ed-contrast { filter: grayscale(1) sepia(.1) contrast(1.25); }

.ed-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--c, var(--hs-ed-ink)); margin-right: 7px; vertical-align: 2px; flex: none; }
.ed-meta { font-size: 11.5px; color: var(--hs-ed-sub); letter-spacing: .05em; margin-top: 10px !important; }
.ed-ex { color: var(--hs-ed-sub); font-size: 14px; }

/* ファーストビュー */
.ed-hero { padding: 22px 18px 0; }
.ed-issue { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .12em; color: var(--hs-ed-sub); border-bottom: 1px solid var(--hs-ed-rule); padding-bottom: 8px; }
.ed-issue b { color: var(--hs-ed-accent); font-weight: 600; }
.ed-hero__grid { display: grid; grid-template-columns: 1fr 122px; gap: 12px; margin-top: 16px; align-items: start; }
.ed-hero__fig figcaption { font-size: 10.5px; color: var(--hs-ed-sub); line-height: 1.5; margin-top: 7px; }
.ed-tate { writing-mode: vertical-rl; font-size: 33px !important; line-height: 1.22; letter-spacing: .06em; height: 336px; justify-self: end; white-space: nowrap; }
.ed-tate span { display: block; }
.ed-tate .s1 { margin-top: 1.2em; } .ed-tate .s2 { margin-top: 2.4em; }
.ed-lead { font-family: var(--hs-serif); font-size: 16px; line-height: 2; margin-top: 22px !important; letter-spacing: .02em; }
.ed-hero__meta { margin-top: 14px !important; font-size: 12px; color: var(--hs-ed-sub); }
.ed-hero__meta a { border-bottom: 1px solid var(--hs-ed-sub); }

/* 表紙の記事 */
.ed-cover { margin-top: 36px; padding: 0 18px; }
.ed-kicker { display: flex; align-items: center; gap: 10px; font-size: 11.5px; letter-spacing: .12em; color: var(--hs-ed-accent); font-weight: 600; }
.ed-kicker::after { content: ""; flex: 1; height: 1px; background: var(--hs-ed-accent); order: 1; }
.ed-kicker__issue { order: 2; color: var(--hs-ed-sub); font-weight: 400; letter-spacing: .08em; }
.ed-cover h2 { font-size: 27px; line-height: 1.45; margin: 12px 0 10px; letter-spacing: .02em; }
.ed-toc { margin-top: 16px; border-top: 1px solid var(--hs-ed-ink); padding-top: 10px; }
.ed-toc p { font-size: 11px; letter-spacing: .1em; color: var(--hs-ed-sub); margin-bottom: 4px; }
.ed-toc ol { counter-reset: t; }
.ed-toc li { counter-increment: t; font-family: var(--hs-serif); font-size: 14.5px; border-bottom: 1px solid var(--hs-ed-rule); }
.ed-toc li a { display: flex; gap: 12px; padding: 7px 0; }
.ed-toc li a::before { content: counter(t, decimal-leading-zero); font-family: var(--hs-font); font-size: 11px; color: var(--hs-ed-accent); padding-top: 3px; }

/* 区切り */
.ed-sec { padding: 56px 18px 0; }
.ed-sh { display: flex; align-items: baseline; gap: 12px; border-top: 2px solid var(--hs-ed-ink); padding-top: 12px; margin-bottom: 22px; }
.ed-sh .no { font-family: var(--hs-serif); font-size: 13px; color: var(--hs-ed-accent); }
.ed-sh h3 { font-size: 21px; letter-spacing: .04em; line-height: 1.4; }

/* 気になった「？」から(C案を A の文字組みで) */
.ed-sec--q .ed-sh { margin-bottom: 8px; }
.ed-sec__lead { font-size: 12px; color: var(--hs-ed-sub); margin-bottom: 8px !important; }
.ed-q li { border-bottom: 1px solid var(--hs-ed-rule); }
.ed-q li:first-child { border-top: 1px solid var(--hs-ed-rule); }
.ed-q a { display: flex; align-items: baseline; padding: 12px 0; font-family: var(--hs-serif); font-size: 16.5px; line-height: 1.6; font-weight: 600; }
.ed-q .ed-dot { vertical-align: 0; position: relative; top: -2px; }

/* 記事の並び(大・図と引用・数字・横組み) */
.ed-big h4 { font-size: 22px; line-height: 1.5; margin: 6px 0 8px; }
.ed-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--hs-ed-rule); }
.ed-col h4 { font-size: 15.5px; line-height: 1.55; margin-top: 6px; }
.ed-col + .ed-col { border-left: 1px solid var(--hs-ed-rule); padding-left: 16px; }
.ed-quote { font-family: var(--hs-serif); font-size: 21px; line-height: 1.55; font-weight: 700; }
.ed-quote::before { content: "“"; display: block; font-size: 44px; line-height: .7; color: var(--hs-ed-accent); margin-bottom: 6px; }
.ed-quote-src { font-size: 12px; color: var(--hs-ed-sub); margin-top: 10px !important; line-height: 1.6; }
.ed-quote-src b { color: var(--hs-ed-ink); font-weight: 500; font-family: var(--hs-serif); font-size: 14px; display: block; margin-top: 4px; }
.ed-stat { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--hs-ed-rule); }
.ed-stat__num { font-family: var(--hs-serif); font-size: 72px; line-height: 1; font-weight: 700; letter-spacing: -.02em; }
.ed-stat__num small { font-size: 24px; margin-left: 6px; letter-spacing: 0; }
.ed-stat__cap { font-size: 12px; color: var(--hs-ed-sub); margin: 8px 0 14px !important; }
.ed-stat h4 { font-size: 19px; line-height: 1.5; margin-top: 12px; }
.ed-row { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--hs-ed-rule); }
.ed-row > a { display: grid; grid-template-columns: 104px 1fr; gap: 14px; }
.ed-row h4 { font-size: 16px; line-height: 1.55; }
.ed-row__q { font-family: var(--hs-serif); font-size: 13px; color: var(--hs-ed-accent); margin-top: 6px !important; }

/* 全面の写真 */
.ed-inter { position: relative; margin-top: 60px !important; color: #fbfaf7; }
.ed-inter a { color: #fbfaf7 !important; display: block; }
.ed-inter__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 18px 20px; background: linear-gradient(transparent, rgba(10, 9, 8, .82)); }
.ed-inter .big { font-family: var(--hs-serif); font-size: 34px; font-weight: 700; line-height: 1.3; }
.ed-inter .small { font-size: 12px; opacity: .85; margin-top: 8px; line-height: 1.6; }

/* まとまり */
.ed-sp { background: var(--hs-ed-tint); margin: 0 -18px; padding: 0 18px 26px; }
.ed-sp .ed-img { margin: 0 -18px; width: calc(100% + 36px); max-width: none; }
.ed-sp__label { font-size: 11.5px; letter-spacing: .12em; color: var(--hs-ed-accent); font-weight: 600; padding-top: 18px; }
.ed-sp h4 { font-size: 26px; line-height: 1.4; margin: 8px 0; }
.ed-sp__desc { font-size: 13.5px; color: var(--hs-ed-sub); }
.ed-co { margin-top: 14px !important; }
.ed-co li { border-top: 1px solid var(--hs-ed-rule); }
.ed-co a { display: grid; grid-template-columns: 96px 1fr; gap: 10px; align-items: baseline; padding: 10px 0; }
.ed-co .n { font-family: var(--hs-serif); font-size: 22px; font-weight: 700; }
.ed-co .t { font-size: 12.5px; line-height: 1.55; color: var(--hs-ed-sub); }
.ed-mini { margin-top: 26px; }
.ed-mini article { border-top: 1px solid var(--hs-ed-ink); padding: 14px 0 18px; }
.ed-mini h5 { font-size: 18px; line-height: 1.5; }
.ed-mini p { font-size: 13px; color: var(--hs-ed-sub); margin-top: 4px; }
.ed-mini .cnt { float: right; font-size: 11px; color: var(--hs-ed-sub); font-family: var(--hs-font); font-weight: 400; }
.ed-ts { font-size: 12.5px; margin-top: 8px; line-height: 1.7; }
.ed-ts a { display: block; padding-left: 14px; position: relative; margin-top: 2px; }
.ed-ts a::before { content: ""; position: absolute; left: 0; top: .85em; width: 7px; height: 1px; background: var(--hs-ed-ink); }

/* テーマの目次 */
.ed-idx a { display: grid; grid-template-columns: 76px 1fr 14px; gap: 10px; align-items: center; border-bottom: 1px solid var(--hs-ed-rule); padding: 14px 0; }
.ed-idx a:first-child { border-top: 1px solid var(--hs-ed-rule); }
.ed-idx .c { font-family: var(--hs-serif); font-size: 38px; font-weight: 300; line-height: 1; letter-spacing: -.02em; }
.ed-idx .c small { font-size: 11px; font-family: var(--hs-font); margin-left: 2px; }
.ed-idx b { font-family: var(--hs-serif); font-size: 18px; display: block; line-height: 1.3; }
.ed-idx span:not(.c) { font-size: 12px; color: var(--hs-ed-sub); line-height: 1.6; display: block; margin-top: 3px; }
.ed-idx i { font-style: normal; color: var(--hs-ed-accent); }

/* 最近の記事 */
.ed-rc li { border-bottom: 1px solid var(--hs-ed-rule); }
.ed-rc li > a { display: grid; grid-template-columns: 74px 1fr; gap: 12px; padding: 13px 0; }
.ed-rc li.wi > a { grid-template-columns: 74px 1fr 64px; }
.ed-rc .d { font-size: 11.5px; color: var(--hs-ed-sub); line-height: 1.5; padding-top: 2px; }
.ed-rc .d em { display: block; font-style: normal; color: var(--hs-ed-ink); font-size: 11px; margin-top: 2px; }
.ed-rc h5 { font-size: 15.5px; line-height: 1.55; font-weight: 600; }
.ed-rc .ed-img { width: 64px; height: 64px; }
.ed-more { display: block; text-align: right; font-size: 13px; margin-top: 14px; }
.ed-more::after { content: " →"; color: var(--hs-ed-accent); }

/* 年ごとの本数と話題 */
.ed-yrs li { display: grid; grid-template-columns: 52px 1fr 40px; gap: 10px; align-items: center; padding: 6px 0; font-size: 13px; }
.ed-yrs .y { font-family: var(--hs-serif); font-size: 16px; }
.ed-yrs .bar { height: 9px; background: var(--hs-ed-ink); }
.ed-yrs .gap { color: var(--hs-ed-sub); font-size: 11px; line-height: 1.5; }
.ed-yrs .n { text-align: right; color: var(--hs-ed-sub); }
.ed-tags { margin-top: 22px !important; font-family: var(--hs-serif); font-size: 15px; line-height: 2.1; }
.ed-tags a { white-space: nowrap; margin-right: 12px; }
.ed-tags small { font-family: var(--hs-font); font-size: 10px; color: var(--hs-ed-accent); margin-left: 2px; }

/* このサイトについて */
.ed-about { margin-top: 60px; background: var(--hs-ed-ink); color: #f4f1ea; padding: 40px 22px 34px; }
.ed-about .ed-quote { color: #f4f1ea; font-size: 22px; }
.ed-about .ed-quote-src { color: #b9b2a6; }
.ed-about .ed-quote-src b, .ed-about .ed-quote-src b a { color: #f4f1ea; }
.hs-ed .ed-go { display: inline-block; margin-top: 26px; border: 1px solid #f4f1ea; padding: 10px 18px; font-size: 13.5px; letter-spacing: .05em; color: #f4f1ea; }
body.home .footer { margin-top: 0; }

/* PC: 1段のまま少しゆったり */
@media (min-width: 721px) {
  .ed-hero__grid { grid-template-columns: 1fr 170px; gap: 24px; }
  .ed-tate { font-size: 44px !important; height: 440px; }
  .ed-cover h2 { font-size: 32px; }
  .ed-sp { margin: 0; }
  .ed-sp .ed-img { margin: 0 -18px; }
  .ed-inter { margin-left: 18px !important; margin-right: 18px !important; }
}

/* ============================================================
   スマートフォン
   ============================================================ */
@media (max-width: 834px) {
  .hs-rows { grid-template-columns: 1fr; }
  .hs-footer__cols { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body, body.public-page { font-size: 16px; }
  .hs-header__in { padding: 0 12px 0 18px; height: 52px; }
  .hs-nav__in { padding: 0 4px; }
  /* ナビは短い日本語の名前にして、390px 幅でも1行に全部収める(横スクロールさせない) */
  .hs-nav__list { justify-content: space-between; gap: 0; }
  .hs-nav__list a { padding: 0 8px 9px; font-size: 12.5px; }
  .hs-home, .hs-section-page { padding: 0 16px 40px; }
  .hs-hero { padding: 26px 0 22px; }
  .hs-hero__title { font-size: 22px; }
  .hs-br-sp { display: inline; }
  .hs-hero__lead { font-size: 15px; line-height: 1.85; }
  .hs-hero__lead br { display: none; }
  .hs-block__head h2 { font-size: 18px; }
  .hs-block { padding-top: 32px; }
  .hs-sections { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hs-section-card { padding: 14px 14px 12px; }
  .hs-section-card__lead { display: none; }
  .hs-grid, .hs-paths { grid-template-columns: 1fr; }
  .hs-card--row .hs-card__thumb { width: 96px; }
  body.single .main, body.page:not(.home) .main, body.archive .main, body.search .main { padding: 0 16px; }
  .entry-content { font-size: 16.5px; line-height: 1.9; }
  .date-tags { flex-wrap: wrap; gap: 4px 12px; }
  .eye-catch img { max-height: 240px; }
  .breadcrumb, body .breadcrumb, #breadcrumb, body #breadcrumb { margin-top: 16px; padding: 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .hs-section-card, .hs-card__link { transition: none; }
}
