.detail_page {
    display: grid;
    gap: 7rem;
    max-width: 1350px;
    margin: 0 auto 8rem auto;
    padding: 0 8%;
}

.page_title {
    font-size: 3rem;
    line-height: 1.5;
}

.headline {
    font-size: 2rem;
}

.top_box div:first-child {
    display: grid;
    gap: 3rem;
}

.description,
.detail {
    line-height: 2;
}

.pizza {
    width: 70%;
    text-align: center;
    display: block;
    margin: 0 auto;
}

.image-wrapper {
    width: fit-content;
    height: fit-content;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow:
        0px -8px 100px 5px var(--bright-color),
        0px 8px 15px 5px var(--dark-color);
}

.text {
    display: grid;
    gap: 1rem;
}

.external-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.external-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1.5;
    padding: 0.7rem;
    border-radius: 10px;
    background: var(--base-color);
    box-shadow: 5px 5px 10px var(--shadow-darkcolor), -5px -5px 8px var(--shadow-brightcolor);
    width: fit-content;
}


/*ボックスのホバー、クリックアニメーション ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */
.box_1 a,
.box_2 a {
    position: relative;
    text-decoration: none;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.box_1 a img,
.box_2 a img {
    display: block;
    transition: filter 0.3s ease, box-shadow 0.3s ease;
}

/* ホバー時に内側に押し込まれる */
.box_1 a:hover,
.box_2 a:hover {
    background: none;
    box-shadow: inset 2px 2px 4px var(--shadow-darkcolor), inset -2px -2px 4px var(--shadow-brightcolor) !important;
    filter: brightness(0.9) contrast(1.05);
}

/* クリック時にさらに押し込まれる */
.box_1 a:active,
.box_2 a:active {
    box-shadow:
        inset 0 4px 6px var(--dark-color),
        inset 0 1px 8px var(--dark-color) !important;
    transform: scale(0.95);
}

.top_box,
.box_1,
.box_2,
.box_3 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
}



@media (max-width:768px) {
    .pizza {
        width: 70%;
        display: block;
        margin: 0 auto;
    }

    .top_box, .box_1, .box_2, .box_3 {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }

    /* .grid-template-columns {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    } */

    .box_2 .text {
        grid-area: description;
    }

    .box_2 .image-wrapper {
        grid-area: image;
    }

    .box_2 {
        grid-template-columns: 1fr;
        grid-template-areas:
            "image"
            "description";
    }

    .page_title {
        font-size: 2rem !important;
    }

    .icon_label {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .icon_label p {
        font-size: 0.8rem;
        padding: 0.8rem;
        white-space: nowrap;
    }
}