:root{
  --ed-ink:#111012;
  --ed-paper:#f1e7d3;
  --ed-paper-2:#e5d7bd;
  --ed-ox:#7a1f2b;
  --ed-gold:#b89a5b;
  --ed-muted:#aaa094;
}

body.toc-dark{
  background:var(--ed-ink)!important;
  color:var(--ed-paper)!important;
  background-image:none!important;
}
body.toc-dark::before{display:none!important}

.hero-toc{
  max-width:1180px!important;
  padding:76px 24px 38px!important;
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr);
  gap:54px;
  align-items:end;
}
.hero-toc::after{
  content:"編集部が読む順番を決めました。\A悩みから選んでください。";
  white-space:pre-line;
  border-top:1px solid rgba(241,231,211,.42);
  padding-top:18px;
  font-family:'Zen Old Mincho',serif;
  font-size:clamp(18px,2.2vw,28px);
  line-height:1.7;
  color:var(--ed-paper);
}
.hero-toc__kicker,.hero-toc__en-sub,.hero-toc__byline{color:var(--ed-gold)!important}
/* PC: ヒーローの配置を明示（タイトルが右の狭いカラムに落ちる崩れを防ぐ） */
@media(min-width:821px){
  .hero-toc__kicker{grid-column:1;grid-row:1}
  .hero-toc__title--jp{grid-column:1;grid-row:2}
  .hero-toc__en-sub{grid-column:1;grid-row:3}
  .hero-toc__deck{grid-column:1;grid-row:4}
  .hero-toc::after{grid-column:2;grid-row:2/span 3;align-self:end}
}

.hero-toc__title--jp{
  font-family:'Zen Old Mincho',serif!important;
  font-size:clamp(38px,6.4vw,80px)!important;
  line-height:1.2!important;
  letter-spacing:-.03em!important;
  max-width:780px;
}
.hero-toc__deck{color:#c9c0b5!important;max-width:690px!important}
.hero-toc .tip-strip{grid-column:1/-1;margin-top:18px}
.hero-toc__byline{grid-column:1/-1}

.featured-card{margin-bottom:86px!important}
.featured-card a{
  grid-template-columns:1.25fr .75fr!important;
  border:0!important;
  border-top:1px solid rgba(241,231,211,.35)!important;
  border-bottom:1px solid rgba(241,231,211,.35)!important;
  border-radius:0!important;
  background:transparent!important;
}
.featured-card__visual{
  min-height:460px!important;
  background:
    linear-gradient(90deg,rgba(255,255,255,.03),rgba(17,16,18,.12)),
    url('img/toc-editorial-v2.webp') center/cover no-repeat!important;
  justify-content:flex-start!important;
  align-items:flex-end!important;
}
.featured-card__cover{
  max-width:520px;
  font-family:'Zen Old Mincho',serif!important;
  font-size:clamp(26px,3.2vw,46px)!important;
  text-align:left!important;
}
.featured-card__body{padding:48px 0 48px 48px!important}
.featured-card__title{font-family:'Zen Old Mincho',serif!important}

.cat-tabs-d,.section-bar-d,#story-list{display:none!important}

.editorial-paths,.editorial-shelves{
  position:relative;
  z-index:2;
  max-width:1180px;
  margin:0 auto;
  padding:0 24px;
}
.editorial-paths{margin-bottom:90px}
.editorial-eyebrow{
  font:700 11px/1 'Inter Tight',sans-serif;
  letter-spacing:.24em;
  color:var(--ed-gold);
  margin-bottom:18px;
}
.editorial-paths h2{
  font-family:'Zen Old Mincho',serif;
  font-size:clamp(28px,4.2vw,50px);
  line-height:1.35;
  margin:0 0 34px;
}
.path-grid{display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid rgba(241,231,211,.28);border-bottom:1px solid rgba(241,231,211,.28)}
.path-link{
  display:flex;
  min-height:150px;
  flex-direction:column;
  justify-content:space-between;
  padding:22px 18px;
  color:inherit;
  text-decoration:none;
  border-right:1px solid rgba(241,231,211,.18);
  transition:background .18s,color .18s;
}
.path-link:last-child{border-right:0}
.path-link:hover{background:var(--ed-paper);color:var(--ed-ink)}
.path-no{font:600 11px/1 'Inter Tight',sans-serif;color:var(--ed-gold);letter-spacing:.12em}
.path-title{font:700 18px/1.55 'Zen Old Mincho',serif}
.path-sub{font-size:11px;color:var(--ed-muted)}

.editorial-shelf{scroll-margin-top:90px;margin-bottom:104px}
.shelf-head{
  display:grid;
  grid-template-columns:100px 1fr auto;
  align-items:end;
  gap:22px;
  padding-bottom:18px;
  border-bottom:1px solid rgba(241,231,211,.34);
  margin-bottom:28px;
}
.shelf-index{font:500 48px/1 'Inter Tight',sans-serif;color:var(--ed-ox)}
.shelf-head h2{font:700 clamp(26px,3.5vw,42px)/1.25 'Zen Old Mincho',serif;margin:0}
.shelf-head p{font-size:12px;line-height:1.7;color:var(--ed-muted);margin:0;max-width:270px;text-align:right}
.shelf-main{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(260px,.7fr);gap:34px;align-items:start}

.editorial-shelf .story-d{
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  min-width:0!important;
}
.editorial-shelf .story-lead{
  display:block!important;
  padding:0 34px 0 0!important;
  border-right:1px solid rgba(241,231,211,.2)!important;
}
.story-lead .story-d__num{font-size:72px!important;color:var(--ed-ox)!important;line-height:1!important}
.story-lead .story-d__title{font:700 clamp(24px,3vw,38px)/1.5 'Zen Old Mincho',serif!important;color:var(--ed-paper)!important;margin:20px 0 16px!important}
.story-lead .story-d__lead{font-size:14px!important;line-height:1.9!important;color:#c5bbb0!important;display:block!important}
.story-lead .story-d__meta{border-top:1px solid rgba(241,231,211,.18)!important;padding-top:15px!important}

.shelf-secondary{display:grid;gap:0}
.story-rec{
  display:block!important;
  padding:0 0 24px!important;
  margin-bottom:24px!important;
  border-bottom:1px solid rgba(241,231,211,.22)!important;
}
.story-rec .story-d__top,.story-rec .story-d__badges,.story-rec .story-d__lead{display:none!important}
.story-rec .story-d__title{font:700 18px/1.7 'Zen Old Mincho',serif!important;color:var(--ed-paper)!important;margin:0 0 12px!important}
.story-rec .story-d__meta{font-size:10px!important}

.shelf-more{grid-column:1/-1;margin-top:18px;border-top:1px solid rgba(241,231,211,.2)}
.shelf-more summary{cursor:pointer;list-style:none;padding:18px 0;color:var(--ed-gold);font:600 12px/1.4 'Noto Sans JP',sans-serif;letter-spacing:.08em}
.shelf-more summary::-webkit-details-marker{display:none}
.shelf-more summary::after{content:' ＋';float:right;font-size:18px}
.shelf-more[open] summary::after{content:' −'}
.archive-list{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid rgba(241,231,211,.18)}
.story-archive{
  display:grid!important;
  grid-template-columns:46px 1fr!important;
  padding:16px 18px 16px 0!important;
  border-bottom:1px solid rgba(241,231,211,.14)!important;
  text-decoration:none;
}
.story-archive:nth-child(odd){border-right:1px solid rgba(241,231,211,.14)!important}
.story-archive .story-d__top{grid-row:1/3;display:block!important}
.story-archive .story-d__cat,.story-archive .story-d__badges,.story-archive .story-d__lead,.story-archive .story-d__meta{display:none!important}
.story-archive .story-d__num{font-size:13px!important;color:var(--ed-ox)!important}
.story-archive .story-d__title{font:600 14px/1.7 'Noto Sans JP',sans-serif!important;color:#d8cfc4!important;margin:0!important}

@media(max-width:820px){
  .hero-toc{grid-template-columns:1fr;gap:26px;padding-top:48px!important}
  .hero-toc::after{font-size:18px}
  .featured-card a,.shelf-main{grid-template-columns:1fr!important}
  .featured-card__visual{min-height:320px!important}
  .featured-card__body{padding:28px 0!important}
  .path-grid{grid-template-columns:1fr 1fr}
  .path-link:nth-child(2n){border-right:0}
  .path-link{min-height:120px;border-bottom:1px solid rgba(241,231,211,.16)}
  .shelf-head{grid-template-columns:56px 1fr}.shelf-head p{display:none}
  .shelf-index{font-size:34px}
  .editorial-shelf .story-lead{padding:0 0 28px!important;border-right:0!important;border-bottom:1px solid rgba(241,231,211,.2)!important}
  .archive-list{grid-template-columns:1fr}
  .story-archive:nth-child(odd){border-right:0!important}
}

@media(max-width:520px){
  .hero-toc,.editorial-paths,.editorial-shelves,.featured-card{padding-left:18px!important;padding-right:18px!important}
  .hero-toc__title--jp{font-size:38px!important}
  .hero-toc__deck br{display:none}
  .featured-card__visual{min-height:270px!important;padding:24px!important}
  .featured-card__cover{font-size:27px!important}
  .path-grid{grid-template-columns:1fr}
  .path-link{border-right:0;min-height:100px}
  .editorial-shelf{margin-bottom:78px}
}

@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Shared HOSMEDI editorial dark system — サイト共通ダークトーン #06040c × #c9a45c */
:root{--ed-ink:#06040c;--ed-paper:#f1ead9;--ed-paper-2:#e5d7bd;--ed-ox:#c9a45c;--ed-gold:#c9a45c;--ed-muted:#9a93ad}
body.toc-dark{
  background:
    radial-gradient(ellipse 80% 55% at 20% 0%, rgba(201,164,92,.09), transparent 60%),
    linear-gradient(180deg,#06040c 0%,#0a0714 45%,#06040c 100%) !important;
  background-attachment:fixed !important;
  color:#e6e1ee !important;
}
body.toc-dark .site-header{background:rgba(6,4,12,.9)!important;border-bottom:1px solid rgba(255,255,255,.1)!important;backdrop-filter:blur(14px)}
body.toc-dark .site-header a,body.toc-dark .site-header .brand,body.toc-dark .pc-nav a,body.toc-dark .brand__name{color:#ece7f4!important}
body.toc-dark .brand__est,body.toc-dark .brand__romaji{color:#9a93ad!important}
.hero-toc__title--jp{color:#f6f3fb!important;background:none!important;-webkit-text-fill-color:#f6f3fb!important}
.hero-toc__deck{color:#b6aec6!important}
.hero-toc__deck b{color:#f6f3fb!important}
.hero-toc__kicker,.hero-toc__en-sub,.hero-toc__byline,.editorial-eyebrow{color:#c9a45c!important}
.hero-toc::after{border-color:rgba(201,164,92,.4);color:#f1ead9}
.editorial-paths h2,.shelf-head h2{color:#f6f3fb!important}
.featured-card__title{color:#f6f3fb!important}
.featured-card__lead{color:#b6aec6!important}
.story-lead .story-d__title,.story-rec .story-d__title{color:#f6f3fb!important}
.story-lead .story-d__lead{color:#b6aec6!important}
.path-link{color:#e6e1ee}
.path-sub{color:#9a93ad}
body.toc-dark .site-footer{background:#0a0713!important;border-color:rgba(255,255,255,.1)!important;color:#b9b3c7!important}
body.toc-dark .site-footer a,body.toc-dark .footer-col h4{color:#cdc7d8!important}
body.toc-dark .footer-fine{color:#8a8399!important}
