@charset "UTF-8";

:root {
	--green: #00bd88;
	--blue: #2aaee4;
	--text: #514b45;
	--content-width: 1100px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	color: var(--text);
	font-family: -apple-system, BlinkMacSystemFont, "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
	font-size: 15px;
	line-height: 1.8;
}
a { color: inherit; text-decoration: none; }
a:hover { opacity: .78; }
img { max-width: 100%; height: auto; vertical-align: bottom; }
.screen-reader-text {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Header */
.site-header { border-top: 6px solid var(--green); background: #fff; position: relative; z-index: 20; }
.header-inner {
	max-width: 1400px; min-height: 66px; margin: 0 auto; padding: 5px 22px;
	display: flex; align-items: center; justify-content: space-between; position: relative;
}
.site-logo { display: inline-flex; align-items: center; gap: 5px; font-size: clamp(20px, 2.5vw, 34px); font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.site-logo .custom-logo { max-height: 54px; width: auto; }
.site-logo-text { line-height: 1.2; color: #736357;}
.logo-bird { line-height: 0; width: 46px; }
.header-landscape { color: #8bcdb7; font-size: 25px; letter-spacing: 3px; margin-left: auto; margin-right: 20px; }
.header-mail {
	width: 58px; height: 58px; border-radius: 50%; background: var(--green); color: #fff;
	display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1;
}
.header-mail span { width: 36px; }
.global-nav { display: none; }
.menu-toggle { display: none; }

/* Hero */
.hero { background: #e8f6d7; }
.hero-swiper { width: 100%; }
.hero-slide { position: relative; height: clamp(230px, 31vw, 390px); overflow: hidden; background: #78966d; }
.hero-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-copy {
	position: absolute; left: 15px; right: 15px; top: 50%; transform: translateY(-50%);
	margin: 0; color: #fff; text-align: center; font-size: clamp(19px, 2.4vw, 30px);
	font-weight: 700; text-shadow: 0 2px 5px rgba(0,0,0,.75);
}
.hero-pagination {
	position: relative !important; inset: auto !important; min-height: 22px;
	display: flex; justify-content: center; align-items: center; gap: 8px;
	background: #e8f6d7;
}
.hero-pagination .swiper-pagination-bullet {
	width: 8px; height: 8px; margin: 0 !important; opacity: 1;
	background: #9bdac7;
}
.hero-pagination .swiper-pagination-bullet-active { background: var(--green); }

/* Quick links */
.quick-links { background: #e8f6d7 url("../images/green-bg-header.png") center/cover no-repeat; border-bottom: 5px solid var(--green); padding: 25px 15px 30px; }
.quick-links-inner { max-width: 900px; margin: 0 auto; }
.quick-links-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 22px; }
.quick-links-grid a { display: block; overflow: hidden; }
.quick-links-grid a:nth-child(8) { border-color: #f4c344; }
.quick-links-grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

/* Main content */
.home-content-wrap {
	max-width: var(--content-width); margin: 0 auto; padding: 38px 20px 25px;
	display: grid; grid-template-columns: minmax(0, 2fr) minmax(230px, .82fr); gap: 28px 30px;
}
.home-primary { min-width: 0; }
.section-heading { display: flex; align-items: center; justify-content: space-between; margin: 0 0 8px; }
.section-heading h2, .map-section h2 { margin: 0; font-size: 20px; font-weight: 600; }
.heading-icon { display: inline-block; }
.news-section .heading-icon { height: 40px; width: 50px;}
.map-section .heading-icon { height: 40px; width: 32px; }
.section-heading > a { color: #39799b; font-size: 12px; }
.news-box { border: 1px solid #aaa; border-radius: 14px; padding: 20px 22px; }
.news-list { list-style: none; padding: 0; margin: 0; }
.news-list li {
	display: grid; grid-template-columns: 75px 66px minmax(0,1fr); gap: 12px;
	align-items: center; padding: 12px 0; border-bottom: 1px dashed #bbb; font-size: 13px;
}
.news-list li:last-child { border-bottom: 0; }
.news-list time { color: #34799c; white-space: nowrap; }
.news-list li > a { color: #34799c; }
.news-label { display: inline-block; border-radius: 20px; padding: 1px 8px; color: #fff; background: #83b83e; text-align: center; font-size: 11px; line-height: 1.6; white-space: nowrap; }
.label-member { background: #0784c4; }
.label-important { background: #c92c35; }
.related-banners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 50px; margin: 45px auto 0; max-width: 560px; }
.related-banner { display: block; }
.related-banner img { width: 100%; }
.home-sidebar { min-width: 0; }
.map-section h2 { margin-bottom: 8px; }
.map-placeholder img { width: 100%; }
.map-caption { font-size: 12px; margin: 2px 0 22px; text-decoration: underline; }
.association-info { margin-top: 25px; font-size: 12px; line-height: 1.7; }
.association-info > img { width: 100%; aspect-ratio: 1.15 / 1; object-fit: cover; }
.association-info h2 { margin: 5px 0 2px; font-size: 14px; font-weight: 600; }
.association-info p { margin: 0; }
.ad-placeholder {
	grid-column: 1 / -1; min-height: 70px; border: 1px dashed #aaa; display: flex;
	align-items: center; justify-content: center; gap: 15px; color: #d44; font-size: 17px;
}
.ad-placeholder strong { color: #888; font-size: 30px; font-weight: 400; }

/* Footer */
.site-footer { border-top: 6px solid var(--green); background: #e8f6d7 url("../images/green-bg-footer.png") center/cover no-repeat; color: #222; }
.footer-inner { max-width: var(--content-width); margin: 0 auto; padding: 22px 20px 12px; }
.footer-heading { display: inline-block; font-size: 21px; font-weight: 600; margin-right: 18px; }
.footer-links { display: inline-flex; gap: 18px; font-size: 12px; }
.footer-nav-list { display: contents; list-style: none; padding: 0; margin: 0; }
.footer-inner address { margin-top: 8px; font-style: normal; font-size: 13px; }
.copyright { text-align: center; margin: 8px 0 0; font-size: 12px; }

/* Sub pages */
.subpage-main { max-width: var(--content-width); min-height: 420px; margin: 0 auto; padding: 28px 20px 60px; }
.breadcrumb { margin-bottom: 25px; color: #777; font-size: 12px; }
.page-title { margin: 0 0 25px; padding: 0 0 12px; border-bottom: 2px solid var(--green); font-size: 27px; }
.entry-body { line-height: 2; }
.entry-body img { max-width: 100%; height: auto; }
.entry-date { color: #777; font-size: 13px; }
.back-link { margin-top: 40px; text-align: center; }
.back-link a, .error-page a { color: #167da9; text-decoration: underline; }
.archive-list { list-style: none; padding: 0; margin: 0; }
.archive-list li { padding: 14px 5px; border-bottom: 1px dashed #bbb; }
.archive-list time { display: inline-block; width: 100px; color: #34799c; }
.navigation.pagination { margin-top: 25px; }

@media (max-width: 767px) {
	body { font-size: 14px; }
	.header-inner { min-height: 44px; padding: 4px 10px; }
	.site-header { border-top-width: 5px; }
	.site-logo { font-size: clamp(15px, 4.5vw, 21px); gap: 1px; }
	.site-logo .custom-logo { max-height: 34px; }
	.logo-bird { width: 30px; }
	.header-landscape, .header-mail { display: none; }
	.menu-toggle {
		display: flex; width: 40px; height: 34px; padding: 5px 2px; border: 0; background: transparent;
		flex-direction: column; justify-content: space-around; cursor: pointer;
	}
	.menu-toggle > span:not(.screen-reader-text) { display: block; width: 32px; height: 3px; background: var(--green); }
	.global-nav {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 10px 18px;
    background: #fff;
    border-top: 1px solid #ddd;
    box-shadow: 0 5px 10px rgba(0,0,0,.12);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.global-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
	.global-nav-list { list-style: none; margin: 0; padding: 0; }
	.global-nav-list li { border-bottom: 1px solid #e5e5e5; }
	.global-nav-list a { display: block; padding: 9px 4px; }
	.hero-slide { height: 165px; }
	.hero-copy { font-size: 15px; }
	.hero-pagination { min-height: 8px; gap: 5px; }
	.hero-pagination .swiper-pagination-bullet { width: 5px; height: 5px; }
	.quick-links { padding: 12px 7% 17px; }
	.quick-links-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
	.quick-links-grid a { border-radius: 14px; border-width: 2px; }
	.home-content-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 16px 7% 22px; }
	.home-primary, .home-sidebar { display: contents; }
	.news-section { order: 1; }
	.map-section { order: 2; }
	.related-banners { order: 3; }
	.section-heading { margin-bottom: 4px; }
	.section-heading h2, .map-section h2 { font-size: 13px; }
	.heading-icon { font-size: 16px; }
	.section-heading > a { font-size: 9px; }
	.news-box { border-radius: 12px; padding: 8px 10px; }
	.news-list li { grid-template-columns: 43px 43px minmax(0,1fr); gap: 5px; padding: 8px 0; font-size: 8px; }
	.news-label { font-size: 7px; padding: 1px 3px; }
	.news-list time { font-size: 7px; }
	.news-list li > a { overflow-wrap: anywhere; }
	.related-banners { margin: 4px 0 0; gap: 12px 10px; }
	/*.map-section h2 { display: none; }*/
	.map-placeholder img { width: 100%; }
	.map-caption { font-size: 9px; margin-bottom: 0; }
	.association-info { display: none; }
	.ad-placeholder { display: none; }
	.site-footer { border-top-width: 5px; margin-top: 0; }
	.footer-inner { padding: 10px 12px 6px; text-align: center; }
	.footer-heading { display: block; margin: 0 0 4px; font-size: 18px; }
	.footer-links { display: none; }
	.footer-inner address { text-align: left; display: inline-block; margin: 0; font-size: 11px; }
	.copyright { font-size: 10px; margin-top: 2px; }
	.subpage-main { padding: 18px 6% 40px; min-height: 350px; }
	.page-title { font-size: 21px; }
	.archive-list li { font-size: 13px; }
	.archive-list time { display: block; width: auto; font-size: 11px; }
}
