/* ============================================
   GREEN×EXPO 2027 Landing Page Styles
   ============================================ */

/* --- Hero Section --- */
.expo-hero {
    background: #fff;
    padding: 20px 20px 0;
    overflow: hidden;
}

.expo-hero__inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.expo-hero__logo {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}

.expo-hero__hana {
    width: 140px;
    height: auto;
    margin-right: -20px;
}

.expo-hero__moji {
    width: 140px;
    height: auto;
}

.expo-hero__deco {
    flex: 1;
    min-width: 0;
    text-align: right;
}

.expo-hero__deco img {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: inline-block;
}

/* --- Main Content --- */
.expo-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

/* --- Page Title --- */
.expo-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a6b3c;
    text-align: center;
    margin: 40px 0 30px;
    padding-bottom: 16px;
    border-bottom: 3px solid #1a6b3c;
}

/* --- Description --- */
.expo-description {
    font-size: 15px;
    line-height: 2;
    color: #333;
    margin-bottom: 30px;
    text-align: justify;
}

/* --- Event Info --- */
.expo-info {
    background: #f0f7f2;
    border-radius: 8px;
    padding: 24px 30px;
    margin-bottom: 50px;
    border-left: 4px solid #1a6b3c;
}

.expo-info dl {
    margin: 0;
}

.expo-info dt {
    font-weight: 600;
    color: #1a6b3c;
    display: inline;
}

.expo-info dd {
    display: inline;
    margin: 0;
}

.expo-info dd::after {
    content: "";
    display: block;
    margin-bottom: 8px;
}

.expo-info dd:last-child::after {
    margin-bottom: 0;
}

/* --- Section Blocks --- */
.expo-section {
    margin-bottom: 36px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px;
    transition: box-shadow 0.3s ease;
}

.expo-section:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.expo-section__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.expo-section__icon {
    width: 40px;
    height: 40px;
    background: #1a6b3c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.expo-section__icon svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.expo-section__title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.expo-section__subtitle {
    font-size: 13px;
    color: #888;
    margin: 0 0 16px 52px;
}

.expo-section__note {
    font-size: 13px;
    color: #c00;
    margin: 0 0 16px 52px;
    font-weight: 500;
}

/* --- CTA Buttons (override site-wide a tag color) --- */
a.expo-btn,
a.expo-btn:link,
a.expo-btn:visited,
a.expo-btn:hover,
a.expo-btn:active {
    display: block;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
}

.expo-btn::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: translateY(-50%) rotate(45deg);
}

a.expo-btn--green,
a.expo-btn--green:link,
a.expo-btn--green:visited {
    background: #1a6b3c;
    color: #fff;
}

a.expo-btn--green:hover {
    background: #145a31;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(26, 107, 60, 0.3);
}

a.expo-btn--blue,
a.expo-btn--blue:link,
a.expo-btn--blue:visited {
    background: #0c6dfd;
    color: #fff;
}

a.expo-btn--blue:hover {
    background: #0a53c1;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(12, 109, 253, 0.3);
}

a.expo-btn--pink,
a.expo-btn--pink:link,
a.expo-btn--pink:visited {
    background: #e84080;
    color: #fff;
}

a.expo-btn--pink:hover {
    background: #c73570;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(232, 64, 128, 0.3);
}

/* --- External Link Notice --- */
.expo-external-notice {
    text-align: center;
    font-size: 12px;
    color: #888;
    margin: 10px 0 0;
    line-height: 1.6;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.expo-external-notice::before {
    content: "";
    display: inline-block;
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23999'%3E%3Cpath d='M19 19H5V5h7V3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* --- Ticket Branching Section --- */
.expo-ticket {
    margin-bottom: 36px;
    scroll-margin-top: 130px;
}

/* Fade transition for question / result panels */
.expo-ticket__question,
.expo-ticket__result {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Question Card */
.expo-ticket__question {
    background: #fff;
    border: 2px solid #1a6b3c;
    border-radius: 14px;
    padding: 36px 30px 40px;
    text-align: center;
}

.expo-ticket__question__icon {
    margin-bottom: 12px;
}

.expo-ticket__question__icon svg {
    width: 44px;
    height: 44px;
}

.expo-ticket__question__title {
    font-size: 24px;
    font-weight: 700;
    color: #1a6b3c;
    margin: 0 0 10px;
}

.expo-ticket__question__lead {
    font-size: 14px;
    color: #666;
    margin: 0 0 28px;
    line-height: 1.8;
}

.expo-ticket__question__label {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 24px;
    line-height: 1.6;
}

.expo-ticket__question__label strong {
    color: #1a6b3c;
    font-size: 20px;
}

/* Choice Buttons */
.expo-ticket__question__buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    max-width: 520px;
    margin: 0 auto;
}

.expo-ticket__choice {
    flex: 1;
    border: none;
    border-radius: 12px;
    padding: 20px 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-height: 90px;
    justify-content: center;
}

.expo-ticket__choice--yes {
    background: #0c6dfd;
    color: #fff;
}

.expo-ticket__choice--yes:hover {
    background: #0a53c1;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(12, 109, 253, 0.35);
}

.expo-ticket__choice--no {
    background: #e84080;
    color: #fff;
}

.expo-ticket__choice--no:hover {
    background: #c73570;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 64, 128, 0.35);
}

.expo-ticket__choice__main {
    font-size: 22px;
    font-weight: 700;
}

.expo-ticket__choice__sub {
    font-size: 13px;
    font-weight: 400;
    opacity: 0.9;
}

/* Result Badge */
.expo-ticket__result__badge {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    padding: 6px 20px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.expo-ticket__result__badge--member {
    background: #e3f0ff;
    color: #0c6dfd;
}

.expo-ticket__result__badge--general {
    background: #fce4ec;
    color: #e84080;
}

/* Warning / Info Box */
.expo-ticket__warn {
    background: #fff3e0;
    border: 1px solid #ff9800;
    border-radius: 8px;
    padding: 16px 20px;
    margin-top: 8px;
}

.expo-ticket__warn p {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    color: #e65100;
    line-height: 1.8;
}

.expo-ticket__info {
    background: #e8f5e9;
    border: 1px solid #66bb6a;
    border-radius: 8px;
    padding: 16px 20px;
    margin-top: 8px;
}

.expo-ticket__info p {
    margin: 0;
    font-size: 13px;
    color: #2e7d32;
    line-height: 1.8;
}

/* Back Button */
.expo-ticket__back {
    display: block;
    margin: 24px auto 0;
    background: none;
    border: 1px solid #aaa;
    border-radius: 6px;
    padding: 10px 28px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
}

.expo-ticket__back:hover {
    background: #f5f5f5;
    border-color: #888;
    color: #333;
}

/* --- Official Website Link --- */
.expo-official {
    text-align: center;
    margin: 50px 0 40px;
    padding: 30px;
    background: linear-gradient(135deg, #e8f5e9 0%, #e0f2f1 100%);
    border-radius: 10px;
}

.expo-official__title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

a.expo-official__link,
a.expo-official__link:link,
a.expo-official__link:visited {
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    color: #1a6b3c;
    text-decoration: underline;
    transition: color 0.3s ease;
}

a.expo-official__link:hover {
    color: #145a31;
}

/* --- Contact Section --- */
.expo-contact {
    background: #f5f5f5;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
}

.expo-contact__title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

.expo-contact__body {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

/* --- Decoration Section --- */
.expo-decoration {
    width: 100%;
    margin-top: 40px;
}

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

/* --- Breadcrumb --- */
.expo-breadcrumb {
    max-width: 900px;
    margin: 0 auto;
    padding: 16px 20px;
    font-size: 13px;
    color: #888;
}

.expo-breadcrumb a,
.expo-breadcrumb a:link,
.expo-breadcrumb a:visited {
    color: #0c6dfd;
    text-decoration: none;
}

.expo-breadcrumb a:hover {
    text-decoration: underline;
}

/* --- Override description paragraph links --- */
.expo-description p a,
.expo-description p a:link,
.expo-description p a:visited {
    color: #1a6b3c;
    text-decoration: underline;
}

.expo-breadcrumb span {
    margin: 0 8px;
}

/* --- Responsive --- */
@media (max-width: 767px) {
    /* Hero */
    .expo-hero {
        padding: 12px 16px 0;
    }

    .expo-hero__hana {
        width: 90px;
        margin-right: -12px;
    }

    .expo-hero__moji {
        width: 90px;
    }

    .expo-hero__deco img {
        max-width: 240px;
    }

    /* Title */
    .expo-title {
        font-size: 20px;
        margin: 28px 0 20px;
        padding-bottom: 12px;
    }

    /* Description */
    .expo-description {
        font-size: 14px;
        line-height: 1.9;
    }

    /* Event Info */
    .expo-info {
        padding: 18px 16px;
    }

    .expo-info dt {
        display: block;
    }

    .expo-info dd {
        display: block;
        margin-bottom: 8px;
        padding-left: 1em;
    }

    .expo-info dd::after {
        display: none;
    }

    /* Section Blocks */
    .expo-section {
        padding: 20px 16px;
    }

    .expo-section__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .expo-section__subtitle,
    .expo-section__note {
        margin-left: 0;
    }

    .expo-section__title {
        font-size: 17px;
    }

    /* CTA Buttons */
    .expo-btn {
        font-size: 14px;
        padding: 14px 36px 14px 20px;
        max-width: 100%;
    }

    .expo-btn::after {
        right: 14px;
    }

    /* Official Link */
    .expo-official {
        padding: 20px 16px;
        margin: 36px 0 28px;
    }

    .expo-official__title {
        font-size: 14px;
    }

    a.expo-official__link,
    a.expo-official__link:link,
    a.expo-official__link:visited {
        font-size: 13px;
        word-break: break-all;
    }

    /* Contact */
    .expo-contact {
        padding: 20px 16px;
        margin-bottom: 28px;
    }

    /* Ticket Section */
    .expo-ticket__question {
        padding: 24px 16px 28px;
    }

    .expo-ticket__question__title {
        font-size: 20px;
    }

    .expo-ticket__question__lead {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .expo-ticket__question__buttons {
        flex-direction: column;
        gap: 12px;
    }

    .expo-ticket__choice {
        min-height: 70px;
        padding: 16px;
    }

    .expo-ticket__choice__main {
        font-size: 20px;
    }

    /* Ticket Result */
    .expo-ticket__warn,
    .expo-ticket__info {
        padding: 14px 16px;
    }

    /* Decoration */
    .expo-decoration {
        margin-top: 28px;
    }
}

/* --- Very small screens --- */
@media (max-width: 400px) {
    .expo-hero__inner {
        gap: 8px;
    }

    .expo-hero__hana {
        width: 65px;
        margin-right: -8px;
    }

    .expo-hero__moji {
        width: 65px;
    }

    .expo-hero__logo {
        gap: 2px;
    }

    .expo-title {
        font-size: 18px;
    }

    .expo-ticket__choice__main {
        font-size: 18px;
    }
}
