/*
Theme Name: SA Editorial
Theme URI: https://study-athlete.net/
Author: STUDY ATHLETE / 株式会社Space21
Author URI: https://study-athlete.net/
Description: STUDY ATHLETE JOURNAL用のV3 Editorialデザインテーマ。曜日カラーは投稿日から自動判定、意味ベースのカテゴリと共存。
Version: 1.0.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sa-editorial
Tags: editorial, blog, custom-colors, custom-menu, featured-images, full-width-template, threaded-comments, translation-ready
*/

/* ============================================
   STUDY ATHLETE JOURNAL — Shared Stylesheet
   V3 Editorial Design Language
   曜日カラー自動切替対応
   ============================================ */
:root {
  --bg:      #F6F1E5;
  --paper:   #FBF8EF;
  --ink:     #14120F;
  --ink-2:   #2A251F;
  --muted:   #7A7266;
  --line:    rgba(20,18,15,0.14);
  --accent:  #D4A645;

  --line-green:      #06C755;
  --line-green-deep: #04A546;

  --f-serif:   "Shippori Mincho B1", serif;
  --f-body:    "Zen Kaku Gothic New", sans-serif;
  --f-display: "Oswald", sans-serif;

  --day-primary: #2D5F3E;
  --day-deep:    #1F4530;
}

body[data-day="mon"] { --day-primary: #2D5F3E; --day-deep: #1F4530; }
body[data-day="tue"] { --day-primary: #B14328; --day-deep: #7A2A17; }
body[data-day="wed"] { --day-primary: #8B6914; --day-deep: #5E4808; }
body[data-day="thu"] { --day-primary: #1E4E6E; --day-deep: #0E2E43; }
body[data-day="fri"] { --day-primary: #5B3D7A; --day-deep: #3E2858; }
body[data-day="sat"] { --day-primary: #9A3028; --day-deep: #5F1A14; }
body[data-day="sun"] { --day-primary: #2A251F; --day-deep: #14120F; }

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--f-body); line-height: 1.95; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; position: relative; }

/* ===== HEADER ===== */
.hd { position: fixed; top: 0; left: 0; right: 0; background: rgba(246, 241, 229, 0.92); backdrop-filter: blur(20px); z-index: 100; border-bottom: 1px solid var(--line); transition: transform .4s ease; }
.hd.hidden { transform: translateY(-100%); }
.hd-in { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 16px 0; }
.hd-l { display: flex; gap: 12px; align-items: center; }
.hd-mark { font-family: var(--f-display); font-weight: 700; font-size: 14px; letter-spacing: 0.14em; color: var(--day-primary); transition: color .3s; }
.hd-title { font-family: var(--f-serif); font-weight: 700; font-size: 14px; letter-spacing: 0.02em; padding-left: 14px; border-left: 1px solid var(--line); line-height: 1.3; }
.hd-title small { display: block; font-family: var(--f-body); font-size: 10px; color: var(--muted); letter-spacing: 0.2em; }
.hd-c { text-align: center; font-family: var(--f-display); font-size: 11px; letter-spacing: 0.28em; color: var(--muted); }
@media (max-width: 800px) { .hd-c { display: none; } }
.hd-cta { background: var(--ink); color: var(--paper); padding: 10px 18px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; border: 1px solid var(--ink); transition: background .2s, color .2s; }
.hd-cta:hover { background: transparent; color: var(--ink); }

/* ===== ARTICLE HERO ===== */
.article-hero { padding: 140px 0 80px; position: relative; overflow: hidden; }
.article-hero-bg { position: absolute; top: 0; right: -5%; width: 50%; height: 100%; background: linear-gradient(135deg, var(--day-deep) 0%, var(--day-primary) 70%, var(--day-deep) 100%); clip-path: polygon(18% 0, 100% 0, 100% 100%, 0% 100%); z-index: 0; opacity: 0.92; }
.article-hero-bg::after { content: attr(data-label); position: absolute; bottom: 6%; left: 24%; font-family: var(--f-display); font-size: clamp(60px, 9vw, 160px); font-weight: 700; color: rgba(212,166,69,0.25); line-height: 0.95; letter-spacing: 0.02em; white-space: pre; }
@media (max-width: 900px) { .article-hero-bg { width: 100%; opacity: 0.12; clip-path: none; } }

.breadcrumb { font-family: var(--f-display); font-size: 11px; letter-spacing: 0.22em; color: var(--muted); margin-bottom: 48px; position: relative; z-index: 2; }
.breadcrumb a:hover { color: var(--day-primary); }
.breadcrumb .sep { margin: 0 10px; opacity: 0.4; }
.breadcrumb .now { color: var(--ink); }

.article-hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: center; position: relative; z-index: 2; }
@media (max-width: 900px) { .article-hero-grid { grid-template-columns: 1fr; } }

.day-badge { font-family: var(--f-display); font-size: 11px; letter-spacing: 0.3em; color: var(--day-primary); display: inline-flex; align-items: center; gap: 14px; margin-bottom: 28px; padding-bottom: 12px; border-bottom: 1px solid var(--line); transition: color .3s, border-color .3s; }
.day-badge::before { content: ""; width: 24px; height: 1px; background: var(--day-primary); transition: background .3s; }
.day-badge b { font-weight: 700; color: var(--ink); font-family: var(--f-serif); letter-spacing: 0.05em; }

.article-title { font-family: var(--f-serif); font-weight: 800; font-size: clamp(32px, 5.2vw, 64px); line-height: 1.22; letter-spacing: 0.005em; margin-bottom: 32px; text-wrap: pretty; }
.article-title em { font-style: normal; color: var(--day-primary); position: relative; transition: color .3s; }
.article-title em::after { content: ""; position: absolute; right: -0.2em; top: 0.1em; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }
.article-title .u { background: linear-gradient(to top, rgba(212,166,69,0.4) 42%, transparent 42%); padding: 0 3px; }

.article-meta { display: flex; gap: 32px; font-family: var(--f-display); font-size: 11px; letter-spacing: 0.22em; color: var(--muted); flex-wrap: wrap; }
.article-meta b { color: var(--ink); font-family: var(--f-serif); font-weight: 700; letter-spacing: 0.04em; display: block; margin-top: 4px; font-size: 13px; }

.article-cover { position: relative; aspect-ratio: 3/4; background: linear-gradient(180deg, transparent 40%, rgba(20,18,15,0.55) 100%), linear-gradient(135deg, var(--day-deep) 0%, var(--day-primary) 60%, #0f1a11 100%); overflow: hidden; z-index: 2; box-shadow: 0 24px 60px rgba(20,18,15,0.25); transition: background .4s; }
.article-cover::before { content: ""; position: absolute; inset: 24px; border: 1px solid rgba(212,166,69,0.4); pointer-events: none; }
.article-cover-crest { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -55%); text-align: center; width: 85%; }
.article-cover-crest .day-en { font-family: var(--f-display); font-weight: 700; font-size: clamp(44px, 5vw, 68px); line-height: 1; color: var(--accent); letter-spacing: 0.15em; display: block; margin-bottom: 18px; }
.article-cover-crest .cat { font-family: var(--f-serif); font-weight: 700; font-size: clamp(17px, 2vw, 22px); color: rgba(251,248,239,0.95); letter-spacing: 0.1em; display: block; margin-bottom: 12px; }
.article-cover-crest .kicker { font-family: var(--f-display); font-size: 11px; letter-spacing: 0.35em; color: rgba(251,248,239,0.7); font-weight: 400; }
.article-cover-footer { position: absolute; bottom: 28px; left: 28px; right: 28px; display: flex; justify-content: space-between; font-family: var(--f-display); font-size: 10px; letter-spacing: 0.25em; color: rgba(251,248,239,0.7); padding-top: 14px; border-top: 1px solid rgba(212,166,69,0.3); }
.article-cover-footer b { color: var(--accent); font-weight: 400; }

.article-layout { display: grid; grid-template-columns: 1fr 280px; gap: 72px; max-width: 1200px; margin: 0 auto; padding: 0 32px 120px; }
@media (max-width: 1000px) { .article-layout { grid-template-columns: 1fr; gap: 56px; } }

.article-body { max-width: 720px; font-family: var(--f-serif); }

.article-lead { font-family: var(--f-serif); font-size: 18px; line-height: 2.1; color: var(--ink-2); margin-bottom: 48px; padding: 32px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.article-lead::first-letter { font-family: var(--f-serif); font-weight: 800; font-size: 4em; float: left; line-height: 0.85; padding: 6px 12px 0 0; color: var(--day-primary); transition: color .3s; }

.toc { background: var(--paper); border: 1px solid var(--line); padding: 32px; margin: 48px 0 56px; position: relative; }
.toc-head { font-family: var(--f-display); font-size: 11px; letter-spacing: 0.3em; color: var(--day-primary); font-weight: 700; margin-bottom: 20px; display: flex; align-items: center; gap: 14px; transition: color .3s; }
.toc-head::before { content: ""; width: 24px; height: 1px; background: var(--day-primary); transition: background .3s; }
.toc ol { list-style: none; counter-reset: toc; padding: 0; margin: 0; }
.toc li { counter-increment: toc; padding: 10px 0; border-bottom: 1px dashed var(--line); font-family: var(--f-serif); font-size: 15px; display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: baseline; line-height: 1.8; }
.toc li:last-child { border-bottom: none; }
.toc li::before { content: counter(toc, decimal-leading-zero); font-family: var(--f-display); font-weight: 700; font-size: 14px; color: var(--day-primary); letter-spacing: 0.1em; transition: color .3s; position: static; }
.toc li a { grid-column: 2; }
.toc a:hover { color: var(--day-primary); border-bottom: 1px solid var(--day-primary); transition: color .2s; }

.article-body h2 { font-family: var(--f-serif); font-weight: 800; font-size: clamp(26px, 3.5vw, 36px); line-height: 1.4; letter-spacing: -0.01em; margin: 72px 0 24px; padding-top: 40px; position: relative; }
.article-body h2::before { content: attr(data-chapter); display: block; font-family: var(--f-display); font-size: 11px; letter-spacing: 0.3em; color: var(--day-primary); font-weight: 700; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); transition: color .3s; }
.article-body h3 { font-family: var(--f-serif); font-weight: 700; font-size: 20px; line-height: 1.6; margin: 40px 0 14px; padding-left: 16px; border-left: 3px solid var(--day-primary); transition: border-color .3s; }
.article-body p { font-family: var(--f-serif); font-size: 16px; line-height: 2.1; color: var(--ink-2); margin-bottom: 24px; }
.article-body strong { font-weight: 700; color: var(--ink); background: linear-gradient(to top, rgba(212,166,69,0.35) 42%, transparent 42%); padding: 0 3px; }
.article-body em { font-style: normal; color: var(--day-primary); transition: color .3s; }

.article-body > ul, .article-body > ol { margin: 0 0 28px 0; padding: 0; }
.article-body > ul > li, .article-body > ol > li { font-family: var(--f-serif); font-size: 16px; line-height: 2; color: var(--ink-2); padding: 10px 0 10px 32px; position: relative; border-bottom: 1px dashed var(--line); list-style: none; }
.article-body > ul > li::before { content: "—"; position: absolute; left: 0; color: var(--day-primary); font-family: var(--f-display); font-weight: 700; transition: color .3s; }
.article-body > ol { counter-reset: alist; }
.article-body > ol > li { counter-increment: alist; }
.article-body > ol > li::before { content: counter(alist, decimal-leading-zero); position: absolute; left: 0; color: var(--day-primary); font-family: var(--f-display); font-weight: 700; font-size: 14px; letter-spacing: 0.08em; transition: color .3s; }

/* 本文内で直接使われるol/ul（pull-quote等を除く）*/
.article-body .point-box ul li, .article-body .point-box ol li {
	font-family: var(--f-serif); font-size: 16px; line-height: 2; color: var(--ink-2);
	padding: 10px 0 10px 32px; position: relative; border-bottom: 1px dashed var(--line); list-style: none;
}
.article-body .point-box ul li::before { content: "—"; position: absolute; left: 0; color: var(--day-primary); font-family: var(--f-display); font-weight: 700; }
.article-body .point-box ul li:last-child, .article-body .point-box ol li:last-child { border-bottom: none; }

/* .toc配下のliは独自のスタイルが優先される（リセット）*/
.article-body .toc ol,
.article-body .toc ul {
	padding: 0;
	margin: 0;
}
.article-body .toc li {
	padding: 10px 0;
	list-style: none;
}
.article-body .toc li::before {
	content: counter(toc, decimal-leading-zero);
	position: static;
}

.pull-quote { margin: 56px 0; padding: 48px 40px; background: var(--ink); color: var(--paper); position: relative; }
.pull-quote::before { content: "\201C"; font-family: var(--f-serif); font-size: 80px; line-height: 0.5; color: var(--day-primary); position: absolute; top: 32px; left: 32px; opacity: 0.7; transition: color .3s; }
.pull-quote p { font-family: var(--f-serif); font-weight: 700; font-size: clamp(20px, 2.5vw, 26px); line-height: 1.7; color: var(--paper); margin: 20px 0 0; }
.pull-quote p .u { background: linear-gradient(to top, rgba(212,166,69,0.4) 45%, transparent 45%); padding: 0 3px; }
.pull-quote .cite { font-family: var(--f-display); font-size: 11px; letter-spacing: 0.3em; color: var(--accent); margin-top: 24px; display: block; }

.point-box { margin: 48px 0; padding: 32px; background: var(--paper); border-top: 2px solid var(--day-primary); border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: border-color .3s; }
.point-box-head { font-family: var(--f-display); font-size: 11px; letter-spacing: 0.3em; color: var(--day-primary); font-weight: 700; margin-bottom: 20px; display: flex; align-items: center; gap: 14px; transition: color .3s; }
.point-box-head::before { content: ""; width: 24px; height: 1px; background: var(--day-primary); transition: background .3s; }
.point-box h4 { font-family: var(--f-serif); font-weight: 700; font-size: 19px; margin-bottom: 14px; line-height: 1.5; }
.point-box ul { margin: 0; }
.point-box ul li { font-size: 15px; padding: 8px 0 8px 28px; border-bottom: 1px dashed var(--line); line-height: 1.9; }
.point-box ul li:last-child { border-bottom: none; }

.article-figure { margin: 56px 0; }
.article-figure .img { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--day-deep) 0%, var(--day-primary) 60%, var(--day-deep) 100%); position: relative; overflow: hidden; transition: background .4s; }
.article-figure .img::before { content: ""; position: absolute; inset: 20px; border: 1px solid rgba(212,166,69,0.3); }
.article-figure .img::after { content: attr(data-label); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--f-display); font-weight: 700; font-size: clamp(24px, 4vw, 40px); letter-spacing: 0.2em; color: rgba(212,166,69,0.6); text-align: center; }
.article-figure figcaption { margin-top: 16px; font-family: var(--f-display); font-size: 11px; letter-spacing: 0.25em; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; }
.article-figure figcaption b { font-family: var(--f-serif); font-weight: 700; color: var(--ink); letter-spacing: 0.04em; font-size: 13px; }

.inline-cta { margin: 64px 0; padding: 48px 36px; background: var(--ink); color: var(--paper); position: relative; overflow: hidden; text-align: center; }
.inline-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 50%, rgba(212,166,69,0.15), transparent 50%); }
.inline-cta-in { position: relative; z-index: 1; }
.inline-cta .kicker { font-family: var(--f-display); font-size: 11px; letter-spacing: 0.3em; color: var(--accent); margin-bottom: 16px; display: block; }
.inline-cta h3 { font-family: var(--f-serif); font-weight: 800; font-size: clamp(22px, 3vw, 28px); line-height: 1.5; color: var(--paper); margin-bottom: 14px; }
.inline-cta p { font-family: var(--f-serif); font-size: 14px; color: rgba(251,248,239,0.8); margin-bottom: 24px; line-height: 2; }
.inline-cta .btn-line { background: var(--line-green); color: white; padding: 16px 36px; font-size: 14px; font-weight: 700; letter-spacing: 0.08em; display: inline-flex; align-items: center; gap: 12px; transition: transform .2s, background .2s; border: none; }
.inline-cta .btn-line:hover { transform: translateY(-2px); background: var(--line-green-deep); }
.inline-cta .btn-line .ic { width: 22px; height: 22px; background: white; color: var(--line-green); display: inline-flex; align-items: center; justify-content: center; font-weight: 900; font-size: 13px; border-radius: 5px; }

.author-box { margin: 72px 0 48px; padding: 36px; background: var(--paper); border: 1px solid var(--line); display: grid; grid-template-columns: 100px 1fr; gap: 28px; align-items: start; }
@media (max-width: 600px) { .author-box { grid-template-columns: 1fr; gap: 16px; text-align: center; } }
.author-portrait { aspect-ratio: 1; background: linear-gradient(135deg, var(--day-deep) 0%, var(--day-primary) 100%); position: relative; transition: background .4s; }
.author-portrait::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(212,166,69,0.3); }
.author-portrait::after { content: "編"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--f-serif); font-weight: 800; font-size: 40px; color: rgba(212,166,69,0.6); }
.author-info .kicker { font-family: var(--f-display); font-size: 10px; letter-spacing: 0.3em; color: var(--day-primary); font-weight: 700; margin-bottom: 8px; transition: color .3s; }
.author-info .name { font-family: var(--f-serif); font-weight: 700; font-size: 18px; margin-bottom: 10px; }
.author-info .bio { font-family: var(--f-serif); font-size: 14px; color: var(--muted); line-height: 1.95; }

.article-footer-meta { margin: 48px 0 72px; padding-top: 32px; border-top: 1px solid var(--line); }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.tag { font-family: var(--f-display); font-size: 10px; letter-spacing: 0.2em; font-weight: 700; color: var(--day-primary); padding: 8px 14px; border: 1px solid var(--day-primary); transition: all .2s; }
.tag:hover { background: var(--day-primary); color: var(--paper); }
.tag::before { content: "#"; margin-right: 4px; opacity: 0.5; }
.share { display: flex; align-items: center; gap: 16px; font-family: var(--f-display); font-size: 10px; letter-spacing: 0.3em; color: var(--muted); }
.share-btns { display: flex; gap: 8px; }
.share-btn { width: 36px; height: 36px; border: 1px solid var(--line); background: var(--paper); display: flex; align-items: center; justify-content: center; color: var(--ink); transition: all .2s; }
.share-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.sidebar { position: relative; }
.sidebar-card { position: sticky; top: 100px; padding: 28px 24px; background: var(--paper); border: 1px solid var(--line); margin-bottom: 24px; }
.sidebar-head { font-family: var(--f-display); font-size: 11px; letter-spacing: 0.28em; color: var(--day-primary); font-weight: 700; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; transition: color .3s; }
.sidebar-head::before { content: ""; width: 20px; height: 1px; background: var(--day-primary); transition: background .3s; }
.sidebar ul { list-style: none; }
.sidebar ul li { padding: 14px 0; border-bottom: 1px dashed var(--line); font-family: var(--f-serif); }
.sidebar ul li:last-child { border-bottom: none; }
.sidebar ul li a { display: block; }
.sidebar ul li .day-mark { font-family: var(--f-display); font-size: 10px; letter-spacing: 0.2em; font-weight: 700; color: var(--muted); display: block; margin-bottom: 4px; }
.sidebar ul li .day-mark.mon { color: #2D5F3E; }
.sidebar ul li .day-mark.tue { color: #B14328; }
.sidebar ul li .day-mark.wed { color: #8B6914; }
.sidebar ul li .day-mark.thu { color: #1E4E6E; }
.sidebar ul li .day-mark.fri { color: #5B3D7A; }
.sidebar ul li .day-mark.sat { color: #9A3028; }
.sidebar ul li .day-mark.sun { color: #2A251F; }
.sidebar ul li h5 { font-family: var(--f-serif); font-weight: 700; font-size: 14px; line-height: 1.6; color: var(--ink); }
.sidebar ul li:hover h5 { color: var(--day-primary); transition: color .2s; }

.related { background: var(--paper); padding: 100px 0; border-top: 1px solid var(--line); }
.related-head { text-align: center; margin-bottom: 56px; }
.related-head .num { font-family: var(--f-display); font-size: 12px; letter-spacing: 0.4em; color: var(--day-primary); font-weight: 700; margin-bottom: 16px; display: block; transition: color .3s; }
.related-head h2 { font-family: var(--f-serif); font-weight: 800; font-size: clamp(26px, 3.5vw, 36px); line-height: 1.3; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (max-width: 900px) { .related-grid { grid-template-columns: 1fr; } }
.related-card { background: var(--paper); padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; transition: background .2s; }
.related-card:hover { background: var(--bg); }
.related-card .mark { font-family: var(--f-display); font-size: 10px; letter-spacing: 0.25em; font-weight: 700; }
.related-card .mark.mon { color: #2D5F3E; }
.related-card .mark.tue { color: #B14328; }
.related-card .mark.wed { color: #8B6914; }
.related-card .mark.thu { color: #1E4E6E; }
.related-card .mark.fri { color: #5B3D7A; }
.related-card .mark.sat { color: #9A3028; }
.related-card .mark.sun { color: #2A251F; }
.related-card h3 { font-family: var(--f-serif); font-weight: 700; font-size: 18px; line-height: 1.5; flex-grow: 1; }
.related-card .meta { font-family: var(--f-display); font-size: 10px; letter-spacing: 0.2em; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--line); }

.final { background: var(--ink); color: var(--paper); padding: 100px 0; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 30%, rgba(45,95,62,0.3), transparent 60%), radial-gradient(ellipse at 20% 80%, rgba(212,166,69,0.12), transparent 50%); }
.final-in { position: relative; z-index: 2; text-align: center; max-width: 680px; margin: 0 auto; }
.final .kicker { font-family: var(--f-display); font-size: 11px; letter-spacing: 0.3em; color: var(--accent); margin-bottom: 20px; }
.final h2 { font-family: var(--f-serif); font-weight: 800; font-size: clamp(26px, 4vw, 42px); line-height: 1.4; margin-bottom: 24px; letter-spacing: -0.01em; }
.final h2 em { font-style: normal; color: var(--accent); }
.final p { font-family: var(--f-serif); font-size: 16px; line-height: 2.1; color: rgba(251,248,239,0.85); margin-bottom: 40px; }
.btn-final { background: var(--line-green); color: white; padding: 20px 44px; font-size: 15px; font-weight: 700; letter-spacing: 0.08em; display: inline-flex; align-items: center; gap: 12px; transition: transform .2s, background .2s; }
.btn-final:hover { transform: translateY(-2px); background: var(--line-green-deep); }
.btn-final .ic { width: 26px; height: 26px; background: white; color: var(--line-green); display: inline-flex; align-items: center; justify-content: center; font-weight: 900; font-size: 14px; border-radius: 5px; }

footer.site-footer { background: var(--ink); color: rgba(251,248,239,0.55); padding: 48px 0 32px; border-top: 1px solid rgba(251,248,239,0.15); font-size: 12px; line-height: 2; text-align: center; }
footer.site-footer .brand { font-family: var(--f-display); font-weight: 700; font-size: 18px; letter-spacing: 0.15em; color: var(--accent); margin-bottom: 14px; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ===== WordPress標準クラス対応 ===== */
.wp-caption { margin: 56px 0; max-width: 100%; }
.wp-caption img { max-width: 100%; height: auto; display: block; }
.wp-caption-text { margin-top: 16px; font-family: var(--f-display); font-size: 11px; letter-spacing: 0.25em; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--line); }

.alignleft { float: left; margin-right: 24px; margin-bottom: 16px; }
.alignright { float: right; margin-left: 24px; margin-bottom: 16px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; margin-bottom: 24px; }
.alignwide { max-width: calc(100% + 100px); margin-left: -50px; margin-right: -50px; }
.alignfull { max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }

.wp-block-image img { max-width: 100%; height: auto; }
.wp-block-quote { margin: 56px 0; padding: 48px 40px; background: var(--ink); color: var(--paper); position: relative; font-family: var(--f-serif); font-weight: 700; font-size: clamp(20px, 2.5vw, 26px); line-height: 1.7; }
.wp-block-quote cite { font-family: var(--f-display); font-size: 11px; letter-spacing: 0.3em; color: var(--accent); margin-top: 24px; display: block; font-style: normal; }

/* スクリーンリーダー専用 */
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }

/* 投稿ナビゲーション */
.post-navigation { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 48px 0; padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 600px) { .post-navigation { grid-template-columns: 1fr; } }
.post-navigation a { font-family: var(--f-serif); font-size: 14px; line-height: 1.6; }
.post-navigation .nav-label { font-family: var(--f-display); font-size: 10px; letter-spacing: 0.25em; color: var(--day-primary); margin-bottom: 6px; display: block; }
.post-navigation .nav-next { text-align: right; }
