@charset "utf-8";

/* -----------------------------------------
main
-------------------------------------------- */
.brPc {
    display: none;
}

.title {
    text-align: center;
    font-family: "Karla";
    font-size: 2.4rem;
    letter-spacing: 3.84px;
    background-image: url(../images/paperBg.webp);
    background-size: contain;
    background-position: center;
    width: 100%;
    padding: 16px 0px;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.title span {
    text-align: center;
    font-family: "Shippori Mincho";
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 2.24px;
}


.sub__title {
    font-family: "Shippori Mincho";
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 1.2px;
    margin-top: 120px;
    margin-bottom: 64px;
    position: relative;
}

.prof__group {
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 1.4rem;
    font-weight: 350;
    line-height: 1.9;
    letter-spacing: 1.68px;
    padding: 0 16px;
}

.hanga__group {
    width: 107px;
    height: 0;
    background-size: contain;
    opacity: 0.4;
    z-index: -1;

}

.omoi__contents {
    position: relative;
    margin-bottom: 120px;

}

.hanga01,
.hanga02,
.hanga03 {
    width: 107px;
    height: 107px;
    overflow: hidden;
}

.hanga01 img {
    width: 107px;
    height: 107px;
    position: absolute;
    top: 12%;
    left: 6%;
    object-fit: contain;
    z-index: -1;
}

.hanga02 img {
    width: 107px;
    height: 107px;
    position: absolute;
    top: 60%;
    right: 6%;
    object-fit: contain;
    z-index: -1;
}

.hanga03 img {
    width: 107px;
    height: 107px;
    position: absolute;
    top: 84%;
    left: 6%;
    object-fit: contain;
    z-index: -1;
}

.photo {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    justify-items: center;
    padding: 16px;
}

.photo__item {
    width: 158px;
    height: 164px;
    overflow: hidden;
    position: relative;
}

/* 画像をトリミング表示 */
.photo__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 2px;
}

.photo__item a img {
    transition: 0.4s;
}

.photo__item a:hover img {
    opacity: 0.5;
}

.right img {
    object-position: 75%;
}

/*==========================
modal
==========================*/
/* モーダル全体 */
.modal {
    display: none;
    /* 最初は非表示 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(182, 174, 167, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* 中身 */
.modal-content {
    position: relative;
}

.modal-content img {
    max-width: 90vw;
    max-height: 80vh;
}

.modal__close {
    position: absolute;
    top: -30px;
    right: -4px;
    cursor: pointer;
    border-radius: 50%;
    padding: 4px;
}

.modal__close svg {
    padding: 2.2%;
    width: 18px;
    height: 18px;
}

.mockup__txt {
    font-size: 1.3rem;
    text-align: left;
    padding: 8px 16px;
}

/*==========================
how to
==========================*/
.how__contents {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background-image: url(../images/howBgline.webp);
    background-position: center 180px;
    background-repeat: no-repeat;
    background-size: 80% 80%;
}

.how__step {
    margin-top: 100px;
}

.img__text-wrapper {
    display: block;
    align-items: flex-end;
    /* 下揃えにする */
    margin-bottom: 60px;
    height: 45vh;
    padding: 0 2.6%;
}

.img__group {
    width: 164px;
    position: relative;
    height: 30vh;
}

.img__group .number {
    font-family: 'Shippori Mincho';
    position: absolute;
    top: -18%;
    left: -2%;
    font-size: 2rem;
    font-weight: 500;
    padding: 4px 8px;
    z-index: 2;
}


.img__group .img {
    width: 164px;
    height: 178px;
    object-fit: cover;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
    filter: brightness(1.1);


}

.img__group .img1 {
    position: absolute;
    left: 1%;
    z-index: 2;
}

.img__group .img2 {
    position: absolute;
    top: 15%;
    left: 50%;
    z-index: 1;
    transform: translateX(50%) rotate(-4deg);
}

.img__group .img3 {
    position: absolute;
    right: 1%;
    z-index: 1;
}

.img__group .img4 {
    position: absolute;
    top: 20%;
    right: 50%;
    transform: translateX(-50%) rotate(4deg);
    z-index: 2;
}

.txt__group01,
.txt__group03 {
    max-width: 500px;
    font-size: 1.4rem;
    line-height: 1.8;
    text-align: left;
    padding-left: 20px;
    margin-top: 20px;
    letter-spacing: 1.8px;
}

.txt__group02,
.txt__group04 {
    max-width: 500px;
    font-size: 1.4rem;
    line-height: 1.8;
    text-align: right;
    padding-right: 20px;
    margin-top: 20px;
    letter-spacing: 1.8px;
}


.img__groupv {
    position: relative;
    width: 240px;
    height: 260px;
    aspect-ratio: 3/ 4;
    margin-left: auto;
    overflow: visible;
}

.video__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.number4 {
    font-family: 'Shippori Mincho';
    position: absolute;
    top: -12%;
    left: -1%;
    font-size: 2rem;
    font-weight: 500;
    z-index: 2;
}

.finish {
    position: absolute;
    top: -10%;
    right: -1%;
    width: 60px;
    z-index: 2;
}

.txt__group04 {
    margin-top: 16px;
    padding: 0 2.8%;
}

.img__text-wrapper.right .img__group {
    margin-left: auto;
    text-align: right;
    display: block;
}

@media screen and (min-width: 769px) and (max-width: 1000px) {
    .how__contents {
        width: 100%;
        padding: 0 2.6%;
        height: 230vh;
    }

    .img__group .img {
        width: 220px;
        height: 240px;
    }

    .img__text-wrapper {
        display: flex;
        align-items: center;
        gap: 56px;
    }

    .img__text-wrapper.right {
        flex-direction: row-reverse;
    }

    .img__group {
        width: 220px;
        max-width: 50%;
        position: relative;
    }

    .img__group .img2 {
        position: absolute;
        top: 33%;
        left: 25%;
        z-index: 1;
        transform: translateX(50%) rotate(-4deg);
    }

    .img__group .img4 {
    position: absolute;
    top: 16%;
    right: 25%;
    transform: translateX(-50%) rotate(4deg);
    z-index: 2;
    }

    .img__groupv {
        position: relative;
        width: 320px;
        height: 340px;
        aspect-ratio: 3/ 4;
        margin-left: auto;
        overflow: visible;
        margin-top: 40px;
    }

    .img__groupv video {
        width: 100%;
        height: 100%;
    }

    .finish {
        width: 60px;
        /* finish画像も縮小 */
        right: 5%;
    }

    .img__text-wrapper {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 24px;
        margin-bottom: 80px;
    }

    .txt__group01,
    .txt__group03 {
        flex: 1;
        font-size: 1.4rem;
        line-height: 1.8;
        text-align: right;
        padding: 0 16px;
        max-width: 400px;
    }

    .txt__group02,
    .txt__group04 {
        flex: 1;
        font-size: 1.4rem;
        line-height: 1.8;
        text-align: left;
        padding: 0 16px;
        max-width: 400px;
    }

    .img__group .number {
        position: absolute;
        top: -17%;
        left: -2%;
        font-size: 2.2rem;
        font-weight: 500;
        padding: 4px 8px;
    }

    .number4 {
    font-size: 2.2rem;
}
}

@media screen and (min-width: 1001px) {
    .how__contents {
        height: 270vh;
        margin-top: 24px;
    }

    .how__step {
        margin-top: 180px;
    }

    .how__step:first-of-type {
        margin-top: 100px;
    }

    .img__text-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 60px;
        flex-wrap: nowrap;
    }

    .img__text-wrapper.right {
        flex-direction: row-reverse;
    }

    .img__group {
        width: 319px;
        height: 100%;
    }

    .img__group .img {
        width: 319px;
        height: 338px;
    }

    .img__group .number {
        position: absolute;
        top: -17%;
        left: -2%;
        font-size: 3rem;
        font-weight: 500;
        padding: 4px 8px;
    }

    .img__group .img2 {
        position: absolute;
        top: 33%;
        left: 50%;
    }

    .img__group .img4 {
        position: absolute;
        top: 20%;
        right: 50%;
        transform: translateX(-50%) rotate(4deg);
        z-index: 2;
    }

    .txt__group01,
    .txt__group03 {
        max-width: 500px;
        font-size: 1.6rem;
        line-height: 2;
        text-align: right;
        padding-right: 20px;
        letter-spacing: 1.8px;
    }

    .txt__group02,
    .txt__group04 {
        max-width: 500px;
        font-size: 1.6rem;
        line-height: 2;
        text-align: left;
        padding-left: 20px;
        letter-spacing: 1.8px;
    }

    .how__step:last-of-type {
        margin-top: 80px;

    }

    .img__groupv {
        position: relative;
        width: 480px;
        height: 500px;
        margin-top: 100px;
    }

    .img__groupv video {
        object-fit: cover;
        width: 480px;
        height: 500px;
        position: absolute;
        top: 30%;
        right: 5%;
    }

    .video__img {
        width: 85%;
        height: 85%;
        object-fit: cover;
        display: block;
    }

    .number4 {
        position: absolute;
        top: 18%;
        left: -5%;
        font-size: 3rem;
        font-weight: 500;
        padding: 4px 8px;
    }

    .finish {
        position: absolute;
        top: 20%;
        right: 4%;
        width: 100px;
        height: auto;
    }
}

@media screen and (max-width: 768px) {
    .brSp {
        display: inline;
    }

    .photo {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .photo__item {
        position: relative;
        overflow: hidden;
        width: clamp(158px, 100%, 100%);
        aspect-ratio: 432 / 395;
        height: auto;
    }
}

@media screen and (min-width: 769px) {
    .brSp {
        display: none;
    }

    .photo {
        grid-template-columns: repeat(3, 1fr);
    }

    .photo__item {
        position: relative;
        overflow: hidden;
        width: clamp(158px, calc((100vw - 64px) / 3), 432px);
        aspect-ratio: 432 / 395;
        height: auto;
    }

    .brPc {
        display: block;
    }

.about__container {
    max-width: 1440px;
    margin: 0 auto;
}

    .section--profile {
        padding: 80px;
    }

    .title {
        font-size: 3.2rem;
        letter-spacing: 5.12px;
        padding: 56px 0px;
    }

    .title span {
        font-size: 2rem;
        font-weight: 600;
        line-height: 1.5;
        letter-spacing: 3.2px;
    }

    .sub__title {
        text-align: center;
        font-family: "Shippori Mincho";
        font-size: 2.4rem;
        font-weight: 500;
        line-height: 1.5;
        letter-spacing: 1.44px;
    }

    .prof__group {
        text-align: center;
        font-size: 1.6rem;
        font-weight: 350;
        line-height: 1.9;
        letter-spacing: 2.56px;
    }

    .prof__group p {
        margin-top: 16px;
    }

    .hanga01,
    .hanga02,
    .hanga03 {
        width: 205px;
        height: 212px;
        overflow: hidden;
    }

    .hanga01 img {
        width: 205px;
        height: 212px;
        position: absolute;
        top: 12%;
        left: 6%;
        object-fit: contain;
        z-index: -1;
    }

    .hanga02 img {
        width: 205px;
        height: 212px;
        position: absolute;
        top: 60%;
        right: 6%;
        object-fit: contain;
        z-index: -1;
    }

    .hanga03 img {
        width: 205px;
        height: 212px;
        position: absolute;
        top: 78%;
        left: 6%;
        object-fit: contain;
        z-index: -1;
    }

    .hanga__group {
        height: 0;
    }

    .mockup__group {
        gap: 32px;
    }

    .mockup__txt {
        font-size: 1.4rem;
        padding: 8px 32px;
    }

    /* modal */
    .modal__close {
        pointer-events: auto;
        cursor: pointer;
        top: -50px;
        right: -4px;
    }

    .modal__close svg {
        padding: 2.2%;
        width: 26px;
        height: 26px;
    }

    .how__bg {
        height: 100%;
        margin-top: 140px;
    }

    .footer {
        margin-top: 80px;
    }
}