:root {
    --main-color: #4e454a;
    --prize-color: #4e454a;
    --prize-color-string: #4e454a;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: var(--main-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: "Hiragino Sans", "ヒラギノ角ゴシック";
    font-weight: bold;
    background: #f8f4e6;

}

.container {
    text-align: center;
    width: 90%;
    max-width: 768px;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
    position: relative;
    /* 追加: 子要素の絶対配置に対応 */
}

/* タイトルスタイル */
.title {
    font-size: 35px;
    color: var(--main-color);
    margin-bottom: 20px;
    font-weight: bold;
    letter-spacing: 1px;
}

/* エラーメッセージ */
.err_msg {
    font-size: 35px;
    color: #d13030;
    margin-top: 20px;
    font-weight: bold;
    letter-spacing: 1px;

}

/* メイン画像コンテナ */
.image-container {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    /* 正方形を維持 */
    overflow: hidden;
    border-radius: 12px;
    background-color: var(--main-color);
}

/* メイン画像 */
.responsive-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.input-group .input-group-append .input-group-text {
    border-top-right-radius: 0.25rem !important;
    border-bottom-right-radius: 0.25rem !important;
}

/* 抽選期間外 */
.unavailable {
    font-size: 30px;
    color: #5a1717;
    margin-top: 15px;
    font-weight: bold;
}
.unavailable_msg {
    font-size: 24px;
}

.additional_info {
    font-size: 24px;
}