@charset "utf-8";

/* ============================================================
    footer.css - Footer Section
    西川グループの統一感を持たせたデザイン（南栄店仕様）
   ============================================================ */

.footer {
    background-color: #1a3d32; /* 西川グループ共通の深い緑 */
    color: #ffffff;
    padding: 60px 0 30px;
    margin-top: 0;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

/* コンテナ内のレイアウト調整 */
.footer .container {
    max-width: 1000px; /* メニューの800pxより少し広めに設定 */
    margin: 0 auto;
    padding: 0 20px; 
}

.footer-content {
    display: flex;
    /* 中央寄せを維持し、適切な距離を保つ */
    justify-content: center; 
   /* align-items: flex-start; ←これを削除または変更 */
    align-items: center; /* 追加：垂直方向の中央寄せ */
    flex-wrap: wrap;
    /* ロゴとナビゲーションの間の距離 */
    gap: 80px; 
    padding-bottom: 40px;
}

/* --- ロゴ・店舗情報エリア --- */
.footer-logo {
    flex: 0 1 auto; 
    min-width: 280px; /* 住所が入るため少し幅を広めに確保 */
    display: flex;
    flex-direction: column;

    /* ←←★ 修正ポイント：ロゴエリア中央寄せ ★→→ */
    align-items: center;
    text-align: center;
}

/* ロゴを囲むリンク（aタグ）の調整 */
.footer-logo a {
    display: inline-block;
    line-height: 0; 
    margin-bottom: 15px; 
    text-decoration: none;
}

/* ロゴ画像自体の設定 */
.footer-logo img,
.footer-logo-img {
    width: 200px;
    height: auto;
    display: block;
    /* 背景透過ではない画像の場合は下をコメントアウト */
    /* filter: brightness(0) invert(1); */
}

/* キャッチコピー */
.footer-catch {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.9;
    margin: 0 0 20px 0;
    font-weight: bold;
}

/* 住所・電話番号エリア */
.footer-address {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.8;
}

.footer-address p {
    margin: 0;
}

.footer-address .shop-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
    opacity: 1;
}

.footer-address .tel {
    margin-top: 5px;
    font-size: 16px;
    font-weight: 700;
}

/* --- Instagramボタンエリア（追記箇所） --- */
.footer-insta-wrapper {
    margin-top: 20px;
}

.footer-insta-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 8px 20px !important;
    font-size: 13px !important;
    font-weight: bold;
    letter-spacing: 0.05em;
    text-decoration: none;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.footer-insta-btn i {
    font-size: 16px;
    color: #ffffff;
    transition: color 0.3s ease;
}

/* ホバー時の挙動 */
.footer-insta-btn:hover {
    background: #ffffff !important;
    color: #1a3d32 !important;
    border-color: #ffffff;
}

.footer-insta-btn:hover i {
    color: #1a3d32;
}

/* --- ナビゲーションエリア --- */
.footer-nav {
    flex: 0 1 auto; 
    min-width: 200px;
}

/* ナビゲーションの見出し */
.nav-title {
    font-size: 12px;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: bold;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav li {
    margin: 0;
}

.footer-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.3s ease;
}

.footer-nav a:hover {
    opacity: 0.6;
    text-decoration: underline;
}

/* --- コピーライトエリア --- */
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

.footer-bottom small {
    font-size: 12px;
    font-style: normal;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.6);
    display: block;
}

/* ============================================================
    Responsive Settings
   ============================================================ */

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }

    .footer-logo {
        align-items: center; 
    }

    .footer-nav ul {
        align-items: center;
    }

    .footer-logo img,
    .footer-logo-img {
        width: 180px;
    }
}

@media (max-width: 480px) {
    .footer-nav a {
        font-size: 13px;
    }
    
    .footer-address {
        font-size: 13px;
    }
}