@charset "UFT-8";

/* ========================
common
======================== */
:root {
    --primary-white: #EEF2FB;
    --primary-black: #101113;
    --primary-pitchBlack: #000;
    --primary-gray: #3E424B;
    --primary-lightGray: #737D96;
    --contentPadding__pc: 3.9%;
    --contentPadding__sp: 6.6%;
}


/* ========================
loading
======================== */
/* 初期状態: スクロール禁止 */
body {
    overflow: hidden;
}

body.loaded {
    overflow: auto;
}

/* ローディング画面 */
.loading {
    position: fixed;
    inset: 0;
    background-color: var(--primary-black);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1s;
}

.loading.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* クロスフェード用の画像設定 */
.loading__img {
    position: absolute;
    object-fit: contain;
    height: 100vh;
    top: 0;
    opacity: 0;
    transition: opacity 1s;
}

.loading__img.active {
    opacity: 1;
}

.loading__img.fade {
    opacity: 0;
}

/* ローディングテキスト */
.loading__text {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.loading__text.fade-out {
    opacity: 0;
}

.loading__label {
    font-family: 'Libre Baskerville','Times New Roman',serif;
    font-size: 1.4rem;
    letter-spacing: 0.3rem;
    color: var(--primary-white);
    margin-bottom: 10px;
}

.loading__percent {
    font-family: 'Libre Baskerville','Times New Roman',serif;
    font-size: 2.4rem;
    color: var(--primary-white);
    letter-spacing: 0.1rem;
}

@media screen and (max-width: 768px) {
    .loading__text {
        top: 20%;
    }
    
    .loading__label {
        font-size: 1.2rem;
    }
    
    .loading__percent {
        font-size: 2rem;
    }
}

/* メインコンテンツ */
.main__container {
    opacity: 0;
    transition: opacity 3s;
}

.main__container.show {
    opacity: 1;
}

@media screen and (max-width: 768px) {
    .loading {
    display: flex;
    align-items: center;
    justify-content: center;
    }

    .loading__img {
        width: 100%;
    }
}
/* sp 768px */


/* スクロールダウンインジケーター */
.mainVisual {
    position: relative;
    overflow: hidden;
}

.scrollDown {
    position: absolute;
    bottom: 5%;
    right: 2%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: fadeInScroll 1s ease-out 6s forwards;
    z-index: 10;
}

@keyframes fadeInScroll {
    to {
        opacity: 1;
    }
}

.scrollDown__text {
    font-family: 'Lato', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 0.2rem;
    color: var(--primary-white);
    writing-mode: vertical-rl;
}

.scrollDown__line {
    position: relative;
    width: 1px;
    height: 400px;
    background-color: rgba(238, 242, 251, 0.5);
    overflow: hidden;
}

.scrollDown__inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(
        to bottom,
        rgba(238, 242, 251, 0) 0%,
        rgba(238, 242, 251, 1) 50%,
        rgba(238, 242, 251, 0) 100%
    );
    animation: scrollLineMove 2s ease-in-out infinite;
}

@keyframes scrollLineMove {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(250%);
    }
}

/* スクロール後は非表示 */
.scrollDown.hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease-out;
}

/* SP対応 */
@media screen and (max-width: 768px) {
    .scrollDown {
        bottom: 2%;
        right: 2%;
        gap: 5px;
    }

    .scrollDown__text {
        font-size: 1rem;
        letter-spacing: 0.15rem;
    }
    
    .scrollDown__line {
        height: 120px;
    }
}

/* ========================
main
======================== */

/* メインビジュアル */
.mainVisual__img01, .mainVisual__img02 {
    width: 100vw;
    object-fit: cover;
    vertical-align: bottom;
}

.mainVisual__img02 {
    margin-top: -1px;
}

/* ギャラリー */
.gallery {
    padding: 175px var(--contentPadding__pc) 265px;
    position: relative;
}

.title__gallery {
    position: absolute;
    top: 384px;
    letter-spacing: 0.2rem;
}

.subtitle__gallery {
    position: absolute;
    top: 458px;
}

.gallery__container {
    /* グリッドコンテナの設定 */
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: min(10vw,130px);
}

.gallery__item.item-1 {
    grid-column: 4 / span 3;
    grid-row: 1 / span 4;
}

.gallery__item.item-2 {
    grid-column: 1 / span 3;
    grid-row: 3 / span 3;
}

.gallery__item.item-3 {
    grid-column: 3 / span 4;
    grid-row: 6;
}

.galleryBtn__container {
    margin-top: 187px;
    display: flex;
    justify-content: center;
}

/* プロフィール */
.profile {
    padding: 100px var(--contentPadding__pc) 200px;
}

.profile__container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile__img {
    width: min(25vw , 300px);
}

.profile__inner {
    margin-left: min(4vw, 100px);
}

.subtitle__profile {
    font-weight: 400;
}

.title__profile {
    margin-top: 20px;
    width: min(40vw, 450px);
}

.profile__txt {
    padding: 70px 0;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.5;
    border-bottom: 1px solid var(--primary-gray, #3E424B);
}

.award {
    display: flex;
    margin-top: 70px;
}

.award__container {
    margin-left: min(4vw, 70px)
}

.award__title,
.award__item {
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.1rem;
}

.award__list:last-of-type {
    margin-top: 40px;
}

.award__name {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.5;
    margin-top: 10px;
}

.profileBtn__container {
    margin-top: 100px;
    display: flex;
    justify-content: flex-end;
}

/* main sp */
@media screen and (max-width: 768px) {

    /* sp用メインビジュアル表示設定 */
    .mainVisual__img01 {
        min-height: 575px;
    }
    
    .mainVisual__img02 {
        min-height: 125px;
    }

    .gallery {
        padding: 100px var(--contentPadding__pc) 87px;
    }

    .title__gallery {
        top: 140px;
    }

    .subtitle__gallery {
        top: 172px;
    }

    .gallery__container {
        /* グリッドコンテナの設定 */
        gap: min(6vw,40px);
    }

    .galleryBtn__container {
        margin-top: 75px;
    }

    /* プロフィール */
    .profile {
        padding: 70px var(--contentPadding__sp) 100px;
    }

    .profile__container {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

    .profile__img {
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }

    .profile__inner {
        margin : 70px 0 0;
    }

    .subtitle__profile {
        text-align: center;
    }

    .title__profile {
        margin: 20px auto 0;
        width: 256px;
        height: auto;
    }

    .pc__txt {
        display: none;
    }

    .profile__txt {
        padding: 50px 0 70px;
    }

    .award {
        display: flex;
        flex-direction: column; 
        justify-content: center;
        align-items: center;
    }

    .award__container {
        margin: 50px 0 0;
    }

    .award__item, .award__name {
        font-size: 1.4rem;
    }

    .profileBtn__container {
        margin-top: 70px;
        display: flex;
        justify-content: center;
    }

}
/* sp 768px */


/* ========================
コンタクトボタン
======================== */
.contactBtn {
    padding: 200px var(--contentPadding__pc);
    background-image: url('../img/original_04.jpg');
    background-position: center center;
    background-attachment: fixed;
    background-size: max(70vh,60vw);
}

.contactBtn__container {
    padding: 55px;
    background-color: rgba(16, 17, 19, 0.9);
    text-align: center;
}

.title__contact {
    font-size: 4.8rem;
    position: relative;
    letter-spacing: 0.2rem;
}

.subtitle__contact {
    margin: 10px 0 0;
}

.contactBtn__wrapper {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

/* main sp */
@media screen and (max-width: 768px) {

    /* コンタクトボタン */
    .contactBtn {
        padding: 100px var(--contentPadding__sp);
        background-size: cover;
    }

    .contactBtn__container {
        padding: 35px;
    }

    .title__contact {
        font-size: 2.6rem;
    }

    .contactBtn__wrapper {
    margin-top: 30px;
    }
}
/* sp 768px */