﻿:root {
	--font-size--base: 16px;
	--font-size--xs: 0.75rem;
	--font-size--sm: 0.875rem;
	--font-size--md: 1rem;
	--font-size--lg: 1.25rem;
	--font-size--xl: 1.75rem;
	--font-size--2xl: 2.25rem;
	--font-size--3xl: 3rem;
	--space: 4px;
	--space-2: calc(var(--space) * 2);
	--space-3: calc(var(--space) * 3);
	--space-4: calc(var(--space) * 4);
	--space-5: calc(var(--space) * 5);
	--space-6: calc(var(--space) * 6);
	--space-8: calc(var(--space) * 8);
	--space-10: calc(var(--space) * 10);
	--space-12: calc(var(--space) * 12);
	--space-16: calc(var(--space) * 16);
	--space-20: calc(var(--space) * 20);
	--space-page: clamp(20px, 4vw, 72px);
	--color-text: #333333;
	--color-muted: #7a858d;
	--color-accent: #c3463b;
	--color-accent-dark: #a9372d;
	--color-key: #1754a5;
	--color-key-dark: #073f86;
	--color-border: #d9dfe5;
	--color-line: #d8d8d8;
	--color-bg: #ffffff;
	--color-surface: #ffffff;
	--color-footer: #626b72;
	--font-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
	--font-en: "Roboto", Arial, sans-serif;
	--max-width: 1200px;
	--radius-sm: 4px;
	--radius-md: 8px;
	--radius-lg: 16px;
	--radius-full: 9999px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-base);
	font-size: var(--font-size--base);
	line-height: 1.8;
	letter-spacing: 0;
}

body.is-menu-open {
	overflow: hidden;
}

h1,
h2,
h3,
h4,
p {
	margin-top: 0;
}

h1 {
	font-size: var(--font-size--2xl);
}

h2 {
	font-size: var(--font-size--xl);
}

h3,
h4 {
	font-size: var(--font-size--lg);
}

img,
picture {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: var(--color-key);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

a:hover,
a:focus-visible {
	color: var(--color-accent);
}

button,
input,
textarea,
select {
	font: inherit;
}

.bg-gray{
	background:url(../images/bg-gray.png) repeat;
}
.bg-blue{
	background:url(../images/bg-blue.png) repeat;
}
.screen-reader-text,
.skip-link {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.skip-link:focus {
	z-index: 100;
	top: 12px;
	left: 12px;
	width: auto;
	height: auto;
	padding: 10px 14px;
	clip: auto;
	background: var(--color-text);
	color: #ffffff;
}

.content-wrap {
	width: min(var(--max-width), calc(100% - (var(--space-page) * 2)));
	margin-inline: auto;
}

.content-wrap--narrow {
	max-width: 820px;
}

.site-header {
	position: sticky;
	z-index: 30;
	top: 0;
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-8);
	width: min(100%, 1460px);
	min-height: 102px;
	margin-inline: auto;
	padding-inline: 44px;
	transition:all .5s ease-in-out;
}

.site-branding {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	min-width: 0;
}

.site-branding__logo,
.custom-logo-link {
	display: inline-flex;
	align-items: center;
}

.site-branding__logo img,
.custom-logo-link img {
	width: auto;
	max-width: 308px;
	max-height: 52px;
}

.site-header__nav-area {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: var(--space-8);
	flex: 1 1 auto;
	min-width: 0;
}

.primary-navigation ul,
.footer-navigation ul {
	display: flex;
	align-items: center;
	gap: var(--space-8);
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-navigation a,
.footer-navigation a {
	color: var(--color-text);
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.primary-navigation a {
	font-size: var(--font-size--md);
}

.site-header__contact {
	display: flex;
	align-items: center;
	gap: var(--space-5);
	flex: 0 0 auto;
}

.site-header__menu-mark {
	display: none;
}

.site-header__phone {
	display: grid;
	color: var(--color-accent);
	font-family: var(--font-en);
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}

.site-header__phone::before {
	content: "TEL";
	display: inline-block;
	margin-right: 6px;
	font-size: var(--font-size--xs);
}

.site-header__phone span {
	font-size: 1.08rem;
}

.site-header__phone small {
	margin-top: 2px;
	color: var(--color-text);
	font-family: var(--font-base);
	font-size: var(--font-size--xs);
	font-weight: 500;
}

.site-header__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 236px;
	min-height: 62px;
	padding: var(--space-4) var(--space-8);
	border-radius: var(--radius-full);
	background: var(--color-accent);
	color: #ffffff;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.site-header__cta:hover,
.site-header__cta:focus-visible {
	background: var(--color-accent-dark);
	color: #ffffff;
}

.menu-toggle {
	display: none;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--color-key);
	cursor: pointer;
}

.menu-toggle__bar {
	display: block;
	width: 20px;
	height: 2px;
	margin: 6px auto;
	border-radius: var(--radius-full);
	background: #ffffff;
	transition:all .5s ease-in-out;
}

.site-main {
	padding-block: clamp(40px, 7vw, 88px);
}

.page-header {
	margin-bottom: var(--space-8);
}

.page-header h1,
.entry-title {
	margin-bottom: var(--space-4);
	line-height: 1.35;
}

.post-list {
	display: grid;
	gap: var(--space-6);
}

.entry-card {
	display: grid;
	grid-template-columns: minmax(180px, 320px) 1fr;
	gap: var(--space-6);
	padding: var(--space-6);
	border: 1px solid var(--color-line);
	border-radius: var(--radius-md);
	background: var(--color-surface);
}

.entry-card__image img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--radius-sm);
}

.entry-date {
	color: var(--color-muted);
	font-size: var(--font-size--sm);
}

.entry-title a {
	color: var(--color-text);
	text-decoration: none;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content img,
.entry-featured-image img {
	border-radius: var(--radius-md);
}

.entry-summary-row {
	display: grid;
	grid-template-columns: 10em 1fr;
	gap: var(--space-4);
	padding-block: var(--space-4);
	border-bottom: 1px solid var(--color-line);
}

.entry-summary-row h3 {
	margin: 0;
	font-size: var(--font-size--md);
}

.site-footer {
	background: var(--color-footer);
	color: #ffffff;
}

.site-footer__inner {
	display: grid;
	grid-template-columns: 1fr 1.6fr;
	grid-template-areas:
		"brand nav"
		"brand copy";
	gap: var(--space-6) var(--space-10);
	width: min(100%, 1460px);
	margin-inline: auto;
	padding: 57px 82px 52px;
}

.site-footer__brand {
	grid-area: brand;
}

.site-footer__logo {
	width: 240px;
}

.site-footer__social {
	display: flex;
	align-items: center;
	gap: var(--space-5);
}

.site-footer__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	color: #ffffff;
	font-family: var(--font-en);
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
}
.site-footer__social img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.footer-navigation {
	grid-area: nav;
	justify-self: end;
	max-width: 590px;
}

.footer-navigation ul {
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 18px 34px;
}

.footer-navigation a {
	color: #ffffff;
	font-size: var(--font-size--sm);
}

.site-footer__copy {
	grid-area: copy;
	justify-self: end;
	margin: 0;
	color: rgba(255, 255, 255, 0.82);
	font-size: var(--font-size--sm);
}


.contact-tsujido {
	padding: 82px var(--space-page) 116px;
}

.contact-tsujido__inner {
	display: grid;
	justify-items: center;
}

.contact-tsujido__lead {
	margin: 0 0 68px;
	font-size: var(--font-size--lg);
	font-weight: 800;
	line-height: 1.8;
	text-align: center;
}

.contact-tsujido__methods {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 78px;
	width: min(980px, 100%);
	padding: 42px 86px;
	border: 2px solid var(--color-key);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.62);
}

.contact-tsujido__item {
	display: grid;
	align-content: center;
	gap: 6px;
}

.contact-tsujido__item p {
	margin: 0;
	font-weight: 800;
	line-height: 1.6;
}

.contact-tsujido__item--phone a {
	color: var(--color-key);
	font-size: 3rem;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
}

.contact-tsujido__item--phone span {
	font-size: var(--font-size--md);
	font-weight: 700;
}

.contact-tsujido__item--line a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 72px;
	width: min(300px, 100%);
	border-radius: 6px;
	background: #3bdc43;
	color: #ffffff;
	font-size: var(--font-size--xl);
	font-weight: 800;
	letter-spacing: 0.04em;
	text-decoration: none;
}

.contact-tsujido--admission {
	padding: 104px 0 116px;
}

.contact-tsujido--admission .contact-tsujido__methods {
	width: min(900px, 100%);
	padding: 34px 76px;
}

.contact-tsujido--admission .contact-tsujido__item--phone a {
	font-size: 2.65rem;
}

.contact-tsujido--admission .contact-tsujido__item--line a {
	min-height: 60px;
	font-size: var(--font-size--lg);
}

.comments-area,
.not-found {
	margin-top: var(--space-10);
}

.nav-links {
    display: flex;
    width: 100%;
    margin-top: 60px;
}
.nav-links > div {
    flex: 0 0 40%;
}
.nav-links a {
    display: block;
    background: #eee;
    color: inherit;
    text-decoration: none;
    position: relative;
    font-size: .9em;
}
.nav-links a::before {
    position: absolute;
    content: '';
    width: 8px;
    height: 8px;
    border-top: 2px solid #999;
    border-right: 2px solid #999;
    top: 0;
    bottom: 0;
    margin: auto;
}
.nav-links .nav-previous a{
    padding: 12px 16px 12px 40px;
}
.nav-links .nav-previous a::before {
    transform: rotate(-135deg);
    left: 16px;
}

.nav-links .nav-next a{
    padding: 12px 40px 12px 16px;
}
.nav-links .nav-next a::before {
    transform: rotate(45deg);
    right: 16px;
}

@media (max-width: 1120px) {
	.site-header__inner {
		padding-inline: var(--space-page);
	}

	.site-header__contact {
		display: none;
	}
}

@media (max-width: 767px) {
	:root {
		--font-size--base: 14px;
		--space-page: 20px;
	}

	.site-header__inner {
		min-height: 70px;
		padding-inline: 18px;
	}

	.site-branding__logo img,
	.custom-logo-link img {
		max-width: min(232px, calc(100vw - 104px));
		max-height: 45px;
	}

	.menu-toggle {
		display: block;
		flex: 0 0 auto;
	}

	.site-header__nav-area {
		position: absolute;
		top: 100%;
		left: 0;
		display: block;
		width: 100%;
		justify-content: center;
	}

	.primary-navigation {
		display: none;
		width: 100%;
		padding: var(--space-4) var(--space-page) var(--space-6);
		background: #ffffff;
		box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
	}

	.primary-navigation.is-open {
		display: block;
	}

	.primary-navigation ul {
		display: grid;
		gap: 0;
	}

	.primary-navigation a {
		display: block;
		padding-block: 12px;
		border-bottom: 1px solid var(--color-line);
	}

	.site-header__contact {
		display: none;
	}

	body.is-menu-open .site-header {
		position: fixed;
		inset: 0;
		overflow-y: auto;
		background: #ffffff;
		box-shadow: none;
	}

	body.is-menu-open .site-header__inner {
		display: grid;
		grid-template-columns: 1fr 54px;
		align-items: start;
		gap: 0;
		width: 100%;
		padding: 21px 20px 34px;
	}

	body.is-menu-open .menu-toggle {
		position: relative;
		width: 48px;
		height: 48px;
		margin: -1px -3px 0 auto;
		border-radius: 0;
		background: transparent;
	}

	body.is-menu-open .menu-toggle__bar {
		position: absolute;
		top: 22px;
		left: 8px;
		width: 36px;
		height: 3px;
		margin: 0;
		background: var(--color-key);
	}

	body.is-menu-open .menu-toggle__bar:nth-child(1) {
		transform: rotate(45deg);
	}

	body.is-menu-open .menu-toggle__bar:nth-child(2) {
		opacity: 0;
	}

	body.is-menu-open .menu-toggle__bar:nth-child(3) {
		transform: rotate(-45deg);
	}

	body.is-menu-open .site-header__nav-area {
		position: static;
		grid-column: 1 / -1;
		display: grid;
		width: 100%;
	}

	body.is-menu-open .primary-navigation {
		display: block;
		width: min(340px, calc(100vw - 74px));
		margin: 52px auto 0;
		padding: 0;
		background: transparent;
		box-shadow: none;
	}

	body.is-menu-open .primary-navigation ul {
		display: grid;
		gap: 0;
	}

	body.is-menu-open .primary-navigation a {
		display: flex;
		align-items: center;
		justify-content: space-between;
		min-height: 74px;
		padding: 0;
		border-bottom: 0;
		color: var(--color-text);
		font-size: 1.55rem;
		font-weight: 800;
		line-height: 1.35;
	}

	body.is-menu-open .primary-navigation a::after {
		content: "";
		width: 11px;
		height: 11px;
		border-top: 1px solid #9aa0a6;
		border-right: 1px solid #9aa0a6;
		transform: rotate(45deg);
	}

	body.is-menu-open .site-header__contact {
		display: grid;
		justify-items: center;
		width: min(337px, calc(100vw - 80px));
		margin: 56px auto 0;
		gap: 0;
	}

	body.is-menu-open .site-header__cta {
		order: 1;
		width: 100%;
		min-width: 0;
		min-height: 72px;
		padding: 18px 24px;
		font-size: 1.45rem;
		border-radius: var(--radius-full);
	}

	body.is-menu-open .site-header__phone {
		order: 2;
		display: grid;
		grid-template-columns: auto auto;
		justify-content: center;
		align-items: end;
		margin-top: 29px;
		color: var(--color-accent);
		text-align: center;
	}

	body.is-menu-open .site-header__phone::before {
		content: "☎";
		margin: 0 5px 1px 0;
		color: var(--color-accent);
		font-family: var(--font-base);
		font-size: 1rem;
		line-height: 1;
	}

	body.is-menu-open .site-header__phone span {
		font-size: 1.43rem;
		line-height: 1;
	}

	body.is-menu-open .site-header__phone small {
		grid-column: 1 / -1;
		margin-top: 3px;
		color: #686f76;
		font-size: 0.82rem;
		line-height: 1.25;
	}

	body.is-menu-open .site-header__menu-mark {
		display: block;
		width: min(337px, calc(100vw - 80px));
		margin: 83px auto 0;
		color: var(--color-text);
		font-size: 1.05rem;
		font-weight: 700;
		line-height: 1;
	}

	.site-main {
		padding-block: var(--space-10);
	}

	.entry-card {
		grid-template-columns: 1fr;
	}

	.entry-summary-row {
		grid-template-columns: 1fr;
		gap: var(--space-2);
	}


	.contact-tsujido__lead {
		margin-bottom: 38px;
		font-size: var(--font-size--md);
		line-height: 1.65;
	}

	.contact-tsujido__methods {
		grid-template-columns: 1fr;
		gap: 26px;
		padding: 32px 24px;
		border-radius: 14px;
		text-align: center;
	}

	.contact-tsujido__item {
		justify-items: center;
	}

	.contact-tsujido__item--phone a {
		font-size: 2.45rem;
	}

	.contact-tsujido__item--line a {
		min-height: 60px;
		font-size: var(--font-size--lg);
	}

	.contact-tsujido--spacer-mobile {
		min-height: 390px;
		padding: 0;
	}

	.contact-tsujido--spacer-mobile .contact-tsujido__inner {
		display: none;
	}

	.site-footer__inner {
		display: grid;
		grid-template-columns: 1fr;
		grid-template-areas:
			"brand"
			"nav"
			"copy";
		justify-items: center;
		gap: var(--space-8);
		padding: 50px var(--space-page) 48px;
		text-align: center;
	}

	.site-footer__brand {
		display: grid;
		justify-items: center;
	}

	.site-footer__logo {
		margin-bottom: var(--space-6);
	}

	.footer-navigation {
		justify-self: center;
	}

	.footer-navigation ul {
		justify-content: center;
		gap: 14px 20px;
	}

	.footer-navigation a {
		font-size: 0.82rem;
	}

	.site-footer__copy {
		justify-self: center;
		font-size: 0.75rem;
	}
}

.subpage-hero {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: flex-end;
	min-height: 390px;
	overflow: hidden;
	background: #d7d0c6;
}

.subpage-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(82, 66, 48, 0.34);
}

.subpage-hero__image {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
}

.subpage-hero__inner {
	width: min(var(--max-width), calc(100% - (var(--space-page) * 2)));
	margin-inline: auto;
	padding-bottom: 60px;
}

.subpage-hero h1 {
	margin: 0;
	color: #ffffff;
	font-size: var(--font-size--2xl);
	font-weight: 800;
	line-height: 1.35;
}

@media (max-width: 767px) {
	.subpage-hero {
		min-height: 260px;
	}

	.subpage-hero__inner {
		width: calc(100% - 74px);
		padding-bottom: 28px;
	}

	.subpage-hero h1 {
		font-size: var(--font-size--xl);
	}
}
@media (max-width: 420px) {
	.contact-tsujido__item--phone a {
		font-size: var(--font-size--xl);
	}
}