/*!https://enigmo.co.jp/?custom-css=fb4c29024d*//*--------------------------------------------------------------
Footer Layout Fix (Enigmo)
--------------------------------------------------------------*/
/* フッター親コンテナ：Flexboxの適用と左右分離 */
.site-footer .footer-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 40px !important;
    max-width: 1080px !important;
    margin: 0 auto 30px !important;
    padding: 0 32px !important;
    box-sizing: border-box !important;
}

/* 左側ブロック：BUYMA〜STYLE HAUS（幅を固定して縮小を防止） */
.site-footer .footer-container .list-footer--vertical {
    float: none !important; /* 既存のfloatを解除 */
    flex: 0 0 260px !important; /* 横幅を260pxに完全固定し縮小を禁止 */
    width: 260px !important;
    min-width: 260px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.site-footer .footer-container .list-footer--vertical li {
    float: none !important;
    line-height: 2 !important;
    white-space: nowrap !important; /* テキストの改行を防止 */
}

/* 右側ブロック：企業情報〜個人情報保護方針（右寄せ・自動折り返し） */
.site-footer .footer-container .list-footer--horizontal {
    float: none !important; /* 既存のfloatを解除 */
    flex: 1 1 auto !important; /* 残りの横幅をすべて専有 */
    width: auto !important;
    display: flex !important;
    flex-wrap: wrap !important; /* 幅が足りなくなったら自然に改行 */
    justify-content: flex-end !important; /* 右端揃え */
    align-items: center !important;
    gap: 8px 18px !important; /* 項目同士の間隔 */
    margin: 0 0 0 auto !important; /* 右側へオフセット */
    padding: 0 !important;
    list-style: none !important;
}

.site-footer .footer-container .list-footer--horizontal li {
    display: inline-block !important;
    float: none !important;
    margin: 0 !important;
    line-height: 1.6 !important;
    white-space: nowrap !important; /* 項目単位での改行を維持 */
}

/* スマートフォン表示対応（画面幅767px以下） */
@media screen and (max-width: 767px) {
    .site-footer .footer-container {
        flex-direction: column !important; /* 縦並びにして表示崩れを防止 */
        gap: 24px !important;
        padding: 0 20px !important;
    }

    .site-footer .footer-container .list-footer--vertical {
        flex: 1 1 100% !important;
        width: 100% !important;
        min-width: 100% !important;
    }

    .site-footer .footer-container .list-footer--horizontal {
        width: 100% !important;
        justify-content: flex-start !important; /* スマホでは左寄せに戻す */
        margin-left: 0 !important;
        gap: 8px 14px !important;
    }
}