.back_button{
    position: fixed; 
    top: 20px; 
    left: 20px; 
    z-index: 2000; 
    padding: 10px 20px; 
    background-color: rgba(255, 255, 255, 0.9); 
    color: #333; 
    text-decoration: none; 
    border-radius: 25px; 
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
}

#notification{
    position: fixed; 
    bottom: 50px; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 80%; 
    background: rgba(0,0,0,0.8); 
    color: white; 
    text-align: center; 
    padding: 15px; 
    border-radius: 10px; 
    display: none; 
    z-index: 9999;
}

/*ローディング*/
.ar_loading{
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: #ffffff;  /* 背景色 */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    font-family: 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif; /* 学祭っぽいフォント */
    font-weight: bold;
    font-size: 24px;
    letter-spacing: 0.1em;
}

.ar_loading span {
    display: inline-block;  /* translateY を効かせるために必要 */
    animation: bounce 0.9s infinite;  /* 0.9秒かけて無限に繰り返す */
}

/* N番目の span に対して 0.1秒ずつずらす */
.ar_loading span:nth-child(1) { animation-delay: 0.1s; }
.ar_loading span:nth-child(2) { animation-delay: 0.2s; }
.ar_loading span:nth-child(3) { animation-delay: 0.3s; }
.ar_loading span:nth-child(4) { animation-delay: 0.4s; }
.ar_loading span:nth-child(5) { animation-delay: 0.5s; }
.ar_loading span:nth-child(6) { animation-delay: 0.6s; }
.ar_loading span:nth-child(7) { animation-delay: 0.7s; }
.ar_loading span:nth-child(8) { animation-delay: 0.8s; }
.ar_loading span:nth-child(9) { animation-delay: 0.9s; }

/* 文字が跳ねるアニメーションの定義 */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);  /* 定位置 */
    }
    50% {
        transform: translateY(-20px); /* 上に跳ねる距離 */
        color: #3498db;  /* 跳ねた時に色を変える(雰囲気に合わせて変更)*/
    }
}

body {
    font-family: 'Arial', sans-serif;
}