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

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

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

.description {
    line-height: 2;
}

.icon_label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    color: var(--text-color);
    text-align: center;
}

.icon_label p {
    padding: 1rem;
    border-radius: 50px;
    border: 1px solid var(--text-color);
}

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

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



@media (max-width:540px) {
    .top_box, .box_2, .box_3 {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }

    .box_3 .description {
        grid-area: description;
    }

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

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

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

    .description {
        font-size: 0.8rem;
    }

    .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;
    }
} */

/* 外部リンクボタン */
.external-link {
    line-height: 1.5;
    padding: 1rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    background: var(--base-color);
    box-shadow: 5px 5px 10px var(--shadow-darkcolor), -5px -5px 8px var(--shadow-brightcolor);
    transition: filter 0.3s ease;
}

.external-link:hover {
    color: var(--text-white);
    background: linear-gradient(to right, #63c6f8, #2BA5E8);
    box-shadow: inset 2px 2px 4px var(--shadow-darkcolor), inset -2px -2px 4px var(--shadow-brightcolor) !important;
    filter: brightness(0.9) contrast(1.05);
}

.external-link:hover img {
    filter: brightness(0) invert(1);
}

.external-link:active {
    box-shadow:
        inset 0 4px 6px var(--dark-color),
        inset 0 1px 8px var(--dark-color) !important;
    transform: scale(0.95);
}

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

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

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

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

.icon_label {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    justify-content: center;
    gap: 3rem;
    color: var(--text-color);
    text-align: center;
}

.icon_label p {
    padding: 1rem;
    border-radius: 50px;
    border: 1px solid var(--text-color);
}

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

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

.contents_box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5rem;
}

.box_2,
.box_3,
.box_4 {
    display: grid;
    gap: 2rem;
}






@media (max-width:768px) {
    .contents_box, .top_box, .box_2, .box_3, .box_4 {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }

    .box_3 .description {
        grid-area: description;
    }

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

    .box_3 {
        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: 1rem;
    }

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