:root {
	--ink: #1d2422;
	--muted: #6e7772;
	--paper: #f5f6f2;
	--card: #ffffff;
	--line: #dfe4de;
	--accent: #d75a49;
	--accent-dark: #ae3f32;
	--shadow: 0 18px 45px rgba(26, 39, 34, .10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	color: var(--ink);
	background: radial-gradient(circle at 8% 4%, rgba(216, 229, 213, .42), transparent 28rem), var(--paper);
	font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	line-height: 1.8;
}

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

.banner {
	width: min(1180px, calc(100% - 32px));
	margin: 24px auto 0;
}

header.banner-title {
	position: relative;
	isolation: isolate;
	min-height: 300px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-start;
	overflow: hidden;
	width: 100%;
	height: auto;
	padding: clamp(28px, 6vw, 58px);
	border-radius: 24px;
	background: #202422 url("../image/top.jpg") center center / cover no-repeat;
	color: #fff;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2.2rem, 6vw, 4.8rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -.045em;
	box-shadow: var(--shadow);
}

header.banner-title::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(7, 15, 13, .08) 15%, rgba(7, 15, 13, .76) 100%);
}

.eyebrow {
	margin: 0 0 10px;
	color: #f5c5ad;
	font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .2em;
	line-height: 1.4;
	text-transform: uppercase;
}

.brand { display: block; }
.brand > span { color: #f06c59; }

.tagline {
	margin: 16px 0 0;
	font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	font-size: clamp(.85rem, 1.8vw, 1rem);
	font-weight: 400;
	letter-spacing: .08em;
	line-height: 1.6;
	opacity: .9;
}

nav {
	display: flex;
	justify-content: center;
	gap: 8px;
	width: min(1180px, calc(100% - 32px));
	margin: 0 auto;
	padding: 18px 4px 14px;
}

nav a {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	margin: 0;
	padding: 0 15px;
	border: 1px solid transparent;
	border-radius: 999px;
	color: var(--muted);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-decoration: none;
	transition: color .2s ease, background .2s ease, border-color .2s ease;
}

nav a:hover,
nav a:focus-visible {
	border-color: var(--line);
	background: var(--card);
	color: var(--accent-dark);
	outline: none;
}

hr {
	width: min(1180px, calc(100% - 32px));
	margin: 0 auto;
	border: 0;
	border-top: 1px solid var(--line);
}

main {
	width: min(820px, calc(100% - 32px));
	margin: 28px auto 56px;
	padding: 0;
	overflow: visible;
}

article {
	margin: 0;
	padding: clamp(24px, 5vw, 48px);
	border: 1px solid rgba(217, 224, 216, .95);
	border-radius: 20px;
	background: var(--card);
	box-shadow: var(--shadow);
}

article h1,
article h2 {
	margin: 0 0 8px;
	color: var(--ink);
	font-size: clamp(1.65rem, 4vw, 2.35rem);
	font-weight: 800;
	letter-spacing: .02em;
	line-height: 1.35;
}

article h2::after {
	content: "";
	display: block;
	width: 42px;
	height: 4px;
	margin-top: 15px;
	border-radius: 999px;
	background: var(--accent);
}

.responsive {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	margin: 22px auto;
	border-radius: 12px;
	box-shadow: 0 8px 22px rgba(31, 45, 39, .10);
}

article > .responsive:first-of-type {
	margin-top: 26px;
}

article p {
	margin: 22px 0 0;
	font-size: 1rem;
	line-height: 2;
}

article p .responsive {
	margin-top: 24px;
	margin-bottom: 12px;
}

body > nav:last-child {
	margin-bottom: 22px;
}

@media (max-width: 600px) {
	.banner, nav, hr, main { width: calc(100% - 22px); }
	.banner { margin-top: 12px; }
	header.banner-title { min-height: 270px; border-radius: 18px; padding: 28px 24px; }
	nav { justify-content: flex-start; flex-wrap: wrap; padding-top: 14px; }
	main { margin-top: 20px; }
	article { padding: 24px 18px; border-radius: 16px; }
	article p { font-size: .95rem; line-height: 1.9; }
}
