/*
 Theme Name:   soua-2026
 Template:     lightning
 Author:       soua-support
 */
/* --------------------------------------------------
 * オリジナルフッターのベース
 * -------------------------------------------------- */
html body .site-footer {
    background-color: #1e3a5f !important; /* 背景色：誠実なネイビー */
    color: #e2e8f0 !important;            /* 文字色：明るい薄グレー */
    padding: 60px 0 0 !important;          /* 上下の余白 */
    font-size: 14px;
    line-height: 1.8;
    width: 100% !important;
    max-width: 100% !important;
}

/* 4カラムを包む外枠コンテナ */
html body .site-footer .footer-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px 40px !important;
    box-sizing: border-box !important;
}

/* 🖥️ PC大画面（横幅992px以上）のときは絶対に横一列に固定 */
@media (min-width: 992px) {
    html body .site-footer .footer-container {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
    }
    
    /* 💡 テーマ側の縦並びルール（gridやblock）を完全に上書きして4等分にする */
    html body .site-footer .footer-container .footer-block {
        flex: 1 1 25% !important;   /* 均等に4等分 */
        width: 25% !important;      /* 幅を25%に固定 */
        max-width: 25% !important;  /* 最大幅も25%に制限 */
        padding: 0 20px !important;
        box-sizing: border-box !important;
        display: block !important;  /* 縦並びの挙動を解除 */
        float: none !important;
    }
    
    /* ブロックの最初（ロゴエリア）以外に縦の仕切り線を入れる */
    html body .site-footer .footer-container .footer-block:not(:first-child) {
        border-left: 1px solid rgba(255, 255, 255, 0.15) !important;
        border-top: none !important;
    }
}

/* 📱 スマホ・タブレット表示用（画面が狭い時は1列の縦並びにする） */
@media (max-width: 991px) {
    html body .site-footer .footer-container {
        display: block !important;
    }
    html body .site-footer .footer-container .footer-block {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 10px 30px !important;
        display: block !important;
    }
    html body .site-footer .footer-container .footer-block:not(:first-child) {
        border-left: none !important;
        border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
        padding-top: 25px !important;
    }
}

/* --------------------------------------------------
 * 各パーツの装飾
 * -------------------------------------------------- */

/* 左側ブロック：ロゴ・メッセージ・SNS */
.footer-logo {
    display: block !important;
    margin-bottom: 15px !important;
}
.footer-logo img {
    max-width: 160px !important;
    height: auto !important;
    display: block !important;
}

/* ロゴ下のメッセージ */
.footer-msg {
    font-size: 13px !important;
    color: #cbd5e1 !important;
    margin: 0 0 15px 0 !important;
    line-height: 1.6 !important;
}

/* SNS・メールリンクボタンエリア */
.footer-sns {
    display: flex !important;
    gap: 12px !important;
    margin-bottom: 20px !important;
}
.footer-sns a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}
.footer-sns a:hover {
    background-color: #52B4A7 !important;
    border-color: #52B4A7 !important;
    transform: translateY(-2px) !important;
}
.footer-sns a svg {
    display: block !important;
    width: 16px !important;
    height: 16px !important;
}

/* 各ブロックの見出し（下線アクセント） */
.footer-heading,
.site-footer h4 {
    color: #ffffff !important;
    background: none !important;
    background-color: transparent !important;
    padding: 0 0 10px 0 !important;
    margin-top: 0 !important;
    margin-bottom: 20px !important;
    font-size: 15px !important;
    font-weight: bold !important;
    border: none !important;
    border-bottom: 2px solid #ffffff !important;
}

/* ナビゲーションリスト */
.footer-nav ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.footer-nav li {
    margin-bottom: 12px !important;
}
.footer-nav a {
    color: #cbd5e1 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}
.footer-nav a:hover {
    color: #52B4A7 !important;
    text-decoration: underline !important;
}

/* --------------------------------------------------
 * 🔒 最下部・コピーライトエリア
 * -------------------------------------------------- */
.footer-bottom {
    background-color: #1e3a5f !important;
    padding: 25px 20px !important;
    text-align: center !important;
    border: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important; /* 上部に白い仕切り線 */
    margin: 0 !important;
    width: 100% !important;
}

.footer-bottom-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.copyright {
    margin: 0 !important;
    font-size: 12px !important;
    color: #cbd5e1 !important;
    font-weight: normal !important;
}
