@charset "utf-8";

:root {
    --purple: #6121A1;
    --purple-dark: #4a1880;
    --purple-light: #f3ebfc;
    --white: #ffffff;
    --gray: #f5f5f5;
    --text: #222222;
    --text-light: #666666;
    --accent: #8B4FC8;
    --max-w: 780px;
}

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

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
    color: var(--text);
    line-height: 1.7;
    background: #fff;
}

.page-wrapper {
    width: 100%;
    overflow-x: hidden;
}

.inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER ===== */
.header {
    background: var(--white);
    border-bottom: 1px solid #eee;
    padding: 10px 20px;
    text-align: right;
}

.header-inner {
    font-size: 0.75rem;
    color: var(--text-light);
}

.header-inner .sep {
    margin: 0 6px;
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, #2d0a5e 0%, var(--purple) 50%, #8B4FC8 100%);
    color: var(--white);
}

.hero-img-wrap {
    width: 100%;
    line-height: 0;
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-content {
    padding: 28px 24px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-sub-headline {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 24px;
    animation: fadeSlideIn 0.8s ease forwards;
}

.hero-cta-btn {
    display: inline-block;
    background: #fff;
    color: var(--purple);
    font-size: 1.1rem;
    font-weight: 800;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}

.hero-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* ===== EVENT INFO ===== */
.event-info {
    background: var(--white);
    padding: 48px 0;
    border-bottom: 3px solid var(--purple-light);
}

.event-info .inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 0 12px;
}

.event-dl {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 2px solid #eee;
    border-radius: 12px;
    overflow: hidden;
}

.event-row {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
    gap: 12px;
}

.event-row:last-child {
    border-bottom: none;
}

.event-row dt {
    font-size: 0.85rem;
    color: var(--text-light);
    min-width: 52px;
    flex-shrink: 0;
    white-space: nowrap;
}

.event-row dd {
    font-size: 1rem;
    white-space: nowrap;
}

.event-row dd strong {
    font-size: 1rem;
    color: var(--text);
    white-space: nowrap;
}

.program-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.badge {
    background: var(--purple-light);
    color: var(--purple);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    border: 1.5px solid var(--purple);
}

.program-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--purple);
    margin-bottom: 12px;
}

.program-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.program-list li {
    padding-left: 20px;
    position: relative;
    font-size: 0.85rem;
    word-break: break-all;
    overflow-wrap: break-word;
}

.program-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 10px;
    height: 10px;
    background: var(--purple);
    border-radius: 50%;
}

/* ===== CTA BLOCK ===== */
.cta-block {
    background: linear-gradient(135deg, var(--purple-dark) 0%, var(--accent) 100%);
    padding: 48px 20px;
    text-align: center;
    color: var(--white);
}

.cta-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.cta-note {
    font-size: 0.85rem;
    opacity: 0.85;
    margin-bottom: 24px;
}

.cta-btn {
    display: inline-block;
    background: #fff;
    color: var(--purple);
    font-size: 1rem;
    font-weight: 800;
    padding: 18px 32px;
    border-radius: 50px;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transition: transform 0.2s, box-shadow 0.2s;
    animation: pulse 2s infinite;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    animation: none;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(0,0,0,0.2); }
    50% { box-shadow: 0 4px 24px rgba(255,255,255,0.4); }
}

.cta-sub {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 16px;
}

.cta-final .cta-date-label {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-bottom: 4px;
}

.cta-final .cta-date {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.cta-final .cta-online-label {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-bottom: 24px;
}

/* ===== BENEFITS ===== */
.benefits {
    background: var(--gray);
    padding: 56px 0;
}

.section-title {
    font-size: 1.3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 32px;
    color: var(--text);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 4px;
    background: var(--purple);
    border-radius: 2px;
    margin: 10px auto 0;
}

.section-title.white {
    color: var(--white);
}

.section-title.white::after {
    background: rgba(255,255,255,0.6);
}

.benefit-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.benefit-card {
    background: var(--white);
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    border-top: 4px solid var(--purple);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.benefit-label {
    font-size: 0.85rem;
    color: var(--purple);
    font-weight: 700;
    margin-bottom: 8px;
}

.benefit-stat {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.stat-num {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--purple);
}

.benefit-sub {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ===== RECOMMEND ===== */
.recommend {
    background: linear-gradient(135deg, var(--purple-dark) 0%, var(--accent) 100%);
    padding: 56px 0;
}

.recommend-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.recommend-list li {
    background: rgba(255,255,255,0.12);
    border-left: 4px solid rgba(255,255,255,0.7);
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 500;
}

/* ===== SCHEDULE ===== */
.schedule {
    background: var(--white);
    padding: 56px 0;
}

.schedule-table {
    display: flex;
    flex-direction: column;
    border: 2px solid #eee;
    border-radius: 12px;
    overflow: hidden;
}

.schedule-row {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid #eee;
    min-height: 60px;
}

.schedule-row:last-child {
    border-bottom: none;
}

.schedule-row.highlight {
    background: var(--purple-light);
}

.schedule-time {
    min-width: 70px;
    background: var(--purple);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8px 6px;
    flex-shrink: 0;
}

.schedule-row.highlight .schedule-time {
    background: var(--purple-dark);
}

.schedule-content {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}

.schedule-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
}

.schedule-org {
    font-size: 0.78rem;
    color: var(--text-light);
}

/* ===== SUBSIDY ===== */
.subsidy {
    background: var(--gray);
    padding: 56px 0;
}

.subsidy-lead {
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text);
}

.subsidy-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 32px;
    background: var(--white);
    border-radius: 10px;
    padding: 20px;
}

.subsidy-features li {
    padding-left: 18px;
    position: relative;
    font-size: 0.9rem;
    color: var(--text);
}

.subsidy-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--purple);
    border-radius: 50%;
}

.subsidy-calc {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.subsidy-card {
    background: var(--white);
    border-radius: 10px;
    padding: 16px 20px;
    text-align: center;
    width: 100%;
    border: 2px solid #ddd;
}

.subsidy-card.main-card {
    border-color: var(--purple);
}

.subsidy-label {
    font-size: 0.78rem;
    color: var(--text-light);
    margin-bottom: 4px;
    text-align: center;
}

.subsidy-price {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--purple);
    line-height: 1.2;
    text-align: center;
}

.subsidy-price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-light);
}

.subsidy-rate {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
}

.subsidy-rate span {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--purple);
}

.subsidy-minus {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
}

.subsidy-note {
    font-size: 0.75rem;
    color: var(--text-light);
    text-align: center;
    line-height: 1.6;
}

/* ===== ORGANIZER ===== */
.organizer {
    background: var(--white);
    padding: 40px 0;
    border-top: 2px solid var(--purple-light);
}


.organizer-label {
    font-size: 0.8rem;
    color: var(--text-light);
    text-align: center;
}

/* ===== FOOTER ===== */
.footer {
    background: #1a1a1a;
    padding: 32px 20px;
    color: #999;
}

.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    font-size: 0.78rem;
}

.footer-links a:hover {
    color: #fff;
}

.copyright {
    font-size: 0.72rem;
    color: #666;
}

/* ===== PC (769px+) ===== */
@media (min-width: 769px) {
    .hero-img-wrap {
        display: flex;
        justify-content: center;
        background: linear-gradient(135deg, #2d0a5e 0%, var(--purple) 50%, #8B4FC8 100%);
    }

    .hero-img-wrap picture {
        display: flex;
        justify-content: center;
        width: 80%;
        max-width: 1280px;
    }

    .hero-img {
        width: 100%;
        max-width: 1280px;
    }

    .hero-content {
        padding: 32px 40px 48px;
        text-align: center;
        align-items: center;
    }

    .hero-sub-headline br {
        display: none;
    }

    .hero-sub-headline {
        font-size: 1.8rem;
        animation: fadeSlideIn 0.8s ease forwards;
    }

    @keyframes fadeSlideIn {
        from {
            opacity: 0;
            transform: translateY(12px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .program-list li {
        font-size: 0.95rem;
        white-space: nowrap;
        word-break: normal;
        overflow-wrap: normal;
    }

    .event-info .inner {
        flex-direction: row;
        gap: 40px;
        align-items: flex-start;
    }

    .event-details {
        flex: 0 0 320px;
    }

    .event-row dt {
        min-width: 64px;
    }

    .event-row dd {
        white-space: nowrap;
    }

    .event-program {
        flex: 1;
        min-width: 0;
    }

    .benefit-cards {
        flex-direction: row;
        gap: 20px;
    }

    .benefit-card {
        flex: 1;
    }

    .subsidy-calc {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    .subsidy-card {
        flex: 1;
    }

    .subsidy-minus {
        flex-shrink: 0;
    }
}
