body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body.body-hidden {
    overflow: hidden;
}

.splash-modal {
    display: flex; /* 初期状態では表示しない */
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    opacity: 1;
    transition: opacity 1s ease-in-out;
}

.splash-modal.hidden {
    opacity: 0;
}

.splash-content {
    position: relative;
    text-align: center;
        width: 842px; /* 必要に応じて調整 */
    margin: -70vh auto 10px auto; /* 画像間のスペースを確保 */

}

.splash-image {
    display: block;
    width: 842px; /* 必要に応じて調整 */
    margin: 10px auto 10px auto; /* 画像間のスペースを確保 */
}

.close-button {
    position: absolute;
    top: -30px;
    right: -50px;
    background: none;
    border: none;
    font-size: 2em;
    color: white;
    cursor: pointer;
}

.wrap-hidden {
    display: none;
}

p.splash_img1 img,
p.splash_img1 img {
    width: 100%;
}


p.splash_img1 {
    position: absolute;
    top: 30px;
    right: 40px;
    z-index: 100;
    width: 404px;
}

p.splash_img2 {
    position: absolute;
    top: 0px;
    right: 0px;
}


@media only screen and (max-width: 480px) {
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body.body-hidden {
    overflow: hidden;
}

.splash-modal {
    display: flex; /* 初期状態では表示しない */
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    opacity: 1;
    transition: opacity 1s ease-in-out;
}

.splash-modal.hidden {
    opacity: 0;
}

.splash-content {
    position: relative;
    text-align: center;
        width: 90vw; /* 必要に応じて調整 */
    margin: -30vh auto 10px auto; /* 画像間のスペースを確保 */

}

.splash-image {
    display: block;
    width: 90vw; /* 必要に応じて調整 */
    margin: 10px auto 10px auto; /* 画像間のスペースを確保 */
}

.close-button {
    position: absolute;
    top: -10vw;
    right: 0px;
    background: none;
    border: none;
    font-size: 2em;
    color: white;
    cursor: pointer;
}

.wrap-hidden {
    display: none;
}

p.splash_img1 img,
p.splash_img1 img {
    width: 100%;
}


p.splash_img1 {
    position: absolute;
    top: 3vw;
    right: 4vw;
    z-index: 100;
    width: 44.5vw;
}

p.splash_img2 {
    position: absolute;
    top: 0px;
    right: 0px;
}

}

