/* ==========================================================================
   Leplus — main stylesheet
   白地をベースに、強調色（深い緑）は見出しラベル・ボタン・番号だけに使う。
   見出しは明朝、本文はゴシック、数字と英字ラベルは Jost。
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
	--ink: #1a201d;
	--ink-2: #454d49;
	--ink-3: #666e6a;
	--line: #dddbd3;
	--line-strong: #c4c2b9;
	--bg: #fff;
	--bg-sub: #f4f3ef;
	--dark: #17201c;
	--on-dark: #f1f0eb;
	--on-dark-2: rgba(241, 240, 235, 0.72);
	--line-dark: rgba(241, 240, 235, 0.18);
	--error: #b42318;

	--accent: #1e5945;
	--accent-strong: color-mix(in srgb, var(--accent) 80%, #000);
	--accent-soft: color-mix(in srgb, var(--accent) 8%, #fff);
	--accent-on-dark: color-mix(in srgb, var(--accent) 40%, #fff);

	--font-sans: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	--font-serif: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
	--font-en: "Jost", var(--font-sans);

	--container: 1160px;
	--gutter: clamp(20px, 4vw, 40px);
	--header-h: 72px;
	--section-y: clamp(88px, 11vw, 144px);
	--radius: 3px;
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: var(--header-h);
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 1rem;
	line-height: 1.9;
	letter-spacing: 0.03em;
	font-feature-settings: "palt" 0;
	-webkit-font-smoothing: antialiased;
	overflow-wrap: anywhere;
	line-break: strict;
}

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

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

img {
	height: auto;
}

a {
	color: inherit;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
	margin: 0;
}

ul,
ol {
	padding: 0;
	list-style: none;
}

/* 見出しは文節単位で改行（対応ブラウザのみ） */
h1,
h2,
h3,
.about__title {
	word-break: auto-phrase;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
	letter-spacing: inherit;
}

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

.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;
}

.skip-link {
	position: absolute;
	top: -100px;
	left: 16px;
	z-index: 1000;
	padding: 10px 16px;
	background: var(--ink);
	color: #fff;
	text-decoration: none;
}

.skip-link:focus {
	top: 16px;
}

.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.container--narrow {
	max-width: calc(800px + var(--gutter) * 2);
}

/* ---------- Buttons & links ---------- */
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	min-height: 56px;
	padding: 14px 30px;
	border: 0;
	border-radius: var(--radius);
	background: var(--accent);
	color: #fff;
	font-size: 0.9375rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.4;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.25s var(--ease);
}

.button:hover {
	background: var(--accent-strong);
}

.button .arrow {
	width: 18px;
	height: 18px;
	flex: none;
	transition: transform 0.25s var(--ease);
}

.button:hover .arrow {
	transform: translateX(4px);
}

.button--small {
	min-height: 42px;
	padding: 8px 20px;
	font-size: 0.875rem;
}

.button--wide {
	width: 100%;
}

.text-link {
	color: var(--ink);
	font-size: 0.9375rem;
	font-weight: 500;
	text-decoration: underline;
	text-decoration-color: var(--line-strong);
	text-decoration-thickness: 1px;
	text-underline-offset: 7px;
	transition: color 0.2s, text-decoration-color 0.2s;
}

.text-link:hover {
	color: var(--accent);
	text-decoration-color: currentColor;
}

/* ---------- Logo ---------- */
.logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--ink);
	text-decoration: none;
}

.logo__mark {
	width: 30px;
	height: 30px;
	flex: none;
	fill: var(--accent);
}

/* Uploaded icon / Site Icon: same height as the built-in mark, width follows the image. */
.logo__mark--image {
	width: auto;
	max-width: 96px;
	height: 30px;
	object-fit: contain;
}

.logo__mark--site-icon {
	width: 30px;
	border-radius: 3px;
}

.logo__text {
	font-family: var(--font-en);
	font-size: 1.375rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	line-height: 1;
}

.custom-logo-link img {
	width: auto;
	max-height: 40px;
}

/* ---------- Header ---------- */
.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	height: var(--header-h);
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid transparent;
	transition: border-color 0.3s;
}

.site-header.is-scrolled {
	border-bottom-color: var(--line);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: 100%;
	padding-inline: var(--gutter);
}

.global-nav__list {
	display: flex;
	align-items: center;
	gap: clamp(18px, 2.2vw, 34px);
}

.global-nav__link {
	position: relative;
	display: block;
	padding-block: 8px;
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: none;
	transition: color 0.2s;
}

.global-nav__link::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 2px;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--ease);
}

.global-nav__link:hover,
.global-nav__link.is-current {
	color: var(--accent);
}

.global-nav__link:hover::after,
.global-nav__link.is-current::after {
	transform: scaleX(1);
}

.global-nav__cta {
	margin-left: 8px;
}

.menu-toggle {
	display: none;
}

@media (max-width: 1099px) {
	.menu-toggle {
		position: relative;
		z-index: 2;
		display: grid;
		place-items: center;
		width: 44px;
		height: 44px;
		margin-right: -10px;
		padding: 0;
		border: 0;
		background: none;
		cursor: pointer;
	}

	.menu-toggle__bar,
	.menu-toggle__bar::before,
	.menu-toggle__bar::after {
		display: block;
		width: 24px;
		height: 1.5px;
		background: var(--ink);
		transition: transform 0.3s var(--ease), background-color 0.3s;
	}

	.menu-toggle__bar {
		position: relative;
	}

	.menu-toggle__bar::before,
	.menu-toggle__bar::after {
		content: "";
		position: absolute;
		left: 0;
	}

	.menu-toggle__bar::before {
		top: -7px;
	}

	.menu-toggle__bar::after {
		top: 7px;
	}

	.menu-toggle[aria-expanded="true"] .menu-toggle__bar {
		background: transparent;
	}

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

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

	.global-nav {
		position: fixed;
		inset: var(--header-h) 0 0;
		overflow-y: auto;
		padding: 24px var(--gutter) 48px;
		background: var(--bg);
		border-top: 1px solid var(--line);
		visibility: hidden;
		opacity: 0;
		transition: opacity 0.3s var(--ease), visibility 0s linear 0.3s;
	}

	.global-nav.is-open {
		visibility: visible;
		opacity: 1;
		transition: opacity 0.3s var(--ease);
	}

	.global-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.global-nav__link {
		padding: 18px 0;
		border-bottom: 1px solid var(--line);
		font-size: 1rem;
	}

	.global-nav__link::after {
		display: none;
	}

	.global-nav__cta {
		margin: 32px 0 0;
	}

	.global-nav__cta .button {
		width: 100%;
		min-height: 56px;
		font-size: 0.9375rem;
	}
}

/* ---------- Section heading ---------- */
.section {
	padding-block: var(--section-y);
	scroll-margin-top: var(--header-h);
}

.section-head__label {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
	color: var(--accent);
	font-family: var(--font-en);
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	line-height: 1;
	text-transform: uppercase;
}

.section-head__label::before {
	content: "";
	width: 24px;
	height: 1px;
	background: currentColor;
}

.section-head__title {
	font-family: var(--font-serif);
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 600;
	letter-spacing: 0.06em;
	line-height: 1.5;
}

.section-intro {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	align-items: end;
	gap: 24px 64px;
	margin-bottom: clamp(48px, 6vw, 80px);
}

.section-intro__lead {
	max-width: 34em;
	color: var(--ink-2);
}

@media (max-width: 899px) {
	.section-intro {
		grid-template-columns: 1fr;
	}
}

/* ---------- Hero ---------- */
.hero {
	padding-top: var(--header-h);
}

.hero__inner {
	display: grid;
	min-height: min(calc(100svh - var(--header-h)), 900px);
}

.hero--has-image .hero__inner {
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.hero__body {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 64px;
	padding: clamp(56px, 8vw, 120px) clamp(32px, 5vw, 80px) 0 max(var(--gutter), calc((100vw - var(--container)) / 2));
}

.hero:not(.hero--has-image) .hero__body {
	padding-right: max(var(--gutter), calc((100vw - var(--container)) / 2));
}

.hero__label {
	margin-bottom: 28px;
	color: var(--accent);
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.12em;
}

.hero__title {
	font-family: var(--font-serif);
	font-size: clamp(2.125rem, 3.6vw, 3.5rem);
	font-weight: 600;
	letter-spacing: 0.06em;
	line-height: 1.45;
}

.hero__lead {
	max-width: 30em;
	margin-top: 32px;
	color: var(--ink-2);
	font-size: 1rem;
	line-height: 2.05;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px 32px;
	margin-top: 44px;
}

.hero__index {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	border-top: 1px solid var(--line);
}

.hero__index li + li {
	border-left: 1px solid var(--line);
}

.hero__index a {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 26px 24px 30px 0;
	text-decoration: none;
	transition: color 0.2s;
}

.hero__index li + li a {
	padding-left: 24px;
}

.hero__index-num {
	color: var(--accent);
	font-family: var(--font-en);
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.1em;
}

.hero__index-title {
	font-weight: 700;
	letter-spacing: 0.08em;
}

.hero__index .arrow {
	width: 18px;
	height: 18px;
	margin-left: auto;
	color: var(--ink-3);
	transition: transform 0.25s var(--ease), color 0.2s;
}

.hero__index a:hover {
	color: var(--accent);
}

.hero__index a:hover .arrow {
	color: var(--accent);
	transform: translateX(4px);
}

.hero__media {
	position: relative;
	min-height: 420px;
	background: var(--bg-sub);
}

.hero__media img,
.hero__media .media-placeholder {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (max-width: 899px) {
	.hero--has-image .hero__inner {
		grid-template-columns: 1fr;
	}

	.hero__inner {
		min-height: 0;
	}

	.hero__body {
		gap: 48px;
		padding: 48px var(--gutter) 0;
	}

	.hero:not(.hero--has-image) .hero__body {
		padding-right: var(--gutter);
	}

	.hero__media {
		min-height: 0;
		aspect-ratio: 4 / 3;
	}
}

@media (max-width: 559px) {
	.hero__index {
		grid-template-columns: 1fr;
	}

	.hero__index li + li {
		border-left: 0;
		border-top: 1px solid var(--line);
	}

	.hero__index a,
	.hero__index li + li a {
		padding: 20px 0;
	}

	.hero__actions .button {
		width: 100%;
	}
}

/* ---------- About ---------- */
.about {
	background: var(--bg-sub);
}

.about__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: 40px 72px;
}

.about__title {
	font-family: var(--font-serif);
	font-size: clamp(1.75rem, 3.2vw, 2.625rem);
	font-weight: 600;
	letter-spacing: 0.06em;
	line-height: 1.6;
}

.about__body {
	padding-top: 44px;
}

.prose p + p {
	margin-top: 1.6em;
}

.about__body p {
	color: var(--ink-2);
	line-height: 2.1;
}

@media (max-width: 899px) {
	.about__grid {
		grid-template-columns: 1fr;
	}

	.about__body {
		padding-top: 0;
	}
}

/* ---------- Business ---------- */
.business__list {
	display: grid;
	gap: clamp(80px, 10vw, 136px);
}

.biz {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	align-items: center;
	column-gap: clamp(24px, 4vw, 56px);
	scroll-margin-top: calc(var(--header-h) + 24px);
}

.biz__media {
	grid-column: 1 / 8;
	position: relative;
	aspect-ratio: 3 / 2;
	background: var(--bg-sub);
}

.biz__media img,
.biz__media .media-placeholder {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.biz__body {
	grid-column: 8 / 13;
}

.biz--reverse .biz__media {
	grid-column: 6 / 13;
	order: 2;
}

.biz--reverse .biz__body {
	grid-column: 1 / 6;
	order: 1;
}

.biz--no-image .biz__body {
	grid-column: 1 / 9;
}

.biz__meta {
	display: flex;
	align-items: baseline;
	gap: 16px;
	margin-bottom: 14px;
}

.biz__num {
	color: var(--accent);
	font-family: var(--font-en);
	font-size: 2.75rem;
	font-weight: 400;
	letter-spacing: 0.04em;
	line-height: 1;
}

.biz__label {
	color: var(--ink-3);
	font-family: var(--font-en);
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.biz__title {
	font-family: var(--font-serif);
	font-size: clamp(1.5rem, 2.4vw, 2rem);
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1.5;
}

.biz__text {
	margin-top: 20px;
	color: var(--ink-2);
}

.biz__list {
	margin-top: 32px;
	border-top: 1px solid var(--line);
}

.biz__list li {
	display: flex;
	align-items: baseline;
	gap: 14px;
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.7;
}

.biz__list li::before {
	content: "";
	flex: none;
	width: 10px;
	height: 1px;
	background: var(--accent);
	transform: translateY(-0.3em);
}

@media (max-width: 899px) {
	.biz,
	.biz--reverse {
		grid-template-columns: 1fr;
		row-gap: 32px;
	}

	.biz .biz__media,
	.biz .biz__body,
	.biz--reverse .biz__media,
	.biz--reverse .biz__body,
	.biz--no-image .biz__body {
		grid-column: 1 / -1;
		order: 0;
	}
}

/* ---------- Strength (dark band) ---------- */
.strength {
	background: var(--dark);
	color: var(--on-dark);
}

.strength .section-head__label {
	color: var(--accent-on-dark);
}

.strength .section-intro__lead {
	color: var(--on-dark-2);
}

.strength__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 clamp(32px, 5vw, 72px);
}

.strength__main {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: 20px clamp(32px, 5vw, 72px);
	padding: 44px 0 56px;
	border-top: 1px solid var(--line-dark);
}

.strength__main .strength__num {
	grid-column: 1 / -1;
}

.strength__num {
	display: block;
	color: var(--accent-on-dark);
	font-family: var(--font-en);
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.14em;
}

.strength__main-title {
	font-family: var(--font-serif);
	font-size: clamp(1.625rem, 2.8vw, 2.25rem);
	font-weight: 600;
	letter-spacing: 0.06em;
	line-height: 1.55;
}

.strength__main-text {
	color: var(--on-dark-2);
	line-height: 2.05;
}

.strength__sub {
	padding: 36px 0 8px;
	border-top: 1px solid var(--line-dark);
}

.strength__sub-title {
	margin-top: 14px;
	font-family: var(--font-serif);
	font-size: 1.3125rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	line-height: 1.6;
}

.strength__sub-text {
	margin-top: 14px;
	color: var(--on-dark-2);
	font-size: 0.9375rem;
}

@media (max-width: 899px) {
	.strength__list,
	.strength__main {
		grid-template-columns: 1fr;
	}

	.strength__sub + .strength__sub {
		margin-top: 32px;
	}
}

/* ---------- Flow ---------- */
.flow__list {
	display: grid;
	grid-template-columns: repeat(var(--flow-cols, 4), minmax(0, 1fr));
	gap: 40px clamp(20px, 3vw, 40px);
}

.flow__list--1 { --flow-cols: 1; }
.flow__list--2 { --flow-cols: 2; }
.flow__list--3 { --flow-cols: 3; }
.flow__list--5 { --flow-cols: 5; }

.flow__step {
	position: relative;
	padding-top: 28px;
	border-top: 1px solid var(--line);
}

.flow__step::before {
	content: "";
	position: absolute;
	top: -2px;
	left: 0;
	width: 40px;
	height: 3px;
	background: var(--accent);
}

.flow__num {
	display: block;
	color: var(--accent);
	font-family: var(--font-en);
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.14em;
}

.flow__title {
	margin-top: 12px;
	font-size: 1.125rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.6;
}

.flow__text {
	margin-top: 12px;
	color: var(--ink-2);
	font-size: 0.9375rem;
	line-height: 1.95;
}

.flow__note {
	margin-top: 48px;
	color: var(--ink-3);
	font-size: 0.8125rem;
}

@media (max-width: 1023px) {
	.flow__list {
		--flow-cols: 2;
	}
}

@media (max-width: 599px) {
	.flow__list {
		--flow-cols: 1;
		gap: 32px;
	}
}

/* ---------- FAQ ---------- */
.faq {
	padding-top: 0;
}

.faq__grid {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
	gap: 40px 72px;
	padding-top: var(--section-y);
	border-top: 1px solid var(--line);
}

.faq__head .section-head {
	position: sticky;
	top: calc(var(--header-h) + 40px);
}

.faq__list {
	border-top: 1px solid var(--ink);
}

.faq__item {
	border-bottom: 1px solid var(--line);
}

.faq__q {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	padding: 26px 0;
	font-weight: 700;
	line-height: 1.7;
	cursor: pointer;
	list-style: none;
}

.faq__q::-webkit-details-marker {
	display: none;
}

.faq__q:hover .faq__q-text {
	color: var(--accent);
}

.faq__q-text {
	flex: 1;
	transition: color 0.2s;
}

.faq__mark {
	flex: none;
	width: 1.2em;
	color: var(--accent);
	font-family: var(--font-en);
	font-size: 1.125rem;
	font-weight: 500;
	line-height: 1.5;
}

.faq__mark--a {
	color: var(--ink-3);
}

.faq__toggle {
	position: relative;
	flex: none;
	width: 14px;
	height: 14px;
	margin-top: 0.45em;
}

.faq__toggle::before,
.faq__toggle::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 1.5px;
	background: var(--ink);
	transition: transform 0.3s var(--ease);
}

.faq__toggle::after {
	transform: rotate(90deg);
}

.faq__item[open] .faq__toggle::after {
	transform: rotate(0deg);
}

.faq__a {
	display: flex;
	gap: 18px;
	padding: 0 32px 30px 0;
	color: var(--ink-2);
}

@media (max-width: 899px) {
	.faq__grid {
		grid-template-columns: 1fr;
	}

	.faq__head .section-head {
		position: static;
	}

	.faq__a {
		padding-right: 0;
	}
}

/* ---------- Contact ---------- */
.contact {
	background: var(--bg-sub);
}

.contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
	gap: 48px 72px;
	align-items: start;
}

.contact__lead {
	margin-top: 28px;
	color: var(--ink-2);
}

.contact__tel {
	margin-top: 40px;
	padding-top: 28px;
	border-top: 1px solid var(--line-strong);
}

.contact__tel-label {
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.contact__tel-number {
	display: inline-block;
	margin-top: 4px;
	font-family: var(--font-en);
	font-size: 2rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	line-height: 1.4;
	text-decoration: none;
}

.contact__hours {
	margin-top: 4px;
	color: var(--ink-3);
	font-size: 0.875rem;
}

.contact__panel {
	padding: clamp(28px, 5vw, 56px);
	background: var(--bg);
}

@media (max-width: 899px) {
	.contact__grid {
		grid-template-columns: 1fr;
	}

	.contact__panel {
		margin-inline: calc(var(--gutter) * -1);
		padding-inline: var(--gutter);
	}
}

/* ---------- Form ---------- */
.contact-form__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-row + .form-row {
	margin-top: 26px;
}

.form-row__label {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.5;
}

.badge {
	display: inline-block;
	padding: 3px 8px;
	border: 1px solid var(--accent);
	border-radius: 2px;
	background: var(--accent);
	color: #fff;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.3;
}

.badge--optional {
	border-color: var(--line-strong);
	background: transparent;
	color: var(--ink-3);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
	width: 100%;
	min-height: 54px;
	padding: 13px 16px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	background: var(--bg);
	font-size: 1rem;
	line-height: 1.6;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form textarea {
	min-height: 180px;
	resize: vertical;
}

.contact-form select {
	appearance: none;
	padding-right: 44px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23454d49' stroke-width='1.6'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E");
	background-position: right 16px center;
	background-repeat: no-repeat;
	background-size: 18px;
	cursor: pointer;
}

.contact-form ::placeholder {
	color: #8d938f;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
	border-color: var(--accent);
	outline: none;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
}

.has-error input,
.has-error select,
.has-error textarea {
	border-color: var(--error);
}

.form-row__error {
	margin-top: 8px;
	color: var(--error);
	font-size: 0.875rem;
	font-weight: 500;
}

.form-row--agree {
	margin-top: 32px;
	padding-top: 28px;
	border-top: 1px solid var(--line);
}

.checkbox {
	display: inline-flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 0.9375rem;
	cursor: pointer;
}

.checkbox input {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 0.25em 0 0;
	accent-color: var(--accent);
}

.checkbox a {
	color: var(--accent);
	text-underline-offset: 4px;
}

.contact-form__submit {
	margin-top: 32px;
}

.notice {
	margin-bottom: 32px;
	padding: 18px 22px;
	border-left: 3px solid var(--accent);
	background: var(--accent-soft);
	font-size: 0.9375rem;
}

.notice--error {
	border-left-color: var(--error);
	background: #fdf1f0;
	color: var(--error);
}

.notice:focus {
	outline: none;
}

/* ---------- Media placeholder (editors only) ---------- */
.media-placeholder {
	display: grid;
	place-items: center;
	min-height: 240px;
	padding: 24px;
	border: 1px dashed var(--line-strong);
	background: #ebe9e3;
	color: var(--ink-2);
	font-size: 0.8125rem;
	line-height: 1.8;
	text-align: center;
}

/* ---------- Footer ---------- */
.site-footer {
	padding-top: 72px;
	background: var(--dark);
	color: var(--on-dark-2);
	font-size: 0.875rem;
}

.site-footer .logo {
	color: var(--on-dark);
}

.site-footer__inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 40px 64px;
	padding-bottom: 56px;
}

.site-footer__tagline {
	margin-top: 16px;
}

.site-footer__license {
	margin-top: 8px;
	font-size: 0.8125rem;
}

.site-footer__nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 28px;
}

.site-footer__nav a {
	text-decoration: none;
	transition: color 0.2s;
}

.site-footer__nav a:hover {
	color: var(--on-dark);
}

.site-footer__sub {
	margin-top: 16px;
	font-size: 0.8125rem;
}

.site-footer__bottom {
	padding-block: 24px;
	border-top: 1px solid var(--line-dark);
	font-family: var(--font-en);
	letter-spacing: 0.08em;
}

.site-footer__bottom small {
	font-size: 0.75rem;
}

.page-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 90;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--bg);
	color: var(--ink);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, visibility 0s linear 0.3s, color 0.2s;
}

.page-top.is-visible {
	opacity: 1;
	visibility: visible;
	transition: opacity 0.3s, color 0.2s;
}

.page-top:hover {
	color: var(--accent);
}

.page-top svg {
	width: 20px;
	height: 20px;
}

/* ---------- Other pages (index.php) ---------- */
.page-main {
	padding: calc(var(--header-h) + 72px) 0 120px;
}

.page-header {
	margin-bottom: 48px;
	padding-bottom: 28px;
	border-bottom: 1px solid var(--line);
}

.page-title {
	font-family: var(--font-serif);
	font-size: clamp(1.75rem, 3vw, 2.375rem);
	font-weight: 600;
	letter-spacing: 0.06em;
	line-height: 1.5;
}

.entry-date {
	margin-bottom: 8px;
	color: var(--ink-3);
	font-family: var(--font-en);
	font-size: 0.875rem;
}

.entry-thumbnail {
	margin-bottom: 40px;
}

.entry-content > * + * {
	margin-top: 1.4em;
}

.entry-content h2 {
	margin-top: 2.4em;
	font-family: var(--font-serif);
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.6;
}

.entry-content h3 {
	margin-top: 2em;
	font-size: 1.1875rem;
	font-weight: 700;
	line-height: 1.6;
}

.entry-content ul {
	padding-left: 1.4em;
	list-style: disc;
}

.entry-content ol {
	padding-left: 1.4em;
	list-style: decimal;
}

.entry-content a {
	color: var(--accent);
	text-underline-offset: 4px;
}

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

.post-list__item a {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 28px;
	padding: 22px 0;
	border-bottom: 1px solid var(--line);
	text-decoration: none;
}

.post-list__item time {
	color: var(--ink-3);
	font-family: var(--font-en);
}

.post-list__item a:hover span {
	color: var(--accent);
}

/* ---------- Scroll reveal ---------- */
.js .js-reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.js .js-reveal.is-visible {
	opacity: 1;
	transform: none;
}

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

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
	}

	.js .js-reveal {
		opacity: 1;
		transform: none;
	}
}
