/* ===========================
   CSS Variables & Reset
=========================== */
:root {
    --text:       #533f33;
    --green:      #00a37e;
    --purple:     #69419c;
    --coral:      #cf5d4a;
    --lime:       #86af41;
    --orange:     #e57a31;
    --bg:         #f5f5f5;
    --white:      #ffffff;
    --border:     #d6ccc5;
    --light-tan:  #ede7e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
    line-height: 1.9;
    color: var(--text);
    background-color: var(--bg);
}

/* ===========================
   Container
=========================== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===========================
   Header
=========================== */
.header {
    background: var(--white);
    padding: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid var(--green);
}

.header-deco {
    height: 8px;
    background: repeating-linear-gradient(
        90deg,
        var(--green) 0px,
        var(--green) 20px,
        var(--lime) 20px,
        var(--lime) 40px,
        var(--orange) 40px,
        var(--orange) 60px,
        var(--coral) 60px,
        var(--coral) 80px,
        var(--purple) 80px,
        var(--purple) 100px
    );
}

.header-deco--top {
    border-bottom: 2px solid rgba(83,63,51,0.08);
}

.header-deco--bottom {
    border-top: 2px solid rgba(83,63,51,0.08);
}

.header .container {
    padding: 48px 24px 44px;
    position: relative;
}

.header-emblem {
    font-size: 2.8rem;
    margin-bottom: 12px;
    display: block;
    animation: sway 4s ease-in-out infinite;
    transform-origin: center bottom;
}

@keyframes sway {
    0%, 100% { transform: rotate(-4deg); }
    50% { transform: rotate(4deg); }
}

.main-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.08em;
    animation: fadeInDown 0.9s ease-out;
}

.main-title .highlight {
    color: var(--green);
    font-size: 3rem;
    font-weight: 700;
    display: inline-block;
    position: relative;
}

.main-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--lime);
    border-radius: 2px;
}

/* ===========================
   Main Content
=========================== */
.main-content {
    background: var(--white);
    margin: 32px auto;
    max-width: 1140px;
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.section {
    padding: 56px 0;
    position: relative;
    border-bottom: 1px solid var(--light-tan);
    animation: fadeIn 0.7s ease-out;
}

.section:last-child {
    border-bottom: none;
}

/* Alternating subtle tint */
.section:nth-child(even) {
    background: rgba(0,163,126,0.03);
}

/* ===========================
   Section Titles
=========================== */
.section-title {
    font-size: 1.8rem;
    color: var(--text);
    margin-bottom: 32px;
    padding-bottom: 12px;
    position: relative;
    display: inline-block;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--border);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 2px;
    background: var(--green);
    transition: width 0.4s ease;
}

.section:hover .section-title::after {
    width: 100%;
}

.sub-heading {
    font-size: 1.2rem;
    color: var(--text);
    margin: 28px 0 12px;
    padding-left: 14px;
    border-left: 4px solid var(--orange);
    font-weight: 600;
    transition: border-color 0.3s ease;
}

.sub-heading:hover {
    border-left-color: var(--coral);
}

/* ===========================
   Text
=========================== */
.lead-text {
    font-size: 1.05rem;
    line-height: 2.1;
    color: var(--text);
}

p {
    margin-bottom: 16px;
}

/* ===========================
   Highlights Section
=========================== */
.highlights {
    background: var(--white) !important;
    border-left: 6px solid var(--green);
    position: relative;
}

.highlights::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background:
        radial-gradient(ellipse at 5% 20%, rgba(0,163,126,0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 95% 80%, rgba(134,175,65,0.06) 0%, transparent 50%);
    pointer-events: none;
}

.highlights .section-title {
    color: var(--green);
}

.highlights .section-title::after {
    background: var(--green);
}

.highlights .list li {
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 4px solid var(--lime);
    border-radius: 4px;
    margin-bottom: 10px;
    padding: 14px 20px 14px 48px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    box-shadow: 0 1px 4px rgba(83,63,51,0.06);
    transition: all 0.25s ease;
    animation: fadeInRight 0.5s ease-out backwards;
}

.highlights .list li:nth-child(1) { animation-delay: 0.05s; border-left-color: var(--green); }
.highlights .list li:nth-child(2) { animation-delay: 0.1s;  border-left-color: var(--lime); }
.highlights .list li:nth-child(3) { animation-delay: 0.15s; border-left-color: var(--orange); }
.highlights .list li:nth-child(4) { animation-delay: 0.2s;  border-left-color: var(--purple); }
.highlights .list li:nth-child(5) { animation-delay: 0.25s; border-left-color: var(--coral); }

.highlights .list li:hover {
    transform: translateX(6px);
    box-shadow: 0 3px 12px rgba(0,163,126,0.15);
}

.highlights .list li::before {
    content: '🌾';
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    animation: none;
}

/* ===========================
   General List
=========================== */
.list {
    list-style: none;
    padding-left: 0;
    margin: 16px 0;
}

.list li {
    padding: 10px 0 10px 26px;
    position: relative;
    border-bottom: 1px solid rgba(83,63,51,0.06);
    transition: background 0.2s ease;
}

.list li:last-child {
    border-bottom: none;
}

.list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--green);
    font-size: 0.85rem;
    top: 11px;
}

/* ===========================
   Schedule List
=========================== */
.schedule-list {
    list-style: none;
    counter-reset: schedule-counter;
    padding-left: 0;
}

.schedule-list li {
    counter-increment: schedule-counter;
    padding: 18px 18px 18px 64px;
    margin-bottom: 8px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 4px;
    position: relative;
    transition: all 0.25s ease;
}

.schedule-list li:nth-child(odd) {
    border-left: 3px solid var(--green);
}

.schedule-list li:nth-child(even) {
    border-left: 3px solid var(--lime);
}

.schedule-list li:hover {
    background: rgba(0,163,126,0.04);
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(0,163,126,0.1);
}

.schedule-list li::before {
    content: counter(schedule-counter);
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: var(--green);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    font-family: sans-serif;
}

.schedule-list li:nth-child(3n+2)::before { background: var(--orange); }
.schedule-list li:nth-child(3n+3)::before { background: var(--purple); }

.schedule-list li strong {
    color: var(--coral);
    font-size: 1.05rem;
    margin-right: 6px;
}

/* ===========================
   Info Table
=========================== */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 0.97rem;
}

.info-table th,
.info-table td {
    padding: 16px 18px;
    border: 1px solid var(--border);
    transition: background 0.2s ease;
}

.info-table th {
    background: var(--light-tan);
    color: var(--text);
    font-weight: 600;
    text-align: left;
    width: 30%;
    border-left: 4px solid var(--green);
}

.info-table td {
    background: var(--white);
}

.info-table tr:hover td {
    background: rgba(0,163,126,0.03);
}

/* ===========================
   Cancel Table
=========================== */
.cancel-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 0.97rem;
}

.cancel-table thead th {
    background: var(--purple);
    color: #fff;
    padding: 14px 16px;
    text-align: center;
    font-weight: 600;
    border: 1px solid var(--purple);
    letter-spacing: 0.05em;
}

.cancel-table tbody td {
    padding: 14px 16px;
    border: 1px solid var(--border);
    text-align: center;
}

.cancel-table tbody td:first-child {
    text-align: left;
    font-weight: 500;
}

.cancel-table tbody td:last-child {
    color: var(--coral);
    font-weight: 700;
}

.cancel-table tbody tr {
    background: var(--white);
    transition: background 0.2s ease;
}

.cancel-table tbody tr:nth-child(even) {
    background: rgba(105,65,156,0.03);
}

.cancel-table tbody tr:hover {
    background: rgba(105,65,156,0.06);
}

.cancel-table tbody tr:last-child td {
    background: rgba(207,93,74,0.06);
}

/* ===========================
   Step Container
=========================== */
.step-container {
    margin: 36px 0;
}

.step-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 28px 28px 24px;
    margin-bottom: 16px;
    position: relative;
    transition: all 0.3s ease;
    animation: fadeIn 0.6s ease-out;
}

.step-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-radius: 6px 0 0 6px;
}

.step-item:nth-child(1)::before { background: var(--green); }
.step-item:nth-child(3)::before { background: var(--orange); }
.step-item:nth-child(5)::before { background: var(--purple); }

.step-item:hover {
    box-shadow: 0 4px 16px rgba(83,63,51,0.1);
    transform: translateY(-2px);
}

.step-number {
    display: inline-block;
    background: var(--green);
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 14px;
    letter-spacing: 0.1em;
    font-family: sans-serif;
}

.step-item:nth-child(3) .step-number { background: var(--orange); }
.step-item:nth-child(5) .step-number { background: var(--purple); }

.step-heading {
    font-size: 1.3rem;
    color: var(--text);
    margin-bottom: 14px;
    font-weight: 700;
}

.step-text {
    color: var(--text);
    line-height: 1.9;
    margin-bottom: 0;
    font-size: 0.97rem;
}

.fwb {
    font-weight: 700;
}

.apply-button {
    display: block;
    background: var(--green);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    padding: 13px 36px;
    border: none;
    border-radius: 4px;
    margin: 20px auto 0;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0,163,126,0.25);
    text-decoration: none;
    text-align: center;
    width: fit-content;
    letter-spacing: 0.05em;
}

.apply-button:hover {
    background: #008a6a;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0,163,126,0.35);
}

.step-arrow {
    text-align: center;
    font-size: 2rem;
    color: var(--lime);
    margin: 4px 0;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ===========================
   Contact Box
=========================== */
.contact-box {
    background: rgba(0,163,126,0.04);
    padding: 28px;
    border-radius: 6px;
    border: 1px solid var(--green);
    margin-top: 40px;
    transition: all 0.3s ease;
}

.contact-box:hover {
    border-color: var(--orange);
    box-shadow: 0 3px 12px rgba(229,122,49,0.12);
}

.contact-box p {
    margin-bottom: 8px;
}

.contact-box strong {
    color: var(--green);
    font-size: 1.1rem;
}

/* ===========================
   Footer
=========================== */
.footer {
    background: var(--text);
    color: var(--light-tan);
    padding: 36px 0;
    margin-top: 0;
}

.footer p {
    margin-bottom: 8px;
    font-size: 0.93rem;
}

.footer .container {
    display: block;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer .footer-text {
    flex: 1;
    text-align: left;
}

.footer .footer-logo {
    flex-shrink: 0;
    max-width: 280px;
}

.footer .footer-logo img {
    width: 100%;
    height: auto;
    opacity: 0.85;
}

.footer-bottom {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(214,204,197,0.2);
    text-align: left;
}

/* Accent strip at footer top */
.footer::before {
    content: '';
    display: block;
    height: 4px;
    background: repeating-linear-gradient(
        90deg,
        var(--green) 0px, var(--green) 20%,
        var(--lime) 20%, var(--lime) 40%,
        var(--orange) 40%, var(--orange) 60%,
        var(--coral) 60%, var(--coral) 80%,
        var(--purple) 80%, var(--purple) 100%
    );
    margin-bottom: 32px;
}

/* ===========================
   Animations
=========================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(-20px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* ===========================
   Responsive
=========================== */
@media (max-width: 768px) {
    .main-title {
        font-size: 1.7rem;
    }

    .main-title .highlight {
        font-size: 2.1rem;
    }

    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .sub-heading {
        font-size: 1.1rem;
    }

    .info-table th,
    .info-table td {
        padding: 10px 12px;
        font-size: 0.88rem;
    }

    .schedule-list li {
        padding-left: 52px;
    }

    .highlights .list li {
        padding-left: 44px;
        font-size: 0.95rem;
    }

    .footer-top {
        flex-direction: column;
        gap: 20px;
    }

    .footer .footer-text {
        text-align: center;
    }

    .footer .footer-logo {
        max-width: 160px;
        margin: 0 auto;
    }

    .cancel-table tbody td,
    .cancel-table thead th {
        padding: 10px 10px;
        font-size: 0.87rem;
    }
}
.confirm-box {
    background: rgba(0,163,126,0.05);
    border: 1px solid var(--green);
    border-left: 5px solid var(--green);
    border-radius: 4px;
    padding: 20px 24px;
    margin: 32px 0 12px;
    font-size: 0.97rem;
    line-height: 1.9;
    color: var(--text);
}

.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    margin-top: 32px;
    padding: 32px 0;
}

.choice-button {
    font-size: 1.15rem;
    font-weight: 700;
    padding: 0;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.12em;
    font-family: 'Noto Serif JP', serif;
}

.yes-button {
    background: #00a37e;
    color: #fff;
    width: 200px;
    height: 64px;
    box-shadow: 0 4px 16px rgba(0,163,126,0.35);
    position: relative;
    overflow: hidden;
}

.yes-button::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 60%);
    pointer-events: none;
}

.yes-button:hover {
    background: #008a6a;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,163,126,0.45);
}

.yes-button:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0,163,126,0.3);
}

.yes-button a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.no-button {
    background: #ffffff;
    color: #888;
    width: 160px;
    height: 56px;
    border: 2px solid #ccc;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    font-size: 1.1rem;
}

.no-button:hover {
    background: #f0f0f0;
    border-color: #aaa;
    color: #666;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}