/* ==========================================================================
   VISE DESIGN — main.css
   白と黒のモノトーン。グレーは補助のみ。
   ========================================================================== */

:root {
	--ink: #111111;
	--white: #ffffff;
	--text: #3d3d3d;
	--mute: #555555;
	--line: #e0e0e0;
	--line-dark: #c4c4c4;
	--tint: #f4f4f4;
	--dark-2: #222222;
	--dark-line: #333333;
	--on-dark: #d2d2d2;
	--on-dark-mute: #b5b5b5;
	--font: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
	--font-en: "Instrument Sans", var(--font);
	--wrap: 1360px;
	--gutter: clamp(20px, 4vw, 48px);
	--ease: cubic-bezier(.7, 0, .2, 1);
}

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

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

body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.8;
	font-feature-settings: "palt" 1;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
a:hover { color: var(--mute); }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
button { font: inherit; }

:focus-visible { outline: 2px solid #888888; outline-offset: 3px; }

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

.skip-link {
	position: absolute; left: 12px; top: -48px; z-index: 100;
	padding: 8px 16px; background: var(--white); color: var(--ink);
}
.skip-link:focus { top: 12px; }

.container { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 26px; border-radius: 999px;
	border: 1px solid transparent; font-weight: 700; font-size: 15px;
	text-decoration: none; cursor: pointer;
	transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 14px; }
.btn--lg { min-height: 56px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { color: var(--ink); background: #e9e9e9; }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { color: var(--white); background: #333333; }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { color: var(--white); background: var(--ink); }
.btn--ghost-light { border-color: #6e6e6e; color: var(--white); background: transparent; }
.btn--ghost-light:hover { color: var(--white); border-color: var(--white); }

@media (prefers-reduced-motion: reduce) {
	.btn, .btn:hover { transition: none; transform: none; }
}

/* ---------- Header / Footer ---------- */
.site-header { background: var(--ink); color: var(--white); }
.site-header__inner {
	max-width: var(--wrap); margin: 0 auto; padding: 18px var(--gutter);
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px;
}
.site-header__logo { display: flex; align-items: center; min-height: 44px; color: var(--white); }
.site-header__logo:hover { color: var(--white); }
.vise-logo { display: block; width: auto; }
.vise-logo--header { height: 22px; }
.vise-logo--footer { height: 18px; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; font-size: 14px; font-weight: 500; }
.site-nav__list { display: flex; flex-wrap: wrap; gap: 4px 28px; margin: 0; padding: 0; list-style: none; }
.site-nav__list a { display: inline-block; padding: 10px 0; color: var(--white); text-decoration: none; }
.site-nav__list a:hover, .site-nav__list .current-menu-item > a { color: var(--on-dark-mute); }

.site-footer { border-top: 1px solid #e4e4e4; }
.site-footer__inner {
	max-width: var(--wrap); margin: 0 auto; padding: 40px var(--gutter);
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 40px;
}
.site-footer__brand { display: flex; align-items: center; gap: 16px; }
.site-footer__brand a { color: var(--ink); }
.site-footer__area { font-size: 13px; color: var(--mute); }
.site-footer__list { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 0; padding: 0; list-style: none; font-size: 13px; }
.site-footer__list a { display: inline-block; padding: 10px 0; text-decoration: none; }
.site-footer__copy { font-family: var(--font-en); font-size: 12px; color: var(--mute); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(80px, 10vw, 140px); }
.section--tint { background: var(--tint); }
.section--line { border-top: 1px solid #e4e4e4; }
.section--dark { background: var(--ink); color: var(--white); }
.section__head {
	display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
	gap: 16px 40px; margin-bottom: 48px;
}
.section__title { font-size: clamp(32px, 4.6vw, 64px); font-weight: 900; line-height: 1.25; }
.section__lead { max-width: 30em; color: var(--mute); font-size: 15px; }
.section__head .section__lead { margin-top: 12px; }
.section__head > .section__lead { margin-top: 0; }
.eyebrow { margin-bottom: 12px; font-family: var(--font-en); font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--mute); }
.note { margin-top: 20px; font-size: 14px; color: var(--mute); }

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: var(--white); }
.hero__frame { display: flex; align-items: stretch; min-height: min(760px, calc(100svh - 80px)); }
.hero__slab { flex: 0 0 clamp(28px, 8%, 120px); background: var(--ink); transition: flex-basis 1.1s var(--ease), background-color .9s ease; }
/* 万力が締まる間だけ白い板を見せ、締まり終わったら背景と同じ #111111 に溶け込ませる */
.hero.is-stage-0 .hero__slab, .hero.is-stage-1 .hero__slab, .hero.is-stage-2 .hero__slab,
.vise-anim .hero:not(.is-run) .hero__slab { background: var(--white); }
.hero__content {
	flex: 1 1 auto; min-width: 0; overflow: hidden;
	display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
	padding: clamp(36px, 5vw, 64px) clamp(20px, 4vw, 56px);
}
.hero__meta {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
	font-family: var(--font-en); font-size: 12px; font-weight: 600; letter-spacing: .24em; color: #a8a8a8;
	transition: opacity .9s ease;
}
.hero__center { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.hero__title { width: 100%; display: flex; justify-content: center; }
.hero__logo { width: min(100%, 980px); height: auto; overflow: visible; fill: var(--white); }
.hero__letter { transition: transform 1.1s var(--ease), opacity .7s ease; }
.hero__line {
	display: block; width: min(60%, 520px); height: 1px; background: var(--white);
	transform-origin: center; transition: transform 1s var(--ease);
}
.hero__catch { font-size: clamp(24px, 3.2vw, 44px); font-weight: 900; letter-spacing: .08em; text-align: center; }
.hero__catch, .hero__foot { transition: transform .9s cubic-bezier(.2, .7, .2, 1), opacity .9s ease; }
.hero__foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; }
.hero__lead { max-width: 32em; font-size: clamp(15px, 1.3vw, 17px); color: #cfcfcf; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.no-js [data-hero-replay] { display: none; }

/* 演出：JS が is-stage-0 → 3 を付け替える。クラスがなければ完成形のまま。 */
.hero.is-stage-0 .hero__slab,
.vise-anim .hero:not(.is-run) .hero__slab,
.hero.is-stage-1 .hero__slab { flex-basis: 0; }
.hero.is-stage-0 .hero__meta,
.vise-anim .hero:not(.is-run) .hero__meta { opacity: 0; }
.hero.is-stage-0 .hero__letter,
.vise-anim .hero:not(.is-run) .hero__letter { opacity: 0; }
.hero.is-stage-0 .hero__letter--v,
.vise-anim .hero:not(.is-run) .hero__letter--v { transform: translate(-78px, 10px); }
.hero.is-stage-0 .hero__letter--i,
.vise-anim .hero:not(.is-run) .hero__letter--i { transform: translate(-26px, 42px); }
.hero.is-stage-0 .hero__letter--s,
.vise-anim .hero:not(.is-run) .hero__letter--s { transform: translate(26px, 6px); }
.hero.is-stage-0 .hero__letter--e,
.vise-anim .hero:not(.is-run) .hero__letter--e { transform: translate(78px, 38px); }
.hero.is-stage-1 .hero__letter--v { transform: translate(-78px, -14px); }
.hero.is-stage-1 .hero__letter--i { transform: translate(-26px, 18px); transition-delay: .08s; }
.hero.is-stage-1 .hero__letter--s { transform: translate(26px, -18px); transition-delay: .16s; }
.hero.is-stage-1 .hero__letter--e { transform: translate(78px, 14px); transition-delay: .24s; }
.hero.is-stage-0 .hero__line,
.vise-anim .hero:not(.is-run) .hero__line,
.hero.is-stage-1 .hero__line,
.hero.is-stage-2 .hero__line { transform: scaleX(0); }
.hero.is-stage-0 .hero__catch,
.vise-anim .hero:not(.is-run) .hero__catch,
.hero.is-stage-1 .hero__catch,
.hero.is-stage-2 .hero__catch,
.hero.is-stage-0 .hero__foot,
.vise-anim .hero:not(.is-run) .hero__foot,
.hero.is-stage-1 .hero__foot,
.hero.is-stage-2 .hero__foot { opacity: 0; transform: translateY(24px); }

@media (prefers-reduced-motion: reduce) {
	.hero__slab, .hero__letter, .hero__line, .hero__catch, .hero__foot, .hero__meta { transition: none; }
}

/* ---------- Mail CTA（フォーム導入までの仮の問い合わせ） ---------- */
.contact-mail { display: flex; flex-direction: column; gap: 20px; padding: clamp(28px, 4vw, 44px); border: 1px solid var(--dark-line); border-radius: 24px; background: var(--dark-2); }
.contact-mail__label { font-size: 14px; color: var(--on-dark-mute); }
.contact-mail__address { font-family: var(--font-en); font-size: clamp(22px, 2.6vw, 32px); font-weight: 600; color: var(--white); word-break: break-all; }
.contact-mail__list { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--on-dark); }
.contact-mail .btn svg { flex: 0 0 auto; }

/* ---------- Chips / Tabs ---------- */
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 32px; padding: 0; list-style: none; }
.chip {
	display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px;
	border-radius: 999px; border: 1px solid var(--ink); background: var(--white); color: var(--ink);
	font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer;
	transition: background-color .25s ease, color .25s ease;
}
.chip:hover { color: var(--ink); background: var(--tint); }
.chip[aria-selected="true"], .chip.is-active { background: var(--ink); color: var(--white); }
.chip__count { margin-left: 6px; font-family: var(--font-en); font-weight: 500; opacity: .7; }

.no-js [role="tabpanel"][hidden] { display: block; }
.no-js .industry-panel[hidden] { display: grid; }

.industry-panel {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink);
}
.industry-panel[hidden] { display: none; }
.industry-panel__col { padding: 28px 28px 32px 0; color: var(--text); }
.industry-panel__col + .industry-panel__col { padding-left: 28px; border-left: 1px solid var(--line); }
.industry-panel__col--tint { background: var(--tint); }
.industry-panel__pain { font-size: clamp(18px, 1.7vw, 22px); font-weight: 700; line-height: 1.6; color: var(--ink); }
@media (max-width: 640px) {
	.industry-panel__col, .industry-panel__col + .industry-panel__col { padding: 24px 0; border-left: 0; border-top: 1px solid var(--line); }
	.industry-panel__col--tint { padding-inline: 16px; }
	.industry-panel__col:first-child { border-top: 0; }
}

/* ---------- Service ---------- */
.service { display: flex; flex-wrap: wrap; gap: 32px; }
.service__list { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.service__tab {
	display: flex; align-items: center; gap: 20px; width: 100%; min-height: 84px; padding: 0 20px;
	border: 0; border-bottom: 1px solid var(--ink); background: transparent; color: var(--ink);
	text-align: left; cursor: pointer; transition: background-color .25s ease, color .25s ease;
}
.service__tab[aria-selected="true"] { background: var(--ink); color: var(--white); }
.service__no { font-family: var(--font-en); font-weight: 600; font-size: 15px; opacity: .8; }
.service__name { flex: 1 1 auto; font-size: clamp(18px, 1.7vw, 21px); font-weight: 700; line-height: 1.45; padding-block: 12px; }
.service__panel {
	flex: 999 1 460px; min-width: 0; min-height: 420px; padding: clamp(28px, 4vw, 56px);
	background: var(--ink); color: var(--white);
	display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
}
.service__panel[hidden] { display: none; }
.no-js .service__panel[hidden] { display: flex; }
.service__count { margin-bottom: 8px; font-family: var(--font-en); font-weight: 600; font-size: 15px; color: var(--on-dark-mute); }
.service__heading { margin-bottom: 20px; font-size: clamp(26px, 3vw, 40px); font-weight: 900; line-height: 1.35; }
.service__desc { max-width: 32em; margin-bottom: 28px; color: #d9d9d9; }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pill-list li { padding: 6px 14px; border: 1px solid #4d4d4d; border-radius: 999px; font-size: 13px; color: #e6e6e6; }
.service__price {
	display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px;
	padding-top: 24px; border-top: 1px solid var(--dark-line);
}
.service__label { font-size: 13px; color: var(--on-dark-mute); }
.service__yen { font-family: var(--font-en); font-weight: 600; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.2; }
.service__yen span { font-family: var(--font); font-size: 15px; font-weight: 500; }
.service__yen--text { font-family: var(--font); font-weight: 700; font-size: clamp(24px, 2.6vw, 32px); }

/* ---------- Works ---------- */
.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 48px 32px; }
.work-card__link { display: flex; flex-direction: column; gap: 14px; color: var(--ink); text-decoration: none; transition: transform .25s ease; }
.work-card__link:hover { color: var(--ink); transform: translateY(-2px); }
.work-card__thumb { position: relative; aspect-ratio: 16 / 10; background: #e2e2e2; overflow: hidden; }
.work-card__img { width: 100%; height: 100%; object-fit: cover; }
.work-card__title { font-size: 19px; font-weight: 700; line-height: 1.5; }
.work-card__client { font-size: 14px; color: var(--mute); }
@media (prefers-reduced-motion: reduce) { .work-card__link, .work-card__link:hover { transition: none; transform: none; } }

.badge-sample {
	position: absolute; top: 12px; left: 12px; z-index: 1;
	padding: 3px 10px; background: var(--ink); color: var(--white); font-size: 12px; font-weight: 700; line-height: 1.6;
}
.badge-sample--static { position: static; display: inline-block; font-size: 13px; padding: 3px 12px; }

.tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.tag { padding: 2px 10px; border: 1px solid var(--line-dark); border-radius: 999px; font-size: 12px; }
.tag-list--lg { gap: 8px; margin-bottom: 20px; }
.tag-list--lg .tag { padding: 3px 12px; font-size: 13px; }

.mock { position: absolute; inset: 18px; background: var(--white); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.mock__bar { height: 14px; background: #efefef; display: flex; gap: 4px; align-items: center; padding: 0 8px; }
.mock__bar span { width: 5px; height: 5px; border-radius: 50%; background: #c4c4c4; }
.mock__body { flex: 1; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.mock__client { font-size: 10px; font-weight: 700; color: #666666; }
.mock__copy { font-size: 16px; font-weight: 900; line-height: 1.35; }
.mock__visual { flex: 1; min-height: 24px; background: #d9d9d9; border-radius: 4px; }
.mock__buttons { display: flex; gap: 6px; }
.mock__buttons span { flex: 1; height: 14px; border: 1px solid var(--ink); border-radius: 4px; }
.mock__buttons span + span { flex: 1.4; background: var(--ink); }

/* ---------- Review (before / after) ---------- */
.review { display: flex; flex-wrap: wrap; align-items: center; gap: 56px clamp(40px, 6vw, 96px); }
.review__text { flex: 1 1 380px; min-width: 0; }
.review__text .section__title { margin-bottom: 24px; }
.review__lead { max-width: 30em; margin-bottom: 36px; color: var(--on-dark); }
.segmented { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: #262626; }
.segmented__btn {
	min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: transparent;
	color: #e6e6e6; font-size: 15px; font-weight: 700; cursor: pointer; transition: background-color .25s ease, color .25s ease;
}
.segmented__btn[aria-pressed="true"] { background: var(--white); color: var(--ink); }
.no-js .segmented { display: none; }
.review__notes { margin: 36px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.review__notes li { display: flex; gap: 14px; font-size: 15px; color: #e6e6e6; }
.review__notes span { flex: 0 0 auto; font-family: var(--font-en); font-weight: 600; color: var(--on-dark-mute); }
.review__notes[hidden], .phone [hidden] { display: none; }

.phone { flex: 0 1 320px; margin: 0 auto; }
.phone__screen {
	width: 300px; max-width: 100%; height: 600px; border-radius: 40px; background: #2b2b2b; padding: 12px;
	display: flex;
}
.phone__before, .phone__after { flex: 1; border-radius: 30px; background: var(--white); color: var(--ink); overflow: hidden; display: flex; flex-direction: column; }
.phone__before { font-size: 9px; line-height: 1.5; }
.pb__head { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 10px 12px; background: #5c5c5c; color: var(--white); }
.pb__head strong { font-size: 11px; }
.pb__slide { height: 120px; background: #cfcfcf; display: flex; align-items: center; justify-content: center; color: #4d4d4d; }
.pb__body { padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; color: var(--mute); }
.pb__h { font-weight: 700; font-size: 10px; color: var(--ink); margin-top: 4px; }
.pb__banners { display: flex; gap: 4px; flex-wrap: wrap; }
.pb__banners span { padding: 4px 6px; background: #eeeeee; }
.pb__foot { margin-top: auto; padding: 10px 12px; background: #eeeeee; color: var(--mute); }
.pa__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; font-size: 13px; }
.pa__menu { width: 28px; height: 28px; border: 1px solid var(--ink); border-radius: 8px; background: linear-gradient(var(--ink), var(--ink)) center 9px / 14px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center 13px / 14px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center 17px / 14px 1.5px no-repeat; }
.pa__hero { padding: 4px 16px 16px; }
.pa__eyebrow { margin-bottom: 6px; font-size: 10px; font-weight: 700; color: var(--mute); }
.pa__copy { margin-bottom: 10px; font-size: 19px; font-weight: 900; line-height: 1.35; }
.pa__photo { height: 110px; border-radius: 12px; background: #dddddd; display: flex; align-items: center; justify-content: center; font-size: 10px; color: #4d4d4d; }
.pa__links { padding: 0 16px; display: flex; flex-direction: column; gap: 8px; font-size: 11px; }
.pa__links div { display: flex; justify-content: space-between; padding: 10px 12px; border: 1px solid #e2e2e2; border-radius: 10px; }
.pa__links span { color: var(--mute); }
.pa__cta { margin-top: auto; padding: 12px 16px 16px; display: flex; gap: 8px; font-size: 12px; font-weight: 700; }
.pa__cta span { flex: 1; min-height: 44px; border-radius: 12px; border: 1px solid var(--ink); display: flex; align-items: center; justify-content: center; }
.pa__cta span + span { flex: 1.4; background: var(--ink); color: var(--white); }

/* ---------- Estimate ---------- */
.estimate { display: flex; flex-wrap: wrap; gap: 32px; }
.estimate__form { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.estimate__step { margin-bottom: 14px; font-size: 14px; font-weight: 700; }
.estimate__plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 12px; }
.plan {
	min-height: 96px; padding: 16px 18px; border-radius: 16px; border: 2px solid #dddddd; background: var(--tint); color: var(--ink);
	text-align: left; cursor: pointer; display: flex; flex-direction: column; justify-content: space-between; gap: 8px;
	transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.plan[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.plan__name { font-size: 16px; font-weight: 700; }
.plan__price { font-family: var(--font-en); font-size: 15px; font-weight: 600; opacity: .75; }
.estimate__options { display: flex; flex-wrap: wrap; gap: 10px; }
.option {
	min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-dark); background: var(--white); color: var(--ink);
	font-size: 14px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
	transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.option[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.option__price { font-family: var(--font-en); font-weight: 500; opacity: .8; }
.estimate__result {
	flex: 1 1 340px; min-width: 0; align-self: flex-start; padding: 32px; border-radius: 24px;
	background: var(--ink); color: var(--white); display: flex; flex-direction: column; gap: 20px;
}
.estimate__label { font-size: 14px; color: var(--on-dark-mute); }
.estimate__total { font-family: var(--font-en); font-weight: 600; font-size: clamp(40px, 4.4vw, 56px); line-height: 1.1; }
.estimate__total small { font-family: var(--font); font-size: 16px; font-weight: 500; }
.estimate__summary { font-size: 14px; color: var(--on-dark); }
.estimate__note { padding-top: 16px; border-top: 1px solid var(--dark-line); font-size: 12px; color: var(--on-dark-mute); }
.no-js .estimate__options, .no-js .estimate__step + .estimate__options { pointer-events: none; }

/* ---------- About ---------- */
.about { display: flex; flex-wrap: wrap; align-items: center; gap: 48px clamp(40px, 6vw, 96px); }
.about__photo {
	flex: 0 1 380px; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: #ebebeb;
	display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; color: var(--mute); font-size: 14px;
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.about__photo:has(img) { padding: 0; }
.about__text { flex: 1 1 420px; min-width: 0; max-width: 40em; color: var(--text); }
.about__text p + p { margin-top: 20px; }
.about__role { font-size: 13px; color: var(--mute); }
.about__text .about__name { margin: 4px 0 28px; font-size: clamp(28px, 3vw, 40px); font-weight: 900; color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-wrap: wrap; gap: 40px clamp(40px, 6vw, 96px); }
.faq > .section__title { flex: 1 1 280px; }
.faq__list { flex: 999 1 520px; min-width: 0; border-top: 1px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--ink); }
.faq__item summary {
	min-height: 76px; padding: 16px 0; list-style: none; cursor: pointer;
	display: flex; align-items: center; justify-content: space-between; gap: 20px;
	font-size: clamp(16px, 1.5vw, 19px); font-weight: 700;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon {
	position: relative; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--ink);
	transition: transform .25s ease;
}
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.8px; background: var(--ink); transform: translate(-50%, -50%); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__item p { padding: 0 56px 24px 0; color: var(--text); font-size: 15px; }

/* ---------- Contact ---------- */
.contact { display: flex; flex-wrap: wrap; gap: 48px clamp(40px, 6vw, 96px); }
.contact__text { flex: 1 1 360px; min-width: 0; color: var(--on-dark); }
.contact__title { margin-bottom: 24px; font-size: clamp(34px, 5vw, 72px); font-weight: 900; line-height: 1.2; color: var(--white); }
.contact__title span { border-bottom: 4px solid var(--white); }
.contact__text p + p { margin-top: 12px; }
.contact__note { font-size: 14px; color: var(--on-dark-mute); }
.contact__form { flex: 1 1 440px; min-width: 0; }
.admin-note { margin-bottom: 16px; padding: 10px 14px; border: 1px dashed #6e6e6e; font-size: 13px; color: var(--on-dark-mute); }

.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 18px; }
.form__row { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 8px; }
.form__row--half { grid-column: auto; }
.form label, .contact__form label { font-size: 14px; font-weight: 700; color: #e6e6e6; }
.form input[type="text"], .form input[type="email"], .form textarea,
.contact__form input[type="text"], .contact__form input[type="email"], .contact__form input[type="tel"], .contact__form textarea, .contact__form select {
	width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px; border: 1px solid #4d4d4d;
	background: var(--dark-2); color: var(--white); font: inherit; font-size: 16px;
}
.form textarea, .contact__form textarea { line-height: 1.7; resize: vertical; }
.form__hint { font-size: 13px; color: var(--on-dark-mute); }
.form__check { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 500 !important; cursor: pointer; }
.form__check input { width: 18px; height: 18px; accent-color: var(--white); }
.form__check a, .contact__form a:not(.btn) { color: var(--white); }
.form .btn { grid-column: 1 / -1; }
/* Contact Form 7 の送信ボタン */
.contact__form .wpcf7-submit {
	width: 100%; min-height: 56px; border: 0; border-radius: 999px; background: var(--white); color: var(--ink);
	font-weight: 700; font-size: 16px; cursor: pointer;
}

/* ---------- Pages ---------- */
.page-body { padding-block: clamp(56px, 7vw, 96px) clamp(80px, 10vw, 140px); }
.page-body--tight { padding-bottom: 0; }
.page-body--narrow { max-width: 840px; }
.page-title { font-size: clamp(40px, 6vw, 88px); font-weight: 900; line-height: 1.15; }
.page-body--narrow .page-title { font-size: clamp(30px, 4vw, 48px); margin-bottom: 32px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0 10px; margin-bottom: 24px; font-size: 13px; color: var(--mute); }
.breadcrumb a { color: var(--mute); }
.filter { padding-block: 24px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.filter .chip-list { margin-bottom: 24px; }
.filter .chip { min-height: 44px; padding: 0 18px; font-size: 14px; }
.result-count { margin-bottom: 24px; font-size: 14px; color: var(--mute); }
.empty { padding: clamp(40px, 6vw, 72px); background: var(--tint); display: flex; flex-direction: column; align-items: flex-start; gap: 16px; color: var(--text); }
.empty__title { font-size: clamp(20px, 2vw, 26px); font-weight: 900; color: var(--ink); }
.empty__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 56px; }
.nav-links .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--ink); border-radius: 999px; text-decoration: none; }
.nav-links .current { background: var(--ink); color: var(--white); }

.post-list { margin: 40px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.post-list__item a { display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.post-list time { font-family: var(--font-en); color: var(--mute); }
.post-list__title { font-weight: 700; }
.entry-date { display: block; margin-bottom: 8px; font-family: var(--font-en); color: var(--mute); }

.entry-content { color: var(--text); }
.entry-content > * + * { margin-top: 1.4em; }
.entry-content h2 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 900; color: var(--ink); margin-top: 2em; }
.entry-content h3 { font-size: 20px; font-weight: 700; color: var(--ink); margin-top: 1.8em; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content a { text-decoration: underline; }

/* ---------- Work detail ---------- */
.work-detail__title { max-width: 18em; margin-bottom: 16px; font-size: clamp(30px, 4vw, 54px); font-weight: 900; line-height: 1.35; }
.work-detail__client { margin-bottom: 32px; color: var(--text); }
.notice { display: flex; gap: 14px; align-items: flex-start; max-width: 52em; padding: 18px 20px; background: var(--tint); border-left: 4px solid var(--ink); }
.notice svg { flex: 0 0 auto; margin-top: 3px; }
.notice p { font-size: 14px; color: var(--text); }
.showcase { margin-top: 48px; padding: clamp(20px, 4vw, 56px); background: #e2e2e2; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center; gap: 32px; }
.showcase__pc { flex: 1 1 560px; max-width: 820px; min-width: 0; border-radius: 10px; overflow: hidden; background: var(--white); }
.showcase__sp { flex: 0 0 200px; border-radius: 28px; overflow: hidden; border: 8px solid #2b2b2b; background: var(--white); }
.work-detail__body { display: flex; flex-wrap: wrap; gap: 48px clamp(40px, 6vw, 96px); padding-block: clamp(56px, 7vw, 96px); }
.work-detail__aside { flex: 1 1 280px; min-width: 0; }
.work-detail__label { margin-bottom: 16px; font-size: 15px; font-weight: 700; }
.spec { margin: 0; border-top: 2px solid var(--ink); }
.spec div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-size: 12px; color: var(--mute); }
.spec dd { margin: 4px 0 0; font-size: 15px; }
.work-detail__main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 56px; }
.work-detail__h2 { margin-bottom: 20px; font-size: clamp(24px, 2.4vw, 32px); font-weight: 900; }
.line-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.line-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.points { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 28px; }
.points li { display: flex; gap: 20px; }
.points__no { flex: 0 0 auto; font-family: var(--font-en); font-weight: 600; font-size: 28px; line-height: 1.2; }
.points h3 { margin-bottom: 6px; font-size: 19px; font-weight: 700; }
.points p { color: var(--text); }
.dot-list { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 8px; color: var(--text); }

.cta-band { background: var(--ink); color: var(--white); }
.cta-band__inner { padding-block: clamp(64px, 8vw, 104px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band__title { margin-bottom: 12px; font-size: clamp(26px, 3vw, 40px); font-weight: 900; line-height: 1.4; }
.cta-band__inner p + p { color: var(--on-dark); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Small screens ---------- */
@media (max-width: 720px) {
	.site-header__inner { padding-block: 12px; }
	.site-nav { width: 100%; justify-content: space-between; gap: 8px 16px; }
	.site-nav__list { gap: 0 16px; overflow-x: auto; flex-wrap: nowrap; max-width: 100%; }
	.site-nav__list a { white-space: nowrap; }
	.hero__frame { min-height: 0; }
	.hero__content { padding-block: 32px 40px; }
	.service__panel { min-height: 0; }
	.faq__item p { padding-right: 0; }
}
