/* ============================================================
footer用スタイル
============================================================ */
.footer {
    background-color: #000;
    padding: 3% 4% 1%;
}

.footer-inner {
    display: flex;
    flex-direction: column;
}

.footer-banner {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 14px;
    width: 100%;
    margin: 0 auto;
    padding: 10px 0;
    box-sizing: border-box;
    margin-bottom: 32px;
    border-bottom: 1px solid #707070;
    padding-bottom: 32px;
    order: 0;
}

.footer-banner a img {
    transition: opacity 0.3s ease;
}

.footer-banner a:hover img {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    opacity: 0.6;
}

.footer-main a img {
    transition: opacity 0.3s ease;
}

.footer-main a:hover img {
    opacity: 0.5;
    /* 好みで調整：0は透明、1は元の状態 */
}

.footer-cont {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 32px;
    order: 1;
}

.footer-main {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    width: 100%;
    max-width: 260px;
    padding-bottom: 32px;
}

.footer-main p {
    color: #fff;
    font-size: 14px;
    font-family: "Hiragino Kaku Gothic Pro", "メイリオ", "游ゴシック", "Yu Gothic", sans-serif;
    font-weight: 500;
}

.footer-main .fine-print {
    color: #b6b6b6;
    font-size: 14px;
    font-family: "Hiragino Kaku Gothic Pro", "メイリオ", "游ゴシック", "Yu Gothic", sans-serif;
    font-weight: 100;
}

.footer-access img {
    width: 100%;
    max-width: 16px;
    margin-right: 6px;
}

.footer-note p {
    font-size: 12px;
    color: #9F9F9F;
}

.footer-menu {
    width: 100%;
    max-width: 50%;
    padding-top: 16px;
}

.footer-text {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-text a {
    position: relative;
    padding-right: 12px;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

.footer-text a:hover {
    color: #9F0515;
}

.footer-menu a::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 14px;
    background-color: #ccc;
}

.footer-menu a:last-child::after {
    display: none;
}

.footer-sns-cont {
    gap: 24px;
}

.photocopylight {
    font-size: 14px;
    color: #9F9F9F;
    order: 2;
}

.sp {
    display: none;
}

.tb {
    display: none;
}

.footer-sns .sns-icon {
    transition: opacity 0.3s ease;
}

.footer-sns .sns-icon:hover {
    opacity: 0.6;
}

@media screen and (max-width: 1380px) {
    .footer-cont {
        justify-content: space-between;
    }

    .footer-main {
        margin-bottom: 24px;
    }

    .footer-main .fine-print {
        color: #b6b6b6;
        font-size: 14px;
        font-family: "Hiragino Kaku Gothic Pro", "メイリオ", "游ゴシック", "Yu Gothic", sans-serif;
        font-weight: 100;
    }

    .photocopylight {
        justify-content: center;
    }

    .footer-menu {}

    .footer-text {
        margin-bottom: 16px;
        text-align: right;
        justify-content: flex-end;
    }

    .footer-sns.tb {
        display: block;
        text-align: right;
        justify-content: flex-end;
    }

    .footer-sns.tb .footer-sns-cont {
        text-align: right;
        justify-content: flex-end;
    }

    .footer-sns {
        display: none;
    }

    .footer-menu a:last-child::after {
        display: block;
    }
}

@media screen and (max-width: 768px) {
    .footer {
        padding: 24px 16px;
    }

    .footer-inner {
        flex-direction: column;
    }

    .footer-banner {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-bottom: 32px;
        border-bottom: none;
        padding-bottom: 0;
    }

    .footer-banner .banner img {
        width: 100%;
        height: auto;
        display: block;
    }

    .footer-menu a:last-child::after {
        display: none;
    }

    .footer-cont {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin-bottom: 32px;
        flex-direction: column;
        order: 0;
    }

    .footer-main {
        display: flex;
        flex-direction: column;
        order: 3;
        text-align: center;
    }

    .footer-menu {
        width: 100%;
        max-width: 100%;
        padding-top: 0px;
        margin-bottom: 16px;
    }

    .footer-text {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 16px;
        text-align: left;
    }

    .footer-text a {
        flex: 1 1 100%;
        padding: 4px 0;
        border-bottom: 1px solid #6e6e6e;
        box-sizing: border-box;
    }

    .footer-menu a::after {
        display: none;
    }

    .footer-sns {
        display: block;
        margin: 0 auto;
        order: 2;
        margin-bottom: 32px;
    }

    .footer-sns.tb {
        display: none;
    }

    .footer-sns.tb .footer-sns-cont {
        justify-content: center;
    }

    .photocopylight {
        text-align: center;
        order: 4;
    }

    .footer-banner.sp {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .pc {
        display: none;
    }

    .tb {
        display: none;
    }

    .footer-logo {
        width: 0;
    }
}