@charset "utf-8";

/* ==========
mainvisual
========== */
.mainvisual {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mainvisual__inner {
    width: 100%;
    max-width: 1600px;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.7%;
    padding: 0 5.7%;
    margin: 0 auto;
    position: relative;
}

.mainvisual__txt {
    font-weight: 360;
    flex-shrink: 0;
}

.title {
    display: flex;
    flex-direction: column;
    gap: 0.26em;
    font-size: clamp(5.2rem, 6.6vw, 9.2rem);
}

.subtitle {
    margin-top: 0.86em;
    font-size: clamp(3.0rem, 4.0vw, 5.6rem);
    color: var(--gray-main);
}

.mainvisual__img {
    width: 100%;
    height: 100%;
    position: relative;
}

.mainvisual__img div {
    position: absolute;
}

.circle {
    width: 47.4%;
    top: 11.8%;
    left: 0;
}

.triangle {
    width: 47.2%;
    top: 6%;
    right: 0;
}

.rectangle {
    width: 42.6%;
    top: 50.2%;
    right: 9.9%;
}

@media screen and (max-width: 767px) {
    .mainvisual {
        height: 90vh;
        aspect-ratio: initial;
        position: relative;
    }

    .mainvisual__inner {
        padding: 0;
        height: 100%;
    }

    .mainvisual__txt {
        font-weight: 360;
        flex-shrink: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.4);
        backdrop-filter: blur(3px);
    }

    .title {
        gap: 20px;
        font-size: 15.5vw;
    }

    .subtitle {
        margin-top: 40px;
        font-size: 9.0vw;
    }

    .mainvisual__img {
        width: 100%;
        height: 100%;
        position: absolute;
        z-index: -10;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-top: 10vw;
    }

    .mainvisual__img div {
        position: static;
        width: 82%;
        padding: 0 10px;
        margin: 0 auto;
    }

    .circle,
    .rectangle {
        text-align: right;
    }

    .circle img {
        width: 60%;
    }

    .triangle img {
        width: 70%;
        transform: translateY(-8vw);
    }

    .rectangle img {
        width: 60%;
    }
}

/* ==========
works
========== */
.section--works {
    margin: 0 auto;
}

@media screen and (max-width: 767px) {
    .section--works {
        margin: 60px auto 0;
    }
}

/* ==========
profile
========== */
.section--profile {
    padding-bottom: clamp(70px, 10vw, 180px);
    margin: 200px auto 0;
}

.profile__inner {
    margin-top: 80px;
    position: relative;
}

.profile__img {
    width: clamp(614px, 80vw, 1020px);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -8vw;
}

.profileImgAnimation {
    animation-name: profileImg;
    animation-duration: 2.4s;
    animation-timing-function: steps(2, end);
    animation-iteration-count: infinite;
}

@keyframes profileImg {
    from {
        rotate: -1.5deg;
    }

    to {
        rotate: 2deg;
    }
}

.profile__name {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.profile__name .en {
    font-size: clamp(5.2rem, 6.8vw, 9.6rem);
    font-weight: 100;
}

.profile__name .ja {
    font-size: clamp(1.3rem, 1.7vw, 2.4rem);
    font-weight: 300;
    color: var(--gray-main);
}

.profile__txt {
    margin-top: 40px;
    width: fit-content;
    position: relative;
    z-index: 10;
}

.profile__desc p {
    margin-top: 20px;
    font-size: clamp(1.4rem, 1.1vw, 1.6rem);
    font-weight: 300;
    line-height: 1.6;
}

@media screen and (max-width: 767px) {
    .section--profile {
        padding-bottom: 0;
        margin: 160px auto 0;
        overflow-x: hidden;
    }

    .section__title--profile {
        margin-bottom: -24px;
    }

    .profile__inner {
        margin-top: 20px;
        position: relative;
    }

    .profile__img {
        width: 150%;
        position: absolute;
        top: 0;
        left: 50%;
        transform: translate(-50%, 0);
    }

    .profile__inner::before {
        content: '';
        display: block;
        padding-top: 130%;
    }

    .profile__name {
        gap: 6px;
        position: absolute;
        top: 25%;
        padding: 12px 0;
        backdrop-filter: blur(1px);
    }

    .profile__name .en {
        font-size: 11vw;
        font-weight: 600;
    }

    .profile__name .ja {
        font-size: 4.5vw;
        font-weight: 500;
    }

    .profile__txt {
        margin: 20px auto 0;
        width: fit-content;
        position: relative;
        z-index: 10;
    }

    .profile__desc p {
        margin-top: 20px;
        font-size: clamp(1.4rem, 1.1vw, 1.6rem);
        font-weight: 300;
        line-height: 1.6;
    }
}