.area {
    margin-top: 15px;
}

.area-title {
    font-size: 1em;
    font-weight: bold;
}

.area-text {
    font-size: 0.8em;
}

.sub-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 30px;
}

.sub-row {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.sub-item {
    font-size: 1em;
    margin: 0;
    padding: 0 0.7em;
}

.sub-item:not(:last-child) {
    border-right: 1px solid black;
}

.mystory-section {
    width: 100%;
    margin: 40px 0;
    box-sizing: border-box;
}
.mystory-title {
    font-size: 1.2em;
    margin-bottom: 20px;
    text-align: center;
}

.story-section {
    width: 100%;
    margin-top: 20px;
    box-sizing: border-box;
}

.story-title {
    font-size: 1.5em;
    text-align: center;
}

.story-subtitle {
    font-size: 1em;
    text-align: center;
    margin-bottom: 20px;
}

.story-content {
    text-align: left;
    font-size: 1em;
}


.map-section {
    width: 100%;
    margin: auto;
    box-sizing: border-box;
}

.map-title {
    margin-top: 20px;
    font-size: 1.5em;
    text-align: center;
}

.map-subtitle {
    font-size: 1em;
    text-align: center;
    margin-bottom: 20px;
}

.how-to-play-section {
    width: 100%;
    margin-bottom: 120px;
    box-sizing: border-box;
}

.how-to-play-title {
    margin-top: 20px;
    font-size: 1.5em;
    text-align: center;
}

.how-to-play-subtitle {
    font-size: 1em;
    text-align: center;
    margin-bottom: 20px;
}

.steps {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.step-title {
    font-size: 1.5em;
}

.step-description {
    font-size: 1.2em;
}

.present-title {
    margin-top: 10px;
    font-size: 1.5em;
    text-align: center;
}

.present-subtitle {
    font-size: 1em;
    text-align: center;
    margin-bottom: 20px;
}

.present-section {
    width: 100%;
    margin: auto;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.present-item {
    margin-bottom: 20px;
}

.present-img {
    width: 100%;
    height: auto;
}

.present-notice {
    margin-top: 10px;
    font-size: 0.8em;
}


.present-description {
    margin-top: 10px;
    font-size: 0.8em;
}

.quiz-section {
    width: 100%;
    margin: auto;
    box-sizing: border-box;
}

.quiz-title {
    margin-top: 20px;
    font-size: 1.5em;
    text-align: center;
}

.quiz-subtitle {
    font-size: 1em;
    text-align: center;
    margin-bottom: 20px;
}

.quiz-content {
    text-align: left;
    font-size: 1em;
    margin-bottom: 10px;
}

.quiz-img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.hint-and-answer-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1em;
    color: #ffffff;
    /* 文字色は白 */
    background-color: #e9b321;
    /* 明るめの茶色 */
    border-radius: 10px;
    /* 角丸 */
    text-decoration: none;
    /* リンクの下線を消す */
    transition: background-color 0.3s;
    /* ホバーエフェクトのアニメーション時間 */
    font-family: 'Noto Sans', system-ui, sans-serif;
}

/* ボタンにカーソルを合わせたときのホバーエフェクト */
.hint-and-answer-button:hover {
    background-color: #A0522D;
    /* ホバー時に少し暗い色にする */
}

.purchase-section {
    width: 100%;
    margin: auto;
    box-sizing: border-box;
}

.purchase-title {
    margin-top: 20px;
    font-size: 1.5em;
    text-align: center;
}

#purchese-notice-title {
    font-family: 'Noto Sans', system-ui, sans-serif;
    font-size: 15px;
}
#purchese-notice-description {
    font-family: 'Noto Sans', system-ui, sans-serif;
    font-size: 15px;
    word-break: normal;
    overflow-wrap: break-word;
    line-break: auto;
    padding: 0 20px;
}
#stamp-notice {
    font-family: 'Noto Sans', system-ui, sans-serif;
    font-size: 15px;
}

.mission-title {
    margin-top: 10px;
    font-size: 1.2em;
    text-align: center;
    font-family: 'Noto Sans', system-ui, sans-serif;
    font-weight: bold;
}

.mission-sub-title {
    margin-top: 5px;
    margin-bottom: 10px;
    font-size: .8em;
    text-align: center;
    font-family: 'Noto Sans', system-ui, sans-serif;
}

.mission-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2; /* 行間を狭くする */
    text-align: left;
    font-family: 'Noto Sans', system-ui, sans-serif;
    font-size: .8em;
}

.purchase-subtitle {
    font-size: 1em;
    text-align: center;
    margin-bottom: 20px;
}


#stamp-content,
#purchase-content {
    margin-top: 10px;
    font-size: 15px;
    display: grid;
    justify-items: center;
    align-items: center;
    gap: 10px; /* ラベルと入力フィールドの間隔を調整 */
}

.auth-row {
    display: flex;
    align-items: center;
    gap: 6px; /* 各要素の間隔 */
    margin: 20px 10px;
    font-size: 0.9em;
}

.auth-row label {
    white-space: nowrap; /* 折り返さない */
    line-height: 1.5;
    flex-shrink: 0;
}

.auth-row input {
    flex: 1; /* 入力欄を広げる */
    min-width: 0; /* flexで縮小可能に */
    padding: 6px 8px;
    margin: 0 !important;
    line-height: 1.5;
    box-sizing: border-box;
    font-size: inherit;
}

.auth-row input::placeholder {
    font-size: 0.9em;
}

.auth-row button {
    padding: 6px 10px;
    margin: 0;
    line-height: 1.5;
    box-sizing: border-box;
    flex-shrink: 0;
    white-space: nowrap;
}

.notice {
    font-size: 0.8em;
    color: #000000;
    /* 文字色は黒 */
    margin-bottom: 10px;
    text-align: left;
}

.additional-notice {
    font-size: 0.8em;
    color: #000000;
    /* 文字色は黒 */
    margin-bottom: 10px;
    text-align: left;
    margin-top: 10px;
}

.download-notice {
    font-size: 1em;
    color: #000000;
    /* 文字色は黒 */
    margin-bottom: 10px;
    text-align: left;
}

.purchase-notice {
    font-size: 1em;
    color: #000000;
    /* 文字色は黒 */
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
}

.download-banner {
    width: 100%;
    height: auto;
}

.map-button,
.stamp-book-button,
.purchase-button {
    display: inline-block;
    font-size: 1em;
    color: #ffffff;
    /* 文字色は白 */
    background-color: #be9a67; /* 明るめの茶色 */
    border-radius: 23px; /* 角丸 */
    text-decoration: none;
    /* リンクの下線を消す */
    transition: background-color 0.3s;
    /* ホバーエフェクトのアニメーション時間 */
    font-family: 'Noto Sans', system-ui, sans-serif;
    margin: 20px;
    padding: 12px 24px;
    border: none;
}

.map-button:hover,
.check-auth-code:hover,
.purchase-button:hover {
    background-color: #A0522D;
    /* ホバー時に少し暗い色にする */
}

.map-button:disabled,
.check-auth-code:disabled,
.purchase-button:disabled {
    /* 角丸 */
    text-decoration: none;
    /* リンクの下線を消す */
    transition: background-color 0.3s;
    /* ホバーエフェクトのアニメーション時間 */
    opacity: 0.5;
}

.check-auth-code {
    display: inline-block;
    padding: 6px 12px;
    font-size: 1em;
    color: #ffffff;
    font-family: 'Noto Sans', system-ui, sans-serif;
    background-color: #e9b321;
    border-radius: 10px;
    opacity: 1;
    border: 0;
}

.coupon-input {
    width: 100%;
    padding: 5px;
    margin-bottom: 5px;
    font-family: 'Noto Sans', system-ui, sans-serif;
}

.display-missions-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1em;
    color: #ffffff;
    /* 文字色は白 */
    background-color: #e9b321;
    /* 明るめの茶色 */
    border-radius: 10px;
    /* 角丸 */
    text-decoration: none;
    /* リンクの下線を消す */
    transition: background-color 0.3s;
    /* ホバーエフェクトのアニメーション時間 */
    margin-bottom: 10px;
    font-family: 'Noto Sans', system-ui, sans-serif;
}

.display-missions-button:hover {
    background-color: #A0522D;
    /* ホバー時に少し暗い色にする */
}

.display-missions-button-disabled {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1em;
    color: #ffffff;
    /* 文字色は白 */
    background-color: #e9b321;
    /* 明るめの茶色 */
    border-radius: 10px;
    /* 角丸 */
    text-decoration: none;
    /* リンクの下線を消す */
    transition: background-color 0.3s;
    /* ホバーエフェクトのアニメーション時間 */
    margin-bottom: 10px;
    font-family: 'Noto Sans', system-ui, sans-serif;
    pointer-events: none;
    opacity: 0.5;
}

.stamp-section,
.attention-section {
    width: 100%;
    margin: auto;
    box-sizing: border-box;
}

.stamp-title,
.attention-title {
    margin-top: 20px;
    font-size: 1.5em;
    text-align: center;
}

.stamp-subtitle,
.attention-subtitle {
    font-size: 1em;
    text-align: center;
    margin-bottom: 20px;
}

.attention-content {
    margin-top: 10px;
    font-size: 0.8em;
    text-align: left;
}

.section-container {
    display: flex;
    justify-content: space-between;
    text-align: left;
}

.round-bar {
    height: 2px;
    background-color: rgb(239, 203, 57);
    border-radius: 50%;
    margin: 20px 0;
}

.column {
    flex: 1;
    padding: 0 0px;
}

.column .title {
    font-size: 1em;
    font-weight: bold;
    color: #393939;
}

.column .item {
    font-size: 0.8em;
    margin-bottom: 0.5em;
}

.column:last-child {
    text-align: center;
}

.section-divider {
    position: relative;
    height: 2px;
    /* 線の太さ */
    margin: 40px 0;
    /* 余白を追加 */
    background: #a9a18c;
    /* シンプルな色で古風な雰囲気 */
}

.section-divider::before,
.section-divider::after {
    content: '';
    position: absolute;
    height: 2px;
    /* 線の太さ */
    width: 20%;
    /* セクションの長さ */
    background: #7d5a50;
    /* 線の色 */
    top: 0;
}

.section-divider::before {
    left: 0;
}

.section-divider::after {
    right: 0;
}

.content-txt {
    font-family: 'Noto Sans', system-ui, sans-serif;
    font-size: 15px;
}

.skip-label {
    text-align: left;
    font-size: 0.8em;
    margin-bottom: 10px;
}

.hidden {
    display: none;
}

.image-wrapper {
    position: relative;
    display: inline-block;
}

.message {
    font-family: 'Noto Sans', system-ui, sans-serif;
    color: #f90606;
    margin-bottom: 10px;
}

.map-attention {
    font-size: 0.9em;
    margin-bottom: 10px;
}

.background-grey {
    background-color: gainsboro;
}

.dl-area {
    position: relative;
    text-align: center;
    display: block;
    width: 280px;
    height: 142px;
    z-index: 5;
    background: url(../images/download_banner.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.dl-box {
    position: absolute;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    right: 10px;
    bottom: 20px;
    width: 60%;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.grid-item {
    text-align: center;
}

.grid-item img.main-image, img.overlay-image {
    /* 追加: overlay-imageも対象に */
    width: 75px;
    height: auto;
    display: block;
    margin: 0 auto;
    border: 2px solid #00ffff70;
    background-color: gainsboro;
}

img.overlay-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 30px; /* overlay-image のサイズを調整 */
    height: auto;
    border: none; /* 不要な枠を削除 */
}
