@charset "utf-8";

/* mv */
.subpage_mv {
    background: #323232 no-repeat 50% / cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.subpage_mv::before,
.subpage_mv::after {
    content: '';
    display: block;
    position: absolute;
}
.subpage_mv::before {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.75;
    background: radial-gradient(circle, #323232 0%, #000 75%);
}
.subpage_mv::after {
    bottom: -1px;
    left: 0;
    width: 100%;
    border-radius: 16px 16px 0 0;
    background-color: var(--color-white);
    z-index: 1;
}
.subpage_mv_inner {
    position: relative;
    z-index: 1;
}
.subpage_mv_ttl,
.subpage_mv_txt {
    text-align: center;
    color: var(--color-white);
}
.subpage_mv_ttl_word {
    display: inline-block;
}
@media (min-width: 769px) {
    .subpage_mv {
        height: 508px;
        margin-top: 58px;
    }
    .subpage_mv::after {
        height: 48px;
    }
    .subpage_mv_inner {
        padding-inline: 40px;
    }

    .subpage_mv_ttl {
        font-size: 54px;
        line-height: 1.4;
    }
    .subpage_mv_txt {
        margin-top: 38px;
        font-size: 24px;
        line-height: 1.75;
    }
}
@media (max-width: 768px) {
    .subpage_mv {
        height: 315px;
        margin-top: 50px;
    }
    .subpage_mv::after {
        height: 24px;
    }

    .subpage_mv_ttl {
        font-size: 32px;
        line-height: 1.4;
    }
    .subpage_mv_txt {
        margin-top: 20px;
        font-size: 16px;
        line-height: 1.9;
        letter-spacing: -0.025em;
    }
}

/* local */
.local {
    background-color: #f5f5f5;
}
.local_ttl {
    line-height: 1;
    text-align: center;
    position: relative;
}
.local_ttl_icon {
    width: 100%;
    height: 9px;
    display: flex;
    justify-content: center;
    gap: 6px;
    position: absolute;
    top: 0;
    left: 0;
}
.local_ttl_icon::before,
.local_ttl_icon::after {
    content: '';
}
.local_ttl_icon::before,
.local_ttl_icon_box,
.local_ttl_icon::after {
    width: 9px;
    height: 9px;
    background-color: var(--color-black);
    display: block;
}
.local_ttl {
    padding-top: 22px;
    font-size: 16px;
}
@media (min-width: 769px) {
    .local {
        margin-top: 120px;
        padding-block: 120px;
    }
}
@media (max-width: 768px) {
    .local {
        margin-top: 80px;
        padding-block: 80px;
    }
}

/* local_swiper */
.local_link {
    text-decoration: none;
    background-color: var(--color-black);
    border-radius: 16px;
    overflow: hidden;
}
.local_link_l {
    width: 100%;
}
.local_link_img_wrap {
    display: block;
    position: relative;
    overflow: hidden;
}
.local_link_img_filter {
    position: relative;
}
.local_link_img_filter::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
    background: radial-gradient(circle, #323232 0%, #000 100%);
    z-index: 1;
}
.local_link_img {
    width: 100%;
    display: block;
}
.local_link_name {
    color: var(--color-white);
    display: block;
    position: relative;
    overflow: hidden;
}
.local_link_name_txt {
    position: relative;
    z-index: 2;
}
.local_link_bg {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    border-radius: 50%;
    z-index: 1;
    background-color: var(--color-blue);
}
.local_link_bg_engineering {
    background-color: #099;
}
.btn_local_wrap {
    text-align: center;
}
.local_list .swiper-slide.is_hide {
    display: none;
}
@media (min-width: 769px) {
    .local_ttl {
        line-height: calc(56 / 38);
        text-align: center;
    }
    .local_ttl .section_ttl_word {
        display: block;
    }
    .local_list {
        gap: 18px;
        margin-top: 64px;
        align-items: stretch;
    }
    .local_list .swiper-slide {
        height: auto;
        display: grid;
    }
    .local_list_3 .swiper-slide {
        width: calc((100% - 18px * 2) / 3);
    }
    .local_list_2 .swiper-slide {
        width: calc((100% - 18px) / 2);
    }
    .local_link {
        display: grid;
        grid-template-rows: subgrid;
        grid-row: span 2;
    }
    .local_link_l {
        display: block;
    }
    .local_link_name {
        padding: 20px 27px;
    }
    .local_link_bg {
        width: 12px;
        height: 12px;
        right: 24px;
    }
    .btn_local_wrap {
        margin-top: 66px;
    }
    .local_swiper + .local_link_l {
        margin-top: 18px;
    }
}
@media (max-width: 768px) {
    .local_list {
        padding-bottom: 40px;
        margin-top: 60px;
    }
    .local_list .swiper-slide {
        width: 100%;
    }
    .swiper-horizontal > .swiper-pagination-bullets,
    .swiper-pagination-bullets.swiper-pagination-horizontal,
    .swiper-pagination-custom,
    .swiper-pagination-fraction {
        bottom: 0;
    }
    .swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet,
    .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
        margin: 0 11px;
    }
    .swiper-pagination-bullet-active {
        background-color: var(--color-blue);
    }
    .local_link {
        display: flex;
        flex-direction: column;
    }
    .local_link_img {
        width: 100%;
    }
    .local_link_name {
        padding: 18px 20px;
    }
    .local_link_bg {
        width: 8px;
        height: 8px;
        right: 20px;
    }
    .btn_local_wrap {
        margin-top: 38px;
    }
    .local_swiper + .local_link_l {
        margin-top: 45px;
    }
}
@media (min-width: 769px) {
    @media (hover: hover) {
        .local_link_img {
            transition: scale 0.3s;
        }
        .local_link:hover .local_link_img {
            scale: 1.05;
        }
        .local_link_bg {
            transition: transform 0.55s;
        }
        .local_list_2 .local_link:hover .local_link_bg {
            transform: scale(99);
        }
        .local_list_3 .local_link:hover .local_link_bg {
            transform: scale(67);
        }
        .local_link_l:hover .local_link_bg {
            transform: scale(197);
        }
    }
}
