/* css/style.css */
:root {
    --main-color: #005b52; /* お茶大風の深い緑 */
    --sub-color: #f2f7f6;  /* 薄い背景色 */
    --accent-color: #c9a063; /* ゴールド系のアクセント（お酒っぽさも） */
    --text-color: #333333;
    --font-gothic: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    --font-mincho: "Hiragino Mincho ProN", "Yu Mincho", serif;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-gothic);
    color: var(--text-color);
    line-height: 1.6;
    background-color: #ffffff;
}

a {
    color: var(--main-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* 共通コンテナ */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== ヘッダー (header.html) ========== */
.site-header {
    background-color: #ffffff;
    border-top: 5px solid var(--main-color);
    border-bottom: 1px solid #e0e0e0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.header-logo {
    display: flex;
    align-items: center;
}

.header-logo-text {
    font-family: var(--font-mincho);
    font-size: 24px;
    font-weight: bold;
    color: var(--main-color);
    letter-spacing: 2px;
}

.header-logo-sub {
    font-family: var(--font-gothic);
    font-size: 10px;
    color: #666;
    display: block;
    margin-top: 2px;
}

/* グローバルナビゲーション */
.global-nav {
    background-color: var(--main-color);
}

.global-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.global-nav li {
    position: relative;
}

.global-nav a {
    display: block;
    padding: 15px 30px;
    color: #ffffff;
    font-weight: bold;
    transition: background-color 0.3s;
}

.global-nav a:hover {
    background-color: #00453e;
    text-decoration: none;
}

/* ========== フッター (footer.html) ========== */
.site-footer {
    background-color: var(--main-color);
    color: #ffffff;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.site-footer a {
    color: #ffffff;
}

.footer-contents {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 30px;
    margin-bottom: 20px;
}

.footer-info h3 {
    font-family: var(--font-mincho);
    font-size: 20px;
    margin-top: 0;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.copyright {
    text-align: center;
    font-size: 12px;
}

/* css/style.css に追記 */

/* ========== ハンバーガーメニューボタン ========== */
.menu-btn {
    display: none; /* PCでは非表示 */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 100;
}
.menu-btn-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--main-color);
    margin-bottom: 5px;
    transition: all 0.3s;
}
.menu-btn-line:last-child {
    margin-bottom: 0;
}

/* メニュー展開時の「×」になるアニメーション */
.menu-btn.is-active .menu-btn-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.menu-btn.is-active .menu-btn-line:nth-child(2) {
    opacity: 0;
}
.menu-btn.is-active .menu-btn-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ========== レスポンシブ対応 (画面幅 768px 以下) ========== */
@media screen and (max-width: 768px) {
    /* ヘッダー周りの調整 */
    .header-logo-text {
        font-size: 18px; /* スマホではロゴを少し小さく */
    }
    .header-utils {
        display: none; /* スマホでは右上の細かい文字を隠す */
    }
    .menu-btn {
        display: block; /* スマホでハンバーガーボタンを表示 */
    }

    /* メニューをスマホ向けに縦並び＆折りたたみ */
    .global-nav {
        display: none; /* 初期状態は隠す */
        width: 100%;
        position: absolute; /* ヘッダーの下に重ねて表示 */
        left: 0;
        z-index: 99;
    }
    .global-nav.is-active {
        display: block; /* ボタンクリックで表示 */
    }
    .global-nav ul {
        flex-direction: column; /* 縦並びにする */
    }
    .global-nav a {
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.2);
    }

    /* フッターを縦並びに */
    .footer-contents {
        flex-direction: column;
    }
    .footer-info {
        margin-bottom: 20px;
    }
}