/**
 * 松岡つとむ ／ assets/css/style.css
 * 更新日   2026-08-01（共通エンジン v1.3 対応）
 * 役割     このサイトのスタイル。サイトごとに内容が異なる。
 */

@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho+B1:wght@400;500;600;800&family=Zen+Kaku+Gothic+New:wght@400;500;700;900&family=JetBrains+Mono:wght@400;500&display=swap');

/* ==========================================================
   デザイントークン
   ========================================================== */
:root {
    /* Color */
    --kinari:      #F5F0E6; /* 生成り：紙の色 */
    --kinari-deep: #EDE5D3; /* 生成り、やや濃い（区切り・カード背景） */
    --sumi:        #20242B; /* 墨：本文・見出し */
    --sumi-soft:   rgba(32, 36, 43, 0.64);
    --sumi-faint:  rgba(32, 36, 43, 0.14);
    --ai:          #22375A; /* 藍：伝統・信頼（ヘッダー、濃色セクション） */
    --ai-light:    #3C5680;
    --tsuyu:       #2F8B86; /* 露草／テック：最新技術のアクセント */
    --tsuyu-light: #6BB3AE;
    --shu:         #A8422B; /* 朱：印（5つの約束の押印、CTA） */
    --white:       #FFFDF9;

    /* Type */
    --font-display: "Shippori Mincho B1", serif;
    --font-body: "Zen Kaku Gothic New", sans-serif;
    --font-mono: "JetBrains Mono", monospace;

    /* Layout */
    --content-w: 1120px;
    --section-pad: clamp(64px, 10vw, 140px);
    --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
    margin: 0;
    background: var(--kinari);
    color: var(--sumi);
    font-family: var(--font-body);
    line-height: 1.9;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--tsuyu);
    outline-offset: 3px;
}

.wrap {
    max-width: var(--content-w);
    margin: 0 auto;
    padding: 0 24px;
}

.eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.22em;
    color: var(--tsuyu);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.eyebrow::before {
    content: "";
    width: 26px;
    height: 1px;
    background: var(--tsuyu);
    display: inline-block;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(26px, 3.4vw, 40px);
    line-height: 1.5;
    letter-spacing: 0.02em;
    margin: 18px 0 0;
}

.section {
    padding: var(--section-pad) 0;
}

/* ==========================================================
   ヘッダー
   ========================================================== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 20px 0;
    transition: background-color .35s ease, box-shadow .35s ease, padding .35s ease;
}
.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.site-header.is-scrolled {
    background: rgba(245, 240, 230, 0.92);
    backdrop-filter: blur(6px);
    box-shadow: 0 1px 0 var(--sumi-faint);
    padding: 12px 0;
}
.brand {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 19px;
    color: var(--white);
    letter-spacing: 0.08em;
    transition: color .35s ease;
}
.site-header.is-scrolled .brand { color: var(--ai); }

.nav {
    display: flex;
    gap: 34px;
    font-size: 14px;
    letter-spacing: 0.05em;
}
.nav a {
    color: var(--white);
    position: relative;
    padding-bottom: 4px;
    transition: color .35s ease;
}
.site-header.is-scrolled .nav a { color: var(--sumi); }
.nav a::after {
    content: "";
    position: absolute;
    left: 0; right: 100%;
    bottom: 0;
    height: 1px;
    background: currentColor;
    transition: right .3s ease;
}
.nav a:hover::after { right: 0; }

.nav-toggle { display: none; }

@media (max-width: 760px) {
    .nav {
        position: fixed;
        top: 0; right: 0; bottom: 0;
        width: min(78vw, 320px);
        background: var(--ai);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        padding: 0 40px;
        transform: translateX(100%);
        transition: transform .4s ease;
    }
    .nav.is-open { transform: translateX(0); }
    .nav a { color: var(--white) !important; font-size: 17px; }

    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 32px; height: 28px;
        background: none; border: none;
        position: relative; z-index: 110;
        cursor: pointer;
    }
    .nav-toggle span {
        display: block;
        width: 100%; height: 2px;
        background: var(--white);
        transition: transform .3s ease, opacity .3s ease, background-color .3s ease;
    }
    .site-header.is-scrolled .nav-toggle span { background: var(--sumi); }
    .nav-toggle.is-active span { background: var(--white) !important; }
    .nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.is-active span:nth-child(2) { opacity: 0; }
    .nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ==========================================================
   ヒーロー
   ========================================================== */
.hero {
    position: relative;
    height: 100svh;
    min-height: 560px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--sumi);
}
.hero-img {
    position: absolute;
    inset: 0;
    width: 100%; height: 170%;
    object-fit: cover;
    object-position: 68% 30%;
    transform: scale(1.06);
    animation: hero-in 1.6s ease-out forwards;
}
@keyframes hero-in {
    from { transform: scale(1.12); opacity: 0; }
    to { transform: scale(1.06); opacity: 1; }
}
.hero::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(20,22,26,0.15) 0%, rgba(20,22,26,0.10) 40%, rgba(20,22,26,0.86) 100%);
}
.hero-tategaki {
    position: absolute;
    top: 14%;
    right: clamp(20px, 5vw, 64px);
    writing-mode: vertical-rl;
    font-family: var(--font-display);
    font-size: clamp(22px, 3.4vw, 38px);
    letter-spacing: 0.5em;
    color: var(--white);
    z-index: 2;
    opacity: 0;
    animation: fade-up 1s ease-out .5s forwards;
}
.hero-body {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-bottom: clamp(40px, 6vw, 76px);
    opacity: 0;
    animation: fade-up 1s ease-out .3s forwards;
}
@keyframes fade-up {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-tag {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.24em;
    color: var(--tsuyu-light);
    display: inline-block;
    margin-bottom: 18px;
    border: 1px solid rgba(107,179,174,0.5);
    padding: 6px 14px;
}
.hero-catch {
    font-family: var(--font-display);
    color: var(--white);
    font-size: clamp(28px, 5vw, 52px);
    line-height: 1.55;
    font-weight: 600;
    max-width: 14ch;
}
.hero-sub {
    color: rgba(255,253,249,0.78);
    margin-top: 20px;
    font-size: 15px;
    max-width: 46ch;
}
.hero-scroll {
    position: absolute;
    left: 24px; bottom: 28px;
    z-index: 2;
    display: flex; align-items: center; gap: 10px;
    color: rgba(255,253,249,0.7);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.15em;
}
.hero-scroll .line { width: 1px; height: 34px; background: currentColor; overflow: hidden; position: relative; }
.hero-scroll .line::after {
    content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%;
    background: var(--tsuyu-light);
    animation: scroll-line 1.8s ease-in-out infinite;
}
@keyframes scroll-line { to { top: 100%; } }

/* ==========================================================
   リード（導入）
   ========================================================== */
.lead {
    background: var(--kinari);
    text-align: center;
}
.lead .wrap { max-width: 780px; }
.lead p {
    font-family: var(--font-display);
    font-size: clamp(18px, 2.3vw, 23px);
    line-height: 2.1;
    color: var(--sumi);
}

/* ==========================================================
   プロフィール
   ========================================================== */
.profile { background: var(--kinari-deep); }
.profile .wrap {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: clamp(40px, 6vw, 90px);
    align-items: start;
}
.profile-photo {
    position: relative;
    width: 260px; height: 260px;
    border-radius: 50%;
    overflow: hidden;
    justify-self: center;
    border: 1px solid var(--sumi-faint);
    isolation: isolate;
}
.profile-photo::after {
    content: "";
    position: absolute; inset: 10px;
    border: 1px solid rgba(255,253,249,0.55);
    border-radius: 50%;
    pointer-events: none;
}
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-name {
    text-align: center;
    margin-top: 22px;
    font-family: var(--font-display);
}
.profile-name strong { display: block; font-size: 20px; letter-spacing: 0.06em; }
.profile-name span { display: block; font-size: 12px; color: var(--sumi-soft); margin-top: 6px; font-family: var(--font-mono); letter-spacing: 0.1em; }

.profile-text .section-title { margin-top: 10px; }
.profile-meta {
    display: flex; flex-wrap: wrap; gap: 10px 26px;
    margin: 26px 0 28px;
    padding: 20px 0;
    border-top: 1px solid var(--sumi-faint);
    border-bottom: 1px solid var(--sumi-faint);
    font-size: 14px;
}
.profile-meta dt { font-family: var(--font-mono); font-size: 11px; color: var(--tsuyu); letter-spacing: 0.1em; }
.profile-meta dd { margin: 2px 0 0; }
.profile-meta > div { min-width: 140px; }

.profile-text p { margin: 0 0 1.4em; color: var(--sumi); }
.profile-text p:last-child { margin-bottom: 0; }

/* ==========================================================
   5つの約束（印＝ハンコ・モチーフ）
   ========================================================== */
.pledges { background: var(--kinari); }
.pledges-head { text-align: center; margin-bottom: 56px; }
.pledges-head .section-title { margin-top: 14px; }
.pledges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2px;
    background: var(--sumi-faint);
    border: 1px solid var(--sumi-faint);
}
.pledge-card {
    background: var(--kinari);
    padding: 40px 32px;
    position: relative;
    transition: background-color .3s ease;
}
.pledge-card:hover { background: var(--white); }
.pledge-seal {
    width: 52px; height: 52px;
    border: 2px solid var(--shu);
    color: var(--shu);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    transform: rotate(-3deg);
    margin-bottom: 22px;
    position: relative;
}
.pledge-card:nth-child(even) .pledge-seal { transform: rotate(2deg); }
.pledge-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 12px;
    line-height: 1.6;
}
.pledge-body { font-size: 14px; color: var(--sumi-soft); line-height: 1.85; margin: 0; }

/* ==========================================================
   想い（エッセイ）
   ========================================================== */
.essay { background: var(--ai); color: var(--white); }
.essay .wrap { max-width: 820px; }
.essay-head { margin-bottom: 50px; }
.essay .eyebrow { color: var(--tsuyu-light); }
.essay .eyebrow::before { background: var(--tsuyu-light); }
.essay .section-title { color: var(--white); }
.essay-body p {
    font-size: 16px;
    line-height: 2.15;
    color: rgba(255,253,249,0.88);
    margin: 0 0 1.6em;
}
.essay-body p:first-of-type::first-letter {
    font-family: var(--font-display);
    font-size: 3.6em;
    float: left;
    line-height: 0.85;
    padding: 0.05em 0.12em 0 0;
    color: var(--tsuyu-light);
}
.essay-body p:last-child { margin-bottom: 0; }

/* ==========================================================
   活動報告（最新）
   ========================================================== */
.reports { background: var(--kinari); }
.reports-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    margin-bottom: 46px; flex-wrap: wrap; gap: 20px;
}
.reports-more {
    font-size: 13px;
    font-family: var(--font-mono);
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--sumi);
    padding-bottom: 3px;
    white-space: nowrap;
}
.reports-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px;
}
.report-card { display: block; }
.report-thumb {
    aspect-ratio: 4/3;
    background: var(--kinari-deep);
    overflow: hidden;
    margin-bottom: 18px;
    position: relative;
}
.report-thumb img { width: 100%; height: 100%; object-fit: contain; transition: opacity .25s ease; }
.report-card:hover .report-thumb img { opacity: .92; }
.report-thumb .no-image {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    color: var(--sumi-faint);
    font-size: 13px;
}
.report-cat {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--tsuyu);
}
.report-date {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--sumi-soft);
    margin-left: 10px;
}
.report-title {
    font-family: var(--font-display);
    font-size: 17px;
    line-height: 1.7;
    margin: 10px 0 0;
}

/* ==========================================================
   連絡・フッター
   ========================================================== */
.contact { background: var(--kinari-deep); text-align: center; }
.contact .section-title { margin-bottom: 20px; }
.contact p { color: var(--sumi-soft); max-width: 46ch; margin: 0 auto 34px; }
.contact-list {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 14px 18px; margin-bottom: 40px;
}
.contact-item {
    display: flex; align-items: center; gap: 10px;
    font-size: 14px; padding: 12px 20px;
    border: 1px solid var(--sumi-faint);
    background: var(--kinari);
}
.contact-item .k { font-family: var(--font-mono); font-size: 11px; color: var(--tsuyu); }
.sns-row { display: flex; justify-content: center; gap: 16px; }
.sns-row a {
    width: 44px; height: 44px;
    border: 1px solid var(--sumi);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px;
    transition: background-color .25s ease, color .25s ease;
}
.sns-row a:hover { background: var(--sumi); color: var(--white); }

.site-footer {
    background: var(--sumi);
    color: rgba(255,253,249,0.6);
    padding: 30px 0;
    font-size: 12px;
    text-align: center;
    letter-spacing: 0.04em;
}
.site-footer a { text-decoration: underline; }

/* ==========================================================
   汎用：内側ページ用ヘッダー余白
   ========================================================== */
.page-hero {
    background: var(--ai);
    color: var(--white);
    padding: clamp(140px, 22vw, 200px) 0 clamp(50px, 8vw, 80px);
    text-align: center;
}
.page-hero .eyebrow { color: var(--tsuyu-light); justify-content: center; }
.page-hero .eyebrow::before { background: var(--tsuyu-light); }
.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 42px);
    margin: 16px 0 0;
}

@media (max-width: 760px) {
    .reports-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .profile .wrap { grid-template-columns: 1fr; }
    .profile-photo { width: 200px; height: 200px; }
    .essay-body p:first-of-type::first-letter { font-size: 2.8em; }
}
/* ============================================================
   ここから下を、既存の assets/css/style.css の末尾に貼り付けてください。
   共通エンジン対応で新しく増えた要素のスタイルです。
   （貼り付けたら、このファイルは削除して構いません）
   ============================================================ */

/* ==========================================================
   活動報告一覧：カテゴリ絞り込み
   ========================================================== */
.cat-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 46px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--sumi-faint);
}
.cat-btn {
    display: inline-flex;
    align-items: center;
    padding: 11px 22px;
    /* body の背景が --kinari なので、地は --white にして枠線もはっきり出す */
    border: 1px solid var(--sumi-soft);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--sumi);
    font-size: 13px;
    line-height: 1.5;
    letter-spacing: 0.06em;
    white-space: nowrap;
    transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.cat-btn:hover {
    border-color: var(--ai);
    color: var(--ai);
    background: var(--white);
}
.cat-btn.is-active {
    background: var(--ai);
    border-color: var(--ai);
    color: var(--white);
}
.cat-btn.is-active:hover {
    background: var(--ai);
    color: var(--white);
}

.reports-empty { color: var(--sumi-soft); }

@media (max-width: 600px) {
    .reports-grid { grid-template-columns: 1fr; }
    .cat-filter { gap: 8px; margin-bottom: 34px; padding-bottom: 22px; }
    .cat-btn { padding: 9px 17px; font-size: 12.5px; }
}

/* ==========================================================
   活動報告：詳細ページ
   ========================================================== */
.report-detail .wrap { max-width: 760px; }
.report-detail-image { margin: 0 0 34px; }
.report-detail-image img { width: 100%; border-radius: var(--radius); }

.report-detail-body {
    margin-top: 30px;
    font-size: 16px;
    line-height: 2.1;
    color: var(--sumi);
}
.report-detail-body a {
    color: var(--tsuyu);
    border-bottom: 1px solid var(--tsuyu);
}

/* ---- 本文下に並べる画像 ---- */
.report-gallery {
    margin-top: 40px;
    display: grid;
    gap: 20px;
}
.report-gallery img {
    width: 100%;
    border-radius: var(--radius);
}

/* ---- 関連リンク ---- */
.report-links {
    margin-top: 52px;
    border-top: 1px solid var(--sumi-faint);
    padding-top: 26px;
}
.report-links-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--tsuyu);
    margin-bottom: 8px;
}
.report-links ul { list-style: none; margin: 0; padding: 0; }
.report-links li { border-bottom: 1px solid var(--sumi-faint); }
.report-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 2px;
    font-size: 15px;
    transition: padding-left .3s ease, color .3s ease;
}
.report-links a:hover {
    padding-left: 8px;
    color: var(--ai);
}
.report-links .arrow {
    font-family: var(--font-mono);
    color: var(--shu);
}

/* ---- 一覧へ戻る ---- */
.report-back { margin-top: 56px; }
.report-back a {
    font-size: 13px;
    font-family: var(--font-mono);
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--sumi);
    padding-bottom: 3px;
}

/* ==========================================================
   活動報告 詳細：濃色帯（一覧ページと同じ page-hero を使う）
   ========================================================== */
.page-hero-date {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--tsuyu-light);
    margin: 18px 0 0;
}
.page-hero .report-back a {
    color: var(--white);
    border-bottom-color: var(--white);
}

/* ==========================================================
   フッターのSNSアイコン
   ========================================================== */
.sr-only {
    position: absolute; width: 1px; height: 1px;
    margin: -1px; padding: 0; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap;
}
.footer-sns {
    display: flex; justify-content: center; flex-wrap: wrap;
    gap: 12px; list-style: none; margin: 0 0 22px; padding: 0;
}
.footer-sns a {
    width: 42px; height: 42px;
    display: grid; place-items: center;
    border: 1px solid rgba(255, 253, 249, 0.3);
    border-radius: 50%;
    color: rgba(255, 253, 249, 0.8);
    text-decoration: none;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.footer-sns a:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--sumi);
}
.footer-copy { margin: 0; }

/* ==========================================================
   活動報告：本文中の挿入画像
   ========================================================== */
.report-inline-image {
    margin: 38px 0;
}
.report-inline-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
}

/* ==========================================================
   活動報告一覧：ページャー
   ========================================================== */
.pagination {
    margin-top: 58px;
    padding-top: 28px;
    border-top: 1px solid var(--sumi-faint);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}
.pagination-pages {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}
.pagination-page,
.pagination-nav {
    min-width: 42px;
    min-height: 42px;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--sumi-faint);
    background: var(--white);
    font-family: var(--font-mono);
    font-size: 12px;
    line-height: 1;
    transition: border-color .25s ease, color .25s ease, background-color .25s ease;
}
.pagination-page:hover,
.pagination-nav:hover {
    border-color: var(--ai);
    color: var(--ai);
}
.pagination-page.is-current {
    background: var(--ai);
    border-color: var(--ai);
    color: var(--white);
}
.pagination-nav {
    min-width: 84px;
}
.pagination-nav.is-disabled {
    opacity: .35;
    pointer-events: none;
}
.pagination-ellipsis {
    padding: 0 4px;
    color: var(--sumi-soft);
}

@media (max-width: 600px) {
    .report-inline-image { margin: 28px 0; }
    .pagination { gap: 12px; margin-top: 44px; }
    .pagination-page,
    .pagination-nav {
        min-width: 38px;
        min-height: 38px;
        padding: 7px 10px;
    }
    .pagination-nav { min-width: 76px; }
}


/* ==========================================================
   右下：ページ上部へ戻るボタン
   ========================================================== */
.to-top-button {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 90;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 50%;
    background: rgba(34,55,90,.92);
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(32,36,43,.18);
    opacity: .92;
    visibility: visible;
    text-decoration: none;
    transition: opacity .25s ease, background-color .25s ease, transform .25s ease;
}
.to-top-button:hover { background: var(--tsuyu); opacity: 1; transform: translateY(-2px); }
@media (max-width: 600px) {
    .to-top-button { right: 14px; bottom: 14px; width: 44px; height: 44px; }
}

/* ============================================================
   スマホ：ヒーロー人物画像を中央表示
   ============================================================ */
@media (max-width: 600px) {
    .hero-img {
        object-position: center center;
    }
}

/* ============================================================
   ヒーロー・ヘッダー文字色調整
   ============================================================ */
.hero-tategaki {
    color: #20242b;
}

.hero-tag {
    color: #20242b;
    border: 1px solid rgba(32, 36, 43, 0.5);
}

.brand {
    color: #20242b;
}

.nav a {
    color: #20242b;
}

/* スマホのメニュー内は濃色背景なので白文字を維持 */
@media (max-width: 760px) {
    .nav a {
        color: var(--white);
    }
}

/* ============================================================
   ヘッダー文字色
   トップページ：常に濃色
   news-list.php / news.php：最上部は白、スクロール後は濃色
   ============================================================ */

/* トップページ */
.brand,
.nav a {
    color: #20242b;
}

/* 活動報告一覧・記事詳細などの下層ページ：最上部は白 */
body:has(.page-hero) .brand,
body:has(.page-hero) .nav a {
    color: var(--white);
}

/* スクロール後はトップ・下層ページとも濃色 */
.site-header.is-scrolled .brand,
.site-header.is-scrolled .nav a,
body:has(.page-hero) .site-header.is-scrolled .brand,
body:has(.page-hero) .site-header.is-scrolled .nav a {
    color: #20242b;
}

/* スマホの開閉メニュー内は濃色背景なので白文字を維持 */
@media (max-width: 760px) {
    .nav a,
    .site-header.is-scrolled .nav a,
    body:has(.page-hero) .nav a,
    body:has(.page-hero) .site-header.is-scrolled .nav a {
        color: var(--white);
    }
}
