body {
    /* 画面全体を使用 */
    height: 100vh;
    width: 100vw;
    margin: 0;
    overflow: hidden; /* スクロールバー非表示 */
    
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: sans-serif;
    background-color: #f0f0f0;
}

#container {
    /* コンテナも画面全体を使用 */
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    /* 全画面表示のためボーダーとシャドウを削除 */
    /* border: 1px solid #ccc; */
    /* box-shadow: 0 0 10px rgba(0,0,0,0.1); */
    cursor: pointer; /* クリックできることを示す */
}

/* 刺激表示画面のスタイル */
#stimulus-screen {
    font-size: 25vw; /* 画面幅に応じて非常に大きく表示 */
    font-weight: bold;
    user-select: none; /* テキスト選択を無効化 */
    text-align: center;
    
    /* 画面いっぱいに広げ、刺激を中央に配置 */
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #e0e0e0; /* 背景色を追加 */
}

/* 開始・結果画面のスタイル (中央に表示) */
#start-screen, #result-screen {
    text-align: center;
    padding: 50px;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    cursor: default; /* ボタンがあるのでデフォルトカーソルに戻す */
}

/* 開始・結果画面のボタン */
button {
    padding: 15px 30px;
    margin: 15px;
    font-size: 1.4em;
    cursor: pointer;
}

/* 非表示にするクラス */
.hidden {
    display: none !important;
}

/* ページめくり用のヒント */
#stimulus-screen::after {
    content: "クリックで次へ";
    position: absolute;
    bottom: 5vh; /* 画面下から5%の位置 */
    font-size: 24px;
    color: #888;
}