:root {
    --tadami-green: #00873c;
    --btn-color: #879a63;
    --bg-paper: #f9f7f2;
}

body {
    background-color: var(--bg-paper);
    color: #333;
    /* Default content font */
    font-family: 'M PLUS Rounded 1c', sans-serif;
    margin: 0;
    line-height: 1.6;
}

/* Warning/System Fonts */
.warning-text,
.alert-text,
.system-note {
    font-family: 'Noto Sans JP', sans-serif;
}

#pc-qr-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 10000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

@media (min-width: 768px) {
    #pc-qr-overlay {
        display: flex;
    }
}

.content-holder {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    margin: 10px auto 10px;
}

.description-text{
    font: 1rem 'M PLUS Rounded 1c', sans-serif;
    color: var(--color-black);
    text-align: center;
    font-weight: 700;
    margin-bottom: 15px;
}


/* Key Visual Logo */
.key-visual {
    display: block;
    width: 50%;
    margin: 20px auto;
}

.section-header {
    text-align: center;
    margin: 30px 0 15px;
    position: relative;
}

.section-header h2 {
    display: inline-block;
    font-size: 1.2rem;
    background: #fff;
    padding: 0 15px;
    position: relative;
    z-index: 1;
    color: var(--tadami-green);
    font-family: 'M PLUS Rounded 1c', sans-serif;
}

.section-header::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #ddd;
    z-index: 0;
}

.period-box {
    background-color: var(--color-sub2);
    color: #fff;
    text-align: center;
    padding: 8px;
    font-size: 0.9rem;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* Stamp Area */
.stamp-container {
    background-image: url('/seigura/tadami-line/img/stamp_bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 20px 10px 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
}

.stamp-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.stamp-circle {
    width: 150px;
    height: 150px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ddd;
    padding: 5px;
}

.stamp-circle img {
    width: 60%;
    height: auto;
}

/* Reference Styled Button */
.btn-tadami {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 80px;
    margin: 15px auto;
    border: none;
    border-radius: 40px;
    background-color: var(--color-sub1);
    color: #fff !important;
    font-size: 1.2rem;
    /* Adjusted for mobile readability */
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
    overflow: hidden;
    text-decoration: none;
}

.btn-tadami:active {
    opacity: 0.6;
}

.btn-tadami:disabled {
    background: gray;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-black {
    background-color: #1a1a1a;
}

.btn-gray {
    background-color: #b3b3b3;
}

.btn-icon-l {
    position: absolute;
    left: 20px;
    width: 40px;
}

.btn-icon-r {
    position: absolute;
    right: 20px;
    width: 30px;
}

/* Info & Warning Styles */
.system-note {
    font-size: 0.75rem;
    color: #666;
    margin: 15px 0;
    text-align: left;
}

.alert-text {
    color: #ff0000;
    font-weight: bold;
    text-align: center;
    display: block;
    margin-bottom: 10px;
}

.reward-info {
    text-align: center;
    background: #f4f4f4;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    font-size: 1rem;
    font-weight: 700;
}

.location-box {
    border: 1px solid #ccc;
    padding: 15px;
    font-size: 0.85rem;
    margin-bottom: 20px;
    border-radius: 5px;
}

.location-item {
    margin-bottom: 15px;
}

.location-name {
    font-weight: bold;
    color: var(--tadami-green);
    display: block;
    border-bottom: 1px solid #eee;
    margin-bottom: 5px;
}

/* Survey Modal */
.survey-modal-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
}

.survey-modal {
    background-color: #fff;
    padding: 25px;
    border-radius: 12px;
    width: 85%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    font-family: 'Noto Sans JP', sans-serif;
}

.survey-modal h3 {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #333;
}

.btn-survey-action {
    display: block;
    width: 100%;
    background-color: #00873c;
    color: white;
    text-decoration: none;
    padding: 12px;
    border-radius: 25px;
    font-weight: bold;
    margin-bottom: 15px;
}

.survey-footer {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #666;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.survey-close-btn {
    background: #eee;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
}