h2.title_block-2 {
    background-image: url(/assets/images/corp/location/img-head.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    .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 . ."
            "location area3 area1"
            "area4 area3 ."
            "area4 . ." ". . area2";
        grid-template-rows: 3rem 13rem 10rem 5rem 5rem 18rem;
        gap: 6rem;
        row-gap: 0;
        background: url("/assets/images/corp/location/map.png") no-repeat center;
        background-size: contain;
        padding: 5rem 0;
        @media (max-width: 1024px) {
            grid-template-areas:
                "."
                "location"
                ".";
            grid-template-rows: 10rem auto 20rem;
            background-size: 130%;
            background-position: left center;
        }
        ul {
            li {
                background-color: #fff;
                width: 90%;
                font-family: "Noto serif JP", serif;
                a {
                    display: flex;
                    padding: 1rem;
                    width: 100%;
                    &:after {
                        content: "\f078";
                        font-family: "Font Awesome 6 Free";
                        font-weight: bold;
                        margin-left: auto;
                    }
                }
            }
            li + li {
                position: relative;
                &:before {
                    content: "";
                    border-top: 1px dotted #999999;
                    position: absolute;
                    top: 0;
                    left: 1rem;
                    width: calc(100% - 2rem);
                }
            }
        }
    }
    .area {
        ul + ul {
            margin-top: 0.5rem;
        }
        @media (max-width: 1024px) {
            display: none;
        }
    }

    .area1 {
        grid-area: area1;
    }
    .area2 {
        grid-area: area2;
    }
    .area3 {
        grid-area: area3;
    }
    .area4 {
        grid-area: area4;
    }
    .location {
        width: 90%;
        span {
            font-size: 10rem;
            line-height: 1;
        }
        display: flex;
        align-items: end;
        justify-content: center;
        padding-bottom: 3rem;
        font-size: 2.5rem;
        grid-area: location;
        text-align: center;
    }
}

.location-detail {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-bottom: 5rem;
    margin: 0 3%;
    ul {
        background-color: #fff;
        padding: 1rem;
    }
    li {
        display: grid;
        grid-template-areas:
            "title map"
            "address map";
        gap: 2rem;
        margin-left: 3rem;
        padding-bottom: 1rem;
        grid-template-columns: calc(50% - 0.5rem) calc(50% - 1.5rem);
        @media (max-width: 1024px) {
            gap: 0;
            grid-template-areas:
                "title"
                "accordion";
            grid-template-rows: auto auto;
            grid-template-columns: 100%;
            margin-left: 1rem;
        }
        label {
            grid-area: title;
            font-size: 1.5rem;
            font-weight: 500;
            padding-left: 0;
            &:before {
                left: -2em;
            }
            @media (max-width: 1024px) {
                width: 100%;
                display: block;
                font-size: 1.25rem;
                padding-left: 2em;
                &:before {
                    left: 0;
                }
                span {
                    display: flex;
                    &:after {
                        content: "\f078";
                        font-family: "Font Awesome 6 Free";
                        font-weight: bold;
                        margin-left: auto;
                        display: block;
                    }
                }
            }
        }
        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;
            }
        }
        .address {
            color: #999999;
            grid-area: address;
            @media (max-width: 1024px) {
                padding-left: 2.5rem;
            }
        }
        .address-area {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 2rem 2rem;
            padding-top: 1rem;
            width: 50%;
            @media (max-width: 1024px) {
                width: 100%;
            }
        }
        .gmap-block {
            grid-area: map;
            height: 250px;
            overflow: hidden;
            @media (max-width: 1024px) {
                width: 100%;
            }
        }

        @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;
        @media (max-width: 1024px) {
            padding-bottom: 0;
        }
    }
    li:only-child {
        padding-bottom: 0;
    }
}
