/* ==========================================================================
   YAWOKI Corporate — main.css
   デザイントークンは DESIGN.md に準拠
   ========================================================================== */

:root {
	/* Colors */
	--color-ink: #26292E;          /* Primary / 墨黒 */
	--color-surface-dark: #2A2D33; /* ダークサーフェス */
	--color-bg: #EFEDE8;           /* 背景 / 生成り */
	--color-surface: #FFFFFF;      /* カード / 明るい面 */
	--color-inverse: #F5F3EE;      /* 反転テキスト */
	--color-muted: #97938B;        /* 薄いテキスト */
	--color-border: #D8D4CB;       /* 境界線 */
	--color-overlay-beige: #E7E4DD;
	--color-text-sub: #5C5A56;

	/* Radius */
	--radius-pill: 999px;
	--radius-lg: 40px;
	--radius-md: 12px;
	--radius-sm: 8px;

	/* Typography */
	--font-en: "Hanken Grotesk", "Poppins", "Inter", system-ui, sans-serif;
	--font-logo: "Montserrat", "Hanken Grotesk", sans-serif;
	--font-ja: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;

	/* Spacing */
	--gutter: 64px;
	--section-gap: 130px;
	--content-max: 1440px;
}

@media (max-width: 1023px) {
	:root {
		--gutter: 40px;
		--section-gap: 96px;
	}
}

@media (max-width: 639px) {
	:root {
		--gutter: 20px;
		--section-gap: 72px;
	}
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

body {
	margin: 0;
	background: var(--color-bg);
	color: var(--color-ink);
	font-family: var(--font-ja);
	font-size: 16px;
	line-height: 1.9;
	letter-spacing: 0.02em;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--color-ink);
	text-decoration: none;
	transition: opacity 0.3s ease;
}

a:hover {
	opacity: 0.75;
}

h1, h2, h3, h4 {
	font-weight: 500;
}

:focus-visible {
	outline: 2px solid var(--color-ink);
	outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   共通パーツ
   -------------------------------------------------------------------------- */

.section-label {
	display: inline-block;
	background: var(--color-surface);
	color: var(--color-ink);
	border-radius: var(--radius-pill);
	padding: 6px 16px;
	font-size: 14px;
	font-family: var(--font-en);
}

.section-label-en {
	font-size: 14.5px;
	letter-spacing: 0.26em;
	color: var(--color-muted);
	font-family: var(--font-en);
}

.section-title {
	margin: 28px 0 0;
	font-weight: 500;
	font-size: clamp(32px, 3.5vw, 44px);
	line-height: 1.4;
	letter-spacing: 0.02em;
	color: var(--color-ink);
}

.section-title--inverse {
	color: var(--color-inverse);
}

.section-head {
	margin-bottom: 72px;
}

.btn {
	display: inline-block;
	border-radius: var(--radius-pill);
	padding: 16px 34px;
	font-size: 15px;
	white-space: nowrap;
	transition: transform 0.3s ease, background 0.3s ease, opacity 0.3s ease;
}

.btn:hover {
	transform: translateY(-1px);
	opacity: 1;
}

.btn--solid {
	background: var(--color-ink);
	color: var(--color-inverse);
	border: 1px solid var(--color-ink);
}

.btn--outline {
	background: transparent;
	color: var(--color-ink);
	border: 1px solid var(--color-ink);
}

.btn--outline:hover {
	background: rgba(38, 41, 46, 0.06);
}

.btn--solid-inverse {
	background: var(--color-inverse);
	color: var(--color-ink);
	border: 1px solid var(--color-inverse);
}

.btn--outline-inverse {
	background: transparent;
	color: var(--color-inverse);
	border: 1px solid var(--color-inverse);
}

.btn--outline-inverse:hover {
	background: rgba(245, 243, 238, 0.12);
}

.text-link {
	display: inline-block;
	margin-top: 32px;
	font-size: 15px;
	color: var(--color-ink);
}

/* 別タブで開くリンクの目印 */
.has-ext {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
}

.ext-icon {
	width: 0.72em;
	height: 0.72em;
	flex: none;
	/* 文字のベースラインに合わせて少し持ち上げる */
	transform: translateY(-0.06em);
	opacity: 0.75;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.has-ext:hover .ext-icon {
	opacity: 1;
	transform: translate(0.1em, -0.16em);
}

/* 支援技術にのみ読ませるテキスト */
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.filter-pill {
	display: inline-block;
	border: 1px solid var(--color-border);
	background: transparent;
	color: var(--color-ink);
	border-radius: var(--radius-pill);
	padding: 9px 20px;
	font-size: 13.5px;
	font-family: var(--font-en);
	transition: all 0.25s ease;
}

.filter-pill.is-active {
	border-color: var(--color-ink);
	background: var(--color-ink);
	color: var(--color-inverse);
}

.filter-list {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 64px;
}

.tag-list {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 26px;
	font-family: var(--font-en);
}

.tag-list span {
	border: 1px solid var(--color-border);
	border-radius: var(--radius-pill);
	padding: 7px 16px;
	font-size: 13px;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	padding: 24px var(--gutter) 0;
	pointer-events: none;
}

.site-logo {
	display: block;
	pointer-events: auto;
	color: var(--color-inverse);
	transition: color 0.3s ease;
}

.site-header.is-scrolled:not(.is-on-dark) .site-logo {
	color: var(--color-ink);
}

.site-logo__svg--header {
	display: block;
	overflow: visible;
	width: clamp(150px, 16vw, 260px);
	height: auto;
}

.site-logo__svg--footer {
	display: block;
	overflow: visible;
	width: 230px;
	height: auto;
	color: var(--color-inverse);
}

.header-nav-pill {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 6px;
	flex: none;
	pointer-events: auto;
	padding: 8px 8px 8px 28px;
	border-radius: var(--radius-pill);
	background: var(--color-surface);
	box-shadow: 0 8px 24px rgba(38, 41, 46, 0.10);
	transition: all 0.3s ease;
}

.global-nav {
	display: flex;
	align-items: center;
	gap: 24px;
	font-size: 14.5px;
	letter-spacing: 0.02em;
	margin-right: 20px;
	white-space: nowrap;
	color: var(--color-ink);
	font-family: var(--font-en);
	transition: color 0.3s ease;
}

.global-nav > a,
.nav-dropdown__toggle {
	color: inherit;
}

.header-cta {
	background: var(--color-ink);
	color: var(--color-inverse);
	border: 1px solid var(--color-ink);
	border-radius: var(--radius-pill);
	padding: 11px 26px;
	font-size: 14.5px;
	font-family: var(--font-en);
	transition: all 0.3s ease;
}

/* トップページ：ヒーロー上では透過 */
.site-header--transparent:not(.is-scrolled) .header-nav-pill {
	background: transparent;
	box-shadow: none;
}

.site-header--transparent:not(.is-scrolled) .global-nav {
	color: var(--color-inverse);
}

.site-header--transparent:not(.is-scrolled) .header-cta {
	background: transparent;
	color: var(--color-inverse);
	border-color: rgba(245, 243, 238, 0.85);
}

/* Wedding ドロップダウン */
.nav-dropdown {
	position: relative;
	display: flex;
	align-items: center;
}

.nav-dropdown__panel {
	position: absolute;
	top: 100%;
	left: -16px;
	padding-top: 16px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
}

.nav-dropdown:hover .nav-dropdown__panel,
.nav-dropdown:focus-within .nav-dropdown__panel {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.nav-dropdown__inner {
	min-width: 236px;
	background: rgba(255, 255, 255, 0.55);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-radius: 14px;
	padding: 10px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	box-shadow: 0 12px 32px rgba(38, 41, 46, 0.12);
}

.nav-dropdown__inner a {
	color: var(--color-ink);
	font-size: 14.5px;
	letter-spacing: 0.02em;
	line-height: 1.6;
	padding: 11px 16px;
	border-radius: 8px;
}

.nav-dropdown__inner a:hover {
	background: rgba(38, 41, 46, 0.08);
	opacity: 1;
}

/* ハンバーガー */
.menu-toggle {
	display: none;
	pointer-events: auto;
	width: 52px;
	height: 52px;
	margin-top: 4px;
	border: none;
	border-radius: 50%;
	background: var(--color-surface);
	box-shadow: 0 8px 24px rgba(38, 41, 46, 0.10);
	cursor: pointer;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.menu-toggle span {
	display: block;
	width: 20px;
	height: 1.5px;
	background: var(--color-ink);
	transition: transform 0.3s ease;
}

@media (max-width: 1023px) {
	.header-nav-pill {
		display: none;
	}

	.menu-toggle {
		display: flex;
	}
}

/* モバイル フルスクリーンメニュー */
.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 200;
	background: var(--color-surface-dark);
	padding: 100px var(--gutter) 60px;
	overflow-y: auto;
	opacity: 0;
	transition: opacity 0.35s ease;
}

.mobile-menu.is-open {
	opacity: 1;
}

.mobile-menu__close {
	position: absolute;
	top: 28px;
	right: var(--gutter);
	width: 52px;
	height: 52px;
	border: 1px solid rgba(245, 243, 238, 0.5);
	border-radius: 50%;
	background: transparent;
	color: var(--color-inverse);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.mobile-menu__nav {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.mobile-menu__group {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.mobile-menu__group a {
	color: var(--color-inverse);
	font-family: var(--font-en);
}

.mobile-menu__group--primary a {
	font-size: 2rem;
	font-weight: 500;
	line-height: 1.4;
}

.mobile-menu__group--secondary a {
	font-size: 1.25rem;
}

.mobile-menu__group--external a {
	font-size: 1rem;
	opacity: 0.85;
}

.mobile-menu__watermark {
	position: absolute;
	left: var(--gutter);
	bottom: 40px;
	opacity: 0.12;
	pointer-events: none;
}

/* --------------------------------------------------------------------------
   Hero（トップ）
   -------------------------------------------------------------------------- */

.hero {
	position: relative;
	height: 100vh;
	min-height: 720px;
	background: var(--color-ink);
	overflow: hidden;
}

/* ポスター画像と動画を同じ枠に重ね、再生開始時にクロスフェードさせる */
.hero__media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 42%;
	display: block;
}

.hero__video {
	opacity: 0;
	transition: opacity 1.2s ease;
	pointer-events: none;
}

.hero__video.is-playing {
	opacity: 1;
}

/* ヒーロー：PC（横型）／SP（縦型）で動画・ポスターを出し分け */
.hero__poster--sp,
.hero__video--sp {
	display: none;
}

@media (max-width: 767px) {
	.hero__poster--pc,
	.hero__video--pc {
		display: none;
	}

	.hero__poster--sp,
	.hero__video--sp {
		display: block;
	}
}

.hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(20, 22, 26, 0.62) 0%, rgba(20, 22, 26, 0.18) 45%, rgba(20, 22, 26, 0.25) 100%);
}

.hero__copy {
	position: absolute;
	left: var(--gutter);
	right: var(--gutter);
	bottom: 88px;
	max-width: 900px;
}

.hero__title {
	margin: 0;
	font-weight: 500;
	font-size: clamp(34px, 4.4vw, 62px);
	line-height: 1.32;
	letter-spacing: 0.02em;
	color: var(--color-inverse);
}

.hero__lead {
	margin: 26px 0 0;
	font-size: clamp(14px, 1.2vw, 16.5px);
	line-height: 1.95;
	letter-spacing: 0.02em;
	color: rgba(245, 243, 238, 0.88);
	max-width: 800px;
}

.hero__scroll {
	position: absolute;
	right: var(--gutter);
	bottom: 88px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
}

.hero__scroll-label {
	font-size: 11.5px;
	letter-spacing: 0.22em;
	color: rgba(245, 243, 238, 0.75);
	font-family: var(--font-en);
	writing-mode: vertical-rl;
}

.hero__scroll-line {
	position: relative;
	width: 1px;
	height: 96px;
	background: rgba(245, 243, 238, 0.28);
	overflow: hidden;
	display: block;
}

.hero__scroll-line span {
	position: absolute;
	left: 0;
	top: 0;
	width: 1px;
	height: 40px;
	background: var(--color-inverse);
	animation: scrollflow 2.2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
	display: block;
}

@keyframes scrollflow {
	0% { transform: translateY(-100%); }
	60%, 100% { transform: translateY(240px); }
}

@media (max-width: 639px) {
	.hero {
		min-height: 600px;
	}

	.hero__copy {
		bottom: 64px;
	}

	.hero__scroll {
		display: none;
	}
}

/* --------------------------------------------------------------------------
   Features（トップ）
   -------------------------------------------------------------------------- */

.top-light-wrap {
	background: linear-gradient(to bottom, #FFFFFF 0%, #FBFAF7 18%, #F4F2ED 45%, var(--color-bg) 72%, var(--color-bg) 100%);
}

.features {
	position: relative;
	padding: 230px 0 120px;
	width: 100%;
	margin: 0 auto;
	overflow: hidden;
}

.features__head {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 24px;
	margin-bottom: 120px;
	padding: 0 var(--gutter);
}

.features__title {
	margin: 0;
	font-weight: 500;
	font-size: clamp(30px, 4.4vw, 64px);
	line-height: 1.35;
	letter-spacing: 0.04em;
	color: var(--color-ink);
	white-space: nowrap;
}

.features__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) minmax(0, 1fr);
	gap: clamp(24px, 6vw, 160px);
	align-items: center;
	padding: 0 clamp(12px, 1.5vw, 28px);
}

.features__col {
	display: flex;
	flex-direction: column;
	gap: 44px;
}

.features__fig {
	margin: 0;
}

.features__fig img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	opacity: 0.88;
	background: #DCD8D0;
}

.features__fig--tall {
	aspect-ratio: 9 / 20;
	width: 50%;
	overflow: hidden;
}

.features__fig--wide {
	aspect-ratio: 2.76 / 1;
	width: 95%;
	margin-left: auto;
	margin-right: 12%;
	overflow: hidden;
}

.features__fig--portrait {
	aspect-ratio: 9 / 14;
	width: 58%;
	margin-left: auto;
	margin-right: 12%;
	overflow: hidden;
}

.features__center {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 40px;
	min-width: 0;
}

.features__text {
	max-width: 640px;
}

.features__text p {
	margin: 0;
	font-size: 16.5px;
	line-height: 2;
	letter-spacing: 0.03em;
	color: var(--color-ink);
}

.features__text p + p {
	margin-top: 30px;
	line-height: 2.2;
}

.features__keywords {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	justify-content: center;
	font-family: var(--font-en);
}

.features__keywords span {
	border: 1px solid var(--color-border);
	border-radius: var(--radius-pill);
	padding: 8px 18px;
	font-size: 13px;
	color: var(--color-ink);
}

@media (max-width: 1023px) {
	.features {
		padding-top: 160px;
	}

	.features__title {
		white-space: nowrap;
	}

	.features__grid {
		grid-template-columns: 1fr;
		padding: 0 var(--gutter);
	}

	.features__col {
		flex-direction: row;
		justify-content: center;
		gap: 24px;
	}

	.features__fig--wide,
	.features__fig--portrait {
		width: 40%;
		margin: 0;
	}

	/* FEATURES冒頭画像：縦長はPCのみ。SPでは横長にする */
	.features__fig--tall {
		aspect-ratio: 16 / 9;
		width: 100%;
		margin: 0;
	}

	/* SPの横長トリミングでは新婦の顔が中央に来るように調整 */
	.features__fig--tall img {
		object-position: center 30%;
	}

	.features__text p br {
		display: none;
	}
}

/* --------------------------------------------------------------------------
   Services（トップ）
   -------------------------------------------------------------------------- */

.top-services {
	padding: 96px var(--gutter) 140px;
	max-width: var(--content-max);
	margin: 0 auto;
}

.top-services__list {
	display: flex;
	flex-direction: column;
	gap: 96px;
}

.service-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: center;
}

/* 左上を45°で斜めに切り欠く（直角二等辺三角形）。
   縦横の長さがpxで等しいとき45°になる。画像は16:9固定なので
   縦% = 横% × 16/9（＝1.7778倍）とすれば、どのサイズでも45°を保つ。
   （px指定と違い、画面幅が変わっても角度が崩れない） */
.service-row__img {
	--cut-x: 22%;
	--cut-y: 39.11%;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	display: block;
	clip-path: polygon(var(--cut-x) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut-y));
}

.service-row__no,
.service-card__no {
	font-size: 34px;
	font-weight: 300;
	letter-spacing: 0.22em;
	color: var(--color-muted);
	font-family: var(--font-logo);
}

.service-row__title {
	margin: 16px 0 0;
	font-weight: 500;
	font-size: clamp(22px, 2.2vw, 30px);
	line-height: 1.5;
	letter-spacing: 0.02em;
	color: var(--color-ink);
}

.service-row__text {
	margin: 22px 0 0;
	font-size: 16px;
	line-height: 2;
	letter-spacing: 0.02em;
	color: var(--color-ink);
	max-width: 520px;
}

.top-services__sub {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	padding-top: 24px;
	border-top: 1px solid var(--color-border);
}

.service-card {
	display: block;
	padding-top: 40px;
}

.service-card__img {
	--cut-x: 15%;
	--cut-y: 26.67%;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	display: block;
	clip-path: polygon(var(--cut-x) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut-y));
}

.service-card__no {
	margin-top: 28px;
	font-size: 32px;
}

.service-card__title {
	margin: 14px 0 0;
	font-weight: 500;
	font-size: clamp(20px, 1.8vw, 24px);
	line-height: 1.5;
	letter-spacing: 0.02em;
	color: var(--color-ink);
}

.service-card__text {
	margin: 16px 0 0;
	font-size: 15.5px;
	line-height: 2;
	letter-spacing: 0.02em;
	color: var(--color-ink);
}

.top-services__more {
	display: flex;
	justify-content: center;
	margin: 110px 0 20px;
}

@media (max-width: 1023px) {
	.service-row,
	.top-services__sub {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.top-services__list {
		gap: 72px;
	}
}

/* --------------------------------------------------------------------------
   Works（トップ・ダークセクション）
   -------------------------------------------------------------------------- */

.top-works {
	background: var(--color-ink);
	border-radius: var(--radius-lg) var(--radius-lg) 0 0;
	padding: 130px 0 150px;
}

.top-works__inner {
	max-width: var(--content-max);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.top-works__head {
	display: grid;
	grid-template-columns: 380px 1fr;
	gap: 64px;
	margin-bottom: 72px;
}

.top-works__head-right {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 48px;
}

.top-works__head-right p {
	margin: 0;
	font-size: 16px;
	line-height: 2;
	letter-spacing: 0.02em;
	color: rgba(245, 243, 238, 0.85);
	max-width: 640px;
}

.top-works__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}

.top-works__more-sp {
	display: none;
}

@media (max-width: 1023px) {
	.top-works {
		border-radius: 24px 24px 0 0;
		padding: 90px 0 100px;
	}

	.top-works__head {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.top-works__head-right {
		flex-direction: column;
		align-items: flex-start;
		gap: 24px;
	}

	.top-works__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 639px) {
	.top-works__grid {
		grid-template-columns: 1fr;
	}

	.top-works__head-right .btn {
		display: none;
	}

	.top-works__more-sp {
		display: flex;
		justify-content: center;
		margin-top: 40px;
	}
}

/* Works カード */
.works-card {
	display: block;
	color: var(--color-ink);
}

.works-card--dark {
	color: var(--color-inverse);
}

.works-card__thumb {
	overflow: hidden;
	position: relative;
	aspect-ratio: 16 / 9;
	background: #DCD8D0;
}

.works-card--dark .works-card__thumb {
	background: var(--color-surface-dark);
}

.works-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.works-card:hover .works-card__thumb img {
	transform: scale(1.05);
}

.works-card__play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.works-card__play span {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: rgba(38, 41, 46, 0.55);
	border: 1px solid rgba(245, 243, 238, 0.7);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	color: var(--color-inverse);
}

.works-card__cat {
	display: inline-block;
	margin-top: 22px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-pill);
	padding: 5px 15px;
	font-size: 12.5px;
	letter-spacing: 0.08em;
	font-family: var(--font-en);
	color: var(--color-text-sub);
}

.works-card--dark .works-card__cat {
	border-color: rgba(245, 243, 238, 0.5);
	color: rgba(245, 243, 238, 0.9);
}

.works-card__title {
	margin: 16px 0 0;
	font-weight: 500;
	font-size: 19px;
	letter-spacing: 0.02em;
}

.works-card__place {
	margin: 8px 0 0;
	font-size: 13px;
	font-weight: 300;
	letter-spacing: 0.04em;
	color: var(--color-muted);
}

.works-card--dark .works-card__place {
	color: rgba(245, 243, 238, 0.55);
}

.works-card__caption {
	margin: 8px 0 0;
	font-size: 13.5px;
	font-weight: 300;
	line-height: 1.75;
	letter-spacing: 0.02em;
	color: var(--color-muted);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.works-card--dark .works-card__caption {
	color: rgba(245, 243, 238, 0.62);
}

/* マーキー */
.marquee {
	margin-top: 88px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	overflow: hidden;
	padding: 16px 0;
}

.marquee__track {
	display: flex;
	width: max-content;
}

.marquee__track--left {
	animation: marqueeL 52s linear infinite;
}

.marquee__track--right {
	animation: marqueeR 60s linear infinite;
}

.marquee__track:hover {
	animation-play-state: paused;
}

.marquee__item {
	flex: 0 0 auto;
	width: 320px;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	margin-right: 20px;
	background: var(--color-surface-dark);
	transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.5s ease;
	will-change: transform;
}

.marquee__item:hover {
	transform: scale(1.07);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
	position: relative;
	z-index: 2;
}

.marquee__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

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

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

@media (max-width: 639px) {
	.marquee__item {
		width: 220px;
	}
}

/* --------------------------------------------------------------------------
   Media（トップ）
   -------------------------------------------------------------------------- */

.top-media {
	padding: 130px var(--gutter) 140px;
	max-width: var(--content-max);
	margin: 0 auto;
}

.top-media .section-head {
	margin-bottom: 64px;
}

.top-media__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 48px;
}

.media-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
}

.media-card__thumb {
	width: 220px;
	aspect-ratio: 16 / 9;
	background: var(--color-overlay-beige);
	overflow: hidden;
}

.media-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.media-card__title {
	margin: 0;
	font-weight: 500;
	font-size: 18px;
	line-height: 1.65;
	letter-spacing: 0.02em;
	color: var(--color-ink);
}

.media-card__text {
	margin: 10px 0 0;
	font-size: 14px;
	line-height: 1.9;
	color: var(--color-ink);
}

@media (max-width: 1023px) {
	.top-media__grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}

/* --------------------------------------------------------------------------
   News（トップ）
   -------------------------------------------------------------------------- */

.top-news {
	padding: 0 var(--gutter) 150px;
	max-width: var(--content-max);
	margin: 0 auto;
}

.top-news__grid {
	display: grid;
	grid-template-columns: 380px 1fr;
	gap: 64px;
}

.top-news__head {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.top-news__all {
	margin-top: auto;
	padding-bottom: 26px;
	font-size: 14.5px;
}

.top-news__list {
	display: flex;
	flex-direction: column;
}

.news-row {
	display: grid;
	grid-template-columns: 120px 140px 1fr;
	gap: 24px;
	align-items: baseline;
	padding: 26px 0;
	border-bottom: 1px solid var(--color-border);
}

.news-row__date {
	font-size: 13.5px;
	color: var(--color-muted);
	font-family: var(--font-en);
}

.news-row__cat {
	border: 1px solid var(--color-border);
	border-radius: var(--radius-pill);
	padding: 5px 14px;
	font-size: 12px;
	color: var(--color-ink);
	justify-self: start;
	text-align: center;
}

.news-row__title {
	font-size: 16px;
	line-height: 1.8;
	letter-spacing: 0.02em;
	color: var(--color-ink);
}

.top-news__empty {
	color: var(--color-muted);
}

@media (max-width: 1023px) {
	.top-news__grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.top-news__all {
		order: 2;
		margin-top: 24px;
		padding-bottom: 0;
	}
}

@media (max-width: 639px) {
	.news-row {
		grid-template-columns: auto auto;
		gap: 12px 16px;
	}

	.news-row__title {
		grid-column: 1 / -1;
	}
}

/* --------------------------------------------------------------------------
   Contact CTA（トップ）
   -------------------------------------------------------------------------- */

.contact-cta {
	position: relative;
	background: var(--color-surface-dark);
	border-radius: var(--radius-lg) var(--radius-lg) 0 0;
	padding: 140px var(--gutter) 130px;
	overflow: hidden;
}

.contact-cta__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 40%;
	opacity: 0.1;
	filter: saturate(0.15) contrast(0.9);
	pointer-events: none;
	-webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 70%, transparent 100%);
	mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 70%, transparent 100%);
}

.contact-cta__inner {
	position: relative;
	z-index: 1;
	max-width: 1000px;
	margin: 0 auto;
	text-align: center;
}

.contact-cta__title {
	margin: 0;
	font-weight: 500;
	font-size: clamp(28px, 3.5vw, 46px);
	line-height: 1.45;
	letter-spacing: 0.02em;
	color: var(--color-inverse);
}

.contact-cta__text {
	margin: 32px auto 0;
	font-size: 16px;
	line-height: 2;
	letter-spacing: 0.02em;
	color: rgba(245, 243, 238, 0.82);
	max-width: 680px;
}

.contact-cta__btns {
	display: flex;
	gap: 16px;
	justify-content: center;
	margin-top: 48px;
	flex-wrap: wrap;
}

@media (max-width: 1023px) {
	.contact-cta {
		border-radius: 24px 24px 0 0;
		padding: 90px var(--gutter) 90px;
	}
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
	background: var(--color-ink);
	padding: 100px var(--gutter) 44px;
}

.site-footer__inner {
	max-width: var(--content-max);
	margin: 0 auto;
}

.site-footer__logo {
	margin-bottom: 56px;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 64px;
	align-items: start;
}

.site-footer__info {
	margin: 0;
	font-size: 14px;
	line-height: 2;
	color: rgba(245, 243, 238, 0.72);
}

.site-footer__nav,
.site-footer__sns {
	display: flex;
	flex-direction: column;
	gap: 14px;
	font-size: 14.5px;
	font-family: var(--font-en);
}

.site-footer__nav a,
.site-footer__sns a {
	color: rgba(245, 243, 238, 0.85);
}

.site-footer__banner {
	margin-top: 22px;
	display: block;
	width: 232px;
	max-width: 100%;
}

.site-footer__copyright {
	max-width: var(--content-max);
	margin: 72px auto 0;
	padding-top: 28px;
	border-top: 1px solid rgba(216, 212, 203, 0.22);
	font-size: 13px;
	color: var(--color-muted);
	font-family: var(--font-en);
	text-align: center;
}

@media (max-width: 1023px) {
	.site-footer__grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}

/* --------------------------------------------------------------------------
   下層ページ共通ヒーロー
   -------------------------------------------------------------------------- */

.page-hero {
	position: relative;
	overflow: hidden;
	background: var(--color-ink);
	padding: 210px var(--gutter) 96px;
}

.page-hero__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0.52;
	filter: saturate(0.7);
	pointer-events: none;
}

.page-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(38, 41, 46, 0.3), rgba(38, 41, 46, 0.62));
	pointer-events: none;
}

.page-hero__inner {
	position: relative;
	z-index: 1;
	max-width: var(--content-max);
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.page-hero__en {
	font-size: 12.5px;
	letter-spacing: 0.26em;
	color: rgba(245, 243, 238, 0.6);
	font-family: var(--font-en);
}

.page-hero__title {
	margin: 0;
	font-weight: 500;
	font-size: clamp(30px, 3.7vw, 52px);
	line-height: 1.35;
	letter-spacing: 0.03em;
	color: var(--color-inverse);
}

.page-hero__lead {
	margin: 8px 0 0;
	font-size: 16px;
	line-height: 2;
	letter-spacing: 0.02em;
	color: rgba(245, 243, 238, 0.78);
	max-width: 720px;
}

@media (max-width: 639px) {
	.page-hero {
		padding: 140px var(--gutter) 64px;
	}
}

/* --------------------------------------------------------------------------
   Service ページ
   -------------------------------------------------------------------------- */

.service-detail {
	padding: 120px var(--gutter) 130px;
	max-width: var(--content-max);
	margin: 0 auto;
}

.service-detail__list {
	display: flex;
	flex-direction: column;
	gap: 120px;
}

.service-block {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 72px;
	align-items: center;
}

.service-block__img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	display: block;
}

/* 下層ページの画像は切り欠きなしの長方形 */

.service-block__no {
	font-size: 32px;
	font-weight: 300;
	letter-spacing: 0.22em;
	color: var(--color-muted);
	font-family: var(--font-logo);
}

.service-block__title {
	margin: 14px 0 0;
	font-weight: 500;
	font-size: clamp(22px, 2.2vw, 30px);
	line-height: 1.45;
	letter-spacing: 0.02em;
	color: var(--color-ink);
}

.service-block__text {
	margin: 20px 0 0;
	font-size: 15.5px;
	line-height: 2;
	letter-spacing: 0.02em;
	color: var(--color-ink);
}

.service-block .text-link {
	margin-top: 30px;
}

@media (max-width: 1023px) {
	.service-block {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.service-block--reverse .service-block__img {
		order: -1;
	}

	.service-detail__list {
		gap: 80px;
	}
}

/* 制作の流れ */
.service-flow {
	margin-top: 140px;
	padding-top: 64px;
	border-top: 1px solid var(--color-border);
}

.service-flow__title {
	margin: 0;
	font-weight: 500;
	font-size: clamp(26px, 2.6vw, 34px);
	letter-spacing: 0.02em;
	color: var(--color-ink);
}

.service-flow__grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 32px;
	margin-top: 56px;
}

.flow-step {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding-top: 22px;
	border-top: 1px solid var(--color-border);
}

.flow-step__no {
	font-size: 22px;
	font-weight: 300;
	letter-spacing: 0.2em;
	color: var(--color-muted);
	font-family: var(--font-logo);
}

.flow-step__title {
	margin: 0;
	font-weight: 500;
	font-size: 17px;
	letter-spacing: 0.02em;
	color: var(--color-ink);
}

.flow-step__text {
	margin: 0;
	font-size: 14px;
	line-height: 1.9;
	color: var(--color-text-sub);
}

@media (max-width: 1023px) {
	.service-flow__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 639px) {
	.service-flow__grid {
		grid-template-columns: 1fr;
	}
}

/* --------------------------------------------------------------------------
   Works アーカイブ／詳細
   -------------------------------------------------------------------------- */

.works-archive {
	padding: 96px var(--gutter) 130px;
	max-width: var(--content-max);
	margin: 0 auto;
}

.works-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 56px 32px;
}

.works-archive__empty {
	color: var(--color-muted);
}

@media (max-width: 1023px) {
	.works-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 639px) {
	.works-grid {
		grid-template-columns: 1fr;
	}
}


.works-single__inner {
	padding: 80px var(--gutter) 120px;
	max-width: 1000px;
	margin: 0 auto;
}

.works-single__cats {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 24px;
}

.works-single__caption {
	margin: 0 0 34px;
	font-size: 16px;
	line-height: 1.95;
	letter-spacing: 0.02em;
	color: var(--color-ink);
	max-width: 720px;
}

.works-single__video {
	position: relative;
	aspect-ratio: 16 / 9;
	background: var(--color-ink);
}

.works-single__video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.works-single__thumb img {
	width: 100%;
	display: block;
}

.works-single__content {
	margin-top: 56px;
}

.works-single__back {
	margin-top: 80px;
	text-align: center;
}

/* --------------------------------------------------------------------------
   News アーカイブ／詳細
   -------------------------------------------------------------------------- */

.news-archive {
	padding: 96px var(--gutter) 130px;
}

.news-archive__inner {
	max-width: 1100px;
	margin: 0 auto;
}

.news-list {
	border-top: 1px solid var(--color-border);
}

.news-archive .news-row {
	grid-template-columns: 150px 130px 1fr;
	gap: 28px;
	align-items: center;
	padding: 32px 0;
}

.news-archive .news-row__title {
	font-size: 16.5px;
}

@media (max-width: 639px) {
	.news-archive .news-row {
		grid-template-columns: auto auto;
		gap: 12px 16px;
	}

	.news-archive .news-row__title {
		grid-column: 1 / -1;
	}
}

.news-single__inner {
	padding: 80px var(--gutter) 120px;
	max-width: 860px;
	margin: 0 auto;
}

.news-single__meta {
	display: flex;
	align-items: center;
	gap: 16px;
}

.news-single__title {
	margin: 24px 0 0;
	font-weight: 500;
	font-size: clamp(24px, 2.6vw, 34px);
	line-height: 1.6;
	letter-spacing: 0.02em;
}

.news-single__thumb {
	margin-top: 48px;
}

.news-single__thumb img {
	width: 100%;
	display: block;
}

.news-single__content {
	margin-top: 56px;
}

.news-single__back {
	margin-top: 80px;
	text-align: center;
}

/* --------------------------------------------------------------------------
   Company ページ
   -------------------------------------------------------------------------- */

.company {
	padding: 120px var(--gutter) 130px;
	max-width: var(--content-max);
	margin: 0 auto;
}

.company__message {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: 80px;
	align-items: center;
}

.company__portrait {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	display: block;
}

.company__message-title {
	margin: 24px 0 0;
	font-weight: 500;
	font-size: clamp(26px, 2.8vw, 38px);
	line-height: 1.45;
	letter-spacing: 0.03em;
	color: var(--color-ink);
}

.company__message-text {
	margin: 32px 0 0;
	font-size: 16px;
	line-height: 2.1;
	letter-spacing: 0.02em;
	color: var(--color-ink);
}

.company__message-sign {
	margin: 36px 0 0;
	font-size: 14.5px;
	line-height: 1.9;
	color: var(--color-text-sub);
}

.company__profile {
	margin-top: 140px;
}

.company__section-title {
	margin: 0;
	font-weight: 500;
	font-size: clamp(26px, 2.6vw, 34px);
	letter-spacing: 0.02em;
	color: var(--color-ink);
}

.def-list {
	margin: 48px 0 0;
	display: grid;
	grid-template-columns: 200px 1fr;
	border-top: 1px solid var(--color-border);
}

.def-list dt {
	padding: 24px 0;
	border-bottom: 1px solid var(--color-border);
	font-size: 14.5px;
	letter-spacing: 0.06em;
	color: var(--color-muted);
}

.def-list dd {
	margin: 0;
	padding: 24px 0;
	border-bottom: 1px solid var(--color-border);
	font-size: 15.5px;
	line-height: 1.9;
	color: var(--color-ink);
}

.company__strengths {
	margin-top: 130px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 48px;
}

.strength {
	padding-top: 26px;
	border-top: 1px solid var(--color-border);
}

.strength__no {
	font-size: 26px;
	font-weight: 300;
	letter-spacing: 0.2em;
	color: var(--color-muted);
	font-family: var(--font-logo);
}

.strength__title {
	margin: 16px 0 0;
	font-weight: 500;
	font-size: 20px;
	line-height: 1.5;
	color: var(--color-ink);
}

.strength__text {
	margin: 14px 0 0;
	font-size: 14.5px;
	line-height: 1.95;
	color: var(--color-text-sub);
}

@media (max-width: 1023px) {
	.company__message {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.company__portrait {
		max-width: 420px;
	}

	.def-list {
		grid-template-columns: 1fr;
	}

	.def-list dt {
		border-bottom: none;
		padding-bottom: 4px;
	}

	.company__strengths {
		grid-template-columns: 1fr;
		margin-top: 80px;
	}

	.company__profile {
		margin-top: 90px;
	}
}

/* --------------------------------------------------------------------------
   Contact ページ
   -------------------------------------------------------------------------- */

.contact-page {
	padding: 100px var(--gutter) 130px;
}

.contact-page__inner {
	max-width: 720px;
	margin: 0 auto;
}

.contact-page__line {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	margin-bottom: 80px;
	text-align: center;
}

.contact-page__line p {
	margin: 0;
}

.contact-page__form--empty {
	text-align: center;
	color: var(--color-text-sub);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	padding: 48px 32px;
}

/* 暫定：Googleフォーム埋め込み */
.contact-page__google-embed {
	width: 100%;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	overflow: hidden;
	background: #fff;
}

.contact-page__google-embed iframe {
	display: block;
	width: 100%;
	height: 1400px;
	border: 0;
}

.contact-page__form-note {
	margin: 20px 0 0;
	font-size: 14px;
	line-height: 1.9;
	color: var(--color-text-sub);
	text-align: center;
}

/* Contact Form 7 等のフォーム要素をデザインに合わせる */
.entry-content input[type="text"],
.entry-content input[type="email"],
.entry-content input[type="tel"],
.entry-content input[type="url"],
.entry-content input[type="date"] {
	width: 100%;
	border: none;
	border-bottom: 1px solid var(--color-border);
	background: transparent;
	padding: 12px 2px;
	font-size: 16px;
	font-family: inherit;
	color: var(--color-ink);
	outline: none;
	border-radius: 0;
	transition: border-color 0.3s ease;
}

.entry-content input:focus {
	border-bottom-color: var(--color-ink);
}

.entry-content textarea {
	width: 100%;
	border: 1px solid var(--color-border);
	background: transparent;
	padding: 16px;
	font-size: 16px;
	font-family: inherit;
	line-height: 1.9;
	color: var(--color-ink);
	outline: none;
	resize: vertical;
	border-radius: 0;
	transition: border-color 0.3s ease;
}

.entry-content textarea:focus {
	border-color: var(--color-ink);
}

.entry-content input[type="submit"],
.entry-content button[type="submit"] {
	display: block;
	margin: 40px auto 0;
	background: var(--color-ink);
	color: var(--color-inverse);
	border: 1px solid var(--color-ink);
	border-radius: var(--radius-pill);
	padding: 18px 48px;
	font-size: 15.5px;
	font-family: inherit;
	cursor: pointer;
	transition: transform 0.3s ease;
}

.entry-content input[type="submit"]:hover {
	transform: translateY(-1px);
}

.entry-content label {
	display: block;
	font-size: 14px;
	letter-spacing: 0.04em;
	color: var(--color-ink);
}

.entry-content .wpcf7-form p {
	margin: 0 0 30px;
}

/* --------------------------------------------------------------------------
   汎用ページ・エントリー本文
   -------------------------------------------------------------------------- */

.generic-page__inner {
	padding: 80px var(--gutter) 120px;
	max-width: 860px;
	margin: 0 auto;
}

.page-content {
	margin-top: 100px;
}

.entry-content h2 {
	margin: 2.5em 0 1em;
	font-size: clamp(22px, 2.2vw, 28px);
	line-height: 1.5;
}

.entry-content h3 {
	margin: 2em 0 0.8em;
	font-size: clamp(18px, 1.8vw, 22px);
	line-height: 1.6;
}

.entry-content p {
	margin: 0 0 1.6em;
}

.entry-content ul,
.entry-content ol {
	margin: 0 0 1.6em;
	padding-left: 1.4em;
}

.entry-content img {
	border-radius: var(--radius-md);
}

.entry-content iframe {
	max-width: 100%;
}

/* --------------------------------------------------------------------------
   ページネーション
   -------------------------------------------------------------------------- */

.pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 12px;
	margin-top: 96px;
	font-family: var(--font-en);
	flex-wrap: wrap;
}

.pagination .page-numbers {
	border: 1px solid var(--color-border);
	background: transparent;
	color: var(--color-ink);
	border-radius: var(--radius-pill);
	min-width: 44px;
	height: 44px;
	display: inline-grid;
	place-items: center;
	padding: 0 14px;
	font-size: 14px;
	transition: all 0.25s ease;
}

.pagination .page-numbers.current {
	border-color: var(--color-ink);
	background: var(--color-ink);
	color: var(--color-inverse);
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next {
	padding: 0 22px;
}

.pagination .page-numbers.dots {
	border: none;
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */

.error-404 {
	padding: 220px var(--gutter) 160px;
	text-align: center;
}

.error-404__code {
	margin: 0;
	font-size: clamp(64px, 10vw, 120px);
	font-weight: 300;
	letter-spacing: 0.2em;
	color: var(--color-muted);
	font-family: var(--font-logo);
	line-height: 1;
}

.error-404__title {
	margin: 32px 0 0;
	font-size: clamp(20px, 2.4vw, 30px);
}

.error-404__text {
	margin: 20px 0 48px;
	color: var(--color-text-sub);
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}
}

/* =========================================================
   スクロール出現アニメーション（参考: greatriver.amana.jp 系）
   JS が付与する .has-reveal 配下でのみ初期状態を隠す（JS無効時は通常表示）
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {

	/* --- フェードアップ（本文・ラベル・カード・画像・ボタン等） --- */
	.has-reveal .rvl {
		opacity: 0;
		transform: translateY(30px);
		transition: opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
			transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
		will-change: opacity, transform;
	}

	.has-reveal .rvl.is-in {
		opacity: 1;
		transform: none;
	}

	/* --- 見出し：行ごとにマスクからせり上げ --- */
	.has-reveal .rvl-h .rvl-line {
		display: block;
		overflow: hidden;
	}

	.has-reveal .rvl-h .rvl-line__i {
		display: inline-block;
		transform: translateY(110%);
		transition: transform 1s cubic-bezier(0.22, 0.61, 0.36, 1);
		will-change: transform;
	}

	.has-reveal .rvl-h.is-in .rvl-line__i {
		transform: none;
	}

	/* 複数行の見出しは行ごとに少しずつ遅延 */
	.has-reveal .rvl-h.is-in .rvl-line:nth-child(2) .rvl-line__i { transition-delay: 0.08s; }
	.has-reveal .rvl-h.is-in .rvl-line:nth-child(3) .rvl-line__i { transition-delay: 0.16s; }
	.has-reveal .rvl-h.is-in .rvl-line:nth-child(4) .rvl-line__i { transition-delay: 0.24s; }
	.has-reveal .rvl-h.is-in .rvl-line:nth-child(5) .rvl-line__i { transition-delay: 0.32s; }
	.has-reveal .rvl-h.is-in .rvl-line:nth-child(6) .rvl-line__i { transition-delay: 0.40s; }
}

/* =========================================================
   初期ローディング画面（TOPページ・セッション初回のみ）
   ========================================================= */
.site-loader {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: grid;
	place-items: center;
	background: #2a2b2f;
	opacity: 1;
	transition: opacity 0.7s ease, visibility 0.7s ease;
}
.site-loader.is-hidden {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}
.site-loader__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 22px;
	transform: translateY(6px);
	opacity: 0;
	animation: yawokiLoaderIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.site-loader__logo { display: block; color: #fff; }
.site-loader__logo svg { width: 176px; height: auto; }
.site-loader__bar {
	display: block;
	width: 120px;
	height: 1px;
	background: rgba(255, 255, 255, 0.18);
	overflow: hidden;
}
.site-loader__bar > span {
	display: block;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.85);
	transform: translateX(-100%);
	animation: yawokiLoaderBar 1.4s ease-in-out infinite;
}
@keyframes yawokiLoaderIn { to { transform: translateY(0); opacity: 1; } }
@keyframes yawokiLoaderBar {
	0% { transform: translateX(-100%); }
	50% { transform: translateX(0); }
	100% { transform: translateX(100%); }
}
@media (prefers-reduced-motion: reduce) {
	.site-loader__inner { animation: none; opacity: 1; transform: none; }
	.site-loader__bar > span { animation: none; transform: none; opacity: 0.6; }
	.site-loader { transition: opacity 0.2s ease; }
}
