@charset "UFT-8";
.header-delay-time {
    animation-delay: 0.01s;
}
.delay-time {  
	animation-delay: 0.30s;
}
.section-top {
    margin-left: 16px;
    margin-bottom: 56px; /* .section-top__container40px＋56px=96px */
    overflow-x: clip;
}
.section-top h2 {
    margin-top: 100px;
    margin-bottom: 40px;
}
.section-top h3 {
    font-size: 1.8rem;
    letter-spacing: 0.1rem;
    margin-bottom: 16px;
    position: relative;
}
.section-top h3::after {
    border-top: 1px solid #A7D398;
    content: "";
    width: 100%;
    display: inline-block;
    position: absolute;
    top: 50%;
}
.section-top h3 span {
    display: inline-block;
    background: #fff;
    position: relative;
    z-index: 10;
    padding-right: 8px;
}
.section-top__container {
    padding-right: 16px;
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 8px;
}
.section-top__container .item {
    aspect-ratio: 1 / 1;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 4px 4px 8px 0px rgba(49, 103, 63, 0.20);
    position: relative;
    isolation: isolate;
}
.section-top__container .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.section-top__hover-mask {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
    transition: background-color 0.3s ease;
    pointer-events: none;
    color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}
.section-top__hover-mask p span {
    font-size: 80%;
    display: inline-block;
    margin-bottom: 4%;
}
@media (any-hover: hover) {
    .section-top__container .item img:hover {
        transform: scale(1.1);
    }
    .section-top__container .item img:hover + .section-top__hover-mask {
        background-color: rgba(0, 0, 0, .3);
        color: #fff;
    }
}
.section-top__container .item img.hover-text {
    transform: scale(1.1);
}
.section-top__container .item img.hover-text + .section-top__hover-mask.hover-text {
    background-color: rgba(0, 0, 0, .3);
    color: #fff;
}
@media (min-width: 769px) {
    .section-top {
        margin-left: 40px;
        margin-bottom: 80px;
    }
    .section-top__wrap {
        padding-left: 160px;
    }
    .section-top h2 {
        margin-top: 52px;
        margin-bottom: 104px;
    }
    .section-top h3 {
        font-size: 4.8rem;
        letter-spacing: 0.1rem;
        margin-bottom: 48px;
    }
    .section-top h3 span {
        padding-right: 24px;
    }
    .section-top__container {
        padding-right: 40px;
        margin-bottom: 80px;
        grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
        gap: 20px;
    }
    .section-top__container .item {
        border-radius: 10px;
    }
    
}