@charset "utf-8";
/* サブビジュアル */
.hero {
    width: 100vw;
    height: 75vh;
    background-image: url(../images/images_about/mainvisual_SP.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.title {
    position: absolute;
    bottom: 45%;
    left: 50%;
    transform: translate(-50%, 50%);
    writing-mode: vertical-rl;
    -webkit-writing-mode: vertical-rl; 
    text-orientation: upright;
    color: #FFF;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 160%; /* 39px */
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.75rem;
    white-space: nowrap;
}

/* サブビジュアル　PC */
@media screen and (min-width:769px) {
    .hero {
        height: 70vh;
        background-image: url(../images/images_about/mainvisual_PC.webp);
    }

    .title {
        font-size: 3.2rem;
    }
}

.about {
    padding-top: 70px;
}

.about__container {
    display: flex;
    flex-direction: column-reverse;
}

.text__block {
    padding: 50px 8%;
}

.about__subtitle {
    margin-bottom: 32px;
    color: #1B1B1B;
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 150%; /* 27.75px */
    letter-spacing: 0.925px;
}

.text__block p {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 190%; /* 28.5px */
    letter-spacing: 0.75px;
    margin-top: 20px;
}

.text__block img {
    width: 92%;
    display: block;
    margin-right: auto;
}

.about__container:nth-of-type(2n) .text__block img{
    width: 92%;
    display: block;
    margin-left: auto;
}

/* サブビジュアル　PC */
@media screen and (min-width:769px) {
    .about {
        padding: 150px 0 30px;
        display: flex;
        flex-direction: column;
        gap: 150px;
    }

    .about__container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding-right: 10%;
    }

    .about__container:nth-of-type(2n) {
        flex-direction: row-reverse;
        padding-right: 0;
        padding-left: 10%;
    }

    .text__block {
        padding: 0;
        width: 40%;
    }

    .about__photo img {
        width: 100%;
    }

    .about__photo {
        width: 50vw;
    }

    .spbr {
        display: none;
    }

    .about__subtitle {
        font-size: 2.4rem;
        letter-spacing: 1.2px;
    }

    .text__block p {
        font-size: 1.8rem;
        letter-spacing: 0.9px;
    }

}
