@charset "UTF-8";

.format {
    padding-bottom: 80px;
}

.format_lead {
    font-size: 18px;
}

.format_cnt {
    display: grid;
    gap: 80px;
    margin-top: 80px;
}

.format_sec {
}

.format_ttl {
    margin-bottom: 12px;
    font-weight: 550;
    font-size: 28px;
    line-height: 1;
}

.format_fig {
    display: inline-block;
    background: #ffffff;
}

.format_list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px 40px;
}

.format_item {
}

.format_item_img {
    position: relative;
    border: 1px solid var(--c-border);
}

.format_item_img > img {
    position: relative;
    z-index: 1;
}

.format_item_img > img.-hover {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s;
}

.format_item_cap {
    margin-top: 12px;
}

.format_item_ttl {
    font-weight: 550;
    font-size: 18px;
}

.format_item_text {
}

@media screen and (max-width: 1251.98px) {
    .format {
        padding-bottom: 40px;
    }

    .format_lead {
        font-size: 15px;
    }

    .format_cnt {
        gap: 60px;
        margin-top: 60px;
    }

    .format_sec {
    }

    .format_ttl {
        font-size: 22px;
    }

    .format_fig {
    }

    .format_list {
        gap: 40px 24px;
    }

    .format_item {
    }

    .format_item_img {
    }

    .format_item_img > img {
    }

    .format_item_img > img.-hover {
    }

    .format_item_img:hover > img.-hover {
    }

    .format_item_cap {
    }

    .format_item_ttl {
    }

    .format_item_text {
    }
}

@media screen and (min-width: 768px) {
    .format_item_img:hover > img.-hover {
        opacity: 1;
    }
}

@media screen and (max-width: 767.98px) {
    .format {
    }

    .format_lead {
    }

    .format_cnt {
        display: block;
    }

    .format_sec {
        margin-top: 40px;
    }

    .format_ttl {
        font-size: 20px;
    }

    .format_fig {
        max-width: 100%;
        overflow-x: auto;
    }

    .format_fig > img {
        width: 860px;
        height: auto;

        max-inline-size: revert;
    }

    .format_cap {
        font-size: 12px;
    }

    .format_list {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 24px;
    }

    .format_item {
        padding: 16px 16px 24px;
        border: 1px solid var(--c-border);
        background: #f7f2d9;
    }

    .format_item_img {
    }

    .format_item_img > img {
        transition: none;
    }

    .format_item_img > img.-hover {
        animation: toggle 8s 4s infinite linear;
    }

    .format_item_img:hover > img.-hover {
    }

    .format_item_cap {
    }

    .format_item_ttl {
        font-size: 16px;
    }

    .format_item_text {
    }
}

@keyframes toggle {
    0%,
    60%,
    100% {
        opacity: 0;
    }

    10%,
    50% {
        opacity: 1;
    }
}
