﻿/* ======================================================
   サイト全体の1カラム化（サイドバー非表示・メイン全幅）
   ====================================================== */
#sidebar1, .sidebar {
    display: none !important;
}

#main {
    width: 100% !important;
    float: none !important;
}

/* ======================================================
   統合カスタマイズ：カラー強制版 (#00023F & フッター修正)
   ====================================================== */

/* 背景色を #00023F に強制統一 (強力なセレクタを使用) */
html, body, #container, #inner-content, #main, #sidebar1, #header-top, .breadcrumb, .post, .card, .wpp-list li {
    background-color: #00023F !important;
    color: #ffffff !important;
    font-family: 'メイリオ', Meiryo,'ヒラギノ角ゴ StdN','Hiragino Kaku Gothic StdN','ヒラギノ角ゴシック','Hiragino Sans','Yu Gothic UI','Arial Black','Arial',sans-serif !important;
}

/* ヘッダー全体 */
#header, .header-inner, #nav-header, #header-top, .header-top {
    background-color: #00023F !important;
}

/* フッター全体 (グレーを解消し #00023F に統一) */
#footer, #footer-top, .footer-inner, .copyright, #copyright, .footer-widget-area {
    background-color: #00023F !important;
    color: #ffffff !important;
    border-top: 1px solid #334155 !important;
}
.copyright p, #copyright p {
    color: #cbd5e1 !important;
}

/* パンくずリストエリア */
#breadcrumb, .breadcrumb {
    background-color: #00023F !important;
    border: none !important;
    box-shadow: none !important;
}

/* 記事本文内のテキストと行間 */
.entry-content p {
    margin: 0 0 0.5em !important;
    line-height: 2em !important;
    color: #ffffff !important;
}

/* 関連記事 (RECOMMEND) 付近のテキスト色調整 */
.recommend-title, .recom_ttl, .post-meta, .post-date, .entry-content .entry-meta {
    color: #cbd5e1 !important;
}

/* 見出し装飾：ゴールド */
.entry-content h1 {
    color: #ffd700 !important;
    border-bottom: 1px dashed #ffd700 !important;
}
h2, h3, h4 {
    color: #ffffff !important;
}

/* タイトルサイズ変更（PC/Tablet/Mobile） */
@media only screen and (min-width: 1166px) {
    #container #logo .h1.text { font-size:0.7em !important; }
}
@media screen and (max-width: 767px) {
    #container #logo .h1.text { font-size:85% !important; }
}
@media screen and (max-width: 480px) {
    #container #logo .h1.text { font-size:88% !important; }
}

/* グローバルナビのカスタマイズ（日本語を大きく） */
@media only screen and (min-width: 768px){
    .nav > li > a {
        padding-top: 5px !important;
        line-height: 1.5 !important;
        font-size: 18px !important;
        font-weight: bold !important;
        color: #ffffff !important;
    }
    .nav li a span {
        font-size: 10px !important;
        margin-top: 1px !important;
        position: static !important;
        font-weight: normal !important;
    }
}

/* マーカー強調カスタマイズ：黄色 */
.marker1 {
    background: linear-gradient(transparent 30%, rgba(255, 255, 188, 0.4) 30%);
}

/* コメント欄 */
.comment-content p, .comment-author {
    font-weight: bold !important;
    color: #e2e8f0 !important;
}

/* ロゴの透明化消去 */
#header .site-title, #logo {
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
}

/* 閲覧ランキング */
.wpp-post-title, .wpp-list li a, .wpp-list li:before {
    color: #ffffff !important;
}
.wpp-list li .wpp-meta, .wpp-list li .post-stats {
    color: #cbd5e1 !important;
}

/* リンク色：シアン */
a { color: #38bdf8; }
a:hover { color: #7dd3fc; }

/* STORKヘッダートップ 水色帯の強制上書き */
.header-top-area,
.sub-header,
.catch-copy-area,
#catch,
[class*="header-top"],
[class*="sub-header"] {
    background-color: #00023F !important;
    background-image: none !important;
}

/* 前後記事ナビゲーション */
.navigation .np-post-list a,
.navigation .np-post-list a .ttl,
.navigation .np-post-list .ttl {
    color: #ffffff !important;
    text-decoration: none !important;
}
.navigation .np-post-list a:hover .ttl {
    color: #38bdf8 !important;
}

/* -----------------------------------
   全ページ共通：カスタムナビゲーション
   (プラチナダッシュボード用)
----------------------------------- */
body {
    /* ナビゲーションをabsolute/fixedにした際に、ページ上部が隠れないように余白をとる */
    padding-top: 25px !important; 
}

.int-nav {
    /* 透過ガラス風の背景（ベースのネイビーに馴染む色） */
    background: rgba(2, 4, 26, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: fixed !important; /* 親要素の設定に影響されないように絶対固定化 */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999 !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* WordPress管理バー表示時の調整（スクロール時の見切れ対策） */
.admin-bar .int-nav { top: 32px !important; }
@media screen and (max-width: 782px) {
    .admin-bar .int-nav { top: 46px !important; }
}

.int-nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 54px;
}

.int-nav__logo {
    font-family: 'Rajdhani', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #f8fafc !important;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
}
.int-nav__logo span {
    color: #22d3ee !important;
    font-style: italic;
    font-size: 24px;
}

.int-nav__links {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
}

.int-nav__links a {
    /* フォントをメイリオ等に統一し、サイズ・太さを調整 */
    font-family: 'メイリオ', Meiryo,'ヒラギノ角ゴ StdN','Hiragino Kaku Gothic StdN','ヒラギノ角ゴシック','Hiragino Sans','Yu Gothic UI','Arial Black','Arial',sans-serif !important;
    font-size: 14px !important;
    font-weight: bold !important;
    color: #94a3b8 !important;
    letter-spacing: 1px;
    padding: 8px 0;
    border-bottom: 2px solid transparent !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.int-nav__links a:hover {
    color: #f8fafc !important;
    border-bottom-color: #22d3ee !important;
}

/* モバイルではリンクテキストを非表示にする（親テーマのメニューを使わせるため） */
@media (max-width: 768px) {
    .int-nav__links { display: none !important; }
}