/*---------------------------------------------------------
                お問い合わせ
---------------------------------------------------------*/
#contact  {
    padding: 90px 90px 0;
    background: var(--main-color);
}
#contact .inner {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 90px;
    border-bottom: 1px solid var(--text-sub-color2);
}
#contact .ttl_box {
    flex: 1;
}
#contact .ttl_main {
    color: var(--text-sub-color2);
}
#contact .txt {
    line-height: 1.7;
    margin-top: 24px;
    color: var(--text-sub-color2);
    font-size: 16px;
}
#contact .link_box {
    overflow: visible;
    display: flex;
    gap: 8px;
    width: 50%;
    margin-top: -200px;
}
#contact .link_box a {
    position: relative;
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    aspect-ratio: 377 / 471;
    transition: .5s;
}
#contact .link_box a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    transition: .5s;
}
#contact .link_box a:first-of-type::before {
    background-image: url(../img/img_contact1.png);
    background-position: right;
}
#contact .link_box a:last-of-type::before {
    background-image: url(../img/img_contact2.png);
    background-position: left;
}
#contact .link_box a::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: #605851;
    mix-blend-mode: multiply;
}
#contact .link_box a svg {
    position: relative;
    z-index: 2;
    width: 56px;
    fill: none;
    stroke: var(--text-sub-color2);
}
#contact .link_box a .contact_name {
    position: relative;
    z-index: 2;
    margin-top: 20px;
    line-height: 1;
    color: var(--text-sub-color2);
    font-size: clamp(13px,2.4vw,24px);
    font-weight: 600;
}
#contact .link_box a .txt_link {
    position: relative;
    z-index: 2;
    margin-top: 6px;
    color: var(--text-sub-color2);
    font-size: 14px;
}

@media (hover: hover) and (pointer: fine) {
    #contact .link_box a:hover {
        transform: translateY(-20px);
    }
    #contact .link_box a:hover::before {
        filter: blur(12px);
    }
}

footer {
    margin-top: 340px;
    background: var(--main-color);
}
footer .footer_inner {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding: 90px;
}
footer .logo {
    flex: 1;
}
footer .logo svg {
    width: 200px;
    fill: var(--text-sub-color2);
}
footer .logo .logo_beside {
    display: none;
}
footer .footer_content {
    width: 50%;
}
footer .footer_content .footer_nav {
    display: flex;
    flex-wrap: wrap;
    gap: 28px 32px;
}
footer .footer_content .footer_nav li a {
    line-height: 1;
    color: var(--text-sub-color2);
    font-size: 14px;
    font-weight: 600;
}
footer .footer_content .footer_nav li a span {
    display: block;
    line-height: 1;
    padding-bottom: 5px;
    font-weight: 400;
    letter-spacing: 0.04em;
}
footer .footer_content .info {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 56px;
    color: var(--text-sub-color2);
}
footer .footer_content .info .address {
    line-height: 1.7;
    font-size: 13px;
}
footer .footer_content .info .address span {
    display: block;
    line-height: 1.3;
    padding-bottom: 2px;
}
footer .footer_content .info .address a {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    color: var(--text-sub-color2);
}
footer .footer_content .info .address a img {
    width: 9px;
    height: auto;
}
footer .footer_content .info dl {
    display: flex;
    align-items: center;
    gap: 20px;
    line-height: 1.6;
    font-size: 13px;
}
footer .footer_content .info dt {
    font-weight: 500;
}
footer .footer_content .info dl a {
    color: var(--text-sub-color2);
}
footer .footer_content .footer_bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: 80px;
}
footer .footer_content .footer_bottom small {
    color: var(--text-sub-color2);
    font-size: 13px;
}
footer .footer_content .footer_bottom .contact_box {
    display: flex;
    align-items: center;
    gap: 24px;
}
footer .footer_content .footer_bottom .contact_box a svg {
    width: 25px;
    fill: none;
    stroke: var(--text-sub-color2);
}

@media screen and (max-width: 1280px) {
    #contact {
        padding: 80px 5% 0;
    }
    #contact .inner {
        padding-bottom: 60px;
    }
    footer .footer_inner {
        padding: 80px 5%;
    }
}

@media screen and (max-width: 990px) {
    /* footer {
        margin-top: 120px;
    } */
    #contact .inner {
        flex-direction: column;
    }
    #contact .link_box {
        width: 60%;
        min-width: 500px;
        margin: 0 auto;
    }
    #contact .link_box a svg {
        width: 40px;
    }
    footer .footer_inner {
        flex-direction: column;
    }
    footer .logo svg {
        width: 40%;
        margin: 0 auto;
    }
    footer .logo .logo_vertical {
        display: none;
    }
    footer .logo .logo_beside {
        display: block;
    }
    footer .footer_content {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    footer {
        margin-top: 200px;
    }
}

@media screen and (max-width: 600px) {
    #contact {
        padding: 80px 24px 0;
    }
    #contact .txt {
        font-size: 14px;
    }
    #contact .link_box {
        width: 100vw;
        min-width: auto;
        margin-left: -24PX;
    }
    #contact .link_box a .contact_name {
        margin-top: 10px;
    }
    #contact .link_box a svg {
        width: 28px;
    }
    footer .footer_inner {
        padding: 60px 24px 40px;
    }
    footer .logo svg {
        width: 100%;
    }
    footer .footer_content .footer_nav {
        flex-direction: column;
    }
}
