/* WPT デジタル: 黒白モノクローム+巨大タイポ+動画/スクロール連動(参照トーン: voltlites.com)。 */

:root {
	/* palette: モノトーン */
	--wpt-navy-900: #000000;
	--wpt-navy-700: #111827;
	--wpt-navy-500: #ff5227; /* リンク=オレンジ */
	--wpt-navy-050: #191a1c;
	--wpt-gold-600: #ff5227; /* アクセント文字 */
	--wpt-gold-400: #ff5227; /* アクセント面 */
	--wpt-ink: #d1d5db;
	--wpt-ink-muted: #9ca3af;
	--wpt-border: rgba(255, 255, 255, 0.14);
	--wpt-bg: #131416;
	--wpt-bg-alt: #1a1b1e;

	--wpt-font-heading: "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Arial, "Yu Gothic", sans-serif;
	--wpt-radius-btn: 2px;
	--wpt-radius-card: 2px;
	--wpt-radius-img: 2px;
	--wpt-shadow-1: none;
	--wpt-shadow-2: none;
}

body {
	background: var(--wpt-bg);
	color: var(--wpt-ink);
}

h1,
h2,
h3,
h4 {
	color: #fff;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.25;
}

a {
	color: #ff5227;
}

a:hover {
	color: #ff7a58;
}

/* 見出し: 巨大タイポ+白の短線 */
.wpt-section__title {
	font-size: clamp(1.8rem, 5.5vw, 3rem);
	text-align: left;
	padding-bottom: 0;
	margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.wpt-section__title::after {
	content: none;
}

.wpt-section__title em {
	font-style: normal;
	color: #ff5227;
}

.wpt-section {
	padding-block: clamp(4rem, 10vw, 8rem);
	border-top: 1px solid var(--wpt-border);
}

/* ボタン: 白fill/白枠のみ */
.wpt-btn {
	border-radius: 2px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: none;
}

.wpt-btn--accent {
	background: #ff5227;
	color: #fff;
}

.wpt-btn--accent:hover {
	background: #ff6a42;
	color: #fff;
	opacity: 1;
	transform: none;
}

.wpt-btn--primary {
	background: transparent;
	border: 1px solid #fff;
	color: #fff;
}

.wpt-btn--primary:hover {
	background: #fff;
	color: #000;
	opacity: 1;
}

.wpt-btn--ghost {
	border-color: #fff;
}

/* ヘッダー: 黒・sticky */
.wpt-topbar {
	background: #000;
	border-bottom: 1px solid var(--wpt-border);
}

.wpt-topbar__tel {
	color: #fff;
}

.wpt-header {
	background: rgba(0, 0, 0, 0.8);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--wpt-border);
	position: sticky;
	top: 0;
}

.wpt-header__brand,
.wpt-header__brand small {
	color: #fff;
}

.wpt-header__nav a {
	color: #d1d5db;
}

.wpt-header__nav a:hover {
	background: none;
	color: #fff;
}

.wpt-header__cta {
	background: #fff;
	color: #000;
}

.wpt-drawer-toggle span {
	background: #fff;
}

/* ヒーロー(独自レイアウト): 100vhフルスクリーン+左下巨大タイポ */
.digital-hero {
	position: relative;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	overflow: hidden;
	color: #fff;
	background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7)), var(--wpt-hero-image, linear-gradient(160deg, #000, #1f2937, #000));
	background-size: cover, 250% 250%;
	animation: wpt-mono-move 16s ease infinite;
}

.digital-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}

.digital-hero__video + .digital-hero__body::before,
.digital-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.72));
	z-index: 0;
	pointer-events: none;
}

.digital-hero__body {
	position: relative;
	z-index: 1;
	width: 92%;
	max-width: 1400px;
	margin-inline: auto;
	padding-bottom: clamp(4rem, 10vh, 7rem);
}

.digital-hero__meta {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
	margin-bottom: 20px;
}

.digital-hero__label {
	font-family: ui-monospace, "SF Mono", "Roboto Mono", Menlo, monospace;
	font-size: 0.72rem;
	letter-spacing: 0.16em;
	color: #9ca3af;
	text-transform: uppercase;
}

.digital-hero__title {
	font-size: clamp(1.9rem, 6.2vw, 3.8rem);
	font-weight: 900;
	line-height: 1.22;
	letter-spacing: -0.02em;
	color: #fff;
	margin: 0 0 32px;
}

.digital-hero__title em {
	font-style: normal;
	color: #ff5227;
	border-bottom: none;
}

.digital-hero__actions {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}

.digital-hero__scroll {
	position: absolute;
	bottom: 18px;
	right: 24px;
	z-index: 1;
	font-family: ui-monospace, "SF Mono", "Roboto Mono", Menlo, monospace;
	font-size: 0.62rem;
	letter-spacing: 0.24em;
	color: #9ca3af;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.digital-hero__scroll span {
	display: block;
	width: 1px;
	height: 48px;
	background: linear-gradient(#ff5227, transparent);
	animation: wpt-scroll-pulse 1.8s ease infinite;
}

@keyframes wpt-scroll-pulse {
	0% { transform: scaleY(0); transform-origin: top; }
	45% { transform: scaleY(1); transform-origin: top; }
	55% { transform: scaleY(1); transform-origin: bottom; }
	100% { transform: scaleY(0); transform-origin: bottom; }
}

/* マーキー帯(CSSのみ) */
.digital-marquee {
	overflow: hidden;
	border-block: 1px solid var(--wpt-border);
	padding: 14px 0;
	background: #000;
	white-space: nowrap;
}

.digital-marquee__track {
	display: inline-block;
	animation: wpt-marquee 28s linear infinite;
	font-family: ui-monospace, "SF Mono", "Roboto Mono", Menlo, monospace;
	font-size: 0.85rem;
	letter-spacing: 0.2em;
	color: #9ca3af;
	text-transform: uppercase;
}

.digital-marquee__track em {
	font-style: normal;
	color: #ff5227;
	margin: 0 18px;
}

@keyframes wpt-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

/* 白反転セクション */
.wpt-section.wpt-invert {
	background: #fff;
}

.wpt-invert h2,
.wpt-invert h3 {
	color: #000;
}

.wpt-invert p {
	color: #374151;
}

.wpt-invert .wpt-table thead th,
.wpt-invert .wp-block-table.is-style-wpt-price thead th,
.wpt-invert .wp-block-table.is-style-wpt-price tr:first-child th {
	background: #131416;
	color: #fff;
}

.wpt-invert .wpt-table th,
.wpt-invert .wpt-table td,
.wpt-invert .wp-block-table.is-style-wpt-price th,
.wpt-invert .wp-block-table.is-style-wpt-price td {
	border-color: #e5e7eb;
	color: #111;
}

.wpt-invert .wp-block-button__link {
	background: #ff5227;
	color: #fff;
}

/* セクション番号(モノスペース) */
.digital-num {
	font-family: ui-monospace, "SF Mono", "Roboto Mono", Menlo, monospace;
	font-size: 0.72rem;
	letter-spacing: 0.2em;
	color: #ff5227;
	margin: 0 0 4px;
}

/* 業務一覧(独自): 枠なし大判画像 */
.digital-services {
	display: grid;
	gap: 40px 28px;
	grid-template-columns: 1fr;
}

@media (min-width: 768px) {
	.digital-services {
		grid-template-columns: repeat(2, 1fr);
	}
}

.digital-services a {
	display: block;
	text-decoration: none;
	color: inherit;
}

.digital-services img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	transition: transform 0.5s ease;
	border-radius: 4px;
}

.digital-services a:hover img {
	transform: scale(1.03);
}

.digital-services__meta {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-top: 12px;
	gap: 12px;
}

.digital-services__title {
	color: #fff;
	font-size: 1.15rem;
	font-weight: 700;
	margin: 0;
}

.digital-services__price {
	font-family: ui-monospace, "SF Mono", "Roboto Mono", Menlo, monospace;
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	color: #ff5227;
	white-space: nowrap;
}

.digital-services__text {
	color: #9ca3af;
	font-size: 0.9rem;
	margin: 6px 0 0;
}

/* 旧フルブリードヒーロー(下層等でwpt/heroを使う場合)*/
.wpt-hero {
	min-height: 88vh;
	background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.65)), var(--wpt-hero-image, linear-gradient(160deg, #000, #1f2937, #000));
	background-size: cover, 250% 250%;
	animation: wpt-mono-move 16s ease infinite;
}

@keyframes wpt-mono-move {
	0% { background-position: center, 0% 50%; }
	50% { background-position: center, 100% 50%; }
	100% { background-position: center, 0% 50%; }
}

.wpt-hero--video::before {
	background: rgba(0, 0, 0, 0.5);
}

.wpt-hero h1 {
	font-size: clamp(2rem, 6.5vw, 4rem);
	line-height: 1.3;
	letter-spacing: -0.01em;
	font-weight: 900;
}

.wpt-hero h1 em {
	color: #fff;
	border-bottom: 4px solid #fff;
	padding-bottom: 2px;
}

.wpt-hero__sub {
	font-family: ui-monospace, "SF Mono", "Roboto Mono", Menlo, monospace;
	font-size: 0.85rem;
	letter-spacing: 0.14em;
	color: #9ca3af;
	text-transform: uppercase;
}

.wpt-badge-bar {
	background: #000;
	border-bottom: 1px solid var(--wpt-border);
	color: #9ca3af;
	font-family: ui-monospace, "SF Mono", "Roboto Mono", Menlo, monospace;
	font-size: 0.72rem;
	letter-spacing: 0.12em;
}

/* カード: 黒地+細ボーダー、ホバーで白枠 */
.wpt-card,
.wp-block-column.wpt-card {
	background: #0c0e12;
	border: 1px solid var(--wpt-border);
	border-radius: 2px;
}

.wpt-card:hover {
	box-shadow: none;
	transform: none;
	border-color: #fff;
}

.wpt-card__title,
.wpt-card__body > h3 {
	color: #fff;
}

.wpt-card__text {
	color: #9ca3af;
}

.wpt-card__price {
	color: #fff;
	font-family: ui-monospace, "SF Mono", "Roboto Mono", Menlo, monospace;
	font-size: 0.8rem;
	letter-spacing: 0.08em;
}

/* 表 */
.wpt-table,
.wp-block-table.is-style-wpt-price table {
	background: transparent;
	color: var(--wpt-ink);
}

.wpt-table th,
.wpt-table td,
.wp-block-table.is-style-wpt-price th,
.wp-block-table.is-style-wpt-price td {
	border-color: var(--wpt-border);
}

.wpt-table thead th,
.wp-block-table.is-style-wpt-price thead th,
.wp-block-table.is-style-wpt-price tr:first-child th {
	background: #ff5227;
	color: #fff;
	letter-spacing: 0.06em;
}

.wpt-table tbody th {
	background: #0c0e12;
	color: #fff;
}

/* リスト系 */
.wpt-checklist li,
.wpt-steps li,
.wpt-faq details {
	background: #0c0e12;
	border: 1px solid var(--wpt-border);
	border-radius: 2px;
}

.wpt-checklist li::before {
	color: #fff;
}

.wpt-steps__title {
	color: #fff;
}

.wpt-steps li::before {
	color: #9ca3af;
	font-family: ui-monospace, "SF Mono", "Roboto Mono", Menlo, monospace;
}

.wpt-faq summary::before {
	color: #fff;
}

.wpt-faq details > div {
	color: #9ca3af;
}

/* フォーム */
.wpt-form input[type="text"],
.wpt-form input[type="email"],
.wpt-form input[type="tel"],
.wpt-form input[type="date"],
.wpt-form input[type="number"],
.wpt-form select,
.wpt-form textarea {
	background: #0c0e12;
	border-color: var(--wpt-border);
	color: #fff;
	border-radius: 2px;
}

.wpt-form input:focus,
.wpt-form select:focus,
.wpt-form textarea:focus {
	outline-color: #fff;
}

.wpt-form fieldset {
	border-color: var(--wpt-border);
	border-radius: 2px;
}

.wpt-form legend {
	color: #fff;
}

/* CTA帯: 白反転(voltの強コントラスト転換) */
.wpt-cta-band {
	background: #fff;
	color: #111;
}

.wpt-cta-band h2 {
	color: #000;
}

.wpt-cta-band h2::after {
	content: none;
}

.wpt-cta-band p {
	color: #374151;
}

.wpt-cta-band__tel {
	color: #000;
	font-weight: 900;
}

.wpt-cta-band__hours {
	color: #6b7280;
}

.wpt-cta-band .wpt-btn--accent {
	background: #ff5227;
	color: #fff;
}

/* ページタイトル帯・本文 */
.wpt-page-header {
	background: #0c0e12;
	border-bottom: 1px solid var(--wpt-border);
}

.wpt-entry .entry-content h2 {
	border-left: 4px solid #fff;
}

/* フッター */
.wpt-footer {
	background: #000;
	border-top: 1px solid var(--wpt-border);
}

/* SP固定バー */
.wpt-fixed-cta__tel {
	background: #111827;
	color: #fff;
}

.wpt-fixed-cta__mail {
	background: #ff5227;
	color: #fff;
}

/* 代表写真 */
.wpt-greeting__photo img {
	border: 1px solid var(--wpt-border);
	border-radius: 4px;
}

/* フェードアップ(motion.js) */
.wpt-reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.wpt-reveal.is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.wpt-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.wpt-hero {
		animation: none;
	}

	.wpt-card--photo > img,
	a.wpt-card img {
		filter: none;
	}
}


/* ---- GSAP文字リビール(motion.jsが付与) ---- */
.digital-split {
	display: inline-block;
	overflow: hidden;
	vertical-align: bottom;
}

.digital-split__char {
	display: inline-block;
	white-space: pre;
	will-change: transform;
}

/* 旧CSSフェード(.wpt-reveal)はGSAP移行により無効化 */
.wpt-reveal {
	opacity: 1;
	transform: none;
	transition: none;
}
