/*
Theme Name: CreationFam Corporate
Theme URI: https://creationfam.co.jp
Author: CreationFam Dev Team
Author URI: https://creationfam.co.jp
Description: 株式会社CreationFam様 富裕層向けコーポレートサイト。ロイヤルネイビー×シャンパンゴールドの洗練されたデザイン。アドバイザー検索機能、カスタム投稿タイプ、Ajax検索を実装。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: creationfam-corporate
Tags: custom-post-type, custom-menu, featured-images, threaded-comments, translation-ready

CreationFam Corporate Theme, Copyright 2026 CreationFam
This theme is licensed under the GPL.
*/

/* 
 * メインスタイルは assets/css/styles.css から読み込まれます
 * このファイルはWordPressテーマ情報のみを記載
 */
/* ========================================
   メニューの表示・非表示コントロール
   ======================================== */

/* 1. PC用メニューを横並びにする（左側のリストを解消） */
.nav-menu {
    display: flex;            /* 横並びにする */
    list-style: none;         /* ドット（・）を消す */
    margin: 0;
    padding: 0;
    gap: 30px;                /* メニュー間の余白 */
}

.nav-menu li a {
    text-decoration: none;
    color: var(--color-gold); /* 文字をゴールドに */
    font-size: 0.95rem;
    font-weight: 600;
}

/* 2. スマホ用メニューを「普段は隠す」設定（重要！） */
/* これを書かないと、PCで見ている時も左側にリストが出てしまいます */
.mobile-menu {
    display: none; 
}

/* 3. ヘッダー内のレイアウトを整える */
.header-container {
    display: flex;
    justify-content: space-between; /* ロゴは左、メニューは右に */
    align-items: center;
    padding: 20px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

/* 4. ハンバーガーボタン（スマホ用）もPCでは隠す */
.mobile-menu-toggle {
    display: none;
}

/* ========================================
   スマホ表示（画面幅 768px 以下）の時の設定
   ======================================== */
@media (max-width: 768px) {
    /* PCメニューを隠す */
    .header-nav {
        display: none;
    }
    
    /* ハンバーガーボタンを表示する */
    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
    }
    
    /* 三本線のデザイン（簡易版） */
    .hamburger-line {
        display: block;
        width: 25px;
        height: 2px;
        background-color: var(--color-gold);
        margin: 5px 0;
    }
}
/* ========================================
   背景画像の設定と検索セクションの削除
   ======================================== */

/* 1. ヒーローセクションに背景画像を設定 */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* 背景画像の設定 */
    /* 背景画像を設定したい場合は、下の 'URL' の部分をアップロードした画像のURLに書き換えてください */
    background: url('https://creationfam.net//wp-content/uploads/2026/01/70af1e0dd76a28fccd60ecc0b4819be7.png') no-repeat center center;
    background-size: cover;
    overflow: hidden;
}

/* 2. 画像の上に暗いレイヤーを重ねる（文字を読みやすくするため） */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* 0.5は暗さの度合いです */
    z-index: 1;
}

/* 3. コンテンツをレイヤーより前に出す */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center; /* 中央寄せ（左寄せにしたい場合は left に変更） */
    color: #ffffff;
}

/* 4. 「アドバイザーを検索」セクションを強制的に非表示にする */
/* PHPファイルをいじっても消えない場合の最終手段です */
.advisor-search-section, 
.search-section, 
.advisor-search-form,
#advisorSearchForm {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* 5. ヒーロータイトル（大きな文字）のデザイン */
.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
    font-family: var(--font-serif);
}
/* --- メッセージセクション全体の設定 --- */
.message-section {
    background-color: #000000; /* 真っ黒 */
    color: #ffffff;
    padding: 120px 5%;       /* 上下にしっかり余白をとる */
    border-top: 1px solid #333; /* 境界線を薄く入れると高級感UP */
}

.message-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;           /* 横並びにする */
    justify-content: space-between;
    align-items: flex-start; /* 上揃え */
    gap: 60px;               /* 左右の間隔 */
}

/* 左側：説明文のエリア（幅を少し広めに） */
.message-left {
    flex: 1.2;
/* ↓ この一行を追加。数字を大きくするほど、さらに下がります */
    margin-top: 60px;             
}

.message-left p {
    font-size: 1.05rem;
    line-height: 2.2;        /* 行間をゆったりさせる */
    letter-spacing: 0.05em;
    color: #cccccc;          /* 真っ白より少しグレーにすると読みやすい */
}

/* 右側：タイトルエリア（幅を少し狭めて強調） */
.message-right {
    flex: 1;
    text-align: left;        /* 左寄せ */
}

.message-title {
    font-size: 3.0rem;       /* キャッチコピーを大きく */
    font-weight: 600;
    line-height: 1.5;
    color: #ffffff;
    font-family: "Noto Serif JP", serif; /* 高級感のある明朝体 */
    margin-bottom: 25px;
}

.en-text {
    font-size: 1.1rem;
    color: #C9A961;          /* 英語はシャンパンゴールドに */
    font-family: serif;
    font-style: italic;      /* 斜体にしてアクセントに */
    line-height: 1.6;
}

/* スマホでは縦並びにする */
@media (max-width: 900px) {
    .message-container {
        flex-direction: column-reverse; /* スマホではタイトルを上に持ってくる */
    }
    .message-title {
        font-size: 2rem;
    }
}
/* ========================================
   サービス案内セクション（背景画像あり）
   ======================================== */
.service-intro-section {
    position: relative;
    padding: 180px 0; /* 上下の余白 */
    /* 背景画像の設定（ご自身でアップロードしたURLに後で変更してください） */
    background: url('https://creationfam.net//wp-content/uploads/2026/01/30345db73d8e49eb9f5595add19b17cf.png') no-repeat center center;
    background-size: cover;
    background-attachment: scroll; /* パララックス（背景固定）効果 */
}

/* 画像の上の暗いフィルター（文字を白く浮かせるため） */
.service-intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* 暗さの調整 */
    z-index: 1;
}

.service-intro-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    position: relative;
    z-index: 2;
}

.service-intro-content {
    max-width: 750px; /* 文章が横に広がりすぎないように制限 */
    color: #ffffff;
}

.service-intro-content .sub-title {
    color: #C9A961; /* シャンパンゴールド */
    font-size: 3.0rem;
    letter-spacing: 0.3em;
    display: block;
    margin-bottom: 10px;
    font-family: serif;
}

.service-intro-content .main-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: 300;
    letter-spacing: 0.1em;
}

.service-intro-content .catch-phrase {
    font-size: 2.2rem;
    color: #C9A961;
    font-family: "Noto Serif JP", serif;
    margin-bottom: 30px;
    line-height: 1.4;
}

.service-intro-content .description {
    line-height: 2.4;
    letter-spacing: 0.08em;
    margin-bottom: 60px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

/* 「詳しくはこちら」の横棒リンクボタン */
.more-link-wrapper {
    border-bottom: 1px solid rgba(255, 255, 255, 0.5); /* 下線 */
    padding-bottom: 15px;
    display: inline-block;
    width: 100%;
    max-width: 400px; /* 線の長さを制限 */
}

.more-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.4s ease;
}

.more-link .more-text {
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    font-family: serif;
}

.more-link .details-text {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}

/* マウスを乗せた時にゴールドに光らせる */
.more-link:hover {
    color: #C9A961;
    transform: translateX(10px); /* 少し右に動く演出 */
}

/* スマホ対応：文字サイズを調整 */
@media (max-width: 768px) {
    /* --- 追加：ハンバーガーボタン自体を見えるようにする --- */
    .mobile-menu-toggle {
        display: flex !important; /* 強制表示 */
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 9999;
        position: relative;
    }

    /* --- 追加：三本線を描く --- */
    .hamburger-line {
        display: block;
        width: 100%;
        height: 2px;
        background-color: #C9A961; /* ゴールド */
        transition: all 0.3s ease;
    }

    /* --- 追加：モバイルメニューの初期状態（隠す） --- */
    .mobile-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(13, 12, 8, 0.95); /* 漆黒背景 */
        z-index: 9000;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    /* --- 追加：メニューが開いた時の状態 --- */
    .mobile-menu.active {
        opacity: 1;
        visibility: visible;
    }

    /* --- ボタンを「×」に変えるアニメーション --- */
    .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* 既存の調整コード */
    .service-intro-section { padding: 60px 0; }
    .service-intro-content .catch-phrase { font-size: 1.8rem; }
}
/* ========================================
   CONCEPTセクション（新規）
   ======================================== */
.concept-section {
    position: relative;
    padding: 150px 0;
    background: url('https://creationfam.net/wp-content/uploads/2026/01/0347f3d2c1299ff6f1445b75fdbb7ef9.png') no-repeat center center;
    background-size: cover;
    color: #ffffff;
}

/* フィルターをかけて文字を読みやすく */
.concept-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.concept-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-end; /* 文字を右側に寄せる（見本風） */
}

.concept-content {
    max-width: 600px;
}

.concept-content .sub-title {
    font-size: 3rem; /* CONCEPTの文字を大きく */
    font-family: serif;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 20px;
    opacity: 0.8;
}

.concept-content .concept-main-title {
    font-size: 1.8rem;
    margin-bottom: 40px;
    font-family: "Noto Serif JP", serif;
}

.concept-content .concept-description {
    font-size: 1rem;
    line-height: 2.2;
    color: rgba(255, 255, 255, 0.9);
}
/* フォーム全体の文字サイズとフォント指定 */
.wpcf7 {
    font-family: 'Noto Serif JP', serif;
    color: var(--text-dark);
}

/* ラベル（項目名）の文字を大きくする */
.wpcf7 label {
    display: block;
    font-size: 15px; /* 15pxから18pxへアップ */
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--royal-navy);
}

/* 入力欄（テキスト、メール、電話等）の文字と高さを調整 */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    width: 100%;
    padding: 10px; /* 余白を広げる */
    font-size: 16px; /* 文字を大きく */
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: #fff;
    box-sizing: border-box;
}

/* 送信ボタンのカスタマイズ（ゴールドで高級感を） */
.wpcf7 input[type="submit"] {
    background: linear-gradient(135deg, var(--champagne-gold) 0%, #b39452 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    padding: 15px 60px;
    border: none;
    border-radius: 50px; /* 丸みをつけてモダンに */
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 40px auto 0; /* 中央寄せ */
}

.wpcf7 input[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(201, 169, 97, 0.4);
    opacity: 0.9;
}
/* FAQ アコーディオン */
    .faq-accordion {
        max-width: 800px;
        margin: 0 auto;
    }

    .faq-item {
        border: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(255, 255, 255, 0.02);
        margin-bottom: 15px;
        border-radius: 4px;
        overflow: hidden;
        transition: var(--transition-base);
    }

    .faq-item:hover {
        border-color: rgba(201, 169, 97, 0.3);
    }

    .faq-item.active {
        border-color: var(--color-gold);
        background: rgba(201, 169, 97, 0.03);
    }

    .faq-question {
        width: 100%;
        padding: 25px 30px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: none;
        border: none;
        color: var(--color-white);
        font-size: 1.1rem;
        font-weight: 600;
        cursor: pointer;
        text-align: left;
        font-family: var(--font-serif);
    }

    /* プラス・マイナスアイコン */
    .faq-icon {
        position: relative;
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

    .faq-icon::before, .faq-icon::after {
        content: '';
        position: absolute;
        background: var(--color-gold);
        transition: transform 0.3s ease;
    }

    /* 横棒 */
    .faq-icon::before {
        top: 9px;
        left: 0;
        width: 100%;
        height: 2px;
    }

    /* 縦棒 */
    .faq-icon::after {
        top: 0;
        left: 9px;
        width: 2px;
        height: 100%;
    }

    /* 開いた時の縦棒の動き */
    .faq-item.active .faq-icon::after {
        transform: rotate(90deg);
        opacity: 0;
    }

    /* 回答エリアの制御 */
    .faq-answer {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .faq-answer-inner {
        padding: 0 30px 30px 30px;
        color: var(--color-gray);
        font-size: 1rem;
        line-height: 1.8;
    }

    .faq-answer strong {
        color: var(--color-gold);
    }
/* 診断ツール スタイル */
    .diag-container {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid var(--border-color-subtle);
        border-radius: 12px;
        padding: 50px 30px;
        text-align: center;
        min-height: 400px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .diag-step {
        display: none;
        width: 100%;
        animation: fadeIn 0.5s ease;
    }

    .diag-step.active {
        display: block;
    }

    .diag-question {
        font-size: 1.4rem;
        font-family: var(--font-serif);
        color: var(--color-gold);
        margin-bottom: 40px;
    }

    .diag-options {
        display: flex;
        flex-direction: column;
        gap: 15px;
        max-width: 500px;
        margin: 0 auto;
    }

    .diag-btn {
        background: rgba(255,255,255,0.05);
        border: 1px solid rgba(255,255,255,0.1);
        color: #fff;
        padding: 18px;
        border-radius: 4px;
        cursor: pointer;
        transition: all 0.3s;
        font-size: 1rem;
    }

    .diag-btn:hover {
        border-color: var(--color-gold);
        background: rgba(201, 169, 97, 0.1);
        transform: translateX(5px);
    }

    .diag-result {
        display: none;
        width: 100%;
        animation: slideIn 0.5s ease;
    }

    .result-title {
        font-family: var(--font-serif);
        font-size: 2rem;
        color: var(--color-gold);
        margin-bottom: 20px;
    }

    .result-desc {
        background: rgba(255,255,255,0.05);
        padding: 30px;
        border-radius: 8px;
        line-height: 2;
        margin-bottom: 30px;
    }

    @keyframes slideIn {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }
/* 2カラムレイアウト設定 */
.advisor-single-layout {
    background-color: #000;
    padding: 100px 0;
}

.container-flex {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

/* 左カラム（固定） */
.advisor-sidebar {
    flex: 0 0 320px;
    position: sticky;
    top: 120px; /* ヘッダーの高さに合わせて調整 */
}

.sidebar-inner {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(201,169,97,0.2);
    padding: 30px;
    border-radius: 4px;
}

/* 右カラム（記事一覧） */
.advisor-post-content {
    flex: 1;
}

.advisor-article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.article-card {
    background: rgba(255,255,255,0.05);
    transition: transform 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
}

.article-thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.article-info {
    padding: 20px;
}

.article-info h3 {
    font-size: 1.1rem;
    color: #fff;
    margin-top: 10px;
    line-height: 1.5;
}

/* スマホ対応：縦並びに戻す */
@media (max-width: 900px) {
    .container-flex {
        flex-direction: column;
    }
    .advisor-sidebar {
        flex: 1;
        position: relative;
        top: 0;
        width: 100%;
    }
}
/* コラム一覧ページ全体の背景と余白 */
.column-index-layout {
    background-color: #000;
    color: #fff;
    padding-bottom: 120px;
}

/* ヘッダーデザイン */
.column-header {
    padding: 140px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, rgba(201,169,97,0.2) 0%, rgba(0,0,0,0) 100%);
}

.column-header .sub-label {
    color: #C9A961;
    letter-spacing: 0.3em;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 15px;
}

.column-header .page-title {
    font-size: 2.8rem;
    font-family: "Noto Serif JP", serif;
    margin-bottom: 20px;
}

/* 記事グリッド */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

/* カード1つのデザイン */
.column-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.column-card:hover {
    border-color: #C9A961;
    transform: translateY(-8px);
}

.post-thumbnail img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.post-content {
    padding: 25px;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #C9A961;
    margin-bottom: 15px;
}

.post-title {
    font-size: 1.3rem;
    line-height: 1.5;
    margin-bottom: 15px;
    font-family: "Noto Serif JP", serif;
}

.post-excerpt {
    font-size: 0.9rem;
    color: #bbb;
    line-height: 1.8;
    margin-bottom: 20px;
}

.more-btn {
    font-size: 0.8rem;
    color: #C9A961;
    border-bottom: 1px solid #C9A961;
    padding-bottom: 2px;
}

/* ページネーション */
.pagination-area {
    margin-top: 80px;
    text-align: center;
}
.pagination-area .nav-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}
.pagination-area a, .pagination-area span {
    color: #C9A961;
    padding: 8px 16px;
    border: 1px solid #C9A961;
    text-decoration: none;
}
.pagination-area .current {
    background: #C9A961;
    color: #000;
}
/* --- 記事詳細ページ (single.php) 用デザイン --- */

/* 全体の背景 */
.post-detail-layout {
    background-color: #000;
    color: #fff;
    padding-bottom: 100px;
}

/* ヘッダー周り */
.post-header {
    padding: 120px 0 60px;
    text-align: center;
}
.post-title {
    font-size: 2rem;
    font-family: "Noto Serif JP", serif;
    margin: 20px 0 40px;
    color: #fff;
}
.post-main-visual img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border: 1px solid rgba(201,169,97,0.3);
}

/* 2カラムレイアウト */
.post-container-flex {
    display: flex;
    gap: 50px;
    margin-top: 50px;
}
.post-main-content {
    flex: 1; /* 本文エリアを広く */
    min-width: 0;
}
.post-sidebar {
    flex: 0 0 300px; /* サイドバーの幅固定 */
}

/* ★本文の読みやすさ調整 */
.entry-content {
    line-height: 2.0;
    font-size: 1.05rem;
    color: #ddd;
}
/* 本文中の見出しデザイン */
.entry-content h2 {
    color: #C9A961;
    border-bottom: 1px solid #C9A961;
    padding-bottom: 10px;
    margin: 40px 0 20px;
    font-size: 1.5rem;
}
.entry-content h3 {
    border-left: 4px solid #C9A961;
    padding-left: 15px;
    margin: 30px 0 15px;
    font-size: 1.3rem;
}

/* 執筆者カード（サイドバー） */
.writer-profile-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid #C9A961;
    padding: 25px;
    text-align: center;
    position: sticky; /* スクロールしてもついてくる */
    top: 100px;
}
.writer-img img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}
.writer-name {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    font-family: "Noto Serif JP", serif;
}
.btn-advisor-view {
    display: inline-block;
    margin-top: 15px;
    color: #C9A961;
    border: 1px solid #C9A961;
    padding: 8px 20px;
    text-decoration: none;
    transition: 0.3s;
}
.btn-advisor-view:hover {
    background: #C9A961;
    color: #000;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .post-container-flex {
        flex-direction: column; /* 縦並びにする */
    }
    .post-sidebar {
        flex: none;
        width: 100%;
        margin-top: 40px;
    }
    .writer-profile-card {
        position: static; /* スマホでは固定しない */
    }
}
/* ==================================
   スマホ用ハンバーガーメニュー
================================== */
/* PC表示ではメニューとボタンを隠す */
.mobile-menu-toggle, .mobile-menu {
    display: none;
}

/* スマホ表示（768px以下）の時だけ適用 */
@media screen and (max-width: 768px) {
    /* --- ボタンのスタイル --- */
    .mobile-menu-toggle {
        display: block;
        position: absolute; /* ヘッダーの右上に固定 */
        top: 25px;
        right: 20px;
        width: 30px;
        height: 24px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 9999; /* 一番手前に表示 */
        padding: 0;
    }

  /* 3本線のスタイル（ゴールド） */
    .mobile-menu-toggle .hamburger-line {
        display: block !important;
        position: absolute !important;
        width: 100% !important;
        height: 2px !important;
        background-color: #d4af37 !important; /* ゴールド */
        transition: all 0.3s ease !important;
        left: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    .mobile-menu-toggle .hamburger-line:nth-child(1) { top: 0; }
    .mobile-menu-toggle .hamburger-line:nth-child(2) { top: 11px; }
    .mobile-menu-toggle .hamburger-line:nth-child(3) { bottom: 0; }

    /* --- メニュー本体のスタイル --- */
    .mobile-menu {
        display: block;
        position: fixed;
        top: 0;
        right: -100%; /* 初期状態は画面の右外に隠す */
        width: 80%; /* メニューの幅 */
        max-width: 320px;
        height: 100vh;
        background-color: rgba(10, 10, 10, 0.95); /* 漆黒・半透明 */
        padding-top: 100px;
        transition: right 0.3s ease;
        z-index: 9998;
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    }

    /* メニュー内のリンク設定 */
    .mobile-nav-menu {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .mobile-nav-menu li {
        text-align: center;
        margin-bottom: 25px;
    }
    .mobile-nav-menu a {
        color: #fff;
        text-decoration: none;
        font-size: 18px;
        font-family: "Hiragino Mincho ProN", "MS Mincho", serif;
        letter-spacing: 2px;
    }

    /* --- 開いた時の動き（JSで .is-open が付いた時） --- */
    /* メニューが右からスライドしてくる */
    .mobile-menu.is-open {
        right: 0;
    }
    /* ボタンが「×」印に変形する */
    .mobile-menu-toggle.is-open .hamburger-line:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }
    .mobile-menu-toggle.is-open .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.is-open .hamburger-line:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }
}