/* ==========================================================================
   Base / Reset
   ========================================================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 100%;
    scroll-behavior: smooth;
}

body {
    font-family:
        "游ゴシック", "Yu Gothic", YuGothic, "Noto Sans JP", "ヒラギノ角ゴ Pro",
        "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #4d4d4d;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

table {
    border-collapse: collapse;
    width: 100%;
}

address {
    font-style: normal;
}

.sp-br {
    display: none;
}

.pc-br {
    display: inline;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    position: relative;
    background-color: #fff;
    z-index: 400;
}

.header__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo a {
    display: block;
}

.header__logo img {
    width: 260px;
    height: auto;
}

.header__line {
    height: 3px;
    background-color: #5bac4b;
}

.header__hamburger {
    display: none;
    width: 40px;
    height: 30px;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 400;
}

.header__hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #5bac4b;
    border-radius: 2px;
    position: absolute;
    left: 0;
    transition: transform 0.3s, opacity 0.3s;
}

.header__hamburger span:nth-child(1) { top: 0; }
.header__hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.header__hamburger span:nth-child(3) { bottom: 0; }

.header__hamburger.is-open span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.header__hamburger.is-open span:nth-child(2) { opacity: 0; }
.header__hamburger.is-open span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* ==========================================================================
   Global Navigation
   ========================================================================== */
.gnav--pc .gnav__list {
    display: flex;
    gap: 32px;
}

.gnav--pc .gnav__list a {
    font-weight: bold;
    font-size: 15px;
    padding: 8px 0;
    position: relative;
}

.gnav--pc .gnav__list a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #5bac4b;
    transform: scaleX(0);
    transition: transform 0.2s;
}

.gnav--pc .gnav__list a:hover::after {
    transform: scaleX(1);
}

.gnav--sp {
    display: none;
}

.overlay {
    display: none;
}

.overlay.is-active {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 350;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #fdecde 0%, #ffffff 100%);
    padding: 88px 20px 96px;
    text-align: center;
}

.hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    opacity: 0.45;
    z-index: 0;
}

.hero__blob--1 { width: 260px; height: 260px; background: #a1d7dd; top: -80px; left: -60px; }
.hero__blob--2 { width: 200px; height: 200px; background: #fdecde; background: #f6cfa0; top: 40px; right: -70px; opacity: 0.5; }
.hero__blob--3 { width: 160px; height: 160px; background: #5bac4b; bottom: -60px; left: 8%; opacity: 0.18; }
.hero__blob--4 { width: 140px; height: 140px; background: #dc3a86; bottom: 10px; right: 12%; opacity: 0.14; }

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

.hero__mark {
    width: 68px;
    margin: 0 auto 20px;
}

.hero__eyebrow {
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.25em;
    color: #5bac4b;
    margin-bottom: 16px;
}

.hero__title {
    font-size: 30px;
    font-weight: bold;
    color: #333;
    line-height: 1.7;
    margin-bottom: 24px;
}

.hero__lead {
    font-size: 16px;
    line-height: 2;
    text-align: left;
}

/* ==========================================================================
   Section / Block common
   ========================================================================== */
.section {
    background-color: #fff;
}

.section--tint {
    background-color: #fafbf7;
}

.section__inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 20px;
}

.page-title {
    font-size: 30px;
    font-weight: bold;
    color: #333;
    margin-bottom: 48px;
}

.page-title::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    background-color: #5bac4b;
    margin-top: 18px;
}

.block {
    margin-bottom: 56px;
}

.block:last-child {
    margin-bottom: 0;
}

.block__title {
    font-size: 20px;
    font-weight: bold;
    color: #5bac4b;
    padding-bottom: 14px;
    border-bottom: 2px solid #5bac4b;
    margin-bottom: 20px;
}

.lead-text {
    font-size: 17px;
    line-height: 1.9;
}

.check-list li {
    position: relative;
    padding-left: 1.4em;
    margin-bottom: 10px;
}

.check-list li::before {
    content: "・";
    position: absolute;
    left: 0;
}

.check-list li:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    background-color: #5bac4b;
    color: #fff;
    font-weight: bold;
    font-size: 15px;
    padding: 12px 28px;
    border-radius: 6px;
    transition: opacity 0.2s;
}

.btn::before {
    content: "▶ ";
    font-size: 10px;
}

.btn:hover {
    opacity: 0.85;
}

/* ==========================================================================
   Quick link cards (hero下)
   ========================================================================== */
.quick-cards {
    display: flex;
    gap: 24px;
}

.quick-card {
    flex: 1;
    text-align: center;
    background-color: #fff;
    border-radius: 12px;
    padding: 32px 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.quick-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.quick-card__icon img {
    width: 32px;
}

.quick-card--1 .quick-card__icon { background-color: #eaf4e8; }
.quick-card--2 .quick-card__icon { background-color: #e3f2f4; }
.quick-card--3 .quick-card__icon { background-color: #fdecde; }

.quick-card__title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    min-height: 2.8em;
}

/* ==========================================================================
   News
   ========================================================================== */
.news-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 16px;
    border-bottom: 2px solid #5bac4b;
    margin-bottom: 8px;
}

.news-heading::before {
    content: "";
    width: 5px;
    height: 22px;
    background-color: #5bac4b;
}

.news-heading__text {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.news__empty {
    padding: 32px 0;
    text-align: center;
    color: #888;
}

.news__item {
    display: flex;
    align-items: baseline;
    gap: 24px;
    padding: 20px 0;
    border-bottom: 1px dotted #ccc;
}

.news__date {
    font-size: 14px;
    color: #888;
    flex-shrink: 0;
    white-space: nowrap;
}

.news__text {
    font-size: 15px;
}

/* ==========================================================================
   Info table / History table
   ========================================================================== */
.info-table tr,
.history-table tr {
    border-bottom: 1px solid #e5e5e5;
}

.info-table th,
.info-table td,
.history-table th,
.history-table td {
    text-align: left;
    padding: 18px 0;
    font-size: 15px;
    vertical-align: top;
}

.info-table th,
.history-table th {
    width: 140px;
    font-weight: bold;
    color: #333;
    white-space: nowrap;
}

.history-table th {
    width: 130px;
}

/* ==========================================================================
   Doc list (PDFリンク)
   ========================================================================== */
.doc-list li {
    border-bottom: 1px solid #e5e5e5;
}

.doc-list li:first-child {
    border-top: 1px solid #e5e5e5;
}

.doc-list__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 4px;
    font-size: 15px;
    font-weight: bold;
    color: #333;
}

.doc-list__link::before {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid #5bac4b;
    border-bottom: 2px solid #5bac4b;
    transform: rotate(-45deg);
    flex-shrink: 0;
}

.doc-list__link:hover {
    color: #5bac4b;
}

.plain-note {
    font-size: 15px;
    color: #666;
}

/* ==========================================================================
   Facility cards（実施事業）
   ========================================================================== */
.facility-group {
    margin-bottom: 48px;
}

.facility-group:last-child {
    margin-bottom: 0;
}

.facility-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.facility-card {
    display: block;
    background-color: #fff;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
    border-bottom: 4px solid transparent;
    transition: transform 0.2s;
}

a.facility-card:hover {
    transform: translateY(-2px);
}

.facility-card--blue { border-bottom-color: #0092e5; }
.facility-card--pink { border-bottom-color: #dc3a86; }
.facility-card--green { border-bottom-color: #5bac4b; }

.facility-card__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.facility-card__icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.facility-card__name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    line-height: 1.4;
}

.facility-card__info {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: #fbf7ec;
    color: #4d4d4d;
}

.footer__line {
    height: 3px;
    background-color: #5bac4b;
}

.footer__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 56px 20px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer__logo {
    width: 220px;
    margin-bottom: 20px;
}

.footer__address {
    font-size: 14px;
    line-height: 1.9;
    color: #666;
}

.footer__nav {
    display: flex;
    gap: 48px;
}

.footer__nav-col li {
    margin-bottom: 14px;
}

.footer__nav-col a {
    font-size: 14px;
    color: #4d4d4d;
    font-weight: bold;
}

.footer__nav-col a:hover {
    color: #5bac4b;
}

.footer__copy {
    background-color: #5bac4b;
    text-align: center;
    padding: 16px;
    font-size: 12px;
    color: #fff;
}

/* ==========================================================================
   Pagetop
   ========================================================================== */
.pagetop {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #5bac4b;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
}

.pagetop::before {
    content: "";
    width: 10px;
    height: 10px;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    transform: rotate(45deg) translate(1px, 1px);
}

/* ==========================================================================
   SP
   ========================================================================== */
@media (max-width: 767px) {
    .sp-br {
        display: inline;
    }

    .pc-br {
        display: none;
    }

    .header__inner {
        padding: 12px 16px;
    }

    .header__logo img {
        width: 190px;
    }

    .header__hamburger {
        display: block;
    }

    .gnav--pc {
        display: none;
    }

    .gnav--sp {
        display: block;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100%;
        background-color: #fff;
        z-index: 380;
        transition: right 0.3s;
        overflow-y: auto;
        padding: 80px 0 40px;
    }

    .gnav--sp.is-open {
        right: 0;
    }

    .gnav--sp .gnav__item a {
        display: block;
        padding: 16px 24px;
        font-size: 15px;
        font-weight: bold;
        border-bottom: 1px solid #eee;
    }

    .hero {
        padding: 56px 20px 64px;
    }

    .hero__title {
        font-size: 23px;
    }

    .hero__lead {
        font-size: 15px;
    }

    .section__inner {
        padding: 56px 20px;
    }

    .page-title {
        font-size: 24px;
        margin-bottom: 36px;
    }

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

    .quick-card__title {
        min-height: 0;
    }

    .info-table th,
    .info-table td,
    .history-table th,
    .history-table td {
        display: block;
        width: 100% !important;
        padding: 0;
    }

    .info-table tr,
    .history-table tr {
        display: block;
        padding: 16px 0;
    }

    .info-table th,
    .history-table th {
        margin-bottom: 6px;
    }

    .facility-cards {
        grid-template-columns: 1fr;
    }

    .footer__inner {
        flex-direction: column;
        padding: 40px 20px;
    }

    .footer__nav {
        gap: 32px;
    }

    .pagetop {
        right: 16px;
        bottom: 16px;
        width: 44px;
        height: 44px;
    }
}
