/* =============================== begin header =============================== */
/* General Body Styles */
body {
    font-family: 'Noto Serif JP';
    margin: 0;
    padding: 0;
    line-height: 150%;
}

/* breacum */
.contact-section-banner {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.contact-section-banner .banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.contact-section-banner-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.contact-section-banner-content .section-title {
    color: #FFFFFF;
}

.contact-section-breadcrumb {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
}

/* Start Breadcrumb */
.breadcrumb__container {
    margin-top: 24px;
}

.breadcrumb__nav {
    max-width: 1720px;
    margin: 0 5.2%;
    display: flex;
    column-gap: 4px;
    align-items: center;
}

.breadcrumb__separator {
    display: flex;
    align-items: center;
    margin-left: 8px;
}

.breadcrumb__link {
    font-size: 16px;
    font-weight: 500;
    color: #828282;
}

.breadcrumb__current {
    font-size: 16px;
    font-weight: 500;
    color: #1C1C1C;
}

/* End Breadcrumb */

/* Detective list hero */
.detective-hero {
    margin-top: 32px;
    padding: 40px 5.2%;
    background-color: #F5F1EA;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) 460px;
    column-gap: 40px;
    align-items: center;
}

.detective-hero__text {
    max-width: 720px;
}

.detective-hero__headline {
    font-size: 28px;
    font-weight: 700;
    color: #1C1C1C;
    line-height: 1.6;
    margin: 0;
}

.detective-hero__underline {
    display: inline-block;
    margin-top: 16px;
    width: 90px;
    height: 4px;
    background-color: #E9450A;
    border-radius: 999px;
}

.detective-hero__image-wrapper {
    justify-self: end;
    max-width: 460px;
    width: 100%;
}

.detective-hero__image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* Bottom text & banner */
.station-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 465px;
    gap: 32px;
    align-items: center;
    padding: 24px 20px;
    border-top: 1px solid #F0E4D8;
    background: #F5F1EA;
    /* margin-top: 40px; */
}

.station-bottom__text p {
    font-size: 24px;
    font-weight: 700;
    color: #1C1C1C;
    line-height: 1.5;
    margin: 0;
}

.station-bottom__underline {
    display: inline-block;
    margin-top: 16px;
    width: 90px;
    height: 4px;
    background-color: #E9450A;
    border-radius: 999px;
}

.station-bottom__banner {
    width: 465px;
    max-width: 100%;
    justify-self: end;
}

.station-bottom__banner-link {
    display: inline-block;
}

.station-bottom__banner-image {
    display: block;
    width: 100%;
    height: auto; /* keep ratio 465×200 */
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* End Bottom text & banner */

.banner-footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Start Footer */
footer {
    background-color: #47413E;
}

.footer__container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer__content {
    padding: 32px 0 32px 0;
    display: flex;
    column-gap: 40px;
}

.footer__column {
    flex: 1;
}

.footer__nav {
    flex: 1;
    max-width: 208px;
    width: 100%;
}

.footer__column-title {
    font-size: 16px;
    font-weight: 700;
    color: #E9450A;
    padding-bottom: 8px;
    border-bottom: 1px solid #636363;
    position: relative;
}

.footer__column-title::after {
    content: '';
    display: block;
    width: 64px;
    height: 3px;
    background-color: #E9450A;
    position: absolute;
    bottom: -1px;
}

.footer__column-group {
    display: flex;
    margin-top: 20px;
}

.footer__list-item {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

.footer__link {
    font-size: 16px;
    font-weight: 500;
    color: #FFFFFF;
    display: flex;
}

.footer__list-item-group {
    display: flex;
    flex-direction: column;
    row-gap: 12px;
}

.footer__list-sub-item {
    display: flex;
    flex-direction: column;
    row-gap: 12px;
}

.footer__sublink {
    font-size: 14px;
    font-weight: 400;
    color: #FFFFFF;
}

.footer__sublink::before {
    content: '';
    background-color: #E9450A;
    width: 4px;
    height: 4px;
    display: inline-block;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 16px;
}

.footer__list-sub-item--right-caret {
    max-width: 20px;
    width: 100%;
    display: flex;
    margin-left: 8px;
}

.footer__link--red {
    color: #E9450A;
}

.footer__bottom {
    display: flex;
    width: 100%;
    border-top: 1px solid #515151;
}

.footer__bottom-links {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 14px 0 14px 0;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer__logo-link {
    font-size: 24px;
    font-weight: 700;
    color: #ED6A3B;
}

.footer__bottom-link {
    font-size: 16px;
    font-weight: 400;
    color: #FFFFFF;
}

.footer__copyright {
    padding: 20px 0;
    background-color: #272422;
}

.footer__copyright-text {
    font-size: 20px;
    font-weight: 400;
    color: #FFFFFF;
    text-align: center;
}

    /* Mobile Menu Sidebar */
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        width: 32px;
        height: 32px;
    }

    .mobile-menu-toggle img {
        width: 100%;
        max-width:17px ;
        max-height: 17px;
        height: auto;
        object-fit: contain;
    }

    .mobile-menu-sidebar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        max-width: 85%;
        height: 100vh;
        background-color: #FFFFFF;
        z-index: 1003;
        transition: right 0.3s ease-in-out;
        box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    }

    .mobile-menu-sidebar.active {
        right: 0;
    }

    .mobile-menu-sidebar__header {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        padding: 20px 20px 16px 20px;
    }

    .mobile-menu-sidebar__close {
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
    }

    .mobile-menu-sidebar__close svg {
        width: 100%;
        height: 100%;
    }

    .mobile-menu-sidebar__divider {
        height: 1px;
        background: repeating-linear-gradient(
            to right,
            #B3D9FF 0,
            #B3D9FF 4px,
            transparent 4px,
            transparent 8px
        );
        margin: 0 20px;
    }

    .mobile-menu-sidebar__content {
        display: flex;
        flex-direction: column;
        padding: 0;
    }

    .mobile-menu-sidebar__item {
        display: flex;
        align-items: center;
        padding: 16px 20px;
        text-decoration: none;
        color: #000000;
        transition: background-color 0.2s;
    }

    .mobile-menu-sidebar__item:hover {
        background-color: #F5F5F5;
    }

    .mobile-menu-sidebar__icon {
        width: 24px;
        height: 24px;
        margin-right: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .mobile-menu-sidebar__icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .mobile-menu-sidebar__text--first {
        font-size: 16px;
        font-weight: 500;
        color: #E9450A;
        font-family: "Noto Sans JP", sans-serif;
    }

    .mobile-menu-sidebar__text {
        font-size: 16px;
        font-weight: 700;
        color: #1C1C1C;
        font-family: "Noto Sans JP", sans-serif;
    }

    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1002;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

/* End Footer */
@media (max-width: 600px) {
    .station-bottom {
        display: flex;
        flex-direction: column;
        margin-top: 60px;
        padding: 16px;
        row-gap: 24px;
    }

    .station-bottom__text {
        display: flex;
        flex-direction: column;
    }

    .station-bottom__text p {
        font-size: 24px;
    }

    .station-bottom__underline {
        margin-top: 20px;
    }

    .topic-card {
        height: unset;
    }
}
