/*ocpage*/

#menu-btn {
    position: fixed;
    top: 0;
    right: 3px;
    z-index: 9999;

    border: none;
    background: none;
    cursor: pointer;

    transition: 1s;
}


/* キラキラエフェクト */
.sparkle {
    position: fixed;
    width: 25px;
    height: 25px;
    pointer-events: none;
    animation: sparkleMove 1s ease-out forwards;
    z-index: 9999;
}

@keyframes sparkleMove {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateY(-40px) scale(0);
    }
}

#menu-btn img {
    width: 80px;
}

#menu-btn:hover img {

    transform:
        scale(1.1) rotate(5deg);
}

/* メニュー */
#menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 250px;
    height: 100vh;
    background: #000000;
    display: flex;
    flex-direction: column;
    padding-top: 120px;
    transition: .4s;
    z-index: 999;
    opacity: 0.8;
}

#menu.active {
    right: 0;
}

#menu a {
    text-decoration: none;
    color: #fd86e3;
    padding: 20px 40px;
    font-size: 1.2rem;
    font-size: 25px;
    font-family: 'DIN Condensed', 'ヒラギノ角ゴ StdN', 'Hiragino Kaku Gothic StdN', sans-serif;
    text-shadow: 0 0 8px #f5c2ee, 0 0 15px #161416;
}

#menu a:hover {
    background: #ffe7f4;
}


body {
    font-family: sans-serif;

    /* 【修正】全体のスクロールを許可し、横スクロールだけを禁止にします */
    overflow-x: hidden;
    overflow-y: auto;
    cursor: url("../img/cur.PNG"), auto;







}

@keyframes gradientMove {

    0% {
        background-position:
            0% 50%;
    }

    50% {
        background-position:
            100% 50%;
    }

    100% {
        background-position:
            0% 50%;
    }

}


.oc-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 10px;

    max-width: 1000px;

    margin: auto;
    position: relative;
    top: -105px;



}


.oc-card {

    cursor: pointer;

    text-align: center;

    transition: .4s;
    color: #ff75d6;
    font-size: 25px;



    font-family: 'DIN Condensed', 'ヒラギノ角ゴ StdN', 'Hiragino Kaku Gothic StdN'

}

.oc-card img {

    width: 100%;


}

.oc-card>p {

    position: relative;
    top: -25px;

}

.oc-card {

    animation:
        floatCard 5s ease-in-out infinite;
}

@keyframes floatCard {

    0% {
        transform:
            translateY(0);
    }

    50% {
        transform:
            translateY(-10px);
    }

    100% {
        transform:
            translateY(0);
    }

}

.oc-card:hover {

    transform:
        translateY(-15px) scale(1.05);

}

/* =========================
   MODAL
========================= */

.modal {
    position: fixed;
    inset: 0;

    width: 100%;
    height: 100%;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;

    box-sizing: border-box;
    padding: 30px;

    background: rgba(255, 240, 248, 0.75);
    backdrop-filter: blur(8px);

    z-index: 99999;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.4s ease,
        visibility 0.4s ease;
}


/* 開いた状態 */
.modal.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* モーダル本体 */
.modal-content {

    width: min(500px, 90%);

    padding: 40px;

    border-radius: 15px;

    background: white;

    text-align: center;

    position: relative;

    z-index: 100000;

    transform:
        translateY(30px) scale(.9);

    opacity: 0;

    transition:
        transform .5s cubic-bezier(.2, 1.4, .4, 1),
        opacity .3s ease;
}


/* 開いたときにポンッと出現 */
.modal.show .modal-content {

    transform:
        translateY(0) scale(1);

    opacity: 1;
}


/* 閉じるボタン */
.close-btn {

    position: absolute;

    top: 15px;
    right: 20px;

    border: none;
    background: none;

    font-size: 28px;

    color: #ff86c8;

    cursor: pointer;

    z-index: 100001;

    transition:
        transform .3s ease;
}


.close-btn:hover {

    transform:
        rotate(90deg) scale(1.2);

}


/* モーダルを開ける画像 */
.modal-btn {

    cursor: pointer;

    position: relative;

    z-index: 20;
}


.oc-modal.active {

    display: flex;

}

.oc-modal-content {

    position: relative;

    width: min(1000px, 90vw);

    max-height: 85vh;

    display: grid;

    grid-template-columns: 40% 60%;

    gap: 30px;

    padding: 30px;

    background: white;

    border-radius: 30px;

    box-shadow:
        0 20px 60px rgba(255, 130, 190, 0.25);

    box-sizing: border-box;

    overflow: auto;

    animation:
        modalOpen 0.45s cubic-bezier(.2, .8, .2, 1);

}



.oc-modal-image img {

    width: 100%;

    max-height: 70vh;

    object-fit: contain;

    border-radius: 20px;

}

.oc-name {

    padding: 2px 2px;




}

.oc-nanememe {
    font-size: 38px;
    margin-top: 5px;

    color: #ff75d6;


    font-family: 'DIN Condensed', 'ヒラギノ角ゴ StdN', 'Hiragino Kaku Gothic StdN'

}

.sub-name {
    position: relative;
    top: -45px;
    font-size: 13px;
    margin-top: 5px;


    color: #ff75d6;


    font-family: 'DIN Condensed', 'ヒラギノ角ゴ StdN', 'Hiragino Kaku Gothic StdN'

}

.jyouhou {
    border: #fd86e3 solid 2px;
    border-radius: 30px;
    padding: 5px 20px 0 20px;
    font-size: 18px;
    position: relative;
    top: -50px;

}

.sub-jyouhou {
    display: flex;
    gap: 10px;

    color: #ff75d6;


    font-family: 'DIN Condensed', 'ヒラギノ角ゴ StdN', 'Hiragino Kaku Gothic StdN'


}

.two-g {
    margin-top: 30px;
}

.hhh {
    position: relative;
    top: -70px;
}


.saisyobun {
    font-size: 14px;
    text-align: center;
    padding: 0 10px;
    padding: 0 80px;
    position: relative;
    top: -20px;
    font-family: 'Osaka', sans-serif;
    color: #e640ae;
}

.tugibobun {
    position: relative;
    top: -25px;
    font-size: 13px;
    font-family: 'Osaka', sans-serif;
    color: #fffdff;

}

.oc-modal-close {

    position: absolute;

    top: 12px;

    right: 15px;

    width: 45px;

    height: 45px;

    border: none;

    background: transparent;

    color: #ff75b7;

    font-size: 38px;

    line-height: 1;

    cursor: pointer;

    z-index: 10;

    transition:
        transform .3s ease;

}

.oc-modal-close:hover {

    transform:
        rotate(90deg) scale(1.15);

}

@keyframes modalOpen {

    0% {

        opacity: 0;

        transform:
            scale(.85) translateY(30px) rotate(-2deg);

    }

    100% {

        opacity: 1;

        transform:
            scale(1) translateY(0) rotate(0);

    }

}

.www {
    margin-top: 65px;
}


.gaiyou {
    font-size: 13px;
    position: relative;
    top: -50px;

    color: #844c75;

    font-family: 'Osaka', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', sans-serif;
}

.oc-section {
    height: 150px;
}

h2 {

    color: #fbfbfb;
    font-size:

        clamp(50px, 8vw, 70px);
    text-align: center;
    font-family: 'DIN Condensed', 'ヒラギノ角ゴ StdN', 'Hiragino Kaku Gothic StdN', sans-serif;
    margin: 0;
    padding: 0;
    text-shadow: 0 0 10px #ff65ea, 0 0 20px #ff00de;
}

.ocsec-image {
    width: 100px;
}

.saisyo {

    text-align: center;
}

.tuginobun {
    font-size: 12px;

}

.gallery-section {



    overflow: hidden;

}

.gallery-inner {
    display: flex;
    gap: 5px;
    width: max-content;

    animation: galleryLoop 9s linear infinite;

    will-change: transform;
}

@keyframes galleryLoop {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-1 * (233px * 4 + 30px * 3)));
    }

}

.gallery-inner img {

    width: 250px;

    height: 250px;

    object-fit: cover;

    border-radius: 10px;

    flex-shrink: 0;

}



body {

    opacity: 0;

    animation:
        pageFade .8s ease forwards;

}

@keyframes pageFade {

    from {

        opacity: 0;

    }

    to {

        opacity: 1;

    }

}

.mt {
    color: #fff;
}



.scroll-fade {
    opacity: 0;
    transform: translateY(50px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.scroll-fade.is-visible {
    opacity: 1;
    transform: translateY(0);
}



.float {
    animation: floating 5s ease-in-out infinite;
}

@keyframes floating {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }

}