/* === Base Styles === */
:root {
    --primary: #4486cd;
    --primary-light: #60a5fa;
    --accent: #E60012;
    --background: #F0F8FF;
    --foreground: #333333;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
}
*, *::before, *::after {
    box-sizing: border-box;
}
body {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 600;
    color: var(--foreground);
    background-color: var(--background);
    margin: 0;
}
h1, h2, h3 {
    font-family: 'M PLUS Rounded 1c', sans-serif;
}
main {
    flex-grow: 1;
}
.sp{
    display: block;
}
@media (min-width: 768px) {
.sp{
    display: none;
}
}

/* ============================================
    HERO SECTION
    ============================================ */
.hero-section {
    width: 100%;
    background: linear-gradient(to bottom, #eff6ff, #ffffff);
    padding-top: 80px;
    padding-bottom: 0;
}
.hero-section .hero-container {
    width: 100%;
    max-width: 72rem;
    margin: 0 auto;
    padding: 0;
}
.hero-section .hero-banner {
    position: relative;
    width: 100%;
    max-width: 56rem;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
}
.hero-section .hero-banner img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ============================================
    CAMPAIGN SECTION
    ============================================ */
.campaign-section {
    padding: 3rem 1rem;
    max-width: 72rem;
    margin: 0 auto;
}
.campaign-section .campaign-content {
    margin: 0 auto;
    text-align: center;
}
.campaign-section .campaign-header {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}
.campaign-section .campaign-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--gray-800);
    line-height: 1.25;
    margin: 0 0 1rem;
}
.campaign-section .campaign-subtitle {
    display: block;
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.campaign-section .campaign-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.625;
    margin: 1rem 0 0;
}
.campaign-section .highlight-primary {
    font-weight: 700;
    color: var(--primary);
}
.campaign-section .highlight-accent {
    font-weight: 700;
    color: var(--accent);
}

/* Coupon Card */
.campaign-section .coupon-card {
    background: #fff;
    border: 2px solid rgba(68, 134, 205, 0.2);
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    overflow: hidden;
    max-width: 32rem;
    margin: 2rem auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.campaign-section .coupon-card:hover {
    transform: scale(1.02);
}
.campaign-section .coupon-inner {
    padding: 2rem;
}
.campaign-section .coupon-label {
    font-size: 0.875rem;
    color: var(--gray-500);
    font-weight: 700;
    margin-bottom: 1rem;
}
.campaign-section .coupon-code-box {
    position: relative;
    background: #fff;
    border: 2px solid rgba(68, 134, 205, 0.2);
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: transform 0.3s ease;
    padding: 0.5rem;
}
.campaign-section .coupon-code-box:hover {
    transform: scale(1.02);
}
.campaign-section .coupon-code-text {
    font-size: 1.5rem;
    font-family: ui-monospace, SFMono-Regular, monospace;
    font-weight: 700;
    color: var(--gray-800);
    letter-spacing: 0.05em;
}
.campaign-section .coupon-copy-btn {
    color: var(--gray-400);
    transition: color 0.15s;
    background: none;
    border: none;
    cursor: pointer;
}
.campaign-section .coupon-card:hover .coupon-copy-btn {
    color: var(--primary);
}
.campaign-section .coupon-copy-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}
.campaign-section .coupon-tooltip {
    position: absolute;
    top: -2.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gray-800);
    color: #fff;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    opacity: 0;
    transition: opacity 0.2s;
}
.campaign-section .coupon-hint {
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-top: 0.5rem;
}

/* Notes */
.campaign-section .campaign-notes {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.75rem;
    text-align: left;
    font-size: 0.875rem;
    color: #000;
    max-width: 42rem;
    margin: 2rem auto 0;
}
.campaign-section .campaign-notes p {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0;
    font-weight: 600;
}
.campaign-section .campaign-notes p + p {
    margin-top: 0.5rem;
}
.campaign-section .campaign-notes .bullet {
    color: var(--primary);
    margin-top: 0.125rem;
}

/* ============================================
    STORE LIST SECTION
    ============================================ */
.store-list {
    padding: 1rem 1rem;
    background: #fff;
}
.store-list .store-container {
    max-width: 72rem;
    margin: 0 auto;
}
.store-list .store-inner {
    max-width: 56rem;
    margin: 0 auto;
}
.store-list .store-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.store-list .store-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin: 0 0 0.5rem;
}
.store-list .store-subtitle {
    color: var(--gray-600);
    margin: 0;
}
.store-list .store-table {
    background: #fff;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.store-list .store-table-header {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    background: #f9fafb;
    padding: 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--gray-600);
    border-bottom: 1px solid var(--gray-200);
}
.store-list .store-table-header .col-region {
    grid-column: span 3;
}
.store-list .store-table-header .col-name {
    grid-column: span 9;
}
.store-list .store-table-body {
    max-height: 210px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.5s ease;
}
.store-list .store-table-body.expanded {
    max-height: 3000px;
}
.store-list .store-row {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    padding: 1rem;
    font-size: 0.875rem;
    align-items: center;
    transition: background-color 0.15s;
    border-top: 1px solid var(--gray-100);
}
.store-list .store-row:first-child {
    border-top: none;
}
.store-list .store-row:hover {
    background-color: rgba(239, 246, 255, 0.3);
}
.store-list .store-region {
    grid-column: span 3;
    font-weight: 500;
    color: var(--gray-500);
}
.store-list .store-name {
    grid-column: span 9;
    font-weight: 700;
    color: var(--gray-800);
}
.store-list .store-more-btn {
    display: block;
    background: #999;
    color: white;
    padding: 5px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
    margin: 1rem auto 0;
    max-width: 150px;
}
.store-list img{
    height: auto;
}

/* ============================================
    CTA SECTION
    ============================================ */
.cta-section {
    padding: 4rem 1rem;
    background: #eff6ff;
}
.cta-section .cta-container {
    max-width: 72rem;
    margin: 0 auto;
    text-align: center;
}
.cta-section .cta-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin: 0 0 1rem;
}
.cta-section .cta-description {
    font-size: 1rem;
    color: var(--gray-600);
    margin: 0 0 2rem;
}
.cta-section .cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 3rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
    background: var(--primary);
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.15s;
    text-decoration: none;
    width: 100%;
}
.cta-section .cta-btn:hover {
    background: var(--primary-light);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-0.25rem);
}
.cta-section .cta-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}
.cta-section .cta-btn .icon-small {
    width: 1rem;
    height: 1rem;
    opacity: 0.7;
}
.cta-section .cta-divider {
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #dbeafe;
}

/* ============================================
    ANIMATIONS
    ============================================ */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
    RESPONSIVE STYLES
    ============================================ */
.hidden-mobile { display: none; }
.hidden-desktop { display: inline; }

@media (min-width: 768px) {
    .hidden-mobile { display: inline; }
    .hidden-desktop { display: none; }
    
    /* Hero */
    .hero-section {
        padding-top: 100px;
    }
    .hero-section .hero-container {
        padding: 2rem 1rem;
    }
    .hero-section .hero-banner {
        border-radius: 1rem;
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    }
    
    /* Campaign */
    .campaign-section .campaign-title {
        font-size: 2.25rem;
    }
    .campaign-section .campaign-subtitle {
        font-size: 1.5rem;
    }
    .campaign-section .coupon-code-text {
        font-size: 2.25rem;
    }
    
    /* Store List */
    .store-list .store-table-header .col-region {
        grid-column: span 2;
    }
    .store-list .store-table-header .col-name {
        grid-column: span 4;
    }
    .store-list .store-region {
        grid-column: span 2;
    }
    .store-list .store-name {
        grid-column: span 4;
    }
    
    /* CTA */
    .cta-section .cta-btn {
        width: auto;
    }
}