h2.title_block-2 {
    background-image: url(/assets/images/en/corporateinfo/subsidiaries/img-head.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding-top: 3.5em;
    .title {
        background-color: #ddf8f2;
        @media (max-width: 1024px) {
            width: 100%;
            height: 8rem;
            top: -8rem;
            display: flex !important;
            align-items: center;
            justify-content: center;
            flex-direction: column;
        }
    }
}

.article-area {
    padding: 0;
    background-color: #ddf8f2;
    .map-area {
        display: grid;
        grid-template-areas:
            "location ."
            ". area1";
        gap: 3.5rem;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 4.5fr;
        row-gap: 0;
        background: url("/assets/images/en/corporateinfo/subsidiaries/map.png")
            no-repeat center;
        background-size: contain;
        padding: 5rem 0;
        padding-bottom: 0;
        @media (max-width: 1024px) {
            background: url("/assets/images/en/corporateinfo/subsidiaries/map-sp.png")
                no-repeat center;
            grid-template-areas:
                "location"
                ".";
            grid-template-rows: auto 20rem;
            grid-template-columns: 1fr;
            background-size: cover;
            background-position-y: 45%;
        }
        ul {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            margin-bottom: 2rem;
            li {
                background-color: #fff;
                width: 90%;
                font-family: "Noto serif JP", serif;
                position: relative;
                margin-left: 2rem;
                img {
                    position: absolute;
                    left: -1.5rem;
                    width: 3.5rem;
                    height: 3.5rem;
                }
                a {
                    display: flex;
                    padding: 1rem;
                    padding-left: 3rem;
                    width: 100%;
                    &:after {
                        content: "\f078";
                        font-family: "Font Awesome 6 Free";
                        font-weight: bold;
                        margin-left: auto;
                    }
                    span {
                        width: 7em;
                        font-family: "Noto sans JP", sans-serif;
                        font-size: 0.75rem;
                    }
                }
            }
            li + li {
                position: relative;
            }
        }
    }
    .area {
        ul + ul {
            margin-top: 0.5rem;
        }
        p {
            font-size: 1.5rem;
            font-weight: 500;
            margin-bottom: 1.5rem;
        }
        @media (max-width: 1024px) {
            display: none;
        }
    }

    .area1 {
        grid-area: area1;
    }

    .location {
        width: 90%;
        display: flex;
        align-items: end;
        justify-content: center;
        font-size: 2.5rem;
        grid-area: location;
        text-align: center;
        @media (max-width: 1024px) {
            width: 100%;
        }
        span {
            font-size: 10rem;
            line-height: 1;
            @media (max-width: 1024px) {
                display: block;
            }
        }
    }
}

.location-detail {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-bottom: 5rem;
    @media (max-width: 1024px) {
        padding-left: 3%;
        padding-right: 3%;
    }
    h3 {
        img {
            width: 2em;
            height: 2em;
            margin-right: 1rem;
        }
        display: flex;
        align-items: center;
        font-size: 1.5rem;
        font-family: "Noto serif JP", serif;
        margin-bottom: 1rem;
    }
    .location-items {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    ul {
        background-color: #fff;
        padding: 1rem;
    }
    li {
        margin-left: 3rem;
        &:has(.map-item) {
            display: block;
        }
        &:not(:has(.map-item)) {
            display: grid;
            grid-template-areas:
                "title map"
                "address map";
            gap: 2rem;
            padding-bottom: 1rem;
            grid-template-columns: calc(50% - 0.5rem) calc(50% - 1.5rem);
        }
        @media (max-width: 1024px) {
            &:not(#_) {
                gap: 0;
                grid-template-areas:
                    "title"
                    "accordion";
                grid-template-rows: auto auto;
                grid-template-columns: 100%;
                margin-left: 1rem;
                padding-bottom: 0;
            }
        }

        label {
            grid-area: title;
            font-size: 1.5rem;
            font-weight: 500;
            padding-left: 0;
            cursor: unset;
            &:before {
                left: -2em;
            }
            @media (max-width: 1024px) {
                width: 100%;
                display: flex;
                font-size: 1.25rem;
                padding-left: 2em;
                cursor: pointer;
                &:before {
                    left: 0;
                }

                &:after {
                    content: "\f078";
                    font-family: "Font Awesome 6 Free";
                    font-weight: bold;
                    margin-left: auto;
                    display: block;
                    transition: 0.5s ease transform;
                }
                span {
                    display: flex;
                }
            }
        }
        input[type="checkbox"] {
            display: none;
        }
        .accordion-area {
            display: contents;
            @media (max-width: 1024px) {
                display: grid;
                grid-area: accordion;
                grid-template-rows: 0;
                overflow: hidden;
                transition: 0.5s ease grid-template-rows;
                gap: 1rem;
            }
        }
        .accordion-area_inner {
            display: contents;
            @media (max-width: 1024px) {
                display: grid;
                gap: 1.5rem;
                grid-template-columns: 100%;
                grid-template-areas:
                    "address"
                    "map";
                padding-top: 3rem;
            }

            &:has(.map-item) {
                display: contents;
                @media (max-width: 1024px) {
                    display: block;
                    padding-top: 0;
                }
                .map-item {
                    display: grid;
                    grid-template-areas: "address map";
                    gap: 2rem;
                    padding-bottom: 1rem;
                    grid-template-columns: calc(50% - 0.5rem) calc(50% - 1.5rem);
                    overflow: hidden;
                    @media (max-width: 1024px) {
                        display: grid;
                        gap: 1.5rem;
                        grid-template-columns: 100%;
                        grid-template-areas:
                            "address"
                            "map";
                        padding-top: 3rem;
                    }
                    .address {
                        display: flex;
                        flex-direction: column;
                        justify-content: flex-end;
                        padding-bottom: 3rem;
                    }
                }
                .map-item + .map-item {
                    border-top: 1px dotted #999999;
                }
            }
        }
        .address {
            color: #999999;
            grid-area: address;
            padding-right: 3rem;
            @media (max-width: 1024px) {
                padding-left: 2.5rem;
            }
        }
        .gmap-block {
            grid-area: map;
            height: 250px;
            overflow: hidden;
            @media (max-width: 1024px) {
                width: 100%;
            }
            &:not(:has(iframe)) {
                .space {
                    background-color: #e2e2e2;
                    width: 100%;
                    height: 500px;
                    margin-top: -100px;
                }
            }
        }

        @media (max-width: 1024px) {
            &:has(input[type="checkbox"]:checked) {
                .accordion-area {
                    grid-template-rows: 1fr;
                }
            }
        }
    }
    li + li {
        padding-top: 1rem;
        border-top: 1px dotted #999999;
    }
    li:has(input[type="checkbox"]:checked) {
        label {
            &:after {
                transform: rotate(180deg);
            }
        }
    }

    span.web:before {
        content: "WEB";
        font-size: 0.75rem;
        font-family: "Noto sans JP", sans-serif;
        background-color: #38e2b6;
        padding: 0.25rem 0.75rem;
        color: #fff;
        border-radius: 25px;
        margin-left: 3rem;
    }
    p:has(span.web) {
        margin-top: 1rem;

        span.web:before {
            margin-left: 0;
        }
    }
}
