/* 
 * OrandaMap Footer Style
 * SWELL標準アイコン (icomoon) 対応
 */

#footer {
    position: relative;
    /* 背景画像へのオーバーレイ設定（画像パスは環境に合わせて調整してください） */
    background-image: linear-gradient(rgba(0, 0, 40, 0.4), rgba(0, 0, 40, 0.4)) !important;
    color: white;
}

/* ウィジェット内の区切り線を馴染ませる */
.l-footer .c-widget li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.w-footer__box+.w-footer__box {
    margin-top: 0em;
}

.w-footer__box {
    padding: 1em 1em;
}

.c-widget+.c-widget {
    margin-top: 0em;
}

/* スマホ表示時のアコーディオン・スタイル */
@media (max-width: 767px) {

    /* タイトル（親メニュー）をアコーディオンのトリガーにする */
    .l-footer .menu-item-has-children>a {
        position: relative;
        display: block;
        padding-right: 30px;
    }

    /* SWELL標準アイコン (icomoon) の追加 */
    .l-footer .menu-item-has-children>a::after {
        content: "\e910";
        /* icon-chevron-down */
        font-family: icomoon;
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        transition: transform 0.3s ease;
    }

    /* アクティブ時の矢印回転 */
    .l-footer .menu-item-has-children.is-active>a::after {
        transform: translateY(-50%) rotate(180deg);
    }

    /* サブメニューの初期状態（非表示） */
    .l-footer .sub-menu {
        display: none;
        padding-left: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 10px;
    }

    .w-footer__box {
        padding: 0em 0;
    }
}