/* --------------------------------------------------
   ベーススタイル
-------------------------------------------------- */
.site-header {
    position: fixed; /* ヘッダーを固定（追従） */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: #fff; /* 初期背景色 */
    box-shadow: 0 1px 10px rgba(0,0,0,0.1);
    transition: background-color 0.3s, padding 0.3s;
}

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

/* スクロール時の変化（必要なら調整） */
.site-header.is-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 5px 20px; /* 少し高さを縮める */
}

/* --------------------------------------------------
   ロゴ
-------------------------------------------------- */
.header-logo img {
    height: 50px; /* ロゴの高さ調整 */
    width: auto;
    display: block;
}

/* --------------------------------------------------
   PC用コンテンツ（ナビ・SNS・言語）
-------------------------------------------------- */
.header-contents-pc {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* ナビゲーション */
.header-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.header-nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 15px;
    font-family: 'Noto Sans JP', sans-serif;
    transition: color 0.3s;
}

.header-nav ul li a:hover {
    color: #ad7b49; /* テーマカラー */
}

/* SNSアイコン */
.header-sns {
    display: flex;
    gap: 10px;
}
.header-sns a {
    color: #ad7b49;
    font-size: 18px;
}

/* 言語切替ボタン */
.header-lang {
    position: relative;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    list-style: none;
    padding: 10px;
    margin: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    min-width: 120px;
    border-radius: 4px;
}

.header-lang:hover .lang-dropdown {
    display: block;
}

.lang-dropdown li a {
    display: block;
    padding: 5px 10px;
    color: #333;
    text-decoration: none;
}
.lang-dropdown li a:hover {
    background: #f5f5f5;
    color: #ad7b49;
}

/* --------------------------------------------------
   スマホ表示（レスポンシブ）
-------------------------------------------------- */
.mobile-menu-btn, .mobile-menu-wrap {
    display: none; /* PCでは非表示 */
}

@media screen and (max-width: 991px) {
    .header-contents-pc {
        display: none; /* スマホではPC用コンテンツを非表示 */
    }

    /* ハンバーガーボタン */
    .mobile-menu-btn {
        display: block;
        width: 30px;
        height: 20px;
        position: relative;
        cursor: pointer;
        z-index: 10001;
    }
    .mobile-menu-btn span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #333;
        transition: all 0.3s;
    }
    .mobile-menu-btn span:nth-of-type(1) { top: 0; }
    .mobile-menu-btn span:nth-of-type(2) { top: 50%; transform: translateY(-50%); }
    .mobile-menu-btn span:nth-of-type(3) { bottom: 0; }

    /* ハンバーガーのアクティブ状態（×印） */
    .mobile-menu-btn.active span:nth-of-type(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .mobile-menu-btn.active span:nth-of-type(2) {
        opacity: 0;
    }
    .mobile-menu-btn.active span:nth-of-type(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* スマホメニュー本体 */
    .mobile-menu-wrap {
        display: block;
        position: fixed;
        top: 0;
        right: -100%; /* 最初は画面外へ隠す */
        width: 80%;
        height: 100vh;
        background: #fff;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        transition: right 0.4s ease;
        padding-top: 60px;
        z-index: 10000;
        overflow-y: auto;
    }

    .mobile-menu-wrap.active {
        right: 0; /* スライドイン */
    }

    .mobile-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .mobile-nav ul li {
        border-bottom: 1px solid #eee;
    }
    .mobile-nav ul li a {
        display: block;
        padding: 15px 20px;
        color: #333;
        text-decoration: none;
        font-weight: bold;
    }

    .mobile-lang-list {
        padding: 20px;
        background: #f9f9f9;
    }
    .mobile-lang-list p {
        font-weight: bold;
        margin-bottom: 10px;
    }
    .mobile-lang-list a {
        display: inline-block;
        margin-right: 10px;
        padding: 5px 10px;
        background: #fff;
        border: 1px solid #ddd;
        border-radius: 4px;
        text-decoration: none;
        color: #333;
    }
}