/* ==========================================================================
   Dental Japan Products — main stylesheet
   ========================================================================== */

:root {
	--navy: #10253f;
	--navy-deep: #0a1828;
	--navy-soft: #1b3b5f;
	--gold: #b8915a;
	--gold-lt: #d9b77e;
	--gold-ink: #8a6836;        /* gold that passes contrast on light grounds */
	--ink: #1a1f2b;
	--body: #3b4450;
	--muted: #6b7480;
	--line: #e4ded3;
	--paper: #f7f3ec;
	--white: #fff;
	--sans: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	--serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
	--latin: "Cormorant Garamond", "Noto Serif JP", serif;
	--wrap: 1180px;
	--ease: cubic-bezier(.2, .7, .3, 1);
	--head-h: 84px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	font-weight: 400;
	line-height: 2;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	font-feature-settings: "palt" 0;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.narrow { max-width: 860px; }
.center-text { text-align: center; }
.ico-svg { width: 1em; height: 1em; flex: 0 0 auto; }

.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 100;
	background: var(--navy); color: #fff; padding: 10px 16px; font-size: 14px;
}
.skip-link:focus { top: 12px; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

/* ---------- type ---------- */
.eyebrow {
	display: flex; align-items: center; gap: 14px;
	margin: 0 0 18px;
	font-family: var(--latin); font-size: 17px; font-weight: 600; font-style: italic;
	letter-spacing: .08em; line-height: 1.2; color: var(--gold-ink);
}
.eyebrow::after { content: ""; flex: 0 0 48px; height: 1px; background: currentColor; opacity: .55; }
.eyebrow.center, .center > .eyebrow { justify-content: center; }
.eyebrow.center::before, .center > .eyebrow::before { content: ""; flex: 0 0 48px; height: 1px; background: currentColor; opacity: .55; }
.navy .eyebrow, .band .eyebrow { color: var(--gold-lt); }

.sec-title {
	font-family: var(--serif); font-weight: 500;
	font-size: clamp(25px, 3.2vw, 38px); line-height: 1.6; letter-spacing: .06em;
	margin: 0 0 28px; color: var(--ink);
}
.navy .sec-title { color: #fff; }
.lead { font-size: 15.5px; line-height: 2.15; color: var(--body); }
.lead + .lead { margin-top: 1.1em; }
.sec-head { margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head.center { text-align: center; }
.split-head { display: grid; grid-template-columns: auto 1fr; gap: 24px clamp(32px, 6vw, 96px); align-items: end; }
.split-head .sec-title { margin-bottom: 0; }
.mini-title {
	font-family: var(--serif); font-size: 17px; letter-spacing: .1em; color: var(--navy);
	margin: 0 0 18px; padding-bottom: 10px; border-bottom: 1px solid var(--line);
}
.mini-title + * + .mini-title, .timeline + .mini-title { margin-top: 44px; }

/* ---------- buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	min-height: 54px; padding: 14px 32px;
	font-size: 14px; font-weight: 500; letter-spacing: .12em; line-height: 1.4;
	border: 1px solid transparent; border-radius: 0; cursor: pointer;
	transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn .ico-svg { width: 17px; height: 17px; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .ico-svg:last-child { transform: translateX(4px); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn-gold:hover { background: transparent; color: var(--gold-lt); border-color: var(--gold-lt); }
.btn-line-light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-line-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-soft); border-color: var(--navy-soft); }
.btn-navy-line { border-color: var(--navy); color: var(--navy); }
.btn-navy-line:hover { background: var(--navy); color: #fff; }
.btn-wide { width: 100%; }
.text-link {
	display: inline-flex; align-items: center; gap: 10px; margin-top: 22px;
	font-size: 14px; font-weight: 500; letter-spacing: .08em; color: var(--navy);
	border-bottom: 1px solid var(--gold); padding-bottom: 4px;
}
.text-link .ico-svg { width: 16px; height: 16px; color: var(--gold-ink); transition: transform .3s var(--ease); }
.text-link:hover .ico-svg { transform: translateX(4px); }

/* ---------- header ---------- */
.site-head {
	position: fixed; inset: 0 0 auto 0; z-index: 60;
	padding: 16px 0;
	transition: background-color .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
}
.site-head::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(to bottom, rgba(10, 24, 40, .6), rgba(10, 24, 40, 0));
	transition: opacity .35s var(--ease);
}
.site-head.is-solid, .site-head.is-open { background: rgba(16, 37, 63, .97); box-shadow: 0 2px 24px rgba(10, 24, 40, .2); padding: 8px 0; }
.site-head.is-solid::before, .site-head.is-open::before { opacity: 0; }
.admin-bar .site-head { top: 32px; }
.head-inner { position: relative; display: flex; align-items: center; gap: 20px; }

.brand { display: flex; align-items: center; gap: 13px; flex: 0 0 auto; color: #fff; }
.brand-seal {
	display: grid; place-items: center; width: 46px; height: 46px; flex: 0 0 auto;
	border: 1px solid var(--gold-lt); color: var(--gold-lt);
	font-family: var(--latin); font-size: 15px; font-weight: 600; letter-spacing: .06em;
}
.brand-txt { line-height: 1.35; }
.brand-txt b { display: block; font-family: var(--serif); font-size: 17px; font-weight: 500; letter-spacing: .1em; }
.brand-txt span { display: block; font-family: var(--latin); font-size: 11.5px; font-weight: 600; letter-spacing: .26em; color: var(--gold-lt); }
.brand-logo img { max-height: 52px; width: auto; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav-list { display: flex; align-items: center; gap: 22px; }
.nav-list a {
	position: relative; display: block; padding: 6px 0;
	color: #fff; font-size: 13.5px; letter-spacing: .06em; white-space: nowrap;
}
.nav-list a::after {
	content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
	background: var(--gold-lt); transition: width .3s var(--ease);
}
.nav-list a:hover::after, .nav-list .current-menu-item > a::after { width: 100%; }
.tel-btn {
	display: flex; align-items: center; gap: 10px; flex: 0 0 auto; white-space: nowrap;
	padding: 8px 16px; color: #fff;
	border: 1px solid rgba(217, 183, 126, .6);
	transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.tel-btn .ico-svg { width: 16px; height: 16px; color: var(--gold-lt); }
.tel-btn b { display: block; font-size: 15.5px; font-weight: 500; letter-spacing: .04em; line-height: 1.25; }
.tel-btn small { display: block; font-size: 9.5px; letter-spacing: .14em; color: var(--gold-lt); line-height: 1.5; }
.tel-btn:hover { background: var(--gold); border-color: var(--gold); }
.tel-btn:hover .ico-svg, .tel-btn:hover small { color: #fff; }

.burger { display: none; margin-left: auto; padding: 10px 6px; background: none; border: 0; cursor: pointer; }
.burger span { display: block; width: 26px; height: 1.5px; margin: 6px 0; background: #fff; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.is-open .burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.is-open .burger span:nth-child(2) { opacity: 0; }
.is-open .burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- front hero ---------- */
.hero {
	position: relative; display: flex; align-items: center;
	min-height: 100vh; min-height: 100svh;
	background: var(--navy-deep); color: #fff; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
.hero-bg::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(100deg, rgba(10, 24, 40, .94) 0%, rgba(10, 24, 40, .8) 42%, rgba(10, 24, 40, .42) 100%);
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-kanji {
	position: absolute; right: -1vw; bottom: -5vh; z-index: 1;
	font-family: var(--serif); font-weight: 600; line-height: .8;
	font-size: min(50vh, 42vw); color: rgba(217, 183, 126, .08);
	pointer-events: none; user-select: none;
}
.hero-inner { position: relative; z-index: 2; padding: calc(var(--head-h) + 60px) 0 150px; }
.hero-eyebrow {
	display: inline-flex; align-items: center; gap: 14px; margin-bottom: 26px;
	font-family: var(--serif); font-size: 14px; letter-spacing: .3em; color: var(--gold-lt);
}
.hero-eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--gold-lt); }
.hero-title {
	font-family: var(--serif); font-weight: 500; color: #fff;
	font-size: clamp(32px, 5.4vw, 64px); line-height: 1.5; letter-spacing: .08em;
	margin-bottom: 30px; text-shadow: 0 2px 30px rgba(0, 0, 0, .3);
}
.hero-title em { font-style: normal; color: var(--gold-lt); }
.hero-lead {
	max-width: 33em; margin-bottom: 42px;
	font-size: clamp(14px, 1.3vw, 16px); font-weight: 300; line-height: 2.2; color: rgba(255, 255, 255, .84);
}
.hero-meta {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
	border-top: 1px solid rgba(255, 255, 255, .14);
	background: rgba(10, 24, 40, .35);
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero-meta ul { display: grid; grid-template-columns: repeat(3, 1fr); }
.hero-meta li { padding: 20px 24px; border-left: 1px solid rgba(255, 255, 255, .14); }
.hero-meta li:first-child { border-left: 0; padding-left: 0; }
.hero-meta b { display: block; font-family: var(--latin); font-size: 17px; font-weight: 600; font-style: italic; letter-spacing: .06em; color: var(--gold-lt); line-height: 1.5; }
.hero-meta span { display: block; font-size: 12.5px; font-weight: 300; line-height: 1.7; color: rgba(255, 255, 255, .74); }

/* ---------- lower-page hero ---------- */
.page-hero {
	position: relative; display: flex; flex-direction: column; justify-content: flex-end;
	min-height: clamp(360px, 46vh, 480px);
	background: var(--navy-deep); color: #fff; overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-bg::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(100deg, rgba(10, 24, 40, .92) 0%, rgba(10, 24, 40, .74) 50%, rgba(10, 24, 40, .5) 100%);
}
.page-hero-inner { position: relative; z-index: 2; padding: calc(var(--head-h) + 48px) 24px 56px; }
.page-hero-en {
	font-family: var(--latin); font-size: clamp(18px, 2vw, 22px); font-weight: 600; font-style: italic;
	letter-spacing: .1em; color: var(--gold-lt); line-height: 1.3; margin-bottom: 10px;
}
.page-hero-title { font-family: var(--serif); font-size: clamp(28px, 4vw, 44px); letter-spacing: .12em; line-height: 1.5; }
.page-hero-lead { margin-top: 10px; font-family: var(--serif); font-size: 16px; letter-spacing: .2em; color: rgba(255, 255, 255, .8); }
.crumbs { position: relative; z-index: 2; border-top: 1px solid rgba(255, 255, 255, .14); background: rgba(10, 24, 40, .35); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; padding-block: 12px; font-size: 12px; letter-spacing: .06em; color: rgba(255, 255, 255, .62); }
.crumbs li + li::before { content: "/"; margin: 0 12px; color: rgba(255, 255, 255, .35); }
.crumbs a:hover { color: #fff; }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(76px, 9vw, 132px) 0; }
.paper { background: var(--paper); }
.navy { background: var(--navy); color: #fff; }

/* ---------- craft (front) ---------- */
.craft { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 40px 0 0; border-top: 1px solid var(--line); }
.stats > div { padding: 22px 16px 0 0; }
.stats > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.stats dt { font-size: 11.5px; letter-spacing: .08em; color: var(--muted); line-height: 1.6; }
.stats dd { margin: 6px 0 0; font-family: var(--latin); font-size: clamp(36px, 4vw, 48px); font-weight: 600; line-height: 1; color: var(--navy); }
.stats dd small { margin-left: 4px; font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .04em; color: var(--body); }
.craft-photos { position: relative; padding: 0 0 18% 14%; }
.cp-main { width: 82%; margin-left: auto; aspect-ratio: 470 / 517; object-fit: cover; box-shadow: 0 30px 60px -30px rgba(10, 24, 40, .45); }
.cp-sub {
	position: absolute; left: 0; bottom: 0; width: 46%;
	aspect-ratio: 1; object-fit: cover; border: 8px solid #fff;
	box-shadow: 0 24px 48px -24px rgba(10, 24, 40, .45);
}
.cp-caption {
	position: absolute; left: 2%; top: 0;
	writing-mode: vertical-rl; font-family: var(--latin); font-style: italic; font-weight: 600;
	font-size: 15px; letter-spacing: .3em; color: var(--gold-ink);
}

/* ---------- mission / vision / value ---------- */
.mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .14); }
.mvv-card { background: var(--navy); padding: clamp(32px, 3.8vw, 52px); transition: background-color .4s var(--ease); }
.mvv-card:hover { background: var(--navy-soft); }
.mvv-no { font-family: var(--latin); font-size: 15px; font-weight: 600; letter-spacing: .2em; color: var(--gold-lt); }
.mvv-card h3 {
	margin: 4px 0 22px; font-family: var(--latin); font-size: 40px; font-weight: 600; font-style: italic;
	letter-spacing: .04em; line-height: 1.2; color: #fff;
}
.mvv-card h3::after { content: ""; display: block; width: 34px; height: 1px; margin-top: 20px; background: var(--gold); }
.mvv-card p:last-child { font-size: 14.5px; font-weight: 300; line-height: 2.1; color: rgba(255, 255, 255, .8); }

/* ---------- product cards (front) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.2vw, 30px); }
.svc-card { display: flex; flex-direction: column; background: #fff; transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(10, 24, 40, .45); }
.svc-card figure { overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper); }
.svc-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.svc-card:hover img { transform: scale(1.06); }
.svc-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.svc-en { font-family: var(--latin); font-size: 15px; font-weight: 600; font-style: italic; letter-spacing: .08em; color: var(--gold-ink); line-height: 1.4; }
.svc-body h3 { margin: 4px 0 12px; font-family: var(--serif); font-size: 21px; letter-spacing: .08em; line-height: 1.6; color: var(--ink); }
.svc-body p:not(.svc-en) { font-size: 14px; line-height: 1.95; color: var(--body); }
.more { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; letter-spacing: .14em; color: var(--navy); font-weight: 500; }
.more .ico-svg { width: 15px; height: 15px; color: var(--gold-ink); transition: transform .35s var(--ease); }
.svc-card:hover .more .ico-svg { transform: translateX(5px); }

/* ---------- split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.split-img { position: relative; isolation: isolate; }
.split-img img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-img::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: 0; border: 1px solid var(--gold); }
.split-body > .btn, .split-body > .text-link { margin-top: 8px; }
.points { margin: 30px 0 36px; }
.points li { display: flex; align-items: flex-start; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.points li:last-child { border-bottom: 1px solid var(--line); }
.ico {
	display: grid; place-items: center; flex: 0 0 44px; height: 44px; margin-top: 2px;
	border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-ink);
}
.ico .ico-svg { width: 19px; height: 19px; }
.points b { display: block; font-family: var(--latin); font-size: 17px; font-weight: 600; font-style: italic; letter-spacing: .06em; color: var(--navy); line-height: 1.5; }
.points .desc { display: block; font-size: 14px; line-height: 1.9; color: var(--muted); }

/* ---------- message (front) ---------- */
.message { display: grid; grid-template-columns: .8fr 1fr; gap: clamp(36px, 7vw, 100px); align-items: center; }
.message-photo img { width: 100%; max-width: 440px; aspect-ratio: 537 / 600; object-fit: cover; box-shadow: 0 30px 60px -32px rgba(10, 24, 40, .5); }
.sign { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 22px; margin: 30px 0 34px; }
.sign p { font-size: 13.5px; letter-spacing: .1em; color: var(--body); }
.sign b { margin-left: 8px; font-family: var(--serif); font-size: 19px; font-weight: 500; color: var(--ink); }
.sign img { width: 180px; opacity: .85; }

/* ---------- CTA band ---------- */
.band { position: relative; padding: clamp(84px, 10vw, 140px) 0; background: var(--navy-deep); color: #fff; text-align: center; overflow: hidden; }
.band-bg { position: absolute; inset: 0; opacity: .22; }
.band-bg img { width: 100%; height: 100%; object-fit: cover; }
.band-inner { position: relative; z-index: 1; }
.band-en { font-family: var(--latin); font-size: clamp(30px, 4.4vw, 54px); font-weight: 600; font-style: italic; letter-spacing: .04em; line-height: 1.2; color: var(--gold-lt); }
.band-title { margin: 18px 0 16px; font-family: var(--serif); font-size: clamp(19px, 2.4vw, 27px); letter-spacing: .1em; line-height: 1.9; }
.band-lead { margin-bottom: 40px; font-size: 14.5px; font-weight: 300; color: rgba(255, 255, 255, .78); }

/* ---------- prose (editable page content) ---------- */
.entry { color: var(--body); font-size: 15.5px; line-height: 2.15; }
.entry > * + * { margin-top: 1.3em; }
.entry h2 {
	margin-top: 2.6em; padding-bottom: 12px; border-bottom: 1px solid var(--line);
	font-family: var(--serif); font-size: clamp(19px, 2vw, 22px); letter-spacing: .06em; line-height: 1.7; color: var(--ink);
}
.entry h3 { margin-top: 2em; font-family: var(--serif); font-size: 18px; letter-spacing: .06em; color: var(--navy); }
.entry ul, .entry ol { padding-left: 1.4em; }
.entry ul { list-style: disc; }
.entry ol { list-style: decimal; }
.entry a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.entry strong { color: var(--ink); font-weight: 600; }
.entry-doc > :first-child { margin-top: 0; }

/* ---------- greeting ---------- */
.greet { display: grid; grid-template-columns: .78fr 1fr; gap: clamp(36px, 7vw, 100px); align-items: start; }
.greet-photo { position: sticky; top: calc(var(--head-h) + 20px); }
.greet-photo img:first-child { width: 100%; aspect-ratio: 537 / 600; object-fit: cover; box-shadow: 0 30px 60px -32px rgba(10, 24, 40, .5); }
.greet-photo figcaption { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-top: 22px; }
.greet-photo figcaption span { font-size: 13px; letter-spacing: .1em; color: var(--muted); }
.greet-photo figcaption b { font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: .14em; }
.greet-photo figcaption img { width: 170px; margin-top: 6px; opacity: .85; }
.profile { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.timeline li { display: grid; grid-template-columns: 76px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.tl-year { font-family: var(--latin); font-size: 22px; font-weight: 600; color: var(--gold-ink); line-height: 1.5; }
.tl-text { font-size: 14.5px; line-height: 1.9; color: var(--body); padding-top: 2px; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { padding: 8px 16px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; line-height: 1.7; color: var(--body); }
.closing-inner { max-width: 820px; margin-inline: auto; text-align: center; }
.closing blockquote { margin: 0; font-family: var(--serif); font-size: clamp(15.5px, 1.7vw, 18px); line-height: 2.3; letter-spacing: .05em; color: rgba(255, 255, 255, .86); }
.closing blockquote p + p { margin-top: 1.2em; }
.closing-motto { margin-top: 40px; font-family: var(--serif); font-size: clamp(22px, 3vw, 32px); letter-spacing: .2em; color: var(--gold-lt); }

/* ---------- products ---------- */
.intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.statement { max-width: 900px; margin-inline: auto; text-align: center; }
.statement-title { font-family: var(--latin); font-size: clamp(34px, 5vw, 62px); font-weight: 600; font-style: italic; letter-spacing: .02em; line-height: 1.15; color: #fff; }
.statement-sub { margin: 22px 0 30px; font-family: var(--serif); font-size: clamp(16px, 1.8vw, 20px); letter-spacing: .1em; color: var(--gold-lt); line-height: 1.8; }
.statement-text { font-size: 15px; font-weight: 300; line-height: 2.2; color: rgba(255, 255, 255, .82); }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.feature + .feature { margin-top: clamp(64px, 8vw, 110px); }
.feature-rev .feature-img { order: 2; }
.feature-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feature-body .feature-no { font-family: var(--latin); font-size: 54px; font-weight: 600; line-height: 1; color: var(--gold); opacity: .7; }
.feature-body h3 { margin: 10px 0 20px; font-family: var(--serif); font-size: clamp(20px, 2.2vw, 25px); line-height: 1.65; letter-spacing: .06em; }
.feature-body p { font-size: 15px; line-height: 2.1; color: var(--body); }
.feature-body p + p { margin-top: 1em; }
.line { display: grid; grid-template-columns: .9fr 1.1fr; background: #fff; scroll-margin-top: calc(var(--head-h) + 20px); }
.line + .line { margin-top: clamp(24px, 3vw, 36px); }
.line-rev { grid-template-columns: 1.1fr .9fr; }
.line-rev .line-img { order: 2; }
.line-img { overflow: hidden; background: var(--paper); }
.line-img img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.line-body { padding: clamp(30px, 4vw, 56px); }
.line-en { font-family: var(--latin); font-size: 17px; font-weight: 600; font-style: italic; letter-spacing: .08em; color: var(--gold-ink); line-height: 1.4; }
.line-title { margin: 4px 0 16px; font-family: var(--serif); font-size: clamp(22px, 2.4vw, 28px); letter-spacing: .08em; line-height: 1.5; }
.line-body > p:not(.line-en):not(.line-label) { font-size: 14.5px; line-height: 2.05; color: var(--body); }
.line-label { margin: 26px 0 12px; font-size: 12px; font-weight: 500; letter-spacing: .2em; color: var(--muted); }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.checks li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.7; }
.checks .ico-svg { width: 18px; height: 18px; margin-top: 2px; color: var(--gold-ink); }

/* ---------- Mr.CAD ---------- */
.reasons { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 26px); }
.reasons li { position: relative; padding: clamp(30px, 3.6vw, 46px); background: #fff; overflow: hidden; }
.reason-no { position: absolute; right: 20px; top: 6px; font-family: var(--latin); font-size: 92px; font-weight: 600; line-height: 1; color: var(--gold); opacity: .16; }
.reason-sub { font-size: 13px; letter-spacing: .14em; color: var(--gold-ink); }
.reasons h3 { margin: 6px 0 16px; font-family: var(--serif); font-size: clamp(20px, 2.2vw, 25px); letter-spacing: .1em; line-height: 1.5; color: var(--navy); }
.reasons p:last-child { font-size: 14.5px; line-height: 2; color: var(--body); }
.cad-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.4vw, 32px); }
.cad-card { display: flex; flex-direction: column; border: 1px solid var(--line); }
.cad-card figure { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper); }
.cad-card figure img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.cad-body { padding: clamp(26px, 3vw, 40px); }
.cad-body > p:not(.line-en):not(.line-label) { font-size: 14.5px; line-height: 2; color: var(--body); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 4px 14px; border: 1px solid var(--gold); color: var(--gold-ink); font-size: 13px; letter-spacing: .04em; line-height: 1.8; }
.makers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 14px; }
.makers li { position: relative; padding-left: 14px; font-size: 13.5px; line-height: 1.8; color: var(--body); }
.makers li::before { content: ""; position: absolute; left: 0; top: .85em; width: 6px; height: 1px; background: var(--gold); }
.order { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(28px, 5vw, 70px); padding: clamp(36px, 5vw, 64px); background: #fff; border-top: 2px solid var(--gold); }
.steps li { position: relative; padding: 0 0 26px 64px; font-size: 14.5px; line-height: 2; color: var(--body); }
.steps li span { position: absolute; left: 0; top: -4px; font-family: var(--latin); font-size: 34px; font-weight: 600; line-height: 1; color: var(--gold); }
.steps li b { display: block; margin-bottom: 4px; font-family: var(--serif); font-size: 17px; font-weight: 500; letter-spacing: .06em; color: var(--ink); }
.order .btn-row { margin-top: 10px; }

/* ---------- about ---------- */
.promises { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .14); }
.promises li { display: flex; gap: 22px; align-items: baseline; padding: 26px 30px; background: var(--navy); }
.promises li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.promises span { font-family: var(--latin); font-size: 26px; font-weight: 600; color: var(--gold-lt); line-height: 1; flex: 0 0 auto; }
.promises p { font-size: 14.5px; line-height: 2; color: rgba(255, 255, 255, .85); }
.company { display: grid; grid-template-columns: .55fr 1.45fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.info-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--navy); }
.info-table th, .info-table td { padding: 20px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 14.5px; line-height: 1.95; }
.info-table th { width: 30%; font-weight: 500; color: var(--navy); letter-spacing: .08em; white-space: nowrap; }
.info-table td { color: var(--body); }
.info-table a { color: var(--navy); border-bottom: 1px solid var(--gold); }
.plain li + li { margin-top: 2px; }
.access { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.map { position: relative; min-height: 400px; background: var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
.access-body img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.access-addr { display: flex; gap: 12px; margin-top: 20px; font-size: 14.5px; line-height: 1.9; color: var(--body); }
.access-addr .ico-svg { width: 20px; height: 20px; margin-top: 4px; color: var(--gold-ink); }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-side { position: sticky; top: calc(var(--head-h) + 20px); }
.contact-side .entry { font-size: 14.5px; }
.tel-card { margin-top: 34px; padding: 28px 30px; background: var(--navy); color: #fff; }
.tel-card-label { font-size: 12.5px; letter-spacing: .16em; color: var(--gold-lt); }
.tel-card-num { display: inline-flex; align-items: center; gap: 12px; margin: 6px 0 10px; font-family: var(--latin); font-size: clamp(30px, 3.4vw, 38px); font-weight: 600; letter-spacing: .04em; line-height: 1.3; }
.tel-card-num .ico-svg { width: 24px; height: 24px; color: var(--gold-lt); }
.tel-card-hours { display: flex; gap: 10px; font-size: 13px; line-height: 1.8; color: rgba(255, 255, 255, .78); }
.tel-card-hours .ico-svg { width: 16px; height: 16px; margin-top: 4px; color: var(--gold-lt); }
.contact-main { padding: clamp(28px, 4vw, 52px); background: #fff; scroll-margin-top: calc(var(--head-h) + 20px); }
.form-title { margin-bottom: 24px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 20px; letter-spacing: .1em; }
.cform .field { margin-bottom: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.cform label { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 14px; font-weight: 500; letter-spacing: .04em; color: var(--ink); }
.req, .opt { padding: 1px 8px; font-size: 10.5px; font-weight: 500; letter-spacing: .08em; line-height: 1.8; }
.req { background: var(--gold-ink); color: #fff; }
.opt { background: var(--paper); color: var(--muted); }
.cform input[type="text"], .cform input[type="email"], .cform input[type="tel"], .cform select, .cform textarea {
	width: 100%; padding: 14px 16px;
	font: inherit; font-size: 16px; line-height: 1.6; color: var(--ink);
	background: var(--paper); border: 1px solid var(--line); border-radius: 0;
	transition: border-color .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease);
	-webkit-appearance: none; appearance: none;
}
.cform select {
	padding-right: 44px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a6836' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.cform textarea { resize: vertical; min-height: 200px; }
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: none; background: #fff; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184, 145, 90, .18); }
.cform .has-err input, .cform .has-err select, .cform .has-err textarea { border-color: #c0392b; background: #fdf3f2; }
.cform .check { display: flex; align-items: center; gap: 12px; font-weight: 400; cursor: pointer; }
.cform .check input { width: 20px; height: 20px; accent-color: var(--navy); flex: 0 0 auto; }
.cform .check a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.field-agree.has-err .check { color: #c0392b; }
.form-submit { margin-top: 30px; }
.cform button[disabled] { opacity: .6; cursor: progress; transform: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { margin-bottom: 28px; padding: 22px 24px; border-left: 3px solid; font-size: 14.5px; line-height: 1.95; }
.notice:focus { outline: none; }
.notice p + p { margin-top: .6em; }
.notice-title { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15.5px; margin-bottom: 6px; }
.notice-title .ico-svg { width: 20px; height: 20px; }
.notice ul { list-style: disc; padding-left: 1.3em; }
.notice-ok { background: #f1f7f1; border-color: #2e7d32; color: #234d26; }
.notice-ok a { text-decoration: underline; }
.notice-err { background: #fdf3f2; border-color: #c0392b; color: #7b241c; }

/* ---------- archive ---------- */
.post-date { margin-bottom: 24px; font-family: var(--latin); font-size: 18px; color: var(--gold-ink); }
.post-list li { border-bottom: 1px solid var(--line); }
.post-list a { display: flex; gap: 28px; padding: 20px 4px; transition: background-color .3s var(--ease); }
.post-list a:hover { background: var(--paper); }
.post-list time { flex: 0 0 auto; font-family: var(--latin); font-size: 17px; color: var(--gold-ink); }
.navigation.pagination { margin-top: 40px; text-align: center; }
.nav-links { display: inline-flex; gap: 8px; }
.page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border: 1px solid var(--line); font-size: 14px; }
.page-numbers.current { background: var(--navy); border-color: var(--navy); color: #fff; }
.empty { text-align: center; color: var(--muted); }

/* ---------- footer ---------- */
.foot { background: var(--navy); color: rgba(255, 255, 255, .74); font-size: 14px; }
.foot-top { display: grid; grid-template-columns: 1.1fr 1.15fr .75fr; gap: clamp(32px, 5vw, 70px); padding-block: clamp(60px, 7vw, 92px); }
.foot .brand { margin-bottom: 14px; }
.foot-tagline { font-family: var(--serif); font-size: 13px; letter-spacing: .2em; color: var(--gold-lt); }
.foot-info { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; margin: 26px 0 0; font-size: 13.5px; line-height: 1.85; }
.foot-info dt { color: var(--gold-lt); letter-spacing: .1em; white-space: nowrap; }
.foot-info dd { margin: 0; }
.foot-info a { border-bottom: 1px solid transparent; transition: border-color .3s; }
.foot-info a:hover { border-color: var(--gold-lt); }
.foot-msg { font-size: 13.5px; font-weight: 300; line-height: 2.15; }
.foot-msg p + p { margin-top: 1.1em; }
.foot-motto { display: inline-block; margin-top: 10px; font-family: var(--serif); font-size: 16px; font-weight: 500; letter-spacing: .2em; color: #fff; }
.foot-nav { display: grid; gap: 14px; }
.foot-nav a { display: inline-flex; align-items: center; gap: 12px; font-size: 13.5px; letter-spacing: .06em; transition: color .3s; }
.foot-nav a::before { content: ""; width: 12px; height: 1px; background: var(--gold); transition: width .3s var(--ease); }
.foot-nav a:hover { color: #fff; }
.foot-nav a:hover::before { width: 22px; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .12); }
.foot-bottom-inner { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; padding-block: 22px; font-size: 12px; letter-spacing: .06em; color: rgba(255, 255, 255, .5); }
.foot-legal { display: flex; flex-wrap: wrap; gap: 24px; }
.foot-legal a:hover { color: #fff; }

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

/* ---------- responsive ---------- */
/* The full header (logo + 6 links + phone) needs the whole 1180px container. */
@media (max-width: 1199px) {
	:root { --head-h: 72px; }
	.burger { display: block; }
	.nav {
		position: absolute; top: 100%; left: 0; right: 0;
		display: none; flex-direction: column; align-items: stretch; gap: 0;
		max-height: calc(100vh - var(--head-h)); overflow-y: auto;
		padding: 8px 24px 26px; background: rgba(16, 37, 63, .98);
		border-top: 1px solid rgba(255, 255, 255, .1);
	}
	.is-open .nav { display: flex; }
	.nav-list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav-list a { padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 15px; }
	.nav-list a::after { display: none; }
	.tel-btn { margin-top: 20px; justify-content: center; padding: 12px 16px; }
}
@media (max-width: 1024px) {
	.craft, .split, .message, .greet, .profile, .intro, .feature, .company, .contact, .order { grid-template-columns: 1fr; }
	.feature-rev .feature-img { order: 0; }
	.split-img { order: -1; }
	.split-img::after { inset: 12px -12px -12px 12px; }
	.craft-photos { max-width: 560px; }
	.message-photo img { max-width: 360px; }
	.greet-photo, .contact-side { position: static; }
	.greet-photo { max-width: 420px; }
	.svc-grid { grid-template-columns: 1fr 1fr; }
	.svc-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.mvv-grid { grid-template-columns: 1fr; }
	.line, .line-rev { grid-template-columns: 1fr; }
	.line-rev .line-img { order: 0; }
	.line-img img { min-height: 0; aspect-ratio: 16 / 10; }
	.foot-top { grid-template-columns: 1fr 1fr; }
	.foot-msg { grid-column: 1 / -1; order: 3; }
	.split-head { grid-template-columns: 1fr; }
	.access { grid-template-columns: 1fr; }
}
@media (max-width: 782px) {
	.admin-bar .site-head { top: 46px; }
}
@media (max-width: 680px) {
	body { font-size: 15px; }
	.wrap { padding-inline: 20px; }
	.brand-seal { width: 40px; height: 40px; font-size: 13px; }
	.brand-txt b { font-size: 15px; }
	.brand-txt span { font-size: 10px; letter-spacing: .2em; }
	.hero { min-height: 92svh; }
	.hero-inner { padding-bottom: 230px; }
	.hero-meta ul { grid-template-columns: 1fr; }
	.hero-meta li { padding: 12px 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
	.hero-meta li:first-child { border-top: 0; }
	.hero-kanji { font-size: 66vw; right: -10vw; bottom: 18vh; }
	.btn-row .btn { flex: 1 1 100%; }
	.stats { grid-template-columns: 1fr; }
	.stats > div, .stats > div + div { padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--line); }
	.svc-grid, .reasons, .cad-grid, .promises, .foot-top, .field-row, .checks { grid-template-columns: 1fr; }
	.svc-card:last-child:nth-child(odd) { grid-column: auto; }
	.makers { grid-template-columns: 1fr 1fr; }
	.info-table th, .info-table td { display: block; width: 100%; padding: 4px 0; border: 0; }
	.info-table tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
	.info-table th { color: var(--gold-ink); font-size: 13px; }
	.map { min-height: 300px; }
	.timeline li { grid-template-columns: 62px 1fr; gap: 12px; }
	.post-list a { flex-direction: column; gap: 2px; }
	.crumbs ol { font-size: 11.5px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
	.hero-bg img { transform: none; }
}
