/* ===================================
ヘッダースタイル
=================================== */
.header {
    background: var(--primary);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    /* 黄色のアクセントライン追加 */
    border-bottom: 3px solid var(--accent);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
    letter-spacing: 1.5px;
}

/* サイトタイトルの"2"を黄色に */
.site-title span {
    color: var(--accent) !important;
    font-weight: bold;
}

.site-title:hover {
    color: var(--accent-light);
}

.site-title:hover span {
    color: var(--accent-light) !important;
}

/* ===================================
ナビゲーション
=================================== */
.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

/* ドロップダウンメニュー */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-btn {
    background: none;
    border: none;
    color: #bdc3c7;
    font-size: 15px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
}

.nav-dropdown-btn i {
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

.nav-dropdown-btn:hover {
    background-color: rgba(52, 73, 94, 0.7);
    color: var(--text-light);
}

.dropdown-arrow {
    font-size: 10px;
    transition: transform 0.3s;
    color: #95a5a6;
}

.nav-dropdown-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-light);
    min-width: 200px;
    box-shadow: var(--shadow-md);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    margin-top: 10px;
    padding: 8px 0;
    border: 1px solid rgba(255,255,255,0.1);
}

.nav-dropdown:hover .nav-dropdown-content {
    opacity: 1;
    visibility: visible;
    margin-top: 5px;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-content a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
}

.nav-dropdown-content a i {
    font-size: 14px;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.nav-dropdown-content a:hover {
    background-color: rgba(243, 156, 18, 0.15);
    color: var(--accent-light);
    padding-left: 25px;
}

/* 現在のページのハイライト（ヘッダー） */
.nav-dropdown-content a.current-page {
    background-color: rgba(243, 156, 18, 0.2);
    color: var(--accent-light);
    font-weight: 600;
}

/* モバイルメニューボタン */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-light);
    padding: 5px;
    transition: color 0.3s;
}

.mobile-menu-btn:hover {
    color: var(--accent);
}



/* ===================================
フッタースタイル
=================================== */
.footer {
    background: var(--primary);
    color: white;
    margin-top: 50px;
    /* 上部に黄色のアクセントライン */
    border-top: 3px solid var(--accent);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section h3 i {
    font-size: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a i {
    font-size: 14px;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.footer-links a:hover {
    color: var(--accent);
}

/* 現在のページのハイライト（フッター） */
.footer-links a.current-page {
    color: var(--accent);
    font-weight: 600;
}

/* アイコンも含めて色を変更 */
.footer-links a.current-page i {
    color: var(--accent);
}

/* リストアイテムのパディング調整（マーカー削除） */
.footer-links li.current-page-item {
    /* マーカー用のパディングは不要なので削除 */
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--primary-light);
    color: #95a5a6;
    font-size: 14px;
}

.footer-bottom a {
    color: var(--accent);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
    color: var(--accent-light);
}

/* ===================================
フッター言語選択（プルダウン版）
=================================== */
.footer-language-select {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.language-select-label {
    display: block;
    color: #95a5a6;
    font-size: 12px;
    margin-bottom: 8px;
    font-weight: normal;
}

.language-select-label i {
    margin-right: 5px;
    color: #bdc3c7;
}

.footer-lang-select {
    width: 100%;
    padding: 8px 12px;
    background: rgba(52, 73, 94, 0.5);
    color: var(--text-light);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.footer-lang-select:hover {
    background: rgba(52, 73, 94, 0.8);
    border-color: var(--accent);
}

.footer-lang-select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(243, 156, 18, 0.3);
}

.footer-lang-select option {
    background: var(--primary-light);
    color: var(--text-light);
    padding: 5px;
}

.footer-lang-select option:disabled {
    color: #7f8c8d;
    font-style: italic;
}

/* ===================================
モバイル対応
=================================== */
@media (max-width: 768px) {
    .header-content {
        padding: 10px 15px;
    }

    .site-title {
        font-size: 20px;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: var(--primary);
        flex-direction: column;
        padding: 20px;
        gap: 10px;
        transition: left 0.3s;
        box-shadow: 2px 0 10px rgba(0,0,0,0.3);
        overflow-y: auto;
        align-items: stretch;
    }

    .nav-links.active {
        left: 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown-btn {
        width: 100%;
        justify-content: space-between;
        padding: 12px 20px;
        font-size: 16px;
    }

    .nav-dropdown-content {
        position: static;
        transform: none;
        box-shadow: none;
        background: rgba(52, 73, 94, 0.5);
        margin: 5px 0;
        opacity: 1;
        visibility: visible;
        display: none;
        border-radius: 5px;
        border: 1px solid rgba(255,255,255,0.1);
    }

    .nav-dropdown.active .nav-dropdown-content {
        display: block;
    }

    .nav-dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }

    /* モバイルでの現在のページハイライト */
    .nav-dropdown-content a.current-page {
        background-color: rgba(243, 156, 18, 0.25);
        border-left: 3px solid var(--accent);
    }

    /* 言語切替のモバイル対応 */
    .language-selector {
        width: 100%;
        margin: 20px 0 0 0;
        padding: 20px 0 0 0;
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.2);
        justify-content: center;
    }

    .lang-select {
        padding: 8px 16px;
        font-size: 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-content {
        padding: 30px 15px;
    }

    /* モバイルでのマーカー調整 */
    .footer-links a.current-page::before {
        left: -10px;
    }

    .footer-links li.current-page-item {
        padding-left: 10px;
    }
}