@charset "utf-8";

/* =============================================
   MOOMIN MOVE — Refund Page Styles
   ============================================= */

/* ===== Remove background image from other.css ===== */
body::before {
    display: none;
}

/* ===== Header ===== */
.refund-header {
    text-align: center;
    padding: 28px 60px 16px;
    position: relative;
    z-index: 100;
    background: transparent;
}
.refund-header h1 {
    width: 160px;
    max-width: 160px;
    margin: 0 auto;
    filter: drop-shadow(0px 0px 3px rgba(0,0,0,.2));
}

/* ===== Language Switcher ===== */
.lang-switcher {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
}
.lang-switcher a {
    color: #555;
    text-decoration: none;
    padding: 3px 8px;
    border: 1.5px solid #bbb;
    border-radius: 4px;
    transition: all 0.2s;
}
.lang-switcher a:hover {
    border-color: #333;
    color: #000;
}
.lang-active {
    color: #000;
    padding: 3px 8px;
    border: 1.5px solid #000;
    border-radius: 4px;
    background: #000;
    color: #fff;
}

/* ===== Termination Banner ===== */
.termination-banner {
    background: #f5403b;
    color: #fff;
    text-align: center;
    padding: 40px 24px;
    position: relative;
    z-index: 10;
}
.banner-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: rgba(0,0,0,0.2);
    display: inline-block;
    padding: 4px 16px;
    border-radius: 20px;
    margin-bottom: 14px;
}
.termination-banner h2 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 30px;
    font-weight: 900;
    margin-bottom: 10px;
    color: #fff;
}
.banner-date {
    font-family: 'base-font', 'Noto Sans JP', sans-serif;
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.2;
    margin-bottom: 14px;
}
.banner-body {
    font-size: 15px;
    line-height: 1.9;
    opacity: 0.95;
}

/* ===== Countdown ===== */
.countdown-wrap {
    background: #1a1a2e;
    color: #fff;
    text-align: center;
    padding: 28px 24px 22px;
}
.countdown-label {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    opacity: 0.75;
    margin-bottom: 12px;
    text-transform: uppercase;
}
.countdown-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 64px;
}
.countdown-num {
    font-family: 'Noto Sans JP', monospace, sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
}
.countdown-lbl {
    font-size: 11px;
    font-weight: 400;
    opacity: 0.6;
    margin-top: 4px;
    letter-spacing: 0.05em;
}
.countdown-sep {
    font-size: 40px;
    font-weight: 300;
    opacity: 0.4;
    line-height: 1;
    margin-bottom: 16px;
}
.countdown-deadline {
    font-size: 12px;
    opacity: 0.5;
    margin-top: 10px;
    letter-spacing: 0.05em;
}
.countdown-expired {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    opacity: 0.9;
}

/* ===== Section Headings ===== */
.section-heading {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 22px;
    font-weight: 900;
    margin: 28px 0 12px;
    padding-bottom: 10px;
    border-bottom: 3px solid #222;
    text-align: left;
}
.section-heading .platform-icon {
    margin-right: 6px;
}
.section-lead {
    font-size: 14px;
    line-height: 1.9;
    text-align: left;
    margin-bottom: 16px;
    color: #333;
}

/* ===== Deadline Box ===== */
.deadline-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #fff9e0;
    border: 2px solid #f7c948;
    border-radius: 8px;
    padding: 14px 24px;
    margin: 20px auto 24px;
    font-size: 16px;
    text-align: center;
}
.deadline-icon {
    font-size: 22px;
}

/* ===== Eligibility Box ===== */
.eligibility-box {
    background: #f8f8f8;
    border: 1.5px solid #ddd;
    border-radius: 10px;
    padding: 22px 26px;
    margin: 0 auto 28px;
    text-align: left;
}
.eligibility-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
    border-top: none;
    padding-top: 0;
}
.eligibility-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 14px;
    line-height: 1.7;
    border-bottom: 1px solid #eee;
}
.eligibility-row:last-of-type {
    border-bottom: none;
}
.eligibility-badge {
    white-space: nowrap;
    font-weight: 700;
    font-size: 13px;
    padding: 3px 10px;
    border-radius: 4px;
    flex-shrink: 0;
    margin-top: 2px;
}
.eligible-badge {
    background: #d4edda;
    color: #155724;
}
.not-eligible-badge {
    background: #f8d7da;
    color: #721c24;
}
.eligibility-note {
    margin-top: 14px;
    font-size: 12px;
    line-height: 1.8;
    color: #555;
    background: #fffbe6;
    border-left: 3px solid #f7c948;
    padding: 10px 14px;
    border-radius: 0 6px 6px 0;
}

/* ===== Divider ===== */
.section-divider {
    margin: 36px 0;
    border: none;
    border-top: 1px solid #ddd;
}

/* ===== Platform Boxes ===== */
.platform-box {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 12px;
    padding: 28px 30px;
    margin: 16px auto 24px;
    text-align: left;
    box-shadow: 0 2px 14px rgba(0,0,0,0.07);
}
.ios-box {
    border-top: 5px solid #444;
}
.android-box {
    border-top: 5px solid #78C257;
}
.form-box {
    border-top: 5px solid #4a9e36;
}

.platform-box-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #222;
}

/* ===== Steps List ===== */
.steps-list {
    counter-reset: steps;
    padding-left: 0;
    margin: 0;
    list-style: none !important;
}
.steps-list li {
    counter-increment: steps;
    list-style: none !important;
    position: relative;
    padding: 10px 0 10px 32px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    line-height: 1.7;
    margin: 0 !important;
    transition: none !important;
    transform: none !important;
    cursor: default;
}
.steps-list li:last-child {
    border-bottom: none;
}
.steps-list li::before {
    content: counter(steps) ".";
    position: absolute;
    left: 0;
    top: 10px;
    font-weight: 700;
    font-size: 14px;
    color: #333;
    pointer-events: none;
    transition: none !important;
    line-height: 1.7;
}
.step-content {
    display: block;
}
.step-content a {
    color: #000;
    text-decoration: underline;
}

.platform-note {
    margin-top: 16px;
    font-size: 12px;
    line-height: 1.8;
    color: #555;
}
.platform-note a {
    color: #333;
    text-decoration: underline;
}

/* ===== Order ID Example ===== */
.order-id-example {
    background: #f0f5ff;
    border: 1px solid #c0d0f0;
    border-radius: 6px;
    padding: 12px 16px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 15px;
    font-weight: bold;
    color: #1a2a6c;
    margin: 8px 0 4px;
}
.order-id-eg {
    font-size: 12px;
    font-weight: normal;
    color: #555;
    margin-left: 12px;
}

/* ===== Form (within platform-box, overrides other.css) ===== */
.form-box .form-inner {
    max-width: 100%;
}
.form-box .form-inner li {
    margin-bottom: 1.6em;
}
.field-hint {
    font-size: 13px;
    font-weight: 300;
    color: #555;
    margin-left: 6px;
}
.field-note {
    font-size: 12px;
    color: #666;
    line-height: 1.7;
    margin-top: 6px;
}
.field-note a {
    color: #333;
    text-decoration: underline;
}

/* ===== Checkbox ===== */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    line-height: 1.7;
    cursor: pointer;
    text-align: left;
}
.checkbox-label input[type="checkbox"] {
    width: 20px;
    min-width: 20px;
    min-height: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 3px;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background: #fff;
    border: 2px solid #999;
    border-radius: 3px;
}
.checkbox-label input[type="checkbox"]:checked {
    background: #4a9e36 url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 7l4 4 6-6' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
    border-color: #4a9e36;
}

/* ===== Form Error ===== */
.form-error {
    background: #fff3cd;
    border: 1.5px solid #ffc107;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 14px;
    color: #856404;
    margin: 12px 0;
    text-align: left;
}

/* ===== Success Message ===== */
.form-success {
    display: none;
    background: #d4edda;
    border: 2px solid #28a745;
    border-radius: 10px;
    padding: 28px 24px;
    text-align: center;
    font-size: 15px;
    line-height: 1.9;
    color: #155724;
}
.success-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 10px;
}

/* ===== Override other.css blanket ".form-inner span { color:#fff }" ===== */
/* other.css targets all spans in .form-inner (intended for required/optional
   badges only). These rules restore correct colours for non-badge spans. */
.form-inner .field-hint {
    color: #666;
    font-size: 13px;
    font-weight: 300;
    padding: 0;
    margin-left: 6px;
    margin-right: 0;
}
.form-inner .checkbox-label span {
    color: #333;
    font-size: 14px;
    font-weight: 400;
    padding: 0;
    margin-right: 0;
    line-height: 1.7;
}

/* ===== Required/Optional badge sizing for English ===== */
html[lang="en"] .form-inner span.required {
    font-size: 13px;
    padding: 2px 6px;
}

/* ===== Submit button override ===== */
.form-box .button {
    background: #4a9e36;
    color: #fff;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 18px;
    padding: 12px 0 10px;
    border-radius: 6px;
    border: none;
    width: 60%;
    max-width: 280px;
    cursor: pointer;
    display: block;
    margin: 16px auto 0;
    transition: background 0.2s;
}
.form-box .button:hover {
    background: #3a8029;
}

/* ===== Footer ===== */
footer .illust {
    max-width: 160px;
    width: 20%;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media screen and (max-width: 667px) {
    .termination-banner h2 {
        font-size: 22px;
    }
    .banner-date {
        font-size: 34px;
    }
    .banner-body {
        font-size: 13px;
    }
    .section-heading {
        font-size: 18px;
    }
    .section-lead {
        font-size: 13px;
    }
    .deadline-box {
        font-size: 14px;
        flex-direction: column;
        gap: 4px;
    }
    .platform-box {
        padding: 20px 16px;
    }
    .steps-list li {
        font-size: 13px;
    }
    .order-id-example {
        font-size: 13px;
        word-break: break-all;
    }
    .order-id-eg {
        display: block;
        margin-left: 0;
        margin-top: 4px;
    }
    .form-box .button {
        width: 80%;
        font-size: 16px;
    }
    .eligibility-box {
        padding: 16px;
    }
    .countdown-num {
        font-size: 36px;
    }
    .countdown-unit {
        min-width: 48px;
    }
    .countdown-sep {
        font-size: 30px;
    }
}

@media screen and (min-width: 668px) and (max-width: 1000px) {
    .banner-date {
        font-size: 40px;
    }
    .refund-header h1 {
        width: 140px;
    }
}
