/* ============================================================
   hydrogen water navi — フロント共通スタイル
   人肌のオフホワイト × 水色 / 見出し=和文明朝 / ライト・ダーク対応
   ============================================================ */
:root {
  --ground: #FBF5F0; --ground-2: #F5EAE1; --surface: #FFFDFB; --surface-sink: #F7EFE8;
  --ink: #2B2723; --ink-soft: #6E655D; --ink-faint: #9C938B;
  --water: #3E93A8; --water-deep: #276173; --water-soft: #DCEEF1; --water-line: #BADDE3;
  --skin: #DFA983; --skin-soft: #F1DAC7; --line: #EADFD5; --line-strong: #DECEC0; --heart: #D97C6A;
  --shadow: 22px 28px 60px -34px rgba(58,45,34,.42); --shadow-sm: 10px 14px 30px -20px rgba(58,45,34,.36);
  --font-serif: "Hiragino Mincho ProN","Yu Mincho",YuMincho,"Noto Serif JP","Songti SC",serif;
  --font-sans: "Hiragino Kaku Gothic ProN","Yu Gothic",YuGothic,"Noto Sans JP",system-ui,sans-serif;
  --font-latin: ui-sans-serif, system-ui, "Segoe UI", -apple-system, sans-serif;
  --wrap: 1180px; --radius: 18px; --radius-sm: 12px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #141B1D; --ground-2: #171F21; --surface: #1C2528; --surface-sink: #182022;
    --ink: #F0E8E0; --ink-soft: #ADA59C; --ink-faint: #7C756D;
    --water: #74BDCE; --water-deep: #A6D9E4; --water-soft: #21353B; --water-line: #2E4750;
    --skin: #DCA783; --skin-soft: #2B2620; --line: #2A3437; --line-strong: #384649; --heart: #E4917E;
    --shadow: 22px 30px 64px -34px rgba(0,0,0,.6); --shadow-sm: 10px 16px 34px -22px rgba(0,0,0,.55);
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font-sans); font-size: 16px; line-height: 1.85; -webkit-font-smoothing: antialiased; letter-spacing: .01em; }
h1,h2,h3,h4 { font-family: var(--font-serif); font-weight: 600; letter-spacing: .02em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
/* 左右のガター。logical property は旧iOS Safari等で無視されるため物理プロパティで指定。
   ノッチ端末のセーフエリアも考慮。 */
.wrap { max-width: var(--wrap); margin-left: auto; margin-right: auto;
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right)); }
.tnum { font-variant-numeric: tabular-nums; }
.eyebrow { font-family: var(--font-latin); font-size: .72rem; letter-spacing: .34em; text-transform: uppercase; color: var(--water-deep); font-weight: 600; }
.muted { color: var(--ink-faint); }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--ground) 82%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.head-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.brand .mark { width: 30px; height: 30px; flex: none; }
.brand .word { font-family: var(--font-latin); line-height: 1.5; }
.brand .word b { display: block; font-weight: 600; font-size: 1.06rem; letter-spacing: .14em; }
.brand .word b i { font-style: normal; color: var(--water); }
.brand .word span { display: block; font-size: .58rem; letter-spacing: .3em; color: var(--ink-faint); text-transform: uppercase; }
.nav { display: flex; gap: 26px; font-size: .9rem; }
.nav a { color: var(--ink-soft); padding: 6px 0; position: relative; transition: color .2s; }
.nav a:hover, .nav a.on { color: var(--ink); }
.nav a::after { content:""; position:absolute; left:0; right:100%; bottom:0; height:1.5px; background: var(--water); transition: right .28s ease; }
.nav a:hover::after, .nav a.on::after { right: 0; }
.head-social { display: flex; gap: 12px; }
.head-social a { color: var(--ink-soft); display: grid; place-items: center; transition: color .2s, transform .2s; }
.head-social a:hover { color: var(--water); transform: translateY(-2px); }
.head-social svg { width: 19px; height: 19px; display:block; }
.menu-btn { display:none; background: var(--surface); border: 1px solid var(--line-strong); color: var(--ink); border-radius: 10px; width: 40px; height: 40px; cursor: pointer; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-sans); font-size: .92rem; font-weight: 600; padding: 13px 24px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.btn-primary { background: var(--water); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-2px); background: var(--water-deep); }
.btn-ghost { color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--water); color: var(--water-deep); transform: translateY(-2px); }
.btn svg { width: 17px; height: 17px; }
@media (prefers-color-scheme: dark){ .btn-primary { color:#0d1517; } }

/* ---------- Hero (top) ---------- */
.hero { position: relative; overflow: hidden; }
.hero::before { content:""; position:absolute; top:0; right:0; bottom:0; left:0; z-index:0;
  background: radial-gradient(120% 90% at 88% -10%, var(--water-soft) 0%, transparent 46%),
    radial-gradient(90% 80% at 6% 8%, var(--skin-soft) 0%, transparent 52%),
    linear-gradient(180deg, transparent 55%, var(--ground-2) 100%); opacity: .9; }
#bubbles { position:absolute; top:0; left:0; z-index:1; width:100%; height:100%; }
.hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 54px; align-items: center; padding-top: 78px; padding-bottom: 74px; }
.hero-copy .eyebrow { margin-bottom: 22px; }
.hero-copy h1 { font-size: clamp(2.3rem, 4.6vw, 3.5rem); line-height: 1.42; margin: 0 0 26px; text-wrap: balance; letter-spacing: .03em; }
.hero-copy h1 .q { color: var(--water); }
.hero-copy h1 .u { background: linear-gradient(transparent 66%, var(--skin-soft) 66%); padding: 0 .06em; }
.hero-copy p { max-width: 34em; color: var(--ink-soft); font-size: 1.02rem; margin: 0 0 34px; }
.hero-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.feature { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.feature .ph { aspect-ratio: 16/10; display:block; }
.feature .body { padding: 22px 24px 24px; }
.pickup-tag { position: absolute; top: 16px; left: 16px; z-index: 2; background: var(--surface); color: var(--water-deep); font-size: .68rem; font-weight: 700; letter-spacing: .18em; padding: 6px 13px; border-radius: 999px; font-family: var(--font-latin); text-transform: uppercase; box-shadow: var(--shadow-sm); }
.feature h3 { font-size: 1.28rem; line-height: 1.5; margin: 10px 0 12px; }
.feature p { color: var(--ink-soft); font-size: .9rem; margin: 0; }
.feature .cat { display:inline-block; font-size:.72rem; font-weight:700; letter-spacing:.14em; color: var(--water-deep); }

/* ---------- Discover / Explore ---------- */
.discover { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface-sink); }
.discover-in { display: flex; align-items: center; gap: 16px; padding-top: 15px; padding-bottom: 15px; flex-wrap: wrap; }
.discover .lbl { font-family: var(--font-latin); font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-faint); }
.chips { display: flex; gap: 9px; flex-wrap: wrap; }
.chip { font-size: .82rem; padding: 7px 15px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-strong); color: var(--ink-soft); transition: all .2s; cursor: pointer; }
.chip:hover, .chip.on { background: var(--water); border-color: var(--water); color: #fff; }
@media (prefers-color-scheme: dark){ .chip:hover, .chip.on { color:#0d1517; } }

/* ---------- Layout ---------- */
.layout { display: grid; grid-template-columns: 1fr 316px; gap: 56px; padding-top: 64px; padding-bottom: 40px; }
.sec-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 26px; }
.sec-head h2 { font-size: 1.5rem; margin: 0; }
.sec-head .en { font-family: var(--font-latin); font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: var(--water); }
.sec-head .more { margin-left: auto; font-size: .82rem; color: var(--ink-soft); border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
.sec-head .more:hover { color: var(--water); border-color: var(--water); }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 26px; }
.cards.c3 { grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { display: flex; flex-direction: column; }
.card .ph { aspect-ratio: 3/2; border-radius: var(--radius-sm); overflow: hidden; position: relative; border: 1px solid var(--line); display:block; }
.card .ph span { position:absolute; top:0; right:0; bottom:0; left:0; transition: transform .5s ease; }
.card:hover .ph span { transform: scale(1.05); }
.cat { display:inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .1em; color: var(--water-deep); margin: 16px 0 8px; }
.card h3 { font-size: 1.12rem; line-height: 1.6; margin: 0 0 10px; transition: color .2s; }
.card:hover h3 { color: var(--water-deep); }
.card .ex { font-size: .84rem; color: var(--ink-soft); margin: 0 0 14px; line-height: 1.8; }
.meta { display: flex; align-items: center; gap: 14px; margin-top: auto; font-size: .76rem; color: var(--ink-faint); }
.meta .date { font-family: var(--font-latin); letter-spacing: .04em; }
.reacts { display: flex; gap: 8px; margin-left: auto; }
.react { display: inline-flex; align-items: center; gap: 5px; font-size: .74rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ink-soft); background: var(--surface); }
.react svg { width: 13px; height: 13px; }
.react.h svg { color: var(--water); } .react.l svg { color: var(--heart); }

/* グラデ表紙 */
.g-a { background: linear-gradient(145deg,#A9D8E1,#4E9DB0); }
.g-b { background: linear-gradient(145deg,#F0D3BC,#DFA983); }
.g-c { background: linear-gradient(145deg,#BFE0E4,#7FBFCB); }
.g-d { background: linear-gradient(145deg,#EBD8CB,#CBB6A2); }
.g-e { background: linear-gradient(145deg,#9FCFDB,#3E93A8); }
.g-f { background: linear-gradient(145deg,#F3E1D2,#E6C0A0); }

/* ---------- Sidebar ---------- */
.aside { display: flex; flex-direction: column; gap: 30px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow-sm); }
.panel > h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; margin: 0 0 18px; }
.panel > h3 .en { font-family: var(--font-latin); font-size: .6rem; letter-spacing: .2em; color: var(--ink-faint); text-transform: uppercase; margin-left: auto; }
.rank { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.rank li { display: flex; gap: 13px; align-items: flex-start; }
.rank .no { font-family: var(--font-latin); font-weight: 700; font-size: 1.15rem; line-height: 1.3; width: 26px; flex: none; color: var(--water); font-variant-numeric: tabular-nums; }
.rank li:nth-child(-n+3) .no { color: var(--skin); }
.rank .t { font-size: .86rem; line-height: 1.55; }
.rank .t:hover { color: var(--water-deep); }
.rank .rmeta { font-size: .7rem; color: var(--ink-faint); margin-top: 3px; }
.arch { list-style: none; margin: 0; padding: 0; }
.arch li + li { border-top: 1px solid var(--line); }
.arch a { display: flex; justify-content: space-between; align-items: center; padding: 11px 2px; font-size: .86rem; color: var(--ink-soft); transition: color .2s, padding .2s; }
.arch a:hover, .arch a.on { color: var(--water-deep); padding-left: 6px; }
.arch a.on { font-weight: 700; }
.arch .c { font-family: var(--font-latin); font-size: .72rem; color: var(--ink-faint); background: var(--surface-sink); border-radius: 999px; padding: 2px 9px; }
.follow .sns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.follow .sns a { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-radius: var(--radius-sm); border: 1px solid var(--line); font-size: .8rem; font-weight: 600; color: var(--ink-soft); transition: all .2s; }
.follow .sns a:hover { color: var(--ink); border-color: var(--water); transform: translateY(-2px); }
.follow .sns svg { width: 17px; height: 17px; flex: none; }
.follow .note { font-size: .76rem; color: var(--ink-faint); margin: 14px 0 0; line-height: 1.7; }
.tagcloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tagcloud a { font-size: .8rem; color: var(--ink-soft); background: var(--surface-sink); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; transition: all .2s; }
.tagcloud a:hover { color: var(--water-deep); border-color: var(--water); }

/* ---------- Habit CTA ---------- */
.band { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--water-deep), var(--water)); color: #fff; border-radius: var(--radius); margin: 30px 0 70px; }
@media (prefers-color-scheme: dark){ .band { color:#0d1517; } }
.band-in { position: relative; z-index: 2; padding: 46px 44px; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.band .eyebrow { color: rgba(255,255,255,.72); }
.band h2 { font-size: 1.7rem; margin: 12px 0 8px; color: inherit; }
.band p { margin: 0; opacity: .9; font-size: .92rem; max-width: 40em; }
.band .field { display: flex; gap: 10px; }
.band input { border: none; border-radius: 999px; padding: 13px 20px; font-size: .9rem; width: 230px; font-family: var(--font-sans); }
.band .btn-solid { background: #fff; color: var(--water-deep); font-weight: 700; }
.band .btn-solid:hover { transform: translateY(-2px); }
.band .b1, .band .b2 { position: absolute; border-radius: 50%; background: rgba(255,255,255,.12); z-index: 1; }
.band .b1 { width: 220px; height: 220px; right: -40px; top: -70px; }
.band .b2 { width: 120px; height: 120px; right: 180px; bottom: -50px; }

/* ---------- Footer ---------- */
.site-foot { border-top: 1px solid var(--line); background: var(--surface-sink); }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 30px; }
.foot-brand .brand { margin: 0 0 16px; }
.foot-brand p { color: var(--ink-soft); font-size: .84rem; max-width: 26em; margin: 0 0 20px; }
.foot-social { display: flex; gap: 12px; }
.foot-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--ink-soft); transition: all .2s; }
.foot-social a:hover { color: var(--water); border-color: var(--water); transform: translateY(-3px); }
.foot-social svg { width: 18px; height: 18px; }
.foot-col h4 { font-family: var(--font-latin); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 16px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.foot-col a { font-size: .86rem; color: var(--ink-soft); }
.foot-col a:hover { color: var(--water-deep); }
.foot-bottom { border-top: 1px solid var(--line); padding-top: 20px; padding-bottom: 20px; display: flex; justify-content: space-between; align-items: center; font-size: .74rem; color: var(--ink-faint); }
.foot-bottom .rss { display: inline-flex; align-items: center; gap: 6px; }
.foot-bottom .rss:hover { color: var(--water); }

/* ---------- Article detail ---------- */
.crumbs { font-size: .78rem; color: var(--ink-faint); padding: 22px 0 0; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--water-deep); }
.crumbs .sep { opacity: .5; }
.art-head { text-align: center; padding: 26px 0 30px; max-width: 760px; margin-left: auto; margin-right: auto; }
.art-head .cat { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; color: #fff; background: var(--water); padding: 6px 14px; border-radius: 999px; margin-bottom: 22px; }
@media (prefers-color-scheme: dark){ .art-head .cat{ color:#0d1517; } }
.art-head h1 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); line-height: 1.5; margin: 0 0 20px; text-wrap: balance; }
.art-head .lead { color: var(--ink-soft); font-size: 1.02rem; margin: 0 auto 24px; max-width: 34em; }
.art-meta { display: flex; align-items: center; justify-content: center; gap: 16px; font-size: .82rem; color: var(--ink-faint); }
.art-meta .who { display: flex; align-items: center; gap: 9px; }
.art-meta .ava { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(145deg,#7CC4D4,#3E93A8); flex: none; }
.art-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-faint); }
.hero-img { max-width: 900px; margin: 6px auto 0; aspect-ratio: 16/9; border-radius: var(--radius); position: relative; overflow: hidden; box-shadow: var(--shadow); }
.hero-img img { width:100%; height:100%; object-fit: cover; }
.art-shell { display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 34px; max-width: 860px; margin: 52px auto 0; }
.share-rail { position: sticky; top: 96px; align-self: start; display: flex; flex-direction: column; gap: 12px; }
.share-rail .lbl { font-family: var(--font-latin); font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint); text-align: center; margin-bottom: 4px; }
.share-rail a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--ink-soft); background: var(--surface); transition: all .2s; }
.share-rail a:hover { color: var(--water); border-color: var(--water); transform: translateY(-2px); }
.share-rail svg { width: 18px; height: 18px; }
.toc { background: var(--surface-sink); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px 26px; margin-bottom: 40px; }
.toc h4 { display:flex; align-items:center; gap: 9px; margin: 0 0 14px; font-size: .95rem; }
.toc h4 svg { width: 16px; height: 16px; color: var(--water); }
.toc ol { margin: 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: 9px; color: var(--ink-soft); font-size: .9rem; }
.toc a:hover { color: var(--water-deep); }
.toc .lv3 { margin-left: 1em; list-style: circle; }

/* prose（本文） */
.prose { font-size: 1.04rem; line-height: 2.05; }
.prose > p { margin: 0 0 1.7em; }
.prose h2 { font-size: 1.5rem; line-height: 1.6; margin: 2.4em 0 .9em; padding-bottom: .5em; border-bottom: 1px solid var(--line); }
.prose h3 { font-size: 1.18rem; margin: 2em 0 .7em; padding-left: .6em; border-left: 4px solid var(--skin); }
.prose strong { font-weight: 700; background: linear-gradient(transparent 62%, var(--water-soft) 62%); padding: 0 .04em; }
.prose a.link { color: var(--water-deep); border-bottom: 1px solid var(--water-line); }
.prose a.link:hover { border-color: var(--water-deep); }
.prose ul, .prose ol { margin: 0 0 1.7em; padding-left: 1.4em; }
.prose li { margin-bottom: .5em; }
.prose blockquote { margin: 2em 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--water); color: var(--ink-soft); font-family: var(--font-serif); font-size: 1.1rem; line-height: 1.9; }
/* 記事内テーブル（仕様表・比較表） */
.prose .table-wrap { margin: 2.4em 0; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); -webkit-overflow-scrolling: touch; }
.prose table { width: 100%; border-collapse: collapse; background: var(--surface); font-family: var(--font-sans); font-size: .92rem; line-height: 1.85; }
.prose table th, .prose table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose table tr:last-child th, .prose table tr:last-child td { border-bottom: 0; }
/* ヘッダ行（区切り行ありのGFM表で使用） */
.prose table thead th { background: var(--water-soft); color: var(--water-deep); font-weight: 700; letter-spacing: .02em; border-bottom: 1px solid var(--water-line); }
/* ラベル列（1列目）＝水色寄りの帯 */
.prose table tbody td:first-child, .prose table tbody th:first-child { width: 9em; font-weight: 600; color: var(--water-deep); background: color-mix(in srgb, var(--water-soft) 55%, var(--surface)); }
.prose table td a.link { word-break: break-all; }
@media (max-width: 640px) {
  .prose table { font-size: .86rem; }
  .prose table th, .prose table td { padding: 11px 13px; }
  .prose table tbody td:first-child, .prose table tbody th:first-child { width: 7em; }
}
.prose img { border-radius: var(--radius-sm); }
.prose figure { margin: 2.2em 0; }
.prose figcaption { text-align: center; font-size: .8rem; color: var(--ink-faint); margin-top: 10px; }
.prose code { background: var(--surface-sink); padding: 1px 6px; border-radius: 5px; font-size: .9em; }
.prose pre.code { background: #1f2a2d; color: #e6eef0; padding: 16px 18px; border-radius: 10px; overflow-x: auto; }
.prose pre.code code { background: none; color: inherit; padding: 0; }
.art-tags { display: flex; gap: 10px; flex-wrap: wrap; margin: 44px 0 0; }
.art-tags a { font-size: .82rem; color: var(--ink-soft); background: var(--surface-sink); border: 1px solid var(--line); border-radius: 999px; padding: 7px 15px; transition: all .2s; }
.art-tags a:hover { color: var(--water-deep); border-color: var(--water); }

/* リアクション大 */
.react-cta { text-align: center; margin: 56px auto 10px; }
.react-cta .q { font-size: .95rem; color: var(--ink-soft); margin-bottom: 20px; }
.react-cta .btns { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.rbtn { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 34px; border-radius: var(--radius); border: 1px solid var(--line-strong); background: var(--surface); cursor: pointer; transition: all .2s; min-width: 140px; font-family: var(--font-sans); }
.rbtn .ic { width: 30px; height: 30px; }
.rbtn .cnt { font-size: 1.4rem; font-weight: 700; font-variant-numeric: tabular-nums; font-family: var(--font-latin); }
.rbtn .cap { font-size: .78rem; color: var(--ink-soft); font-weight: 600; }
.rbtn.help .ic { color: var(--water); }
.rbtn.help:hover, .rbtn.help.is-on { border-color: var(--water); color: var(--water-deep); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.rbtn.help.is-on { background: var(--water-soft); }
.rbtn.like .ic { color: var(--heart); }
.rbtn.like:hover, .rbtn.like.is-on { border-color: var(--heart); color: var(--heart); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.rbtn.like.is-on { background: color-mix(in srgb, var(--heart) 12%, var(--surface)); }
.rbtn[disabled] { opacity: .6; cursor: default; }
.share-row { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 34px 0 0; }
.share-row .lbl { font-size: .78rem; color: var(--ink-faint); }
.share-row a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--ink-soft); transition: all .2s; }
.share-row a:hover { color: var(--water); border-color: var(--water); transform: translateY(-2px); }
.share-row svg { width: 17px; height: 17px; }
.author { display: flex; gap: 20px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin: 56px auto 0; max-width: 860px; box-shadow: var(--shadow-sm); }
.author .ava { width: 66px; height: 66px; border-radius: 50%; flex: none; background: linear-gradient(145deg,#7CC4D4,#3E93A8); }
.author .nm { font-weight: 700; font-size: 1.02rem; margin-bottom: 4px; }
.author .ro { font-size: .76rem; color: var(--water-deep); letter-spacing: .04em; margin-bottom: 10px; }
.author .bio { font-size: .86rem; color: var(--ink-soft); margin: 0 0 14px; }
.author .sns { display: flex; gap: 10px; }
.author .sns a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--ink-soft); transition: all .2s; }
.author .sns a:hover { color: var(--water); border-color: var(--water); }
.author .sns svg { width: 15px; height: 15px; }
.article-detail { padding-bottom: 88px; }
.related { border-top: 1px solid var(--line); margin-top: 64px; padding-top: 56px; }

/* ---------- Archive / list ---------- */
.page-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--water-soft), transparent 90%); }
.page-hero-in { padding-top: 52px; padding-bottom: 40px; }
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin: 6px 0 12px; }
.page-hero p { color: var(--ink-soft); font-size: .96rem; margin: 0; max-width: 40em; }
.toolbar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 30px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.sort { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--ink-faint); }
.sort a { font-size: .82rem; color: var(--ink-soft); padding: 4px 6px; border-radius: 6px; }
.sort a.on { color: var(--water-deep); font-weight: 700; }
.sort a:hover { color: var(--ink); }
.sort .bar { width: 1px; height: 14px; background: var(--line-strong); }
.list { display: flex; flex-direction: column; }
.row { display: grid; grid-template-columns: 210px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: center; }
.row:first-child { padding-top: 0; }
.row .ph { aspect-ratio: 16/10; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); position: relative; display:block; }
.row .ph span { position: absolute; top:0; right:0; bottom:0; left:0; transition: transform .5s ease; }
.row:hover .ph span { transform: scale(1.05); }
.row .cat { display:inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .1em; color: var(--water-deep); margin-bottom: 8px; }
.row h3 { font-size: 1.16rem; line-height: 1.6; margin: 0 0 9px; transition: color .2s; }
.row:hover h3 { color: var(--water-deep); }
.row .ex { font-size: .85rem; color: var(--ink-soft); margin: 0 0 12px; line-height: 1.75; }
.pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 40px; }
.pager a, .pager span { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line-strong); font-family: var(--font-latin); font-size: .88rem; color: var(--ink-soft); transition: all .2s; font-variant-numeric: tabular-nums; }
.pager a:hover { border-color: var(--water); color: var(--water-deep); }
.pager .cur { background: var(--water); border-color: var(--water); color: #fff; }
@media (prefers-color-scheme: dark){ .pager .cur{ color:#0d1517; } }
.pager .dots { border: none; }
.empty-note { text-align: center; color: var(--ink-faint); padding: 60px 0; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .nav, .head-social { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .hero-in { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; padding-bottom: 56px; }
  .feature { max-width: 460px; }
  .layout { grid-template-columns: 1fr; gap: 48px; }
  .band-in { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; gap: 30px; }
  .art-shell { grid-template-columns: 1fr; }
  .share-rail { position: static; flex-direction: row; justify-content: center; margin-bottom: 8px; }
  .share-rail .lbl { display: none; }
  .cards.c3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .cards, .cards.c3 { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr; }
  .band-in { padding: 34px 26px; }
  .band input { width: 100%; }
  .band .field { flex-direction: column; }
  .row { grid-template-columns: 1fr; gap: 14px; }
  .author { flex-direction: column; }
  .article-detail { padding-bottom: 60px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ============ 追加機能（2026-07-06）============ */
/* カバー画像（cover_image 設定時） */
.card .ph.has-img img,
.row .ph.has-img img { position: absolute; top:0; right:0; bottom:0; left:0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .ph.has-img img,
.row:hover .ph.has-img img { transform: scale(1.04); }
.feature .ph.has-img { overflow: hidden; }
.feature .ph.has-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* プレビューバー（下書き/予約の限定公開） */
.preview-bar { background: #9A6B3F; color: #fff; text-align: center; font-size: .86rem; padding: 10px 16px; letter-spacing: .02em; }
.preview-bar .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #fff; margin-right: 8px; vertical-align: middle; animation: hwn-blink 1.4s infinite; }
.preview-bar strong { font-weight: 700; }
@keyframes hwn-blink { 0%,100%{opacity:.4} 50%{opacity:1} }

/* フォーム結果メッセージ */
.form-note { border-radius: 10px; font-size: .9rem; }
.form-note.ok { color: var(--water-deep, #276173); }
.form-note.ng { color: #C4553F; }
.band .form-note { flex-basis: 100%; margin: 4px 0 0; color: #fff; }

/* ハニーポット（bot対策・非表示） */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ============ サイトマップ（ユーザー向け） ============ */
.sitemap-cols { display: flex; flex-wrap: wrap; gap: 10px 40px; }
.sitemap-list { list-style: none; margin: 0; padding: 0; column-gap: 40px; }
.sitemap-list li { padding: 6px 0; border-bottom: 1px dashed var(--line); }
.sitemap-list a { color: var(--ink-soft); font-size: .92rem; transition: color .2s; }
.sitemap-list a:hover { color: var(--water-deep); }
.sitemap-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 40px; }
.sitemap-cat h3 { font-size: 1.02rem; margin: 0 0 10px; padding-bottom: 8px; border-bottom: 2px solid var(--water-line); display: flex; align-items: baseline; gap: 8px; }
.sitemap-cat h3 a { color: var(--ink); }
.sitemap-cat h3 .c { font-family: var(--font-latin); font-size: .72rem; color: var(--ink-faint); }
@media (max-width: 900px) { .sitemap-cats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sitemap-cats { grid-template-columns: 1fr; } }
