body {
    margin: 0;
    padding: 0px;
    font-family: Arial, sans-serif;
#    background-color: #fff6f0;
    text-align: center;
    background-image: url('asset/p002_dark_red_l.jpg');
    background-repeat: repeat;
    background-size: auto; /* 画像のデフォルトサイズを使用 */
    background-position: center; /* 背景画像を中央に配置 */
    
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #333;
    color: white;
    text-align: center;
    margin-top:100px;
    padding: 10px 0;
}


table{
    text-align: left;
    margin: auto;
    background-color: #999999;
}

th{
    padding: 10px;
}

td{
    padding: 10px;
    background-color: #dbdbdb;
}

.omikuji-container {
    text-align: center;
    margin: 20px;
    padding:20px;
}

#omikuji-button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    min-width: 180px;
}

.loading-spinner {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #3498db;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    text-align: center;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.omikuji-result {
    margin: 20px 20px 100px 20px;
    padding:20px;
    display: none;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    text-align: center;
    background-color: #fff;
    background-image: url('asset/p0075_m.jpg');
    background-repeat: repeat;
    background-size: auto; /* 画像のデフォルトサイズを使用 */
    background-position: center; /* 背景画像を中央に配置 */
}

.omikuji-image {
    height: 250px;
    display: block;
    margin: 0 auto 10px;
}

.omikuji-text {
    font-size: 24px;
    font-weight: bold;
}

.omikuji-report {
    font-size: 18px;
    margin-top: 10px;
    padding:10px;
}

#omikuji-text, #omikuji-report {
    margin-top: 10px;
    font-size: 18px;
}


/* デフォルトのスタイル（PC用） */
#omikuji-report {
    width: 70%;
    margin: 0 auto;
    padding:10px;
}

/* スマホ用のスタイル */
@media only screen and (max-width: 600px) {
    #omikuji-report {
        width: 90%;
    }
}


.selectdiv {
    position: relative;
    min-width: 180px;
    margin: 10px auto;
}

select::-ms-expand {
    display: none;
}


.selectdiv select {
    appearance: none;
    text-align:center;
    width: 100%;
    max-width: 180px;
    height: 50px;
    margin: 5px 0;
    font-size: 16px;
    line-height: 1.75;
    color: #333;
    background-color: #fff;
    border: 1px solid #ccc;
}

.mikepad-loading {
    width: 150px;
    position: relative;
    margin: 20px auto;
    text-align: center;
}

.mikepad-loading .binding {
    width: 27px;
    height: 4px;
    border: 2px solid #E15958;
    margin: 0 auto;
}

.mikepad-loading .pad {
    width: 15px;
    height: 18px;
    border: 2px solid #E15958;
    border-top: 0;
    padding: 6px;
    margin: 0 auto;
}

.mikepad-loading .line {
    width: 15px;
    margin-top: 4px;
    border-top: 2px solid #E15958;
    opacity: 0;
    animation: writeline 3s infinite ease-in;
}

.mikepad-loading .line:first-child {
    margin-top: 0;
}

.mikepad-loading .line.line1 {
    animation-delay: 0s;
}

.mikepad-loading .line.line2 {
    animation-delay: 0.5s;
}

.mikepad-loading .line.line3 {
    animation-delay: 1s;
}

.mikepad-loading .text {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
    color: #E15958;
}

@keyframes writeline {
    0% { width: 0; opacity: 0; }
    33% { width: 15px; opacity: 1; }
    70% { opacity: 1; }
    100% { opacity: 0; }
}

