/* うつくし明朝 */
@font-face {
    font-family: 'UtsukushiMincho';
    src: url('../font/UtsukushiMincho-FONT/TrueTypeサポート外/02UtsukushiMincho.ttf') format('truetype');
}

/* --- Base Styles (PC Version) --- */
.footer_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem 5rem;
    background-color: #000C5BFC;
}

.footer_large_box {
    margin-left:13rem;
}

.footer_logo_box {
    margin-bottom: 2rem;
}

.footer_logo_box img {
    width: 30rem;
    height: 10rem;
    object-fit: contain;
}

.footer_address {
    font: normal normal bold 1.7rem/2.5rem Noto Serif JP;
    color: #FFFFFF;
    text-align: left;
}

.footer_address2 {
    font: normal normal bold 1.7rem/2.5rem Noto Serif JP;
    color: #FFFFFF;
    text-align: left;
    margin-left: 5.5rem;
}

.footer_contact_container {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

.footer_phone_link,
.footer_web_link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    gap: 1rem;
    background-color: #FFFFFF;
    width: 30rem;
    height: 4.8rem;
    border-radius: 2.4rem;
    overflow: hidden;
    white-space: nowrap;
    box-shadow: 0 0.2rem 0.5rem rgba(0,0,0,0.2);
    transition: transform 0.2s;
}

.footer_phone_link:hover,
.footer_web_link:hover {
    transform: scale(1.03);
}

.icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.web_icon { background-image: url('../img/webiconfooter.png'); }
.phone_icon { background-image: url('../img/phoneiconfooter.png'); }

.footer_phone_text,
.footer_web_text {
    font: normal normal bold 2.5rem/3.6rem 'Noto Serif JP';
    color: #C70782;
}

.footer_link_box {
    margin-right:12rem;
    position: relative;
}
.footer_link_box::after {
    content: "";
    position: absolute;
    top: -5rem;
    right: 50rem;
    width: 0.3rem;
    height: 25rem;
    background-color: #FFFFFF;
}

.footer_link_list {
    list-style: none;
    padding: 0;
    margin: 0;
    column-count: 2;
    column-gap: 4.5rem;
}

.footer_link {
    font: normal normal bold 1.6rem/2.3rem Noto Serif JP;
    color: #FFFFFF;
    text-decoration: none;
}

.footer_link_item {
    break-inside: avoid;
    margin-bottom: 4rem;
}

/* --- Visibility Control --- */
.sp_only {
    display: none;
}

/* --- Responsive Styles (SP Version) --- */
@media screen and (max-width: 699.98px) {
    .pc_only {
        display: none;
    }
    .sp_only {
        display: block;
    }

    .footer_container_sp {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3rem;
        padding: 1rem 1rem;
        background-color: #000C5BFC;
    }

    .footer_link_list_sp {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        margin-left:-10rem;
        margin-top:-1rem;
    }

    .sp_only .footer_address,
    .sp_only .footer_address2 {
        text-align: center;
        margin-left: 0;
    }

    .sp_only .footer_phone_link,
    .sp_only .footer_web_link {
        width: 30rem;
        margin-bottom:1.5rem;
    }
    .footer_logo_box_sp{
        width:25.6rem;
        height:8.4rem;
    }
    .footer_link_item_sp{
        margin-bottom:3rem;
    }
}
