/* ==========================================================================
   SUGI WORK theme — main.css
   Concept : 墨と金。点と点が繋がる。（見出し＝Shippori Mincho B1／本文＝Zen Kaku Gothic New）
   Palette : 墨(sumi) / 胡粉(gofun) / 生成り灰(kinari) / 金茶(kin)
   Pattern : 青海波（MISSION・メニュー）/ 七宝（CTA）
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
	--sumi: #17171a;
	--sumi-2: #202024;
	--gofun: #f7f7f5;
	--kinari: #ecebe7;
	--ink: #1c1c20;
	--text: #3b3b41;
	--hai: #75757c;
	--kin: #a8895a;
	--kin-light: #cbb38a;
	--line: rgba(28, 28, 32, .13);
	--line-light: rgba(255, 255, 255, .14);

		--f-head: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
	--f-gothic: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;

	--wrap: 1180px;
	--gutter: clamp(22px, 5.4vw, 64px);
	--sec-y: clamp(76px, 12vw, 168px);
	--header-h: 72px;
	--ease: cubic-bezier(.22, .8, .24, 1);
	--ease-in-out: cubic-bezier(.65, 0, .35, 1);

	/* 和柄 */
	--seigaiha: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='24' viewBox='0 0 48 24'%3E%3Cg fill='%2317171a' stroke='%23a8895a' stroke-opacity='.22' stroke-width='.8'%3E%3Cg id='w'%3E%3Ccircle r='24'/%3E%3Ccircle r='18' fill='none'/%3E%3Ccircle r='12' fill='none'/%3E%3Ccircle r='6' fill='none'/%3E%3C/g%3E%3Cuse href='%23w' x='48'/%3E%3Cuse href='%23w' x='24' y='12'/%3E%3Cuse href='%23w' y='24'/%3E%3Cuse href='%23w' x='48' y='24'/%3E%3C/g%3E%3C/svg%3E");
	--asanoha: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='48.50' viewBox='0 0 28 48.50'%3E%3Cpath d='M0.00 -16.17L0.00 0.00M14.00 -24.25L0.00 0.00M0.00 0.00L-14.00 -24.25M28.00 -16.17L28.00 0.00M42.00 -24.25L28.00 0.00M28.00 0.00L14.00 -24.25M-14.00 8.08L0.00 0.00M-28.00 0.00L0.00 0.00M0.00 0.00L-14.00 24.25M-14.00 -8.08L0.00 0.00M14.00 8.08L0.00 0.00M14.00 8.08L28.00 0.00M14.00 8.08L14.00 24.25M0.00 0.00L28.00 0.00M28.00 0.00L14.00 24.25M14.00 24.25L0.00 0.00M14.00 -8.08L0.00 0.00M14.00 -8.08L28.00 0.00M42.00 8.08L28.00 0.00M28.00 0.00L56.00 0.00M42.00 24.25L28.00 0.00M42.00 -8.08L28.00 0.00M0.00 32.33L-14.00 24.25M0.00 32.33L14.00 24.25M0.00 32.33L0.00 48.50M-14.00 24.25L14.00 24.25M14.00 24.25L0.00 48.50M0.00 48.50L-14.00 24.25M0.00 16.17L-14.00 24.25M0.00 16.17L14.00 24.25M0.00 16.17L0.00 0.00M28.00 32.33L14.00 24.25M28.00 32.33L42.00 24.25M28.00 32.33L28.00 48.50M14.00 24.25L42.00 24.25M42.00 24.25L28.00 48.50M28.00 48.50L14.00 24.25M28.00 16.17L14.00 24.25M28.00 16.17L42.00 24.25M28.00 16.17L28.00 0.00M-14.00 56.58L0.00 48.50M-28.00 48.50L0.00 48.50M0.00 48.50L-14.00 72.75M-14.00 40.41L0.00 48.50M14.00 56.58L0.00 48.50M14.00 56.58L28.00 48.50M0.00 48.50L28.00 48.50M28.00 48.50L14.00 72.75M14.00 72.75L0.00 48.50M14.00 40.41L0.00 48.50M14.00 40.41L28.00 48.50M14.00 40.41L14.00 24.25M42.00 56.58L28.00 48.50M28.00 48.50L56.00 48.50M42.00 72.75L28.00 48.50M42.00 40.41L28.00 48.50M0.00 64.66L0.00 48.50M28.00 64.66L28.00 48.50' fill='none' stroke='%23a8895a' stroke-opacity='.28' stroke-width='.6'/%3E%3C/svg%3E");
	--asanoha-size: 28px 48.50px;
	--shippo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23a8895a' stroke-opacity='.2' stroke-width='.8'%3E%3Ccircle cx='0' cy='0' r='28'/%3E%3Ccircle cx='56' cy='0' r='28'/%3E%3Ccircle cx='0' cy='56' r='28'/%3E%3Ccircle cx='56' cy='56' r='28'/%3E%3Ccircle cx='28' cy='28' r='28'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 56px); }
body {
	margin: 0;
	background: var(--gofun);
	color: var(--text);
	font-family: var(--f-gothic);
	font-size: 15px;
	line-height: 2;
	letter-spacing: .06em;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
@media (min-width: 768px) { body { font-size: 15.5px; line-height: 2.1; } }
@media (min-width: 1280px) { body { font-size: 16px; } }

/* 日本語の改行最適化：文節単位で折り返し（対応ブラウザ）＋約物の禁則 */
p, li, dd, figcaption, h1, h2, h3, h4 { line-break: strict; word-break: auto-phrase; overflow-wrap: anywhere; }
p, li, dd { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; }
.nw { display: inline-block; }
@media (max-width: 767px) { .br-pc { display: none; } }

img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .3em; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 1px solid var(--kin); outline-offset: 4px; }
::selection { background: var(--kin); color: #fff; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; transition: top .2s; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--sec-y); }
.section--sumi { background: var(--sumi); color: rgba(255, 255, 255, .78); }
.section--sumi h1, .section--sumi h2, .section--sumi h3, .section--sumi h4 { color: #fff; }
.section--kinari { background: var(--kinari); }

/* 縦書きの章印（PCのみ） */
.sec-mark { display: none; }
@media (min-width: 1100px) {
	.sec-mark {
		display: block; position: absolute; top: var(--sec-y); right: calc(var(--gutter) * .55);
		writing-mode: vertical-rl; font-family: var(--f-gothic); font-weight: 500;
		font-size: 13px; letter-spacing: .6em; color: var(--kin);
		padding-top: 52px;
	}
	.sec-mark::before { content: ""; position: absolute; top: 0; left: 50%; width: 1px; height: 40px; background: var(--kin); opacity: .6; }
}

/* ---------- Buttons / links ---------- */
.btn {
	position: relative;
	display: inline-flex; align-items: center; justify-content: center; gap: .8em;
	min-height: 54px; padding: 0 30px;
	border-radius: 2px;
	font-weight: 500; font-size: 14.5px; letter-spacing: .14em;
	text-decoration: none; white-space: nowrap;
	overflow: hidden; isolation: isolate;
	transition: color .45s var(--ease), border-color .45s var(--ease), background-color .45s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.btn::after { content: ""; width: 18px; height: 1px; background: currentColor; transition: width .45s var(--ease); }
.btn:hover::after { width: 28px; }
.btn--kin { background: var(--kin); color: #fff; }
.btn--kin::before { background: var(--ink); }
.btn--line { border: 1px solid rgba(255, 255, 255, .55); color: #fff; }
.btn--line::before { background: #fff; }
.btn--line:hover, .btn--line:focus-visible { color: var(--ink); border-color: #fff; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink::before { background: var(--kin); }
.btn--ghost { border: 1px solid var(--line); color: var(--ink); }
.btn--ghost::before { background: var(--kinari); }
.btn--lg { min-height: 62px; padding: 0 40px; font-size: 15px; }

.link {
	display: inline-flex; align-items: center; gap: .6em;
	font-weight: 500; font-size: 13.5px; letter-spacing: .1em; text-decoration: none; color: var(--ink);
	padding-bottom: 4px; border-bottom: 1px solid var(--kin);
	transition: color .3s, gap .4s var(--ease);
}
.link::after { content: ""; width: 12px; height: 1px; background: currentColor; }
.link:hover { color: var(--kin); gap: 1em; }

.sw-icon { width: 18px; height: 18px; flex: none; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: 100;
	height: var(--header-h); color: var(--ink);
	background: rgba(247, 247, 245, .9);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--line);
	transition: transform .5s var(--ease), background-color .4s, border-color .4s, color .4s;
}
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 30px; padding-inline: var(--gutter); max-width: 1440px; margin-inline: auto; }
.site-logo { position: relative; display: block; width: 138px; flex: none; }
.site-logo img { width: 100%; height: auto; transition: opacity .4s; }
.site-logo__wh { position: absolute; inset: 0; opacity: 0; }
.site-header.is-over-hero:not(.is-scrolled) { background: transparent; border-color: transparent; color: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header.is-over-hero:not(.is-scrolled) .site-logo__wh { opacity: 1; }
.site-header.is-over-hero:not(.is-scrolled) .site-logo__bk { opacity: 0; }
.site-header.is-hidden { transform: translateY(-100%); }
body.drawer-open .site-header { transform: none; background: transparent; border-color: transparent; color: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.drawer-open .site-logo__wh { opacity: 1; }
body.drawer-open .site-logo__bk { opacity: 0; }
body.drawer-open .gnav, body.drawer-open .site-header__cta { opacity: 0; visibility: hidden; }
.gnav, .site-header__cta { transition: opacity .4s, visibility .4s; }

.gnav { margin-left: auto; display: none; }
.gnav__list { display: flex; gap: 30px; font-size: 13.5px; letter-spacing: .12em; }
.gnav__list a { text-decoration: none; position: relative; padding-block: 6px; }
.gnav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--kin); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.gnav__list a:hover::after { transform: scaleX(1); transform-origin: left; }
.site-header__cta { display: none; min-height: 42px; padding: 0 20px; font-size: 13px; }
.site-header__cta::after { display: none; }

.menu-btn { margin-left: auto; display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 4px; background: none; border: 0; cursor: pointer; }
.menu-btn__label { font-size: 12px; letter-spacing: .16em; }
.menu-btn__bars { position: relative; width: 26px; height: 18px; }
.menu-btn__bars span { position: absolute; left: 0; top: 50%; width: 100%; height: 1px; margin-top: -.5px; background: currentColor; transition: transform .5s var(--ease); }
.menu-btn__bars span:first-child { transform: translateY(-4px); }
.menu-btn__bars span:last-child { transform: translateY(4px); }
.menu-btn[aria-expanded="true"] .menu-btn__bars span:first-child { transform: rotate(45deg) scaleX(.86); }
.menu-btn[aria-expanded="true"] .menu-btn__bars span:last-child { transform: rotate(-45deg) scaleX(.86); }
.menu-btn { position: relative; z-index: 2; }

@media (min-width: 1080px) {
	.gnav { display: block; }
	.site-header__cta { display: inline-flex; }
	.menu-btn { margin-left: 0; }
}

/* Drawer（全画面メニュー） */
.drawer { position: fixed; inset: 0; z-index: 90; color: #fff; display: grid; background: var(--sumi); overflow: hidden; }
.drawer[hidden] { display: none; }
.drawer__media { position: absolute; inset: 0; overflow: hidden; background: var(--sumi); }
.drawer__video, .drawer__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.drawer__video { opacity: .5; }
.drawer__img { opacity: 0; transform: scale(1.08); transition: opacity .8s var(--ease), transform 1.6s var(--ease); }
.drawer__img.is-active { opacity: .62; transform: scale(1); }
.drawer__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 23, 26, .55), rgba(23, 23, 26, .92) 70%); }
.drawer__shade::after { content: ""; position: absolute; inset: 0; background: var(--seigaiha); background-size: 48px 24px; opacity: .55; -webkit-mask: linear-gradient(0deg, #000, transparent 55%); mask: linear-gradient(0deg, #000, transparent 55%); }
.drawer__brand { display: none; }
.drawer__panel { position: relative; z-index: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: calc(var(--header-h) + 24px) var(--gutter) 48px; display: grid; align-content: start; gap: 40px; }
.dnav { display: grid; gap: 0; counter-reset: dn; }
.dnav__item { border-bottom: 1px solid var(--line-light); padding: 14px 0; }
.dnav__link { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; text-decoration: none; }
.dnav__ja { font-size: clamp(19px, 4.6vw, 24px); font-weight: 500; letter-spacing: .1em; line-height: 1.5; transition: color .3s, transform .5s var(--ease); }
.dnav__en { font-size: 11.5px; letter-spacing: .22em; color: var(--kin-light); white-space: nowrap; }
.dnav__link:hover .dnav__ja, .dnav__item.is-hover .dnav__ja { color: var(--kin-light); }
.dnav__sub { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; }
.dnav__sub a { font-size: 13px; letter-spacing: .06em; color: rgba(255, 255, 255, .72); text-decoration: none; position: relative; padding-left: 14px; }
.dnav__sub a::before { content: ""; position: absolute; left: 0; top: .9em; width: 7px; height: 1px; background: var(--kin); }
.dnav__sub a:hover { color: #fff; }
.drawer__foot { display: grid; gap: 22px; font-size: 13px; }
.drawer__nap { display: grid; gap: 10px; }
.drawer__nap div { display: grid; grid-template-columns: 6.5em 1fr; }
.drawer__nap dt { font-size: 11.5px; color: var(--kin-light); letter-spacing: .14em; }
.drawer__nap dd { margin: 0; }
.drawer__nap a { text-decoration: none; }
.drawer__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 12px; color: rgba(255, 255, 255, .55); }
.drawer__legal a { text-decoration: none; }
@media (min-width: 1000px) {
	.drawer { grid-template-columns: 42% 1fr; }
	.drawer__media { position: relative; inset: auto; }
	.drawer__shade { background: linear-gradient(90deg, rgba(23, 23, 26, .2), rgba(23, 23, 26, .55)), linear-gradient(0deg, rgba(23, 23, 26, .85), transparent 50%); }
	.drawer__brand { display: block; position: absolute; left: clamp(32px, 4vw, 64px); bottom: clamp(32px, 5vh, 56px); z-index: 1; }
	.drawer__brand img { width: 170px; }
	.drawer__brand p { margin-top: 16px; font-size: 13px; letter-spacing: .14em; color: rgba(255, 255, 255, .8); }
	.drawer__panel { background: var(--sumi); padding: calc(var(--header-h) + 32px) clamp(48px, 7vw, 128px) 48px; align-content: center; grid-template-columns: 1fr; }
	.drawer__nav { max-width: 620px; }
	.dnav__item { padding: 16px 0; }
	.dnav__ja { font-size: clamp(20px, 1.7vw, 26px); }
	.dnav__link:hover .dnav__ja { transform: translateX(6px); }
	.drawer__foot { grid-template-columns: 1fr auto; align-items: end; padding-top: 8px; }
}

/* ==========================================================================
   Section titles
   ========================================================================== */
.sec-title { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-title__en {
	font-family: var(--f-gothic); font-weight: 500;
	font-size: clamp(38px, 6.6vw, 84px); line-height: 1.05; letter-spacing: .02em;
	color: var(--ink); display: block; overflow: hidden; padding-bottom: .1em; white-space: nowrap;
}
.sec-title__ja {
	position: relative; display: block; padding-left: 52px;
	font-family: var(--f-gothic); font-weight: 700;
	font-size: clamp(17px, 1.9vw, 22px); line-height: 1.7; letter-spacing: .16em; color: var(--ink);
}
.sec-title__ja::before { content: ""; position: absolute; left: 0; top: .85em; width: 36px; height: 1px; background: var(--kin); }
.sec-title--light .sec-title__en { color: #fff; }
.sec-title--light .sec-title__ja { color: var(--kin-light); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
	position: relative; min-height: 100vh;
	display: grid; align-items: end;
	color: #fff; overflow: hidden; background: var(--sumi);
	padding: calc(var(--header-h) + 40px) 0 clamp(80px, 11vh, 128px);
}
@supports (min-height: 100svh) { .hero { min-height: 100svh; } }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.85) contrast(1.05); transform: scale(1.12); transition: transform 8s cubic-bezier(.2, .6, .2, 1); }
.is-ready .hero__bg img { transform: scale(1.02); }
.hero__bg::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(90deg, rgba(23, 23, 26, .95) 0%, rgba(23, 23, 26, .84) 50%, rgba(23, 23, 26, .8) 100%),
		linear-gradient(0deg, rgba(23, 23, 26, .9), transparent 45%);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__places { position: absolute; inset: 0; pointer-events: none; }
.hero__place {
	position: absolute; left: 0; top: 0;
	font-family: var(--f-gothic); font-size: 13px; letter-spacing: .2em; color: var(--kin-light);
	padding-left: 18px; white-space: nowrap;
	opacity: 0; transition: opacity 1.2s var(--ease) 1.6s;
}
.hero__place.is-left { padding-left: 0; padding-right: 18px; }
.is-ready .hero__place.is-placed { opacity: 1; }
.hero__legend { display: none; }
@media (min-width: 1000px) {
	.hero__legend { display: grid; gap: 6px; position: absolute; z-index: 2; right: calc(var(--gutter) + 48px); bottom: 40px; font-size: 12px; letter-spacing: .1em; color: rgba(255, 255, 255, .7); opacity: 0; transition: opacity 1.2s var(--ease) 2.4s; }
	.is-ready .hero__legend { opacity: 1; }
	.hero__legend li { display: flex; align-items: center; gap: 10px; }
	.hero__legend li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .7); }
	.hero__legend .hero__legend-0::before { background: var(--kin); box-shadow: 0 0 0 3px rgba(168, 137, 90, .3); }
	.hero__legend .hero__legend-1::before { background: var(--kin-light); }
}

.hero__inner { position: relative; z-index: 2; width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.hero__brand { width: clamp(120px, 14vw, 170px); margin-bottom: clamp(24px, 3.4vw, 40px); opacity: .92; }
.hero__brand img { width: 100%; }
.hero__title { font-weight: 400; display: grid; gap: clamp(20px, 2.6vw, 32px); color: #fff; }
.hero__catch { font-family: var(--f-gothic); font-weight: 500; font-size: clamp(30px, 5.6vw, 72px); line-height: 1.4; letter-spacing: .06em; display: block; }
.hero__catch .ln { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__catch .ln > span { display: inline-block; white-space: nowrap; }
.hero__mapslot { display: none; }
.hero__sub { font-family: var(--f-gothic); font-weight: 500; font-size: clamp(14px, 1.5vw, 18px); letter-spacing: .14em; line-height: 1.9; color: var(--kin-light); display: block; }
.hero__lead { max-width: 33em; margin-top: 22px; font-size: 13.5px; line-height: 2.1; color: rgba(255, 255, 255, .74); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__scroll {
	position: absolute; z-index: 2; right: var(--gutter); bottom: 36px;
	writing-mode: vertical-rl; font-family: var(--f-gothic); font-size: 11px; letter-spacing: .34em; text-decoration: none; color: rgba(255, 255, 255, .6);
	display: none; padding-bottom: 76px;
}
.hero__scroll::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 64px; background: rgba(255, 255, 255, .25); }
.hero__scroll::before { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 64px; background: var(--kin-light); transform-origin: top; animation: drip 2.6s var(--ease-in-out) infinite; z-index: 1; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 50.1% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (min-width: 768px) {
	.hero { align-items: center; }
	.hero__lead { font-size: 14.5px; }
	.hero__scroll { display: block; }
}
@media (max-width: 767px) {
	.hero { align-items: start; padding-bottom: 64px; }
	.hero__mapslot { display: block; height: min(64vw, 32vh); margin-block: -4px 2px; }
	.hero__title { gap: 18px; }
	.hero__brand { display: none; }
	.hero__actions { gap: 10px; margin-top: 28px; }
	.hero__actions .btn { flex: 1 1 0; min-width: 0; padding: 0 14px; font-size: 13.5px; letter-spacing: .08em; }
	.hero__actions .btn::after { display: none; }
	.hero__lead { margin-top: 16px; }
}
@media (max-width: 767px) and (max-height: 700px) {
	.hero__lead { display: none; }
}

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee { background: var(--sumi); color: rgba(255, 255, 255, .38); overflow: hidden; border-top: 1px solid var(--line-light); padding: 20px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee__group { display: flex; align-items: center; gap: clamp(28px, 4vw, 64px); padding-right: clamp(28px, 4vw, 64px); font-family: var(--f-gothic); font-weight: 500; font-size: clamp(18px, 2.6vw, 30px); letter-spacing: .12em; white-space: nowrap; }
.marquee__group i { width: 5px; height: 5px; transform: rotate(45deg); background: var(--kin); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Intro / Issues
   ========================================================================== */
/* 背景に薄い麻の葉文様 */
.intro { position: relative; overflow: hidden; }
.intro::before { content: ""; position: absolute; inset: 0; background: var(--asanoha); background-size: var(--asanoha-size); opacity: .75; -webkit-mask: radial-gradient(ellipse 90% 80% at 80% 50%, #000 0%, rgba(0, 0, 0, .45) 55%, transparent 90%); mask: radial-gradient(ellipse 90% 80% at 80% 50%, #000 0%, rgba(0, 0, 0, .45) 55%, transparent 90%); pointer-events: none; }
.intro > .wrap { position: relative; }
.intro__logo { margin: 0; }
.intro__logo img { display: block; width: clamp(170px, 18vw, 230px); height: auto; }
.intro__more { margin-top: 1em; }
.intro__more .btn { min-width: 280px; }
@media (max-width: 959px) {
	.intro::before { -webkit-mask: radial-gradient(ellipse 120% 60% at 50% 25%, #000 0%, rgba(0, 0, 0, .4) 60%, transparent 95%); mask: radial-gradient(ellipse 120% 60% at 50% 25%, #000 0%, rgba(0, 0, 0, .4) 60%, transparent 95%); }
	.intro__logo img { margin-inline: 0; }
	.intro__more .btn { width: 100%; min-width: 0; }
}
/* 見出しは縦書き：1行（1列）ずつ上から表示 */
.intro__grid { display: grid; gap: 48px; }
.intro__title { writing-mode: vertical-rl; justify-self: center; display: block; font-size: clamp(24px, 3vw, 38px); line-height: 2.1; letter-spacing: .22em; white-space: nowrap; }
.intro__title .pl { display: block; }
.intro__body { display: grid; gap: 1.4em; max-width: 38em; }
.intro__first { color: var(--ink); font-weight: 500; }
@media (min-width: 960px) {
	.intro__grid { grid-template-columns: 1fr auto; grid-template-areas: "body title"; gap: clamp(80px, 9vw, 140px); align-items: center; }
	.intro__title { grid-area: title; justify-self: end; }
	.intro__body { grid-area: body; justify-self: start; }
}
@media (max-width: 959px) {
	.intro__title { font-size: clamp(23px, 6.4vw, 30px); }
}

/* ==========================================================================
   Mission（背景動画＋青海波）
   ========================================================================== */
.mission { position: relative; background: var(--sumi); color: #fff; padding-block: var(--sec-y) calc(var(--sec-y) * 1.1); }
.mission__media { position: absolute; inset: 0; }
.mission__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.mission__video { display: block; width: 100%; height: 100%; object-fit: cover; }
.mission__sticky::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23, 23, 26, .68) 0%, rgba(23, 23, 26, .42) 55%, rgba(23, 23, 26, .18) 100%), linear-gradient(180deg, rgba(23, 23, 26, .5) 0%, transparent 16%, transparent 84%, rgba(23, 23, 26, .5) 100%); }
.mission::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: var(--seigaiha) repeat-x 0 100%; background-size: 48px 24px; opacity: .9; -webkit-mask: linear-gradient(0deg, #000, transparent); mask: linear-gradient(0deg, #000, transparent); pointer-events: none; z-index: 1; }
.mission .sec-mark { z-index: 2; }
.mission__inner { position: relative; z-index: 2; }
.mission__body { display: grid; gap: 1.9em; max-width: 58em; margin-top: clamp(40px, 6vw, 72px); }
.mission__body p { font-size: 15px; line-height: 2.2; letter-spacing: .05em; color: #fff; text-shadow: 0 1px 14px rgba(0, 0, 0, .5); }
@media (min-width: 768px) { .mission__body p { font-size: 15.5px; } }
@media (min-width: 1280px) { .mission__body p { font-size: 16px; } }
.mission__closing {
	margin-top: clamp(64px, 9vw, 112px);
	font-size: clamp(23px, 3.6vw, 44px); line-height: 1.7; color: #fff; text-shadow: 0 2px 20px rgba(0, 0, 0, .4);
}
.stats { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(48px, 7vw, 88px); border-top: 1px solid var(--line-light); }
.stats__item { background: rgba(23, 23, 26, .5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); padding: 24px 18px; display: grid; gap: 8px; border-bottom: 1px solid var(--line-light); }
.stats__item:nth-child(odd) { border-right: 1px solid var(--line-light); }
.stats__num { font-family: var(--f-gothic); font-weight: 500; font-size: clamp(34px, 4.6vw, 56px); line-height: 1; color: var(--kin-light); font-variant-numeric: tabular-nums; }
.stats__num small { font-family: var(--f-gothic); font-size: 12.5px; margin-left: .35em; color: #fff; letter-spacing: .08em; }
.stats__label { font-size: 12.5px; color: rgba(255, 255, 255, .6); line-height: 1.7; }
@media (min-width: 900px) {
	.stats { grid-template-columns: repeat(4, 1fr); }
	.stats__item, .stats__item:nth-child(odd), .stats__item:nth-child(even) { padding: 34px 32px; border-right: 1px solid var(--line-light); }
	.stats__item:last-child { border-right: 0; }
}

/* ==========================================================================
   Consultation（背景画像＋テキストのパララックス）
   ========================================================================== */
.consult__head { padding-bottom: clamp(56px, 7vw, 96px); }
.consult__head .split-head { margin-bottom: 0; }
.cases { position: relative; }
.case { position: sticky; top: 0; display: flex; align-items: center; height: 100vh; height: 100svh; min-height: 520px; overflow: hidden; color: #fff; background: var(--sumi); transform-origin: 50% 0; }
.case__bg { transform: scale(calc(1 - var(--cover, 0) * .06)); transform-origin: 50% 30%; }
.case__inner { opacity: calc(1 - var(--cover, 0) * .7); }
.case::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: rgba(23, 23, 26, calc(var(--cover, 0) * .6)); }
.case { box-shadow: 0 -24px 48px rgba(0, 0, 0, .25); }
.case__bg { position: absolute; inset: 0; }
.case__layer { position: absolute; inset: 0; }
.case__layer img, .case__layer video { display: block; width: 100%; height: 100%; object-fit: cover; }
.case__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23, 23, 26, .84) 0%, rgba(23, 23, 26, .58) 45%, rgba(23, 23, 26, .08) 100%); }
.case--right .case__bg::after { background: linear-gradient(270deg, rgba(23, 23, 26, .84) 0%, rgba(23, 23, 26, .58) 45%, rgba(23, 23, 26, .08) 100%); }
.case__inner { position: relative; z-index: 1; display: flex; }
.case--right .case__inner { justify-content: flex-end; }
.case__box { max-width: 31em; padding-block: 72px; }
.case__box::before { content: ""; display: block; width: 48px; height: 1px; background: var(--kin-light); margin-bottom: 30px; }
.case__title { color: #fff; font-size: clamp(24px, 3.1vw, 40px); line-height: 1.6; margin-bottom: 26px; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.case__body { display: grid; gap: 1.1em; }
.case__body p { font-size: clamp(15px, 1.15vw, 17px); line-height: 2.2; color: rgba(255, 255, 255, .9); text-shadow: 0 1px 12px rgba(0, 0, 0, .4); }

/* ==========================================================================
   Timeline（ご相談事例・こだわり共通）— 点と点が繋がるライン
   ========================================================================== */
.tl { display: grid; gap: 48px; }
.tl .sec-title__en { font-size: clamp(34px, 4.6vw, 62px); }
.tl__lead { display: grid; gap: 1.2em; }
.tl__lead p:first-child { color: var(--ink); }
.tl__count { display: none; }
.tl__list { position: relative; display: grid; gap: clamp(56px, 7vw, 104px); padding-left: 44px; }
.tl__list::before, .tl__list::after { content: ""; position: absolute; left: 5px; top: 12px; bottom: 12px; width: 1px; }
.tl__list::before { background: var(--line); }
.tl__list::after { background: var(--kin); transform-origin: top; transform: scaleY(var(--progress)); }
.tl__item { position: relative; }
.tl__dot { position: absolute; left: -44px; top: .7em; width: 11px; height: 11px; transform: rotate(45deg); background: var(--gofun); border: 1px solid var(--hai); z-index: 1; transition: background-color .5s, border-color .5s, box-shadow .8s var(--ease); }
.section--kinari .tl__dot { background: var(--kinari); }
.tl__item.is-lit .tl__dot { background: var(--kin); border-color: var(--kin); box-shadow: 0 0 0 7px rgba(168, 137, 90, .14); }
.tl__title { font-weight: 700; font-size: clamp(18px, 2vw, 24px); line-height: 1.7; letter-spacing: .08em; margin-bottom: 18px; }
.tl__body { display: grid; gap: 1.1em; }
.case .tl__dot { top: 0; }
.case__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #d6d5d0; margin-bottom: 26px; }
.case__media img, .case__media video { width: 100%; height: 100%; object-fit: cover; }
.case .tl__title { font-size: clamp(19px, 2.2vw, 26px); }
@media (min-width: 1000px) {
	.tl { grid-template-columns: 5fr 7fr; gap: 96px; align-items: start; }
	.tl__head { position: sticky; top: calc(var(--header-h) + 48px); }
	.tl__count { display: block; margin-top: 40px; font-size: 13px; letter-spacing: .2em; color: var(--hai); }
	.tl__count-now { font-size: 34px; color: var(--ink); letter-spacing: 0; font-weight: 500; margin-right: 4px; }
}

/* ==========================================================================
   Reasons
   ========================================================================== */
.split-head { display: grid; gap: 8px; margin-bottom: clamp(56px, 8vw, 104px); }
.split-head__lead { display: grid; gap: 1em; }
@media (min-width: 960px) {
	.split-head { grid-template-columns: 1fr 1fr; align-items: end; gap: 80px; }
	.split-head .sec-title { margin-bottom: 0; }
}
.reasons__list { display: grid; gap: clamp(72px, 10vw, 136px); }
.reason { display: grid; gap: 30px; align-items: center; }
.reason__media { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: #d6d5d0; }
.reason__img { position: absolute; left: 0; right: 0; top: -7%; bottom: -7%; }
.reason__img img { width: 100%; height: 100%; object-fit: cover; }
.reason__title { font-family: var(--f-gothic); font-weight: 700; font-size: clamp(21px, 2.4vw, 29px); line-height: 1.65; letter-spacing: .08em; margin-bottom: 22px; }
.reason__body { display: grid; gap: 1.1em; }
@media (min-width: 900px) {
	.reason { grid-template-columns: 1.15fr 1fr; gap: clamp(48px, 6vw, 104px); }
	.reason:nth-child(even) { grid-template-columns: 1fr 1.15fr; }
	.reason:nth-child(even) .reason__media { order: 2; }
}

/* ==========================================================================
   Service（全カテゴリを縦に掲載）
   ========================================================================== */
.service { padding-bottom: calc(var(--sec-y) * .6); }
.service .split-head { margin-bottom: clamp(40px, 5vw, 64px); }

.svc-nav { position: sticky; top: 0; z-index: 20; background: rgba(247, 247, 245, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-block: 1px solid var(--line); transition: top .5s var(--ease); }
body:not(.header-hidden) .svc-nav { top: var(--header-h); }
.svc-nav__list { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.svc-nav__list::-webkit-scrollbar { display: none; }
.svc-nav__list a { position: relative; display: block; padding: 15px 18px; white-space: nowrap; text-decoration: none; font-family: var(--f-gothic); font-weight: 500; font-size: 14px; letter-spacing: .1em; color: var(--hai); transition: color .3s; }
.svc-nav__list a::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 1px; background: var(--kin); transform: scaleX(0); transition: transform .5s var(--ease); }
.svc-nav__list a:hover, .svc-nav__list a.is-current { color: var(--ink); }
.svc-nav__list a.is-current::after { transform: scaleX(1); }
@media (min-width: 1080px) { .svc-nav__list { justify-content: space-between; } }

.svc { padding-top: clamp(64px, 8vw, 112px); scroll-margin-top: calc(var(--header-h) + 50px); }
.svc__head { position: relative; display: flex; align-items: flex-end; min-height: clamp(220px, 30vw, 400px); padding-bottom: clamp(28px, 4vw, 48px); overflow: hidden; color: #fff; background: var(--sumi); }
.svc__bg { position: absolute; inset: 0; }
.svc__bg > div { position: absolute; inset: -12% 0; }
.svc__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.svc__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23, 23, 26, .86), rgba(23, 23, 26, .25) 70%), linear-gradient(0deg, rgba(23, 23, 26, .6), transparent 50%); }
.svc__head .wrap { position: relative; }
.svc__title { display: grid; gap: 10px; color: #fff; }
.svc__en { font-family: var(--f-gothic); font-weight: 500; font-size: clamp(34px, 6.4vw, 80px); line-height: 1; letter-spacing: .04em; }
.svc__ja { font-family: var(--f-gothic); font-size: 13.5px; letter-spacing: .2em; color: var(--kin-light); font-weight: 500; }
.svc__intro { margin-top: 44px; padding-bottom: 32px; border-bottom: 1px solid var(--line); max-width: 46em; }
.svc__intro h4 { font-family: var(--f-gothic); font-size: 21px; letter-spacing: .1em; margin-bottom: 10px; }

.cards { display: grid; gap: 48px 32px; margin-top: clamp(40px, 5vw, 64px); }
.card { display: grid; gap: 20px; align-content: start; }
.card__media { overflow: hidden; aspect-ratio: 3 / 2; background: var(--kinari); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { display: grid; gap: .9em; font-size: 14px; line-height: 2; }
.card__title { position: relative; font-family: var(--f-gothic); font-weight: 700; font-size: 18.5px; line-height: 1.6; letter-spacing: .08em; padding-bottom: 14px; margin-bottom: 4px; }
.card__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 1px; background: var(--kin); }
.card__links { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 8px; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 64px 44px; } }

/* ==========================================================================
   Monoyado
   ========================================================================== */
.mono { overflow: hidden; overflow: clip; background: #141311; color: rgba(255, 255, 255, .78); }
.mono__bg { position: absolute; inset: 0; }
.mono__bg > div { position: absolute; inset: -10% 0; }
.mono__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .34; }
.mono__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 19, 17, .35), rgba(20, 19, 17, .92) 72%); }
.mono__grid { position: relative; display: grid; gap: 64px; }
.mono__label { font-family: var(--f-gothic); font-size: 13.5px; letter-spacing: .2em; color: var(--kin-light); }
.mono__title { margin: 20px 0 32px; }
.mono__logo { width: clamp(180px, 22vw, 260px); }
.mono__sticky { display: grid; gap: 32px; }
.mono__body { display: grid; gap: 1.3em; max-width: 34em; }
.mono__poem { font-family: var(--f-gothic); font-weight: 500; font-size: clamp(16px, 1.7vw, 19px); line-height: 2.2; letter-spacing: .16em; display: grid; gap: 1.6em; color: #efe8da; }
.mono__poem .pl { display: block; }
.mono__tv { display: grid; gap: 16px; font-size: 12.5px; line-height: 1.9; color: rgba(255, 255, 255, .64); }
@media (min-width: 1000px) {
	.mono__stage, .mono__sticky, .mono__scene { display: contents; }
	.mono__grid { grid-template-columns: 1.1fr auto; grid-template-rows: auto auto auto auto 1fr; grid-template-areas: "label poem" "title poem" "main poem" "more poem" "tv poem"; column-gap: 112px; row-gap: 0; }
	.mono__more { grid-area: more; }
	.mono__body { margin-bottom: 36px; }
	.mono__label { grid-area: label; }
	.mono__title { grid-area: title; }
	.mono__main { grid-area: main; }
	.mono__tv { grid-area: tv; max-width: 560px; margin-top: 64px; align-self: start; }
	.mono__poem { grid-area: poem; writing-mode: vertical-rl; justify-self: end; align-self: start; display: block; inline-size: max-content; line-height: 2.4; }
	.mono__poem p + p { margin-block-start: 2em; }
}
/* スマホ・タブレット：画面に固定した舞台で、詩 → ロゴ の順に見せる */
@media (max-width: 999px) {
	.mono__bg > div { position: sticky; inset: auto; top: 0; height: 100vh; height: 100svh; }
	.mono__bg::after { background: rgba(20, 19, 17, .66); }
	.mono__title { margin: 0; text-align: center; }
	.mono__logo { width: min(66vw, 300px); margin-inline: auto; }
	.mono__label { text-align: center; }
	.mono__poem { text-align: center; font-size: clamp(15px, 4.1vw, 17px); letter-spacing: .1em; line-height: 2.1; gap: 1.5em; }
	.mono__scene { display: grid; justify-items: center; gap: 36px; }
	.mono__more .btn { min-width: 240px; justify-content: center; }
	.js .mono__stage { height: 360vh; height: 360svh; }
	.js .mono__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; grid-template-areas: "x"; place-items: center; gap: 0; }
	.js .mono__sticky > * { grid-area: x; }
	.js .mono__sticky .mono__label { align-self: start; margin-top: calc(var(--header-h) + 24px); }
	.js .mono__scene { transition: opacity 1s var(--ease), transform 1.2s var(--ease), filter 1s var(--ease); }
	.js .mono__stage.is-poem-out .mono__scene { opacity: 0; transform: translateY(-24px); filter: blur(8px); pointer-events: none; }
	.js .mono__stage .mono__poem[data-reveal] { opacity: 1; transform: none; filter: none; }
	.js .mono__stage .mono__more[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
	.js .mono__stage.is-more-in .mono__more[data-reveal] { opacity: 1; transform: none; }
	.js .mono__stage .mono__poem[data-reveal] .pl { opacity: 0; clip-path: none; transform: translateY(14px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1.2s var(--ease), filter 1s var(--ease); transition-delay: 0s; }
	.js .mono__stage .mono__poem[data-reveal] .pl.is-on { opacity: 1; transform: none; filter: blur(0); }
	.js .mono__stage .mono__title[data-reveal] { opacity: 0; transform: scale(.92); filter: blur(10px); transition: opacity 1.4s var(--ease), transform 1.6s var(--ease), filter 1.4s var(--ease); }
	.js .mono__stage.is-logo-in .mono__title[data-reveal] { opacity: 1; transform: none; filter: blur(0); }
	.mono__main { margin-top: -10vh; }
}

/* ==========================================================================
   About
   ========================================================================== */
.about__grid { display: grid; gap: 44px; }
.about__photo { max-width: 340px; }
.about__photo img { width: 100%; filter: grayscale(.15); }
.about__name { font-family: var(--f-gothic); font-weight: 700; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.4; letter-spacing: .14em; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; }
.about__name span { font-family: var(--f-gothic); font-size: 14px; font-weight: 500; color: var(--hai); letter-spacing: .1em; }
.about__role { margin-top: 10px; font-size: 13.5px; letter-spacing: .14em; color: var(--kin); }
.about__body { display: grid; gap: 1.1em; margin-top: 30px; max-width: none; }
.about__facts { margin-top: 32px; border-top: 1px solid var(--line); }
.about__facts > div { display: grid; grid-template-columns: 7em 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.about__facts dt { color: var(--hai); }
.about__facts dd { margin: 0; color: var(--ink); }
@media (min-width: 900px) {
	.about__grid { grid-template-columns: 340px 1fr; gap: 88px; align-items: start; }
	.about__photo { position: sticky; top: calc(var(--header-h) + 48px); }
}

.social { display: flex; gap: 8px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-light); transition: background-color .3s, color .3s, border-color .3s; }
.social a:hover { background: var(--kin); color: #fff; border-color: var(--kin); }
.social--dark { margin-top: 30px; }
.social--dark a { border-color: var(--line); color: var(--ink); }

.skills { display: grid; margin-top: clamp(64px, 8vw, 104px); border-top: 1px solid var(--ink); }
.skills__group { border-bottom: 1px solid var(--line); }
.skills__group summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; justify-content: space-between; padding: 20px 0; font-family: var(--f-gothic); font-weight: 700; font-size: 19px; letter-spacing: .1em; color: var(--ink); }
.skills__group summary::-webkit-details-marker { display: none; }
.skills__group ul { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 26px; }
.skills__group li { font-size: 12.5px; letter-spacing: .04em; padding: 4px 12px; border: 1px solid var(--line); line-height: 1.8; }
@media (min-width: 900px) {
	.skills { grid-template-columns: repeat(3, 1fr); column-gap: 44px; border-top: 0; }
	.skills__group { border-top: 1px solid var(--ink); border-bottom: 0; }
	.skills__group summary { pointer-events: none; }
}

.groups { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; margin-top: clamp(64px, 8vw, 104px); padding: clamp(28px, 4vw, 44px); border: 1px solid var(--line); background: #fff; }
.groups h3 { font-family: var(--f-gothic); font-size: 20px; letter-spacing: .12em; margin-bottom: 8px; }
.groups p { font-size: 13.5px; }
.groups ul { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 16px; font-size: 14px; }
.groups ul a { text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--kin); }
.groups ul a:hover { color: var(--kin); }
.groups__logo { width: 92px; }

/* ==========================================================================
   Area
   ========================================================================== */

.area__lead { color: var(--ink); max-width: 30em; font-family: var(--f-gothic); font-weight: 500; font-size: clamp(16px, 1.7vw, 19px); line-height: 2; letter-spacing: .08em; }

.area__grid { display: grid; gap: 24px; }
.area__block { background: var(--gofun); padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); }
.area__block--main { border-top: 2px solid var(--kin); }
.area__label { font-size: 12px; letter-spacing: .2em; color: var(--kin); }
.area__pref { margin-top: 8px; font-family: var(--f-gothic); font-weight: 700; font-size: clamp(26px, 3vw, 36px); letter-spacing: .12em; line-height: 1.4; display: flex; align-items: baseline; gap: 14px; }
.area__pref small { font-family: var(--f-gothic); font-weight: 400; font-size: 12.5px; letter-spacing: .08em; color: var(--hai); }
.area__pref a { text-decoration: none; }
.area__note { margin-top: 10px; font-size: 13.5px; }
.area__kind { margin-top: 26px; margin-bottom: 12px; font-size: 12.5px; font-weight: 500; letter-spacing: .16em; color: var(--hai); display: flex; align-items: center; gap: 12px; }
.area__kind::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.area__names { display: flex; flex-wrap: wrap; gap: 6px 4px; }
.area__names li { font-size: 13.5px; line-height: 1.6; letter-spacing: .04em; }
.area__names--city li > * { display: inline-block; padding: 5px 11px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; }
.area__names--city li > a:hover { border-color: var(--kin); color: var(--kin); }
.area__names--town { gap: 4px 0; }
.area__names--town li { font-size: 13px; color: var(--text); }
.area__names--town li:not(:last-child)::after { content: "・"; color: var(--hai); }
.area__names--town a { color: var(--ink); text-decoration-color: var(--kin); }
.area__kanto { display: grid; gap: 28px; margin-top: 18px; }
.area__pref--s { font-size: 20px; margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .area__kanto { grid-template-columns: repeat(3, 1fr); gap: 36px; } }
.area__prefs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.area__prefs li > * { display: block; text-align: center; padding: 18px 8px; border: 1px solid var(--line); background: #fff; font-family: var(--f-gothic); font-weight: 700; font-size: 17px; letter-spacing: .14em; color: var(--ink); text-decoration: none; }
.area__other { margin-top: 22px; font-size: 13.5px; color: var(--ink); padding-left: 18px; position: relative; }
.area__other::before { content: ""; position: absolute; left: 0; top: .9em; width: 8px; height: 1px; background: var(--kin); }
@media (min-width: 1000px) {
	.area__grid { grid-template-columns: 1.25fr 1fr; grid-template-areas: "main sub" "kanto kanto"; }
	.area__block--main { grid-area: main; }
	.area__block--sub { grid-area: sub; }
	.area__block--kanto { grid-area: kanto; }
	.area__prefs { grid-template-columns: repeat(4, 1fr); }
	.area__prefs li > * { font-size: 15px; letter-spacing: .08em; padding: 16px 4px; }
}

/* ==========================================================================
   CTA（七宝）
   ========================================================================== */
.cta { overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: var(--shippo); background-size: 56px 56px; -webkit-mask: radial-gradient(ellipse at 50% 50%, transparent 25%, #000 85%); mask: radial-gradient(ellipse at 50% 50%, transparent 25%, #000 85%); }
.cta__inner { position: relative; text-align: center; display: grid; justify-items: center; gap: 24px; }
.cta__title { font-family: var(--f-gothic); font-weight: 500; font-size: clamp(25px, 4vw, 48px); line-height: 1.7; letter-spacing: .12em; }
.cta__lead { max-width: 32em; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 12px; }
.cta__tel { font-size: 13.5px; letter-spacing: .12em; }
.cta__tel a { font-family: var(--f-gothic); font-weight: 500; font-size: 1.9em; margin-left: .5em; text-decoration: none; color: #fff; letter-spacing: .06em; vertical-align: -.12em; }
.pay { margin-top: clamp(48px, 6vw, 80px); padding: 28px clamp(20px, 4vw, 44px) 32px; border: 1px solid var(--line-light); display: grid; justify-items: center; gap: 12px; width: 100%; max-width: 720px; }
.pay__title { font-size: 12.5px; letter-spacing: .2em; color: var(--kin-light); font-weight: 500; }
.pay__methods { font-family: var(--f-gothic); font-weight: 500; font-size: clamp(16px, 1.9vw, 20px); letter-spacing: .08em; color: #fff; }
.pay__img { width: 100%; max-width: 560px; margin-top: 6px; background: #fff; padding: 10px 14px; }
@media (max-width: 767px) { .cta__actions .btn { flex: 1 1 100%; } }

/* スマホ：サービスは横スワイプ／画像の比率を少し低く */
.swipe-hint { display: none; align-items: center; justify-content: flex-end; gap: 14px; margin: 28px 0 -10px; font-size: 12px; letter-spacing: .16em; color: var(--kin); }
.swipe-hint > span { display: none; }
.swipe-hint::after { content: ""; flex: none; width: 56px; height: 12px; background: var(--kin); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 12'%3E%3Cpath d='M0 6h54M48 1l6 5-6 5' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E") center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 12'%3E%3Cpath d='M0 6h54M48 1l6 5-6 5' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E") center / 100% 100% no-repeat; animation: swipe-arrow 1.8s var(--ease-in-out) infinite; }
@keyframes swipe-arrow { 0%, 100% { transform: translateX(-6px); opacity: .5; } 50% { transform: translateX(4px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .swipe-hint::after { animation: none; } }
@media (max-width: 639px) {
	.swipe-hint { display: flex; }
	.cards { display: flex; gap: 16px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; overscroll-behavior-x: contain; touch-action: pan-x pan-y; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 10px; scrollbar-width: none; }
	.js .cards .card[data-reveal] { transition-property: opacity; transform: none; }
	.cards::-webkit-scrollbar { display: none; }
	.card { flex: 0 0 80%; scroll-snap-align: start; scroll-margin-left: var(--gutter); }
	.card__body { font-size: 13.5px; }
	.reason__media, .case__media { aspect-ratio: 16 / 10; }
	.reason { gap: 22px; }
	.svc { padding-top: 56px; }
	.svc__head { min-height: 180px; }
	.tl__list { padding-left: 32px; }
	.tl__dot { left: -32px; }
	.tl__list::before, .tl__list::after { left: 5px; }
	.about__photo { max-width: none; width: 88%; }
	.mission__sticky::after { background: linear-gradient(180deg, rgba(23, 23, 26, .55) 0%, rgba(23, 23, 26, .5) 100%); }
	.case { align-items: flex-start; }
	.case__bg::after, .case--right .case__bg::after { background: linear-gradient(180deg, rgba(23, 23, 26, .9) 0%, rgba(23, 23, 26, .74) 48%, rgba(23, 23, 26, .2) 100%); }
	.case__box { padding-block: calc(var(--header-h) + 28px) 40px; }
	.case__box::before { margin-bottom: 22px; }
	.case__title { margin-bottom: 20px; }
}

/* ==========================================================================
   Map（最下部・全幅）
   ========================================================================== */
.map { position: relative; background: var(--sumi); }
.map__frame { position: relative; height: clamp(320px, 56vh, 600px); overflow: hidden; }
.map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) sepia(.32) contrast(.86) brightness(.9); }
.map__frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, var(--sumi) 0%, transparent 14%, transparent 86%, var(--sumi) 100%); box-shadow: inset 0 0 0 1px rgba(168, 137, 90, .15); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { position: relative; background: var(--sumi); color: rgba(255, 255, 255, .7); padding: clamp(64px, 8vw, 96px) 0 32px; border-top: 1px solid var(--line-light); }
.site-footer__inner { max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); display: grid; gap: 44px; }
.site-footer__logo { display: block; width: 160px; }
.site-footer__desc { margin-top: 18px; font-size: 12.5px; line-height: 2; }
.site-footer__nap { margin-top: 16px; font-style: normal; font-size: 12.5px; line-height: 2.1; }
.site-footer__nap a { text-decoration: none; }
.fnav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; font-size: 13px; letter-spacing: .08em; }
.fnav a { text-decoration: none; }
.fnav a:hover { color: var(--kin-light); }
.site-footer__copy { text-align: center; font-size: 11.5px; letter-spacing: .1em; margin-top: 64px; color: rgba(255, 255, 255, .4); padding-inline: var(--gutter); }
@media (min-width: 900px) { .site-footer__inner { grid-template-columns: 1.3fr 1fr auto; align-items: start; } }

/* Mobile CTA bar */
.mobile-cta {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
	display: grid; grid-template-columns: 1fr 1.6fr;
	padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
	background: rgba(23, 23, 26, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	border-top: 1px solid var(--line-light);
	transform: translateY(110%); transition: transform .5s var(--ease);
}
.mobile-cta.is-visible { transform: translateY(0); }
body.drawer-open .mobile-cta { transform: translateY(110%); }
.mobile-cta a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 2px; font-size: 13.5px; letter-spacing: .1em; text-decoration: none; }
.mobile-cta__tel { color: #fff; border: 1px solid var(--line-light); }
.mobile-cta__main { background: var(--kin); color: #fff; }
@media (max-width: 767px) { .site-footer { padding-bottom: 100px; } }
@media (min-width: 768px) { .mobile-cta { display: none; } }

/* ==========================================================================
   下層ページ：見出しエリア
   ========================================================================== */
.phero { position: relative; display: flex; align-items: flex-end; min-height: clamp(380px, 58vh, 560px); padding: calc(var(--header-h) + 48px) 0 clamp(48px, 7vw, 88px); overflow: hidden; color: #fff; background: var(--sumi); }
.phero__bg { position: absolute; inset: 0; }
.phero__layer { position: absolute; inset: -12% 0; }
.phero__layer img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.6) contrast(1.05); transform: scale(1.08); transition: transform 6s cubic-bezier(.2, .6, .2, 1); }
.is-ready .phero__layer img { transform: scale(1); }
.phero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23, 23, 26, .92) 0%, rgba(23, 23, 26, .7) 55%, rgba(23, 23, 26, .45) 100%), linear-gradient(0deg, rgba(23, 23, 26, .85), transparent 55%); }
.phero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: var(--seigaiha) repeat-x 0 100%; background-size: 48px 24px; -webkit-mask: linear-gradient(0deg, #000, transparent); mask: linear-gradient(0deg, #000, transparent); opacity: .7; pointer-events: none; }
.phero__inner { position: relative; z-index: 1; }
.phero__crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-bottom: clamp(28px, 4vw, 48px); font-size: 12px; letter-spacing: .1em; color: rgba(255, 255, 255, .6); }
.phero__crumbs li + li::before { content: ""; display: inline-block; width: 12px; height: 1px; margin-right: 10px; vertical-align: middle; background: var(--kin); }
.phero__crumbs a { text-decoration: none; transition: color .3s; }
.phero__crumbs a:hover { color: var(--kin-light); }
.phero__en { display: block; overflow: hidden; padding-bottom: .06em; font-size: clamp(40px, 7vw, 88px); line-height: 1.05; letter-spacing: .01em; color: #fff; white-space: nowrap; }
.phero__title { position: relative; margin-top: 18px; padding-left: 52px; font-size: clamp(18px, 2.1vw, 24px); line-height: 1.7; letter-spacing: .16em; color: var(--kin-light); }
.phero__title::before { content: ""; position: absolute; left: 0; top: .85em; width: 36px; height: 1px; background: var(--kin); }
.phero__lead { max-width: 40em; margin-top: 22px; font-size: 14.5px; line-height: 2.1; color: rgba(255, 255, 255, .8); }

/* ==========================================================================
   下層ページ：本文（ブロックエディターの各ブロック）
   ========================================================================== */
.page-body { padding: clamp(64px, 9vw, 128px) var(--gutter) var(--sec-y); }
.page-body--wide { max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; }
.entry { max-width: 840px; margin-inline: auto; color: var(--text); }
.entry > * + * { margin-top: 1.5em; }
.entry > .alignwide { max-width: var(--wrap); width: calc(100vw - var(--gutter) * 2); margin-left: 50%; transform: translateX(-50%); }
.entry > .alignfull { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); }
.entry p { line-height: 2.1; }
.entry a:not(.wp-block-button__link):not(.btn) { color: var(--ink); text-decoration: underline; text-decoration-color: var(--kin); text-underline-offset: .3em; transition: color .3s; }
.entry a:not(.wp-block-button__link):not(.btn):hover { color: var(--kin); }
.entry strong { color: var(--ink); font-weight: 700; background: linear-gradient(transparent 62%, rgba(203, 179, 138, .35) 62%); }

.entry h2 { position: relative; margin-top: 3.2em; margin-bottom: 1.1em; padding-top: 26px; font-size: clamp(22px, 2.5vw, 30px); line-height: 1.6; letter-spacing: .1em; color: var(--ink); }
.entry h2::before { content: ""; position: absolute; left: 0; top: 0; width: 40px; height: 1px; background: var(--kin); }
.entry h2.has-text-align-center::before { left: 50%; margin-left: -20px; }
.entry h3 { margin-top: 2.4em; margin-bottom: .9em; padding-left: 18px; border-left: 2px solid var(--kin); font-size: clamp(18px, 1.9vw, 22px); line-height: 1.6; letter-spacing: .08em; color: var(--ink); }
.entry h4 { margin-top: 2em; font-family: var(--f-gothic); font-size: 16px; font-weight: 700; letter-spacing: .08em; color: var(--ink); }
.entry > h2:first-child, .entry > h3:first-child { margin-top: 0; }

.entry ul:not([class*="wp-block-"]), .entry ul.wp-block-list { padding-left: 0; list-style: none; display: grid; gap: .6em; }
.entry ul:not([class*="wp-block-"]) > li, .entry ul.wp-block-list > li { position: relative; padding-left: 1.6em; line-height: 1.9; }
.entry ul:not([class*="wp-block-"]) > li::before, .entry ul.wp-block-list > li::before { content: ""; position: absolute; left: .2em; top: .78em; width: 6px; height: 6px; transform: rotate(45deg); background: var(--kin); }
.entry ol:not([class*="wp-block-"]), .entry ol.wp-block-list { padding-left: 0; list-style: none; counter-reset: ol; display: grid; gap: .7em; }
.entry ol:not([class*="wp-block-"]) > li, .entry ol.wp-block-list > li { position: relative; padding-left: 2.4em; line-height: 1.9; counter-increment: ol; }
.entry ol:not([class*="wp-block-"]) > li::before, .entry ol.wp-block-list > li::before { content: counter(ol, decimal-leading-zero); position: absolute; left: 0; top: .05em; font-family: var(--f-head); font-size: 15px; color: var(--kin); letter-spacing: .05em; }

.entry blockquote, .entry .wp-block-quote { margin-inline: 0; padding: 28px 32px; border-left: 2px solid var(--kin); background: var(--kinari); font-family: var(--f-head); font-size: 16.5px; line-height: 2; color: var(--ink); }
.entry blockquote cite { display: block; margin-top: 12px; font-family: var(--f-gothic); font-size: 12.5px; font-style: normal; color: var(--hai); }
.entry .wp-block-pullquote { border-block: 1px solid var(--ink); padding: 40px 0; text-align: center; }
.entry .wp-block-pullquote blockquote { border: 0; background: none; padding: 0; font-size: clamp(18px, 2vw, 24px); }

.entry figure { margin-inline: 0; }
.entry img { height: auto; }
.entry figcaption, .entry .wp-element-caption { margin-top: 10px; font-size: 12.5px; color: var(--hai); text-align: center; }
.entry .wp-block-image img { border-radius: 2px; }
.entry hr, .entry .wp-block-separator { width: 48px; height: 1px; margin: 3em auto; border: 0; background: var(--kin); }
.entry .wp-block-separator.is-style-wide { width: 100%; background: var(--line); }

.entry .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.entry .wp-block-buttons.is-content-justification-center { justify-content: center; }
.entry .wp-block-button__link { display: inline-flex; align-items: center; gap: .8em; min-height: 54px; padding: 0 30px; border-radius: 2px; background: var(--kin); color: #fff; font-size: 14.5px; font-weight: 500; letter-spacing: .14em; text-decoration: none; transition: background-color .4s; }
.entry .wp-block-button__link::after { content: ""; width: 18px; height: 1px; background: currentColor; transition: width .4s var(--ease); }
.entry .wp-block-button__link:hover { background: var(--ink); }
.entry .wp-block-button__link:hover::after { width: 28px; }
.entry .is-style-outline .wp-block-button__link { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.entry .is-style-outline .wp-block-button__link:hover { background: var(--ink); color: #fff; }

.entry .wp-block-columns { gap: clamp(24px, 4vw, 48px); }
.entry .wp-block-group.has-background, .entry .wp-block-column.has-background { padding: clamp(24px, 4vw, 40px); }
.entry details { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; }
.entry details + details { border-top: 0; }
.entry summary { cursor: pointer; font-family: var(--f-head); font-weight: 600; font-size: 16.5px; color: var(--ink); list-style: none; position: relative; padding-right: 32px; }
.entry summary::-webkit-details-marker { display: none; }
.entry summary::after { content: ""; position: absolute; right: 6px; top: .4em; width: 9px; height: 9px; border-right: 1px solid var(--kin); border-bottom: 1px solid var(--kin); transform: rotate(45deg); transition: transform .4s var(--ease); }
.entry details[open] summary::after { transform: rotate(225deg); top: .7em; }
.entry details > :not(summary) { margin-top: 14px; }
.entry code { padding: 2px 6px; background: var(--kinari); font-size: .92em; }
.entry pre { padding: 20px 24px; background: var(--sumi); color: #eee; overflow-x: auto; font-size: 13.5px; line-height: 1.8; }
.entry .wp-block-embed iframe { max-width: 100%; }
.entry .wp-block-embed.is-type-video .wp-block-embed__wrapper { position: relative; aspect-ratio: 16 / 9; }
.entry .wp-block-embed.is-type-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* --- 表（既存の表もそのまま整う） --- */
.entry table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); font-size: 14.5px; line-height: 1.9; background: #fff; }
.entry .wp-block-table { overflow-x: auto; }
.entry .wp-block-table table { margin: 0; }
.entry th, .entry td { padding: 18px 22px; border: 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry thead th, .entry thead td { background: var(--sumi); color: #fff; font-weight: 500; font-size: 13.5px; letter-spacing: .1em; border-bottom: 0; }
.entry tbody th { width: 28%; background: var(--kinari); color: var(--ink); font-weight: 500; letter-spacing: .06em; }
.entry .table--kv tbody td:first-child, .entry table.table--kv tbody tr > :first-child { width: 28%; background: var(--kinari); color: var(--ink); font-weight: 500; letter-spacing: .06em; }
.entry .wp-block-table.is-style-stripes { border-bottom: 0; }
.entry .wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background: #fafaf8; }
.entry .wp-block-table figcaption { text-align: left; }
.entry .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 767px) {
	.entry table { font-size: 13.5px; }
	.entry th, .entry td { padding: 14px 14px; }
	/* 項目名＋内容の2列の表は、スマホでは縦に積む */
	.entry table.table--kv, .entry table.table--kv tbody, .entry table.table--kv tr, .entry table.table--kv th, .entry table.table--kv td { display: block; width: 100%; }
	.entry table.table--kv tbody tr > :first-child { width: 100%; padding-block: 10px; border-bottom: 0; }
	.entry table.table--kv tbody tr > :last-child { width: 100%; padding-top: 12px; }
}

/* --- 記事一覧 --- */
.posts { display: grid; gap: 48px 32px; }
.posts__link { display: grid; gap: 12px; text-decoration: none; color: var(--ink); }
.posts__thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--kinari); }
.posts__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.posts__link:hover .posts__thumb img { transform: scale(1.04); }
.posts__date { font-size: 12.5px; letter-spacing: .12em; color: var(--kin); }
.posts__title { font-family: var(--f-head); font-feature-settings: "palt" 1; font-weight: 600; font-size: 17px; line-height: 1.7; letter-spacing: .06em; transition: color .3s; }
.posts__link:hover .posts__title { color: var(--kin); }
@media (min-width: 640px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .posts { grid-template-columns: repeat(3, 1fr); } }
.navigation.pagination { margin-top: 64px; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.nav-links .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--line); text-decoration: none; font-size: 14px; color: var(--ink); transition: background-color .3s, color .3s; }
.nav-links .page-numbers.current, .nav-links a.page-numbers:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.post-nav { max-width: 840px; margin: 72px auto 0; display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 28px; }
.post-nav a { display: grid; gap: 4px; text-decoration: none; color: var(--ink); font-size: 14.5px; }
.post-nav a span { font-size: 12px; letter-spacing: .14em; color: var(--kin); }
@media (min-width: 768px) { .post-nav { grid-template-columns: 1fr 1fr; } .post-nav div:last-child { text-align: right; } }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

/* ==========================================================================
   見出しは明朝（約物・かなのプロポーショナル詰め＝palt でカーニング調整）
   ========================================================================== */
.sec-title__en, .sec-title__ja, .hero__catch, .hero__sub, .intro__title, .tl__title, .reason__title, .case__title,
.svc__en, .svc__intro h4, .card__title, .mission__closing, .cta__title, .about__name, .about__name span,
.area__pref, .skills__group summary, .groups h3, .map__title, .marquee__group, .stats__num, .pay__methods,
.phero__en, .phero__title, .entry h2, .entry h3, .entry summary {
	font-family: var(--f-head);
	font-feature-settings: "palt" 1;
	font-kerning: normal;
}
.sec-title__en, .hero__catch, .intro__title, .svc__en, .mission__closing, .cta__title, .marquee__group, .stats__num { font-weight: 500; }
.sec-title__ja, .hero__sub, .tl__title, .reason__title, .case__title, .svc__intro h4, .card__title, .about__name, .area__pref, .skills__group summary, .groups h3, .map__title, .pay__methods, .phero__title, .entry h2, .entry h3 { font-weight: 600; }
.phero__en { font-weight: 500; }
.hero__catch { letter-spacing: .08em; line-height: 1.42; }
.sec-title__en { letter-spacing: .01em; }
.sec-title__ja { letter-spacing: .18em; }
.intro__title, .mission__closing, .cta__title { letter-spacing: .12em; }
.tl__title, .reason__title { letter-spacing: .1em; }
.card__title { letter-spacing: .08em; font-size: 18px; }

/* ==========================================================================
   Motion（JS有効かつ「視差効果を減らす」がオフの環境のみ）
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
	.js .hero__catch .ln > span { transform: translateY(105%); transition: transform 1.4s var(--ease); }
	.js .hero__catch .ln:nth-child(2) > span { transition-delay: .14s; }
	.js .hero__catch .ln:nth-child(3) > span { transition-delay: .28s; }
	.js .hero__brand, .js .hero__sub, .js .hero__lead, .js .hero__actions { opacity: 0; transform: translateY(14px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
	.js .hero__sub { transition-delay: .8s; }
	.js .hero__lead { transition-delay: .95s; }
	.js .hero__actions { transition-delay: 1.1s; }
	.js.is-ready .hero__catch .ln > span,
	.js.is-ready .hero__brand, .js.is-ready .hero__sub, .js.is-ready .hero__lead, .js.is-ready .hero__actions { transform: none; opacity: 1; }
	.js.is-ready .hero__brand { opacity: .92; }

	.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
	.js [data-reveal].is-in { opacity: 1; transform: none; }
	.js .card[data-reveal] { transition-delay: calc(var(--d) * 100ms); }

	.js [data-reveal="mask"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); translate: 0 .5em; transition: clip-path 1.3s var(--ease), translate 1.3s var(--ease); }
	.js [data-reveal="mask"].is-in { clip-path: inset(-.3em -.3em -.5em -.3em); translate: 0 0; }

	.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(0 100% 0 0); transition: clip-path 1.5s var(--ease-in-out); }
	.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0); }
	.js [data-reveal="clip"] img { transform: scale(1.16); transition: transform 2.2s var(--ease); }
	.js [data-reveal="clip"].is-in img { transform: scale(1); }

	.js [data-split] .ch { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--ci) * 45ms); }
	.js [data-split].is-in .ch { transform: none; }

	/* 全画面メニュー */
	.drawer.is-open .drawer__media { animation: wipeR 1s var(--ease-in-out) both; }
	.drawer.is-open .drawer__panel { animation: fadeIn .6s var(--ease) both; }
	.drawer.is-open .dnav__item { animation: fadeUp .9s var(--ease) both; animation-delay: calc(var(--n) * 60ms + 250ms); }
	.drawer.is-open .drawer__foot { animation: fadeUp .9s var(--ease) .7s both; }
	.drawer.is-open .drawer__brand { animation: fadeUp 1s var(--ease) .8s both; }
	.drawer.is-closing { animation: fadeOut .45s var(--ease) both; }
	@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
	@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
	@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }
	@keyframes wipeR { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

	/* ふわっと表示（MISSION本文） */
	.js [data-reveal="soft"] { opacity: 0; transform: translateY(18px); filter: blur(6px); transition: opacity 1.8s var(--ease), transform 1.8s var(--ease), filter 1.8s var(--ease); }
	.js [data-reveal="soft"].is-in { opacity: 1; transform: none; filter: blur(0); }

	/* モノ宿：縦書きを1列ずつ */
	.js [data-reveal="lines"] { opacity: 1; transform: none; }
	.js [data-reveal="lines"] .pl { opacity: 0; clip-path: inset(0 0 100% 0); transition: clip-path 1.8s cubic-bezier(.33, 0, .2, 1), opacity 1.6s cubic-bezier(.33, 0, .2, 1); transition-delay: calc(var(--li) * 700ms + 200ms); }
	.js [data-reveal="lines"].is-in .pl { opacity: 1; clip-path: inset(-1em -1em -1em -1em); }
	.js [data-reveal="poem"] { opacity: 1; transform: none; }
	.js [data-reveal="poem"] .pl { opacity: 0; clip-path: inset(0 0 100% 0); transition: clip-path 2.6s cubic-bezier(.33, 0, .2, 1), opacity 2.6s cubic-bezier(.33, 0, .2, 1); transition-delay: calc(var(--li) * 650ms + 300ms); }
	.js [data-reveal="poem"].is-in .pl { opacity: 1; clip-path: inset(-1em -1em -1em -1em); }
	@media (max-width: 999px) {
		.js [data-reveal="poem"] .pl { clip-path: inset(0 100% 0 0); }
	}

	[data-parallax] { will-change: transform; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.marquee__track { animation: none; }
	.hero__scroll::before { animation: none; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
/* TOPのセクションを埋め込んだページ：本文とセクションの間を詰める */
.page-body--before-sec { padding-bottom: 0; }
.page-body--after-sec { padding-top: clamp(56px, 7vw, 96px); }
/* タイトルなしのページ（TOPのセクションを使ったページなど）：ヘッダーの下からすぐ本文 */
.pcompact { height: var(--header-h); }
.pcompact + section, .pcompact + .section { padding-top: clamp(40px, 5vw, 72px); }
.pcompact + .page-body { padding-top: clamp(40px, 5vw, 72px); }
.pcompact + .hero, .pcompact + .mission, .pcompact + .case, .pcompact + .map { padding-top: 0; }
.sw-notice { padding: 14px 18px; border: 1px dashed var(--kin); color: var(--kin); font-size: 13px; }

/* ==========================================================================
   お問い合わせフォーム（Contact Form 7 ／ .sw-contact）
   ========================================================================== */
.entry .wpcf7 { margin-top: clamp(40px, 5vw, 64px); }
.entry > .wpcf7 + * { margin-top: 2.4em; }
.sw-contact {
	position: relative; display: grid; gap: 30px;
	padding: clamp(28px, 5vw, 60px) clamp(20px, 5vw, 60px) clamp(32px, 5vw, 56px);
	background: #fff; border: 1px solid var(--line);
	font-family: var(--f-gothic); color: var(--ink);
}
.sw-contact::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: linear-gradient(90deg, var(--kin) 0 64px, transparent 64px); }
.sw-contact br { display: none; }
.sw-row { display: grid; gap: 30px 28px; }
@media (min-width: 640px) { .sw-row--2 { grid-template-columns: 1fr 1fr; } }
.sw-field { display: grid; gap: 10px; align-content: start; min-width: 0; }
.sw-field > label { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; letter-spacing: .08em; line-height: 1.6; }
.sw-badge { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; font-size: 10.5px; font-weight: 500; letter-spacing: .12em; line-height: 1; border-radius: 1px; }
.sw-badge--req { background: var(--kin); color: #fff; }
.sw-badge--opt { border: 1px solid var(--line); color: var(--hai); }
.sw-contact .wpcf7-form-control-wrap { display: block; }
.sw-contact input[type="text"], .sw-contact input[type="email"], .sw-contact input[type="tel"], .sw-contact input[type="url"], .sw-contact input[type="number"], .sw-contact input[type="date"], .sw-contact select, .sw-contact textarea {
	display: block; width: 100%; min-height: 56px; margin: 0; padding: 14px 18px;
	font: inherit; font-size: 16px; letter-spacing: .04em; line-height: 1.7; color: var(--ink);
	background: var(--gofun); border: 1px solid transparent; border-bottom-color: rgba(28, 28, 32, .22); border-radius: 0;
	-webkit-appearance: none; appearance: none;
	transition: border-color .35s var(--ease), background-color .35s var(--ease), box-shadow .35s var(--ease);
}
.sw-contact textarea { min-height: 240px; resize: vertical; }
.sw-contact select { padding-right: 48px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23a8895a' stroke-width='1.3'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; background-size: 12px 8px; }
.sw-contact select:has(option[value=""]:checked) { color: #a3a3a9; }
.sw-contact select option { color: var(--ink); }
.sw-contact ::placeholder { color: #a3a3a9; opacity: 1; }
.sw-contact input:hover, .sw-contact select:hover, .sw-contact textarea:hover { border-bottom-color: var(--kin); }
.sw-contact input:focus, .sw-contact select:focus, .sw-contact textarea:focus { outline: none; background-color: #fff; border-color: var(--kin); box-shadow: 0 0 0 3px rgba(168, 137, 90, .16); }
.sw-contact .wpcf7-not-valid { border-color: #b4553f !important; background-color: #fdf6f4; }
.sw-contact .wpcf7-not-valid-tip { display: block; margin-top: 8px; font-size: 12.5px; letter-spacing: .04em; color: #b4553f; }
.sw-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 同意チェック */
.sw-agree { display: grid; gap: 10px; padding: 22px 24px; background: var(--kinari); }
.sw-agree .wpcf7-list-item { display: block; margin: 0; }
.sw-agree label { display: inline-flex; align-items: flex-start; gap: 12px; font-size: 14.5px; font-weight: 500; letter-spacing: .06em; line-height: 1.7; cursor: pointer; }
.sw-agree input[type="checkbox"] {
	flex: none; width: 22px; height: 22px; margin: 1px 0 0; cursor: pointer;
	-webkit-appearance: none; appearance: none; background: #fff center / 13px 10px no-repeat; border: 1px solid rgba(28, 28, 32, .35); border-radius: 1px;
	transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.sw-agree input[type="checkbox"]:checked { background-color: var(--kin); border-color: var(--kin); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 10'%3E%3Cpath d='M1 5l3.6 3.6L12 1' fill='none' stroke='%23fff' stroke-width='1.8'/%3E%3C/svg%3E"); }
.sw-agree input[type="checkbox"]:focus-visible { outline: 2px solid var(--kin); outline-offset: 2px; }
.sw-contact .sw-note { margin: 0; padding-left: 34px; font-size: 12.5px; line-height: 1.9; color: var(--hai); }

/* 送信 */
.sw-submit-wrap { display: grid; justify-items: center; gap: 22px; padding-top: 6px; }
.sw-submit-wrap .cf7-cf-turnstile, .sw-submit-wrap .cf-turnstile { margin: 0 !important; }
.sw-contact .sw-submit {
	display: block; width: 100%; max-width: 360px; min-height: 62px; padding: 0 32px; margin: 0;
	font: inherit; font-size: 15px; font-weight: 500; letter-spacing: .24em; color: #fff;
	background: var(--kin); border: 0; border-radius: 2px; cursor: pointer;
	-webkit-appearance: none; appearance: none;
	transition: background-color .45s var(--ease), opacity .3s;
}
.sw-contact .sw-submit:hover { background: var(--ink); }
.sw-contact .sw-submit:focus-visible { outline: 2px solid var(--kin); outline-offset: 3px; }
.sw-contact .sw-submit:disabled { opacity: .4; cursor: not-allowed; background: var(--kin); }
.sw-submit-wrap .wpcf7-spinner { margin: 0; background-color: var(--kin); }
.wpcf7 form .wpcf7-response-output { margin: 24px 0 0; padding: 18px 22px; border: 1px solid var(--line); border-left: 3px solid var(--kin); background: #fff; font-size: 14px; line-height: 1.9; letter-spacing: .04em; color: var(--ink); }
.wpcf7 form.sent .wpcf7-response-output { border-color: var(--kin); background: rgba(203, 179, 138, .12); }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.aborted .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output { border-color: rgba(180, 85, 63, .35); border-left-color: #b4553f; background: #fdf6f4; }
@media (max-width: 639px) {
	.sw-contact { gap: 26px; margin-inline: calc(var(--gutter) * -1 + 8px); }
	.sw-agree { padding: 18px; }
	.sw-contact .sw-note { padding-left: 0; }
}

/* ==========================================================================
   よくある質問（固定ページ ／ .sw-faq）
   ========================================================================== */
.entry .sw-faq { display: block; }
.entry .sw-faq > * + * { margin-top: 1.5em; }
.entry .sw-faq > .sw-faq__nav { margin-top: 28px; }
.entry .sw-faq > .sw-faq__group { margin-top: clamp(56px, 7vw, 88px); }
.entry .sw-faq > :first-child { margin-top: 0; }
.sw-faq__nav { display: flex; flex-wrap: wrap; gap: 10px; }
.entry .sw-faq__nav a:not(.btn) { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); background: #fff; font-size: 13.5px; letter-spacing: .08em; color: var(--ink); text-decoration: none; transition: border-color .35s var(--ease), color .35s var(--ease); }
.entry .sw-faq__nav a::after { content: ""; width: 6px; height: 6px; margin-top: -3px; border-right: 1px solid var(--kin); border-bottom: 1px solid var(--kin); transform: rotate(45deg); }
.entry .sw-faq__nav a:not(.btn):hover { border-color: var(--kin); color: var(--kin); }
.sw-faq__group { scroll-margin-top: calc(var(--header-h) + 32px); }
.entry .sw-faq__cat { margin: 0 0 clamp(20px, 3vw, 32px); }
.entry .sw-faq__item { padding: 0; border-top: 1px solid var(--line); border-bottom: 0; }
.entry .sw-faq__item:last-child { border-bottom: 1px solid var(--line); }
.entry .sw-faq__item > summary {
	display: grid; grid-template-columns: 2.2em 1fr 20px; align-items: start; gap: 12px;
	padding: 26px 4px 26px 0; list-style: none; cursor: pointer;
	font-family: var(--f-head); font-weight: 600; font-size: clamp(15.5px, 1.5vw, 17px); line-height: 1.8; letter-spacing: .06em; color: var(--ink); font-feature-settings: "palt";
	transition: color .3s var(--ease);
}
.entry .sw-faq__item > summary::-webkit-details-marker { display: none; }
.entry .sw-faq__item > summary:hover { color: var(--kin); }
.entry .sw-faq__item > summary::before { content: "Q"; font-family: var(--f-head); font-size: 1.5em; line-height: 1.1; color: var(--kin); }
.entry .sw-faq__item > summary::after {
	content: ""; position: static; width: 14px; height: 14px; margin-top: .45em; border: 0; transform: none;
	background: linear-gradient(var(--kin), var(--kin)) center / 14px 1px no-repeat, linear-gradient(var(--kin), var(--kin)) center / 1px 14px no-repeat;
	transition: background-size .4s var(--ease), transform .4s var(--ease);
}
.entry .sw-faq__item[open] > summary::after { top: auto; transform: rotate(180deg); background-size: 14px 1px, 1px 0; }
.entry .sw-faq__item > summary:focus-visible { outline: 2px solid var(--kin); outline-offset: 4px; }
.entry .sw-faq__item > .sw-faq__a { position: relative; margin: 0; padding: 0 0 30px calc(2.2em + 12px); }
.sw-faq__a::before { content: "A"; position: absolute; left: 0; top: -.1em; font-family: var(--f-head); font-size: 1.5em; line-height: 1.4; color: var(--hai); }
.entry .sw-faq__a > * + * { margin-top: 1em; }
.entry .sw-faq__a p { line-height: 2; }
.sw-faq__a { overflow: hidden; }
@media (max-width: 639px) {
	.entry .sw-faq__item > summary { grid-template-columns: 1.8em 1fr 16px; gap: 10px; padding-block: 22px; }
	.entry .sw-faq__item > .sw-faq__a { padding-left: calc(1.8em + 10px); }
	.sw-faq__nav { display: grid; grid-template-columns: 1fr; gap: 6px; }
	.entry .sw-faq__nav a:not(.btn) { justify-content: space-between; gap: 10px; min-height: 46px; padding: 8px 14px; font-size: 13px; letter-spacing: .04em; line-height: 1.5; }
}

/* ==========================================================================
   制作実績：リンクカード（[sw_card] / [sw_cards]）
   ========================================================================== */
.entry .lcard-wrap { margin-block: 2em; }
.entry a.lcard:not(.btn) { display: grid; color: var(--ink); text-decoration: none; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: border-color .45s var(--ease), box-shadow .45s var(--ease), transform .45s var(--ease); }
.entry a.lcard:not(.btn):hover { color: var(--ink); text-decoration: none; border-color: var(--kin); box-shadow: 0 18px 40px -24px rgba(23, 23, 26, .35); transform: translateY(-3px); }
.lcard__media { position: relative; display: block; overflow: hidden; background: var(--kinari); aspect-ratio: 1200 / 630; }
.lcard__media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1.2s var(--ease); }
.entry a.lcard:hover .lcard__media img { transform: scale(1.04); }
.lcard__body { display: grid; align-content: start; gap: 8px; padding: 20px 22px 22px; min-width: 0; }
.lcard__label { justify-self: start; padding: 3px 10px; background: var(--kinari); font-size: 11px; letter-spacing: .12em; color: var(--kin); }
.lcard__title { font-family: var(--f-head); font-weight: 600; font-size: 16.5px; line-height: 1.6; letter-spacing: .05em; font-feature-settings: "palt"; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lcard__desc { font-size: 12.5px; line-height: 1.9; color: var(--hai); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lcard__host { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 11.5px; letter-spacing: .06em; color: var(--hai); }
.lcard__host::after { content: ""; width: 10px; height: 10px; margin-left: auto; background: var(--kin); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M3 1h6v6M9 1L1 9' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M3 1h6v6M9 1L1 9' fill='none' stroke='%23000' stroke-width='1.2'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (min-width: 640px) {
	.entry a.lcard--wide { grid-template-columns: 300px 1fr; }
	.entry a.lcard--wide .lcard__media { aspect-ratio: auto; min-height: 168px; }
	.entry a.lcard--wide .lcard__body { padding: 24px 28px; align-content: center; }
}
.entry .lcards { display: grid; gap: 20px; margin-block: 2em; }
@media (min-width: 640px) { .entry .lcards { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (min-width: 1100px) { .entry .lcards { --w: min(var(--wrap), calc(100vw - var(--gutter) * 2)); grid-template-columns: repeat(3, 1fr); width: var(--w); margin-left: calc((100% - var(--w)) / 2); } }
.lcards .lcard__title { font-size: 15.5px; }

/* ==========================================================================
   ギャラリー：画面幅いっぱいのタイル敷き（写真の縦横比を保って行ごとに揃える／クリックで全画面表示）
   ========================================================================== */
.entry .wp-block-gallery {
	--row: 132px;
	display: flex !important; flex-wrap: wrap; gap: 4px !important;
	width: 100vw; max-width: none; margin-left: calc(50% - 50vw); margin-block: 3em; padding: 0 4px;
}
.entry .wp-block-gallery::after { content: ""; flex: 999 1 0; }
.entry .wp-block-gallery > figure.wp-block-image {
	flex: var(--r, 1.5) 1 calc(var(--r, 1.5) * var(--row)) !important; width: auto !important; height: var(--row); margin: 0 !important;
	position: relative; overflow: hidden; background: var(--kinari); cursor: zoom-in;
}
.entry .wp-block-gallery > figure.wp-block-image img { width: 100% !important; height: 100% !important; object-fit: cover !important; transition: transform 1.2s var(--ease); }
.entry .wp-block-gallery > figure.wp-block-image:hover img { transform: scale(1.04); }
.entry .wp-block-gallery > figure.wp-block-image > a { display: block; height: 100%; }
.entry .wp-block-gallery > figure.wp-block-image:focus-visible { outline: 2px solid var(--kin); outline-offset: -2px; }
.entry .wp-block-gallery figure.wp-block-image figcaption { position: absolute; left: 0; right: 0; bottom: 0; max-height: none; margin: 0 !important; padding: 28px 14px 10px !important; background: linear-gradient(transparent, rgba(23, 23, 26, .7)) !important; color: #fff !important; font-size: 12px !important; text-align: left !important; opacity: 0; transition: opacity .4s var(--ease); }
.entry .wp-block-gallery > figure:hover figcaption { opacity: 1; }
.entry .wp-block-gallery > .blocks-gallery-caption { flex: 0 0 100%; order: 999; margin-top: 6px !important; color: var(--hai); text-align: center; font-size: 12.5px; }
.entry .wp-block-gallery .lightbox-trigger { display: none !important; }
@media (min-width: 768px) { .entry .wp-block-gallery { --row: 260px; gap: 6px !important; padding: 0 6px; } }
@media (min-width: 1400px) { .entry .wp-block-gallery { --row: 320px; } }

/* 全画面ビューア */
.lb { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-rows: auto 1fr auto; background: rgba(15, 15, 17, .96); color: #fff; opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility 0s .4s; touch-action: none; }
.lb.is-open { opacity: 1; visibility: visible; transition: opacity .4s var(--ease); }
.lb__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(14px, 3vw, 28px); font-size: 12.5px; letter-spacing: .14em; color: rgba(255, 255, 255, .7); }
.lb__tools { display: flex; gap: 6px; }
.lb button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%; background: rgba(255, 255, 255, .04); color: #fff; cursor: pointer; transition: background-color .3s, border-color .3s; }
.lb button:hover { background: rgba(255, 255, 255, .12); border-color: var(--kin-light); }
.lb button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.lb__stage { position: relative; overflow: hidden; display: grid; place-items: center; cursor: grab; }
.lb__stage.is-dragging { cursor: grabbing; }
.lb__img { max-width: 94vw; max-height: calc(100vh - 150px); max-height: calc(100svh - 150px); object-fit: contain; user-select: none; -webkit-user-drag: none; transform-origin: 50% 50%; will-change: transform; }
.lb__stage.is-anim .lb__img { transition: transform .35s var(--ease); }
.lb__nav { position: absolute; top: 50%; translate: 0 -50%; z-index: 1; }
.lb__nav--prev { left: clamp(8px, 2vw, 24px); }
.lb__nav--next { right: clamp(8px, 2vw, 24px); }
.lb__cap { min-height: 52px; padding: 12px 20px 18px; text-align: center; font-size: 13px; line-height: 1.8; color: rgba(255, 255, 255, .75); }
body.lb-open { overflow: hidden; }
@media (max-width: 767px) { .lb__nav { display: none !important; } }

/* ==========================================================================
   動画を並べる（[sw_videos] / [sw_video]）
   ========================================================================== */
.entry .vgrids { display: grid; gap: clamp(28px, 4vw, 44px); margin-block: 2.2em; }
.entry .vgrids > * + *, .entry .vgrid > * + * { margin-top: 0; }
.entry .vgrid { display: grid; gap: 20px 16px; }
.entry .vgrid--h { grid-template-columns: 1fr; }
.entry .vgrid--v { grid-template-columns: repeat(2, 1fr); gap: 16px 10px; }
@media (min-width: 640px) {
	.entry .vgrid--h { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
	.entry .vgrid--v { grid-template-columns: repeat(3, 1fr); gap: 24px 16px; }
}
@media (min-width: 1100px) {
	.entry .vgrids { --w: min(var(--wrap), calc(100vw - var(--gutter) * 2)); width: var(--w); margin-left: calc((100% - var(--w)) / 2); }
	.entry .vgrid--h { grid-template-columns: repeat(3, 1fr); }
	.entry .vgrid--v { grid-template-columns: repeat(4, 1fr); }
}
.entry .vtile { margin: 0; min-width: 0; }
.vtile__frame { position: relative; overflow: hidden; background: var(--sumi); aspect-ratio: 16 / 9; }
/* 縦長（ショート・Instagram）はすべて同じ高さ（Instagram上部のアカウント表示ぶんを含む）にそろえる */
.vtile--v .vtile__frame { aspect-ratio: auto; height: 0; padding-bottom: calc(177.78% + 58px); }
.vtile--instagram .vtile__frame { background: #fff; outline: 1px solid var(--line); outline-offset: -1px; }
.vtile__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vtile--instagram .vtile__frame iframe { height: calc(100% + 160px); }
.vtile__play { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--sumi); cursor: pointer; }
.vtile__play img { width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: transform 1s var(--ease), opacity .5s var(--ease); }
.vtile__play:hover img { transform: scale(1.04); opacity: 1; }
.vtile__btn { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(23, 23, 26, .62); border: 1px solid rgba(255, 255, 255, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transition: background-color .4s var(--ease), transform .4s var(--ease); }
.vtile__btn::after { content: ""; position: absolute; left: 50%; top: 50%; margin: -9px 0 0 -6px; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff; }
.vtile__play:hover .vtile__btn { background: var(--kin); border-color: var(--kin); transform: scale(1.06); }
.vtile__play:focus-visible { outline: 2px solid var(--kin); outline-offset: 3px; }
.vtile--v .vtile__btn { width: 54px; height: 54px; margin: -27px 0 0 -27px; }
.entry .vtile__cap { margin-top: 10px; font-size: 13px; line-height: 1.7; letter-spacing: .04em; color: var(--ink); text-align: left; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.entry .vsingle { margin-block: 2em; }
.entry .vsingle .vtile--v { max-width: 360px; margin-inline: auto; }
/* ブロックエディターの埋め込み（YouTubeなど）も16:9に */
.entry .wp-block-embed.is-type-video .wp-block-embed__wrapper { position: relative; aspect-ratio: 16 / 9; }
.entry .wp-block-embed.is-type-video .wp-block-embed__wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ==========================================================================
   制作実績ページ（.is-showcase）：中央ぞろえ・目次
   ========================================================================== */
.is-showcase .entry > h2 { scroll-margin-top: calc(var(--header-h) + 28px); }
.is-showcase .entry > h2:not(:first-child) { margin-top: clamp(88px, 10vw, 136px); }
@media (min-width: 768px) {
	.is-showcase .entry > p { max-width: 44em; margin-inline: auto; text-align: center; }
	.is-showcase .entry > .wp-block-buttons { justify-content: center; }
}
.is-showcase .entry > .wp-block-buttons + .wp-block-buttons { margin-top: 12px; }
.sw-toc { margin-bottom: clamp(56px, 7vw, 88px); padding: clamp(24px, 3vw, 32px) clamp(20px, 3vw, 36px); background: #fff; border: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 20px); }
.entry .sw-toc__title { margin: 0 0 16px; font-family: var(--f-head); font-size: 15px; letter-spacing: .2em; color: var(--kin); text-align: center; }
.sw-toc__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; }
.entry .sw-toc__list a:not(.btn) { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 16px; border: 1px solid var(--line); background: var(--gofun); font-size: 13px; letter-spacing: .06em; color: var(--ink); text-decoration: none; transition: border-color .35s var(--ease), color .35s var(--ease), background-color .35s var(--ease); }
.entry .sw-toc__list a:not(.btn)::after { content: ""; width: 6px; height: 6px; margin-top: -3px; border-right: 1px solid var(--kin); border-bottom: 1px solid var(--kin); transform: rotate(45deg); }
.entry .sw-toc__list a:not(.btn):hover { border-color: var(--kin); color: var(--kin); background: #fff; }
@media (max-width: 639px) {
	.sw-toc__list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
	.entry .sw-toc__list a:not(.btn) { justify-content: space-between; gap: 6px; min-height: 44px; padding: 6px 12px; font-size: 12px; letter-spacing: .02em; line-height: 1.5; }
}
/* 目次へ戻るボタン */
.entry a.toc-fab:not(.btn) { position: fixed; right: clamp(14px, 2.4vw, 28px); bottom: clamp(18px, 3vw, 32px); z-index: 70; display: grid; place-items: center; align-content: center; gap: 4px; width: 60px; height: 60px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 11px; letter-spacing: .12em; text-decoration: none; box-shadow: 0 10px 28px -10px rgba(23, 23, 26, .5); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .4s var(--ease), transform .4s var(--ease), background-color .3s; }
.entry .toc-fab span { width: 14px; height: 9px; background: linear-gradient(#fff, #fff) 0 0 / 100% 1px no-repeat, linear-gradient(#fff, #fff) 0 50% / 100% 1px no-repeat, linear-gradient(#fff, #fff) 0 100% / 100% 1px no-repeat; }
.entry a.toc-fab.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.entry a.toc-fab:not(.btn):hover { background: var(--kin); color: #fff; }
@media (max-width: 767px) { .entry a.toc-fab:not(.btn) { bottom: calc(84px + env(safe-area-inset-bottom)); width: 54px; height: 54px; } }
.sw-works-link { text-align: center; }
.entry .has-text-align-center { text-align: center; }
.entry .has-text-align-right { text-align: right; }
.is-showcase .entry > h2 { text-align: center; }
.is-showcase .entry > h2::before { left: 50%; margin-left: -20px; }
/* 制作実績ページ：カード・動画が1行に満たないときも中央にそろえる */
@media (min-width: 640px) {
	.is-showcase .entry .lcards, .is-showcase .entry .vgrid { display: flex; flex-wrap: wrap; justify-content: center; }
	.is-showcase .entry .lcards > .lcard { flex: 0 1 calc((100% - 24px) / 2); }
	.is-showcase .entry .vgrid--h > .vtile { flex: 0 1 calc((100% - 20px) / 2); }
	.is-showcase .entry .vgrid--v > .vtile { flex: 0 1 calc((100% - 32px) / 3); }
}
@media (min-width: 1100px) {
	.is-showcase .entry .lcards > .lcard { flex-basis: calc((100% - 48px) / 3); }
	.is-showcase .entry .vgrid--h > .vtile { flex-basis: calc((100% - 40px) / 3); }
	.is-showcase .entry .vgrid--v > .vtile { flex-basis: calc((100% - 48px) / 4); }
}
