/*
Theme Name: THE ROCK
Theme URI: https://the-rock.jp/
Author: 株式会社I am.
Description: 株式会社ザ・ロック コーポレートサイト用オリジナルテーマ（PC 1440px / SP 375px 基準）
Version: 1.0.0
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: the-rock
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--c-black: #000;
	--c-white: #fff;
	--c-gray-950: #121212; /* TOP 事業内容 */
	--c-gray-900: #171717; /* CTA 会社概要 */
	--c-gray-850: #222;    /* CTA 採用情報 */
	--c-gray-800: #2e2e2e; /* CTA お問い合わせ / 情報ボックス */
	--c-gray-750: #3c3c3c; /* 下層セクション背景 */
	--c-field: #2c2c2c;    /* フォーム入力欄 */
	--c-line: #9a9a9a;     /* テーブル罫線 */
	--c-muted: #a6a6a6;
	--c-btn-shadow: #bdbdbd;

	--ff-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	--ff-en: "Inter", "Noto Sans JP", sans-serif;
	--ff-num: "Oswald", "Noto Sans JP", sans-serif;

	--header-h: 100px;
	--container: 1200px;
	--gutter: 40px;
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: var(--header-h);
}

body {
	margin: 0;
	overflow-x: clip;
	background: var(--c-black);
	color: var(--c-white);
	font-family: var(--ff-ja);
	font-size: 16px;
	line-height: 1.8;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; vertical-align: bottom; border: 0; }
button { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
address { font-style: normal; }
table { width: 100%; border-collapse: collapse; }
:focus-visible { outline: 2px solid var(--c-white); outline-offset: 3px; }

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

/* ==========================================================================
   Layout
   ========================================================================== */
.l-container {
	width: min(calc(100% - var(--gutter) * 2), var(--container));
	margin-inline: auto;
}
.l-container--md      { --container: 1000px; }
.l-container--sm      { --container: 800px; }
.l-container--form    { --container: 820px; }
.l-container--privacy { --container: 900px; }
.l-container--access  { --container: 1064px; }

.is-no-fv .l-main { padding-top: var(--header-h); }

/* ---------- Header ---------- */
.l-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	height: var(--header-h);
	transition: background-color .3s;
}
.l-header.is-scrolled,
.is-no-fv .l-header,
.is-menu-open .l-header { background: var(--c-black); }

.l-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
	padding: 0 40px;
}
.l-header__logo {
	position: relative;
	z-index: 2;
	display: block;
	flex-shrink: 0;
	width: 168px;
}
.l-header__logo img { display: block; width: 100%; }

.l-nav {
	display: flex;
	align-items: center;
	gap: 32px;
}
.l-nav__list {
	display: flex;
	gap: clamp(18px, 2.2vw, 32px);
}
.l-nav__link {
	position: relative;
	display: block;
	padding: 8px 0;
	font-family: var(--ff-en);
	font-size: 14px;
	font-weight: 400;
	letter-spacing: .14em;
	line-height: 1;
	white-space: nowrap;
}
.l-nav__link::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: calc(100% - .14em);
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .3s;
}
.l-nav__link:hover::after,
.l-nav__link[aria-current="page"]::after { transform: scaleX(1); }

/* Hamburger 30×21 */
.l-header__toggle {
	position: relative;
	z-index: 2;
	display: none;
	width: 30px;
	height: 21px;
}
.l-header__toggle span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 1px;
	background: var(--c-white);
	transition: transform .3s, opacity .3s;
}
.l-header__toggle span:nth-child(1) { top: 0; }
.l-header__toggle span:nth-child(2) { top: 10px; }
.l-header__toggle span:nth-child(3) { top: 20px; }
.l-header__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.l-header__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.l-header__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* ---------- Footer ---------- */
.l-footer { background: var(--c-black); }
.l-footer__inner {
	display: grid;
	grid-template-columns: 1fr 239px 1fr;
	align-items: center;
	min-height: 200px;
	padding: 40px var(--gutter);
}
.l-footer__logo { grid-column: 2; display: block; }
.l-footer__logo img { display: block; width: 239px; }
.l-footer__info {
	grid-column: 3;
	justify-self: start;
	margin-left: clamp(24px, 11vw, 158px);
	font-size: 14px;
	line-height: 1.7;
	letter-spacing: .04em;
}
.l-footer__copy {
	background: #3a3a3a;
	color: #e6e6e6;
	font-size: 14px;
	line-height: 32px;
	letter-spacing: .06em;
	text-align: center;
}
.l-footer__copy small { font-size: inherit; }

/* ==========================================================================
   Components
   ========================================================================== */

/* ---------- Loader（1.5s表示 → 0.5sでフェードアウト） ---------- */
.c-loader {
	position: fixed;
	inset: 0;
	z-index: 1000;
	background: var(--c-black);
	pointer-events: none;
	animation: loader-out .5s ease 1.5s forwards;
}
.c-loader__img {
	display: block;
	width: 100%;
	height: 100%;
	background-image: var(--loader-pc);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
@media (max-width: 767px), (orientation: portrait) and (max-width: 1023px) {
	.c-loader__img { background-image: var(--loader-sp); }
}
@keyframes loader-out {
	to { opacity: 0; visibility: hidden; }
}

/* ---------- Button（オフセットの影付き） ---------- */
.c-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	min-width: 180px;
	height: 46px;
	padding: 0 24px;
	background: var(--c-white);
	box-shadow: 18px 8px 0 var(--c-btn-shadow);
	color: #333;
	font-size: 14px;
	letter-spacing: .1em;
	line-height: 1;
	transition: transform .2s, box-shadow .2s;
}
.c-btn:hover {
	transform: translate(4px, 3px);
	box-shadow: 14px 5px 0 var(--c-btn-shadow);
}
.c-btn__arrow { font-size: 12px; }
.c-btn--en {
	font-family: var(--ff-en);
	letter-spacing: .14em;
	color: #555;
}
.c-btn--flat {
	position: relative;
	min-width: 220px;
	height: 56px;
	padding: 0 48px;
	box-shadow: none;
	font-size: 15px;
	color: #111;
}
.c-btn--flat .c-btn__arrow {
	position: absolute;
	top: 50%;
	right: 20px;
	transform: translateY(-50%);
	font-size: 15px;
}
.c-btn--flat:hover { transform: none; box-shadow: none; opacity: .85; }

/* ---------- Heading（英字ラベル＋和文＋下線） ---------- */
.c-heading__en {
	display: block;
	font-size: clamp(12px, 1.11vw, 16px);
	font-weight: 500;
	letter-spacing: .12em;
	line-height: 1.4;
}
.c-heading__ja {
	display: block;
	font-size: clamp(26px, 2.78vw, 40px);
	font-weight: 700;
	letter-spacing: .04em;
	line-height: 1.4;
}
.c-heading__ja::after {
	content: "";
	display: block;
	width: 180px;
	height: 2px;
	margin-top: 8px;
	background: currentColor;
}

.c-sec-title {
	font-size: 40px;
	font-weight: 700;
	letter-spacing: .04em;
	line-height: 1.4;
	text-align: center;
}

/* 縦線セパレーター（｜） */
.c-sep {
	display: inline-block;
	width: 1px;
	height: 1em;
	margin: 0 .45em;
	background: currentColor;
	vertical-align: -.12em;
}

/* ---------- Table（会社概要・募集要項） ---------- */
.c-table {
	margin-top: 48px;
	border-top: 1px solid var(--c-line);
}
.c-table tr { border-bottom: 1px solid var(--c-line); }
.c-table th {
	width: 260px;
	padding: 24px;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .04em;
	line-height: 1.8;
	text-align: left;
	vertical-align: top;
}
.c-table td {
	padding: 24px 24px 24px 0;
	font-size: 15px;
	letter-spacing: .04em;
	line-height: 1.7;
}

/* ---------- Info box（TEL / MAIL） ---------- */
.c-infobox {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 200px;
	padding: 32px 36px;
	background: var(--c-gray-800);
	text-align: left;
}
.c-infobox__label {
	font-family: var(--ff-en);
	font-size: 13px;
	letter-spacing: .14em;
	line-height: 1.4;
	color: #9a9a9a;
}
.c-infobox__main {
	align-self: flex-start;
	font-family: var(--ff-num);
	font-size: 46px;
	font-weight: 600;
	letter-spacing: .01em;
	line-height: 1.25;
	word-break: break-all;
}
.c-infobox__note {
	font-size: 13px;
	line-height: 1.6;
	color: #b3b3b3;
}
.c-infobox__main--ja {
	font-family: var(--ff-ja);
	font-size: 36px;
	font-weight: 700;
	letter-spacing: .04em;
	line-height: 1.4;
	word-break: normal;
}
.c-infobox--entry {
	width: min(100%, 580px);
	margin: 28px auto 0;
	padding-left: 100px;
}

/* ==========================================================================
   FV（ヘッダーを被せる前提：画像内にヘッダー領域を含む）
   ========================================================================== */
.p-fv {
	position: relative;
	overflow: hidden;
	background: var(--c-black);
	container-type: inline-size; /* 以下の cqw は「FVの幅」基準。画像の拡縮と完全に一致する */
}
.p-fv__bg {
	display: block;
	width: 100%;
	aspect-ratio: 1440 / 784;          /* PC版FVの比率 */
	max-height: 100vh;                 /* svh未対応ブラウザ向けフォールバック */
	max-height: 100svh;                /* URLバー表示時の可視高さに収める */
	background-image: var(--fv-pc);
	background-position: bottom center; /* 画面下を基準に配置。切れるのは画像の上側だけ */
	background-repeat: no-repeat;
	background-size: cover;
}
.p-fv__content {
	position: absolute;
	left: 10.42cqw;  /* 150 / 1440：横位置は画像と同じ幅基準 */
	top: 43.4%;      /* 340 / 784：縦位置は表示領域基準 */
}
.p-fv--lighting-production .p-fv__content { left: 69.03cqw; top: 40%; }
.p-fv--privacy-policy .p-fv__content      { left: 67.15cqw; top: 49%; }

.p-fv__lead {
	margin-top: 18px;
	font-size: clamp(15px, 1.39vw, 20px);
	font-weight: 700;
	letter-spacing: .04em;
	line-height: 1.5;
}
.p-fv__lead--lg {
	margin-top: 16px;
	font-size: clamp(18px, 2.22vw, 32px);
}

/* TOP：手書きコピー画像 527×135 / top307 left85 */
.p-fv__copy {
	position: absolute;
	left: 5.9cqw;    /* 85 / 1440 */
	top: 39.16%;     /* 307 / 784 */
	width: 36.6cqw;  /* 527 / 1440 */
	line-height: 0;
}
.p-fv__copy img { width: 100%; }

/* ==========================================================================
   CTA（会社概要／採用情報／お問い合わせ）
   ========================================================================== */
.p-cta__list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}
.p-cta__link {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	min-height: 385px;
	padding: 40px 24px 40px var(--cta-pl);
	overflow: hidden;
	background: var(--cta-bg);
}
.p-cta__item--company { --cta-bg: var(--c-gray-900); --cta-pl: 58px; }
.p-cta__item--recruit { --cta-bg: var(--c-gray-850); --cta-pl: 64px; }
.p-cta__item--contact { --cta-bg: var(--c-gray-800); --cta-pl: 48px; }

.p-cta__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	background-position: center;
	background-size: cover;
	opacity: 0;
	transition: opacity .5s;
}
@media (hover: hover) {
	.p-cta__bg { background-image: var(--hover-bg); }
	.p-cta__link:hover .p-cta__bg,
	.p-cta__link:focus-visible .p-cta__bg { opacity: 1; }
}
/* タッチ端末：ホバーがないため、タップ中・長押し中に同じ状態を出す */
@media (hover: none) {
	.p-cta__bg {
		background-image: var(--hover-bg);
		transition: opacity .25s;
	}
	.p-cta__link:active .p-cta__bg,
	.p-cta__link:focus-visible .p-cta__bg { opacity: 1; }
	.p-cta__link { -webkit-tap-highlight-color: transparent; }
}
.p-cta__body { display: block; }
.p-cta .c-heading__en { font-size: 16px; }
.p-cta__title { font-size: clamp(28px, 2.78vw, 40px); }
.p-cta__title::after { margin-top: 10px; }
.p-cta__text {
	display: block;
	margin-top: 14px;
	font-size: clamp(15px, 1.39vw, 20px);
	font-weight: 700;
	letter-spacing: .02em;
	line-height: 1.55;
}

/* ==========================================================================
   TOP
   ========================================================================== */
.p-top-news {
	border-top: 1px solid #8c8c8c;
	background: linear-gradient(90deg, #4a4a4a 0%, #9c9c9c 100%);
}
.p-top-news__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 90px;
	min-height: 140px;
	padding: 24px var(--gutter);
}
.p-top-news__title {
	font-family: var(--ff-en);
	font-size: 36px;
	font-weight: 400;
	letter-spacing: .2em;
	line-height: 1.1;
}
.p-top-news__sub {
	margin-top: 6px;
	padding-left: 24px;
	font-size: 16px;
	letter-spacing: .05em;
	line-height: 1.5;
}
.p-top-news__sub span { margin-left: 16px; }

.p-top-service {
	padding: 64px 0 72px;
	background: var(--c-gray-950);
}
.p-top-service__list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px;
	margin-top: 48px;
}
.p-top-service__img img {
	display: block;
	width: 100%;
	aspect-ratio: 580 / 340;
	object-fit: cover;
}
.p-top-service__label {
	display: flex;
	align-items: baseline;
	gap: 14px;
	margin-top: 40px;
	line-height: 1;
}
.p-top-service__num {
	font-family: var(--ff-num);
	font-size: 28px;
	font-weight: 600;
}
.p-top-service__en {
	font-size: 16px;
	font-weight: 500;
	letter-spacing: .15em;
}
.p-top-service__title {
	margin-top: 12px;
	padding-left: 40px;
	font-size: 24px;
	font-weight: 700;
	letter-spacing: .04em;
	line-height: 1.5;
}
.p-top-service__btn {
	margin-top: 36px;
	padding-right: 18px;
	text-align: right;
}

/* ==========================================================================
   照明演出
   ========================================================================== */
.p-lp-intro {
	padding: 66px 0 72px;
	background: var(--c-gray-750);
}
.p-lp-intro__img img { display: block; width: 100%; }
.p-lp-intro__title { margin-top: 48px; }
.p-lp-intro__text {
	margin-top: 16px;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: .04em;
	line-height: 1.85;
}
.p-lp-intro__text + .p-lp-intro__text { margin-top: 1.85em; }

.p-lp-works {
	padding: 100px 0 110px;
	background: var(--c-black);
}
.p-lp-works__list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	align-items: start;
	gap: 36px 40px;
}
.p-lp-works__item:nth-child(even) { margin-top: 50px; }
.p-lp-works__img img {
	display: block;
	width: 100%;
	aspect-ratio: 580 / 340;
	object-fit: cover;
}
.p-lp-works__en {
	margin-top: 36px;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: .15em;
	line-height: 1.4;
}
.p-lp-works__title {
	margin-top: 4px;
	font-size: 24px;
	font-weight: 700;
	letter-spacing: .04em;
	line-height: 1.5;
}

/* ==========================================================================
   特殊効果機材 輸入販売
   ========================================================================== */
.p-eq {
	padding: 92px 0 88px;
	background: var(--c-gray-750);
}
.p-eq__lead {
	max-width: 1000px;
	margin-inline: auto;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: .04em;
	line-height: 1.85;
}
.p-eq__list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 36px 21px;
	margin-top: 80px;
}
.p-eq__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 180px;
	padding: 24px 16px;
	background: var(--c-black);
	text-align: center;
}
.p-eq__name {
	font-size: 22px;
	font-weight: 700;
	letter-spacing: .02em;
	line-height: 1.4;
}
.p-eq__desc {
	margin-top: 18px;
	font-size: 14px;
	letter-spacing: .04em;
	line-height: 1.6;
}
.p-eq__more {
	margin-top: 68px;
	text-align: center;
}
.p-eq__more-text {
	font-size: 16px;
	letter-spacing: .05em;
}
.p-eq__more .c-btn { margin-top: 16px; }

/* ==========================================================================
   会社概要・アクセス
   ========================================================================== */
.p-company {
	padding: 100px 0 110px;
	background: var(--c-black);
}

.p-access {
	padding: 96px 0 130px;
	background: var(--c-gray-750);
}
.p-access__title {
	font-size: 40px;
	font-weight: 700;
	letter-spacing: .04em;
	line-height: 1.4;
}
.p-access__body {
	display: grid;
	grid-template-columns: 760fr 274fr;
	gap: 30px;
	margin-top: 48px;
}
.p-access__map {
	aspect-ratio: 760 / 420;
	background: #7a7a7a;
}
.p-access__map iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	filter: grayscale(1) contrast(1.1); /* モノクロ化 */
}
.p-access__info {
	display: flex;
	flex-direction: column;
	border-top: 2px solid #cfcfcf;
	border-bottom: 2px solid #cfcfcf;
}
.p-access__row {
	padding: 14px 0 16px;
	border-bottom: 2px solid #cfcfcf;
}
.p-access__label {
	font-size: 13px;
	font-weight: 500;
	line-height: 1.6;
}
.p-access__value {
	margin-top: 6px;
	font-size: 15px;
	line-height: 1.8;
}
.p-access__btn {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
	padding: 28px 18px 32px 0;
}

/* ==========================================================================
   採用情報
   ========================================================================== */
.p-recruit {
	padding: 120px 0 140px;
	background: #3a3a3a;
}
.p-recruit-entry {
	padding: 116px 0 110px;
	background: var(--c-black);
	text-align: center;
}
.p-recruit-entry__title {
	font-size: 32px;
	font-weight: 700;
	letter-spacing: .04em;
	line-height: 1.4;
}
.p-recruit-entry__text {
	margin-top: 40px;
	font-size: 14px;
	letter-spacing: .04em;
}

/* ==========================================================================
   個人情報保護方針
   ========================================================================== */
.p-privacy {
	padding: 120px 0 150px;
	background: var(--c-black);
}
.p-privacy__intro {
	font-size: 14px;
	letter-spacing: .04em;
	line-height: 2.2;
}
.p-privacy__list { margin-top: 80px; }
.p-privacy__item {
	display: grid;
	grid-template-columns: 140px 1fr;
}
.p-privacy__item + .p-privacy__item { margin-top: 44px; }
.p-privacy__num {
	align-self: start;
	font-family: var(--ff-num);
	font-size: 40px;
	font-weight: 500;
	line-height: 1;
}
.p-privacy__num::after {
	content: "";
	display: block;
	width: 40px;
	height: 1px;
	margin-top: 8px;
	background: var(--c-white);
}
.p-privacy__title {
	font-size: 20px;
	font-weight: 700;
	letter-spacing: .04em;
	line-height: 1.5;
}
.p-privacy__text {
	margin-top: 6px;
	font-size: 14px;
	letter-spacing: .03em;
	line-height: 2.1;
	color: #e0e0e0;
}
.p-privacy__text a {
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.p-privacy__contact {
	margin-top: 48px;
	padding-top: 40px;
	border-top: 1px solid #8a8a8a;
}
.p-privacy__contact-title {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.5;
}
.p-privacy__contact-text {
	margin-top: 8px;
	font-size: 14px;
	line-height: 2;
}

/* ==========================================================================
   お問い合わせ
   ========================================================================== */
.p-contact-info {
	padding: 100px 0 80px;
	border-bottom: 1px solid #555;
	background: var(--c-black);
}
.p-contact-info__list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px;
}
.p-contact-form {
	padding: 100px 0 116px;
	background: var(--c-black);
}
.p-contact-form__lead {
	margin-top: 28px;
	font-size: 13px;
	letter-spacing: .04em;
	text-align: center;
}

/* ---------- Contact Form 7 ---------- */
.p-form { margin-top: 48px; }
.p-form__item + .p-form__item { margin-top: 32px; }
.p-form__label {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.5;
}
.p-form__req {
	padding: 2px 9px;
	background: #3a3a3a;
	color: #ddd;
	font-size: 10px;
	font-weight: 500;
	line-height: 1.6;
}
.p-form .wpcf7-form-control-wrap {
	display: block;
	margin-top: 12px;
}
.p-form input[type="text"],
.p-form input[type="email"],
.p-form input[type="tel"],
.p-form select,
.p-form textarea {
	width: 100%;
	height: 56px;
	padding: 0 18px;
	border: 0;
	border-radius: 0;
	background: var(--c-field);
	color: var(--c-white);
	font: inherit;
	font-size: 14px;
	-webkit-appearance: none;
	appearance: none;
}
.p-form textarea {
	height: 220px;
	padding: 16px 18px;
	line-height: 1.8;
	resize: vertical;
}
.p-form ::placeholder { color: #8a8a8a; opacity: 1; }
.p-form select {
	padding-right: 56px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M0 0h12L6 8z' fill='%23bdbdbd'/%3E%3C/svg%3E");
	background-position: right 26px center;
	background-repeat: no-repeat;
	cursor: pointer;
}
.p-form select:has(option[value=""]:checked) { color: #8a8a8a; }
.p-form select option { color: var(--c-white); background: var(--c-field); }
.p-form input:focus-visible,
.p-form select:focus-visible,
.p-form textarea:focus-visible { outline: 1px solid var(--c-white); outline-offset: -1px; }

.p-form__alert {
	padding: 16px;
	border: 1px solid #ff9b9b;
	color: #ff9b9b;
	font-size: 13px;
}
.p-form__note {
	margin-top: 28px;
	font-size: 12px;
	letter-spacing: .02em;
	line-height: 1.7;
}
.p-form__note a { text-decoration: underline; text-underline-offset: 2px; }

.p-form__submit {
	position: relative;
	width: 300px;
	max-width: 100%;
	margin: 32px auto 0;
}
.p-form__submit input[type="submit"] {
	width: 100%;
	height: 68px;
	border: 0;
	border-radius: 0;
	background: var(--c-white);
	color: #111;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .1em;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	transition: opacity .2s;
}
.p-form__submit input[type="submit"]:hover { opacity: .85; }
.p-form__submit input[type="submit"]:disabled { opacity: .5; cursor: default; }
.p-form__submit::after {
	content: "→";
	position: absolute;
	top: 34px;
	right: 28px;
	transform: translateY(-50%);
	color: #111;
	font-size: 14px;
	line-height: 1;
	pointer-events: none;
}
.p-form .wpcf7-spinner {
	position: absolute;
	top: 22px;
	left: 100%;
	margin: 0 0 0 12px;
}
.p-form .wpcf7-not-valid-tip {
	margin-top: 6px;
	color: #ff9b9b;
	font-size: 12px;
}
.p-form .wpcf7 form .wpcf7-response-output {
	margin: 24px 0 0;
	padding: 12px 16px;
	border: 1px solid #777;
	font-size: 13px;
}
/* 注記に reCAPTCHA の表記を入れているためバッジは非表示 */
.grecaptcha-badge { visibility: hidden; }

/* ==========================================================================
   サンクス
   ========================================================================== */
.p-thanks {
	padding: 92px 0 96px;
	background: var(--c-gray-750);
}
.p-thanks__box {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 340px;
	padding: 48px 24px;
	background: var(--c-black);
	text-align: center;
}
.p-thanks__title {
	font-size: 28px;
	font-weight: 700;
	letter-spacing: .04em;
	line-height: 1.5;
}
.p-thanks__text {
	margin-top: 22px;
	font-size: 14px;
	letter-spacing: .04em;
	line-height: 2;
}
.p-thanks .c-btn { margin-top: 34px; }

/* ==========================================================================
   お知らせ（フォールバック）
   ========================================================================== */
.p-archive {
	padding: 100px 0 110px;
	background: var(--c-black);
}
.p-news-list {
	margin-top: 48px;
	border-top: 1px solid var(--c-line);
}
.p-news-list__item { border-bottom: 1px solid var(--c-line); }
.p-news-list__link {
	display: flex;
	gap: 40px;
	padding: 24px;
	transition: background-color .2s;
}
.p-news-list__link:hover { background: #1a1a1a; }
.p-news-list__date {
	flex-shrink: 0;
	font-family: var(--ff-num);
	font-size: 15px;
	letter-spacing: .06em;
	color: var(--c-muted);
}
.p-news-list__title { font-size: 15px; }
.p-archive__empty { margin-top: 40px; text-align: center; }
.p-archive__back { margin-top: 56px; text-align: center; }
.nav-links {
	display: flex;
	justify-content: center;
	gap: 16px;
	margin-top: 48px;
	font-family: var(--ff-num);
}
.nav-links .current { border-bottom: 1px solid currentColor; }

.p-entry__date {
	font-family: var(--ff-num);
	color: var(--c-muted);
	letter-spacing: .06em;
}
.p-entry__title {
	margin-top: 8px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--c-line);
	font-size: 28px;
	font-weight: 700;
	line-height: 1.5;
}
.p-entry__body { margin-top: 40px; font-size: 15px; line-height: 2; }
.p-entry__body > * + * { margin-top: 1.5em; }
.p-entry__body ul { padding-left: 1.5em; list-style: disc; }
.p-entry__body ol { padding-left: 1.5em; list-style: decimal; }
.p-entry__body a { text-decoration: underline; }

/* ==========================================================================
   Utility
   ========================================================================== */
@media (min-width: 768px) { .u-sp { display: none; } }
@media (max-width: 767px) { .u-pc { display: none; } }

/* ==========================================================================
   Responsive
   ========================================================================== */

/* ----- 1199px 以下：PCレイアウトのまま縮小 ----- */
@media (max-width: 1199px) {
	.p-top-news__inner { gap: 56px; }
	.p-access__body { grid-template-columns: 1fr 260px; }
}

/* ----- 768〜1199px：折りたたみ展開時・タブレット帯のヘッダー最適化 -----
   Galaxy Z Fold8 展開時（816×616）やiPhone Duo 横持ち（890×626）では、
   1440px基準のヘッダー（100px / ロゴ168px）は相対的に大きすぎる。 */
@media (min-width: 768px) and (max-width: 1199px) {
	:root { --header-h: 72px; }
	.l-header__inner { padding: 0 24px; }
	.l-header__logo { width: 132px; }
	.l-footer__inner { padding: 40px 24px; }
	.l-footer__info { margin-left: clamp(16px, 6vw, 80px); }
}

/* ----- 横長かつ画面が低い端末（展開時の横持ち・スマホ横向き） ----- */
@media (orientation: landscape) and (max-height: 520px) {
	:root { --header-h: 56px; }
	.l-header__logo { width: 120px; }
	.l-nav { padding-top: calc(var(--header-h) + 12px); gap: 20px; }
	.l-nav__list { gap: 4px; }
}

/* ----- 1023px 以下：ナビをハンバーガー化 ----- */
@media (max-width: 1023px) {
	.l-header__toggle { display: block; }

	.l-nav {
		position: fixed;
		inset: 0;
		z-index: 1;
		flex-direction: column;
		justify-content: center;
		gap: 44px;
		padding: calc(var(--header-h) + 24px) 24px 48px;
		overflow-y: auto;
		background: rgba(0, 0, 0, .96);
		opacity: 0;
		visibility: hidden;
		transition: opacity .3s, visibility .3s;
	}
	.is-menu-open .l-nav { opacity: 1; visibility: visible; }
	.is-menu-open,
	.is-menu-open body { overflow: hidden; }

	.l-nav__list {
		flex-direction: column;
		align-items: center;
		gap: 12px;
	}
	.l-nav__link { padding: 12px 0; }
	.l-nav__contact { margin-right: 18px; } /* 影の分だけ中心補正 */

	.p-lp-works__list { gap: 36px 24px; }
	.p-cta__link { --cta-pl: 28px; padding-right: 20px; min-height: 300px; }
	.p-cta__title::after { width: 140px; }
	.p-eq__list { grid-template-columns: repeat(2, 1fr); }
	.p-access__body { grid-template-columns: 1fr; }
	.p-access__info { max-width: 480px; }
	.p-privacy__item { grid-template-columns: 100px 1fr; }
}

/* ----- 767px 以下：SP（375px 基準） ----- */
@media (max-width: 767px) {
	:root {
		--header-h: 43px;
		--gutter: 20px;
	}

	/* Header：ロゴ left10 top7 / ハンバーガー right8 top11 */
	.l-header__inner { padding: 0 8px 0 10px; }
	.l-header__logo { width: 127px; }

	/* Footer */
	.l-footer__inner {
		grid-template-columns: 1fr;
		justify-items: center;
		gap: 12px;
		min-height: 0;
		padding: 33px 20px 28px;
	}
	.l-footer__logo { grid-column: auto; }
	.l-footer__info {
		grid-column: auto;
		justify-self: center;   /* ブロックは中央、文字は左揃え */
		margin-left: 0;
		font-size: 12px;
		line-height: 1.67;
		text-align: left;
	}
	.l-footer__copy { font-size: 12px; }

	/* Components */
	.c-sec-title { font-size: 26px; }
	.c-heading__ja::after { width: 120px; }
	.c-btn { min-width: 170px; box-shadow: 12px 6px 0 var(--c-btn-shadow); }
	.c-btn:hover { transform: none; box-shadow: 12px 6px 0 var(--c-btn-shadow); }
	.c-btn--flat, .c-btn--flat:hover { box-shadow: none; }

	.c-table { margin-top: 32px; }
	.c-table th,
	.c-table td {
		display: block;
		width: auto;
	}
	.c-table th { padding: 18px 4px 2px; font-size: 12px; color: #cfcfcf; }
	.c-table td { padding: 0 4px 18px; font-size: 14px; }

	.c-infobox { min-height: 0; padding: 28px 22px; }
	.c-infobox__main { font-size: clamp(28px, 8.6vw, 34px); }
	.c-infobox--entry { padding-left: 22px; }

	/* CTA */
	.p-cta__list { grid-template-columns: 1fr; }
	.p-cta__link { min-height: 300px; padding: 40px 20px 40px 50px; } /* 3枚とも同じ左位置に統一 */
	.p-cta .c-heading__en { font-size: 16px; }
	.p-cta__title { font-size: 36px; line-height: 1.3; }
	.p-cta__title::after { width: 134px; margin-top: 2px; }
	.p-cta__text {
		margin-top: 11px;
		font-size: 18px;
		letter-spacing: .02em;
		line-height: 1.42;
	}
	/* デザインの改行位置を再現するための行長 */
	.p-cta__item--company .p-cta__text { max-width: 266px; }
	.p-cta__item--contact .p-cta__text { max-width: 300px; }

	/* TOP */
	.p-top-news__inner {
		flex-direction: column;
		gap: 24px;
		padding: 36px 20px 40px;
	}
	.p-top-news__head { text-align: center; }
	.p-top-news__title { font-size: 28px; }
	.p-top-news__sub { padding-left: 0; font-size: 14px; }
	.p-top-service { padding: 56px 0 64px; }
	.p-top-service__list { grid-template-columns: 1fr; gap: 56px; margin-top: 32px; }
	.p-top-service__label { gap: 10px; margin-top: 20px; }
	.p-top-service__num { font-size: 24px; }
	.p-top-service__en { font-size: 12px; }
	.p-top-service__title { padding-left: 0; margin-top: 10px; font-size: 18px; }
	.p-top-service__btn { margin-top: 24px; padding-right: 12px; }

	/* 照明演出 */
	.p-lp-intro { padding: 40px 0 56px; }
	.p-lp-intro__title { margin-top: 32px; }
	.p-lp-intro__text { font-size: 14px; }
	.p-lp-works { padding: 56px 0 64px; }
	.p-lp-works__list { grid-template-columns: 1fr; gap: 40px; }
	.p-lp-works__item:nth-child(even) { margin-top: 0; }
	.p-lp-works__en { margin-top: 16px; font-size: 12px; }
	.p-lp-works__title { font-size: 20px; }

	/* 特殊効果機材 */
	.p-eq { padding: 56px 0 64px; }
	.p-eq__lead { font-size: 14px; }
	.p-eq__list { grid-template-columns: 1fr; gap: 12px; margin-top: 40px; }
	.p-eq__item { min-height: 120px; }
	.p-eq__name { font-size: 18px; }
	.p-eq__desc { margin-top: 10px; font-size: 13px; }
	.p-eq__more { margin-top: 48px; }
	.p-eq__more-text { font-size: 14px; }

	/* 会社概要・アクセス */
	.p-company { padding: 56px 0 64px; }
	.p-access { padding: 56px 0 64px; }
	.p-access__title { font-size: 26px; }
	.p-access__body { gap: 24px; margin-top: 24px; }
	.p-access__map { aspect-ratio: 4 / 3; }
	.p-access__info { max-width: none; }
	.p-access__btn { padding: 24px 12px 28px 0; }

	/* 採用 */
	.p-recruit { padding: 56px 0 72px; }
	.p-recruit-entry { padding: 56px 0 64px; }
	.p-recruit-entry__title { font-size: 22px; }
	.p-recruit-entry__text { margin-top: 28px; font-size: 13px; }

	/* 個人情報保護方針 */
	.p-privacy { padding: 56px 0 80px; }
	.p-privacy__intro { font-size: 13px; line-height: 2; }
	.p-privacy__list { margin-top: 48px; }
	.p-privacy__item { grid-template-columns: 1fr; gap: 14px; }
	.p-privacy__item + .p-privacy__item { margin-top: 40px; }
	.p-privacy__num { font-size: 30px; }
	.p-privacy__num::after { width: 30px; }
	.p-privacy__title { font-size: 17px; }
	.p-privacy__text { font-size: 13px; line-height: 2; }

	/* お問い合わせ */
	.p-contact-info { padding: 48px 0 48px; }
	.p-contact-info__list { grid-template-columns: 1fr; gap: 16px; }
	.p-contact-form { padding: 56px 0 72px; }
	.p-contact-form__lead { margin-top: 16px; }
	.p-form { margin-top: 32px; }
	.p-form__item + .p-form__item { margin-top: 24px; }
	.p-form input[type="text"],
	.p-form input[type="email"],
	.p-form input[type="tel"],
	.p-form select,
	.p-form textarea { font-size: 16px; } /* iOSのズーム防止 */
	.p-form .wpcf7-spinner { top: auto; bottom: -34px; left: 50%; margin: 0 0 0 -12px; }

	/* サンクス */
	.p-thanks { padding: 40px 0; }
	.p-thanks__box {
		justify-content: flex-start;
		min-height: 507px;
		padding: 108px 20px 70px;
	}
	.p-thanks__title {
		font-size: 23px;
		letter-spacing: .04em;
		line-height: 1.5;
	}
	.p-thanks__text {
		margin-top: 13px;
		font-size: 12px;
		letter-spacing: 0;
		line-height: 2.05;
	}
	.p-thanks .c-btn { margin-top: 68px; }

	/* お知らせ */
	.p-archive { padding: 56px 0 64px; }
	.p-news-list__link { flex-direction: column; gap: 4px; padding: 18px 4px; }
	.p-entry__title { font-size: 22px; }
}

/* ==========================================================================
   FV：向き（orientation）基準のアートディレクション
   --------------------------------------------------------------------------
   幅ではなく「縦長か横長か」で切り替える。
   ・Galaxy Z Fold8 カバー 416×657（縦長）→ SP用FV
   ・Galaxy Z Fold8 展開  816×616（横長）→ PC用FV
   ・iPhone Duo アウター 466×678（縦長）→ SP用FV
   ・iPhone Duo インナー 横持ち 890×626（横長）→ PC用FV
   HTML側の <source media> と必ず同じ条件にすること。
   ========================================================================== */
@media (max-width: 767px), (orientation: portrait) and (max-width: 1023px) {
	/* 位置は画像に対する％。黒帯の位置と常に一致するので重なりが起きない */
	.p-fv__content,
	.p-fv--lighting-production .p-fv__content,
	.p-fv--privacy-policy .p-fv__content {
		left: 10.13cqw;  /* 38 / 375 */
		top: 12.52%;     /* 79 / 631 */
		right: auto;
	}
	/* 文字サイズは375px基準のvw。ただし上限を設け、広い縦長画面で肥大化させない */
	.p-fv .c-heading__en {
		font-size: min(4.267vw, 22px);   /* 16px @375 */
		letter-spacing: .12em;
		line-height: 1.4;
	}
	.p-fv .c-heading__ja {
		font-size: min(8.533vw, 44px);   /* 32px @375 */
		letter-spacing: 0;
		line-height: 1.45;
	}
	.p-fv .c-heading__ja::after {
		width: min(45.333vw, 233px);     /* 170px @375 */
		height: 2px;
		margin: min(2.4vw, 12px) 0 0 2px;
	}
	.p-fv__lead {
		margin-top: min(2.667vw, 14px);
		font-size: min(4.8vw, 25px);     /* 18px @375 */
		letter-spacing: .02em;
		line-height: 1.4;
	}
	.p-fv__lead--lg {
		margin-top: min(2.933vw, 15px);
		font-size: min(6.933vw, 36px);   /* 26px @375 */
		line-height: 1.47;
	}
	/* 背景画像もこのブロックで切り替える。
	   <picture> と違い、折りたたみ端末の開閉時も確実に再評価される。 */
	.p-fv__bg {
		aspect-ratio: 375 / 631;
		background-image: var(--fv-sp);
	}

	/* TOP：手書きコピー 297×76 / top139 left40 */
	.p-fv__copy {
		left: 10.67cqw;  /* 40 / 375 */
		top: 22.03%;     /* 139 / 631 */
		width: 79.2cqw;  /* 297 / 375 */
	}
}

/* ----- 横長で画面が非常に低い場合（スマホ横向きなど）のFV保険 ----- */
@media (orientation: landscape) and (max-height: 500px) {
	.p-fv__content { top: 14%; }
	.p-fv .c-heading__ja { font-size: 24px; }
	.p-fv .c-heading__ja::after { width: 120px; }
	.p-fv__lead { margin-top: 10px; font-size: 14px; }
	.p-fv__lead--lg { font-size: 17px; }
	.p-fv__copy { top: 18%; }
}

/* ==========================================================================
   折りたたみ端末：ヒンジをまたいだ表示（Viewport Segments API）
   対応ブラウザのみ適用。非対応環境では従来どおり。
   ========================================================================== */
@media (horizontal-viewport-segments: 2) {
	:root {
		--hinge: calc(env(viewport-segment-left 1 0, 40px) - env(viewport-segment-right 0 0, 0px));
	}
	/* 2カラムの溝をヒンジ位置に合わせ、折り目の上にコンテンツを置かない */
	.p-top-service__list,
	.p-lp-works__list,
	.p-contact-info__list,
	.p-access__body { column-gap: max(24px, var(--hinge)); }
	/* 3分割はヒンジをまたぐため2分割に */
	.p-cta__list { grid-template-columns: repeat(2, 1fr); }
	.p-fv__content { max-width: 44%; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; }
	.c-loader { animation-duration: .01ms; } /* 1.5s表示は維持、フェードのみ省略 */
}
