/* === Variables === */
:root {
    --green-900: #2e4a2e;
    --green-700: #4a8c3f;
    --green-600: #5ea94e;
    --green-500: #7cc26a;
    --green-400: #a3d98a;
    --green-100: #eef7e9;
    --green-50: #f5faf2;
    --color-text: #2a3328;
    --color-text-sub: #687a64;
    --color-bg: #f8faf6;
    --color-white: #fff;
    --color-border: #dbe8d5;
    --radius: 8px;
    --radius-lg: 16px;
    --transition: 0.25s ease;
    --shadow-sm: 0 1px 3px rgba(27, 58, 45, 0.06);
    --shadow-md: 0 4px 20px rgba(27, 58, 45, 0.08);
    --shadow-hover: 0 8px 30px rgba(27, 58, 45, 0.12);
}

/* === Base === */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 18px;
    scroll-behavior: smooth;
}

body {
    font-family: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Meiryo", sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.85;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

a {
    transition: color var(--transition);
}

/* === Navigation === */
.site-nav {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.92);
}

.site-nav__inner {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 44px;
}

.site-nav__logo {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--green-700);
    text-decoration: none;
    letter-spacing: 0.06em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-nav__logo-icon {
    width: 24px;
    height: 24px;
}

.site-nav__logo:hover {
    color: var(--green-600);
}

.site-nav__links {
    display: flex;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav__links a {
    font-size: 0.8125rem;
    color: var(--color-text-sub);
    text-decoration: none;
    padding: 7px 14px;
    border-radius: 6px;
    transition: all var(--transition);
    font-weight: 500;
}

.site-nav__links a:hover {
    color: var(--green-700);
    background: var(--green-100);
}

.site-nav__toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--color-text);
}

.site-nav__toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    margin: 4px 0;
    border-radius: 1px;
}

/* === Hero === */
.hero {
    background: linear-gradient(160deg, var(--green-600) 0%, var(--green-500) 100%);
    padding: 28px 32px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}


.hero__inner {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero__name {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-white);
    margin: 0 0 12px;
    letter-spacing: 0.14em;
}

.hero__lead {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 2;
    margin: 0;
}

/* === Content wrapper === */
.content-wrap {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 32px;
}

.content-narrow {
    max-width: 740px;
    margin: 0 auto;
    padding: 0 32px;
}

/* === Section === */
.section {
    padding: 56px 0;
}

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

.section--green {
    background: var(--green-50);
}

.section__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 28px;
}

.section__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section__title::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--green-500);
    border-radius: 50%;
    flex-shrink: 0;
}

.section__more {
    font-size: 0.8125rem;
    color: var(--green-600);
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.section__more:hover {
    color: var(--green-700);
}

/* === Pledge === */
.pledge {
    background: var(--color-white);
    padding: 32px 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border-top: 3px solid var(--green-500);
}

.pledge__title {
    font-size: 1rem;
    font-weight: 700;
    font-family: "Zen Old Mincho", serif;
    margin: 0 0 16px;
    color: var(--green-700);
}

.pledge__body {
    margin: 0 0 16px;
    line-height: 2.4;
    font-size: 0.9375rem;
    font-weight: 700;
    font-family: "Zen Old Mincho", serif;
}

.pledge__source {
    font-size: 0.75rem;
    color: var(--color-text-sub);
    margin: 0;
    text-align: right;
}

/* === Meeting list (top page) === */
.meeting-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.meeting-list__item {
    background: var(--color-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition);
}

.meeting-list__item:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-1px);
}

.meeting-list__item a {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 24px;
    color: inherit;
    text-decoration: none;
}

.meeting-list__date {
    font-weight: 700;
    font-size: 1.0625rem;
    white-space: nowrap;
    min-width: 150px;
    color: var(--green-900);
}

.meeting-list__type {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--green-700);
    background: var(--green-100);
    padding: 3px 10px;
    border-radius: 20px;
}

.meeting-list__venue {
    font-size: 0.8125rem;
    color: var(--color-text-sub);
    margin-left: auto;
}

/* === Schedule page === */
.schedule-month {
    margin-bottom: 40px;
}

.schedule-month__title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--green-700);
    letter-spacing: 0.04em;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--green-400);
}

.schedule-entry {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--color-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 18px 24px;
    margin-bottom: 8px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow var(--transition), transform var(--transition);
}

.schedule-entry:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-1px);
}

.schedule-entry__date {
    font-size: 1.125rem;
    font-weight: 700;
    white-space: nowrap;
    color: var(--green-900);
}

.schedule-entry__detail {
    font-size: 0.8125rem;
    color: var(--color-text-sub);
}

/* === Detail page === */
.detail-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: var(--color-text-sub);
    text-decoration: none;
    margin-bottom: 28px;
}

.detail-back:hover {
    color: var(--green-700);
}

.detail-heading {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 6px;
}

.detail-sub {
    font-size: 0.9375rem;
    color: var(--color-text-sub);
    margin: 0 0 36px;
}

.detail-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--color-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.detail-table th,
.detail-table td {
    text-align: left;
    padding: 16px 24px;
    border-bottom: 1px solid var(--color-border);
}

.detail-table th {
    width: 90px;
    font-weight: 700;
    font-size: 0.8125rem;
    color: var(--color-text-sub);
    background: var(--green-50);
}

.detail-table tr:last-child th,
.detail-table tr:last-child td {
    border-bottom: none;
}

/* === Page header === */
.page-header {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    padding: 24px 32px;
}

.page-header__inner {
    max-width: 740px;
    margin: 0 auto;
}

.page-header__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: var(--green-900);
}

.page-header__sub {
    font-size: 0.875rem;
    color: var(--color-text-sub);
    margin: 8px 0 0;
}

/* === About page === */
.about-section {
    margin-bottom: 40px;
}

.about-section__title {
    font-size: 1.0625rem;
    font-weight: 700;
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-section__subtitle {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--green-700);
    margin: 16px 0 8px;
}

.about-section__title::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--green-500);
    border-radius: 50%;
    flex-shrink: 0;
}

.about-section p {
    margin: 0 0 12px;
}

/* === Episode list === */
.episode-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.episode-list__item {
    padding: 18px 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 1rem;
    line-height: 1.9;
}

.episode-list__item:first-child {
    padding-top: 0;
}

/* === Stories === */
.story {
    background: var(--color-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 28px 32px;
    margin-bottom: 14px;
    transition: box-shadow var(--transition);
}

.story:hover {
    box-shadow: var(--shadow-md);
}

.story__author {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--green-600);
    margin: 0 0 10px;
}

.story__body {
    margin: 0;
    line-height: 2;
}

/* === Highlight box === */
.highlight-box {
    background: var(--green-100);
    border-left: 4px solid var(--green-500);
    padding: 20px 24px;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-weight: 700;
    line-height: 2.2;
    margin: 16px 0;
}

/* === Meeting info === */
.meeting-photo {
    margin: 28px 0;
    overflow: hidden;
}

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

.meeting-photo figcaption {
    font-size: 0.8125rem;
    color: var(--color-text-sub);
    text-align: center;
    padding: 10px 0 0;
}

.photo-placeholder {
    background: linear-gradient(135deg, var(--green-100) 0%, #dde8df 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-sub);
    font-size: 0.875rem;
    height: 300px;
    border-radius: var(--radius-lg);
    margin: 28px 0;
}

.meeting-flow {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: flow;
}

.meeting-flow__item {
    background: var(--color-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 22px 24px 22px 60px;
    margin-bottom: 10px;
    counter-increment: flow;
    position: relative;
}

.meeting-flow__item::before {
    content: counter(flow);
    position: absolute;
    left: 22px;
    top: 22px;
    width: 26px;
    height: 26px;
    background: var(--green-600);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

/* === Contact === */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
    align-items: start;
}

.contact-item {
    background: var(--color-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 28px;
}

.contact-item__label {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--green-600);
    letter-spacing: 0.06em;
    margin: 0 0 8px;
}

.contact-item__value {
    font-size: 0.9375rem;
    margin: 0;
}

.contact-item__value:last-child {
    margin-bottom: 0;
}

.contact-item__value a {
    color: var(--green-700);
    text-decoration: none;
    font-weight: 700;
}

.contact-item__value a:hover {
    color: var(--green-600);
    text-decoration: underline;
}

/* === FAQ === */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--color-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 24px 28px;
}

.faq-item__q {
    font-size: 1rem;
    font-weight: 700;
    color: var(--green-800);
    margin: 0 0 12px;
    padding-left: 1.5em;
    text-indent: -1.5em;
}

.faq-item__q::before {
    content: "Q.";
    color: var(--green-600);
    font-weight: 700;
    margin-right: 0.5em;
}

.faq-item__a {
    margin: 0;
    line-height: 1.9;
    padding-left: 1.5em;
}

/* === Empty state === */
.empty-message {
    color: var(--color-text-sub);
    font-size: 0.9375rem;
    text-align: center;
    padding: 48px 24px;
    background: var(--color-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

/* === Footer === */
.site-footer {
    background: var(--green-100);
    color: var(--color-text-sub);
    padding: 32px 32px;
    font-size: 0.75rem;
    text-align: center;
}

.site-footer__name {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--color-text);
    margin-bottom: 4px;
}

.site-footer__desc {
    margin-bottom: 12px;
}

.site-footer__copy {
    margin: 0;
}

/* === Utility === */
.link-accent {
    color: var(--green-700);
    text-decoration: none;
    font-weight: 700;
}

.link-accent:hover {
    color: var(--green-600);
    text-decoration: underline;
}

/* === Responsive === */
@media (max-width: 640px) {
    .hero {
        padding: 24px 20px 20px;
    }

    .hero__name {
        font-size: 1.75rem;
        letter-spacing: 0.08em;
    }

    .hero__lead {
        font-size: 0.9375rem;
    }

    .section {
        padding: 40px 0;
    }

    .content-wrap,
    .content-narrow {
        padding: 0 20px;
    }

    .site-nav__inner {
        padding: 0 20px;
    }

    .site-nav__links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 44px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--color-border);
        padding: 8px 0;
        gap: 0;
    }

    .site-nav__links.is-open {
        display: flex;
    }

    .site-nav__links a {
        padding: 12px 24px;
        border-radius: 0;
    }

    .site-nav__toggle {
        display: block;
    }

    .meeting-list__item a {
        flex-wrap: wrap;
        gap: 8px;
        padding: 16px 20px;
    }

    .meeting-list__date {
        min-width: auto;
        width: 100%;
        font-size: 1rem;
    }

    .meeting-list__venue {
        margin-left: 0;
    }

    .pledge {
        padding: 24px;
    }

    .page-header {
        padding: 32px 20px;
    }

    .page-header__title {
        font-size: 1.25rem;
    }

    .schedule-entry {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 16px 20px;
    }

    .detail-heading {
        font-size: 1.375rem;
    }

    .story {
        padding: 22px 24px;
    }

    .photo-placeholder {
        height: 200px;
        border-radius: var(--radius);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}
