@charset "UTF-8";

.contents-wrap {
    width: 100%;
    position: relative;
    overflow: hidden;
}


.contents-wrap .fig-wrap figure {
    display: block;
    margin: 0 auto;
    max-width: 650px;
}

.contents-wrap .fig-wrap figure img {
    max-width: 100%;
    width: 100%;
}


/* #intro */
#intro .wrap {
    position: relative;
    overflow: hidden;
}

#intro .wrap .bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 52%;
    z-index: 1;
}

#intro .wrap .bg-img img {
    width: 100%;
    opacity: .8;
}

#intro .wrap .text {
    position: relative;
    z-index: 10;
    padding-left: 25%;
    padding-top: 5%;
    padding-bottom: 10%;
}

#intro .wrap .text h3 {
    font-size: 32px;
    line-height: 1.3em;
}

#intro .wrap .text p {
    display: inline;
    width: auto;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.8em;
    /* text-shadow: 0 0 35px rgb(255 255 255); */
    background: linear-gradient(transparent 0%, #ffffffaa 0%);
}

#intro .wrap .text h3 span {
    display: inline-block;
}

@media only screen and (max-width:767px) {
    #intro .wrap .text p {
        font-size: 4.6vw;
    }

    #intro .wrap .bg-img {
        width: 75%;
    }

    #intro .wrap .text {
        z-index: 10;
        padding-left: 0;
        padding-top: 32%;
        padding-bottom: 0;
    }

    #intro .wrap .text h3 {
        font-size: 6.4vw;
        line-height: 1em;
        margin-left: 18%;
        width: calc(100% - 18%);
        padding-left: 0.625em;
        padding-right: 0.625em;
    }
}


/* #intro02 */
#intro02 {

}

#intro02 .wrap {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    padding: 30px;
    min-height: 300px;
    display: flex;
    align-items: center;
}

#intro02 .wrap .bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#intro02 .wrap .bg-img::after {
    content: "";
    display: block;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2) 100%);
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#intro02 .wrap .bg-img img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#intro02 .wrap .text {
    position: relative;
    z-index: 1;
    width: 100%;
}

#intro02 .wrap .text h3 {
    width: 100%;
    padding: 2px 0.625em;
    font-size: 32px;
    background-color: #ffffffcc;
}

#intro02 .wrap .text h3 span {
    display: inline-block;
}

#intro02 .wrap .text p {
    color: #ffffff;
    font-size: 18px;
}




/* #gallery */
#gallery .grid-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1em;
}

@media (max-width: 600px) {
    #gallery .grid-gallery {
      grid-template-columns: repeat(3, 1fr);
    }
  }

#gallery .grid-gallery a {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

#gallery .grid-gallery img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

#gallery .grid-gallery a:hover img {
    transform: scale(1.05);
}

.carousel__button svg {
    stroke: #ffffff;
}
