/* ==========================================================================
   Nワークス テーマ
   配色：本文は濃紺、背景は白。強調色（青）は見出しの一部とボタンに限定。
   ========================================================================== */

:root {
	--c-ink: #0f203c;        /* 見出し・濃い文字（ファビコンの濃紺） */
	--c-text: #2c3747;       /* 本文 */
	--c-sub: #5c6777;        /* 補足 */
	--c-line: #dce1e7;       /* 罫線 */
	--c-bg: #ffffff;
	--c-bg-sub: #f3f4f1;     /* わずかに温かみのある灰 */
	--c-accent: #0a54be;     /* 強調色（ファビコンの青） */
	--c-accent-dark: #08419a;
	--c-error: #b3261e;
	--c-success: #1f6e43;

	--ff-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium", "YuGothic", Meiryo, sans-serif;
	--ff-head: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;

	--container: 1120px;
	--side: clamp(20px, 5vw, 40px);
	--header-h: 72px;
	--section-y: clamp(80px, 11vw, 140px);
	--radius: 6px;
}

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

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

body {
	margin: 0;
	font-family: var(--ff-base);
	font-size: 16px;
	line-height: 1.9;
	letter-spacing: 0.04em;
	color: var(--c-text);
	background: var(--c-bg);
	-webkit-font-smoothing: antialiased;
	overflow-wrap: anywhere;
	line-break: strict;
}

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

a {
	color: var(--c-accent);
}

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

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

h1, h2, h3, h4 {
	margin: 0;
	font-family: var(--ff-head);
	font-weight: 700;
	color: var(--c-ink);
	line-height: 1.45;
	letter-spacing: 0.03em;
	font-feature-settings: "palt";
}

p {
	margin: 0;
}

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

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

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

.skip-link:focus {
	top: 12px;
	color: #fff;
}

.u-pc {
	display: none;
}

@media (min-width: 900px) {
	.u-pc {
		display: inline;
	}
}

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

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

.section {
	padding-block: var(--section-y);
}

/* ---------- Buttons / Links ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 56px;
	padding: 0 32px;
	border: 1px solid transparent;
	border-radius: var(--radius);
	font-family: var(--ff-base);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.4;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn--primary {
	background: var(--c-accent);
	color: #fff;
}

.btn--primary::after {
	content: "";
	width: 14px;
	height: 1px;
	background: currentColor;
	box-shadow: none;
	transition: transform 0.2s;
}

.btn--primary:hover {
	background: var(--c-accent-dark);
	color: #fff;
}

.btn--primary:hover::after {
	transform: translateX(4px);
}

.btn--sm {
	min-height: 44px;
	padding: 0 22px;
	font-size: 14px;
}

.btn--block {
	width: 100%;
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--c-ink);
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	border-bottom: 1px solid var(--c-ink);
	padding-bottom: 2px;
}

.text-link::after {
	content: "→";
	font-weight: 400;
	transition: transform 0.2s;
}

.text-link:hover {
	color: var(--c-accent);
	border-color: var(--c-accent);
}

.text-link:hover::after {
	transform: translateX(3px);
}

/* ---------- Section heading ---------- */
.sec-head {
	max-width: 720px;
	margin-bottom: clamp(40px, 6vw, 64px);
}

.sec-head__label {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: var(--c-accent);
}

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

.sec-head__title {
	font-size: clamp(26px, 3.4vw, 38px);
	line-height: 1.5;
}

.sec-head__lead {
	margin-top: 22px;
	color: var(--c-sub);
	font-size: 15px;
}

/* ---------- 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.25s;
}

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

.admin-bar .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
	max-width: calc(1280px + var(--side) * 2);
	margin-inline: auto;
	padding-inline: var(--side);
}

.site-logo,
.custom-logo-link {
	position: relative;
	z-index: 120;
}

.site-logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--c-ink);
	text-decoration: none;
}

.site-logo:hover {
	color: var(--c-ink);
}

/* ロゴマーク（ファビコンと同じ形の SVG） */
.logo-mark {
	display: block;
	flex-shrink: 0;
	width: 36px;
	height: 36px;
}

.logo-mark__bg {
	fill: var(--c-ink);
}

.logo-mark__n {
	fill: #fff;
}

.logo-mark__gap {
	fill: var(--c-bg); /* 背景色で切り欠きを表現 */
}

.logo-mark__dot {
	fill: var(--c-accent);
}

.site-logo__text {
	font-family: var(--ff-head);
	font-size: 21px;
	font-weight: 700;
	letter-spacing: 0.08em;
}

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

/* Nav (mobile first) */
.nav-toggle {
	position: relative;
	z-index: 120;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 8px 4px;
	background: none;
	border: 0;
	color: var(--c-ink);
	cursor: pointer;
}

.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
	display: block;
	width: 26px;
	height: 2px;
	background: currentColor;
	transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle__bar {
	position: relative;
	margin-top: 6px;
}

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

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

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

.nav-toggle__label {
	margin-top: 4px;
	font-size: 10px;
	letter-spacing: 0.1em;
	line-height: 1;
}

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

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

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

.global-nav {
	position: fixed;
	inset: 0;
	z-index: 110;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 40px;
	padding: calc(var(--header-h) + 24px) var(--side) 48px;
	background: #fff;
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.25s, visibility 0.25s;
}

.global-nav.is-open {
	visibility: visible;
	opacity: 1;
}

.global-nav__list li + li {
	border-top: 1px solid var(--c-line);
}

.global-nav__list a {
	display: block;
	padding: 18px 0;
	color: var(--c-ink);
	font-family: var(--ff-head);
	font-size: 20px;
	font-weight: 700;
	text-decoration: none;
}

.global-nav__cta {
	align-self: flex-start;
}

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

@media (min-width: 960px) {
	.nav-toggle {
		display: none;
	}

	.global-nav {
		position: static;
		flex-direction: row;
		align-items: center;
		gap: 36px;
		padding: 0;
		background: none;
		visibility: visible;
		opacity: 1;
	}

	.global-nav__list {
		display: flex;
		gap: 32px;
	}

	.global-nav__list li + li {
		border: 0;
	}

	.global-nav__list a {
		padding: 6px 0;
		font-family: var(--ff-base);
		font-size: 14px;
		font-weight: 500;
		letter-spacing: 0.06em;
		background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
		transition: background-size 0.25s;
	}

	.global-nav__list a:hover {
		color: var(--c-ink);
		background-size: 100% 1px;
	}

	.global-nav__cta {
		align-self: auto;
	}
}

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

.hero__inner {
	display: grid;
	gap: 40px;
	padding-top: 48px;
}

.hero__body {
	padding-inline: var(--side);
}

.hero__label {
	display: inline-block;
	margin-bottom: 24px;
	padding: 4px 12px;
	border: 1px solid var(--c-ink);
	color: var(--c-ink);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.6;
}

.hero__title {
	font-size: clamp(30px, 4.4vw, 56px);
	line-height: 1.38;
	letter-spacing: 0.02em;
}

.hero__title-line {
	display: inline-block;
}

.hero__title-sub {
	display: block;
	margin-top: 10px;
	color: var(--c-accent);
	font-size: 0.58em;
	letter-spacing: 0.06em;
}

.hero__text {
	max-width: 520px;
	margin-top: 28px;
	font-size: 15px;
	line-height: 2;
}

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

.hero__visual {
	position: relative;
	margin-left: var(--side);
	aspect-ratio: 4 / 3;
	overflow: hidden;
	clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
	background: var(--c-bg-sub);
}

.hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero__keywords {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px 20px;
	max-width: calc(var(--container) + var(--side) * 2);
	margin: 0 auto;
	padding: 28px var(--side) 0;
}

.hero__keywords-label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: var(--c-sub);
}

.hero__keywords-list {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 0;
	color: var(--c-ink);
	font-size: 14px;
	font-weight: 500;
}

.hero__keywords-list li:not(:last-child)::after {
	content: "/";
	margin: 0 12px;
	color: var(--c-line);
}

@media (min-width: 900px) {
	.hero__inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 46%);
		align-items: center;
		gap: 48px;
		min-height: min(calc(100svh - var(--header-h) - 80px), 720px);
		padding-top: 24px;
	}

	.hero__body {
		padding-left: max(var(--side), calc((100vw - var(--container)) / 2));
		padding-right: 0;
	}

	.hero__visual {
		align-self: stretch;
		margin-left: 0;
		aspect-ratio: auto;
		min-height: 520px;
		clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
	}

	.hero__keywords {
		margin-top: -4px;
		padding-top: 32px;
	}
}

/* ---------- Image placeholder ---------- */
.img-placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	min-height: 240px;
	background: #e7e9ec;
	color: var(--c-sub);
	text-align: center;
}

.img-placeholder__note {
	padding: 16px;
	font-size: 12px;
	line-height: 1.8;
}

/* ---------- Service ---------- */
.service__grid {
	display: grid;
	gap: 48px;
}

.service-main {
	border: 1px solid var(--c-line);
	border-radius: var(--radius);
	overflow: hidden;
	background: #fff;
}

.service-main__visual {
	aspect-ratio: 3 / 2;
	background: var(--c-bg-sub);
}

.service-main__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.service-main__body {
	padding: clamp(24px, 4vw, 40px);
}

.service-main__num {
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin-bottom: 12px;
	color: var(--c-sub);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
}

.service-main__num span {
	color: var(--c-accent);
	font-family: var(--ff-head);
	font-size: 22px;
	letter-spacing: 0.04em;
}

.service-main__title {
	font-size: clamp(22px, 2.6vw, 28px);
}

.service-main__text {
	margin-top: 16px;
	font-size: 15px;
}

.tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 24px;
}

.tag-list li {
	padding: 4px 12px;
	background: var(--c-bg-sub);
	color: var(--c-ink);
	font-size: 13px;
	line-height: 1.7;
	border-radius: 3px;
}

.service-list {
	border-top: 1px solid var(--c-ink);
}

.service-item {
	display: grid;
	grid-template-columns: 48px 1fr;
	gap: 12px;
	padding: 28px 0;
	border-bottom: 1px solid var(--c-line);
}

.service-item__num {
	color: var(--c-accent);
	font-family: var(--ff-head);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.6;
}

.service-item__title {
	font-size: 19px;
}

.service-item__text {
	margin-top: 10px;
	color: var(--c-text);
	font-size: 14px;
	line-height: 1.95;
}

@media (min-width: 900px) {
	.service__grid {
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
		align-items: start;
		gap: 56px;
	}

	.service-item {
		padding: 32px 0;
	}
}

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

.about__intro {
	display: grid;
	gap: 40px;
}

.about__body .sec-head {
	margin-bottom: 32px;
}

.about__text p + p {
	margin-top: 1.4em;
}

.about__text {
	max-width: 560px;
	font-size: 15px;
	line-height: 2.05;
}

.about__visual {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--radius);
	background: #e7e9ec;
}

.about__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (min-width: 900px) {
	.about__intro {
		grid-template-columns: minmax(0, 1fr) 400px;
		align-items: end;
		gap: 80px;
	}

	.about__visual {
		aspect-ratio: 4 / 5;
	}
}

.policy {
	margin-top: clamp(64px, 9vw, 112px);
}

.policy__heading {
	margin-bottom: 8px;
	font-size: 20px;
}

.policy-item {
	display: grid;
	grid-template-columns: 40px 1fr;
	column-gap: 16px;
	padding: 28px 0;
	border-bottom: 1px solid #d5d9d3;
}

.policy-item:first-child {
	border-top: 1px solid var(--c-ink);
	margin-top: 16px;
}

.policy-item__num {
	grid-row: span 2;
	color: var(--c-accent);
	font-family: var(--ff-head);
	font-size: 26px;
	font-weight: 700;
	line-height: 1.2;
}

.policy-item__title {
	font-size: 19px;
}

.policy-item__text {
	margin-top: 8px;
	font-size: 14px;
	line-height: 1.95;
}

@media (min-width: 900px) {
	.policy-item {
		grid-template-columns: 64px minmax(0, 320px) minmax(0, 1fr);
		column-gap: 32px;
		align-items: baseline;
		padding: 36px 0;
	}

	.policy-item__num {
		grid-row: auto;
		font-size: 32px;
	}

	.policy-item__text {
		margin-top: 0;
		font-size: 15px;
	}
}

/* ---------- Flow ---------- */
.flow__list {
	counter-reset: flow;
	position: relative;
}

.flow-step {
	position: relative;
	padding: 0 0 36px 32px;
	border-left: 1px solid var(--c-line);
}

.flow-step:last-child {
	padding-bottom: 0;
	border-left-color: transparent;
}

.flow-step::before {
	content: "";
	position: absolute;
	top: 6px;
	left: -6px;
	width: 11px;
	height: 11px;
	background: #fff;
	border: 2px solid var(--c-accent);
	border-radius: 50%;
}

.flow-step__num {
	display: block;
	color: var(--c-accent);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	line-height: 1.8;
}

.flow-step__title {
	margin-top: 4px;
	font-size: 18px;
}

.flow-step__text {
	margin-top: 8px;
	font-size: 14px;
	line-height: 1.9;
}

@media (min-width: 960px) {
	.flow__list {
		display: grid;
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: 28px;
	}

	.flow-step,
	.flow-step:last-child {
		padding: 28px 0 0;
		border-left: 0;
		border-top: 1px solid var(--c-line);
	}

	.flow-step::before {
		top: -6px;
		left: 0;
	}

	.flow-step__title {
		font-size: 17px;
	}
}

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

.faq__inner {
	padding-top: var(--section-y);
	border-top: 1px solid var(--c-line);
	display: grid;
	gap: 8px;
}

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

.faq-item {
	border-bottom: 1px solid var(--c-line);
}

.faq-item__q {
	position: relative;
	display: grid;
	grid-template-columns: 32px 1fr 20px;
	gap: 12px;
	align-items: baseline;
	padding: 24px 0;
	cursor: pointer;
	list-style: none;
	color: var(--c-ink);
	font-weight: 700;
	font-size: 16px;
	line-height: 1.7;
}

.faq-item__q::-webkit-details-marker {
	display: none;
}

.faq-item__q::after {
	content: "+";
	justify-self: end;
	color: var(--c-ink);
	font-size: 22px;
	font-weight: 400;
	line-height: 1;
	transition: transform 0.2s;
}

.faq-item[open] .faq-item__q::after {
	transform: rotate(45deg);
}

.faq-item__q:hover .faq-item__q-text {
	color: var(--c-accent);
}

.faq-item__mark {
	color: var(--c-accent);
	font-family: var(--ff-head);
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
}

.faq-item__mark--a {
	color: var(--c-sub);
}

.faq-item__a {
	display: grid;
	grid-template-columns: 32px 1fr 20px;
	gap: 12px;
	align-items: baseline;
	padding: 0 0 28px;
	font-size: 15px;
}

@media (min-width: 900px) {
	.faq__inner {
		grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
		gap: 80px;
		align-items: start;
	}

	.faq__head .sec-head__title {
		font-size: clamp(24px, 2.4vw, 32px);
	}

	.faq__head {
		position: sticky;
		top: calc(var(--header-h) + 40px);
		margin-bottom: 0;
	}
}

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

.contact__inner {
	display: grid;
	gap: 48px;
}

.contact__info .sec-head {
	margin-bottom: 28px;
}

.contact__text {
	max-width: 440px;
	font-size: 15px;
}

.contact__detail {
	margin: 36px 0 0;
	border-top: 1px solid var(--c-ink);
}

.contact__detail-row {
	display: grid;
	grid-template-columns: 96px 1fr;
	gap: 16px;
	padding: 16px 0;
	border-bottom: 1px solid #d5d9d3;
}

.contact__detail dt {
	color: var(--c-sub);
	font-size: 13px;
	font-weight: 700;
}

.contact__detail dd {
	margin: 0;
	color: var(--c-ink);
	font-size: 15px;
}

.contact__tel {
	color: var(--c-ink);
	font-family: var(--ff-head);
	font-size: 24px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-decoration: none;
	line-height: 1.4;
}

.contact__form-wrap {
	padding: clamp(24px, 4vw, 48px);
	background: #fff;
	border-radius: var(--radius);
}

@media (min-width: 900px) {
	.contact__inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 600px);
		gap: 72px;
		align-items: start;
	}
}

/* Form */
.form-row {
	margin-bottom: 24px;
}

.form-row--half {
	display: grid;
	gap: 24px;
}

@media (min-width: 640px) {
	.form-row--half {
		grid-template-columns: 1fr 1fr;
		gap: 20px;
	}
}

.form-label {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
	color: var(--c-ink);
	font-size: 14px;
	font-weight: 700;
}

.form-req,
.form-opt {
	padding: 1px 7px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.7;
	border-radius: 2px;
}

.form-req {
	background: var(--c-ink);
	color: #fff;
}

.form-opt {
	background: var(--c-bg-sub);
	color: var(--c-sub);
}

.form-input {
	display: block;
	width: 100%;
	min-height: 52px;
	padding: 12px 14px;
	border: 1px solid #c7cdd5;
	border-radius: 4px;
	background: #fff;
	color: var(--c-ink);
	font-family: var(--ff-base);
	font-size: 16px;
	line-height: 1.6;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
	outline: none;
	border-color: var(--c-accent);
	box-shadow: 0 0 0 3px rgba(10, 84, 190, 0.15);
}

.form-input::placeholder {
	color: #9aa3ae;
}

.form-select {
	appearance: none;
	padding-right: 40px;
	background-image: linear-gradient(45deg, transparent 50%, var(--c-ink) 50%), linear-gradient(135deg, var(--c-ink) 50%, transparent 50%);
	background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
	background-size: 5px 5px;
	background-repeat: no-repeat;
}

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

.form-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	cursor: pointer;
}

.form-check input {
	width: 18px;
	height: 18px;
	margin: 5px 0 0;
	accent-color: var(--c-accent);
	flex-shrink: 0;
}

.form-note {
	margin-bottom: 24px;
	color: var(--c-sub);
	font-size: 13px;
}

.form-notice {
	margin-bottom: 28px;
	padding: 14px 18px;
	border-left: 3px solid;
	font-size: 14px;
	font-weight: 500;
}

.form-notice--success {
	border-color: var(--c-success);
	background: #edf6f0;
	color: var(--c-success);
}

.form-notice--error {
	border-color: var(--c-error);
	background: #fbeeed;
	color: var(--c-error);
}

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

.site-footer a {
	color: rgba(255, 255, 255, 0.82);
	text-decoration: none;
}

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

.site-footer__inner,
.site-footer__bottom {
	max-width: calc(var(--container) + var(--side) * 2);
	margin-inline: auto;
	padding-inline: var(--side);
}

.site-footer__inner {
	display: grid;
	gap: 36px;
	padding-block: 64px 48px;
}

.site-logo--footer,
.site-logo--footer:hover {
	color: #fff;
}

/* フッター（濃紺背景）では白黒を反転 */
.site-logo--footer .logo-mark__bg {
	fill: #fff;
}

.site-logo--footer .logo-mark__n,
.site-logo--footer .logo-mark__gap {
	fill: var(--c-ink);
}

.site-logo--footer .logo-mark__dot {
	fill: #3d7be0; /* 濃紺の上でも見分けやすい明るさに */
}

.site-footer__catch {
	margin-top: 12px;
	font-size: 13px;
	letter-spacing: 0.1em;
}

.footer-nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 28px;
	font-size: 14px;
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	padding-block: 20px 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	font-size: 12px;
}

.site-footer__copy {
	font-size: 12px;
	letter-spacing: 0.08em;
}

@media (min-width: 900px) {
	.site-footer__inner {
		grid-template-columns: auto 1fr;
		align-items: start;
	}

	.footer-nav ul {
		justify-content: flex-end;
	}
}

/* ---------- Generic pages ---------- */
.page-main {
	padding: calc(var(--header-h) + 64px) 0 var(--section-y);
}

.entry + .entry {
	margin-top: 48px;
	padding-top: 48px;
	border-top: 1px solid var(--c-line);
}

.entry__head {
	margin-bottom: 32px;
}

.entry__title {
	font-size: clamp(26px, 3.4vw, 36px);
}

.entry__title--list {
	font-size: 22px;
}

.entry__title a {
	color: inherit;
	text-decoration: none;
}

.entry__date {
	display: block;
	margin-top: 8px;
	color: var(--c-sub);
	font-size: 13px;
}

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

.entry__content h2 {
	margin-top: 2.4em;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--c-line);
	font-size: 24px;
}

.entry__content h3 {
	margin-top: 2em;
	font-size: 20px;
}

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

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

/* ---------- Reveal on scroll（JS 有効時のみ） ---------- */
.js [data-reveal] {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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

	.js [data-reveal] {
		opacity: 1;
		transform: none;
		transition: none;
	}

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