@charset "UTF-8";
/* ===================================================
   ヘッダー ＆ お知らせバー専用スタイル（header.css）
=================================================== */

/* ---------------------------------------------------
   1. 全体の余白リセット（固定クッションを完全に廃止）
--------------------------------------------------- */
.l-header {
    padding-top: 0 !important; 
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.l-header__content,
.l-1row-header,
.l-center-header,
.c-fluid-container,
.l-1row-header__branding,
.l-center-header__branding,
.c-site-branding {
    padding-top: 0 !important;
    margin-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.home .l-contents__inner:first-child,
.page-id-757 .l-contents__inner:first-child {
    padding-top: 0 !important;
}

.home .l-contents,
.page-id-757 .l-contents,
.home .l-contents__body,
.page-id-757 .l-contents__body,
.home .l-contents__inner,
.page-id-757 .l-contents__inner,
.home .l-contents__main,
.page-id-757 .l-contents__main,
.home .c-section,
.page-id-757 .c-section,
.home .c-entry__body,
.page-id-757 .c-entry__body,
.home .c-entry__content.c-container,
.page-id-757 .c-entry__content.c-container {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* ---------------------------------------------------
   2. 上部帯（お知らせバー）のデザインと配置
   ※PC・スマホ共通の自然配置
--------------------------------------------------- */
.c-top-banner-custom {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    position: relative !important; /* PC・スマホ共に自然な配置を強制 */
    width: 100% !important;
    background-color: #B92D33 !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 99999 !important;
}

.c-top-banner-custom__line1 {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important; /* スマホで自然に改行させる */
    color: #fff !important; 
    padding: 10px 15px !important;
    font-family: 'Frank Ruhl Libre', serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-align: center !important;
    line-height: 1.4 !important;
}

.c-top-banner-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #c1a15f !important; 
    color: #fff !important; 
    font-family: "Noto Sans JP", sans-serif;
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    padding: 3px 8px !important;
    margin-right: 12px !important;
    border-radius: 3px !important;
    letter-spacing: 0.05em !important;
    line-height: 1 !important;
}

/* 💡 スマホ閲覧時はお知らせバーを完全に非表示にしスペースを詰める */
@media screen and (max-width: 768px) {
    .c-top-banner-custom {
        display: none !important;
    }
}

/* ---------------------------------------------------
   3. PC限定 右下固定の情報パネルカード（開閉機能付き）
--------------------------------------------------- */
.c-fixed-info-wrapper {
    position: fixed !important;
    bottom: 100px !important;
    right: 30px !important;
    z-index: 99990 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    /* 💡 外枠（透明な壁）のタップ判定を無効化して下を触れるようにする */
    pointer-events: none !important; 
}

.c-info-toggle-check {
    display: none !important;
}

.c-info-toggle-btn--open {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: rgba(255, 255, 255, 0.95) !important;
    color: #111 !important;
    border: 1px solid rgba(193, 161, 95, 0.4) !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1) !important;
    
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
    padding: 0 25px !important;
    box-sizing: border-box !important;
    
    border-radius: 30px !important;
    font-family: "Noto Sans JP", sans-serif !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.05em !important;
    line-height: 1 !important; /* テキストによる縦伸びを防止 */
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
    backdrop-filter: blur(5px) !important;
    
    position: absolute !important;
    bottom: 0 !important;
    right: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(20px) !important;
    
    /* 💡 ボタン本体のタップは有効にする（タップ遅延防止・防弾仕様） */
    pointer-events: auto !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
    cursor: pointer !important;
}

/* 💡 ボタンの中のテキストがタップを横取りするのを防ぐ */
.c-info-toggle-btn--open * {
    pointer-events: none !important;
}

.c-info-toggle-btn--open:hover {
    background-color: #fff !important;
    border-color: #c1a15f !important;
    color: #B92D33 !important;
}

.c-info-toggle-btn--close {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    font-size: 1.5rem !important;
    line-height: 1 !important;
    color: #999 !important;
    transition: color 0.3s ease !important;
    padding: 5px !important;
    z-index: 10 !important;
    
    /* 💡 ×ボタンのタップ有効化と防弾仕様 */
    pointer-events: auto !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
    cursor: pointer !important;
}

.c-info-toggle-btn--close * {
    pointer-events: none !important;
}

.c-info-toggle-btn--close:hover {
    color: #B92D33 !important;
}

.c-fixed-info-panel {
    position: relative !important;
    bottom: auto !important;
    right: auto !important;
    width: 320px !important;
    background-color: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(193, 161, 95, 0.4) !important;
    border-radius: 12px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
    padding: 25px 20px !important;
    backdrop-filter: blur(5px) !important;
    font-family: "Noto Sans JP", sans-serif !important;
    color: #333 !important;
    
    transform-origin: bottom right !important;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: scale(1) translateY(0) !important;
    
    /* 💡 パネル本体のタップ判定有効化 */
    pointer-events: auto !important;
}

.c-info-toggle-check:not(:checked) ~ .c-fixed-info-panel {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: scale(0.9) translateY(20px) !important;
    pointer-events: none !important;
}

.c-info-toggle-check:not(:checked) ~ .c-info-toggle-btn--open {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.c-fixed-info-panel__title {
    text-align: center !important;
    margin-bottom: 15px !important;
    border-bottom: 1px solid #eee !important;
    padding-bottom: 10px !important;
}

.c-fixed-info-panel__title .en {
    display: block !important;
    font-family: 'Frank Ruhl Libre', serif !important;
    font-size: 1rem !important;
    color: #B92D33 !important;
    letter-spacing: 0.1em !important;
}

.c-fixed-info-panel__title .ja {
    display: block !important;
    font-size: 0.75rem !important;
    color: #666 !important;
    letter-spacing: 0.05em !important;
    margin-top: 3px !important;
}

/* CTAシンプルテキストリンク（黒文字） */
.c-fixed-info-panel__cta-simple {
    text-align: center !important;
    margin-bottom: 15px !important;
    padding-bottom: 10px !important;
    border-bottom: 1px dashed #ccc !important;
}

.c-fixed-info-panel__cta-simple a {
    display: block !important;
    color: #111 !important;
    text-decoration: none !important;
    font-size: 0.75rem !important;
    transition: opacity 0.3s ease !important;
}

.c-fixed-info-panel__cta-simple a:hover {
    opacity: 0.6 !important;
}

.c-fixed-info-panel__cta-simple .sub,
.c-fixed-info-panel__cta-simple .main,
.c-fixed-info-panel__cta-simple .arrow {
    display: inline-block !important;
    margin: 0 3px !important;
    color: #111 !important; 
}

.c-fixed-info-panel__cta-simple .main {
    font-weight: 700 !important;
}

.c-fixed-info-panel__cta-simple .arrow {
    font-size: 0.65rem !important;
}

/* 混雑状況の横長ボタンデザイン（テキストをリンクに変更） */
.c-fixed-info-panel__congestion {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background-color: #fafafa !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 6px !important;
    padding: 12px 15px !important;
    margin-bottom: 20px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.c-fixed-info-panel__congestion:hover {
    background-color: #fff !important;
    border-color: #c1a15f !important;
    box-shadow: 0 4px 10px rgba(193, 161, 95, 0.1) !important;
}

.c-fixed-info-panel__congestion-label {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: #B92D33 !important;
}

.c-fixed-info-panel__congestion-arrow {
    font-size: 0.7rem !important;
    color: #999 !important;
    transition: color 0.3s ease !important;
}

.c-fixed-info-panel__congestion:hover .c-fixed-info-panel__congestion-arrow {
    color: #c1a15f !important;
}

.c-fixed-info-panel__list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.c-fixed-info-panel__item {
    font-size: 0.8rem !important;
    line-height: 1.6 !important;
    margin-bottom: 12px !important;
    padding-left: 14px !important;
    position: relative !important;
}

.c-fixed-info-panel__item::before {
    content: "" !important;
    position: absolute !important;
    top: 8px !important;
    left: 0 !important;
    width: 6px !important;
    height: 6px !important;
    background-color: #c1a15f !important;
    border-radius: 50% !important;
}

.c-fixed-info-panel__btn-wrap {
    text-align: center !important;
    margin-top: 8px !important;
    margin-bottom: 15px !important;
    padding-left: 0 !important; 
}

.c-fixed-info-panel__btn {
    display: inline-block !important;
    margin-top: 0 !important;
    background-color: #B92D33 !important;
    color: #fff !important;
    padding: 8px 20px !important;
    border-radius: 4px !important;
    font-size: 0.75rem !important;
    text-decoration: none !important;
    transition: opacity 0.3s ease !important;
}

.c-fixed-info-panel__btn:hover {
    opacity: 0.8 !important;
    color: #fff !important;
}

.c-fixed-info-panel__item--faq {
    text-align: center !important;
    margin-top: 20px !important;
    padding-left: 0 !important;
}

.c-fixed-info-panel__item--faq::before {
    display: none !important; 
}

.c-fixed-info-panel__item--faq a {
    color: #111 !important;
    text-decoration: underline !important;
    font-size: 0.75rem !important;
    transition: color 0.3s ease !important;
}

.c-fixed-info-panel__item--faq a:hover {
    color: #c1a15f !important;
    text-decoration: none !important;
}

/* ★スマホ・タブレット画面向けの表示最適化（パネルを小さく配置） */
@media screen and (max-width: 1250px) {
    .c-fixed-info-wrapper {
        bottom: 90px !important;
        right: 15px !important;
        z-index: 99995 !important;
    }
    
    .c-fixed-info-panel {
        width: 280px !important;
        max-width: calc(100vw - 30px) !important;
        padding: 15px !important;
    }
    
    .c-info-toggle-btn--open {
        font-size: 0.85rem !important;
        
        /* 💡 翻訳ボタンと完全に同調させる高さ指定 */
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
        
        line-height: 1 !important;
        padding: 0 16px !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .c-fixed-info-panel__title .en {
        font-size: 0.9rem !important;
    }

    .c-fixed-info-panel__title .ja {
        font-size: 0.7rem !important;
    }

    .c-fixed-info-panel__item {
        font-size: 0.75rem !important;
        margin-bottom: 8px !important;
    }

    .c-fixed-info-panel__congestion-label {
        font-size: 0.8rem !important;
    }
    
    .c-fixed-info-panel__btn {
        padding: 6px 15px !important;
        font-size: 0.7rem !important;
    }
}

/* ---------------------------------------------------
   4. PC・大画面ヘッダー：ロゴ ＆ メニューの左寄せ
--------------------------------------------------- */
@media screen and (min-width: 1251px) {
    .sm-header__nav,
    .l-1row-header [role="navigation"],
    .l-center-header [role="navigation"] {
        margin-left: clamp(20px, 3vw, 50px) !important; /* 余白を可変に */
        margin-right: auto !important;
    }

    .p-global-nav .c-navbar__item a {
        padding-left: clamp(10px, 1.5vw, 20px) !important; /* 余白を可変に */
        padding-right: clamp(10px, 1.5vw, 20px) !important;
        font-size: clamp(12px, 1.1vw, 15px) !important; /* 文字サイズを可変に */
        white-space: nowrap !important; /* 改行を強制禁止 */
        transition: color 0.4s ease !important;
    }

    .p-global-nav .c-navbar__item>a:hover,
    .p-global-nav .c-navbar__item:hover>a {
        color: #c1a15f !important;
    }
}

/* ---------------------------------------------------
   5. PC・大画面ヘッダー：右側アクションボタン
--------------------------------------------------- */
@media screen and (min-width: 1251px) {
    /* 🚨 アクションボタン枠を確実に右端へ寄せる */
    .l-1row-header .c-row > .c-row__col--put-right,
    .l-center-header .c-row > .c-row__col--put-right {
        margin-left: auto !important;
        display: flex !important;
        justify-content: flex-end !important;
    }

    .c-header-actions {
        display: flex !important;
        align-items: center !important;
        gap: clamp(10px, 1.5vw, 15px) !important; /* 余白を可変に */
        margin-left: auto !important;
    }

    .c-header-btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: clamp(120px, 10vw, 150px) !important; /* 横幅を可変に */
        height: 45px !important;
        background-color: #B92D33 !important;
        color: #fff !important;
        border: 1px solid #B92D33 !important;
        border-radius: 3px !important;
        text-decoration: none !important;
        font-family: 'Frank Ruhl Libre', serif;
        font-size: clamp(12px, 0.8vw + 4px, 14px) !important; /* 文字サイズを可変に */
        letter-spacing: 0.1em !important;
        white-space: nowrap !important; /* 改行を強制禁止 */
        transition: all 0.3s ease !important;
    }

    .c-header-btn:hover {
        background-color: #fff !important;
        color: #B92D33 !important;
    }

    .c-header-lang__btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 45px !important;
        height: 45px !important;
        padding: 0 !important;
        background-color: #fff !important;
        border: 1px solid #e5e5e5 !important;
        border-radius: 8px !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        position: relative !important;
    }

    .c-header-lang__btn::before {
        content: "" !important;
        display: block !important;
        width: 22px !important;
        height: 22px !important;
        background-color: #111 !important;
        -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm6.93 6h-2.95a15.65 15.65 0 0 0-1.38-3.56A8.03 8.03 0 0 1 18.92 8zM12 4.04c.83 1.2 1.48 2.53 1.91 3.96h-3.82c.43-1.43 1.08-2.76 1.91-3.96zM4.26 14C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.33-.14 2 0 .67.06 1.34.14 2H4.26zm.82 2h2.95c.32 1.25.78 2.45 1.38 3.56A7.987 7.987 0 0 1 5.08 16zm2.95-8H5.08a7.987 7.987 0 0 1 4.33-3.56A15.65 15.65 0 0 0 8.03 8zM12 19.96c-.83-1.2-1.48-2.53-1.91-3.96h3.82c-.43-1.43-1.08 2.76-1.91 3.96zM14.34 14H9.66c-.09-.66-.16-1.34-.16-2 0-.66.07-1.34.16-2h4.68c.09.66.16 1.34.16 2 0 .67-.07 1.34-.16 2zm.25 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95a7.987 7.987 0 0 1-4.33 3.56zM16.36 14c.08-.66.14-1.33.14-2 0-.67-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2h-3.38z'/%3E%3C/svg%3E") !important;
        mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm6.93 6h-2.95a15.65 15.65 0 0 0-1.38-3.56A8.03 8.03 0 0 1 18.92 8zM12 4.04c.83 1.2 1.48 2.53 1.91 3.96h-3.82c.43-1.43 1.08-2.76 1.91-3.96zM4.26 14C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.33-.14 2 0 .67.06 1.34.14 2H4.26zm.82 2h2.95c.32 1.25.78 2.45 1.38 3.56A7.987 7.987 0 0 1 5.08 16zm2.95-8H5.08a7.987 7.987 0 0 1 4.33-3.56A15.65 15.65 0 0 0 8.03 8zM12 19.96c-.83-1.2-1.48-2.53-1.91-3.96h3.82c-.43-1.43-1.08 2.76-1.91 3.96zM14.34 14H9.66c-.09-.66-.16-1.34-.16-2 0-.66.07-1.34.16-2h4.68c.09.66.16 1.34.16 2 0 .67-.07 1.34-.16 2zm.25 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95a7.987 7.987 0 0 1-4.33 3.56zM16.36 14c.08-.66.14-1.33.14-2 0-.67-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2h-3.38z'/%3E%3C/svg%3E") !important;
        -webkit-mask-size: contain !important;
        mask-size: contain !important;
        -webkit-mask-repeat: no-repeat !important;
        mask-repeat: no-repeat !important;
        -webkit-mask-position: center !important;
        mask-position: center !important;
        transition: background-color 0.3s ease !important;
    }

    .c-header-lang__btn:hover {
        background-color: #f5f5f5 !important;
        border-color: #B92D33 !important;
    }

    .c-header-lang__btn:hover::before {
        background-color: #B92D33 !important;
    }
}

/* ---------------------------------------------------
   6. 中間サイズ・スマホヘッダー：早期格納レスポンシブ最適化
--------------------------------------------------- */
@media screen and (max-width: 1250px) {
    .l-header {
        padding-top: 0 !important;
    }

    /* 💡 PC用テキストメニューを非表示 */
    .p-global-nav,
    .l-1row-header__nav,
    .l-center-header__nav {
        display: none !important;
    }

    /* 🚨 究極の修正：ロゴの右側の空間を最大限に広げ、後続のボタン＆ハンバーガーを右端にピッタリ寄せる */
    .l-1row-header .c-row > .c-row__col:first-child,
    .l-center-header .c-row > .c-row__col:first-child {
        margin-right: auto !important;
    }

    /* 🚨 Snow Monkeyの余計な左余白をリセットし、間延びを防ぐ */
    .l-1row-header .c-row > .c-row__col--put-right,
    .l-center-header .c-row > .c-row__col--put-right {
        margin-left: 0 !important;
    }
    
    /* 🚨 1024px以上でSnow Monkeyが隠してしまう「ハンバーガーボタンの親枠」を強制復活させる */
    .l-1row-header .c-row > .c-row__col--lg-0-0,
    .l-center-header .c-row > .c-row__col--lg-0-0,
    .l-1row-header .c-row > .c-row__col:last-child,
    .l-center-header .c-row > .c-row__col:last-child {
        display: block !important;
    }
    
    .l-1row-header__controls,
    .l-center-header__controls {
        display: flex !important;
        align-items: center !important;
    }
    
    /* ハンバーガーボタン本体の表示設定 */
    .c-hamburger-btn {
        display: inline-flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        height: 60px !important;
        width: 60px !important;
        padding: 5px !important;
        box-sizing: border-box !important;
    }

    .c-hamburger-btn__bars {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        height: 16px !important;
        width: 24px !important;
        margin-bottom: 6px !important;
    }

    .c-hamburger-btn__bar {
        background-color: #111 !important;
        height: 2px !important;
        width: 100% !important;
        display: block !important;
        border-radius: 2px !important;
    }

    .c-hamburger-btn__label {
        color: #111 !important;
        font-family: inherit !important;
        letter-spacing: 0.1em !important;
        font-weight: 500 !important;
        font-size: 0.65rem !important;
        line-height: 1 !important;
    }

    .c-top-banner-custom__line1 {
        font-size: 0.7rem !important;
        padding: 10px 15px !important;
        line-height: 1.4 !important;
    }

    .c-top-banner-badge {
        font-size: 0.55rem !important;
        padding: 2px 6px !important;
        margin-right: 8px !important;
    }

    .c-header-actions {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        margin-right: 15px !important;
    }

    .c-header-lang {
        display: none !important;
    }

    .c-header-btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 100px !important;
        height: 36px !important;
        background-color: #B92D33 !important;
        color: #fff !important;
        font-family: 'Frank Ruhl Libre', serif;
        font-size: 0.75rem !important;
        border: 1px solid #B92D33 !important;
        border-radius: 3px !important;
    }
}

/* ---------------------------------------------------
   7. スマホ専用：お問い合わせボタンを非表示
--------------------------------------------------- */
@media screen and (max-width: 768px) {
    .c-header-actions .c-header-btn {
        display: none !important;
    }
}

/* 追従メニューのハミ出しを消す */
html body .l-header__drop-nav[aria-hidden="true"] {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
}

/* ヘッダーの影の滲みを消す */
html body .l-header,
html body .l-header--sticky-lg {
    box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important; 
    border-top: none !important;
}

/* ===================================================
   8. 空洞化（不要な余白）を強制排除するシステム補正
=================================================== */
.l-header .widget_block,
.l-header .wp-block-group {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.l-header p:empty,
.l-header br {
    display: none !important;
}

/* ===================================================
   ★ PC専用（1051px以上）：WordPress管理バー（ログイン時）表示中の考慮
   ※バナー自体の絶対配置は削除し、自然配置に任せています。
=================================================== */
@media screen and (min-width: 1051px) {
    .admin-bar .c-top-banner-custom {
        margin-top: 0px !important;
    }
}