/* ==========================================================================
   GALA COLLECTION — main.css
   数値は Figma「DESIGN-SPACE / PC」（幅1440）に準拠。
   ブレークポイント: SP 〜767px / TB 768〜1199px / PC 1200px〜
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
	--c-black: #000;
	--c-white: #fff;
	--c-gray-250: #d9d9d9;
	--c-gray-450: #9f9f9f;
	--c-gray-500: #7f7f7f;
	--c-gray-700: #555;
	--c-yellow: #d0df00;

	--f-jp: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
	--f-en: "Futura", "futura-pt", "Jost", "Noto Sans JP", sans-serif;
	--f-gill: "Gill Sans", "Gill Sans MT", "Jost", sans-serif;

	--pad: 40px;          /* 左右の余白 */
	--w-content: 1080px;  /* 本文の幅：ヘッダーの幅（--w-inner）にそろえる（2026-10 クライアントの要望。デザインは1280） */
	--w-inner: 1080px;
	--header-h: 92px;
	--header-h-scrolled: 72px;
	--ease: cubic-bezier(.25, .8, .25, 1);
}

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

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--c-white);
	color: var(--c-black);
	font-family: var(--f-jp);
	font-size: 16px;
	line-height: 24px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-wrap: anywhere;
}

body.is-locked { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; }

button {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	cursor: pointer;
}

h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--c-yellow); outline-offset: 2px; }

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

.skip-link {
	position: absolute;
	top: -100px;
	left: 16px;
	z-index: 200;
	padding: 8px 16px;
	background: var(--c-black);
	color: var(--c-white);
	font-size: 14px;
}
.skip-link:focus { top: 16px; }

.container {
	width: 100%;
	max-width: calc(var(--w-content) + var(--pad) * 2);
	margin-inline: auto;
	padding-inline: var(--pad);
}

@media (hover: hover) {
	a, button { transition: opacity .3s var(--ease); }
	a:hover, button:hover { opacity: .6; }
}

/* ---------- Header ---------- */
/* 常に画面上部に固定。トップではFV上で透過し、FVを過ぎると白背景に切り替わる */
.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 50;
	background: var(--c-white);
	color: var(--c-black);
	transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
}

.site-header--overlay {
	background: transparent;
	color: var(--c-white);
}

.site-header.is-scrolled {
	background: rgba(255, 255, 255, .96);
	color: var(--c-black);
	box-shadow: 0 1px 0 rgba(0, 0, 0, .08);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
/* 600px以下では管理バーがページと一緒にスクロールするため、JSで隙間を詰める */
@media (max-width: 600px) { .admin-bar .site-header { top: var(--gala-ab-offset, 46px); } }

/* 固定ヘッダー分の余白（FVに重ねるトップ以外） */
body:not(.has-overlay-header) { padding-top: var(--header-h); }

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: calc(var(--w-inner) + var(--pad) * 2);
	height: var(--header-h);
	margin-inline: auto;
	padding: 32px var(--pad);
	transition: height .4s var(--ease), padding .4s var(--ease);
}

.site-header.is-scrolled .site-header__inner {
	height: var(--header-h-scrolled);
	padding-block: calc((var(--header-h-scrolled) - 28px) / 2);
}

.site-header__btn {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
}
.site-header__btn svg { width: 28px; height: 28px; }

.site-header__logo { margin: 0; line-height: 0; }
.site-header__logo svg { width: 224.532px; height: 17.92px; }

/* ---------- READ MORE ---------- */
.readmore {
	display: inline-flex;
	flex-shrink: 0;
	gap: 12px;
	align-items: center;
	color: var(--c-gray-700);
	font-family: var(--f-en);
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
	letter-spacing: 2px;
	white-space: nowrap;
}
.readmore__arrow { width: 72.5px; height: 7.364px; }

.readmore--light {
	color: var(--c-gray-250);
	font-family: var(--f-gill);
	font-weight: 400;
}

/* ---------- Section head ---------- */
.section-head {
	display: flex;
	gap: 16px;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: 24px;
}

.section-head__title {
	display: flex;
	flex-wrap: wrap;
	gap: 0 24px;
	align-items: flex-end;
	font-weight: 400;
}

.section-head__en {
	padding-bottom: 3px;
	font-family: var(--f-en);
	font-size: 32px;
	font-weight: 500;
	line-height: 28px;
	letter-spacing: 4px;
	text-transform: uppercase;
	white-space: nowrap;
}

.section-head__ja {
	font-size: 16px;
	line-height: 24px;
	white-space: nowrap;
}

/* ---------- Hero ---------- */
.hero {
	position: relative;
	height: 567px;
	overflow: hidden;
	background: var(--c-black);
	color: var(--c-white);
}

.hero__slides { position: absolute; inset: 0; }

.hero__slide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	padding: var(--header-h) 0 48px; /* ドット（8px）＋下余白40px */
	visibility: hidden;
	opacity: 0;
	transition: opacity .6s var(--ease), visibility 0s linear .6s;
}
.hero__slide.is-active {
	z-index: 1;
	visibility: visible;
	opacity: 1;
	transition: opacity .6s var(--ease), visibility 0s;
}
.hero__slide::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .4);
}

.hero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero__content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-items: flex-start;
	width: 100%;
	max-width: calc(var(--w-inner) + var(--pad) * 2);
	margin-inline: auto;
	padding-inline: var(--pad);
}

.hero__label {
	padding: 4px 12px;
	border-radius: 999px;
	box-shadow: inset 0 0 0 .5px var(--c-white); /* Figma の内側線（サイズに含めない） */
	font-size: 12px;
	font-weight: 700;
	line-height: 18px;
}

.hero__title {
	display: -webkit-box;
	max-width: 534px;
	overflow: hidden;
	font-size: 32px;
	font-weight: 700;
	line-height: 40px;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.hero__dots {
	position: absolute;
	bottom: 32px; /* ドット中心が下端から44px（=40px + 4px） */
	left: 50%;
	z-index: 2;
	display: flex;
	transform: translateX(-50%);
}

.hero__dot {
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
}
.hero__dot::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--c-gray-450);
	transition: background-color .3s var(--ease);
}
.hero__dot.is-active::before { background: var(--c-yellow); }

/* ---------- Front body ---------- */
.front__body {
	display: flex;
	flex-direction: column;
	gap: 128px;
	padding-top: 112px;
	padding-bottom: 128px;
}

/* SERVICE */
.service-cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr)); /* CONSULTING・SUBMISSION・AGENCY・SUBTITLE */
	gap: 24px;
}

.service-card {
	display: flex;
	flex-direction: column;
	gap: 48px;
	align-items: flex-start;
	padding: 31px 23px; /* Figma は内側線のため、枠線1px分を余白から差し引く */
	border: 1px solid var(--c-black);
	color: inherit;
	text-decoration: none;
	transition: opacity .3s var(--ease);
}
.service-card__head,
.service-card__desc { display: flex; }
.service-card__desc { display: block; }
@media (hover: hover) {
	/* ブロック全体がリンク：マウスを乗せるとブロック全体を半透明に */
	.service-card:hover { opacity: .6; }
}

.service-card__text {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.service-card__head {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-weight: 400;
	text-transform: uppercase;
}

.service-card__en {
	font-family: var(--f-en);
	font-size: 24px;
	font-style: italic;
	font-weight: 500;
	line-height: 32px;
	letter-spacing: 4px;
}

.service-card__ja { font-size: 18px; line-height: 22px; }

.service-card__desc {
	font-size: 14px;
	line-height: 22px;
}

.service-card .readmore { margin-top: auto; }

/* SCHEDULE */
.fest-circles {
	display: flex;
	gap: 24px;
}

.fest-circle { flex: 1 0 0; min-width: 0; }

.fest-circle a {
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: center;
	text-align: center;
}

.fest-circle__img {
	display: grid;
	place-items: center;
	width: 100%;
	max-width: 146px; /* 本文の幅に7つ並ぶよう、列の幅に合わせて縮む */
	height: auto;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 50%;
	background: var(--c-gray-250);
}
.fest-circle__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.fest-circle__img svg { width: 40%; height: auto; color: var(--c-white); }
/* 共通のロゴ画像（白地）。白い背景の上でも丸い形がわかるよう外側に線を引く */
.fest-circle__img--logo { box-shadow: 0 0 0 1px var(--c-gray-250); }

.fest-circle__text { display: flex; flex-direction: column; align-items: center; }

.fest-circle__name {
	display: -webkit-box;
	overflow: hidden;
	font-size: 16px;
	font-weight: 700;
	line-height: 24px;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.fest-circle__date {
	font-size: 14px;
	line-height: 22px;
}

/* カード（WORKS / NEWS） */
.cards {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
}

.cards--news { row-gap: 24px; }

@media (min-width: 768px) {
	.cards--works .card:nth-child(n+6) { display: none; }
}

.card {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.card__media {
	position: relative;
	display: block;
	aspect-ratio: 258 / 140;
	overflow: hidden;
	background: var(--c-gray-250);
}

.card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.card__noimg {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	color: var(--c-white);
}
.card__noimg svg { width: 60%; height: auto; }

.card__body { display: flex; flex-direction: column; }

.card__title {
	display: -webkit-box;
	overflow: hidden;
	font-size: 14px;
	font-weight: 500;
	line-height: 22px;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.card__sub {
	color: var(--c-gray-500);
	font-size: 12px;
	line-height: 18px;
}

/* ABOUT */
.about-box {
	display: flex;
	gap: 40px;
	align-items: center;
	padding: 31px; /* 内側線1px分を差し引く */
	border: 1px solid var(--c-black);
}

.about-box__mark { flex-shrink: 0; }
.about-box__mark svg { width: 123.008px; height: 109.992px; }

.about-box__text {
	flex: 1 0 0;
	min-width: 0;
	font-size: 14px;
	line-height: 22px;
}
.about-box__text p + p { margin-top: 22px; }

/* ---------- 下層ページ共通：ページタイトル ---------- */
.page-title { text-align: center; }

.page-title__heading {
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: center;
	font-weight: 400;
}

.page-title__en {
	font-family: var(--f-en);
	font-size: 32px;
	font-weight: 500;
	line-height: 40px;
	letter-spacing: 4px;
}

.page-title__ja { font-size: 16px; line-height: 24px; }

/* ---------- SERVICE ---------- */
.service__inner {
	display: flex;
	flex-direction: column;
	gap: 80px;
	align-items: center;
	padding-top: 80px;
	padding-bottom: 200px;
}

.service__sections {
	display: flex;
	flex-direction: column;
	gap: 152px;
	width: 100%;
}

.service__section {
	display: flex;
	flex-direction: column;
	gap: 56px;
	align-items: center;
}

.service__heading {
	font-size: 24px;
	font-weight: 400;
	line-height: 32px;
}

/* サービスの流れ（縦線＋丸のタイムライン） */
.flow {
	display: flex;
	flex-direction: column;
	gap: 48px;
	width: 100%;
	padding-left: 64px; /* 丸16px ＋ 間隔48px */
	counter-reset: none;
}

.flow__item {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.flow__item::before {
	content: "";
	position: absolute;
	top: 0;
	left: -64px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--c-black);
}

.flow__item:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 8px;
	left: -58px; /* 丸の中心（8px）に幅4pxの線 */
	width: 4px;
	height: calc(100% + 48px);
	background: var(--c-black);
}

.flow__head {
	display: flex;
	flex-wrap: wrap;
	gap: 0 24px;
	align-items: center;
	font-weight: 400;
}

.flow__step {
	font-family: var(--f-gill);
	font-size: 24px;
	font-weight: 600;
	line-height: 28px;
	letter-spacing: 4px;
	text-transform: uppercase;
}

.flow__title {
	font-size: 18px;
	font-weight: 700;
	line-height: 26px;
}

.flow__text { font-size: 14px; line-height: 22px; }

/* サービスの詳細（PC：比較表） */
.svc-table {
	display: grid;
	grid-template-columns: 102px repeat(5, minmax(0, 1fr)); /* コンサルティング PRO・LITE・応募代行・字幕サービス・エージェンシー */
	grid-template-rows: auto minmax(178px, auto) minmax(54px, auto) minmax(86px, auto) minmax(54px, auto) auto auto;
	gap: 8px;
	width: 100%;
}

.svc-labels,
.svc-col {
	display: grid;
	grid-row: 1 / -1;
	grid-template-rows: subgrid;
}

.svc-labels__cell {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 16px;
	background: #dfdfdf;
	font-size: 14px;
	font-weight: 700;
	line-height: 22px;
	text-align: center;
	white-space: nowrap;
}
.svc-labels__cell:nth-child(1) { grid-row: 2; justify-content: center; }
.svc-labels__cell:nth-child(2) { grid-row: 3; }
.svc-labels__cell:nth-child(3) { grid-row: 4; gap: 3px; justify-content: center; }
.svc-labels__cell:nth-child(4) { grid-row: 5; }
.svc-labels__cell:nth-child(5) { grid-row: 6; align-self: start; height: 54px; }
.svc-labels__cell small { font-size: 10px; font-weight: 400; line-height: 14px; }

.svc-col__head {
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: center;
	margin-bottom: 8px; /* 見出しと表の間は16px */
}

.svc-col__en {
	font-family: var(--f-en);
	font-size: 10px;
	font-style: italic;
	font-weight: 500;
	line-height: 13px;
	letter-spacing: 4px;
	text-transform: uppercase;
}

.svc-col__name {
	display: flex;
	gap: 4px;
	align-items: center;
	font-size: 20px;
	font-weight: 700;
	line-height: 24px;
	white-space: nowrap;
}

.svc-badge {
	padding: 2px 8px;
	border-radius: 999px;
	color: var(--c-white);
	font-size: 12px;
	font-weight: 700;
	line-height: 17px;
}
.svc-badge--pro { background: #9f8130; }
.svc-badge--lite { background: #308a9f; }

.svc-cell {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 16px;
	background: #f4f4f4;
	font-size: 14px;
	line-height: 22px;
	text-align: center;
}

.svc-cell--content { justify-content: flex-start; padding: 12px; text-align: left; }
.svc-cell--price,
.svc-cell--consult { align-items: center; }
.svc-cell--consult { grid-row: 3 / span 3; }

.svc-cell__label { /* PCでは左の見出し列を表示するため、読み上げ専用 */
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.svc-cell__list li { display: flex; gap: 10px; }
.svc-cell__list li::before { content: "-"; flex-shrink: 0; }

.svc-cell--price .svc-cell__value { display: flex; flex-direction: column; align-items: center; }
.svc-price { font-size: 24px; font-weight: 700; line-height: 32px; }
.svc-price__sub { font-size: 14px; line-height: 22px; }

.svc-btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px;
	background: var(--c-black);
	color: var(--c-white);
	font-size: 16px;
	line-height: 24px;
}
.svc-btn::before { content: ""; width: 24px; } /* 文字を中央に置くための左余白 */
.svc-btn__icon { width: 24px; height: 24px; }

.svc-notes {
	color: #6a6a6a;
	font-size: 12px;
	line-height: 18px;
}
.svc-notes__list li::before { content: "※"; }

/* ---------- SCHEDULE（映画祭一覧） ---------- */
.fest-archive__inner {
	display: flex;
	flex-direction: column;
	gap: 80px;
	padding-top: 80px;
	padding-bottom: 200px;
}

.fest-layout {
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr); /* 絞り込みボックスの幅 250px（2026-10 デザイン更新） */
	gap: 32px;
	align-items: start;
}

/* サイドバー */
.fest-filter {
	padding: 24px 16px;
	background: #f4f4f4;
}

.fest-filter__head { display: flex; align-items: center; justify-content: space-between; }
.fest-filter__title { font-size: 20px; font-weight: 700; line-height: 28px; }
.fest-filter__close { display: none; }

.fest-filter__body {
	display: flex;
	flex-direction: column;
	gap: 40px;
	margin-top: 40px;
}

.fest-filter__group { min-width: 0; margin: 0; padding: 0; border: 0; }

.fest-filter__label {
	display: block;
	padding: 0;
	margin-bottom: 8px;
	font-size: 16px;
	font-weight: 700;
	line-height: 24px;
}
fieldset > .fest-filter__label { float: left; width: 100%; margin-bottom: 16px; } /* legend の余白を揃える */
fieldset > .fest-filter__label + * { clear: both; }
fieldset > .fest-filter__label:has(+ .fest-range) { margin-bottom: 8px; } /* 入力欄の前は8px */

.fest-input {
	width: 100%;
	height: 56px;
	padding: 0 15px;
	border: 1px solid var(--c-gray-450);
	border-radius: 0;
	background: var(--c-white);
	color: var(--c-black);
	font: 16px/24px var(--f-jp);
	appearance: none;
}
.fest-input::placeholder { color: #bfbfbf; opacity: 1; }
.fest-input:focus { outline: 2px solid var(--c-black); outline-offset: -2px; }
.fest-input--kw::-webkit-search-cancel-button { cursor: pointer; }

.fest-range {
	display: flex;
	gap: 8px;
	align-items: center;
}
.fest-range .fest-input { flex: 1 1 0; min-width: 0; }
.fest-range__sep { flex-shrink: 0; font-size: 16px; line-height: 24px; }
.fest-input--date::-webkit-calendar-picker-indicator { opacity: .6; cursor: pointer; }

.fest-checks {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: flex-start;
}

.fest-check,
.fest-more {
	position: relative;
	display: inline-flex;
	gap: 8px;
	align-items: center;
	font-size: 16px;
	line-height: 24px;
	text-align: left;
	cursor: pointer;
}

.fest-check__input {
	position: absolute;
	top: 3px;
	left: 0;
	width: 18px;
	height: 18px;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.fest-check__box {
	position: relative;
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	border: 1px solid var(--c-gray-500);
	border-radius: 3px;
	transition: background-color .2s var(--ease), border-color .2s var(--ease);
}

.fest-check__input:checked + .fest-check__box {
	border-color: #6a6a6a;
	background: #6a6a6a;
}
.fest-check__input:checked + .fest-check__box::after {
	content: "";
	position: absolute;
	top: 2px;
	left: 5px;
	width: 5px;
	height: 9px;
	border: solid var(--c-white);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.fest-check__input:focus-visible + .fest-check__box { outline: 2px solid var(--c-yellow); outline-offset: 2px; }

.fest-more[aria-expanded="true"] .fest-check__box::after {
	content: "";
	position: absolute;
	top: 7.5px;
	left: 3px;
	width: 10px;
	height: 1.5px;
	background: var(--c-gray-500);
}

.fest-more__panel {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 100%;
	padding: 16px 0 4px 26px;
}

.fest-region__name {
	margin-bottom: 8px;
	color: #6a6a6a;
	font-size: 12px;
	font-weight: 700;
	line-height: 18px;
}
.fest-region .fest-checks { gap: 10px; }

.fest-filter__actions {
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-items: center;
	margin-top: 40px;
}

.fest-filter__submit {
	width: 100%;
	height: 56px;
	background: var(--c-black);
	color: var(--c-white);
	font-size: 16px;
	line-height: 24px;
}

.fest-filter__reset {
	color: #6a6a6a;
	font-size: 16px;
	line-height: 24px;
}

/* 結果 */
.fest-panel-open { display: none; }

.fest-results__top { display: flex; flex-direction: column; gap: 12px; }

.fest-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}
.fest-chips[hidden] { display: none; }
.fest-chips > li { display: flex; }

.fest-chip {
	display: inline-flex;
	gap: 6px;
	align-items: center;
	padding: 4px 12px;
	border-radius: 999px;
	box-shadow: inset 0 0 0 1px var(--c-gray-500); /* Figma の内側線 */
	color: var(--c-gray-500);
	font-size: 12px;
	line-height: 18px;
}
.fest-chip__x { font-size: 12px; line-height: 1; }

.fest-chips__clear {
	margin-left: 8px; /* チップとの間は計16px */
	color: var(--c-gray-500);
	font-size: 12px;
	line-height: 18px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.fest-results__count {
	color: var(--c-gray-500);
	font-size: 16px;
	line-height: 24px;
}

.fest-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px 16px;
	margin-top: 40px;
}

.fest-card {
	background: var(--c-white);
	box-shadow: 0 0 0 1px var(--c-gray-250); /* Figma の外側線（レイアウト幅に含めない） */
}

.fest-card__link { display: flex; flex-direction: column; height: 100%; }

.fest-card__media {
	display: block;
	aspect-ratio: 292 / 165;
	overflow: hidden;
	background: var(--c-gray-250);
}
.fest-card__img { width: 100%; height: 100%; object-fit: cover; }

.fest-card__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 16px;
}

.fest-card__title {
	display: -webkit-box;
	min-height: 52px;
	overflow: hidden;
	font-size: 18px;
	font-weight: 700;
	line-height: 26px;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.fest-card__meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
	color: #6a6a6a;
	font-size: 14px;
	line-height: 22px;
}

/* ページ送り */
.fest-pager {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 80px;
}
.fest-pager[hidden] { display: none; }

.fest-pager__arrow { display: grid; place-items: center; width: 24px; height: 24px; }
.fest-pager__arrow svg { width: 24px; height: 24px; }
.fest-pager__arrow--prev svg { transform: scaleX(-1); }
.fest-pager__arrow.is-disabled { color: var(--c-gray-250); pointer-events: none; }

.fest-pager__nums {
	display: flex;
	gap: 16px;
	align-items: center;
	font-size: 16px;
	line-height: 24px;
}
.fest-pager__num.is-current { color: #bfbfbf; }
.fest-pager__num:not(.is-current) { display: inline-block; min-width: 10px; text-align: center; }

.fest-panel-backdrop { display: none; }

/* ---------- WORKS 一覧（SCHEDULE一覧の部品を共通利用） ---------- */
.works-results__bar {
	display: flex;
	gap: 16px;
	align-items: flex-end;
	justify-content: space-between;
	min-height: 24px;
}

/* 並び替え（高さ30px）は件数の行（24px）と下端をそろえ、上へ6px はみ出す（デザインどおり） */
.works-sort { position: relative; flex-shrink: 0; margin-top: -6px; }

.works-sort__select {
	width: 164px;
	height: 30px;
	padding: 0 32px 0 12px;
	border: 1px solid var(--c-gray-500);
	border-radius: 0;
	background: var(--c-white);
	color: var(--c-gray-500);
	font: 14px/20px var(--f-jp);
	appearance: none;
	cursor: pointer;
}

.works-sort__icon {
	position: absolute;
	top: 50%;
	right: 10px;
	width: 16px;
	height: 16px;
	color: var(--c-gray-500);
	transform: translateY(-50%) rotate(90deg);
	pointer-events: none;
}

.fest-select { position: relative; }
.fest-select__input { padding-right: 48px; cursor: pointer; }
.fest-select__icon {
	position: absolute;
	top: 50%;
	right: 16px;
	width: 24px;
	height: 24px;
	transform: translateY(-50%) rotate(90deg);
	pointer-events: none;
}

.fest-input[type="number"] { -moz-appearance: textfield; }
.fest-input[type="number"]::-webkit-outer-spin-button,
.fest-input[type="number"]::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }

.work-list-card .fest-card__media { position: relative; }
.work-list-card__title { min-height: 0; -webkit-line-clamp: 1; }
.work-list-card .fest-card__meta > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.work-list-card .fest-card__meta .nw { white-space: nowrap; }

/* ---------- WORKS 詳細 ---------- */
.wd-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 250px;
	gap: 32px;
	align-items: start;
	padding-top: 72px;
	padding-bottom: 200px;
}

.wd-top {
	display: grid;
	grid-template-columns: 338px minmax(0, 1fr);
	gap: 32px;
	align-items: start;
}

.wd-poster {
	aspect-ratio: 338 / 482;
	overflow: hidden;
	background: var(--c-gray-250);
}
.wd-poster__img { width: 100%; height: 100%; object-fit: cover; }

.wd-tags { margin-bottom: 24px; }
.wd-tags .fd-tag:not(.fd-tag--open) { color: var(--c-black); }

.wd-title { font-size: 32px; font-weight: 700; line-height: 40px; }

.wd-meta {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 24px;
	color: #6a6a6a;
	font-size: 16px;
	line-height: 24px;
}

.wd-synopsis { margin-top: 24px; color: #6a6a6a; font-size: 16px; line-height: 24px; }

.wd-section { margin-top: 80px; }
.wd-section--first { margin-top: 32px; }

.wd-table .fd-table__row { grid-template-columns: 176px minmax(0, 1fr); }
.wd-link { text-decoration: underline; text-underline-offset: 3px; }
.wd-empty { color: var(--c-gray-450); }
.wd-profile__label { font-weight: 700; }

.wd-photos {
	display: grid;
	grid-template-columns: repeat(auto-fill, 256px);
	gap: 16px;
	margin-top: 24px;
}
.wd-photos__item a { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--c-gray-250); }
.wd-photos__img { width: 100%; height: 100%; object-fit: cover; }
.wd-photos__note { margin-top: 12px; color: #6a6a6a; font-size: 12px; line-height: 18px; }
.wd-photos__note + .wd-photos__credit { margin-top: 2px; }
.wd-photos__credit { margin-top: 8px; color: #6a6a6a; font-size: 12px; line-height: 18px; overflow-wrap: anywhere; }
.wd-photos__credit a { text-decoration: underline; text-underline-offset: 2px; }

.wd-side .fd-support__list { margin-top: 16px; }
.wd-side__more {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 56px;
	margin-top: 16px;
	padding: 12px 44px 12px 16px;
	box-shadow: inset 0 0 0 1px var(--c-black);
	font-size: 14px;
	line-height: 20px;
}
.wd-side__more-icon { position: absolute; right: 12px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); }
.wd-side__more:hover { background: var(--c-black); color: var(--c-white); opacity: 1; }

/* ---------- NEWS（一覧・記事） ---------- */
.news-archive__inner,
.news-single__inner { padding-bottom: 200px; }
.news-archive__inner { display: flex; flex-direction: column; gap: 80px; padding-top: 80px; }
.news-single__inner { padding-top: 80px; }

.news-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 250px;
	gap: 32px;
	align-items: start;
}

.news-main { min-width: 0; }

/* 横長カード（一覧） */
.news-list { display: flex; flex-direction: column; gap: 24px; }

.news-row { box-shadow: 0 0 0 1px var(--c-gray-250); } /* Figma の外側線 */

.news-row__link { display: grid; grid-template-columns: 256px minmax(0, 1fr); }

.news-row__media {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #f7f7f7;
}
.news-row__img { width: 100%; height: 100%; object-fit: cover; }

.news-row__body { display: flex; flex-direction: column; min-width: 0; padding: 16px; }

.news-row__title {
	overflow: hidden;
	font-size: 18px;
	font-weight: 700;
	line-height: 26px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.news-row__excerpt {
	display: -webkit-box;
	margin-top: 4px;
	overflow: hidden;
	font-size: 14px;
	line-height: 22px;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.news-row__foot {
	display: flex;
	gap: 16px;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 12px;
}

.news-tags { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; max-width: 100%; }
.news-tags > * { min-width: 0; max-width: 100%; }

.news-tag {
	display: inline-flex;
	align-items: center;
	padding: 4px 12px;
	border-radius: 999px;
	box-shadow: inset 0 0 0 1px var(--c-black);
	max-width: 100%;
	overflow: hidden;
	font-size: 12px;
	font-weight: 700;
	line-height: 18px;
	text-overflow: ellipsis;
	white-space: nowrap;
}
a.news-tag:hover { opacity: 1; background: var(--c-black); color: var(--c-white); }

.news-date { flex-shrink: 0; font-size: 12px; line-height: 18px; }

/* サイドバー：よく読まれている記事 */
.news-side__title { font-size: 16px; font-weight: 700; line-height: 24px; text-align: center; }
.news-side__list { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }

.news-mini { display: flex; flex-direction: column; gap: 8px; }
.news-mini__media {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #f7f7f7;
}
.news-mini__img { width: 100%; height: 100%; object-fit: cover; }
.news-mini__title {
	display: -webkit-box;
	overflow: hidden;
	font-size: 14px;
	line-height: 22px;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

/* 関連記事・ページ送り */
.news-pager { margin-top: 80px; }
.news-pager__back { font-size: 14px; line-height: 24px; text-decoration: underline; text-underline-offset: 3px; }

.news-related { margin-top: 80px; }
.news-related__title { font-size: 16px; font-weight: 700; line-height: 24px; }
.news-related__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin-top: 16px;
}

.news-empty { padding: 40px 0; text-align: center; }

/* 記事 */
.news-article__title { font-size: 24px; font-weight: 700; line-height: 32px; }
.news-article__tags { margin-top: 8px; }
.news-article__tags li { display: flex; }
.news-article__date { display: block; margin-top: 8px; line-height: 20px; }

.news-article__figure { margin-top: 16px; }
.news-article__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.news-article__credit { margin-top: 8px; color: #6a6a6a; font-size: 12px; line-height: 18px; }

.news-article__body { margin-top: 40px; font-size: 16px; line-height: 24px; }
.news-article__body > :first-child { margin-top: 0; }
.news-article__body p { margin: 0; }
.news-article__body h2 { margin: 40px 0 24px; font-size: 20px; font-weight: 700; line-height: 28px; }
.news-article__body h3,
.news-article__body h4 { margin: 40px 0 24px; font-size: 18px; font-weight: 700; line-height: 26px; }
.news-article__body a { text-decoration: underline; text-underline-offset: 3px; }
.news-article__body img { height: auto; margin: 24px 0; }
.news-article__body figure { margin: 24px 0; }
.news-article__body figcaption { margin-top: 8px; color: #6a6a6a; font-size: 12px; line-height: 18px; }
.news-article__body ul,
.news-article__body ol { margin: 16px 0; padding-left: 1.5em; list-style: revert; }

/* ---------- FAQ ---------- */
.faq__inner {
	display: flex;
	flex-direction: column;
	gap: 80px;
	max-width: calc(var(--w-inner) + var(--pad) * 2);
	padding-top: 80px;
	padding-bottom: 200px;
}

.faq-list { display: flex; flex-direction: column; gap: 32px; }

.faq-item__q { font-size: 16px; font-weight: 500; line-height: 24px; }

.faq-item__btn {
	display: flex;
	gap: 24px;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	text-align: left;
}
.faq-item__icon { flex-shrink: 0; width: 24px; height: 24px; }
.faq-item__icon .icon-plus__v { transition: opacity .2s var(--ease); }
.faq-item.is-open .faq-item__icon .icon-plus__v { opacity: 0; } /* 開いているときは「−」 */

.faq-item__a-inner {
	margin-top: 8px;
	color: #6a6a6a;
	font-size: 14px;
	line-height: 22px;
}
.faq-item__a-inner a { text-decoration: underline; }
.info-body p { margin: 0; }
.info-body ol, .info-body ul { margin: 0; padding-left: 1.5em; list-style: revert; }

/* ---------- 表形式ページ（会社概要・特商法） ---------- */
.info-page__inner { display: flex; flex-direction: column; gap: 80px; padding-top: 80px; padding-bottom: 200px; }

.info-table {
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr); /* ラベル列は最も長いラベルの幅 */
	gap: 8px;
	margin: 0;
}

.info-table__label,
.info-table__value { margin: 0; padding: 16px; font-size: 16px; line-height: 24px; }
.info-table__label { background: #dfdfdf; font-weight: 700; white-space: nowrap; }
.info-table__value { background: #f4f4f4; }
.info-table__value a:hover { text-decoration: underline; opacity: 1; }

/* ---------- 文章ページ（プライバシーポリシー・利用規約） ---------- */
.text-page__body { font-size: 16px; line-height: 24px; overflow-wrap: anywhere; text-spacing-trim: space-all; /* デザインどおり約物を詰めない */ }
.text-page__body :is(h2, h3, h4, p, ul, li) { margin: 0; padding: 0; font-size: inherit; font-weight: 400; line-height: inherit; }
.text-page__body hr { display: none; }
.text-page__body a { text-decoration: underline; }
.text-page__body ul { list-style: none; }
.text-page__body ul > li::before { content: "・"; }
.text-page__body ol { margin: 0; padding-left: 36px; list-style: decimal outside; }
.text-page__body ol > li { padding-left: 0; }

/* プライバシーポリシー：項目ごとに1行あける */
.text-page--privacy .text-page__body > h2,
.text-page--privacy .text-page__body > .text-page__sign { margin-top: 24px; }

.faq-item { scroll-margin-top: 96px; } /* 検索結果からのリンクで固定ヘッダーに隠れないように */

/* ---------- 検索結果・404 ---------- */
.search-page__inner,
.notfound__inner,
.page-basic__inner {
	display: flex;
	flex-direction: column;
	gap: 64px;
	padding-top: 80px;
	padding-bottom: 200px;
}
.search-page__inner { gap: 40px; }
.page-title__heading > .page-title__ja:only-child { font-size: 24px; font-weight: 700; line-height: 36px; }

.search-page__form { display: flex; gap: 8px; width: 100%; max-width: 720px; margin: 0 auto; }
.search-page__input { flex: 1; }
.search-page__submit {
	display: inline-flex;
	flex: none;
	gap: 8px;
	align-items: center;
	justify-content: center;
	width: 120px;
	height: 56px;
	background: var(--c-black);
	color: var(--c-white);
	font-size: 16px;
}
.search-page__submit svg { width: 20px; height: 20px; }
.search-page__summary { font-size: 16px; line-height: 24px; text-align: center; }
.search-page__summary strong { font-size: 20px; }
.search-page__empty { display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; font-size: 14px; line-height: 24px; }
.search-page__links { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center; font-size: 14px; line-height: 24px; }
.search-page__links a { text-decoration: underline; text-underline-offset: 3px; }
.search-page__jump { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: -16px; }
.search-page__jump a { padding: 6px 16px; box-shadow: inset 0 0 0 1px var(--c-gray-450); font-size: 14px; line-height: 20px; }
.search-page__jump a:hover { background: var(--c-black); color: var(--c-white); opacity: 1; }

.search-section { display: flex; flex-direction: column; gap: 24px; scroll-margin-top: 96px; }
.search-section__title { display: flex; gap: 16px; align-items: baseline; padding-bottom: 12px; border-bottom: 1px solid var(--c-black); font-weight: 400; }
.search-section__en { font: 400 24px/32px var(--f-en); letter-spacing: 0.1em; }
.search-section__ja { font-size: 14px; line-height: 20px; }
.search-section__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.search-section .search-section__grid { margin-top: 0; }
.search-section__more {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 400px;
	height: 56px;
	margin: 0 auto;
	box-shadow: inset 0 0 0 1px var(--c-black);
	font-size: 14px;
}
.search-section__more-icon { position: absolute; right: 16px; width: 20px; height: 20px; }
.search-section__more:hover { background: var(--c-black); color: var(--c-white); opacity: 1; }
.search-section__note { color: #6a6a6a; font-size: 13px; line-height: 20px; }
.search-section__list { display: flex; flex-direction: column; border-top: 1px solid var(--c-gray-250); }
.search-section__list a { display: block; padding: 16px 8px; border-bottom: 1px solid var(--c-gray-250); font-size: 16px; line-height: 24px; }

.notfound__body { display: flex; flex-direction: column; gap: 40px; align-items: center; font-size: 16px; line-height: 28px; text-align: center; }
.notfound__form { max-width: 600px; }
.notfound__home { margin-top: 8px; }

/* ---------- 固定ページ共通（申込みフォーム等） ---------- */
.page-basic__body { width: 100%; max-width: 1080px; margin: 0 auto; font-size: 16px; line-height: 28px; }
.page-basic__body > * + * { margin-top: 24px; }
.page-basic__body .subtitle h3 { margin: 48px 0 16px; padding-bottom: 8px; border-bottom: 1px solid var(--c-black); font-size: 20px; line-height: 30px; }
.page-basic__body .wpcf7 table { width: 100%; border-collapse: separate; border-spacing: 0 8px; }
.page-basic__body .wpcf7 th {
	width: 240px;
	padding: 16px;
	background: #dfdfdf;
	font-size: 15px;
	font-weight: 700;
	line-height: 24px;
	text-align: left;
	vertical-align: top;
}
.page-basic__body .wpcf7 th span { color: #b0001e; }
.page-basic__body .wpcf7 td { padding: 0 0 0 8px; vertical-align: top; }
.page-basic__body .wpcf7 td p { margin: 0; }
.page-basic__body .wpcf7 input[type="text"],
.page-basic__body .wpcf7 input[type="email"],
.page-basic__body .wpcf7 input[type="tel"],
.page-basic__body .wpcf7 input[type="number"],
.page-basic__body .wpcf7 input[type="date"],
.page-basic__body .wpcf7 input[type="url"],
.page-basic__body .wpcf7 select,
.page-basic__body .wpcf7 textarea {
	width: 100%;
	min-height: 56px;
	padding: 0 15px;
	border: 1px solid var(--c-gray-450);
	border-radius: 0;
	background: var(--c-white);
	color: var(--c-black);
	font: 16px/24px var(--f-jp);
}
.page-basic__body .wpcf7 textarea { height: 160px; padding: 15px; resize: vertical; }
.page-basic__body .wpcf7 input:focus,
.page-basic__body .wpcf7 select:focus,
.page-basic__body .wpcf7 textarea:focus { outline: 2px solid var(--c-black); outline-offset: -2px; }
.page-basic__body .wpcf7 td > * + * { margin-top: 8px; } /* 住所など、1つの欄に入力が複数ある場合 */
.page-basic__body .wpcf7-list-item { display: inline-flex; margin: 12px 24px 0 0; }
.page-basic__body .wpcf7-list-item label { display: inline-flex; gap: 8px; align-items: center; cursor: pointer; }
.page-basic__body .wpcf7 input[type="radio"],
.page-basic__body .wpcf7 input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--c-black); }
.page-basic__body .wpcf7 input[type="file"] { padding: 12px 0; font-size: 14px; }
.page-basic__body .wpcf7 .attention { color: #6a6a6a; font-size: 13px; line-height: 20px; }
.page-basic__body .wpcf7 input[type="submit"],
.page-basic__body .wpcf7 button[type="submit"] {
	display: block;
	width: 300px;
	height: 56px;
	margin: 48px auto 0;
	border: 0;
	background: var(--c-black);
	color: var(--c-white);
	font: 16px/24px var(--f-jp);
	cursor: pointer;
}
.page-basic__body .wpcf7-not-valid-tip { margin-top: 4px; color: #b0001e; font-size: 13px; }
/* 確認画面（Confirm Plus Contact Form 7） */
.page-basic__body #wpcf7cpcnf { background: var(--c-white); }
.page-basic__body #wpcf7cpcnf table { border-collapse: separate; border-spacing: 0 8px; }
.page-basic__body #wpcf7cpcnf th { width: 240px; padding: 16px; border: 0; background: #dfdfdf; font-size: 15px; font-weight: 700; line-height: 24px; }
.page-basic__body #wpcf7cpcnf td { padding: 16px; border: 0; background: #f4f4f4; font-size: 16px; line-height: 24px; overflow-wrap: anywhere; }
.page-basic__body .wpcf7cp-btns { display: flex; gap: 16px; justify-content: center; margin-top: 48px; }
.page-basic__body .wpcf7cp-btns button {
	width: 300px;
	height: 56px;
	border: 0;
	background: var(--c-black);
	color: var(--c-white);
	font: 16px/24px var(--f-jp);
	cursor: pointer;
}
.page-basic__body .wpcf7cp-btns .wpcf7cp-cfm-edit-btn { background: var(--c-white); box-shadow: inset 0 0 0 1px var(--c-black); color: var(--c-black); }
.page-basic__body .wpcf7-response-output { margin: 24px 0 0 !important; padding: 12px 16px !important; font-size: 14px; }
/* 申込み完了ページ */
.page-basic__body .thanks-section__button br { display: none; } /* 自動整形で入る改行を無視 */
.page-basic__body .thanks-section { display: flex; flex-direction: column; gap: 48px; align-items: center; text-align: center; }
.page-basic__body .thanks-section__text { display: flex; flex-direction: column; gap: 16px; font-size: 15px; line-height: 28px; }
.page-basic__body .thanks-section__text a { text-decoration: underline; text-underline-offset: 3px; }
.page-basic__body .thanks-section__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 300px;
	max-width: 100%;
	height: 56px;
	background: var(--c-black);
	color: var(--c-white);
	font-size: 16px;
}

/* ---------- CONTACT ---------- */
/* 応募代行のお申し込み（確認画面） */
.apply-form__heading { margin: 48px 0 16px; padding-bottom: 8px; border-bottom: 1px solid var(--c-black); font-size: 20px; line-height: 30px; }
.apply-form__heading:first-of-type { margin-top: 0; }
.apply-summary { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.apply-summary__row { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 8px; }
.apply-summary dt { display: flex; align-items: center; min-height: 56px; padding: 0 16px; background: #dfdfdf; font-size: 16px; font-weight: 700; }
.apply-summary dd { display: flex; flex-direction: column; justify-content: center; min-height: 56px; margin: 0; padding: 8px 16px; background: #f4f4f4; font-size: 16px; line-height: 24px; overflow-wrap: anywhere; }
.apply-summary dd a { text-decoration: underline; text-underline-offset: 3px; }
.apply-summary__total { font-size: 22px; line-height: 32px; }
.apply-summary__breakdown { color: #6a6a6a; font-size: 13px; line-height: 20px; }
.apply-form__back { margin-top: 12px; font-size: 14px; text-align: right; }
.apply-form__back a { text-decoration: underline; text-underline-offset: 3px; }
.apply-form__agree { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 40px; font-size: 16px; }
.apply-form__agree a { text-decoration: underline; text-underline-offset: 3px; }
a.contact-btn--sub { box-shadow: inset 0 0 0 1px var(--c-black); }

.contact__inner {
	display: flex;
	flex-direction: column;
	gap: 80px;
	max-width: calc(var(--w-inner) + var(--pad) * 2);
	padding-top: 80px;
	padding-bottom: 200px;
}

.contact-form__note { font-size: 16px; line-height: 24px; }
.contact-form__req { color: #b0001e; }
.contact-form__alert {
	margin-bottom: 16px;
	padding: 12px 16px;
	border-left: 3px solid #b0001e;
	background: #fdf1f2;
	color: #8a0019;
	font-size: 14px;
	line-height: 22px;
}

.contact-form__rows { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }

.contact-form__row {
	display: grid;
	grid-template-columns: 168px minmax(0, 1fr);
	gap: 8px;
}

.contact-form__label {
	display: flex;
	align-items: center;
	min-height: 56px;
	padding: 0 16px;
	background: #dfdfdf;
	font-size: 16px;
	font-weight: 700;
	line-height: 24px;
	white-space: nowrap;
}
.contact-form__row--textarea .contact-form__label { align-items: flex-start; padding-top: 16px; }

.contact-form__input {
	display: block;
	width: 100%;
	height: 56px;
	padding: 0 15px;
	border: 1px solid var(--c-gray-450);
	border-radius: 0;
	background: var(--c-white);
	color: var(--c-black);
	font: 16px/24px var(--f-jp);
	appearance: none;
}
.contact-form__textarea { height: 152px; padding: 15px; resize: vertical; }
.contact-form__input::placeholder { color: #bfbfbf; opacity: 1; }
.contact-form__input:focus { outline: 2px solid var(--c-black); outline-offset: -2px; }
.contact-form__input.is-error { border-color: #b0001e; background: #fffafa; }
.contact-form__error { margin-top: 6px; color: #b0001e; font-size: 13px; line-height: 20px; }

.contact-form__value { display: flex; align-items: center; min-height: 56px; padding: 16px; background: #f4f4f4; font-size: 16px; line-height: 24px; }
.contact-form__row--textarea .contact-form__value { align-items: flex-start; min-height: 152px; }
.contact-form__empty { color: var(--c-gray-450); }

.contact-form__hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.contact-form__actions { display: flex; gap: 16px; justify-content: center; margin-top: 64px; }

.contact-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 300px;
	height: 56px;
	background: var(--c-black);
	color: var(--c-white);
	font-size: 16px;
	line-height: 24px;
}
.contact-btn__icon { position: absolute; right: 16px; top: 50%; width: 24px; height: 24px; transform: translateY(-50%); }
.contact-btn--sub { background: var(--c-white); box-shadow: inset 0 0 0 1px var(--c-black); color: var(--c-black); }
.contact-btn--link { margin-top: 40px; }

.contact-done { text-align: center; font-size: 16px; line-height: 28px; }
.contact-done__title { margin-bottom: 16px; font-size: 20px; font-weight: 700; line-height: 30px; }
.contact-done__note { margin-top: 16px; color: #6a6a6a; font-size: 13px; line-height: 22px; }

/* ---------- SCHEDULE 映画祭の詳細 ---------- */
.fd-hero { background: var(--c-white); color: var(--c-black); }

/* 全映画祭共通のロゴ画像（白地・ロゴは画像の中央）。1440px を超える画面では拡大せず中央に置く（左右は背景の白とつながる） */
.fd-hero__visual {
	width: 100%; /* 幅を明示しないと、高さの上限に合わせて幅まで縮み左に寄る */
	aspect-ratio: 1440 / 570;
	max-height: 570px;
	overflow: hidden;
}
.fd-hero__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.fd-hero__content {
	width: 100%;
	max-width: calc(var(--w-content) + var(--pad) * 2);
	margin-inline: auto;
	padding: 8px var(--pad) 0;
}

.fd-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.fd-tag {
	display: inline-flex;
	align-items: center;
	padding: 4px 12px;
	border-radius: 999px;
	box-shadow: inset 0 0 0 .5px currentColor;
	font-size: 12px;
	font-weight: 700;
	line-height: 18px;
	white-space: nowrap;
}
.fd-tag--open { background: var(--c-yellow); box-shadow: none; color: var(--c-black); }
.fd-tag--closed { background: var(--c-gray-250); box-shadow: none; color: var(--c-black); }
.fd-summary .fd-tag--upcoming,
.fd-summary .fd-tag--none { color: var(--c-black); }

.fd-hero__title {
	margin-top: 16px;
	font-size: 32px;
	font-weight: 700;
	line-height: 40px;
}

.fd-hero__meta { margin-top: 16px; font-size: 16px; line-height: 24px; }

.fd-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	grid-template-areas: "tabs side" "content side";
	grid-template-rows: auto 1fr;
	column-gap: 32px;
	padding-top: 40px;
	padding-bottom: 200px;
}

/* ページ内タブ */
.fd-tabs {
	grid-area: tabs;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 48px;
	align-self: start;
}

.fd-tabs__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 48px;
	border-bottom: 1px solid #6a6a6a;
	color: #6a6a6a;
	font-size: 16px;
	line-height: 24px;
}
.fd-tabs__icon { width: 24px; height: 24px; transform: rotate(90deg); }

/* 本文 */
.fd-content { grid-area: content; min-width: 0; }

.fd-section { margin-top: 80px; scroll-margin-top: calc(var(--header-h-scrolled) + 24px); }

.fd-section__title {
	margin-bottom: 24px;
	font-size: 20px;
	font-weight: 700;
	line-height: 28px;
}

.fd-lead { margin-bottom: 24px; font-size: 16px; line-height: 24px; }
.fd-lead p { margin: 0; }

.fd-table { display: flex; flex-direction: column; gap: 8px; margin: 0; }

.fd-table__row {
	display: grid;
	grid-template-columns: 144px minmax(0, 1fr);
	gap: 8px;
}

.fd-table__label,
.fd-table__value {
	margin: 0;
	padding: 16px;
	font-size: 16px;
	line-height: 24px;
}
.fd-table__label { background: #dfdfdf; font-weight: 700; }
.fd-table__value { background: #f4f4f4; }
.fd-table__heading { font-weight: 700; } /* 申込〆切の「GALA募集期間」 */

.fd-link { display: inline-flex; gap: 12px; align-items: center; }
.fd-link__icon { width: 20px; height: 20px; flex-shrink: 0; }

/* お申し込み */
.fd-form__note { margin-bottom: 16px; font-size: 16px; line-height: 24px; }
.fd-form__req { color: #d0021b; }
.fd-form__label .fd-form__req { margin-left: 2px; }

.fd-form__rows { display: flex; flex-direction: column; gap: 8px; }

.fd-form__row {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	gap: 8px;
	align-items: stretch;
}

.fd-form__label {
	display: flex;
	align-items: center;
	padding: 0 16px;
	min-height: 56px;
	background: #dfdfdf;
	font-size: 16px;
	font-weight: 700;
	line-height: 24px;
}

.fd-form__field { position: relative; }

.fd-form__input {
	width: 100%;
	height: 56px;
	padding: 0 15px;
	border: 1px solid var(--c-gray-450);
	border-radius: 0;
	background: var(--c-white);
	color: var(--c-black);
	font: 16px/24px var(--f-jp);
	appearance: none;
	-moz-appearance: textfield;
}
.fd-form__input::placeholder { color: #bfbfbf; opacity: 1; }
.fd-form__input:focus { outline: 2px solid var(--c-black); outline-offset: -2px; }
.fd-form__input::-webkit-outer-spin-button,
.fd-form__input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
.fd-form__input:user-invalid { border-color: #d0021b; }

.fd-form__field--suffix .fd-form__input { padding-right: 48px; }
.fd-form__suffix {
	position: absolute;
	top: 50%;
	right: 20px;
	font-size: 16px;
	line-height: 24px;
	transform: translateY(-50%);
	pointer-events: none;
}

.fd-form__select { padding-right: 48px; cursor: pointer; }
.fd-form__chevron {
	position: absolute;
	top: 50%;
	right: 16px;
	width: 24px;
	height: 24px;
	transform: translateY(-50%) rotate(90deg);
	pointer-events: none;
}

.fd-form__price {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 56px;
	padding: 4px 16px;
	font-size: 16px;
	line-height: 24px;
}
.fd-form__price-main strong { font-size: 20px; }
.fd-form__price-sub { color: #6a6a6a; font-size: 13px; line-height: 20px; }

.fd-form__notes { margin-top: 16px; font-size: 14px; line-height: 20px; }
.fd-form__notes a { text-decoration: underline; text-underline-offset: 2px; }

.fd-form__actions { display: flex; justify-content: center; margin-top: 32px; }

.fd-form__submit {
	display: inline-flex;
	gap: 16px;
	align-items: center;
	justify-content: center;
	width: 302px;
	height: 56px;
	background: var(--c-black);
	color: var(--c-white);
	font-size: 16px;
	line-height: 24px;
}
.fd-form__submit-icon { width: 24px; height: 24px; }

.fd-closed {
	padding: 24px;
	background: #f4f4f4;
	font-size: 16px;
	line-height: 26px;
}

.fd-notes {
	padding: 0;
	font-size: 14px;
	line-height: 20px;
	list-style: decimal inside;
}

/* 右サイドバー（画面に固定。応募情報まとめは常に表示し、実績は残りの高さでスクロール） */
.fd-side {
	--fd-sticky-top: 96px; /* 縮小後ヘッダー72px＋24px。長い場合はJSで「最後まで見えた位置」に調整 */
	grid-area: side;
	position: sticky;
	top: var(--fd-sticky-top);
	display: flex;
	flex-direction: column;
	gap: 32px;
	align-self: start;
}
.admin-bar .fd-side { --fd-sticky-top: 128px; }

.fd-summary {
	flex-shrink: 0;
	padding: 31px 23px;
	border: 1px solid #bfbfbf;
	border-radius: 16px;
	background: #f9f9f9;
}

.fd-summary__title { font-size: 24px; font-weight: 700; line-height: 32px; }

.fd-summary__list { margin: 16px 0 0; }

.fd-summary__row {
	display: flex;
	gap: 16px;
	align-items: center;
	justify-content: space-between;
	padding: 16px 0;
	font-size: 16px;
	line-height: 24px;
}
.fd-summary__row + .fd-summary__row { border-top: 1px solid #d9d9d9; }
.fd-summary__row dt { color: #6a6a6a; }
.fd-summary__row dd { margin: 0; font-weight: 700; text-align: right; }

.fd-summary__btn {
	display: grid;
	place-items: center;
	height: 56px;
	margin-top: 24px;
	background: var(--c-black);
	color: var(--c-white);
	font-size: 16px;
	line-height: 24px;
}
.fd-summary__btn.is-disabled { background: #dfdfdf; color: #6a6a6a; }

.fd-support { display: flex; flex-direction: column; }

.fd-support__title {
	font-size: 16px;
	font-weight: 700;
	line-height: 24px;
	text-align: center;
}

.fd-support__list {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 16px;
}

.work-card {
	flex-shrink: 0;
	background: var(--c-white);
	box-shadow: 0 0 0 1px var(--c-gray-250);
}

.work-card__link { display: block; }

.work-card__media {
	position: relative;
	display: block;
	aspect-ratio: 340 / 192;
	overflow: hidden;
	background: var(--c-gray-250);
}
.work-card__img { width: 100%; height: 100%; object-fit: cover; }

.work-card__badge {
	position: absolute;
	top: 6px;
	left: 0;
	padding: 2px 24px;
	background: var(--c-yellow);
	font-size: 12px;
	font-weight: 700;
	line-height: 18px;
}

.work-card__body { display: flex; flex-direction: column; gap: 4px; padding: 16px; }
.work-card__title { font-size: 18px; font-weight: 700; line-height: 26px; }
.work-card__meta { display: flex; flex-direction: column; gap: 4px; color: #6a6a6a; font-size: 14px; line-height: 22px; }

/* ---------- Footer（白地・1行：インフォメーションのリンクと著作権表記） ---------- */
.site-footer {
	background: var(--c-white);
	color: var(--c-black);
}
.site-footer__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	align-items: center;
	justify-content: space-between;
	min-height: 66px;
	padding-top: 12px;
	padding-bottom: 12px;
	font-size: 12px;
	line-height: 18px;
}
.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer__links a,
.site-footer__copy { white-space: nowrap; }
.site-footer__copy small { font-size: inherit; }
@media (hover: hover) {
	.site-footer a { transition: opacity .2s; }
	.site-footer a:hover { opacity: .6; }
}

/* ---------- Drawer ---------- */
.drawer {
	position: fixed;
	inset: 0;
	z-index: 100;
	visibility: hidden;
	transition: visibility 0s linear .5s;
}
.drawer.is-open { visibility: visible; transition: visibility 0s; }

.drawer__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .56);
	opacity: 0;
	transition: opacity .5s var(--ease);
}
.drawer.is-open .drawer__overlay { opacity: 1; }

.drawer__panel {
	position: absolute;
	inset: 0 auto 0 0;
	display: flex;
	flex-direction: column;
	gap: 56px;
	justify-content: space-between;
	width: 400px;
	max-width: 100%;
	padding: clamp(28px, 7vh, 72px) 56px;
	overflow-y: auto;
	background: var(--c-white);
	color: var(--c-black);
	transform: translateX(-100%);
	transition: transform .5s var(--ease);
}
.drawer.is-open .drawer__panel { transform: none; }

.drawer__top {
	display: flex;
	flex-direction: column;
	gap: clamp(24px, 4.5vh, 48px);
	align-items: flex-start;
}

.drawer__close {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	font-family: var(--f-en);
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
	letter-spacing: 2px;
}
.drawer__close svg { width: 24px; height: 24px; }

.drawer__menu {
	display: flex;
	flex-direction: column;
	gap: clamp(16px, 3.6vh, 40px);
	font-family: var(--f-en);
	font-size: clamp(22px, 3.2vh, 30px);
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: .13em;
}
.drawer__menu a { display: inline-block; white-space: nowrap; }

/* マイページ（ログイン・会員登録）への入口：メインメニューの下に控えめに */
.drawer__account {
	display: inline-block;
	padding: 4px 0;
	border-bottom: 1px solid currentColor;
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
}
@media (hover: hover) {
	.drawer__account:hover { opacity: .6; }
}

.drawer__mark { align-self: flex-start; }
.drawer__mark svg { width: auto; height: clamp(60px, 11vh, 110px); }

/* ---------- Search panel ---------- */
.search-panel {
	position: fixed;
	inset: 0;
	z-index: 100;
	visibility: hidden;
	transition: visibility 0s linear .4s;
}
.search-panel.is-open { visibility: visible; transition: visibility 0s; }

.search-panel__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .56);
	opacity: 0;
	transition: opacity .4s var(--ease);
}
.search-panel.is-open .search-panel__overlay { opacity: 1; }

.search-panel__box {
	position: relative;
	display: flex;
	gap: 24px;
	align-items: center;
	padding: 32px max(var(--pad), calc((100% - var(--w-inner)) / 2));
	background: var(--c-white);
	transform: translateY(-100%);
	transition: transform .4s var(--ease);
}
.search-panel.is-open .search-panel__box { transform: none; }

.search-panel__form {
	display: flex;
	flex: 1;
	align-items: center;
	border-bottom: 1px solid var(--c-black);
}

.search-panel__input {
	flex: 1;
	min-width: 0;
	padding: 8px 0;
	border: 0;
	background: none;
	color: var(--c-black);
	font: 16px/24px var(--f-jp);
	outline: none;
	appearance: none;
}
.search-panel__input::placeholder { color: var(--c-gray-450); }

.search-panel__submit,
.search-panel__close { display: grid; place-items: center; width: 28px; height: 28px; }
.search-panel__submit svg { width: 24px; height: 24px; }
.search-panel__close svg { width: 24px; height: 24px; }

/* ==========================================================================
   Tablet 〜1199px
   ========================================================================== */
@media (max-width: 1199px) {
	.fest-layout { grid-template-columns: 300px minmax(0, 1fr); gap: 24px; }
	.fest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	.fest-circles,
	.cards--scroll {
		margin-inline: calc(var(--pad) * -1);
		padding-inline: var(--pad);
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: var(--pad);
		scrollbar-width: none;
	}
	.fest-circles::-webkit-scrollbar,
	.cards--scroll::-webkit-scrollbar { display: none; }

	.fest-circles { gap: 32px; }
	.fest-circle { flex: 0 0 146px; scroll-snap-align: start; }

	.cards--scroll { display: flex; }
	.cards--scroll .card { flex: 0 0 calc((100% - 32px) / 3); scroll-snap-align: start; }

	.cards--news { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
	.search-section__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	/* NEWS：サイドバーは本文の後 */
	.news-layout { grid-template-columns: minmax(0, 1fr); gap: 80px; }
	.news-side__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

	/* WORKS 詳細：関連作品は本文の後 */
	.wd-layout { grid-template-columns: minmax(0, 1fr); gap: 80px; padding-top: 48px; padding-bottom: 120px; }
	.wd-side .fd-support__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

	/* 映画祭詳細：1列（まとめはタブの下、実績は本文の後） */
	.fd-layout {
		display: flex;
		flex-direction: column;
		padding-top: 32px;
		padding-bottom: 120px;
	}
	.fd-tabs { order: 1; gap: 12px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); align-self: stretch; }
	.fd-side { display: contents; }
	.fd-summary { order: 2; margin-top: 32px; }
	.fd-content { order: 3; }
	.fd-support { order: 4; margin-top: 80px; }
	.fd-support__list {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	}
	.fd-section { margin-top: 64px; scroll-margin-top: calc(var(--header-h-scrolled) + 16px); }

	/* 一覧：絞り込みはボタンで開くパネルに */
	.fest-layout { display: block; }
	.fest-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 24px; }

	.fest-panel-open {
		display: inline-flex;
		gap: 8px;
		align-items: center;
		margin-bottom: 20px;
		padding: 11px 19px;
		border: 1px solid var(--c-black);
		font-size: 14px;
		font-weight: 700;
		line-height: 22px;
	}
	.fest-panel-open svg { width: 18px; height: 18px; }
	.fest-panel-open__count {
		display: grid;
		place-items: center;
		min-width: 20px;
		height: 20px;
		padding: 0 6px;
		border-radius: 999px;
		background: var(--c-black);
		color: var(--c-white);
		font-size: 11px;
		line-height: 1;
	}
	.fest-panel-open__count[hidden] { display: none; }

	.fest-filter {
		position: fixed;
		inset: 0 0 0 auto;
		z-index: 110;
		display: flex;
		flex-direction: column;
		width: min(420px, 100%);
		padding: 0;
		visibility: hidden;
		transform: translateX(100%);
		transition: transform .35s var(--ease), visibility 0s linear .35s;
	}
	.fest-filter.is-open { visibility: visible; transform: none; transition: transform .35s var(--ease); }

	.fest-filter__form { display: flex; flex-direction: column; height: 100%; }
	.fest-filter__head { flex-shrink: 0; padding: 20px 24px; border-bottom: 1px solid var(--c-gray-250); }
	.fest-filter__title { font-size: 20px; line-height: 28px; }
	.fest-filter__close { display: grid; place-items: center; width: 32px; height: 32px; }
	.fest-filter__close svg { width: 24px; height: 24px; }
	.fest-filter__body { flex: 1; margin-top: 0; padding: 24px 24px 32px; overflow-y: auto; overscroll-behavior: contain; gap: 32px; }
	.fest-filter__actions { flex-shrink: 0; margin-top: 0; padding: 16px 24px 20px; border-top: 1px solid var(--c-gray-250); background: #f4f4f4; gap: 8px; }
	.fest-filter__reset { font-size: 14px; }

	.fest-panel-backdrop {
		position: fixed;
		inset: 0;
		z-index: 105;
		display: block;
		background: rgba(0, 0, 0, .56);
		opacity: 0;
		transition: opacity .3s var(--ease);
	}
	.fest-panel-backdrop.is-open { opacity: 1; }
	.fest-panel-backdrop[hidden] { display: none; }

	/* SERVICE：サービスごとのカードに切り替え（TBは2列） */
	.svc-table {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-template-rows: none;
		gap: 48px 24px;
	}
	.svc-labels { display: none; }
	.svc-col { display: flex; flex-direction: column; gap: 8px; grid-row: auto; }
	.svc-col__head { align-items: flex-start; margin-bottom: 8px; }
	.svc-cell,
	.svc-cell--content {
		display: grid;
		grid-template-columns: 96px minmax(0, 1fr);
		gap: 8px;
		align-items: stretch;
		padding: 0;
		background: none;
		text-align: left;
	}
	.svc-cell__label {
		position: static;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		width: auto;
		height: auto;
		padding: 12px 8px;
		overflow: visible;
		clip: auto;
		background: #dfdfdf;
		font-size: 13px;
		font-weight: 700;
		line-height: 20px;
		text-align: center;
		white-space: normal;
		word-break: keep-all; /* <wbr> の位置でのみ改行 */
	}
	.svc-cell__label small { font-size: 10px; font-weight: 400; line-height: 14px; }
	.svc-cell__list,
	.svc-cell__value {
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding: 12px 16px;
		background: #f4f4f4;
	}
	.svc-cell--price .svc-cell__value { align-items: flex-start; }
	.svc-btn { margin-top: 8px; }
	.svc-notes__label {
		display: block;
		padding: 0;
		margin-bottom: 4px;
		background: none;
		color: var(--c-black);
		font-size: 12px;
		line-height: 18px;
		text-align: left;
	}

	.service-cards { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.service-card { gap: 32px; }
}

/* ==========================================================================
   Smartphone 〜767px
   ========================================================================== */
@media (max-width: 767px) {
	/* 2列のカードでは上映日を省略せず折り返す */
	.work-list-card .fest-card__meta > span:last-child { white-space: normal; }
	:root {
		--pad: 20px;
		--header-h: 56px;
		--header-h-scrolled: 52px;
	}

	.site-header__inner { padding-block: 16px; }
	.site-header.is-scrolled .site-header__inner { padding-block: 14px; }
	.site-header__btn,
	.site-header__btn svg { width: 24px; height: 24px; }
	.site-header__logo svg { width: 148px; height: 11.81px; }

	.readmore { gap: 8px; font-size: 12px; line-height: 18px; letter-spacing: 1.5px; }
	.readmore__arrow { width: 40px; height: 7.364px; }

	.section-head { margin-bottom: 16px; }
	.section-head__title { flex-direction: column; gap: 4px; align-items: flex-start; }
	.section-head__en { padding-bottom: 2px; font-size: 24px; line-height: 24px; letter-spacing: 3px; }
	.section-head__ja { font-size: 12px; line-height: 18px; }

	.hero { height: 480px; }
	.hero__slide { padding-bottom: 40px; }
	.hero__content { gap: 12px; }
	.hero__title { max-width: none; font-size: 22px; line-height: 32px; -webkit-line-clamp: 3; }
	.hero__dots { bottom: 16px; }
	.hero__dot { width: 20px; }

	.front__body { gap: 80px; padding-top: 64px; padding-bottom: 120px; }

	.service-card { padding: 23px 19px; }
	.service-card__text { gap: 20px; }
	.service-card__en { font-size: 20px; line-height: 28px; letter-spacing: 3px; }
	.service-card__ja { font-size: 16px; line-height: 22px; }

	.fest-circles { gap: 16px; }
	.fest-circle { flex-basis: 108px; }
	.fest-circle__img { width: 108px; height: 108px; }
	.fest-circle__text { display: flex; flex-direction: column; align-items: center; }

.fest-circle__name { font-size: 14px; line-height: 20px; }
	.fest-circle__date { font-size: 12px; line-height: 18px; }

	.cards--works {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px 12px;
		margin-inline: 0;
		padding-inline: 0;
		overflow: visible;
	}
	.cards--works .card { flex: none; }
	.cards--news { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
	.card__title { font-size: 13px; line-height: 20px; }

	.about-box { flex-direction: column; gap: 24px; padding: 31px 19px; }
	.about-box__mark svg { width: 98px; height: 87.6px; }
	.about-box__text { font-size: 13px; line-height: 22px; }



	.drawer__panel { width: min(360px, 86vw); padding: clamp(24px, 6vh, 48px) 32px; gap: 32px; }
	.drawer__menu { gap: clamp(14px, 3.2vh, 28px); font-size: clamp(20px, 3vh, 26px); }
	.drawer__mark svg { height: clamp(52px, 9vh, 80px); }

	.search-panel__box { gap: 16px; padding-block: 20px; }

	.page-title__en { font-size: 26px; line-height: 32px; letter-spacing: 3px; }
	.page-title__ja { font-size: 14px; line-height: 20px; }

	.service__inner { gap: 48px; padding-top: 48px; padding-bottom: 96px; }
	.service__sections { gap: 80px; }
	.service__section { gap: 32px; }
	.service__heading { font-size: 20px; line-height: 28px; }

	.flow { gap: 32px; padding-left: 36px; }
	.flow__item::before { left: -36px; top: 2px; }
	.flow__item:not(:last-child)::after { left: -30px; top: 10px; height: calc(100% + 32px); }
	.flow__head { gap: 0 12px; }
	.flow__step { font-size: 20px; line-height: 24px; letter-spacing: 3px; }
	.flow__title { font-size: 16px; line-height: 24px; }
	.flow__text { font-size: 13px; line-height: 22px; }
	.flow__text br { display: none; }

	.svc-table { grid-template-columns: minmax(0, 1fr); gap: 48px; }

	.fest-archive__inner { gap: 40px; padding-top: 48px; padding-bottom: 96px; }
	.fest-results__count { font-size: 14px; line-height: 22px; }
	.fest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
	.fest-card__body { padding: 10px 10px 12px; gap: 4px; }
	.fest-card__title { min-height: 40px; font-size: 14px; line-height: 20px; }
	.fest-card__meta { gap: 2px; font-size: 11px; line-height: 17px; }
	.fest-pager { margin-top: 48px; }
	.fest-pager__nums { gap: 12px; font-size: 15px; }

	.fd-hero__visual { aspect-ratio: 375 / 220; } /* スマホはロゴが小さくなりすぎないよう、左右の余白をトリミング */
	.fd-hero__img { object-fit: cover; }
	.fd-hero__content { padding-top: 0; }
	.fd-hero__title { margin-top: 12px; font-size: 24px; line-height: 32px; }
	.fd-hero__meta { margin-top: 8px; font-size: 14px; line-height: 22px; }
	.fd-tabs__item { height: 44px; font-size: 14px; }
	.fd-section__title { margin-bottom: 16px; font-size: 18px; line-height: 26px; }
	.fd-lead { font-size: 14px; line-height: 24px; }
	.fd-table__row,
	.fd-form__row { grid-template-columns: 100px minmax(0, 1fr); gap: 6px; }
	.fd-table__label,
	.fd-table__value { padding: 12px; font-size: 13px; line-height: 21px; }
	.fd-table__label { padding-inline: 10px; }
	.fd-form__label { padding: 0 10px; font-size: 13px; }
	.fd-form__price { padding: 0 4px; font-size: 13px; }
	.fd-form__submit { width: 100%; }
	.fd-summary { padding: 23px 19px; }
	.fd-summary__title { font-size: 20px; line-height: 28px; }
	.fd-notes { font-size: 13px; }

	.wd-top { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.wd-poster { width: min(60%, 240px); }
	.wd-title { font-size: 24px; line-height: 32px; }
	.wd-meta { margin-top: 16px; gap: 4px; font-size: 14px; line-height: 22px; }
	.wd-synopsis { margin-top: 16px; font-size: 14px; }
	.wd-section { margin-top: 56px; }
	.wd-table .fd-table__row { grid-template-columns: 100px minmax(0, 1fr); }
	.wd-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }

	.news-archive__inner { gap: 48px; padding-top: 48px; padding-bottom: 96px; }
	.news-single__inner { padding-top: 32px; padding-bottom: 96px; }
	.news-row__link { grid-template-columns: 120px minmax(0, 1fr); }
	.news-row__media { aspect-ratio: auto; height: 100%; min-height: 96px; }
	.news-row__body { padding: 10px 12px; }
	.news-row__title { font-size: 14px; line-height: 20px; white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
	.news-row__excerpt { display: none; }
	.news-row__foot { flex-direction: column; align-items: flex-start; gap: 6px; padding-top: 8px; }
	.news-tag { padding: 2px 8px; font-size: 11px; }
	.news-related__list { grid-template-columns: minmax(0, 1fr); }
	.news-article__title { font-size: 20px; line-height: 30px; }
	.news-article__body { margin-top: 32px; font-size: 15px; line-height: 26px; }
	.news-article__body h2 { margin: 32px 0 16px; font-size: 18px; }
	.news-article__body h3 { margin: 32px 0 16px; font-size: 16px; }
	.faq__inner { gap: 48px; padding-top: 48px; padding-bottom: 96px; }
	.faq-list { gap: 24px; }
	.faq-item__q { font-size: 15px; }
	.info-page__inner { gap: 48px; padding-top: 48px; padding-bottom: 96px; }
	.contact__inner { gap: 48px; padding-top: 48px; padding-bottom: 96px; }
	.search-page__inner, .notfound__inner, .page-basic__inner { gap: 40px; padding-top: 48px; padding-bottom: 96px; }
	.search-page__inner { gap: 32px; }
	.search-page__submit { width: 56px; }
	.search-page__submit span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.search-section__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.search-section__en { font-size: 20px; line-height: 28px; }
	.page-basic__body .wpcf7 table, .page-basic__body .wpcf7 tbody, .page-basic__body .wpcf7 tr, .page-basic__body .wpcf7 th, .page-basic__body .wpcf7 td { display: block; width: 100%; }
	.page-basic__body .wpcf7 tr { margin-bottom: 16px; }
	.page-basic__body .wpcf7 th { padding: 10px 12px; font-size: 14px; }
	.page-basic__body .wpcf7 td { padding: 8px 0 0; }
	.page-basic__body .wpcf7 input[type="submit"], .page-basic__body .wpcf7 button[type="submit"] { width: 100%; max-width: 360px; }
	.page-basic__body #wpcf7cpcnf th { width: 110px; padding: 10px; font-size: 13px; }
	.page-basic__body #wpcf7cpcnf td { padding: 10px; font-size: 14px; }
	.page-basic__body .wpcf7cp-btns { flex-direction: column-reverse; align-items: center; }
	.page-basic__body .wpcf7cp-btns button { width: 100%; max-width: 360px; }
	.contact-form__row { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.apply-summary__row { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.apply-summary dt { min-height: 0; padding: 10px 12px; font-size: 14px; }
	.apply-summary dd { min-height: 0; padding: 12px; }
	.contact-form__label { min-height: 0; padding: 10px 12px; font-size: 14px; }
	.contact-form__row--textarea .contact-form__label { padding-top: 10px; }
	.contact-form__actions { flex-direction: column-reverse; align-items: center; margin-top: 40px; }
	.contact-btn { width: 100%; max-width: 360px; }
	.info-table { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.info-table__label { padding: 10px 12px; font-size: 13px; white-space: normal; }
	.info-table__value { margin-bottom: 8px; padding: 12px; font-size: 14px; line-height: 22px; }
	.svc-col__name { font-size: 18px; }
	.svc-cell,
	.svc-cell--content { grid-template-columns: 88px minmax(0, 1fr); }
	.svc-price { font-size: 22px; line-height: 30px; }
}

/* 動きを減らす設定の利用者向け */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- ボタンの hover：SAMANSA イエローに統一（2026-10 クライアントの要望） ---------- */
/* 黒いボタン・白地に黒枠のボタンとも、hover で背景を黄色・文字を黒にする（押せない状態のボタンは変化させない） */
.svc-btn, .contact-btn, .fd-form__submit, .fd-summary__btn, .fest-filter__submit, .search-page__submit,
.wd-side__more, .search-page__jump a, .search-section__more, a.news-tag,
.page-basic__body .thanks-section__button, .page-basic__body .wpcf7 input[type="submit"], .page-basic__body .wpcf7 button[type="submit"], .page-basic__body .wpcf7cp-btns button {
	transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
@media (hover: hover) {
	.svc-btn:hover,
	.contact-btn:not(:disabled):hover,
	.fd-form__submit:not(:disabled):hover,
	a.fd-summary__btn:hover,
	.fest-filter__submit:hover,
	.search-page__submit:hover,
	.wd-side__more:hover,
	.search-page__jump a:hover,
	.search-section__more:hover,
	a.news-tag:hover,
	.page-basic__body .thanks-section__button:hover,
	.page-basic__body .wpcf7 input[type="submit"]:hover,
	.page-basic__body .wpcf7 button[type="submit"]:hover,
	.page-basic__body .wpcf7cp-btns button:hover {
		background: var(--c-yellow);
		box-shadow: inset 0 0 0 1px var(--c-yellow);
		color: var(--c-black);
		opacity: 1;
	}
}

/* ==========================================================================
   料金の「（税込）」表記（映画祭詳細の申込みフォーム・申込み内容の確認）
   ========================================================================== */
.fd-form__label:has(.fd-form__tax),
.apply-summary dt:has(small) { flex-direction: column; align-items: flex-start; justify-content: center; }
.fd-form__tax,
.apply-summary dt small { display: block; font-size: 12px; font-weight: 400; line-height: 1.4; }

/* ==========================================================================
   NEWS 一覧：絞り込み検索（2026-10 デザイン更新。レイアウトは映画祭一覧と共通）
   ========================================================================== */
.news-archive--filter .news-results { display: flex; flex-direction: column; gap: 40px; min-width: 0; }
.news-archive--filter .news-results__top[hidden] { display: none; }
.news-archive--filter .news-list { display: flex; flex-direction: column; gap: 16px; }
.news-tags { min-width: 0; }
.news-tag { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* SERVICE：字幕サービスの料金の単位（¥2,000 /分） */
.svc-price__unit { margin-left: 4px; font-size: 13px; font-weight: 400; }
/* 5列（字幕サービス追加）でも収まるように：サービス名は折り返し可、列の中身は列幅に収める */
@media (min-width: 1024px) {
	.svc-col { min-width: 0; }
	.svc-col__name { flex-wrap: wrap; justify-content: center; font-size: 18px; white-space: normal; text-align: center; }
	.svc-notes, .svc-cell__list { min-width: 0; overflow-wrap: anywhere; }
	.svc-btn { padding-right: 36px; padding-left: 16px; }
}
@media (min-width: 1024px) {
	.svc-btn { font-size: 14px; white-space: nowrap; }
	.svc-cell__value { word-break: keep-all; overflow-wrap: anywhere; } /* 「銀行振込 / クレジット決済 / PayPay」を区切りの位置で折り返す */
}

/* ==========================================================================
   写真の拡大表示（モーダル）：WORKS 詳細の作品写真
   ========================================================================== */
.wd-photos__item a { cursor: zoom-in; }
@media (hover: hover) {
	.wd-photos__item a .wd-photos__img { transition: opacity .3s var(--ease); }
	.wd-photos__item a:hover .wd-photos__img { opacity: .8; }
}
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; opacity: 0; transition: opacity .25s var(--ease); }
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .88); }
.lightbox__figure { position: relative; display: flex; flex-direction: column; gap: 12px; align-items: center; max-width: min(1200px, calc(100vw - 160px)); margin: 0; pointer-events: none; }
.lightbox__img { display: block; max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; background: rgba(255, 255, 255, .04); opacity: 0; transition: opacity .2s; }
.lightbox__img.is-loaded { opacity: 1; }
.lightbox__caption { display: flex; gap: 16px; justify-content: space-between; width: 100%; color: rgba(255, 255, 255, .85); font-size: 13px; line-height: 20px; }
.lightbox__count { flex-shrink: 0; font-family: var(--f-en); letter-spacing: 1px; }
.lightbox__btn,
.lightbox__close { position: absolute; display: grid; place-items: center; width: 56px; height: 56px; color: var(--c-white); }
.lightbox__btn { top: 50%; transform: translateY(-50%); }
.lightbox__btn--prev { left: 24px; }
.lightbox__btn--next { right: 24px; }
.lightbox__btn[hidden] { display: none; }
.lightbox__close { top: 16px; right: 16px; }
@media (hover: hover) {
	.lightbox__btn:hover, .lightbox__close:hover { opacity: .6; }
}
@media (max-width: 767px) {
	.lightbox__figure { max-width: 100vw; }
	.lightbox__img { max-height: calc(100vh - 160px); }
	.lightbox__caption { padding: 0 16px; font-size: 12px; }
	.lightbox__btn { top: auto; bottom: 16px; transform: none; width: 48px; height: 48px; }
	.lightbox__btn--prev { left: 8px; }
	.lightbox__btn--next { right: 8px; }
	.lightbox__close { top: 8px; right: 8px; }
}

/* ==========================================================================
   メニュー（スマホ）：2026-10 デザイン（全画面・半透明の白、メニューの下に線とインフォメーションのリンク）
   PC は従来どおり（CONTACT を含むメニュー＋マイページへの入口）
   ========================================================================== */
.drawer__sub { display: none; }
@media (max-width: 767px) {
	.drawer__overlay { background: transparent; }
	.drawer__panel {
		width: 100%;
		max-width: none;
		gap: 40px;
		padding: 40px;
		background: rgba(255, 255, 255, .92);
		-webkit-backdrop-filter: blur(2px);
		backdrop-filter: blur(2px);
	}
	.drawer__top { gap: 0; width: 100%; }
	.drawer__close { font-size: 20px; line-height: 28px; letter-spacing: 3px; }
	.drawer__close svg { width: 22px; height: 22px; }
	.drawer__top nav { width: 100%; margin-top: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--c-black); }
	.drawer__menu { gap: 18px; font-size: 27px; line-height: 34px; letter-spacing: .16em; }
	.drawer__menu-contact { display: none; } /* スマホは下の「お問い合わせ」から */
	.drawer__account { display: none; }       /* スマホは下のリンクの中に表示 */
	.drawer__sub { display: flex; flex-direction: column; gap: 6px; margin-top: 40px; font-size: 14px; line-height: 20px; }
	.drawer__mark svg { height: 92px; }
}

/* CONTACT（スマホ）：表の各項目のあいだに余白（2026-10 クライアントの要望） */
@media (max-width: 767px) {
	.contact-form__rows { gap: 24px; }
	.contact-form__row { gap: 8px; }
}

/* フッター（スマホ）：黒い帯にロゴと著作権表記（2026-10 デザイン）。PC は白地の1行（リンク＋著作権表記） */
.site-footer__logo { display: none; }
@media (max-width: 767px) {
	.site-footer { background: var(--c-black); color: var(--c-white); }
	.site-footer__inner { flex-wrap: nowrap; gap: 18px; justify-content: center; min-height: 38px; padding-top: 0; padding-bottom: 0; }
	.site-footer nav { display: none; }
	.site-footer__logo { display: block; line-height: 0; }
	.site-footer__logo svg { width: 171px; height: 13.65px; }
	.site-footer__copy { font-size: 11px; line-height: 16px; }
}

/* 字幕サービスの申込みフォーム：上映時間（分・秒） */
.page-basic__body .wpcf7 .runtime-input { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.page-basic__body .wpcf7 .runtime-input .wpcf7-form-control-wrap { flex: 0 1 120px; }
.page-basic__body .wpcf7 .runtime-input input[type="number"] { width: 100%; }
.page-basic__body .wpcf7 .runtime-input__unit { font-size: 15px; }
.page-basic__body .wpcf7 .runtime-input__note { display: block; margin-top: 8px; color: #6a6a6a; font-size: 12px; line-height: 18px; }
