/* Fonts */

@font-face {
    font-family: "village";
    src: url('../creamers/fonts/Village-wLn3.ttf') format('tuetype');
    /* font-optical-sizing: auto; */
    font-weight: normal;
    font-style: normal;
}

/* animation */

@keyframes girlFadeIn {
    from {
        filter: brightness(0);
        opacity: 1;
        /* 初期状態を不透明度に0に設定 */
    }

    to {
        filter: brightness(1);
        opacity: 1;
    }
}


/* 出演情報 */
.s-wrapper {
    margin-top: 100px;
}

.s-contents-wrapper {
    background-color: rgba(242, 247, 209, 0.977);
    padding-left: 0 !important;
    padding-right: 0 !important;
    border: solid 2px black;
    border-radius: 10px;
    margin-top: 15px;
}

.s-title-wrapper {
    background-color: rgba(137, 43, 226, 0.401);
    font-weight: bold;
    font-size: 1.2rem;
    border-radius: 9px 9px 0 0;
}

.s-whole-title {
    font-family: 'Hangyaku';
    font-size: 5rem;
    color: rgb(254, 29, 115);
    background-color: rgba(205, 136, 255, 0.244);

}

.s-contents-image {
    margin-right: 0 !important;
    padding-right: 0 !important;
}

.s-contents-image-image {
    margin-right: 0 !important;
    padding-right: 0 !important;
    object-fit: contain;
}

.s-contents-detail-wrapper {
    padding-right: 0 !important;
    padding-left: 0 !important;
}




/* メンバー */
.members-title-text {
    font-family: 'village';
    font-size: 7rem;
    color: rgb(255, 224, 183);
    letter-spacing: 2.2px;
    animation: creamersFadeIn 1s ease-in forwards;
}

.girl {
    filter: brightness(0);
    opacity: 1;
    /* 初期状態を不透明度に0に設定 */
    transition: transform 0.5s ease;
    object-fit: cover;
    width: 100%;
}

.girl-animation {
    animation: titleFadeIn 2s ease-in forwards;
    /* アニメーション時間は変更なし */
    animation-iteration-count: 1;
    /* アニメーション回数は1回 */

}

.girl:hover,
.girl.active {
    animation: girlFadeIn 1s ease-in forwards;
    transform: scale(1.12);
    opacity: 1;
}

.creamers-member-name {
    position: relative;
    /* 位置を相対的に変更 */
    top: -75px;
    /* 下の要素を50px上に移動 */
    bottom: -100px;
    height: 10vh;
    animation: titleFadeIn 3s ease-in forwards 2.5s;
    opacity: 0;
    display: flex;
    justify-content: center;
}

.name-text-2 {

    font-size: 3vw;
    color: rgb(255, 220, 232);
    text-shadow: 4px 4px 10px rgb(118, 122, 0);
    object-fit: contain;


    font-family: "Danfo", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
        "ELSH" 0;
}

.name-text-2 {
    width: 40vw;
    object-fit: contain;
}

@media (max-width:576px) {
    .name-text {
        width: 100%;
        font-size: 5vw;
        color: rgb(255, 220, 232);
        text-shadow: 4px 4px 10px rgb(118, 122, 0);
        object-fit: contain;
    }

    .members-title-text {
        font-size: 4rem;
    }
}

.creamers-detail-top {
    background-color: rgb(160, 255, 113);
    padding-left: 10px;
    border-radius: 8px 8px 0 0;
}

.creamers-detail-middle {
    margin-left: 25px !important;

}

.creamers-detail-bottom {
    display: flex;
    margin-left: 25px;
    bottom: 0;
    position: absolute;
    bottom: 30px;

}

.table-wrapper {
    margin-top: auto;
}

.creamers-member-wrapper {
    height: 100%;
    margin-top: 25px;
}



.row-warrep {
    border-top: dotted 1px black;
}

.creamers-detail {
    display: none;
    background-color: cornsilk;
    border: solid 1px black !important;
    border-radius: 8px;
    position: relative;
    top: -75px;
    width: 25vw;
    height: 20vh;
    box-shadow: 5px 5px 15px 3px rgba(0, 0, 0, 0.1) !important;
    padding: 0;
}

.close-modal {
    position: absolute;
    bottom: 5px;
    right: 10px;
}


/* ------------------ */


.title-wrapper {
    width: 100%;
    height: fit-content;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    margin-bottom: 20px;
    position: relative;
}

.title-upper {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    flex-direction: row;

}

.title-img-wrapper {
    width: 30%;
    position: relative;
    left: 0;
    animation: titleFadeIn 2s forwards, imgMove 2s forwards 2s;


}

.title-img {
    width: 100%;
}

.title-text {
    padding: 6px;
    opacity: 0;
}

h1 {
    font-family: "Londrina Sketch", sans-serif;
    font-weight: 800;
    font-style: normal;
}

h2 {
    font-family: "Londrina Sketch", sans-serif;
    font-weight: 800;
    font-style: normal;
}

.intro-top {
    opacity: 0;
    animation: creamersFadeIn 1.5s forwards 2s;
}

.intro-contents {
    animation: creamersFadeIn 1.5s forwards 3s;
    opacity: 0;
}

@keyframes creamersSlideDown {
    from {
        height: 30%;
    }

    to {
        height: 100%;
    }
}

@keyframes creamersFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media(min-width:576px) {
    .title-text {
        position: absolute;
        /* 絶対配置 */
        left: 40%;
        /* 画面の横の中心 */
        display: none;
        margin-right: 15px;
        margin-bottom: 10px;
        width: 55%;
        background-color: bisque;
        animation: creamersFadeIn 1.5s forwards 0s;
        opacity: 0;
        padding: 6px;
    }

    .creamers-wrapper {
        margin-top: 200px;

    }

    .creamers-detail {
        position: fixed;
        top: auto;
        bottom: 40px;
        left: 20px;
        width: 60vw;
        z-index: 1000;
    }

    .s-wrapper {
        margin-top: 300px;
    }

    .s-whole-title {
        font-family: 'Hangyaku';
        font-size: 4rem;
        color: rgb(254, 29, 115);
    }
}

@media(min-width:768px) {
    .creamers-wrapper {
        margin-top: 310px;

    }

    .title-text {
        padding: 6px;
        opacity: 0;
    }

    .s-wrapper {
        margin-top: 200px;
    }


}

@media(min-width:992px) {
    .creamers-wrapper {
        margin-top: 210px;

    }

    .title-text {
        padding: 6px;
        opacity: 0;
    }

    .creamers-detail {
        width: 40vw;
    }

    .s-wrapper {
        margin-top: 200px;
    }
}

@keyframes displayNone {
    from {
        display: none;
    }

    to {
        display: block;
    }
}

@keyframes imgMove {
    from {
        left: 0;
    }

    to {
        left: -33%;
    }
}

@keyframes imgMoveSm {
    from {
        left: 0;
    }

    to {
        left: -26%;
    }
}

@keyframes titleFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width:576px) {
    .title-img-wrapper {

        width: 60%;
        position: relative;
        left: 4%;
        animation: titleFadeIn 2s forwards;




    }

    .title-text {
        position: relative;
        /* 画面の横の中心 */
        background-color: bisque;
        width: 95%;
        margin-top: 6px;
        margin-right: auto;
        margin-left: auto;
        margin-bottom: 15px;
        padding: 4px;
        animation: creamersFadeIn 1.5s forwards;
        opacity: 0;
    }

    .title-upper {
        width: 100%;
        display: flex;
        justify-content: center;
        position: relative;
        flex-direction: column;
    }


    .creamers-detail {
        position: fixed;
        background-color: cornsilk;
        border: dotted 2px black;
        border-radius: 8px;
        top: auto;
        bottom: 40px;
        left: 20px;
        width: 85vw;
        z-index: 1000;
    }

    .s-wrapper {
        margin-top: 25px;
    }

    .s-title-wrapper {
        font-size: 0.9rem;
    }

    .s-whole-title {
        font-family: 'Hangyaku';
        font-size: 3rem;
        color: rgb(254, 29, 115);
    }


}

.modal-overlay {
    display: none;
    /* 初期状態では非表示 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    /* 半透明の背景 */
    z-index: 999;
    /* モーダルの背面に表示 */
}

.girl.active {
    transform: scale(1.12);
    opacity: 1;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* デスクトップでホバーした時のスタイル */
@media (hover: hover) {
    .girl:hover {
        transform: scale(1.12);
        opacity: 1;
    }
}



/* ホバーが無効なモバイルデバイス向け */
@media (hover: none) {
    .girl.active {
        transform: scale(1.12);
        opacity: 1;
    }
}

.creamers-wrapper {
    margin-bottom: 400px;
}