/* =========================================================
   MOKUSUI — main stylesheet
   ========================================================= */
:root {
	--ink: #111111;
	--ink-2: #4a4a4a;
	--paper: #ffffff;
	--paper-2: #f4f2ee;
	--sand: #d4a468;
	--line: rgba(17, 17, 17, .14);
	--line-light: rgba(255, 255, 255, .2);
	--en: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
	--serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
	--gutter: clamp(20px, 4vw, 56px);
	--header-h: 76px;
	--ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--jp);
	font-size: 15px;
	line-height: 1.9;
	letter-spacing: .04em;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.container { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 860px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; gap: 14px;
	padding: 16px 28px;
	font-family: var(--jp); font-size: 14px; font-weight: 500; letter-spacing: .08em;
	border: 1px solid var(--ink); border-radius: 999px;
	background: transparent; color: var(--ink); cursor: pointer;
	transition: background .3s, color .3s;
}
.btn i { font-style: normal; font-family: var(--en); transition: transform .3s var(--ease); }
.btn:hover i { transform: translateX(4px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #fff; color: var(--ink); }
.btn--sm { padding: 10px 20px; font-size: 13px; }

/* ---------- Header ---------- */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 50;
	height: var(--header-h);
	display: flex; align-items: center; justify-content: space-between;
	padding: 0 var(--gutter);
	transition: background .3s, box-shadow .3s;
}
.site-header.is-scrolled { background: rgba(255,255,255,.92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.site-logo img { width: 150px; }
.site-nav { display: flex; align-items: center; gap: 40px; }
.nav-list { display: flex; gap: 32px; }
.nav-list a {
	font-family: var(--en); font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
	position: relative;
}
.nav-list a::after {
	content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: currentColor;
	transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav-list a:hover::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; }

/* ---------- Section common ---------- */
.section { padding: clamp(96px, 14vw, 180px) 0; }
.sec-head { margin-bottom: clamp(48px, 7vw, 96px); }
.sec-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.sec-label {
	font-family: var(--en); font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
	color: var(--ink-2);
}
.sec-label span { color: var(--ink); font-weight: 800; }
.sec-label--light, .sec-label--light span { color: #fff; }
.sec-note { font-size: 14px; color: var(--ink-2); text-align: right; line-height: 1.8; }
.eyebrow { font-family: var(--en); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	min-height: 100vh; min-height: 100svh;
	display: flex; flex-direction: column;
	padding-top: calc(var(--header-h) + 4vh);
	overflow: hidden;
	background: #fff;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; animation: heroZoom 2.4s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.08); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.hero-body {
	position: relative; z-index: 2; flex: 1;
	display: flex; flex-direction: column;
	padding: 0 var(--gutter) clamp(28px, 4vw, 48px);
}
.hero-copy {
	margin-top: 2.4vh;
	font-family: var(--serif); font-weight: 700;
	font-size: clamp(44px, 8.4vw, 132px);
	line-height: 1.12; letter-spacing: .02em;
}
.hero-copy .line { display: block; overflow: hidden; }
.hero-copy .line > span { display: inline-block; animation: lineUp 1.2s var(--ease) both; }
.hero-copy .line:nth-child(2) > span { animation-delay: .12s; }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: translateY(0); } }
.hero-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.hero-lead {
	font-size: 14px; font-weight: 500; line-height: 2;
	background: #fff; padding: 14px 20px; border-radius: 4px;
}
.scroll-cue {
	display: flex; flex-direction: column; align-items: center; gap: 10px;
	font-family: var(--en); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
	color: #fff; mix-blend-mode: difference;
}
.scroll-cue::after { content: ""; width: 1px; height: 56px; background: currentColor; animation: cue 2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.hero-mark {
	position: absolute; z-index: 1; left: 0; right: 0; bottom: -0.17em;
	font-family: var(--en); font-weight: 800; text-align: center;
	font-size: 22.5vw; line-height: 1; letter-spacing: -.02em;
	color: rgba(255,255,255,.55);
	pointer-events: none; user-select: none;
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 6vw, 120px); align-items: start; }
.about-title {
	font-family: var(--serif); font-weight: 700;
	font-size: clamp(30px, 3.8vw, 54px); line-height: 1.45; letter-spacing: .03em;
}
.about-text p { font-size: 16px; line-height: 2.2; }
.about-text p + p { margin-top: 1.4em; }
.about-text strong { font-family: var(--en); font-weight: 800; letter-spacing: .06em; }

/* ---------- Features ---------- */
.features { background: var(--paper-2); }
.feature-list { border-top: 1px solid var(--ink); }
.feature {
	display: grid; grid-template-columns: 80px minmax(240px, 1fr) 1.4fr;
	gap: clamp(20px, 4vw, 64px); align-items: start;
	padding: clamp(36px, 5vw, 64px) 0;
	border-bottom: 1px solid var(--line);
	transition: background .4s;
}
.feature-no { font-family: var(--en); font-size: 14px; font-weight: 800; letter-spacing: .1em; padding-top: 10px; }
.feature-kanji .kanji {
	display: block;
	font-family: var(--serif); font-weight: 700;
	font-size: clamp(56px, 7vw, 104px); line-height: 1; letter-spacing: .06em;
}
.feature-kanji .ruby {
	display: block; margin-top: 14px;
	font-family: var(--en); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2);
}
.feature-body h3 { font-size: clamp(18px, 1.8vw, 22px); font-weight: 700; letter-spacing: .06em; margin: 8px 0 16px; }
.feature-body p { color: var(--ink-2); line-height: 2.1; }

/* ---------- Material ---------- */
.material { display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); color: #fff; }
.material-media { position: relative; overflow: hidden; min-height: 520px; }
.material-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.material-body { padding: clamp(64px, 9vw, 140px) clamp(24px, 6vw, 96px); display: flex; flex-direction: column; justify-content: center; }
.material-num {
	font-family: var(--en); font-weight: 800; font-size: clamp(96px, 13vw, 200px); line-height: .9; letter-spacing: -.03em;
	margin-top: 40px; color: var(--sand);
}
.material-num small { font-size: .4em; letter-spacing: 0; margin-left: .05em; }
.material-title { font-family: var(--serif); font-weight: 700; font-size: clamp(26px, 3vw, 40px); line-height: 1.5; margin-top: 28px; }
.material-text { margin-top: 24px; color: rgba(255,255,255,.75); line-height: 2.1; max-width: 520px; }
.spec { margin-top: 48px; border-top: 1px solid var(--line-light); max-width: 520px; }
.spec div { display: grid; grid-template-columns: 120px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line-light); font-size: 14px; }
.spec dt { font-family: var(--en); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); padding-top: 2px; }

/* ---------- Recommend ---------- */
.recommend-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.recommend-list li { padding: 40px 32px 48px 0; display: flex; flex-direction: column; gap: 10px; }
.recommend-list li + li { padding-left: 32px; border-left: 1px solid var(--line); }
.rec-no { font-family: var(--en); font-weight: 800; font-size: 56px; line-height: 1; letter-spacing: -.02em; }
.rec-en { font-family: var(--en); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 18px; }
.recommend-list p { font-size: 16px; font-weight: 500; line-height: 2; }

/* ---------- Contact ---------- */
.contact { border-top: 1px solid var(--ink); padding-bottom: clamp(96px, 12vw, 160px); }
.marquee { display: block; overflow: hidden; border-bottom: 1px solid var(--ink); padding: clamp(20px, 3vw, 40px) 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee:hover .marquee-track { animation-duration: 14s; }
.marquee span {
	font-family: var(--en); font-weight: 800; text-transform: uppercase;
	font-size: clamp(56px, 10vw, 160px); line-height: 1; letter-spacing: -.02em; white-space: nowrap;
	padding: 0 .3em;
}
.marquee .dot { font-size: clamp(20px, 3vw, 44px); align-self: center; color: var(--sand); }
@keyframes marquee { to { transform: translateX(-50%); } }

.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 7vw, 120px); padding-top: clamp(72px, 9vw, 120px); }
.contact-title { font-family: var(--serif); font-weight: 700; font-size: clamp(30px, 3.6vw, 52px); line-height: 1.45; margin: 28px 0 28px; }
.contact-intro > p:not(.sec-label) { color: var(--ink-2); line-height: 2.1; }
.contact-tel { margin-top: 28px; font-family: var(--en); font-size: 22px; font-weight: 800; color: var(--ink) !important; }

.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.field { display: flex; flex-direction: column; gap: 4px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field > span, .field legend { font-size: 13px; font-weight: 500; letter-spacing: .08em; padding: 0; line-height: 1.6; }
.field legend { margin-bottom: 14px; }
.field em { font-style: normal; font-size: 11px; color: #fff; background: var(--ink); padding: 1px 8px; border-radius: 99px; margin-left: 6px; }
.field input, .field textarea {
	width: 100%; font: inherit; font-size: 16px; color: var(--ink);
	padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent;
	transition: border-color .3s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field textarea { resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 8px 18px; border: 1px solid var(--line); border-radius: 99px; font-size: 13px; cursor: pointer; transition: all .25s; }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.form-submit { margin-top: 12px; }
.hp { position: absolute; left: -9999px; }
.form-notice { padding: 16px 20px; margin-bottom: 28px; font-size: 14px; border: 1px solid var(--ink); }
.form-notice.is-ok { background: var(--paper-2); }
.form-notice.is-error { border-color: #b3261e; color: #b3261e; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #fff; padding: clamp(64px, 8vw, 104px) var(--gutter) 32px; }
.footer-inner { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; max-width: 1360px; margin: 0 auto; }
.footer-brand img { width: min(360px, 70vw); }
.footer-brand p { margin-top: 24px; color: rgba(255,255,255,.6); font-size: 13px; }
.footer-info { font-size: 13px; color: rgba(255,255,255,.75); }
.footer-company { color: #fff; font-weight: 700; font-size: 15px; }
.footer-nav { display: flex; gap: 24px; margin-top: 24px; }
.footer-nav a { font-family: var(--en); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.footer-bottom {
	display: flex; justify-content: space-between; max-width: 1360px; margin: 64px auto 0; padding-top: 24px;
	border-top: 1px solid var(--line-light);
	font-family: var(--en); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55);
}

/* ---------- Sub pages ---------- */
.page-main { padding: calc(var(--header-h) + clamp(64px, 8vw, 120px)) 0 clamp(96px, 12vw, 160px); }
.page-head { margin-bottom: 56px; padding-bottom: 32px; border-bottom: 1px solid var(--ink); }
.page-title { font-family: var(--serif); font-weight: 700; font-size: clamp(28px, 4vw, 48px); line-height: 1.4; margin-top: 16px; }
.entry-thumb { margin-bottom: 48px; }
.entry-content { font-size: 16px; line-height: 2.1; }
.entry-content > * + * { margin-top: 1.5em; }
.entry-content h2 { font-size: 24px; padding-top: 1em; }
.entry-content h3 { font-size: 19px; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul { list-style: disc; padding-left: 1.4em; }
.entry-content ol { list-style: decimal; padding-left: 1.4em; }
.post-list { border-top: 1px solid var(--line); }
.post-list a { display: grid; grid-template-columns: 120px 1fr auto; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); transition: padding .3s var(--ease); }
.post-list a:hover { padding-left: 12px; }
.post-list time { font-family: var(--en); color: var(--ink-2); }
.pagination { margin-top: 48px; font-family: var(--en); }
.pagination .page-numbers { display: inline-block; padding: 4px 12px; }
.pagination .current { border-bottom: 2px solid var(--ink); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
	.about-grid, .contact-grid, .material { grid-template-columns: 1fr; }
	.material-media { min-height: 0; aspect-ratio: 4 / 3; }
	.feature { grid-template-columns: 1fr; gap: 16px; }
	.feature-no { padding-top: 0; }
	.recommend-list { grid-template-columns: 1fr; }
	.recommend-list li, .recommend-list li + li { padding: 32px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 820px) {
	:root { --header-h: 64px; }
	.site-logo img { width: 120px; }
	.menu-toggle {
		display: flex; flex-direction: column; justify-content: center; gap: 7px;
		width: 44px; height: 44px; padding: 0 10px; border: 0; background: transparent; cursor: pointer; z-index: 60;
	}
	.menu-toggle span { display: block; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease); }
	.menu-open .menu-toggle span:first-child { transform: translateY(4.25px) rotate(20deg); }
	.menu-open .menu-toggle span:last-child { transform: translateY(-4.25px) rotate(-20deg); }
	.site-nav {
		position: fixed; inset: 0; z-index: 55; background: #fff;
		flex-direction: column; justify-content: center; align-items: flex-start; gap: 48px;
		padding: 0 var(--gutter);
		opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
	}
	.menu-open .site-nav { opacity: 1; visibility: visible; }
	.nav-list { flex-direction: column; gap: 12px; }
	.nav-list a { font-size: 40px; font-weight: 800; letter-spacing: -.01em; }
	body.menu-open { overflow: hidden; }
	.hero-foot { flex-direction: column; align-items: flex-start; }
	.scroll-cue { display: none; }
	.contact-form { grid-template-columns: 1fr; }
	.sec-note { text-align: left; }
	.post-list a { grid-template-columns: 1fr auto; }
	.post-list time { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.reveal { opacity: 1; transform: none; }
	html { scroll-behavior: auto; }
}
