.center-container{
    max-width: 820px;
    margin: 0 auto; 
}

.custom-position-top-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    padding: 1rem;
    transform: translateY(-5rem);
}
.slide {
    position: absolute;
    inset: 0;
    transition: opacity 1s ease-in-out; /* フェードイン・フェードアウトのアニメーション */
    display: block; /* 必ず表示されるように設定 */
    visibility: visible; /* 非表示にならないように設定 */
}


.step-step > div {
    display: flex;
    flex-direction: column; /* 縦方向に並べる */
    align-items: center; /* 水平方向の中央揃え */
    text-align: center; /* テキストを中央揃え */
}



.note4{
    color: #696969;
    font-weight: bold;
    border: solid 1px #e6e6e6;
    padding: 0.3em 1em 0em 1em;
    box-shadow:4px 4px 0 rgba(0,0,0,.1);
    background-color: white;
}
.sen4{
    background-color: #fff;
    background-image:
    linear-gradient(90deg, rgba(237, 119, 128, 0) 0%, rgba(237, 119, 128, 0) 50%, #fff 0%, #fff 100%), linear-gradient(180deg, rgba(100, 100, 100, 0) 0%, rgba(100, 100, 100, 0) 97.5%, #646464 100%);
    background-size: 8px 100%,100% 2em;
    line-height: 2em;
    padding: 0em 1em 0.2em 1em;
}



.bg-on-cover-img{
    background-color: rgba(185, 210, 255, 0.7);
}

.text-on-cover-img{
    color: rgba(255,184,0); /* 蛍光オレンジの文字色 */
    text-shadow: 
        1px 1px 0 white, /* 右下 */
        -1px -1px 0 white, /* 左上 */
        -1px 1px 0 white, /* 左下 */
        1px -1px 0 white; /* 右上 */
    font-weight: bold; /* 必要に応じて文字を強調 */
}


.angled-bg-0 {

    width: 300px;
    height: 300px;
    background-image: url('./../assets/img/2025/gemini-bg-voice.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat; 

    transform: rotate( 5deg); 
    transform-origin: center; 
    z-index: -3;
    opacity: 0.25;
    right: -20%;
    bottom: 3rem;
}
.angled-bg-1 {

    width: 200px;
    height: 200px;
    background-image: url('./../assets/img/2025/gemini-bg-bag.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat; 

    transform: rotate(-15deg); 
    transform-origin: center; 
    z-index: -3;
    opacity: 0.25;
    left: 30px;
    top: -250px;
}
.angled-bg-2 {

    width: 200px;
    height: 200px;
    background-image: url('./../assets/img/2025/gemini-bg-tool.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat; 

    transform: rotate(85deg); 
    transform-origin: center; 
    z-index: -3;
    opacity: 0.25;
    right: 120px;
    top: -220px;
}
.angled-bg-3 {
    position: absolute; /* 他の要素に影響を与えないように絶対位置指定 */

    width: 200px;
    height: 200px;
    background-image: url('./../assets/img/2025/gemini-bg-paper.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat; 

    transform: rotate(-15deg); 
    transform-origin: center; 
    z-index: -3;
    opacity: 0.25;
    left: 180px;
    top: -60px;
}
.angled-bg-4 {
    position: absolute; /* 他の要素に影響を与えないように絶対位置指定 */

    width: 200px;
    height: 200px;
    background-image: url('./../assets/img/2025/gemini-bg-toy.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat; 

    transform: rotate(55deg); 
    transform-origin: center; 
    z-index: -3;
    opacity: 0.25;
    right: 250px;
    top: -20px;
}
.angled-bg-5 {
    position: absolute; /* 他の要素に影響を与えないように絶対位置指定 */

    width: 200px;
    height: 200px;
    background-image: url('./../assets/img/2025/gemini-bg-paper.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat; 

    transform: rotate(-15deg); 
    transform-origin: center; 
    z-index: -3;
    opacity: 0.25;
    left: 180px;
    top: -120px;
}
.angled-bg-6 {
    position: absolute; /* 他の要素に影響を与えないように絶対位置指定 */

    width: 200px;
    height: 200px;
    background-image: url('./../assets/img/2025/gemini-bg-shoes.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat; 

    transform: rotate(-15deg); 
    transform-origin: center; 
    z-index: -3;
    opacity: 0.25;
    right: 50px;
    top: 170px;
}
.angled-bg-7 {
    position: absolute; /* 他の要素に影響を与えないように絶対位置指定 */

    width: 200px;
    height: 200px;
    background-image: url('./../assets/img/2025/gemini-bg-icon.jpg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat; 

    transform: rotate(-15deg); 
    transform-origin: center; 
    z-index: -3;
    opacity: 0.25;
    left: 250px;
    top: 240px;
}


/* マウスホバーでキャプチャ */
#preview-container {
    display: none;
    position: fixed;
    z-index: 10;
    width: 12rem;
    height: 10rem;
    border: 1px solid #ccc;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    pointer-events: none;
}




#top-register-button-1{
    cursor: pointer;
}
/* button-anime */
.button-container {
    position: relative; 
    display: inline-block; 
}
.waving-gorilla-wrapper {
    position: absolute;
    bottom: -10px; 
    right: -60px;  
    width: 100px;
    height: auto;
    overflow: hidden;
}






/* pickup items */
@keyframes slide-loop {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.animate-slide-loop {
    display: flex;
    animation: slide-loop 25s linear infinite; /* 無限ループでスライド */
}

.animate-slide-loop > div {
    flex-shrink: 0; /* アイテムの幅を固定 */
    width: calc(100% / 6); /* 6カラムに対応 */
}






@media (max-width: 768px) {


    .custom-position-top-text {
        padding: 0.5rem; /* スマホで余白を調整 */
    }

    .custom-position-top-text h1 {
        font-size: 2rem; /* ヘッダーのフォントサイズを小さくする */
    }

    .custom-position-top-text p {
        font-size: 1.2rem; /* 残りのテキストのフォントサイズを調整 */
    }


    #slide-container-1 {
        background-position: calc(40%) center; /* 右に100pxずらす */
    }
    #slide-container-2 {
        background-position: calc(75%) center; /* 右に100pxずらす */
    }



    .animate-slide-loop {
        animation: slide-loop 8s linear infinite; /* スピードを速くする */
    }
    .animate-slide-loop > div {
        width: calc(100% / 3);
    }



    .angled-bg-0 {
        width: 150px;
        height: 150px;
        right: 0%;
        bottom: 6.5rem;
    }

    .angled-bg-1 {
        width: 150px;
        height: 150px;
        left: 20px;
    }
    .angled-bg-2 {
        width: 150px;
        height: 150px;
        right: 20px;
    }
    
}