/* ==========================================================================
   【横須賀文學会 統合完全版CSS】
   ・記事幅：36文字（読みやすさ重視）
   ・文字：1.2rem / 太さ500（少し大きく、くっきり）
   ・スマホ：縦書きトップ、記事は画面幅合わせ
   ========================================================================= */

/* ==========================================================================
   【第0部】基本設定＆不要パーツの非表示
   ========================================================================= */
@import url('https://fonts.googleapis.com/css2?family=Zen+Old+Mincho:wght@400;500;600;700;900&display=swap');

:root { --c-ink: #006e78; --c-bg: #fcfbf6; --f-font: 'Zen Old Mincho', serif; }

body { margin: 0; padding: 0; background-color: var(--c-bg); color: var(--c-ink); font-family: var(--f-font) !important; -webkit-font-smoothing: antialiased; }

/* 不要パーツの排除 */
#globalheader-container, #blog-title, #footer-menu, .pager, .entry-list, #box2, 
.hatena-module-profile, .hatena-follow-button, .subscribe-button, 
#container-inner > header, #header-container, 
.hatena-sync-icon, .social-buttons,
.hatena-star-metadata, .pager-top {
    display: none !important;
}

#footer { background: transparent !important; text-align: center; padding: 50px 0; }

/* コメント欄救出のため、フッターを表示に戻す */
.entry-footer-section { display: block !important; margin-top: 0 !important; }
/* フッターの中にある「コメント欄(.comment-box)」以外のものをすべて消す */
.entry-footer-section > *:not(.comment-box) { display: none !important; }


/* ==========================================================================
   【第1部】Zen Canvas（フッタ制御・ルビ）
   ========================================================================= */
#zen-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 10001 !important; pointer-events: none; }
#zen-canvas .z-menu a, #zen-canvas .z-name a, #zen-canvas #mobile-cross-btn, #zen-canvas #mobile-overlay, #zen-canvas .mobile-nav a { pointer-events: auto !important; }
ruby { ruby-position: over; -webkit-ruby-position: over; ruby-align: center; }
rt { font-size: 0.49em; font-weight: 400; color: var(--c-ink); letter-spacing: -0.1em; line-height: 0.9; margin-right: 0.35em !important; }


/* ==========================================================================
   【第2部】ページ別表示制御
   ========================================================================= */
.page-index body { width: 100vw; height: 100vh; overflow: hidden; }
.page-index #main { display: none !important; }
.page-index .main-visual-area { display: flex !important; }

body:not(.page-index) { overflow-y: auto !important; height: auto !important; }
body:not(.page-index) #main { display: block !important; position: relative; z-index: 1; margin-top: 15vh; }
body:not(.page-index) .main-visual-area { display: none !important; }
/* 固定ページ用メイン表示許可 */
body.page-static #main { display: block !important; }


/* ==========================================================================
   【第3部】メニュー制御（完全CSS・背景クリック・文字で閉じる版）
   ========================================================================= */
.pc-only { display: block; }
@media (max-width: 768px) { .pc-only { display: none !important; } }
body.page-entry .pc-only { display: none !important; }

/* ▼▼▼ CSS制御の核 ▼▼▼ */
#nav-toggle { display: none; }

/* ▼▼▼ ハンバーガーボタン（スイッチ） ▼▼▼ */
#mobile-cross-btn { 
    position: fixed; /* 追従 */
    top: 35px; right: 35px; 
    width: 60px; height: 70px; z-index: 10001; 
    cursor: pointer; display: none; 
    -webkit-tap-highlight-color: transparent;
}
@media (max-width: 768px) { #mobile-cross-btn { display: block !important; } }
body.page-entry #mobile-cross-btn { display: block !important; left: 35px; right: auto; }

/* 十字キーのアニメーション */
.cross-symbol { 
    position: relative; width: 100%; height: 100%; 
    transition: transform 0.6s cubic-bezier(0.215, 0.61, 0.355, 1); 
    transform-origin: 50% 19px; 
}
.bar-v, .bar-h { 
    position: absolute; background-color: var(--c-ink); 
    left: 50%; transform: translateX(-50%); 
}
.bar-v { width: 2px; height: 54px; top: 0; }
.bar-h { width: 36px; height: 2px; top: 18px; }

/* チェックされたら×に回転 */
#nav-toggle:checked ~ #mobile-cross-btn .cross-symbol { 
    transform: rotate(135deg);
}

/* ▼▼▼ メニューオーバーレイ ▼▼▼ */
#mobile-overlay { 
    display: flex; position: fixed; top: 0; left: 0; 
    width: 100%; height: 100%; background-color: var(--c-bg); 
    z-index: 10000; 
    opacity: 0; visibility: hidden; 
    transition: opacity 0.4s ease, visibility 0.4s ease; 
    align-items: center; justify-content: center; 
    pointer-events: none; 
    cursor: pointer; /* 背景クリックで閉じる */
}

#nav-toggle:checked ~ #mobile-overlay { 
    opacity: 1; visibility: visible; 
    pointer-events: auto; 
}

/* メニューリスト */
.mobile-nav { 
    display: flex; flex-direction: column; align-items: center; gap: 40px; 
    cursor: default; 
}

.mobile-nav a { 
    text-decoration: none !important; color: var(--c-ink); 
    font-size: 1.8rem; font-weight: 700; 
    opacity: 0; transform: translateY(20px); 
    transition: opacity 0.5s ease 0.1s, transform 0.5s ease 0.1s;
    cursor: pointer; 
}

#nav-toggle:checked ~ #mobile-overlay .mobile-nav a {
    opacity: 1; transform: translateY(0);
}

/* ▼▼▼ 下部の「× 閉じる」テキスト ▼▼▼ */
.menu-close-text {
    margin-top: 40px;
    font-size: 0.95rem; font-weight: 500; letter-spacing: 0.1em;
    color: var(--c-ink);
    opacity: 0; transform: translateY(20px);
    transition: all 0.5s ease 0.2s;
    cursor: pointer; display: inline-block;
    border-bottom: 1px solid transparent;
}

#nav-toggle:checked ~ #mobile-overlay .menu-close-text {
    opacity: 0.8; transform: translateY(0);
}
#nav-toggle:checked ~ #mobile-overlay .menu-close-text:hover {
    opacity: 1; border-bottom: 1px solid var(--c-ink);
}

.menu-hatena-link { font-size: 1.3rem !important; opacity: 0.8 !important; margin-top: 20px; display: none; }
body.page-entry .menu-hatena-link { display: block; }


/* ==========================================================================
   【第4部】作家ページ・作品一覧・共通パーツ
   ========================================================================= */
.main-visual-area { position: absolute; left: 15%; right: 0; top: 0; bottom: 0; writing-mode: vertical-rl; display: flex; justify-content: center; align-items: center; }
.text-group { display: flex; flex-direction: column; align-items: flex-end; gap: 2.8rem; }
.main-text { font-size: 3.3rem; font-weight: 300; letter-spacing: 0.05em; line-height: 1.5; margin: 0; white-space: nowrap; }
.desc-text { font-size: 1.05rem; font-weight: 400; line-height: 1; letter-spacing: 0.05em; margin: 0; white-space: nowrap; opacity: 0.9; }
.z-line-v { position: absolute; left: 15%; top: 10vh; bottom: 10vh; width: 1px; background-color: var(--c-ink); opacity: 0.8; }
.z-line-h { position: absolute; top: 32vh; width: 260px; left: calc(15% - 130px); height: 1px; background-color: var(--c-ink); opacity: 0.8; }
.text-anchor { position: absolute; left: 15%; top: 32vh; width: 0; height: 0; }
.z-name { position: absolute; bottom: 6px; right: 8px; margin: 0; font-size: 1.9rem; font-weight: 600; letter-spacing: 0.1em; line-height: 1; white-space: nowrap; }
.z-name a { color: inherit !important; text-decoration: none !important; transition: opacity 0.3s; }
.name-gap { display: inline-block; width: 0.2em; }
.z-menu { position: absolute; top: 55px; right: 8px; display: flex; flex-direction: column; gap: 30px; align-items: flex-end; width: 250px; }
.z-menu a { text-decoration: none !important; color: var(--c-ink); font-size: 1.7rem; font-weight: 600; letter-spacing: 0.15em; transition: opacity 0.3s; }
.z-copy-container { position: absolute; left: 20px; right: calc(100% - 15% + 15px); bottom: 5vh; text-align: right; }
.z-copy-text { font-weight: 600 !important; font-size: 0.6rem !important; opacity: 0.9 !important; line-height: 1.6 !important; letter-spacing: 0.05em; color: var(--c-ink); }
.copy-line { display: block !important; white-space: nowrap; }

/* 作家ページ装飾 */
.author-page-wrapper { margin-left: 15%; width: 85%; display: flex; justify-content: center; padding-bottom: 15vh; }
.author-content-inner { width: 100%; max-width: 680px; text-align: left; }
.profile-header { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 25px; margin-bottom: 80px; padding-top: 5vh; }
.page-author-name { font-size: 1.8rem; font-weight: 600; margin: 0; letter-spacing: 0.1em; }
.author-portrait { width: 150px; height: auto; border: 1px solid var(--c-ink); padding: 5px; margin: 0; }
.text-section p { margin-bottom: 2.2rem; line-height: 2.2; font-size: 1.15rem; font-weight: 500; text-align: justify; }
.section-title { font-size: 1.4rem; margin: 100px 0 40px 0; text-align: center; border: none; letter-spacing: 0.15em; font-weight: 600; }
.section-title::after { content: ""; display: block; width: 140px; height: 1px; background-color: var(--c-ink); margin: 15px auto 0 auto; opacity: 0.6; }
.section-title:first-of-type::after { width: 40px; }
.social-area { margin: 80px 0; display: flex; justify-content: center; }
.x-link { display: inline-flex; align-items: center; gap: 12px; text-decoration: none !important; color: var(--c-ink); font-size: 1rem; font-weight: 600; border: 1px solid var(--c-ink); padding: 15px 35px; transition: all 0.3s; }
.x-link:hover { background-color: var(--c-ink); color: var(--c-bg); }
.x-icon { width: 22px !important; height: 22px !important; fill: var(--c-ink); }
.hq-address { width: fit-content; margin: 120px auto 0 auto; padding: 50px 60px; border: 1px solid var(--c-ink); font-size: 1rem; text-align: center; }
.hq-title { text-align: center; font-weight: 600; margin-bottom: 25px; font-size: 1.15rem; }

/* 作品一覧 */
.work-grid-smooth { display: flex; flex-direction: column; align-items: center; gap: 40px; padding-bottom: 15vh; margin-left: 15vw; width: 85vw; }
.smooth-item { width: 100%; max-width: 700px; border-bottom: 1px solid rgba(0, 110, 120, 0.2); }
.smooth-toggle { display: none !important; }
.smooth-face { display: flex; justify-content: space-between; align-items: center; padding: 30px 20px; cursor: pointer; color: var(--c-ink); opacity: 0.7; transition: all 0.4s ease; }
.smooth-face:hover { opacity: 1; background-color: rgba(0, 110, 120, 0.03); }
.work-title { font-size: 1.6rem; letter-spacing: 0.15em; font-weight: 500; }
.smooth-toggle:checked ~ .smooth-face { opacity: 1; color: var(--c-ink); border-bottom: 1px solid transparent; }
.smooth-content { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 1.0s cubic-bezier(0.22, 1, 0.36, 1), opacity 1.0s ease; }
.smooth-inner { overflow: hidden; }
.smooth-toggle:checked ~ .smooth-content { grid-template-rows: 1fr; opacity: 1; padding-bottom: 20px; }
.w-meta { font-size: 0.9rem; opacity: 0.7; margin: 25px 40px 15px 40px; letter-spacing: 0.1em; }
.w-desc { font-size: 1rem; line-height: 2; text-align: justify; margin: 0 40px 25px 40px; }
.w-action-row { display: flex; align-items: center; gap: 30px; margin-left: 40px; }
.w-read-link { display: inline-block; color: var(--c-ink); text-decoration: none; border: 1px solid var(--c-ink); padding: 10px 30px; font-size: 0.9rem; transition: all 0.3s; }
.w-read-link:hover { background-color: var(--c-ink); color: var(--c-bg); }
.w-close-btn { font-size: 2rem; line-height: 1; cursor: pointer; color: var(--c-ink); opacity: 0.4; transition: opacity 0.3s; user-select: none; }
.w-close-btn:hover { opacity: 1; }


/* ==========================================================================
   【第6部】記事ページレイアウト（★PCのみ35文字・文字サイズ特大★）
   ========================================================================= */
/* 1. 全デバイス共通設定（色・非表示） */
.page-entry .entry-content { color: var(--c-ink) !important; }
.entry-header { margin: 0 auto 60px auto; text-align: center; max-width: 720px; padding: 0 20px; box-sizing: border-box; }
.entry-title { font-size: 2.2rem; font-weight: 600; letter-spacing: 0.1em; color: var(--c-ink); text-decoration: none; margin-bottom: 20px; }
.entry-title a { color: inherit; text-decoration: none; }
.entry-date, .date, .entry-footer-time { display: none !important; }

/* 2. PC専用設定（★35文字・1.3rem・太さ500★） */
@media (min-width: 769px) {
    .page-entry #main, .entry-content { 
        max-width: 100% !important; width: 100% !important;
        margin: 15vh 0 15vh 0 !important; padding: 0; 
    }
    body.page-entry #container, body.page-entry #wrapper, body.page-entry #content, body.page-entry #main, body.page-entry .entry-content {
        overflow: visible !important;
    }
    
    .page-entry .entry-content {
        max-width: 35em !important; /* ★35文字★ */
        margin-left: auto !important; margin-right: auto !important;
        padding-left: 0 !important; padding-right: 0 !important;
        
        font-size: 1.3rem;  /* ★特大サイズ★ */
        line-height: 2.0; 
        font-weight: 500;   /* ★中太★ */
        text-align: justify;
    }
    
    .entry-content p, .entry-content h2, .entry-content h3, .entry-content h4, 
    .entry-content ul, .entry-content ol, .entry-content blockquote {
        max-width: 35em; /* ★35文字★ */
        margin-left: auto; margin-right: auto;
        padding: 0; box-sizing: border-box;
    }
    .entry-content p { margin-bottom: 2.5rem; }
}

/* ==========================================================================
   【第7部】自作記事下フッターデザイン
   ========================================================================= */
/* ベース枠 */
#underground-post-footer {
    width: 100%; max-width: 720px;
    margin: 300px auto 100px auto; 
    padding: 0 20px;
    display: flex; flex-direction: column; align-items: center;
    box-sizing: border-box; overflow: visible !important; 
}

/* コピーライト */
.u-copyright {
    font-family: "Zen Old Mincho", serif; font-size: 0.9rem; letter-spacing: 0.05em;
    color: var(--c-ink); opacity: 0.8;
    margin-bottom: 150px; 
    width: 100%; text-align: center;
    border-top: 1px solid rgba(0, 110, 120, 0.2); padding-top: 60px;
}

/* グレーボタン */
.btn-common-gray {
    display: inline-block; padding: 12px 30px;
    background: #e0e0e0; border: 1px solid #ccc; color: #333;
    border-radius: 4px; font-size: 0.95rem; font-weight: 500;
    cursor: pointer; transition: all 0.3s; min-width: 200px; text-align: center;
}
.btn-common-gray:hover { background: #d0d0d0; }
.u-buttons-wrapper { display: flex; flex-direction: column; align-items: center; gap: 20px; }

/* モーダル */
#support-toggle, #modal-toggle { display: none; }
.support-modal-wrap, .author-message-modal-wrap {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 99999; opacity: 0; visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    display: flex; justify-content: center; align-items: center; pointer-events: none; 
}
#support-toggle:checked ~ .support-modal-wrap,
#modal-toggle:checked ~ .author-message-modal-wrap { opacity: 1; visibility: visible; pointer-events: auto; }
.support-overlay-bg, .modal-overlay-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(252, 251, 246, 0.95); cursor: pointer;
}
.support-content, .author-message-content {
    position: relative; z-index: 100000;
    width: 95%; max-width: 44em; max-height: 95vh; 
    overflow-y: auto; scrollbar-width: none;
    padding: 50px 40px; box-sizing: border-box;
    opacity: 0; margin-top: 20px; transition: all 0.5s; cursor: default;
    background-color: var(--c-bg); color: var(--c-ink);
    border: 1px solid rgba(0, 110, 120, 0.1);
    box-shadow: 0 10px 30px rgba(0, 110, 120, 0.1);
}
.support-content::-webkit-scrollbar, .author-message-content::-webkit-scrollbar { display: none; }
#support-toggle:checked ~ .support-modal-wrap .support-content,
#modal-toggle:checked ~ .author-message-modal-wrap .author-message-content { opacity: 1; margin-top: 0; }

/* モーダル文章（36文字制限） */
.modal-text-body {
    font-family: "Zen Old Mincho", serif; font-size: 1.0rem; line-height: 1.8;
    color: var(--c-ink); max-width: 36em; margin: 0 auto 30px auto; text-align: left;
    font-weight: 600; /* 太く */
}
.modal-text-body p { margin-bottom: 1em; }
.modal-text-body .signature { text-align: right; margin-top: 0.5em; font-weight: bold; }

/* 応援アクション */
.support-actions {
    display: flex; justify-content: center; align-items: center;
    gap: 30px; flex-wrap: wrap; min-height: 60px;
    margin-top: 20px; overflow: visible !important;
}
.support-actions iframe, .support-actions .hatena-bookmark-button {
    transform: scale(1.4); transform-origin: center; margin: 0 10px;
}
.hatena-star-container, .hatena-star-star-container {
    display: inline-block !important; overflow: visible !important;
    position: static !important; margin: 0 !important; padding: 0 !important;
}

/* ×閉じるボタン */
.modal-close-static-btn {
    display: block; width: fit-content; margin: 40px auto 0 auto;
    padding: 5px 20px; font-size: 0.95rem; font-weight: 600; letter-spacing: 0.1em;
    color: var(--c-ink); cursor: pointer; border-bottom: 1px solid transparent; opacity: 0.8; transition: opacity 0.3s;
}
.modal-close-static-btn:hover { opacity: 1; border-bottom: 1px solid var(--c-ink); }

/* コメント欄エリア */
#modal-comment-seat {
    margin-top: 20px; border-top: 1px dashed rgba(0, 110, 120, 0.3);
    padding-top: 20px; width: 100%; max-width: 36em; margin-left: auto; margin-right: auto;
}
#modal-comment-seat iframe { width: 100% !important; min-height: 200px; }
.support-content .social-buttons, .author-message-content .social-buttons { display: none !important; }

/* 下段ナビ */
.u-row-bottom-nav { width: 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; margin-top: 40px; }
.u-nav-item { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.u-btn-base {
    display: inline-block; border: 4px double var(--c-ink); color: var(--c-ink);
    text-decoration: none !important; background: transparent; transition: all 0.3s;
    letter-spacing: 0.1em; font-size: 0.9rem; font-weight: 600; padding: 10px 25px;
}
.u-btn-base:hover { background-color: var(--c-ink); color: var(--c-bg); }
.u-nav-sub { font-size: 0.75rem; opacity: 0.7; font-weight: 500; }


/* ==========================================================================
   【第8部】コメント欄デザイン美化
   ========================================================================= */
.leave-comment-title {
    display: table !important; margin: 0 auto 30px auto;
    font-size: 1rem; font-weight: 600; text-align: center;
    border: 4px double var(--c-ink); padding: 11px 28px;
    letter-spacing: 0.1em; background: transparent !important; color: var(--c-ink);
    cursor: pointer; text-decoration: none !important; transition: all 0.3s;
}
.leave-comment-title:hover { background-color: var(--c-ink) !important; color: var(--c-bg) !important; }

.comment-box ul.comment { list-style: none; padding: 0; margin: 0; }
.comment-box li.entry-comment { border-bottom: 1px solid rgba(0, 110, 120, 0.1); padding: 20px 0; margin-bottom: 10px; }

.hatena-module-body .btn, .comment-box .btn {
    display: inline-block; background-color: transparent !important; color: var(--c-ink) !important;
    border: 1px solid var(--c-ink) !important; padding: 10px 30px !important;
    font-family: var(--f-font) !important; font-weight: 600;
    transition: all 0.3s; cursor: pointer;
}
.hatena-module-body .btn:hover, .comment-box .btn:hover { background-color: var(--c-ink) !important; color: var(--c-bg) !important; }


/* ==========================================================================
   【第9部】スマホレスポンシブ補正（★トップ縦書き・記事幅合わせ★）
   ========================================================================= */
@media (max-width: 768px) {
    /* 1. PC用パーツを隠す */
    .pc-only, .z-line-v, .z-line-h, .text-anchor, .z-copy-container { display: none !important; }
    
    /* 2. スマホ用ボタン表示 */
    #mobile-cross-btn { display: block !important; }
    
    /* 3. 全体のリセット */
    html, body { overflow-x: hidden !important; width: 100% !important; margin: 0 !important; padding: 0 !important; }
    
    /* 4. 記事ページの崩れ修正（PCの36文字制限を解除して画面に合わせる） */
    .page-entry .entry-content, 
    #main .entry-content { 
        max-width: 100% !important; width: 100% !important;
        margin: 0 !important; padding: 80px 20px 40px 20px !important;
        box-sizing: border-box !important;
        font-size: 1rem !important; line-height: 1.8 !important;
        text-align: justify !important;
    }
    .entry-content img { margin: 20px auto !important; }
    
    /* 5. 作家ページ・プロフィール調整 */
    .author-page-wrapper { width: 100% !important; margin: 0 !important; padding: 80px 20px !important; box-sizing: border-box !important; display: block !important; }
    .author-content-inner { width: 100% !important; margin: 0 auto !important; }
    .section-title { font-size: 3.5vw !important; white-space: nowrap !important; }
    
    .profile-header { flex-direction: column !important; gap: 20px !important; width: 100%; }
    .hq-address { width: 100% !important; margin: 40px 0 0 0 !important; padding: 30px 15px !important; }
    .x-link { width: 100% !important; display: flex !important; justify-content: center !important; }
    
    /* 6. トップページ演出（縦書き・絶対配置維持） */
    .main-visual-area { 
        position: absolute !important; left: 0 !important; right: 0 !important; top: 0 !important; bottom: 0 !important;
        width: 100% !important; height: 100vh !important;
        writing-mode: vertical-rl !important; display: flex !important; 
        justify-content: center !important; align-items: center !important;
        padding: 0 !important;
    }
    
    .text-group { align-items: center; gap: 1.5rem; }
    
    /* メインタイトル */
    .main-text { 
        font-size: 2.4rem; margin: 0; line-height: 1.4;
        font-weight: 500 !important;
    }
    
    /* 生きとし〜（サイズ0.95rem・太字） */
    .desc-text { 
        font-size: 0.95rem !important;
        font-weight: 700 !important; /* 太字 */
        margin: 0; 
    }
    
    .z-name { 
        position: absolute !important; bottom: 20px !important; left: 20px !important; right: auto !important;
        margin: 0 !important; font-size: 1.5rem !important; writing-mode: vertical-rl !important;
    }
    
    /* 7. 作品一覧・フッター調整 */
    .work-grid-smooth { margin: 0; width: 100%; box-sizing: border-box; padding: 20px; }
    .w-meta, .w-desc, .w-action-row { margin-left: 15px; margin-right: 15px; }
    .smooth-face { padding: 25px 15px; }
    
    #underground-post-footer { padding: 60px 15px 0 15px; width: 100%; margin-top: 150px; }
}

/* ==========================================================================
   【第10部】オープニング演出（フェードイン）
   ========================================================================= */
body::before {
    content: ""; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--c-bg); z-index: 99999; pointer-events: none;
    /* 記事ページなどは 1.0秒 でフェードアウト（幕が開く） */
    animation: openingFadeShort 1.0s ease-out forwards;
}
/* トップページのみ長い演出 */
body.page-index::before { animation: openingFadeLong 5.5s ease-out forwards; }

@keyframes openingFadeShort { 0% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
@keyframes openingFadeLong { 0% { opacity: 1; } 9% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }

/* 文字アニメーション（変更なし） */
.main-text {
    display: grid !important; place-items: center !important;
    font-size: 3.3rem; font-weight: 300; letter-spacing: 0.05em; 
    line-height: 1.5; margin: 0; white-space: nowrap; 
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
.msg-origin, .msg-next { grid-area: 1 / 1; }
.msg-origin { opacity: 1; animation: textFadeOut 3s ease-in-out 10s forwards; }
.desc-text { opacity: 1; animation: textFadeOut 3s ease-in-out 10s forwards; }
.msg-next { opacity: 0; font-size: 1.4em; font-weight: 300; animation: textFadeIn 3s ease-in-out 14s forwards; }
@media (max-width: 768px) { .msg-next { font-size: 1.1em !important; } }
@keyframes textFadeOut { 0% { opacity: 1; } 100% { opacity: 0; } }
@keyframes textFadeIn { 0% { opacity: 0; } 100% { opacity: 1; } }

/* ==========================================================================
   【PC19px・スマホ18px 最終調整版】
   ・PC：19px（言葉の重み・迫力重視）
   ・スマホ：18px（端正な読みやすさと大きさのベストバランス）
   ========================================================================= */

/* 1. 全体の色とフォントを強制統一 */
body,
.entry-content,
.entry-content p,
.entry-title,
h1, h2, h3, h4, h5, h6,
a {
    color: var(--c-ink) !important;
    font-family: "Zen Old Mincho", serif;
}

/* 2. PC用レイアウト（19px・圧のある文學仕様） */
@media (min-width: 769px) {
    /* 本文・段落 */
    .entry-content,
    .entry-content p {
        font-size: 19px !important;    /* PCは19px維持 */
        line-height: 2.0 !important;    
        max-width: 720px;              
        margin-left: auto;           
        margin-right: auto;          
        font-weight: 500 !important;    
    }
    
    .entry-header {
        max-width: 720px;
        margin-left: auto;
        margin-right: auto;
    }

    .entry-content ul, 
    .entry-content ol,
    .entry-content li {
        font-size: 19px !important;
    }
}

/* 3. スマホ用レイアウト（18px・端正な仕様） */
@media (max-width: 768px) {
    .entry-content,
    .entry-content p {
        font-size: 18px !important;   /* ★ここを18pxに変更 */
        line-height: 1.9 !important;   /* 18pxに合わせて行間を美しく整える */
        font-weight: 500 !important;    
    }
    
    /* リストも揃える */
    .entry-content ul, 
    .entry-content ol,
    .entry-content li {
        font-size: 18px !important;
    }
}