@charset "utf-8";

/* ========================================================================== 
   footer.css - Petit Maison KIRISHIMA Serenity Edition
   - PC表示のレイアウトバランス・中央配置を極限まで調整
   - 6項目ナビゲーションに完全対応
   ========================================================================== */

/* --- 1. ベース設定 --- */
.site-footer {
    width: 100%;
    background-color: var(--color-bg-base);
    border-top: 1px solid var(--color-primary);
    color: var(--color-text-main);
    font-family: var(--font-jp);
}

.site-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4%;
    box-sizing: border-box;
}

/* --- 2. 上段：ナビゲーション --- */
.footer-top {
    padding: 80px 0 50px;
}

.footer-nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.footer-nav li {
    display: flex;
    align-items: center;
    position: relative;
}

/* PC表示：項目間の区切り線 */
@media (min-width: 769px) {
    .footer-nav li:not(:last-child)::after {
        content: "";
        display: block;
        width: 1px;
        height: 14px;
        background: #e0e0e0;
        margin: 0 30px;
    }
}

.footer-nav a {
    color: var(--color-text-main);
    text-decoration: none !important;
    font-family: var(--font-jp);
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.1em;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.4s ease;
    white-space: nowrap;
}

.footer-nav a span {
    display: block;
    font-family: var(--font-en);
    font-size: 9px;
    color: var(--color-accent);
    margin-top: 8px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.footer-nav a:hover {
    color: var(--color-primary);
    transform: translateY(-2px);
    opacity: 0.7;
}

/* --- 3. 中段：ブランド・連絡先 --- */
.footer-middle {
    padding-bottom: 80px;
}

.footer-middle .container {
    border-top: 1px solid #f0f0f0; 
    padding-top: 60px;
    text-align: center;
}

.footer-brand {
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-family: var(--font-jp);
    font-weight: 700;
    font-size: 26px;
    color: var(--color-primary);
    margin: 0;
    letter-spacing: 0.15em;
    line-height: 1.4;
}

.footer-brand .sub-title {
    display: block;
    font-family: var(--font-en);
    font-weight: 400;
    font-size: 11px;
    color: var(--color-accent);
    margin-top: 12px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
}

/* お問い合わせ・書類送付先エリア（独立部分） */
.footer-contact-single {
    max-width: 500px;
    margin: 0 auto 50px;
    text-align: center;
}

.footer-contact-single .label {
    font-family: var(--font-jp);
    font-size: 13px;
    color: var(--color-accent);
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    display: inline-block;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 6px;
}

.footer-contact-single p {
    font-size: 14px;
    color: #555;
    margin-bottom: 6px;
    line-height: 1.6;
}

.footer-contact-single .mail {
    font-family: var(--font-en);
    font-size: 15px;
    letter-spacing: 0.05em;
}

/* 情報グリッドエリア：レクストン・西川グループを横並び */
.footer-info-grid {
    display: flex;
    justify-content: center;
    gap: 80px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.footer-info-grid .label {
    font-family: var(--font-jp);
    font-size: 13px;
    color: var(--color-accent);
    margin-bottom: 18px;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 8px;
    display: block;
    width: fit-content;
}

.group-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.group-links li {
    margin-bottom: 10px;
}

.group-links a,
.group-links li {
    font-size: 14px;
    color: #666;
}

.group-links a {
    text-decoration: none;
    transition: 0.3s ease;
    display: inline-block;
}

.group-links a:hover {
    color: var(--color-primary);
    transform: translateX(4px);
}

/* --- 4. 下段：コピーライト --- */
.footer-bottom {
    background-color: var(--color-primary);
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 30px 0;
}

.footer-bottom small {
    font-family: var(--font-en);
    font-size: 10px;
    letter-spacing: 0.15em;
    font-weight: 300;
}

/* --- 5. レスポンシブ (SP) --- */
@media (max-width: 768px) {
    .footer-top {
        padding: 60px 0 20px;
    }

    .footer-nav ul {
        flex-wrap: wrap; 
    }

    .footer-nav li {
        width: 50%;
        padding: 20px 0;
        border-bottom: 1px solid #f9f9f9;
        justify-content: center;
    }

    .footer-nav li::after {
        display: none !important;
    }

    .footer-nav li:nth-child(odd) {
        border-right: 1px solid #f9f9f9;
    }

    .footer-nav li:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .footer-info-grid {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        max-width: 100%;
    }
    
    .footer-info-grid .label {
        margin: 0 auto 20px;
    }

    .group-links a:hover {
        transform: none;
    }
}
