@charset "UTF-8";

.about_text {
    margin-bottom: 200px;
}

.about_maintext {
    width: fit-content;
    margin: 0 auto;
    text-align: center;
}

.about_maintext h1 {
    font-family: "Noto Serif JP", serif;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(0.875rem, 0.42rem + 1.94vw, 1.875rem);
    letter-spacing: 0.2em;
    line-height: 2.3em;
    text-align: left;
}

.about_maintext h1 span {
    color: #6f96a5;
}

.about_subtext {
    font-family: "Noto Serif JP", serif;
    font-size: clamp(0.75rem, 0.438rem + 1.33vw, 1.438rem);
    font-weight: 400;
    font-style: normal;
    text-align: left;
    letter-spacing: 0.25em;
    line-height: 2em;
    width: clamp(21.875rem, -2.273rem + 103.03vw, 75rem);
    margin: 0 auto;
}

@media screen and (max-width:500px) {
    .about_text {
        margin-bottom: 80px;
    }
}

.pr {
    margin-bottom: 200px;
}

.pr_01 {
    display: flex;
    align-items: center;
    margin-bottom: 100px;
}

.pr_01 img {
    width: 50%;
    height: auto;
    border-radius: 0 30px 30px 0;
}

.pr_01 p {
    width: fit-content;
    font-family: "Noto Serif JP", serif;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(0.75rem, 0.438rem + 1.33vw, 1.438rem);
    text-align: left;
    letter-spacing: 0.2em;
    line-height: 2.3em;
    margin: 0 auto;
    padding: 0 10px;
}

.pr_02 {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
}

.pr_02 img {
    width: 50%;
    height: auto;
    border-radius: 30px 0 0 30px;
}

.pr_02 p {
    width: fit-content;
    font-family: "Noto Serif JP", serif;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(0.75rem, 0.438rem + 1.33vw, 1.438rem);
    text-align: left;
    letter-spacing: 0.2em;
    line-height: 2.3em;
    margin: 0 auto;
    padding: 0 10px;
}

@media screen and (max-width:500px) {
    .pr {
        margin-bottom: 100px;
    }
}

.img_slide h1 {
    font-family: 'Times New Roman', Times, serif;
    font-size: clamp(1.563rem, 0.852rem + 3.03vw, 3.125rem);
    font-weight: 500;
    letter-spacing: 0.2em;
    color: #6f96a5;
    width: fit-content;
    margin: 0 auto 100px;
}

.img-frame {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    margin: 0 auto 150px;
}

.img-01,
.img-02,
.img-03 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
}

.img-01 {
    background-image: url(../img/photo_1.jpg);
    background-position: center;
    animation: slide-animation-01 24s infinite;
}

.img-02 {
    background-image: url(../img/photo_2.jpg);
    background-position: center;
    animation: slide-animation-02 24s infinite;
}

.img-03 {
    background-image: url(../img/photo_3.jpg);
    background-position: center;
    animation: slide-animation-03 24s infinite;
}

@keyframes slide-animation-01 {
    0% {
        opacity: 1;
        transform: scale(1.0);
    }

    30% {
        opacity: 1;
    }

    40% {
        opacity: 0;
        transform: scale(1.15);
    }

    90% {
        opacity: 0
    }

    100% {
        opacity: 1;
        transform: scale(1.0);
    }
}

@keyframes slide-animation-02 {
    0% {
        opacity: 0;
    }

    30% {
        opacity: 0;
        transform: scale(1.1);
    }

    40% {
        opacity: 1;
    }

    60% {
        opacity: 1;
    }

    70% {
        opacity: 0;
        transform: scale(1.0);
    }

    100% {
        opacity: 0;
    }
}

@keyframes slide-animation-03 {
    0% {
        opacity: 0;
    }

    60% {
        opacity: 0;
        transform: scale(1.0);
    }

    70% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: scale(1.1);
    }
}

@media screen and (max-width: 900px) {

    .img_slide h1 {
        margin-bottom: 50px;
    }

    .img-frame {
        width: 100%;
        height: 200px;
        margin-bottom: 100px;
    }

    .img-01,
    .img-02,
    .img-03 {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .img-01 {
        background-image: url(../img/photo_1.jpg);
        background-position: center;
        animation: slide-animation-01 24s infinite;
    }
    
    .img-02 {
        background-image: url(../img/photo_2.jpg);
        background-position: center;
        animation: slide-animation-02 24s infinite;
    }
    
    .img-03 {
        background-image: url(../img/photo_3.jpg);
        background-position: center;
        animation: slide-animation-03 24s infinite;
    }

    @keyframes slide-animation-01 {
        0% {
            opacity: 1;
            transform: scale(1.0);
        }

        30% {
            opacity: 1;
        }

        40% {
            opacity: 0;
            transform: scale(1.15);
        }

        90% {
            opacity: 0
        }

        100% {
            opacity: 1;
            transform: scale(1.0);
        }
    }

    @keyframes slide-animation-02 {
        0% {
            opacity: 0;
        }

        30% {
            opacity: 0;
            transform: scale(1.1);
        }

        40% {
            opacity: 1;
        }

        60% {
            opacity: 1;
        }

        70% {
            opacity: 0;
            transform: scale(1.0);
        }

        100% {
            opacity: 0;
        }
    }

    @keyframes slide-animation-03 {
        0% {
            opacity: 0;
        }

        60% {
            opacity: 0;
            transform: scale(1.0);
        }

        70% {
            opacity: 1;
        }

        90% {
            opacity: 1;
        }

        100% {
            opacity: 0;
            transform: scale(1.1);
        }
    }
}

.inst {
    width: clamp(18.75rem, 7.386rem + 56.82vw, 50rem);
    height: auto;
    margin: 0 auto 150px;
    transition-duration: .2s;
}

.inst:hover {
    transform: scale(1.05);
}

@media screen and (max-width:500px) {
    .inst {
        margin: 0 auto 80px;
    }
    .inst:hover {
        transform: none;
    }
}