/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Template: astra
Author: Brainstorm Force
Author URI: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
Description: The Astra WordPress theme is lightning-fast and highly customizable. It has over 1 million downloads and the only theme in the world with 6,000+ five-star reviews! It窶冱 ideal for professional web designers, solopreneurs, small businesses, eCommerce, membership sites and any type of website. It offers special features and templates so it works perfectly with all page builders like Spectra, Elementor, Beaver Builder, etc. Fast performance, clean code, mobile-first design and schema markup are all built-in, making the theme exceptionally SEO-friendly. It窶冱 fully compatible with WooCommerce, SureCart and other eCommerce plugins and comes with lots of store-friendly features and templates. Astra also provides expert support for free users. A dedicated team of fully trained WordPress experts are on hand to help with every aspect of the theme. Try the live demo of Astra: https://zipwp.org/themes/astra/
Tags: custom-menu,custom-logo,entertainment,one-column,two-columns,left-sidebar,e-commerce,right-sidebar,custom-colors,editor-style,featured-images,full-width-template,microformats,post-formats,rtl-language-support,theme-options,threaded-comments,translation-ready,blog
Version: 4.12.0.1767704761
Updated: 2026-01-25 20:50:00

*/

/* 豁｣豌｣蝣ｱ蝗ｽ遉ｾ 繝�じ繧､繝ｳ螳夂ｾｩ Rev.2 */
:root {
    --seiki-black: #1A1A1A;
    /* 蠅ｨ濶ｲ */
    --seiki-bg: #fcfaf2;
    /* 逕滓�繧奇ｼ郁レ譎ｯ濶ｲ� */
    --seiki-crimson: #d3381c;
    /* 譛ｱ濶ｲ�医い繧ｯ繧ｻ繝ｳ繝茨ｼ */
    --font-serif: "Kaisei Opti", "Shippori Mincho", "Yu Mincho", serif;
    /* Kaisei Opti繧貞━蜈 */
    --font-header: "Kaisei Opti", serif;
    --font-mono: "Roboto Mono", monospace;
}

/* Astra 繝�ヵ繧ｩ繝ｫ繝医�繝�ム繝ｼ繧帝撼陦ｨ遉ｺ */
.site-header {
    display: none !important;
}

body {
    background-color: var(--seiki-bg) !important;
    /* Astra縺ｮ荳頑嶌縺 */
    color: var(--seiki-black);
    font-family: var(--font-serif);
    /* 蜈ｬ譁�嶌縺ｨ縺励※縺ｮ螽∝宍 */
    font-size: 18px !important;
    line-height: 2.0;
    letter-spacing: 0.05em;
}

p {
    font-size: 18px;
}

h1,
h2,
h3,
h4,
h5,
h6,
a {
    font-family: var(--font-serif);
    color: var(--seiki-black);
}

/* 繧ｻ繧ｯ繧ｷ繝ｧ繝ｳ蜈ｨ菴 */
.seiki-latest-news {
    margin: 80px auto;
    max-width: 900px;
    padding: 0 20px;
    scroll-margin-top: 100px;
}

/* 隕句�縺 */
.seiki-front-logo {
    text-align: left;
    margin-bottom: 20px;
}

.seiki-front-logo img {
    height: auto;
    max-height: 100px;
    width: auto;
}

.seiki-section-title {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    /* border-bottom: 2px solid var(--seiki-black);  繝懊�繝繝ｼ蟒�ｭ｢ */
    padding-bottom: 25px;
    /* 遲��逕ｻ蜒上�鬮倥＆蛻�｢ｺ菫 */
    margin-bottom: 30px;
    text-transform: uppercase;
    text-align: left;
    color: var(--seiki-black);

    /* 遲��繝懊�繝繝ｼ */
    background-image: url('images/brush_border.png');
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 100% 8px;
    /* 邏ｰ繧√↓隱ｿ謨ｴ */
}

/* 繝ｭ繧ｰ蠖｢蠑上Μ繧ｹ繝 (Observation Logs) */
.seiki-logs {
    list-style: none;
    padding: 0;
    margin: 0;
}

.seiki-log-row {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.seiki-log-link {
    display: flex;
    align-items: baseline;
    padding: 18px 10px;
    text-decoration: none !important;
    /* 繝��繝槭�蟷ｲ貂峨ｒ髦ｲ縺 */
    position: relative;
    transition: all 0.3s ease;
    color: var(--seiki-black) !important;
}

/* 繝帙ヰ繝ｼ貍泌�: 譛ｱ濶ｲ縺ｮ繧｢繝ｳ繝繝ｼ繝ｩ繧､繝ｳ */
.seiki-log-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--seiki-crimson);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.seiki-log-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.seiki-log-link:hover {
    background-color: rgba(255, 255, 255, 0.6);
}

/* 蜷�ヱ繝ｼ繝 */
.seiki-log-date {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: #666;
    margin-right: 25px;
    min-width: 90px;
}

.seiki-log-sector {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 0.7rem;
    padding: 3px 12px;
    margin-right: 25px;
    border: 1px solid #ccc;
    border-radius: 0;
    /* min-width: 90px; 蜿ｯ螟蛾聞縺ｫ蟇ｾ蠢懊☆繧九◆繧∝崋螳壼ｹ�ｒ隗｣髯､ */
    white-space: nowrap;
    /* 謚倥ｊ霑斐＠遖∵ｭ｢ */
    text-align: center;
    letter-spacing: 0.1em;
}

.seiki-log-title {
    font-size: 1.15rem;
    font-weight: 500;
    flex: 1;
    letter-spacing: 0.05em;
}

/* 繧ｫ繝�ざ繝ｪ蛻･繧ｹ繧ｿ繧､繝ｫ (Intelligence Sectors) */

/* URGENT: 譛ｱ濶ｲ縺ｮ譫邱 */
.cat-urgent .seiki-log-sector {
    border-color: var(--seiki-crimson);
    color: var(--seiki-crimson);
    background-color: transparent;
}

.cat-urgent .seiki-log-link {
    border-left: 4px solid var(--seiki-crimson);
    padding-left: 15px;
    /* 繝懊�繝繝ｼ蛻�★繧峨☆ */
}

/* DEEP ANALYSIS: 蠅ｨ濶ｲ縺ｮ驥榊字縺ｪ閭梧勹 */
.cat-deep-analysis .seiki-log-sector {
    background-color: var(--seiki-black);
    color: #fff;
    border-color: var(--seiki-black);
}

/* OBSERVATION: 繧ｷ繝ｳ繝励Ν縺ｪ譫 */
.cat-observation .seiki-log-sector {
    border-color: #aaa;
    color: #444;
}

/* 繝｢繝舌う繝ｫ蟇ｾ蠢 */
@media (max-width: 768px) {
    .seiki-log-link {
        flex-wrap: wrap;
    }

    .seiki-log-date {
        width: auto;
        margin-right: 15px;
    }

    .seiki-log-sector {
        width: auto;
        margin-right: 0;
        margin-bottom: 8px;
    }

    .seiki-log-title {
        width: 100%;
        /* 謾ｹ陦後＆縺帙ｋ */
        flex-basis: 100%;
        display: block;
        margin-top: 8px;
        /* 蟆代＠菴咏區繧帝幕縺代ｋ */
    }
}

/* Confidential Header Styles */
.seiki-confidential-header {
    background-color: rgba(245, 240, 230, 0.9);
    /* 蟆代＠辟ｼ縺代◆邏吶�繧医≧縺ｪ阮�＞閭梧勹 */
    color: #333;
    font-family: var(--font-mono);
    padding: 15px 40px;
    border-bottom: 2px dashed #999;
    /* 繝溘す繝ｳ逶ｮ縺ｮ繧医≧縺ｪ繝懊�繝繝ｼ */
    position: sticky;
    top: 0;
    z-index: 999;
}

.seiki-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.seiki-header-left {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    align-items: center;
}

.seiki-classified-mark {
    color: var(--seiki-crimson);
    font-weight: 700;
    letter-spacing: 0.1em;
    border: 1px solid var(--seiki-crimson);
    padding: 2px 8px;
}

.seiki-ref-date {
    color: #555;
    letter-spacing: 0.05em;
}

.seiki-return-link {
    text-decoration: none;
    color: #000;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.seiki-return-link:hover {
    color: var(--seiki-crimson);
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .seiki-header-inner {
        flex-direction: row;
        /* 讓ｪ荳ｦ縺ｳ邯ｭ謖 */
        justify-content: space-between;
    }

    .seiki-ref-date {
        display: none;
    }
}

/* --------------------------------------------------
   繝偵�繝ｭ繝ｼ繧ｨ繝ｪ繧｢蜻ｨ霎ｺ縺ｮ菴咏區隱ｿ謨ｴ�亥ｼｷ蜉帷沿�
   -------------------------------------------------- */
/* Astra繝��繝槭�繝�ヵ繧ｩ繝ｫ繝井ｽ咏區繧貞ｼｷ蛻ｶ逧�↓隧ｰ繧√ｋ */
.home .entry-content,
.home .site-content,
.home .ast-article-post,
.home #primary,
.home article {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* 險倅ｺ九＃縺ｨ縺ｮ荳矩Κ菴咏區繧よｶ医☆ */
.ast-separate-container .ast-article-post-meta,
.ast-post-tags,
.post-navigation {
    margin-bottom: 0 !important;
}

/* --------------------------------------------------
   Home Wrapper Strategy (Grid Layout Control)
   -------------------------------------------------- */
/* --------------------------------------------------
   Home Wrapper Strategy (Grid Layout Control)
   -------------------------------------------------- */
.seiki-home-wrapper {
    display: block;
    /* Flexbox蝗樣∩ */
    width: 100%;
    margin: 0;
    padding: 0;
}

/* --------------------------------------------------
   Hero Section (Text Version - Precision Control)
   -------------------------------------------------- */
.seiki-hero-section {
    width: 100%;
    /* 閭梧勹濶ｲ */
    background-color: #F7F6F0;

    /* 繝ｬ繧､繧｢繧ｦ繝亥宛蠕｡ */
    display: flex;
    justify-content: center;
    align-items: center;

    padding: 20vh 0;
    /* 荳贋ｸ九↓蠎�､ｧ縺ｪ髱吝ｯゅｒ遒ｺ菫 */
    margin-bottom: 80px;
    /* 荳矩Κ菴咏區遒ｺ菫 */
    position: relative;
    overflow: hidden;
}

/* 閭梧勹邏狗ｫ�磯上°縺暦ｼ */
.seiki-hero-section::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1000px;
    /* 800px -> 1000px: 蟄伜惠諢溘ｒ蠅励☆ */
    height: 100%;
    background-image: url('images/final_crest.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    opacity: 0.05;
    /* 荳埼乗�蠎ｦ5%: 閭梧勹縺ｫ貅ｶ縺題ｾｼ縺ｾ縺帙ｋ */
    z-index: 0;
    pointer-events: none;
}

.seiki-hero-content {
    position: relative;
    z-index: 1;
    writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    text-orientation: upright;
    font-family: "Shippori Mincho", serif;
    color: rgba(26, 26, 26, 0.65);
    /* 荳埼乗�蠎ｦ75%: 閭梧勹縺ｫ鬥ｴ譟薙�譟斐ｉ縺九＞蠅ｨ濶ｲ */
    text-shadow: none;
    /* 豼√ｊ繧呈賜髯､ */
    line-height: 1.6;
    /* 陦碁俣繧帝←豁｣縺ｫ謌ｻ縺呻ｼ亥ｼ輔″邱繧√ｋ� */
    letter-spacing: 0.35em;
    /* 譁�ｭ鈴俣髫斐�邯ｭ謖 */
    height: auto;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1.5rem;
    /* 陦碁俣縺ｮ繧ｹ繧ｫ繧ｹ繧ｫ諢溘ｒ隗｣豸 */
}

/* --------------------------------------------------
   Hero Text Elements
   -------------------------------------------------- */
.seiki-hero-content p {
    margin: 0;
    padding: 0;
    /* 12px: 繧医ｊ郢顔ｴｰ縺ｧ蠑輔″邱縺ｾ縺｣縺溘し繧､繧ｺ */
    font-size: 32px !important;
    font-weight: 500;
    line-height: inherit;
    /* 隕ｪ縺ｮ蠎�､ｧ縺ｪ陦碁俣繧堤ｶ呎価 */
}

/* 螻髟ｷ縺ｮ縺薙□繧上ｊ�壽枚蟄励�讓ｪ縺ｮ邱 */
.hero-separator {
    width: 2px;
    height: 100%;
    background-color: #1A1A1A;
    opacity: 0.6;
    margin: 0 1.5rem;
    align-self: center;
}

/* 繧ｹ繧ｿ繝�ぎ繝ｼ驟咲ｽｮ: 蜿ｳ縺九ｉ蟾ｦ縺ｸ��ertical-rl�售eparator -> Lead -> Catch -> Date� */
/* 2. 螳｣險譁 (Lead) */
.hero-lead-row {
    padding-top: 1rem;
}

/* 3. 繧ｭ繝｣繝�メ繧ｳ繝斐� (Catch) */
.hero-catch-row {
    padding-top: 6rem;
}

/* 4. 譌･莉 (Date) */
.hero-date-row {
    padding-top: 12rem;
}

/* PC隱ｿ謨ｴ */
@media (min-width: 769px) {
    .seiki-hero-section {
        padding: 140px 0;
    }

    .seiki-hero-content p {
        font-size: 64px !important; /* PC版ではさらに力強く */
    }
}


/* --------------------------------------------------
   3蛻励リ繝薙ご繝ｼ繧ｷ繝ｧ繝ｳ (Navigation Grid)
   -------------------------------------------------- */
.seiki-nav-grid-wrapper {
    max-width: 900px;
    margin: 0 auto 120px;
    padding: 0 20px;
}

.seiki-nav-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.seiki-nav-card {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    text-decoration: none;
    position: relative;
    /* 閭梧勹繧偵す繝ｳ繝励Ν縺ｫ菫ｮ豁｣�亥ｸよ收讓｡讒伜屓驕ｿ� */
    background-color: #f5f5f5;
    transition: transform 1.2s cubic-bezier(0.1, 0.9, 0.2, 1), box-shadow 1.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.seiki-nav-title {
    font-family: inherit;
    /* 隕ｪ縺ｮ邯呎価縺ｧOK */
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--seiki-black);
    margin: 0;
    letter-spacing: 0.4em;
    text-indent: 0.4em;
    z-index: 2;
    transition: color 0.6s ease;
}

/* 豺ｱ邏��繝ｩ繧､繝ｳ�医§繧上▲縺ｨ蜈･繧区ｼ泌�� */
.seiki-nav-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--seiki-crimson);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 1.5s cubic-bezier(0.1, 0.9, 0.2, 1);
    z-index: 1;
}

/* 繝帙ヰ繝ｼ譎ゅ�蜍穂ｽ */
.seiki-nav-card:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.seiki-nav-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* 繧ｹ繝槭�蟇ｾ蠢 */
@media (max-width: 768px) {
    .seiki-nav-grid {
        grid-template-columns: 1fr;
    }

    .seiki-nav-card {
        height: 140px;
    }
}

/* --------------------------------------------------
   5. SNS繧ｷ繧ｧ繧｢繝懊ち繝ｳ (Social Share)
   -------------------------------------------------- */
.seiki-share-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
}

.seiki-share-top {
    justify-content: center;
    margin-bottom: 40px;
}

.seiki-share-bottom {
    justify-content: flex-end;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px dotted rgba(0, 0, 0, 0.2);
}

.share-label {
    font-size: 0.9rem;
    font-family: var(--font-mono);
    color: #666;
    letter-spacing: 0.1em;
}

.share-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--seiki-black);
    color: var(--seiki-black);
    transition: all 0.3s ease;
    background-color: transparent;
}

.share-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* 繝帙ヰ繝ｼ譎ゅ�謖吝虚: 蜥後Δ繝繝ｳ�亥渚霆｢� */
.share-btn:hover {
    background-color: var(--seiki-crimson);
    border-color: var(--seiki-crimson);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(211, 56, 28, 0.3);
}

/* --------------------------------------------------
   6. 繧ｳ繝｡繝ｳ繝域ｬ (Comment Section)
   -------------------------------------------------- */
.seiki-comment-section {
    max-width: 800px;
    margin: 100px auto 60px;
    padding-top: 60px;
    border-top: 1px solid #d3381c;
    /* 譛ｱ濶ｲ縺ｮ邨千阜 */
}

/* 繧ｪ繝ｪ繧ｸ繝翫Ν隕句�縺 */
.seiki-comment-header-text {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 50px;
    letter-spacing: 0.15em;
    color: var(--seiki-black);
}

/* Astra (WordPress) 讓呎ｺ悶さ繝｡繝ｳ繝医ヵ繧ｩ繝ｼ繝縺ｮ繝溘ル繝槭Ν蛹 */

/* 譌｢蟄倥�繧ｿ繧､繝医Ν繧帝國縺 */
.comments-title,
#reply-title,
.comment-reply-title {
    display: none !important;
}

/* 繝輔か繝ｼ繝蜈ｨ菴 */
.comment-respond {
    background-color: transparent;
    padding: 0;
}

/* 蜈･蜉帶ｬ�ｼ医ユ繧ｭ繧ｹ繝医お繝ｪ繧｢� */
.comment-form-comment textarea {
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid #ccc;
    border-radius: 0;
    padding: 15px;
    font-family: var(--font-serif);
    transition: all 0.3s ease;
    width: 100%;
}

.comment-form-comment textarea:focus {
    border-color: var(--seiki-black);
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 0 1px var(--seiki-black);
}

/* 縺昴�莉悶�蜈･蜉帙ヵ繧｣繝ｼ繝ｫ繝 (Name, Email, Website) */
.comment-form-author input,
.comment-form-email input,
.comment-form-url input {
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid #ccc;
    border-radius: 0;
    padding: 10px;
    font-family: var(--font-mono);
    width: 100%;
    max-width: 400px;
}

/* 荳崎ｦ√↑豕ｨ驥医ｒ阮�￥縺吶ｋ */
.comment-notes,
.logged-in-as {
    font-size: 0.8rem;
    color: #888;
    text-align: center;
    margin-bottom: 20px;
}

/* 騾∽ｿ｡繝懊ち繝ｳ�壼柱繝｢繝繝ｳ */
.form-submit {
    text-align: center;
    margin-top: 30px;
}

.submit {
    background-color: var(--seiki-black) !important;
    color: #fff !important;
    font-family: var(--font-serif) !important;
    font-weight: 700 !important;
    letter-spacing: 0.2em !important;
    padding: 12px 40px !important;
    border-radius: 0 !important;
    border: none !important;
    transition: all 0.3s ease !important;
    cursor: pointer;
}

.submit:hover {
    background-color: var(--seiki-crimson) !important;
    transform: scale(1.05);
}

/* 譌｢蟄倥さ繝｡繝ｳ繝医Μ繧ｹ繝 (繧ゅ＠縺ゅｌ縺ｰ) */
.comment-list {
    list-style: none;
    padding: 0;
    margin-bottom: 60px;
}

.comment-body {
    border-bottom: 1px dotted #ccc;
    padding: 20px 0;
    margin-bottom: 20px;
}

.comment-meta {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 10px;
}

.comment-content p {
    font-size: 1rem;
    line-height: 1.8;
}

/* 繝ｪ繝ｳ繧ｯ鬘 */
.comment-reply-link {
    font-size: 0.8rem;
    color: var(--seiki-crimson);
    text-decoration: none;
    border: 1px solid var(--seiki-crimson);
    padding: 2px 8px;
    display: inline-block;
}


/* --------------------------------------------------
   7. 險ｼ諡蜩√Μ繝ｳ繧ｯ (Evidence Link)
   -------------------------------------------------- */
.seiki-evidence-link-container {
    text-align: center;
    margin-bottom: 50px;
}

.seiki-evidence-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 25px;
    border: 1px solid var(--seiki-black);
    /* 蠅ｨ濶ｲ縺ｮ邏ｰ邱 */
    color: var(--seiki-black);
    text-decoration: none !important;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    background-color: transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.seiki-evidence-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: transform 0.5s ease;
}

.seiki-evidence-text {
    font-weight: 700;
}

/* 繝帙ヰ繝ｼ繧ｨ繝輔ぉ繧ｯ繝茨ｼ壼渚霆｢縺ｨ繧｢繧､繧ｳ繝ｳ蝗櫁ｻ｢ */
.seiki-evidence-btn:hover {
    background-color: var(--seiki-black);
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.seiki-evidence-btn:hover .seiki-evidence-icon svg {
    transform: rotate(90deg);
}

/* 
   LEGACY: 貍�ｻ貞渚霆｢繝｢繝ｼ繝 (Disabled in favor of Global Black Road)
   Following rules are commented out to prevent interference.
   To restore specific component styles, copy them to the new section.
*/
/*
body.seiki-dark-mode {
    background-color: #F7F6F0 !important;
    color: #333;
}

body.seiki-dark-mode #primary {
    max-width: 820px !important;
    margin: 60px auto !important;
    background-color: #000000;
    color: rgba(247, 246, 240, 0.95);
    border: none;
    border-radius: 2px;
    padding: 0 !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

body.seiki-dark-mode article,
body.seiki-dark-mode .entry-content {
    background-color: #1A1A1A !important;
    padding: 60px 50px;
    margin: 40px 0;
    border: 1px solid #333;
}

body.seiki-dark-mode .seiki-archive-list {
    padding: 40px 40px;
}

body.seiki-dark-mode .site-content,
body.seiki-dark-mode .ast-container {
    background-color: transparent !important;
}

body.seiki-dark-mode h1,
body.seiki-dark-mode h2,
body.seiki-dark-mode h3,
body.seiki-dark-mode h4,
body.seiki-dark-mode h5,
body.seiki-dark-mode h6 {
    color: #F7F6F0;
}

body.seiki-dark-mode p,
body.seiki-dark-mode li,
body.seiki-dark-mode span {
    color: rgba(247, 246, 240, 0.95);
}

body.seiki-dark-mode p,
body.seiki-dark-mode li {
    font-size: 22px !important;
    line-height: 2.0 !important;
    margin-bottom: 2.5em;
    text-align: justify;
}

body.seiki-dark-mode a:not(.seiki-evidence-btn):not(.share-btn):not(.seiki-return-link) {
    color: #ccc;
    text-decoration: underline;
}

body.seiki-dark-mode a:not(.seiki-evidence-btn):not(.share-btn):not(.seiki-return-link):hover {
    color: var(--seiki-crimson);
}

body.seiki-dark-mode .seiki-confidential-header {
    background-color: #050505;
    color: rgba(247, 246, 240, 0.9);
    border-bottom: 1px solid #333;
}

body.seiki-dark-mode .seiki-return-link {
    color: #F7F6F0;
}

body.seiki-dark-mode .seiki-return-link:hover {
    color: var(--seiki-crimson);
}

body.seiki-dark-mode .seiki-meta-box {
    background-color: #0d0d0d;
    border-color: #333;
}

body.seiki-dark-mode .seiki-meta-label {
    background-color: #222;
    color: #888;
}

body.seiki-dark-mode .seiki-meta-value {
    color: #F7F6F0;
}

body.seiki-dark-mode .seiki-status-alert {
    background-color: transparent;
    color: var(--seiki-crimson);
    text-shadow: 0 0 5px var(--seiki-crimson);
}

body.seiki-dark-mode .seiki-evidence-btn {
    border-color: #F7F6F0;
    color: #F7F6F0;
}

body.seiki-dark-mode .seiki-evidence-btn:hover {
    background-color: var(--seiki-crimson);
    border-color: var(--seiki-crimson);
    color: #fff;
    box-shadow: 0 0 15px rgba(211, 56, 28, 0.8);
}

body.seiki-dark-mode .seiki-comment-section {
    border-top-color: #333;
}

body.seiki-dark-mode .seiki-comment-header-text {
    color: #F7F6F0;
}

body.seiki-dark-mode .comment-form-comment textarea,
body.seiki-dark-mode .comment-form-author input,
body.seiki-dark-mode .comment-form-email input,
body.seiki-dark-mode .comment-form-url input {
    background-color: #1a1a1a;
    color: #F7F6F0;
    border-color: #444;
}

body.seiki-dark-mode .comment-form-comment textarea:focus {
    border-color: var(--seiki-crimson);
}

body.seiki-dark-mode .submit {
    background-color: #222 !important;
    border: 1px solid #444 !important;
}

body.seiki-dark-mode .submit:hover {
    background-color: var(--seiki-crimson) !important;
    border-color: var(--seiki-crimson) !important;
}

body.seiki-dark-mode .comment-meta {
    color: #888;
}

body.seiki-dark-mode .comment-body {
    border-bottom-color: #333;
}

body.seiki-dark-mode .share-btn {
    border-color: #F7F6F0;
    color: #F7F6F0;
}

body.seiki-dark-mode .share-label {
    color: #aaa;
}
*/

/* ==============================================================================
   9. 譛邨ゅ蜴溽憾蝗櫫ｾｩ縺翫ｈ縺ｳ讒矩蝗ｺ螳 (Final Structural Fix - Conditional)
   讎ょｿｵ夂函謌舌ｊ縺ｮ荳也阜繧定ｲｫ縺上∵ｼｻ偵譁ｭ鄂ｪ縺ｮ驕 (The Black Road in the Sanctuary)
   蟇ｾ雎｡壹い繝ｼ繧ｫ繧､繝厄ｼ井ｸ隕ｧ峨♀繧医蛟句挨險倅ｺ九縺ｿOP縺ｯ髯､螟厄ｼ
   ============================================================================== */

/* 1. 縲仙悄蜿ｰ縲醍函謌舌ｊ縺ｮ蜿ｰ邏 (Outer Layer) - 蜈ｨ蝓滄←逕ｨ */
body,
html {
    background-color: #F7F6F0 !important;
    margin: 0;
    padding: 0;
}

/* 2. 縲先ｸ蠢第ｼｻ偵蝙ら峩蟶ｯ (Central Black Road) */
/* 繧｢繝ｼ繧ｫ繧､繝悶→謚慕ｨｿ繝壹繧ｸ縺ｮ縺ｿ縺ｫ驕ｩ逕ｨOP繝壹繧ｸ .home 繧帝勁螟厄ｼ */
body:not(.home):not(.page-philosophy):not(.page-creed) #page {
    max-width: 1200px !important;
    margin: 0 auto !important;
    background-color: #000000 !important;
    min-height: 100vh;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

/* TOPページおよび固定ページはデフォルト（あるいはフル幅）を維持 */
body.home #page,
body.page-philosophy #page,
body.page-creed #page {
    max-width: 100% !important;
    background-color: transparent !important;
    box-shadow: none;
}

/* 繝倥ャ繝繝ｼ繝ｻ繝｡繧､繝ｳ繝ｻ繝輔ャ繧ｿ繝ｼ繧帝ｻ貞ｸｯ縺ｫ鬥ｴ譟薙∪縺帙ｋ�医い繝ｼ繧ｫ繧､繝悶�謚慕ｨｿ縺ｮ縺ｿ� */
body:not(.home):not(.page-philosophy):not(.page-creed) .site-header,
body:not(.home):not(.page-philosophy):not(.page-creed) .site-content,
body:not(.home):not(.page-philosophy):not(.page-creed) .site-footer,
body:not(.home):not(.page-philosophy):not(.page-creed) #primary,
body:not(.home):not(.page-philosophy):not(.page-creed) #main,
body:not(.home):not(.page-philosophy):not(.page-creed) article,
body:not(.home):not(.page-philosophy):not(.page-creed) .entry-content {
    background-color: transparent !important;
    max-width: 100% !important;
    /* 隕ｪ繧ｳ繝ｳ繝�リ(820px)縺ｫ蜷医ｏ縺帙ｋ */
    width: 100%;
}

/* 3. 縲先賜髯､縲台ｸ咲ｴ皮黄縺ｮ蜊ｳ譎よ柑豸 (蜈ｨ繝壹�繧ｸ) */
.main-header-bar-navigation,
/* 繝倥ャ繝繝ｼ繝｡繝九Η繝ｼ */
.ast-breadcrumbs,
/* 繝代Φ縺上★繝ｪ繧ｹ繝 */
.home .entry-title,
/* 繝壹�繧ｸ繧ｿ繧､繝医Ν��ome� */
.archive .page-title,
/* 繧｢繝ｼ繧ｫ繧､繝悶ち繧､繝医Ν */
.ast-archive-description

/* 繧｢繝ｼ繧ｫ繧､繝冶ｪｬ譏 */
    {
    display: none !important;
}

/* 4. 縲先悽譁�第枚蟄励�蝨ｧ (Typography inside Black Road - 繧｢繝ｼ繧ｫ繧､繝悶�謚慕ｨｿ縺ｮ縺ｿ) */
body:not(.home):not(.page-philosophy):not(.page-creed):not(.category-kujou-diary),
body:not(.home):not(.page-philosophy):not(.page-creed):not(.category-kujou-diary) h1,
body:not(.home):not(.page-philosophy):not(.page-creed):not(.category-kujou-diary) h2,
body:not(.home):not(.page-philosophy):not(.page-creed):not(.category-kujou-diary) h3,
body:not(.home):not(.page-philosophy):not(.page-creed):not(.category-kujou-diary) h4,
body:not(.home):not(.page-philosophy):not(.category-kujou-diary) h5,
body:not(.home):not(.page-philosophy):not(.page-creed):not(.category-kujou-diary) h5,
body:not(.home):not(.page-philosophy):not(.page-creed):not(.category-kujou-diary) h6,
body:not(.home):not(.page-philosophy):not(.page-creed):not(.category-kujou-diary) p,
body:not(.home):not(.page-philosophy):not(.page-creed):not(.category-kujou-diary) li,
body:not(.home):not(.page-philosophy):not(.page-creed):not(.category-kujou-diary) span,
body:not(.home):not(.page-philosophy):not(.page-creed):not(.category-kujou-diary) a,
body:not(.home):not(.page-philosophy):not(.page-creed):not(.category-kujou-diary) div {
    color: #F7F6F0;
    /* 蝓ｺ譛ｬ譁�ｭ苓牡縺ｯ逕滓�繧 */
}

/* 繝ｪ繝ｳ繧ｯ濶ｲ繧ｪ繝ｼ繝舌�繝ｩ繧､繝 */
body:not(.home):not(.page-philosophy):not(.page-creed):not(.category-kujou-diary) a {
    color: #ccc;
}

body:not(.home):not(.page-philosophy):not(.page-creed):not(.category-kujou-diary) a:hover {
    color: var(--seiki-crimson) !important;
}

/* 譛ｬ譁�音蛹 (繧｢繝ｼ繧ｫ繧､繝悶�謚慕ｨｿ縺ｮ縺ｿ) */
body:not(.home):not(.page-philosophy):not(.page-creed):not(.category-kujou-diary) p {
    font-size: 22px !important;
    font-family: "Kaisei Opti", serif !important;
    line-height: 2.0 !important;
    color: rgba(247, 246, 240, 0.95); /* removed !important */
    margin-bottom: 2.5em;
    text-align: justify;
}

/* 菴咏區隱ｿ謨ｴ�磯ｻ貞ｸｯ縺ｮ蜀��� */
body:not(.home):not(.page-philosophy):not(.page-creed) .site-content {
    padding: 30px 40px !important;
    /* 荳贋ｸ句ｷｦ蜿ｳ縺ｫ菴咏區 (60px -> 30px) */
}

/* =========================================================
   繧ｳ繝ｳ繝昴�繝阪Φ繝医�蠑ｷ蛻ｶ蜷悟喧�磯ｻ偵＞驕薙∈縺ｮ驕ｩ蜷茨ｼ
   ========================================================= */

/* 繝倥ャ繝繝ｼ�域･ｵ遘倥�繝ｼ繧ｯ遲峨�繝舌�� */
body:not(.home):not(.page-philosophy):not(.page-creed) .seiki-confidential-header {
    background-color: #000000 !important;
    /* 貍�ｻ */
    border-bottom: 1px solid #333;
    color: #F7F6F0;
}

/* 險倅ｺ句�菴難ｼ医き繝ｼ繝会ｼ峨�閭梧勹濶ｲ繧偵げ繝ｬ繝ｼ縺ｫ邨ｱ荳 */
body:not(.home):not(.page-philosophy):not(.page-creed) article {
    background-color: #1A1A1A !important;
    padding: 30px 50px !important;
    /* 蜀��縺ｫ菴咏區繧堤｢ｺ菫 (60px -> 30px) */
    margin: 40px auto;
    /* 荳贋ｸ九�鮟貞ｸｯ繧定ｦ九○繧 */
    border: 1px solid #333;
    max-width: 100%;
}

/* 繝｡繧ｿ諠�ｱ縺ｮ邂ｱ�亥句挨閭梧勹荳崎ｦ√�騾乗�縺ｫ� */
body:not(.home):not(.page-philosophy):not(.page-creed) .seiki-meta-box {
    background-color: transparent !important;
    /* 險倅ｺ玖レ譎ｯ(#1A1A1A)縺ｫ鬥ｴ譟薙∪縺帙ｋ */
    border: 1px solid #444 !important;
    /* 蠅�阜縺ｯ謗ｧ縺医ａ縺ｫ */
    color: #F7F6F0 !important;
}

body:not(.home):not(.page-philosophy):not(.page-creed) .seiki-meta-label {
    color: #888 !important;
    /* 繝ｩ繝吶Ν縺ｯ隕九ｄ縺吶￥ */
}

body:not(.home):not(.page-philosophy):not(.page-creed) .seiki-meta-value {
    color: #F7F6F0 !important;
}

/* 險倅ｺ九ち繧､繝医Ν蜻ｨ繧 */
body:not(.home):not(.page-philosophy):not(.page-creed) .entry-title {
    color: #F7F6F0 !important;
    border-bottom-color: #d3381c !important;
}

/* 繝輔か繝ｼ繝蜈･蜉帶ｬ�ｼ医さ繝｡繝ｳ繝医↑縺ｩ� */
body:not(.home):not(.page-philosophy):not(.page-creed) input,
body:not(.home):not(.page-philosophy):not(.page-creed) textarea {
    background-color: #1A1A1A !important;
    /* 邨ｱ荳諢溘�縺ゅｋ繧ｰ繝ｬ繝ｼ */
    color: #F7F6F0 !important;
    border: 1px solid #444 !important;
}

/* 譛ｬ譁�お繝ｪ繧｢�亥句挨閭梧勹荳崎ｦ√�繝ｪ繧ｻ繝�ヨ� */
body:not(.home):not(.page-philosophy):not(.page-creed) .entry-content {
    background-color: transparent !important;
    padding: 0 !important;
    border: none !important;
    margin-top: 0 !important;
}

/* TOP繝壹�繧ｸ縺ｮ繝�く繧ｹ繝郁牡縺ｪ縺ｩ縺ｯ蜈�↓謌ｻ縺呻ｼ磯ｻ定牡� */
body.home,
body.home p,
body.home h2,
body.home a {
    color: var(--seiki-black) !important;
}

body.home a:hover {
    color: var(--seiki-crimson) !important;
}

/* 險ｼ諡繝懊ち繝ｳ蜻ｨ霎ｺ�亥�騾夲ｼ */
.seiki-evidence-btn {
    border-color: #F7F6F0 !important;
    color: #F7F6F0 !important;
    text-decoration: none !important;
}

.seiki-evidence-btn:hover {
    background-color: var(--seiki-crimson) !important;
    border-color: var(--seiki-crimson) !important;
    color: #fff !important;
}

/* ==============================================================================
   10. 髫縺励リ繝薙ご繝ｼ繧ｷ繝ｧ繝ｳ縲悟ｰ弱″縲(Guidance Navigation)
   ============================================================================== */

/* 繝翫ン繧ｲ繝ｼ繧ｷ繝ｧ繝ｳ蜈ｨ菴薙�蝗ｺ螳壻ｽ咲ｽｮ */
.guidance-nav {
    position: fixed !important;
    top: 40px !important;
    left: 40px !important;
    z-index: 10000 !important;
    font-family: "Shippori Mincho", serif !important;
}

/* 繝医Μ繧ｬ繝ｼ�磯ｳ･螻�→蟆弱″� */
.guidance-trigger {
    text-align: center !important;
    cursor: pointer !important;
    transition: opacity 0.5s ease !important;
    opacity: 0.6 !important;
}

.torii-icon {
    font-size: 32px !important;
    color: #d3381c !important;
    /* 譛ｱ濶ｲ */
    margin-bottom: 5px !important;
    line-height: 1 !important;
}

.guidance-label {
    display: block !important;
    font-size: 10px !important;
    letter-spacing: 0.3em !important;
    color: #1a1a1a !important;
    font-weight: 400 !important;
}

/* 蛻晄悄迥ｶ諷九�繝｡繝九Η繝ｼ�磯國縺暦ｼ */
.guidance-links {
    margin: 20px 0 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
    opacity: 0.4 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

/* 繝槭え繧ｹ繧ｪ繝ｼ繝舌�譎ゑｼ亥ｺ�ａ縺ｮ蛻､螳壹お繝ｪ繧｢繧堤｢ｺ菫晢ｼ */
.guidance-nav:hover .guidance-links {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.guidance-nav:hover .guidance-trigger {
    opacity: 1 !important;
}

/* 繝ｪ繝ｳ繧ｯ縺ｮ繝�じ繧､繝ｳ */
.guidance-links li {
    margin-bottom: 15px !important;
    list-style: none !important;
}

.guidance-links a {
    text-decoration: none !important;
    color: #1a1a1a !important;
    font-size: 1rem !important;
    letter-spacing: 0.2em !important;
    display: block !important;
    position: relative !important;
    padding-left: 10px !important;
    transition: color 0.3s ease !important;
}

/* 繝ｪ繝ｳ繧ｯ繝帙ヰ繝ｼ譎ゅ�譛ｱ濶ｲ蠑ｷ隱ｿ */
.guidance-links a:hover {
    color: #d3381c !important;
}

.guidance-links a::before {
    content: "繝ｻ" !important;
    position: absolute !important;
    left: -5px !important;
    color: #d3381c !important;
}

/* WordPress邂｡逅�ヰ繝ｼ縺瑚｡ｨ遉ｺ縺輔ｌ縺ｦ縺�ｋ譎ゅ�蟇ｾ遲 */
.admin-bar .guidance-nav {
    top: 72px !important;
    /* 邂｡逅�ヰ繝ｼ(32px) + 菴咏區(40px) */
}

@media screen and (max-width: 782px) {
    .admin-bar .guidance-nav {
        top: 0 !important;
        /* Mobile WP bar behaves differently, stick to top */
        margin-top: 46px !important;
        /* Push down by bar height */
    }
}

/* --------------------------------------------------
   Mobile Navigation (Fix & Horizontal) - Global WP
   -------------------------------------------------- */
@media (max-width: 768px) {

    /* Body Padding for fixed nav */
    body {
        padding-top: 60px !important;
        /* Adjust based on nav height */
    }

    /* Main Navigation Container */
    .guidance-nav {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: auto;
        /* Allow auto height */
        min-height: 50px;
        background-color: rgba(240, 240, 240, 0.8);
        /* Light Mode Default */
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        z-index: 99999 !important;
        /* Max z-index */

        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding: 10px 15px !important;

        /* Horizontal Scroll */
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;

        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    /* Trigger Icon (Torii) - Make it inline */
    .guidance-trigger {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-right: 20px !important;
        margin-bottom: 0 !important;
        opacity: 1 !important;
        /* Always visible */
        flex-shrink: 0;
    }

    .torii-icon {
        font-size: 24px !important;
        margin-bottom: 0 !important;
    }

    .guidance-label {
        font-size: 8px !important;
        display: block !important;
        margin-top: 2px !important;
    }

    /* Links List - Horizontal Layout */
    .guidance-links {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 20px !important;
        opacity: 1 !important;
        /* Always visible */
        visibility: visible !important;
        transform: none !important;
    }

    .guidance-links li {
        margin: 0 !important;
        padding: 0 !important;
        flex-shrink: 0;
    }

    .guidance-links a {
        color: var(--seiki-black) !important;
        font-size: 0.9rem !important;
        padding: 5px 0 !important;
        white-space: nowrap;
        position: relative;
    }

    .guidance-links a:hover,
    .guidance-links a.active {
        /* Active State */
        color: var(--seiki-crimson) !important;
        font-weight: 700;
    }

    /* Active indicator dot */
    .guidance-links a.active::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: var(--seiki-crimson);
    }

    .guidance-links a::before {
        display: none !important;
        /* Remove bullets for cleaner bar */
    }

    /* Dark Mode (Black Background) for Archive/Dark Pages */
    body.seiki-dark-mode .guidance-nav {
        background-color: rgba(0, 0, 0, 0.8) !important;
        border-bottom: 2px solid #d3381c !important;
        /* Scarlet Border */
    }

    body.seiki-dark-mode .guidance-links a,
    body.seiki-dark-mode .guidance-label {
        color: #ffffff !important;
    }

    /* Dark Mode Active State */
    body.seiki-dark-mode .guidance-links a.active {
        color: #d3381c !important;
    }

    body.seiki-dark-mode .torii-icon {
        color: #d3381c !important;
        /* Keep Torii Crimson */
        text-shadow: 0 0 5px rgba(211, 56, 28, 0.5);
    }
}


/* --------------------------------------------------
   繝壹�繧ｸ蛻･繝翫ン繧ｲ繝ｼ繧ｷ繝ｧ繝ｳ繧ｹ繧ｿ繧､繝ｫ
   -------------------------------------------------- */

/* 鮟定レ譎ｯ繝壹�繧ｸ��age_philosophy.html, page_creed.html�牙ｰら畑繧ｹ繧ｿ繧､繝ｫ */
body.page-philosophy .guidance-nav,
body.page-creed .guidance-nav {
    /* 菴咲ｽｮ縺ｯ迴ｾ迥ｶ邯ｭ謖�ｼ亥ｷｦ遶ｯ蝗ｺ螳夲ｼ */
    position: fixed !important;
    top: 40px !important;
    left: 40px !important;
}

/* 鮟定レ譎ｯ繝壹�繧ｸ縺ｮ繝翫ン繧ｲ繝ｼ繧ｷ繝ｧ繝ｳ譁�ｭ苓牡繧堤區縺ｫ螟画峩 */
body.page-philosophy .guidance-label,
body.page-creed .guidance-label {
    color: var(--seiki-black) !important;
}

body.page-philosophy .guidance-links a,
body.page-creed .guidance-links a {
    color: var(--seiki-black) !important;
}

body.page-philosophy .guidance-links a:hover,
body.page-creed .guidance-links a:hover {
    color: #d3381c !important;
}

body.page-philosophy .guidance-links a::before,
body.page-creed .guidance-links a::before {
    color: #d3381c !important;
}

/* 魑･螻�い繧､繧ｳ繝ｳ縺ｯ譛ｱ濶ｲ縺ｮ縺ｾ縺ｾ邯ｭ謖 */
body.page-philosophy .torii-icon,
body.page-creed .torii-icon {
    color: #d3381c !important;
}

/* 縺昴�莉悶☆縺ｹ縺ｦ縺ｮ繝壹�繧ｸ��OP縲∬ｦｳ貂ｬ蝣ｱ蜻翫↑縺ｩ�峨�迴ｾ迥ｶ騾壹ｊ�磯ｻ呈枚蟄暦ｼ */
/* 繝�ヵ繧ｩ繝ｫ繝医せ繧ｿ繧､繝ｫ縺後◎縺ｮ縺ｾ縺ｾ驕ｩ逕ｨ縺輔ｌ繧九◆繧∬ｿｽ蜉縺ｮCSS縺ｯ荳崎ｦ */


/* ==============================================================================
   11. 繝輔ャ繧ｿ繝ｼ蜀榊ｮ夂ｾｩ: 譌｢蟄俶柑豸医→譁ｰ驟咲ｽｮ
   ============================================================================== */

/* 譌｢蟄連stra繝輔ャ繧ｿ繝ｼ縺ｮ螳悟�謚ｹ豸 */
.site-footer,
.ast-footer-widget-area,
.ast-small-footer,
footer.site-footer {
    display: none !important;
}

/* Old footer styles removed */

/* --------------------------------------------------
   Surveillance Camera Overlay System (Definitive Version)
   -------------------------------------------------- */

/* 逶｣隕悶ヵ繝ｬ繝ｼ繝�夂判蜒上し繧､繧ｺ縺ｫ閾ｪ蜍戊ｿｽ蠕 */
.surveillance-frame {
    position: relative;
    display: inline-block;
    /* 逕ｻ蜒上�蟷�↓蜷医ｏ縺帙ｋ */
    line-height: 0;
    border: 1px solid #333;
    /* 繧上★縺九↑螟匁棧 */
    max-width: 100%;
}

.surveillance-image {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 辣ｧ貅豊蟄励ヶ繝ｩ繧ｱ繝�ヨ�壼�騾夊ｨｭ螳 */
.surveillance-frame::before,
.surveillance-frame::after,
.corner-br::before,
.corner-br::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 30px;
    border-color: #ff0000;
    border-style: solid;
    pointer-events: none;
    z-index: 10;
}

/* 蟾ｦ荳 */
.surveillance-frame::before {
    top: 10px;
    left: 10px;
    border-width: 3px 0 0 3px;
}

/* 蜿ｳ荳 */
.surveillance-frame::after {
    top: 10px;
    right: 10px;
    border-width: 3px 3px 0 0;
}

/* 蟾ｦ荳 */
.corner-br::before {
    bottom: 10px;
    left: 10px;
    border-width: 0 0 3px 3px;
}

/* 蜿ｳ荳 */
.corner-br::after {
    bottom: 10px;
    right: 10px;
    border-width: 0 3px 3px 0;
}

/* 逶｣隕悶Γ繧ｿ繝��繧ｿ�壹ユ繧ｭ繧ｹ繝 */
.surv-meta {
    position: absolute;
    font-family: 'monospace', sans-serif;
    font-weight: bold;
    pointer-events: none;
    z-index: 11;
    text-transform: uppercase;
}

.surv-time {
    top: 15px;
    right: 50px;
    color: #00ff00;
    font-size: 10px;
}

.surv-target {
    bottom: 20px;
    left: 0;
    right: 0;
    color: #ff0000;
    font-size: 18px;
    text-align: center;
    letter-spacing: 2px;
}

/* 繧ｹ繝槭�蟇ｾ蠢 */
@media (max-width: 600px) {
    .surv-target {
        font-size: 14px;
        bottom: 15px;
    }

    .surveillance-frame::before,
    .surveillance-frame::after,
    .corner-br::before,
    .corner-br::after {
        width: 20px;
        height: 20px;
    }
}

/* 蠑慕畑譁�ｼ医ヶ繝ｭ繝�け繧ｯ繧ｩ繝ｼ繝茨ｼ峨�隕冶ｪ肴ｧ謾ｹ蝟 */
blockquote,
.narrative-quote {
    color: #F7F6F0 !important;
    /* 逕滓�繧願牡繧100%驕ｩ逕ｨ縺励√さ繝ｳ繝医Λ繧ｹ繝医ｒ遒ｺ菫 */
    background: rgba(255, 255, 255, 0.05);
    /* 繧上★縺九↓閭梧勹繧呈�繧九￥縺励∵ｵｮ縺堺ｸ翫′繧峨○繧 */
    border-left: 3px solid #ff0000;
    /* 蟾ｦ蛛ｴ縺ｫ縲梧ｭ｣豌｣繝ｬ繝�ラ縲阪�邵ｦ邱壹ｒ蜈･繧後∬＊蝓溘ｒ譏守｢ｺ蛹 */
    padding: 20px 30px;
    margin: 30px 0;
    line-height: 2.0;
    /* 陦碁俣繧貞ｺ�￡縲∝他蜷ｸ縺輔○繧 */
    font-style: normal;
    /* 隱ｭ縺ｿ繧�☆縺輔�縺溘ａ縲∵･ｵ遶ｯ縺ｪ譁應ｽ薙�隗｣髯､�医∪縺溘�隗貞ｺｦ繧堤ｷｩ繧√ｋ� */
    letter-spacing: 0.05em;
}

/* 蠑慕畑譁��縺ｮ蠑ｷ隱ｿ */
blockquote strong,
.narrative-quote strong {
    color: #ff0000;
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.3);
}

/* --------------------------------------------------
   12. 繝｢繝舌う繝ｫ繝翫ン繧ｲ繝ｼ繧ｷ繝ｧ繝ｳ 蠑ｷ蛻ｶ菴咲ｽｮ菫ｮ豁｣ (Mobile Nav Force Fix)
   -------------------------------------------------- */
@media (max-width: 768px) {

    /* Body/HTML縺ｮ菴咏區蠑ｷ蛻ｶ蜑企勁 */
    html,
    body {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* 蠑ｷ蛻ｶ逧�↓荳企Κ縺ｫ蝗ｺ螳壹＠縲�囮髢薙ｒ謗帝勁縺吶ｋ */
    body .guidance-nav,
    body.page-philosophy .guidance-nav,
    body.page-creed .guidance-nav,
    body.seiki-dark-mode .guidance-nav,
    .guidance-nav {
        top: 0 !important;
        left: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        border-radius: 0 !important;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
    }

    /* 邂｡逅�ヰ繝ｼ縺後≠繧句ｴ蜷医�隱ｿ謨ｴ */
    body.admin-bar .guidance-nav {
        /* 騾壼ｸｸ縺ｯ邂｡逅�ヰ繝ｼ縺ｮ荳九↓驟咲ｽｮ */
        top: 32px !important;
    }

    @media screen and (max-width: 782px) {
        body.admin-bar .guidance-nav {
            top: 46px !important;
        }
    }

    /* 繝繝ｼ繧ｯ繝｢繝ｼ繝峨�隴ｦ蜻翫�繝ｼ繧ｿ繝ｫ遲峨〒縺ｮ閭梧勹濶ｲ隱ｿ謨ｴ */
    body.seiki-dark-mode .guidance-nav,
    body.page-template-page-warning-portal .guidance-nav {
        background-color: rgba(0, 0, 0, 0.9) !important;
        /* 貍�ｻ帝城℃ */
        border-bottom: 1px solid #d3381c !important;
    }

    body.seiki-dark-mode .guidance-links a,
    body.page-template-page-warning-portal .guidance-links a,
    body.seiki-dark-mode .guidance-label,
    body.page-template-page-warning-portal .guidance-label {
        color: #ffffff !important;
    }
}

/* --------------------------------------------------
   Utility Classes for Device Switching (Critical)
   -------------------------------------------------- */
.pc-only {
    display: block !important;
}

.sp-only {
    display: none !important;
}

@media (max-width: 768px) {
    .pc-only {
        display: none !important;
    }

    .sp-only {
        display: block !important;
    }
}

/*
 * Intelligence Terminal Comment Section (Black Road Style)
 */
.seiki-comment-section {
    background-color: #0a0a0a;
    padding: 40px 20px;
    border-top: 2px solid #333;
    position: relative;
    font-family: 'Roboto Mono', monospace;
    color: #e0e0e0;
}

/* 謫ｬ莨ｼ隕∫ｴ縺ｧ繧ｹ繝��繧ｿ繧ｹ陦ｨ遉ｺ */
.comment-form::before {
    content: "STATUS: READY TO RECEIVE INPUT... _";
    display: block;
    width: 100%;
    margin-bottom: 20px;
    color: #00ff00;
    /* Terminal Green */
    font-family: 'Roboto Mono', monospace;
    font-size: 0.9rem;
    text-align: left;
    animation: blink-cursor 1s infinite step-end;
}

@keyframes blink-cursor {
    50% {
        opacity: 0;
    }
}

/* 蜈･蜉帙お繝ｪ繧｢�医げ繝ｪ繝�ラ閭梧勹� */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea,
.comment-form select {
    background-color: #050505 !important;
    background-image:
        linear-gradient(#1a1a1a 1px, transparent 1px),
        linear-gradient(90deg, #1a1a1a 1px, transparent 1px);
    background-size: 20px 20px;
    border: 1px solid #333 !important;
    color: #e0e0e0 !important;
    font-family: 'Roboto Mono', monospace !important;
    font-size: 0.95rem;
    padding: 15px !important;
    transition: all 0.3s ease;
    border-radius: 0 !important;
    /* 隗剃ｸｸ縺ｪ縺 */
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8);
}

/* 繝輔か繝ｼ繧ｫ繧ｹ譎ゅ�逋ｺ蜈 */
.comment-form input:focus,
.comment-form textarea:focus,
.comment-form select:focus {
    border-color: #ff0000 !important;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.3), inset 0 0 10px rgba(0, 0, 0, 0.8) !important;
    outline: none;
}

/* 繝ｩ繝吶Ν縺ｪ縺ｩ */
.comment-form label {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.85rem;
    color: #999;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* 繝ｭ繧ｰ繧､繝ｳ迥ｶ諷九�繝�く繧ｹ繝医ｒ髱櫁｡ｨ遉ｺ縺ｫ縺吶ｋ */
.logged-in-as,
.comment-notes {
    display: none !important;
}

.comment-form-confidence-level select {
    cursor: pointer;
    font-size: 1.2rem !important;
    /* 繝輔か繝ｳ繝医し繧､繧ｺ諡｡螟ｧ */
    padding: 15px 20px !important;
    /* 繝代ョ繧｣繝ｳ繧ｰ隱ｿ謨ｴ */
    height: auto !important;
}

/* 騾∽ｿ｡繝懊ち繝ｳ (TRANSMIT) */
.form-submit .submit {
    background-color: #d3381c !important;
    /* 譛ｱ濶ｲ/襍､ */
    color: #fff !important;
    border: none !important;
    padding: 15px 40px !important;
    font-family: 'Roboto Mono', monospace !important;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: all 0.2s;
}

/* 繝帙ヰ繝ｼ譎ゅ�豼縺励＞譏取ｻ */
.form-submit .submit:hover {
    background-color: #ff0000 !important;
    box-shadow: 0 0 20px #ff0000, 0 0 40px #d3381c;
    animation: urgent-pulse 0.1s infinite;
}

@keyframes urgent-pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.02);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* 繝励Ξ繝ｼ繧ｹ繝帙Ν繝繝ｼ */
::placeholder {
    color: #555;
    opacity: 1;
}

/*
 * 霑比ｿ｡��eply�峨�繝�じ繧､繝ｳ蟾ｮ蛻･蛹
 */
/* 繧､繝ｳ繝�Φ繝医→襍､縺�ｸｦ邱 */
.comment-list .children {
    margin-left: 20px !important;
    border-left: 2px solid #ff0000 !important;
    padding-left: 0 !important;
    list-style: none;
}

/* 霑比ｿ｡繧ｳ繝｡繝ｳ繝医�繝懊ョ繧｣ */
.comment-list .children .comment-body {
    position: relative;
    padding-left: 20px !important;
    margin-bottom: 30px;
    background-color: rgba(255, 0, 0, 0.02);
    /* 繧上★縺九↓襍､縺ｿ繧貞ｸｯ縺ｳ縺滄ｻ抵ｼ医が繝励す繝ｧ繝ｳ� */
}

/* 霑比ｿ｡繝倥ャ繝繝ｼ (STATUS: RESPONSE RECEIVED) */
.comment-list .children .comment-body::before {
    content: "STATUS: RESPONSE RECEIVED";
    display: block;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.75rem;
    color: #ff0000;
    margin-bottom: 10px;
    letter-spacing: 0.1em;
    font-weight: 700;
    opacity: 0.8;
}

/*
 * 荳崎ｦ√↑隕∫ｴ縺ｮ髫阡ｽ (Avatar & Edit)
 */
.comment-list .avatar {
    display: none !important;
}

.comment-edit-link {
    display: none !important;
}

/* 繝ｬ繧ｹ繝昴Φ繧ｷ繝冶ｪｿ謨ｴ�域里蟄倥�繝｡繝�ぅ繧｢繧ｯ繧ｨ繝ｪ蜀�↓霑ｽ蜉縺吶ｋ縺ｮ縺檎炊諠ｳ縺縺後∵忰蟆ｾ縺ｧ繧よｩ溯�縺吶ｋ� */
@media (max-width: 600px) {
    .seiki-comment-section {
        padding: 20px 10px;
    }

    /* 繝｢繝舌う繝ｫ縺ｧ繧ゅう繝ｳ繝�Φ繝医ｒ邯ｭ謖�ｼ育強縺上↑繧翫☆縺弱↑縺�ｨ句ｺｦ縺ｫ� */
    .comment-list .children {
        margin-left: 10px !important;
        border-left: 2px solid #ff0000 !important;
    }
}

/*
 * Reply Button & Nested Comments
 */
.comment-reply-link,
.seiki-reply-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 15px;
    border: 1px solid #d3381c;
    color: #d3381c !important;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.8rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: rgba(10, 5, 5, 0.8);
    transition: all 0.2s;
}

.comment-reply-link:hover,
.seiki-reply-btn:hover {
    background-color: #d3381c;
    color: #000 !important;
    box-shadow: 0 0 10px rgba(211, 56, 28, 0.5);
    cursor: pointer;
}

/* ==============================================
   隕冶ｪ肴ｧ繝ｻ蜿ｯ隱ｭ諤ｧ謾ｹ蝟・(Readability Improvement)
   Target: 繝医ャ繝励・繝ｼ繧ｸ莉･螟・(body:not(.home))
   ============================================== */

body:not(.home):not(.page-philosophy):not(.page-creed) {
    /* 1. Font Size Optimization */
    font-size: 19px !important;

    /* 2. Color & Texture (Dynamic Washi Background) */
    background-color: #0c0c0c !important;
    background-image: url('images/texture_v2_washi.png') !important;
    background-blend-mode: soft-light;
    background-attachment: fixed;
    background-size: 800px auto; /* Tiling for paper texture */
    color: rgba(247, 246, 240, 0.92) !important;

    /* 3. Line Height (Readable flow) */
    line-height: 1.85 !important;
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    body:not(.home):not(.page-philosophy):not(.page-creed) {
        font-size: 18px !important;
    }
}

/* 4. Layout & Breathing Room (譁・ｭ玲焚蛻ｶ蠕｡) */
body:not(.home):not(.page-philosophy):not(.page-creed) .entry-content,
body:not(.home):not(.page-philosophy):not(.page-creed) .ast-article-post {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 30px;
    padding-right: 30px;
}

/* 蠑慕畑 (Blockquote) 縺ｮ隕冶ｪ肴ｧ遒ｺ菫・*/
body:not(.home):not(.page-philosophy):not(.page-creed) blockquote {
    color: #F7F6F0 !important;
    border-left: 3px solid #d3381c !important;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 20px 30px;
    margin: 40px 0;
}

/* --------------------------------------------------
   SEIKI FIXED NAVIGATION (常時表示型ナビゲーション)
   -------------------------------------------------- */

/* ナビゲーションバー全体 */
.seiki-fixed-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(5px);
    z-index: 99999;
    border-bottom: 1px solid rgba(211, 56, 28, 0.3);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

/* 管理バーが表示されている時の調整 */
body.admin-bar .seiki-fixed-nav {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .seiki-fixed-nav {
        top: 46px;
    }
}

.seiki-nav-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    /* 中央寄せに変更 */
    align-items: center;
    gap: 2rem;
    /* ロゴとリンクの間隔 */
}

/* 左側：⛩️アイコン */
.seiki-nav-left {
    display: flex;
    align-items: center;
}

.seiki-nav-logo {
    text-decoration: none;
    transition: transform 0.3s ease;
}

.seiki-nav-logo:hover {
    transform: scale(1.15);
}

.seiki-torii-icon {
    font-size: 32px;
    line-height: 1;
    filter: drop-shadow(0 0 5px rgba(211, 56, 28, 0.5));
}

/* 右側：リンク集 */
.seiki-nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.seiki-nav-links a {
    text-decoration: none;
    font-family: 'Kaisei Opti', serif;
    font-size: 15px;
    font-weight: 700;
    color: #F7F6F0 !important;
    /* 文字色は白で固定 */
    letter-spacing: 0.1em;
    transition: color 0.5s ease, transform 0.3s ease;
    /* 0.5sでじんわり赤くなる演出 */
    white-space: nowrap;
}

.seiki-nav-links a:hover {
    color: #d3381c !important;
    /* 朱色へじんわり変化 */
}

/* スマホ対応（横並びを維持しつつフォントサイズ調整） */
@media (max-width: 768px) {
    .seiki-fixed-nav {
        height: 50px;
    }

    .seiki-nav-container {
        padding: 0 10px;
    }

    .seiki-torii-icon {
        font-size: 24px;
    }

    .seiki-nav-links {
        gap: 0.8rem;
    }

    .seiki-nav-links a {
        font-size: 11px;
        /* 画面幅が狭い場合でも入り切るように */
        letter-spacing: 0.05em;
    }
}

/* コンテンツがナビに隠れないように調整 */
body {
    padding-top: 60px !important;
}

@media (max-width: 768px) {
    body {
        padding-top: 50px !important;
    }
}

/* トップページの既存要素と干渉しないよう z-index を確保 */
.site-header {
    z-index: 1000;
}

/* MOBILE HERO FONT SIZE FIX */
@media (max-width: 768px) {
    .hero-lead-row {
        font-size: 1.4rem !important;
        margin: 0 10px !important;
    }

    .hero-catch-row {
        font-size: 2.2rem !important;
        margin: 0 10px !important;
    }
}

/* ==================================================
   SEIKI FIXED NAVIGATION (強力適用版)
   ================================================== */
.seiki-fixed-nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 60px !important;
    background-color: rgba(13, 13, 13, 0.8) !important;
    /* 半透明化 */
    backdrop-filter: blur(10px) !important;
    /* グラスモーフィズム効果 */
    -webkit-backdrop-filter: blur(10px) !important;
    z-index: 99999 !important;
    border-bottom: 1px solid rgba(211, 56, 28, 0.3) !important;
    display: flex !important;
    align-items: center !important;
}

.seiki-nav-container {
    max-width: 1200px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 2rem !important;
}

.seiki-nav-logo {
    text-decoration: none !important;
    transition: transform 0.3s ease !important;
}

.seiki-nav-logo:hover {
    transform: scale(1.15) !important;
}

.seiki-torii-icon {
    font-size: 32px !important;
    line-height: 1 !important;
    filter: drop-shadow(0 0 5px rgba(211, 56, 28, 0.5)) !important;
}

.seiki-nav-links {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    gap: 1.5rem !important;
    align-items: center !important;
}

/* 文字色を強力に白 (#F7F6F0) に固定 */
.seiki-fixed-nav .seiki-nav-links li a,
nav.seiki-fixed-nav .seiki-nav-links a {
    text-decoration: none !important;
    font-family: 'Kaisei Opti', serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #F7F6F0 !important;
    letter-spacing: 0.1em !important;
    transition: all 0.5s ease !important;
}

/* カレントページ（現在地）の朱色を抑え、下線での明示に変更 */
.seiki-fixed-nav .seiki-nav-links li a.current-active,
nav.seiki-fixed-nav .seiki-nav-links a.current-active {
    color: #F7F6F0 !important;
    border-bottom: 2px solid #d3381c !important;
    padding-bottom: 4px;
}

/* ホバー時は朱色 (#d3381c) に */
.seiki-fixed-nav .seiki-nav-links li a:hover,
nav.seiki-fixed-nav .seiki-nav-links a:hover {
    color: #d3381c !important;
}

@media (max-width: 768px) {
    .seiki-fixed-nav {
        height: 50px !important;
    }

    .seiki-torii-icon {
        font-size: 24px !important;
    }

    .seiki-nav-links {
        gap: 0.8rem !important;
    }

    .seiki-fixed-nav .seiki-nav-links li a {
        font-size: 11px !important;
    }
}

body {
    padding-top: 60px !important;
}

@media (max-width: 768px) {
    body {
        padding-top: 50px !important;
    }
}

/* --------------------------------------------------
   案4：和紙・インテリジェンス (WASI-INTELLIGENCE)
   適用対象：最新正氣報国社観測記録 (latest-records) 投稿個別ページ
   -------------------------------------------------- */

/* レイアウト構成 */
.seiki-case4-wrapper {
    background-color: #0a0c0d;
    background-image: url('images/texture_v2_washi.png');
    background-blend-mode: soft-light;
    background-size: 800px auto;
    color: #e0e0e0;
    display: flex;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    z-index: 1000;
    /* ナビの下に入るように調整 */
}

/* 縦書きサイドバー */
.seiki-case4-sidebar {
    width: 60px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.4);
    writing-mode: vertical-rl;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 100px 0;
    font-size: 1.1rem;
    letter-spacing: 0.8em;
    color: #d3381c;
    font-weight: 700;
    font-family: "Shippori Mincho B1", serif;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    z-index: 10;
}

/* コンテンツエリア */
.seiki-case4-container {
    flex-grow: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 120px 40px;
    position: relative;
    z-index: 5;
}

/* 案4専用の記事装飾（既存ダークモードを強力に打ち消す） */
body.seiki-dark-mode article.seiki-case4-article,
body.seiki-dark-mode article.seiki-case4-article .entry-content,
.seiki-case4-article,
.seiki-case4-article .entry-content {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.seiki-case4-article .seiki-category-badge {
    background-color: transparent !important;
    color: #d3381c !important;
    border: 1px solid #d3381c !important;
}

.seiki-case4-article .entry-title {
    font-family: "Shippori Mincho B1", serif;
    font-size: 2.8rem !important;
    color: #ffffff !important;
    border-bottom: 2px solid #d3381c !important;
    text-align: left !important;
    display: block !important;
    padding-bottom: 30px !important;
    margin-bottom: 50px !important;
    line-height: 1.3 !important;
}

.seiki-case4-article .entry-content {
    font-family: "Shippori Mincho B1", serif;
    font-size: 1.2rem !important;
    line-height: 2.4 !important;
    color: #e0e0e0 !important;
}

/* メタデータの案4最適化 */
.seiki-case4-article .seiki-meta-box {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #e0e0e0 !important;
    margin-bottom: 60px !important;
}

.seiki-case4-article .seiki-meta-label {
    color: #d3381c !important;
    opacity: 0.8;
}

.seiki-case4-article .seiki-meta-value {
    color: #ffffff !important;
}

/* H2装飾の案4化（壱、弐、参） */
.seiki-case4-article .entry-content {
    counter-reset: case-h2-counter;
}

.seiki-case4-article .entry-content h2 {
    border-left: none !important;
    border-bottom: 1px solid rgba(211, 56, 28, 0.4) !important;
    padding-left: 0 !important;
    padding-bottom: 10px !important;
    color: #d3381c !important;
    font-size: 1.8rem !important;
    margin-top: 80px !important;
    margin-bottom: 40px !important;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    counter-increment: case-h2-counter;
}

.seiki-case4-article .entry-content h2::before {
    content: counter(case-h2-counter, cjk-ideographic);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid #d3381c;
    color: #d3381c;
    font-size: 1.2rem;
    font-weight: 900;
    margin-bottom: 20px;
}

/* コメント欄の案4適合 */
.seiki-case4-wrapper .seiki-comment-section {
    border-top: 1px solid rgba(211, 56, 28, 0.5) !important;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .seiki-case4-sidebar {
        display: none;
    }

    .seiki-case4-container {
        padding: 80px 20px;
        margin-left: 0;
    }

    .seiki-case4-article .entry-title {
        font-size: 1.8rem !important;
    }
}

/* ==================================================
   過去の観測記録 / 機密メモ (Scroll Box Layout)
   ================================================== */
.p5-past-box {
    margin-top: 20px;
    max-height: 150px;
    overflow-y: auto;
    border: 1px solid var(--border-color, #ddd);
    padding: 15px;
    background: rgba(255,255,255,0.7);
    font-size: 14px;
    margin-bottom: 40px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}
.p5-past-box-title {
    font-weight: bold;
    color: #555;
    margin-bottom: 10px;
    font-size: 13px;
    letter-spacing: 1px;
}
.p5-past-item {
    padding: 8px 0;
    border-bottom: 1px dotted #ccc;
    display: flex;
    gap: 15px;
}
.p5-past-item:last-child {
    border-bottom: none;
}
.p5-past-item a {
    color: var(--text-color, #333);
    text-decoration: none;
    flex-grow: 1;
}
.p5-past-item a:hover {
    color: #d3381c;
}
.p5-past-item .news-date {
    font-size: 14px;
    color: #666;
    letter-spacing: 1px;
}

/* ==================================================
   九条誠流の徒然日記 (Kujou Diary Layout)
   ================================================== */
.kujou-title {
    margin-top: 60px;
    border-color: #2c3e50 !important;
    color: #2c3e50 !important;
}

.p5-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 20px;
}

.p5-note {
    width: 47%;
    position: relative;
    background: #faf8f5;
    border-left: 4px solid #2c3e50;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
    font-family: "Shippori Mincho B1", serif;
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.p5-note:nth-child(even) { transform: rotate(1.5deg); }
.p5-note:nth-child(odd) { transform: rotate(-1.5deg); }

.p5-note-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    filter: grayscale(100%);
    transition: opacity 0.5s ease, filter 0.5s ease, transform 0.5s ease;
    z-index: 1;
}

.p5-note-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    background: linear-gradient(to right, rgba(250, 248, 245, 0.95) 0%, rgba(250, 248, 245, 0.7) 100%);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: background 0.5s ease, color 0.5s ease;
}

.p5-note-date {
    font-size: 13px;
    color: #777;
    margin-bottom: 8px;
    display: inline-block;
    border-bottom: 1px solid #ccc;
    padding-bottom: 2px;
    transition: color 0.5s ease;
}

.p5-note-title {
    font-weight: bold;
    font-size: 16px;
    line-height: 1.4;
    transition: color 0.5s ease;
    color: #4b0082; /* 九条紫 */
}

.p5-note:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 4px 6px 15px rgba(0,0,0,0.2);
    z-index: 10;
}

.p5-note:hover .p5-note-bg {
    opacity: 0.8;
    filter: grayscale(0%);
    transform: scale(1.05);
}

.p5-note:hover .p5-note-content {
    background: linear-gradient(to right, rgba(44, 62, 80, 0.9) 0%, rgba(44, 62, 80, 0.6) 100%);
    color: #fff;
}

.p5-note:hover .p5-note-date {
    color: #ccc;
    border-bottom-color: rgba(255,255,255,0.3);
}

.p5-note:hover .p5-note-title {
    color: #fff;
}

.p5-kujou-past-box {
    border-color: #2c3e50;
    background: rgba(250, 248, 245, 0.8);
}
.p5-kujou-past-box .p5-past-box-title {
    color: #2c3e50;
}
.p5-kujou-past-box .p5-past-item a:hover {
    color: #2c3e50;
    font-weight: bold;
}

@keyframes blink-protocol {
    0% { opacity: 1; filter: drop-shadow(0 0 2px #ff3333); }
    50% { opacity: 0.3; filter: none; }
    100% { opacity: 1; filter: drop-shadow(0 0 2px #ff3333); }
}
.new-badge {
    display: inline-block;
    background: #ff3333;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 2px;
    margin-left: 8px;
    vertical-align: middle;
    animation: blink-protocol 1s infinite alternate;
    letter-spacing: 0.1em;
}
.shrine-icon {
    margin-right: 5px;
    color: #8b0000;
}

@media (max-width: 600px) {
    .p5-note {
        width: 100%;
        transform: rotate(0deg) !important;
        margin-bottom: 10px;
    }
    .p5-note:hover {
        transform: scale(1.02) !important;
    }
}
/* ==============================================================================
   11. フッター再定義 (Pattern A & B Definitive Version)
   ============================================================================== */

/* Footer A: Luxury Muted Gold (Light/Static Pages) */
.seiki-footer-a {
    margin-top: 200px;
    padding: 80px 20px 100px;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.05);
    background-color: transparent;
}

.seiki-footer-a .footer-line {
    width: 40px;
    height: 1px;
    background-color: #c5a059;
    margin: 0 auto 30px;
    opacity: 0.5;
}

.seiki-footer-a .footer-main-text {
    color: #c5a059;
    font-family: var(--font-serif);
    font-size: 14px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    margin-bottom: 25px;
    font-weight: 400;
}

.seiki-footer-a .footer-sub-text {
    color: rgba(197, 160, 89, 0.6);
    font-size: 10px;
    letter-spacing: 0.15em;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
    font-family: var(--font-serif);
}

/* Footer B: Intelligence Muted Gray (Dark/Post Pages) */
.seiki-footer-b {
    margin-top: 200px;
    padding: 80px 20px 100px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    background-color: transparent;
}

.seiki-footer-b .footer-line {
    width: 40px;
    height: 1px;
    background-color: #c5a059;
    margin: 0 auto 30px;
    opacity: 0.3;
}

.seiki-footer-b .footer-main-text {
    color: #888;
    font-family: var(--font-serif);
    font-size: 14px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.seiki-footer-b .footer-sub-text {
    color: #555;
    font-size: 10px;
    letter-spacing: 0.15em;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
    font-family: var(--font-serif);
}

