:root {
	--text: #222;
	--key: #ff7f7f;
	--key-dark: #e56b6b;
	--nav: #333;
	--link: #0067b8;
	--line: #e6d5c8;
	--paper: #fffaf6;
	--peach: #ffeddb;
	--footer: #f0908d;
	--table-line: #a99;
	--table-head: #fff4ea;
	--shadow: 0 8px 28px rgba(128, 64, 0, .12);
	--content: 1080px;
	--side-width: 320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	color: var(--text);
	background: #fff;
	font-family: "BIZ UDPGothic", "Hiragino Maru Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	font-size: 16px;
	line-height: 1.8;
}
img { max-width: 100%; height: auto; }
a { color: var(--link); }
a:hover { color: var(--key-dark); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { line-height: 1.5; font-weight: 700; }
.container { width: min(var(--content), calc(100% - 32px)); margin: 0 auto; }
.center { text-align: center; }
.skip-link {
	position: absolute;
	left: 8px;
	top: -40px;
	background: #fff;
	padding: .4em .8em;
	z-index: 20;
}
.skip-link:focus { top: 8px; }

.site-header { background: #ffeddb; border-bottom: 1px solid rgba(0, 0, 0, .12); }
.header-brand { position: relative; padding: 18px 0 8px; text-align: center; }
.brand-logo { margin: 0; font-size: inherit; font-weight: inherit; }
.brand-logo img { width: min(280px, 72vw); height: auto; }
.brand-desc { margin: 6px 0 0; color: #48803b; font-weight: 700; letter-spacing: .04em; }
.menu-btn {
	display: none;
	position: absolute;
	right: 0;
	top: 18px;
	border: 0;
	background: transparent;
	color: var(--nav);
	cursor: pointer;
}
.menu-bars { display: flex; flex-direction: column; gap: 5px; width: 26px; margin: 0 auto 2px; }
.menu-bars span { display: block; height: 2px; background: var(--nav); }
.menu-label { font-size: 11px; letter-spacing: .08em; }

.global-nav { background: transparent; }
.nav-list, .drawer-list, .footer-links, .sub-menu { list-style: none; margin: 0; padding: 0; }
.nav-list { display: flex; flex-wrap: wrap; justify-content: center; }
.nav-list > .nav-item { position: relative; }
.nav-list a, .drawer-list a {
	display: block;
	padding: .7em 1em;
	color: var(--nav);
	text-decoration: none;
	font-weight: 500;
}
.nav-list a:hover,
.nav-list > .nav-item.is-current > a,
.nav-list .is-current > a,
.drawer-list a:hover { color: #800; background: #ffd5c5; }
.sub-menu {
	display: none;
	position: absolute;
	z-index: 5;
	min-width: 240px;
	background: #ffeddb;
	border: 1px solid #f0d8cc;
	box-shadow: var(--shadow);
}
.nav-toggle {
	display: none;
	position: absolute;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}
.nav-item.has-children:hover > .sub-menu,
.nav-item.has-children:focus-within > .sub-menu { display: block; }
.sub-menu a { padding: .55em 1em; }
.sub-menu a:hover { background: #fff4ea; }

.drawer {
	background: #fffaf6;
	border-bottom: 1px solid var(--line);
}
.drawer-list a { border-top: 1px solid #f3e6dc; }
.drawer .sub-menu { position: static; display: block; border: 0; box-shadow: none; background: transparent; }
.drawer .sub-menu a { padding-left: 1.8em; font-size: .95em; }

.hero { background: #333; }
.slider { position: relative; height: 250px; overflow: hidden; }
.slide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity 1.2s ease;
}
.slide.is-active { opacity: 1; z-index: 1; }
.slide::before { content: ""; position: absolute; inset: 0; background: rgba(40, 20, 20, .35); }
.slide-inner { position: relative; z-index: 1; width: min(var(--content), calc(100% - 80px)); margin: 0 auto; }
.slide-title {
	margin: 0;
	color: #fff;
	font-family: "Zen Maru Gothic", "Murecho", sans-serif;
	font-weight: 900;
	font-size: clamp(22px, 4vw, 42px);
	line-height: 1.4;
	text-shadow: 0 0 2px #211, 0 0 8px #211;
}
.slider-arrow {
	position: absolute;
	z-index: 2;
	top: 50%;
	transform: translateY(-50%);
	width: 42px;
	height: 64px;
	border: 0;
	background: rgba(255,255,255,.18);
	color: #fff;
	font-size: 32px;
	cursor: pointer;
}
.slider-prev { left: 0; }
.slider-next { right: 0; }

.donation-status { background: var(--peach); text-align: center; padding: 14px 16px 10px; }
.donation-target, .donation-current, .donation-date { margin: 0; }
.donation-target strong, .donation-current strong { color: var(--key); }
.donation-current strong { font-size: 32px; line-height: 1.2; }
.donation-date { color: #666; font-size: 13px; }
.donation-track {
	width: min(400px, 100%);
	height: 20px;
	margin: 8px auto;
	background: rgba(102,102,102,.12);
	border-radius: 10px;
	overflow: hidden;
}
.donation-fill {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	height: 100%;
	min-width: 48px;
	padding: 0 10px;
	background: var(--key);
	color: #fff;
	font-size: 13px;
	border-radius: 10px;
}

.section { padding: 28px 0 10px; }
.section-title {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0 0 22px;
	font-family: "Murecho", sans-serif;
	font-size: 24px;
}
.section-title::before, .section-title::after { content: ""; flex: 1; border-top: 2px solid #ccc; }

.card-grid, .news-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.info-card, .news-card {
	display: flex;
	flex-direction: column;
	color: inherit;
	text-decoration: none;
	background: #fff;
	border-radius: 6px;
	box-shadow: var(--shadow);
	overflow: hidden;
}
.info-card-image, .news-image { display: block; aspect-ratio: 3 / 2; background: #f6eee8 center/cover no-repeat; overflow: hidden; }
.info-card-image img, .news-image img { width: 100%; height: 100%; object-fit: cover; }
.info-card-body, .news-body { padding: 14px 16px 16px; }
.info-card-title, .news-title { display: block; margin: 0 0 10px; color: var(--text); font-size: 18px; }
.news-title a { color: inherit; text-decoration: none; }
.news-title a:hover, .info-card:hover .info-card-title { color: #800; }
.open-btn, .btn {
	display: inline-block;
	padding: .25em 1.1em;
	border: 1px solid var(--key);
	border-radius: 4px;
	background: var(--key);
	color: #fff;
	text-decoration: none;
	font-size: 14px;
}
.open-btn:hover, .btn:hover { background: var(--key-dark); color: #fff; }
.btn-ghost { background: #fff; color: var(--key-dark); }
.btn-ghost:hover { background: var(--key); color: #fff; }
.news-meta { margin: 0 0 6px; color: #777; font-size: 13px; }
.news-cat {
	display: inline-block;
	margin-left: .6em;
	padding: 0 .5em;
	border-radius: 3px;
	background: #fff0ea;
	color: #a44;
	text-decoration: none;
}
.news-excerpt { color: #444; }

.blog-list { list-style: none; margin: 0; padding: 0; }
.blog-item { padding: 14px 0; border-bottom: 1px solid var(--line); }
.blog-title { font-weight: 700; text-decoration: none; }
.blog-date { display: block; color: #888; font-size: 13px; }
.blog-excerpt { margin: 6px 0 0; }
.note-list { margin: 18px 0 0; }

.page-header { padding: 22px 0 8px; background: linear-gradient(#fff7f2, #fff); border-bottom: 1px solid #f3e4da; }
.page-header h1 { margin: 6px 0 0; font-family: "Murecho", sans-serif; font-size: clamp(26px, 4vw, 34px); }
.breadcrumbs { color: #777; font-size: 13px; }
.breadcrumbs a { color: #666; text-decoration: none; }
.breadcrumbs span::before { content: " / "; color: #aaa; }
.entry { padding: 28px 0 64px; }
.entry-content { overflow: auto; }
.entry-content h2 {
	margin: 1.6em 0 .6em;
	padding-bottom: .2em;
	border-bottom: 2px solid #eee;
	font-family: "Murecho", sans-serif;
	font-size: 24px;
}
.entry-content h3 { margin: 1.4em 0 .4em; font-size: 20px; color: #663333; }
.entry-content ul, .entry-content ol { margin: 0 0 1em; padding-left: 1.4em; }
.vk_outer { position: relative; overflow: hidden; }
.vk_outer-paddingVertical-use { padding-top: 1.5em; padding-bottom: 1.5em; }
.vk_outer-background-area { position: absolute; inset: 0; z-index: 0; }
.vk_outer > div { position: relative; z-index: 1; }
.vk_outer_separator { position: relative; }
.vk_outer_separator svg {
	display: block;
	position: absolute;
	left: 0;
	width: 100%;
	height: 100px;
	max-height: 100px;
	pointer-events: none;
}
.vk_outer_separator-position-upper svg { top: 0; transform: rotate(180deg); }
.vk_outer_separator-position-lower svg { bottom: 0; }
.entry-content figure { margin: 1em 0; }
.vk_balloon { display: flex; align-items: flex-start; margin-bottom: 2.2em; }
.vk_balloon figure { margin: 0; }
.vk_balloon p:first-of-type { margin-top: 0; }
.vk_balloon p:last-of-type { margin-bottom: 0; }
.vk_balloon_icon { flex: 0 0 80px; text-align: center; }
.vk_balloon_icon_image {
	display: inline-block;
	width: 64px;
	height: 64px;
	object-fit: cover;
	vertical-align: bottom;
}
.vk_balloon_icon_image-type-rounded { border-radius: 4px; }
.vk_balloon_icon_image-type-circle { border-radius: 50%; }
.vk_balloon_icon_name { display: block; margin-top: .3rem; font-size: .7rem; text-align: center; }
.vk_balloon_content_outer { width: 100%; }
.vk_balloon_content {
	position: relative;
	max-width: calc(100% - 6.2em);
	padding: 1em 1.2em;
	background: #f5f5f5;
	text-align: left;
}
.vk_balloon-position-left .vk_balloon_content { float: left; }
.vk_balloon-position-right { flex-direction: row-reverse; }
.vk_balloon-position-right .vk_balloon_content { float: right; }
.vk_balloon-position-left .vk_balloon_icon { margin-right: 1.2em; }
.vk_balloon-position-right .vk_balloon_icon { margin-left: 1.2em; }
.vk_balloon_content_before,
.vk_balloon_content_after { position: absolute; display: block; }
.vk_balloon-type-think .vk_balloon_content { border-radius: 1rem; }
.vk_balloon-type-think .vk_balloon_content_before,
.vk_balloon-type-think .vk_balloon_content_after {
	border: 0;
	border-radius: 50%;
	background: inherit;
}
.vk_balloon-type-think .vk_balloon_content_before { width: 14px; height: 14px; }
.vk_balloon-type-think .vk_balloon_content_after { width: 10px; height: 10px; }
.vk_balloon-position-left.vk_balloon-type-think .vk_balloon_content_before { left: -18px; top: 7px; }
.vk_balloon-position-left.vk_balloon-type-think .vk_balloon_content_after { left: -25px; top: 20px; }
.vk_balloon-position-right.vk_balloon-type-think .vk_balloon_content_before { right: -18px; top: 7px; }
.vk_balloon-position-right.vk_balloon-type-think .vk_balloon_content_after { right: -25px; top: 20px; }
.entry-content .aligncenter { text-align: center; }
.entry-content .aligncenter img { margin-inline: auto; }
.entry-content .alignright { float: right; margin: 0 0 1em 1em; max-width: 45%; }
.entry-content .alignleft { float: left; margin: 0 1em 1em 0; max-width: 45%; }
.entry-date { margin: 8px 0 0; color: #777; }

.content-table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; border: 1px solid var(--table-line); }
.content-table th, .content-table td { padding: .7em .8em; border-bottom: 1px solid var(--table-line); vertical-align: top; text-align: left; }
.content-table th { background: var(--table-head); }
.org-profile td:first-child, .contact-info td:first-child { width: 12em; background: var(--table-head); font-weight: 700; }
.vk_borderBox {
	position: relative;
	margin: 1.6em 0;
	padding: 1.2em 1em 1em;
	border: 2px solid #4267b2;
	border-radius: 8px;
}
.vk_borderBox_title { margin: -1.7em 0 .6em; }
.vk_borderBox_title_container h4, .vk_borderBox_title {
	display: inline-block;
	margin: 0;
	padding: 0 .5em;
	background: #fff;
}
.wp-block-file { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin: .5em 0; }
.wp-block-file__button, .pdf-link a {
	display: inline-block;
	padding: .3em .9em;
	border-radius: 4px;
	background: var(--key);
	color: #fff;
	text-decoration: none;
}
.vk_faq { margin: 0 0 1.2em; }
.vk_faq_title { font-weight: 700; color: #663333; }
.vk_faq_content { margin: 0 0 1em; }
.vk_accordion-trigger { cursor: pointer; }
.vk_accordion-target { display: none; }
.is-open .vk_accordion-target { display: block; }
.smb-accordion__item { position: relative; margin: 0 0 10px; }
.smb-accordion__item__title { display: flex; gap: 8px; padding: .6em 1em; background: #f6f6f6; }
.smb-accordion__item__body { display: none; padding: 1em; }
.smb-accordion__item__control { position: absolute; inset: 0 auto auto 0; width: 100%; height: 48px; opacity: 0; cursor: pointer; }
.smb-accordion__item__control:checked + .smb-accordion__item__body,
.smb-accordion .smb-accordion__item__control:checked + .smb-accordion__item__title + .smb-accordion__item__body { display: block; }
.smb-alert { margin: 1em 0; padding: 1em; border: 1px solid #ffdacd; border-radius: 8px; background: #fff3e8; }
.wp-block-button__link {
	display: inline-block;
	padding: .6em 1.4em;
	border-radius: 30px;
	background: var(--key);
	color: #fff;
	text-decoration: none;
}
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.gallery-item { margin: 0; }
.pager { display: flex; gap: 16px; justify-content: center; align-items: center; margin-top: 24px; }
.pager a { text-decoration: none; }

.contact-form { max-width: 720px; }
.form-field, .contact-form fieldset { display: block; width: min(100%, 640px); margin: 0 0 14px; border: 0; padding: 0; }
.form-field-mid { width: min(100%, 420px); }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
	display: block;
	width: 100%;
	margin-top: 4px;
	padding: .55em .7em;
	border: 1px solid rgba(0,0,0,.45);
	border-radius: 4px;
	font: inherit;
}
.contact-form select { width: 180px; }
.check-item { display: flex; align-items: flex-start; gap: .5em; margin: .25em 0; }
.required { color: #d00; }
.form-note { color: #555; font-size: 14px; }
.form-error { margin: -6px 0 12px; color: #c00; }
.form-success { margin: 0 0 16px; padding: 12px 14px; border-radius: 8px; background: #eef8ea; }
.form-submit { text-align: center; margin-top: 12px; }
.form-submit button {
	min-width: 180px;
	padding: .7em 1.6em;
	border: 0;
	border-radius: 4px;
	background: var(--key);
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}
.form-submit button:hover { background: var(--key-dark); }
.hp-field { position: absolute; left: -9999px; }

.site-footer { margin-top: 20px; padding: 36px 0 24px; background: var(--footer); color: #fff; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 24px; }
.footer-profile img { display: block; margin-bottom: 8px; border-radius: 8px; background: #fff; }
.site-footer h2 { margin: 0 0 .4em; font-size: 18px; }
.footer-links a { display: inline-block; margin-right: 1em; }
.copyright { margin: 24px 0 0; text-align: center; font-size: 14px; }

.donate-btn {
	position: fixed;
	right: 0;
	bottom: 72px;
	z-index: 6;
	padding: 16px 14px;
	border-radius: 8px 0 0 8px;
	background: rgba(255, 127, 127, .92);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	writing-mode: horizontal-tb;
}
.donate-btn:hover { background: var(--key-dark); color: #fff; }
.page-top {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 6;
	width: 50px;
	height: 50px;
	border: 2px solid #fff;
	border-radius: 25px;
	background: var(--key);
	color: #fff;
	font-size: 10px;
	cursor: pointer;
}

@media (max-width: 599px) {
	.org-profile td, .org-profile td:first-child { display: block; width: 100%; }
	.entry-content .alignright, .entry-content .alignleft { float: none; max-width: 100%; margin: 0 0 1em; }
}
@media (min-width: 700px) {
	.card-grid, .news-grid { grid-template-columns: 1fr 1fr; }
	.slider { height: 400px; }
}
@media (min-width: 980px) {
	.menu-btn { display: none; }
	.card-grid { grid-template-columns: 1fr 1fr 1fr; }
	.slider { height: 560px; }
	.footer-grid { grid-template-columns: 1.2fr .9fr .9fr; }
}
@media (max-width: 979px) {
	.global-nav { display: none; }
	.menu-btn { display: block; }
	body.menu-open { overflow: hidden; }
}

@media (min-width: 1200px) {
	.site-header {
		position: fixed;
		top: 0;
		left: 0;
		z-index: 30;
		width: var(--side-width);
		height: 100%;
		overflow-y: auto;
		scrollbar-width: none;
		border-bottom: 0;
		border-right: 1px solid rgba(0, 0, 0, .12);
		box-shadow: none;
	}
	.site-header::-webkit-scrollbar { display: none; }
	.header-brand,
	.global-nav .container {
		width: auto;
		max-width: none;
	}
	.header-brand { padding: 1.6em 1em 0.4em; }
	.brand-logo img { width: 100%; max-width: 240px; }
	.brand-desc { font-size: 14px; line-height: 1.5; }
	.global-nav { display: block; }
	.nav-list {
		display: block;
	}
	.nav-list > .nav-item {
		border-top: 1px solid rgba(0, 0, 0, .12);
	}
	.nav-list > .nav-item:last-child {
		border-bottom: 1px solid rgba(0, 0, 0, .12);
	}
	.nav-list a {
		padding: .9em 1.2em;
		color: #555;
		font-size: 15px;
		font-weight: 500;
	}
	.nav-list > .nav-item.has-children > a { padding-right: 3em; }
	.global-nav .nav-toggle {
		display: block;
		top: 10px;
		right: 10px;
		z-index: 2;
		width: 24px;
		height: 24px;
		border-radius: 2px;
		background: #e6d5c5;
	}
	.global-nav .nav-toggle::before {
		content: "";
		display: block;
		width: 8px;
		height: 8px;
		margin: 5px auto 0;
		border-right: 2px solid rgba(0, 0, 0, .75);
		border-bottom: 2px solid rgba(0, 0, 0, .75);
		transform: rotate(45deg);
	}
	.global-nav .nav-item.is-open > .nav-toggle::before {
		margin-top: 9px;
		transform: rotate(225deg);
	}
	.global-nav .sub-menu,
	.global-nav .nav-item.has-children:hover > .sub-menu,
	.global-nav .nav-item.has-children:focus-within > .sub-menu {
		display: block;
		position: static;
		min-width: 0;
		border: 0;
		box-shadow: none;
		background: transparent;
		max-height: 0;
		opacity: 0;
		overflow: hidden;
		visibility: hidden;
		transition: max-height .45s ease, opacity .35s ease;
	}
	.global-nav .nav-item.is-open > .sub-menu,
	.global-nav .nav-item.is-open:hover > .sub-menu,
	.global-nav .nav-item.is-open:focus-within > .sub-menu {
		max-height: 40rem;
		opacity: 1;
		visibility: visible;
	}
	.sub-menu .nav-item { border-top: 1px solid rgba(0, 0, 0, .12); }
	.sub-menu a { padding: .85em 1.2em .85em 1.8em; font-size: 14px; }
	.contents,
	.site-footer { margin-left: var(--side-width); }
	.drawer { display: none; }
}
