@charset "UTF-8";

/* ==================================================
section__gallery
================================================== */
.section__gallery {
    margin-top: 94px;
}

.topic__gallery {
    width: 171px;
    margin: 0 auto;
    margin-top: 30px;
}

.gallery__txt1 {
    margin-top: 20px;
    text-align: center;
}

.link__frame {
    margin: 30px auto 0;
    width: 283px;
    height: 213px;
    border-radius: 20px;
    border: 5px solid #33A65E;
    background: rgba(217, 217, 217, 0.00);
}

.link__list {
    width: 180px;
    height: 180px;
    margin: 18px auto;
}

.link__item {
    line-height: 2.5;
    text-align: left;
}

a.anchor{
    display: block;
    padding-top: 30px;
    margin-top: -30px;
}

@media screen and (min-width: 769px) {
    .topic__gallery {
        width: 198px;
        margin-top: 130px;
    }

    .link__frame {
        margin: 40px auto 0;
        width: 618px;
        height: 131px;
    }

    .link__list {
        display: flex;
        width: 404px;
        height: 90px;
        display: flex;
        flex-wrap: wrap;
        gap: 0 116px;
    }
    
    .link__item2 {
        margin-left: 2em;
    }
}
/* pc 769px */

/* ==================================================
gallery__photo
================================================== */
.gallery__photo {
    padding: 0 5.3%;
}

.gallery__link {
    position: relative;
    padding: 0 5.3%;
    margin-top: 44px;
    text-align: center;
    font-weight: 700;
}

.gallery__link::before{
    content: '';
    width: 26%;
    height: 4px;
    background-color: #33A65E;
    display: inline-block;
    position: absolute;
    top: 14px;
    left: 0;
}

.gallery__link::after{
    content: '';
    width: 26%;
    height: 4px;
    background-color: #33A65E;
    display: inline-block;
    position: absolute;
    top: 15px;
    right: 0;
}

.gallery__item {
    margin-top: 20px;
}

.photo__txt {
    text-align: center;
    font-size: 1.4rem;
}

.footer {
    margin-top: 48px;
}

@media screen and (min-width: 769px) {
    .gallery__link {
        font-size: 1.8rem;
        width: 50%;
        margin: 80px auto 0;
    }

    .gallery__link::before{
        width: 21%;
        height: 4px;
        top: 14px;
        left: 0;
    }
    
    .gallery__link::after{
        width: 21%;
        height: 4px;
        top: 15px;
        right: 0;
    }

    .gallery__photo {
        padding: 0 8.3%;
    }

    .gallery__list1,
    .gallery__list2,
    .gallery__list3,
    .gallery__list4 {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .gallery__item {
        width: 30%;
        margin-top: 30px;
    }

    .photo__txt {
        font-size: 1.6rem;
    }

}
/* pc 769px */

@media screen and (min-width: 1230px) {
    .gallery__link {
        font-size: 1.8rem;
        width: 30%;
        margin: 80px auto 0;
    }
}