:root {
	--color-primary: #1c6758;
	--color-primary-dark: #164f45;
	--color-secondary: #e8a640;
	--color-ink: #222;
	--color-text: #222;
	--color-muted: #222;
	--color-line: #dfe5e1;
	--color-surface: #f7f8f5;
	--color-white: #fff;
	--font-sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
	--font-serif: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
	--shadow-card: 0 18px 55px rgba(24, 48, 44, 0.1);
	--radius-sm: 10px;
	--radius-md: 22px;
	--radius-lg: 36px;
	--container: 1160px;
	--content: 760px;
	--header-height: 88px;
}

/* Reset and base */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--color-surface);
	color: var(--color-text);
	font-family: var(--font-sans);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.85;
	-webkit-font-smoothing: antialiased;
}

body.menu-open {
	overflow: hidden;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

figure {
	margin: 0;
}

a {
	color: var(--color-primary);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
	transition: color 0.2s ease, opacity 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

a:hover {
	color: var(--color-primary-dark);
}

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

button {
	cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.65em;
	color: var(--color-ink);
	font-family: var(--font-serif);
	font-weight: 700;
	letter-spacing: 0.025em;
	line-height: 1.45;
}

h1 {
	font-size: clamp(2.25rem, 5vw, 4.5rem);
}

h2 {
	font-size: clamp(1.8rem, 3.4vw, 3rem);
}

h3 {
	font-size: clamp(1.2rem, 2vw, 1.55rem);
}

p {
	margin: 0 0 1.5em;
}

ul,
ol {
	padding-left: 1.4em;
}

blockquote {
	margin: 2.5rem 0;
	padding: 1.4rem 1.6rem;
	border-left: 4px solid var(--color-secondary);
	background: #fff;
	color: var(--color-ink);
	font-family: var(--font-serif);
	font-size: 1.14rem;
}

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

th,
td {
	padding: 0.8rem 1rem;
	border: 1px solid var(--color-line);
	text-align: left;
}

th {
	background: rgba(28, 103, 88, 0.08);
	color: var(--color-ink);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="number"],
textarea,
select {
	width: 100%;
	padding: 0.8rem 1rem;
	border: 1px solid var(--color-line);
	border-radius: 6px;
	background: #fff;
	color: var(--color-ink);
}

input:focus,
textarea:focus,
select:focus,
button:focus-visible,
a:focus-visible {
	outline: 3px solid rgba(232, 166, 64, 0.55);
	outline-offset: 3px;
}

.container {
	width: min(calc(100% - 48px), var(--container));
	margin-inline: auto;
}

.container--narrow,
.container--content {
	max-width: var(--content);
}

.section {
	padding-block: clamp(72px, 9vw, 128px);
}

.site {
	min-height: 100vh;
	overflow: hidden;
}

.site-main {
	min-height: 55vh;
}

/* Keep these overrides so hidden accessibility text cannot be exposed by component CSS. */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	top: 8px;
	left: 8px;
	z-index: 100000;
	display: block;
	width: auto;
	height: auto;
	padding: 12px 18px;
	clip: auto !important;
	background: #fff;
	color: var(--color-primary);
	font-weight: 700;
	white-space: normal;
	box-shadow: var(--shadow-card);
}

.eyebrow {
	margin: 0 0 0.85rem;
	color: var(--color-primary);
	font-family: var(--font-sans);
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.2em;
	line-height: 1.4;
	text-transform: uppercase;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 1.4rem;
	min-height: 58px;
	padding: 0.85rem 1.8rem;
	border: 0;
	border-radius: 999px;
	font-size: 0.94rem;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
}

.button span {
	font-size: 1.25em;
}

.button--primary {
	background: var(--color-primary);
	color: #fff;
	box-shadow: 0 12px 30px rgba(28, 103, 88, 0.22);
}

.button--primary:hover {
	background: var(--color-primary-dark);
	color: #fff;
	transform: translateY(-2px);
}

.button--light {
	background: #fff;
	color: var(--color-primary);
}

.button--light:hover {
	color: var(--color-primary-dark);
	transform: translateY(-2px);
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
}

/* Header */
.site-header {
	position: relative;
	z-index: 100;
	min-height: var(--header-height);
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid rgba(223, 229, 225, 0.8);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--header-height);
	gap: 2rem;
}

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

.custom-logo-link {
	display: block;
}

.custom-logo {
	width: auto;
	max-width: 260px;
	max-height: 58px;
}

.site-title {
	display: flex;
	align-items: center;
	gap: 0.72rem;
	color: var(--color-ink);
	font-family: var(--font-serif);
	font-size: 1.18rem;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
}

.site-title:hover {
	color: var(--color-primary);
}

.site-title__mark {
	display: grid;
	width: 42px;
	height: 42px;
	border-radius: 50% 50% 42% 58%;
	background: var(--color-primary);
	color: #fff;
	font-family: var(--font-sans);
	font-size: 1rem;
	place-items: center;
	transform: rotate(-8deg);
}

.site-title__mark + span {
	transform: translateY(1px);
}

.site-description {
	max-width: 180px;
	margin: 0;
	padding-left: 1rem;
	border-left: 1px solid var(--color-line);
	color: var(--color-muted);
	font-size: 15px;
	line-height: 1.6;
}

.main-navigation ul {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 2.5vw, 2.4rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-navigation a {
	position: relative;
	display: block;
	padding: 1.95rem 0;
	color: var(--color-ink);
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
}

.main-navigation a::after {
	position: absolute;
	right: 0;
	bottom: 1.5rem;
	left: 0;
	height: 2px;
	background: var(--color-primary);
	content: "";
	transform: scaleX(0);
	transition: transform 0.2s ease;
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item > a::after,
.main-navigation .current_page_item > a::after {
	transform: scaleX(1);
}

.main-navigation .sub-menu {
	position: absolute;
	top: calc(100% - 10px);
	display: block;
	min-width: 210px;
	padding: 0.55rem;
	background: #fff;
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-card);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
}

.main-navigation li {
	position: relative;
}

.main-navigation li:hover > .sub-menu,
.main-navigation li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.main-navigation .sub-menu a {
	padding: 0.7rem 0.85rem;
	border-radius: 6px;
}

.main-navigation .sub-menu a::after {
	display: none;
}

.main-navigation .sub-menu a:hover {
	background: var(--color-surface);
}

.menu-toggle {
	display: none;
	width: 48px;
	height: 48px;
	padding: 12px;
	border: 0;
	border-radius: 50%;
	background: var(--color-primary);
}

.menu-toggle__line {
	display: block;
	width: 100%;
	height: 2px;
	margin: 5px 0;
	background: #fff;
	transition: transform 0.2s, opacity 0.2s;
}

/* Hero */
.hero {
	position: relative;
	isolation: isolate;
	display: grid;
	min-height: min(760px, calc(100vh - var(--header-height)));
	overflow: hidden;
	background:
		linear-gradient(115deg, rgba(247, 248, 245, 0.98) 0%, rgba(247, 248, 245, 0.94) 48%, rgba(232, 241, 236, 0.95) 100%);
	align-items: center;
}

.hero::before {
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: radial-gradient(rgba(28, 103, 88, 0.12) 1px, transparent 1px);
	background-size: 22px 22px;
	content: "";
	mask-image: linear-gradient(to right, transparent 0%, #000 45%, #000 100%);
}

.hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(420px, 0.88fr);
	align-items: center;
	gap: clamp(3rem, 8vw, 8rem);
	padding-block: 72px;
}

.hero__content {
	position: relative;
	z-index: 2;
}

.hero h1 {
	max-width: 720px;
	margin-bottom: 1.55rem;
	font-size: clamp(2.65rem, 5.5vw, 5rem);
	line-height: 1.3;
}

.hero__lead {
	max-width: 610px;
	margin-bottom: 2.35rem;
	color: var(--color-text);
	font-size: clamp(1rem, 1.35vw, 1.14rem);
	line-height: 2.05;
}

.hero__visual {
	position: relative;
	min-height: 510px;
}

.hero-card {
	position: absolute;
	overflow: hidden;
	background: #fff;
	box-shadow: var(--shadow-card);
}

.hero-card--main {
	top: 12px;
	right: 5%;
	width: min(100%, 430px);
	aspect-ratio: 0.88;
	border-radius: 49% 49% 26px 26px;
	background: #dcece8;
	transform: rotate(2deg);
}

.hero-card__sun {
	position: absolute;
	top: 19%;
	right: 17%;
	width: 82px;
	height: 82px;
	border-radius: 50%;
	background: var(--color-secondary);
	box-shadow: 0 0 0 20px rgba(232, 166, 64, 0.12);
}

.hero-card__hill {
	position: absolute;
	bottom: -20%;
	border-radius: 50% 50% 0 0;
}

.hero-card__hill--back {
	right: -34%;
	width: 118%;
	height: 69%;
	background: #98c6b2;
	transform: rotate(-12deg);
}

.hero-card__hill--front {
	bottom: -31%;
	left: -32%;
	width: 128%;
	height: 73%;
	background: var(--color-primary);
	transform: rotate(13deg);
}

.hero-card__school {
	position: absolute;
	right: 24%;
	bottom: 16%;
	z-index: 2;
	display: flex;
	align-items: flex-end;
	justify-content: space-evenly;
	width: 48%;
	height: 31%;
	padding: 22px 18px;
	border: 7px solid #fff;
	border-top: 25px solid #fff;
	background: #e8a640;
	box-shadow: -12px 14px 0 rgba(24, 48, 44, 0.15);
}

.hero-card__school::before {
	position: absolute;
	top: -61px;
	left: -11%;
	width: 122%;
	height: 49px;
	background: #fff;
	clip-path: polygon(50% 0, 100% 100%, 0 100%);
	content: "";
}

.hero-card__school i {
	width: 18%;
	height: 42%;
	background: #9dc9c0;
	border: 4px solid #fff;
}

.hero-card--small {
	bottom: 32px;
	left: -22px;
	z-index: 3;
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 166px;
	height: 142px;
	padding: 24px;
	border-radius: 22px;
	transform: rotate(-5deg);
}

.hero-card--small span {
	color: var(--color-secondary);
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.18em;
}

.hero-card--small strong {
	color: var(--color-ink);
	font-family: var(--font-serif);
	font-size: 1.3rem;
}

.hero__dots {
	position: absolute;
	top: 68px;
	left: -18px;
	width: 76px;
	height: 76px;
	background-image: radial-gradient(var(--color-secondary) 3px, transparent 3px);
	background-size: 15px 15px;
}

.hero__shape {
	position: absolute;
	z-index: -1;
	border-radius: 50%;
}

.hero__shape--one {
	top: -140px;
	right: -160px;
	width: 460px;
	height: 460px;
	border: 1px solid rgba(28, 103, 88, 0.14);
}

.hero__shape--two {
	right: 35%;
	bottom: -180px;
	width: 360px;
	height: 360px;
	border: 74px solid rgba(232, 166, 64, 0.08);
}

/* Home sections */
.home-news {
	background: #fff;
}

.section-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 2rem;
	margin-bottom: clamp(2rem, 4vw, 3.8rem);
}

.section-heading h2 {
	margin: 0;
}

.news-list {
	border-top: 1px solid var(--color-line);
}

.news-item a {
	position: relative;
	display: grid;
	grid-template-columns: 108px 104px 1fr 32px;
	align-items: center;
	gap: 1.4rem;
	padding: 1.55rem 0;
	border-bottom: 1px solid var(--color-line);
	color: var(--color-text);
	text-decoration: none;
}

.news-item a:hover h3 {
	color: var(--color-primary);
}

.news-item time {
	color: var(--color-muted);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.news-item__category {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 28px;
	padding: 0.3rem 0.75rem;
	border-radius: 999px;
	background: rgba(28, 103, 88, 0.1);
	color: var(--color-primary);
	font-size: 15px;
	font-weight: 700;
}

.news-item h3 {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 0.96rem;
	transition: color 0.2s;
}

.news-item__arrow {
	color: var(--color-primary);
	font-size: 1.2rem;
	text-align: right;
}

.empty-message {
	padding: 2rem;
	border: 1px dashed var(--color-line);
	border-radius: var(--radius-sm);
	text-align: center;
}

.home-about {
	position: relative;
	background: #f2f5f0;
}

.home-about__grid {
	display: grid;
	grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(3rem, 9vw, 8rem);
}

.home-about__visual {
	position: relative;
	display: grid;
	min-height: 540px;
	border-radius: 52% 52% 32px 32px;
	background: #d9e9e3;
	place-items: center;
}

.home-about__visual::before,
.home-about__visual::after {
	position: absolute;
	border-radius: 50%;
	content: "";
}

.home-about__visual::before {
	top: 10%;
	left: 12%;
	width: 76px;
	height: 76px;
	background: var(--color-secondary);
}

.home-about__visual::after {
	right: 8%;
	bottom: 13%;
	width: 44px;
	height: 44px;
	border: 8px solid #fff;
}

.book-illustration {
	position: relative;
	width: 280px;
	height: 220px;
}

.book {
	position: absolute;
	bottom: 20px;
	width: 52%;
	height: 145px;
	background: #fff;
	border: 5px solid var(--color-primary);
}

.book::after {
	position: absolute;
	inset: 26px 25px auto;
	height: 4px;
	background: rgba(28, 103, 88, 0.22);
	box-shadow: 0 19px 0 rgba(28, 103, 88, 0.22), 0 38px 0 rgba(28, 103, 88, 0.22);
	content: "";
}

.book--left {
	left: 0;
	border-radius: 16px 4px 4px 26px;
	transform: skewY(6deg);
}

.book--right {
	right: 0;
	border-radius: 4px 16px 26px 4px;
	transform: skewY(-6deg);
}

.book__sprout {
	position: absolute;
top: 6px;
	left: calc(50% - 5px);
	width: 10px;
	height: 78px;
	border-radius: 10px;
	background: var(--color-primary);
}

.book__sprout::before,
.book__sprout::after {
	position: absolute;
	top: -5px;
	width: 60px;
	height: 34px;
	background: var(--color-primary);
	content: "";
}

.book__sprout::before {
	right: 5px;
	border-radius: 100% 0 100% 0;
	transform: rotate(15deg);
}

.book__sprout::after {
	left: 5px;
	border-radius: 0 100% 0 100%;
	transform: rotate(-15deg);
}

.home-about__content > p:not(.eyebrow) {
	margin-bottom: 2.4rem;
}

.feature-list {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.feature-list li {
	display: grid;
	grid-template-columns: 48px 1fr;
	gap: 1rem;
	padding: 1.15rem 0;
	border-top: 1px solid var(--color-line);
}

.feature-list li:last-child {
	border-bottom: 1px solid var(--color-line);
}

.feature-list > li > span {
	color: var(--color-secondary);
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.12em;
}

.feature-list strong {
	display: block;
	margin-bottom: 0.3rem;
	color: var(--color-ink);
	font-family: var(--font-serif);
	font-size: 1.08rem;
}

.feature-list p {
	margin: 0;
	color: var(--color-muted);
	font-size: 15px;
	line-height: 1.65;
}

.front-page-content {
	background: #fff;
}

.home-cta {
	background: #fff;
}

.home-cta__inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 3rem;
	overflow: hidden;
	padding: clamp(2.5rem, 6vw, 5.2rem);
	border-radius: var(--radius-lg);
	background: var(--color-primary);
	color: rgba(255, 255, 255, 0.82);
}

.home-cta__inner::before {
	position: absolute;
	top: -130px;
	right: -90px;
	width: 360px;
	height: 360px;
	border: 72px solid rgba(255, 255, 255, 0.07);
	border-radius: 50%;
	content: "";
}

.home-cta__inner > * {
	position: relative;
	z-index: 1;
}

.home-cta h2 {
	margin-bottom: 0.5rem;
	color: #fff;
}

.home-cta p {
	margin-bottom: 0;
}

.home-cta .eyebrow {
	color: #a9d4c9;
}

/* Pages and posts */
.page-hero {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 370px;
	padding: 72px 24px;
	overflow: hidden;
	background: linear-gradient(115deg, #f7fbfd, #f8f8f5);
}

.page-hero__title {
	position: relative;
	z-index: 1;
	display: flow-root;
	width: min(100%, 1100px);
	text-align: center;
}

.page-hero > .lower-hero-decorations {
	position: absolute;
	inset: 0;
}

.page-hero > :not(.lower-hero-decorations) {
	position: relative;
	z-index: 1;
}

.page-hero h1 {
	margin: 0;
	color: #222;
	font-family: var(--font-title);
	font-size: 40px;
	font-weight: 800;
	letter-spacing: 0.06em;
	line-height: 1.4;
}

@media (max-width: 767px) {
	.page-hero {
		min-height: 310px;
		padding: 64px 20px;
	}

	.page-hero__title {
		width: min(100%, 340px);
	}

	.page-hero h1 {
		font-size: 28px;
		line-height: 1.45;
	}
}

.page-thumbnail {
	overflow: hidden;
	margin-top: -38px;
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-card);
}

.page-thumbnail img {
	width: 100%;
	max-height: 580px;
	object-fit: cover;
}

.page-entry > .entry-content {
	padding-block: clamp(64px, 9vw, 112px);
}

.entry-content {
	color: var(--color-text);
}

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

.entry-content > *:last-child {
	margin-bottom: 0;
}

.entry-content h2 {
	margin-top: 2.3em;
	padding-bottom: 0.45em;
	border-bottom: 2px solid var(--color-primary);
	font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.entry-content h3 {
	margin-top: 2em;
	padding-left: 0.75em;
	border-left: 4px solid var(--color-secondary);
}

.entry-content a {
	word-break: break-word;
}

.entry-content .policies-button-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 16px;
	width: min(1180px, calc(100vw - 48px));
	max-width: none;
	margin-inline: 50%;
	margin-top: 40px;
	transform: translateX(-50%);
}

.entry-content .policies-button-list > .wp-block-button {
	flex: 0 1 auto;
	min-width: 0;
	width: max-content;
	max-width: none;
	margin-block-start: 0;
	/* WordPressのconstrainedレイアウトが子要素へ付けるauto余白を解除 */
	margin-inline: 0 !important;
}

.entry-content .policies-button-list .wp-block-button__link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 58px;
	padding: 10px 20px;
	border: 0;
	border-radius: 29px;
	background-color: #1088d0;
	color: #fff;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.entry-content .policies-button-list .wp-block-button__link:hover,
.entry-content .policies-button-list .wp-block-button__link:focus-visible {
	background-color: #0c70ad;
	color: #fff;
}

.entry-content .alignwide {
	width: min(100vw - 48px, 1080px);
	max-width: none;
	margin-right: calc((100% - min(100vw - 48px, 1080px)) / 2);
	margin-left: calc((100% - min(100vw - 48px, 1080px)) / 2);
}

.entry-content .alignfull {
	width: 100vw;
	max-width: none;
	margin-left: calc(50% - 50vw);
}

/* Keep full-aligned PDF viewers centered with comfortable viewport gutters. */
.entry-content .wp-block-file.alignfull {
	width: 90vw;
	margin-left: calc(50% - 45vw);
}

.page-header {
	margin-bottom: clamp(2.3rem, 5vw, 4.5rem);
	padding-bottom: 1.7rem;
	border-bottom: 1px solid var(--color-line);
}

.page-header .page-title {
	margin: 0;
	font-size: clamp(2.2rem, 4.5vw, 3.8rem);
}

.archive-description {
	max-width: 700px;
	margin-top: 1rem;
}

.archive-description p {
	margin: 0;
}

.content-with-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 290px;
	gap: clamp(3rem, 7vw, 6.5rem);
}

.no-sidebar .content-with-sidebar {
	display: block;
	max-width: 900px;
}

.post-list {
	display: grid;
	gap: 2rem;
}

.post-card {
	display: grid;
	grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
	overflow: hidden;
	border-radius: var(--radius-md);
	background: #fff;
	box-shadow: 0 10px 38px rgba(24, 48, 44, 0.07);
}

.post-card__thumbnail {
	min-height: 260px;
	overflow: hidden;
}

.post-card__thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease;
}

.post-card:hover .post-card__thumbnail img {
	transform: scale(1.035);
}

.post-card__body {
	padding: clamp(1.6rem, 3.5vw, 2.5rem);
}

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 0.75rem;
	color: var(--color-muted);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.06em;
}

.entry-meta .updated:not(.published) {
	display: none;
}

.post-card .entry-title {
	margin-bottom: 0.8rem;
	font-size: 1.45rem;
}

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

.entry-title a:hover {
	color: var(--color-primary);
}

.entry-summary p {
	margin-bottom: 1rem;
	font-size: 15px;
}

.single-entry .entry-header {
	margin-bottom: 2.3rem;
}

.single-entry .entry-title {
	font-size: clamp(2rem, 4.5vw, 3.5rem);
}

.entry-categories a,
.entry-tags a {
	display: inline-block;
	padding: 0.25rem 0.65rem;
	border-radius: 999px;
	background: rgba(28, 103, 88, 0.08);
	font-size: 15px;
	text-decoration: none;
}

.entry-thumbnail {
	overflow: hidden;
	margin-bottom: 3rem;
	border-radius: var(--radius-md);
}

.entry-thumbnail img {
	width: 100%;
}

.single-entry .entry-content {
	padding: 2.5rem;
	border-radius: var(--radius-sm);
	background: #fff;
}

.entry-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin-top: 2rem;
}

.search-result {
	padding: 1.8rem 0;
	border-bottom: 1px solid var(--color-line);
}

.search-result:first-child {
	border-top: 1px solid var(--color-line);
}

.search-result .entry-title {
	margin-bottom: 0.55rem;
}

.navigation.pagination {
	margin-top: 3.5rem;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
}

.page-numbers {
	display: grid;
	min-width: 42px;
	height: 42px;
	padding: 0 0.6rem;
	border-radius: 50%;
	background: #fff;
	color: var(--color-ink);
	text-decoration: none;
	place-items: center;
}

.page-numbers.current,
.page-numbers:hover {
	background: var(--color-primary);
	color: #fff;
}

.post-navigation {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--color-line);
}

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

.post-navigation .nav-next {
	text-align: right;
}

.post-navigation a {
	display: flex;
	flex-direction: column;
	color: var(--color-ink);
	text-decoration: none;
}

.nav-subtitle {
	color: var(--color-muted);
	font-size: 15px;
}

.nav-title {
	font-weight: 700;
}

.widget-area {
	min-width: 0;
}

.widget {
	margin-bottom: 2rem;
	padding: 1.5rem;
	border-radius: var(--radius-sm);
	background: #fff;
}

.widget-title {
	margin-bottom: 1rem;
	padding-bottom: 0.65rem;
	border-bottom: 2px solid var(--color-primary);
	font-family: var(--font-sans);
	font-size: 1.05rem;
}

.widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.widget li {
	padding: 0.52rem 0;
	border-bottom: 1px solid var(--color-line);
	font-size: 15px;
}

.widget li:last-child {
	border: 0;
}

.widget a {
	text-decoration: none;
}

.search-form {
	display: flex;
	align-items: stretch;
	gap: 0.5rem;
}

.search-form label {
	flex: 1;
}

.search-field {
	height: 48px;
}

.search-submit {
	min-width: 76px;
	padding: 0.5rem 1rem;
	border: 0;
	border-radius: 6px;
	background: var(--color-primary);
	color: #fff;
	font-weight: 700;
}

.search-submit:hover {
	background: var(--color-primary-dark);
}

.error-404 {
	text-align: center;
}

.error-404__number {
	margin: 0;
	color: rgba(28, 103, 88, 0.12);
	font-family: var(--font-serif);
	font-size: clamp(8rem, 22vw, 15rem);
	font-weight: 700;
	letter-spacing: -0.08em;
	line-height: 0.75;
}

.error-404 .search-form {
	max-width: 520px;
	margin: 2rem auto;
}

.no-results {
	padding: 2.5rem;
	border-radius: var(--radius-md);
	background: #fff;
}

/* Comments */
.comments-area {
	margin-top: 4rem;
	padding-top: 2.5rem;
	border-top: 1px solid var(--color-line);
}

.comments-title,
.comment-reply-title {
	font-size: 1.5rem;
}

.comment-list {
	margin: 0 0 3rem;
	padding: 0;
	list-style: none;
}

.comment-list .children {
	margin-left: 2rem;
	list-style: none;
}

.comment-body {
	margin-bottom: 1rem;
	padding: 1.5rem;
	border-radius: var(--radius-sm);
	background: #fff;
}

.comment-meta {
	margin-bottom: 1rem;
	font-size: 15px;
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 0.7rem;
}

.comment-author img {
	border-radius: 50%;
}

.comment-form label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 700;
}

.form-submit .submit {
	min-height: 50px;
	padding: 0.75rem 1.5rem;
	border: 0;
	border-radius: 999px;
	background: var(--color-primary);
	color: #fff;
	font-weight: 700;
}

/* Footer */
.site-footer {
	background: var(--color-ink);
	color: rgba(255, 255, 255, 0.65);
}

.footer-widgets {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 2rem;
	padding-top: 4rem;
}

.footer-widget-title {
	color: #fff;
	font-family: var(--font-sans);
	font-size: 1rem;
}

.footer-widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-widget a {
	color: rgba(255, 255, 255, 0.72);
}

.site-footer__main {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 3rem;
	padding-block: clamp(3.5rem, 7vw, 6rem);
}

.footer-title {
	color: #fff;
	font-family: var(--font-serif);
	font-size: 1.45rem;
	font-weight: 700;
	text-decoration: none;
}

.footer-title:hover {
	color: #fff;
	opacity: 0.8;
}

.footer-brand p {
	margin: 0.5rem 0 0;
	font-size: 15px;
}

.footer-navigation ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem 2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-navigation a {
	color: rgba(255, 255, 255, 0.78);
	font-size: 15px;
	text-decoration: none;
}

.footer-navigation a:hover {
	color: #fff;
}

.site-info {
	padding-block: 1.2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 15px;
}

/* WordPress utilities */
.wp-caption,
.gallery-caption {
	max-width: 100%;
	color: var(--color-muted);
	font-size: 15px;
}

.bypostauthor {
	display: block;
}

.sticky {
	position: relative;
}

.sticky::before {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	padding: 0.35rem 0.8rem;
	background: var(--color-secondary);
	color: var(--color-ink);
	content: "PICK UP";
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.12em;
}

.alignleft {
	float: left;
	margin: 0 1.5rem 1rem 0;
}

.alignright {
	float: right;
	margin: 0 0 1rem 1.5rem;
}

.aligncenter {
	display: block;
	margin-right: auto;
	margin-left: auto;
}

.clear::before,
.clear::after,
.entry-content::before,
.entry-content::after {
	display: table;
	content: "";
}

.clear::after,
.entry-content::after {
	clear: both;
}

@media (max-width: 980px) {
	:root {
		--header-height: 74px;
	}

	.site-description {
		display: none;
	}

	.menu-toggle {
		display: block;
	}

	.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}

	.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(2) {
		opacity: 0;
	}

	.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}

	.main-navigation {
		position: fixed;
		top: var(--header-height);
		right: 0;
		bottom: 0;
		left: 0;
		padding: 2rem 24px 4rem;
		overflow-y: auto;
		background: #fff;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-10px);
		transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
	}

	.main-navigation.is-open {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.main-navigation ul {
		display: block;
	}

	.main-navigation a {
		padding: 1rem 0;
		border-bottom: 1px solid var(--color-line);
		font-size: 1rem;
	}

	.main-navigation a::after {
		display: none;
	}

	.main-navigation .sub-menu {
		position: static;
		display: block;
		min-width: 0;
		padding: 0 0 0 1rem;
		background: transparent;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.hero {
		min-height: auto;
	}

	.hero__inner {
		grid-template-columns: 1fr 0.8fr;
		gap: 2.5rem;
	}

	.hero__visual {
		min-height: 430px;
	}

	.hero-card--small {
		left: -10px;
	}

	.home-about__grid {
		grid-template-columns: 0.8fr 1fr;
		gap: 3.2rem;
	}

	.home-about__visual {
		min-height: 460px;
	}

	.book-illustration {
		transform: scale(0.78);
	}

	.content-with-sidebar {
		grid-template-columns: minmax(0, 1fr) 240px;
		gap: 2.5rem;
	}

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

	.post-card__thumbnail {
		max-height: 320px;
	}
}

@media (max-width: 760px) {
	body {
		font-size: 15px;
	}

	.container {
		width: min(calc(100% - 32px), var(--container));
	}

	.entry-content .policies-button-list {
		gap: 16px;
		width: 100%;
		margin-inline: 0;
		transform: none;
	}

	.entry-content .policies-button-list > .wp-block-button {
		width: 100%;
	}

	.section {
		padding-block: 68px;
	}

	.custom-logo {
		max-width: 210px;
		max-height: 48px;
	}

	.site-title {
		font-size: 1rem;
	}

	.site-title__mark {
		width: 38px;
		height: 38px;
	}

	.hero__inner {
		grid-template-columns: 1fr;
		padding-top: 62px;
		padding-bottom: 50px;
	}

	.hero h1 {
		font-size: clamp(2.4rem, 12vw, 3.8rem);
	}

	.hero__visual {
		width: min(100%, 440px);
		min-height: 470px;
		margin-inline: auto;
	}

	.hero-card--small {
		left: 0;
	}

	.section-heading {
		align-items: flex-start;
	}

	.news-item a {
		grid-template-columns: 92px 1fr 24px;
		gap: 0.6rem 1rem;
	}

	.news-item__category {
		justify-self: start;
	}

	.news-item h3 {
		grid-column: 1 / 3;
	}

	.news-item__arrow {
		grid-row: 1 / 3;
		grid-column: 3;
	}

	.home-about__grid {
		grid-template-columns: 1fr;
	}

	.home-about__visual {
		min-height: 430px;
	}

	.home-cta__inner,
	.site-footer__main {
		flex-direction: column;
		align-items: flex-start;
	}

	.content-with-sidebar {
		grid-template-columns: 1fr;
	}

	.widget-area {
		padding-top: 2rem;
		border-top: 1px solid var(--color-line);
	}

	.single-entry .entry-content {
		padding: 1.5rem;
	}

	.post-navigation .nav-links {
		grid-template-columns: 1fr;
	}

	.post-navigation .nav-next {
		text-align: left;
	}

	.footer-navigation ul {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.hero__visual {
		min-height: 390px;
	}

	.hero-card--main {
		right: 0;
		width: 92%;
	}

	.hero-card--small {
		bottom: 0;
		width: 140px;
		height: 116px;
	}

	.section-heading {
		display: block;
	}

	.section-heading .text-link {
		margin-top: 1rem;
	}

	.home-about__visual {
		min-height: 360px;
	}

	.book-illustration {
		transform: scale(0.67);
	}

	.search-form {
		display: grid;
	}

	.search-submit {
		min-height: 46px;
	}

	.alignleft,
	.alignright {
		float: none;
		margin: 1rem auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		/* Accessibility preference must override every component animation. */
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
