/* 全体スタイル */
html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    overflow: hidden;
    /* テキスト選択・長押しコールアウト無効化 */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-touch-callout: none;
}

/* 中央配置コンテナ */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
}

/* メイン画像：レスポンシブかつ余白を最適に配置 */
img {
    width: 100%;
    max-width: 220px;
    max-height: 38vh;
    object-fit: contain;
    -webkit-touch-callout: none;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

/* フェードイン アニメーション */
.fade-in {
    opacity: 0;
    animation: fadeInAnimation 5s ease-out forwards;
}

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
        transform: scale(0.96);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* フッター */
footer {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    font-size: 0.7rem;
    color: #bbb;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.15em;
}

/* スマホ用レスポンシブ調整 */
@media (max-width: 768px) {
    img {
        max-width: 170px;
        max-height: 32vh;
    }
}

@media (max-width: 480px) {
    img {
        max-width: 140px;
        max-height: 28vh;
    }
}