/* =========================================================
   FLAT CONTAINER Retro
   2色（#ffffff / #000000）だけで描く、旧型PCのUI風デザイン
   ========================================================= */

:root {
	--white: #ffffff;
	--black: #000000;
	--bg: var(--white);
	--fg: var(--black);
	/* 本文・UIは Zen Maru Gothic、ナビとページタイトルだけ Oswald */
	/* 見出し・ラベル・ボタン・タグ・表の項目名 */
	--pix: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
	--body: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
	--title: "Oswald", "Zen Maru Gothic", sans-serif;
	--frame: 24px;       /* トップの外枠の余白 */
	--hh: 56px;          /* ヘッダーの高さ */
	--jh: 0px;           /* ジャンプボタン列の高さ（JSで更新） */
	--line: 1px;
	--radius: 0px;       /* 角丸なし（すべて四角で統一） */
	/* 選択範囲の枠のような破線：線8px・すき間6px・太さ2px */
	--dash: 8px;
	--gap: 6px;
	--dash-w: 2px;
	color-scheme: light;
}
html[data-theme="dark"] {
	--bg: var(--black);
	--fg: var(--white);
	color-scheme: dark;
}

/* ---------- 白／黒の切り替え：ふわっとフェード ---------- */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .5s; animation-timing-function: ease; }
html.fc-theme-fade, html.fc-theme-fade *, html.fc-theme-fade *::before, html.fc-theme-fade *::after {
	transition: background-color .5s ease, color .5s ease, border-color .5s ease, outline-color .5s ease, filter .5s ease !important;
}

/* ---------- ベース ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hh) + var(--jh) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body.fc {
	margin: 0;
	background: var(--bg);
	color: var(--fg);
	font-family: var(--body);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.9;
	letter-spacing: .03em;
}
.fc img { max-width: 100%; height: auto; display: block; }
.fc a { color: inherit; }
.fc p { margin: 0 0 1em; }
.fc p:last-child { margin-bottom: 0; }
.fc ul { margin: 0; padding: 0; list-style: none; }
.fc h1, .fc h2, .fc h3 { margin: 0; font-weight: 400; }
.fc ::selection { background: var(--fg); color: var(--bg); }
.fc :focus-visible { outline: 3px solid var(--fg); outline-offset: 3px; }
.fc button { font: inherit; color: inherit; }

.fc-skip {
	position: absolute; left: 8px; top: -100px; z-index: 300;
	background: var(--fg); color: var(--bg); padding: 8px 16px; font-family: var(--pix);
}
.fc-skip:focus { top: 8px; }

.fc-preview-note {
	position: fixed; left: 12px; bottom: 12px; z-index: 400;
	max-width: calc(100% - 110px);
	border-radius: var(--radius);
	background: var(--fg); color: var(--bg);
	font-family: var(--pix); font-size: 12px; line-height: 1.6;
	padding: 6px 12px;
}
.fc-preview-note a { margin-left: .8em; }

/* ---------- 共通：ホバーは背景と反対の色に ---------- */
.fc-nav a, .fc-sns, .fc-btn, .fc-jump__btn, .fc-drawer a,
.fc-footer__sns a, .fc-friends a, .fc-prose a, .fc-theme__btn {
	text-decoration: none;
	transition: none;
}
.fc-nav a:hover, .fc-sns:hover, .fc-btn:hover, .fc-jump__btn:hover,
.fc-drawer a:hover, .fc-footer__sns a:hover, .fc-friends a:hover,
.fc-theme__btn:hover {
	background: var(--fg);
	color: var(--bg);
	border-radius: var(--radius);
}
/* 枠のあるボタンは角丸なし（ホバー時も四角） */
.fc .fc-btn, .fc .fc-btn:hover,
.fc .fc-jump__btn, .fc .fc-jump__btn:hover,
.fc .fc-drawer__ext a, .fc .fc-drawer__ext a:hover,
.fc .fc-burger,
.fc .fc-fv__scroll:hover,
.fc .fc-dialog__close, .fc .fc-dialog__close:hover,
.fc .fc-form input[type="submit"] { border-radius: 0; }

/* ---------- ウィンドウ（シンプルな四角＋タイトル下の線） ---------- */
.fc-win {
	border: var(--line) solid var(--fg);
	background: var(--bg);
}
.fc-win__bar {
	padding: 10px 16px;
	border-bottom: var(--line) solid var(--fg);
	text-align: center;
}
.fc-win__title {
	margin: 0 !important;
	font-family: var(--pix);
	font-weight: 700;
	font-size: 17px;
	line-height: 1.5;
	letter-spacing: .04em;
}
/* 作品カード（トップ・WORKS）のタイトルは一段大きく */
.fc-mini .fc-win__title { font-size: 19px; }
.fc-win__body { padding: 32px clamp(18px, 4vw, 40px); }

/* ---------- 見出し・本文 ---------- */
.fc-pagehead { text-align: center; padding: 56px 20px 24px; }
.fc-pagehead__title {
	font-family: var(--title);
	font-weight: 500;
	font-size: clamp(48px, 9vw, 112px);
	line-height: 1;
	letter-spacing: 0;
}
.fc-pagehead__sub { font-family: var(--pix); font-weight: 500; font-size: 15px; margin-top: 14px !important; }

.fc-h3 {
	font-family: var(--pix);
	font-weight: 700;
	font-size: 18px;
	line-height: 1.5;
	margin: 2.2em 0 .9em !important;
	padding-bottom: .45em;
	border-bottom: var(--line) dotted var(--fg);
}
.fc-win__body > .fc-h3:first-child,
.fc-entry:first-child > .fc-h3:first-child,
.fc-policy__sec:first-child > .fc-h3 { margin-top: 0 !important; }

.fc-prose { max-width: 40em; }
.fc-prose a { text-decoration: underline; text-underline-offset: .2em; }
.fc-lead { font-family: var(--body); font-weight: 700; }

/* 「※」で始まる行の強調：背景と文字の色を反転（白テーマ＝黒地に白、黒テーマ＝白地に黒） */
.fc-mark {
	background: var(--fg);
	color: var(--bg);
	padding: .12em .4em;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}
.fc-mark a { color: inherit; }
.fc-mark a:hover { background: var(--bg); color: var(--fg); }

.fc-lines > * + * { margin-top: .6em !important; }
.fc-lines .fc-line { margin: 0; }
.fc-list li { position: relative; padding-left: 1.4em; }
.fc-list li + li { margin-top: .5em; }
.fc-list li::before {
	content: ""; position: absolute; left: .2em; top: .78em;
	width: 7px; height: 7px; background: var(--fg);
}

.fc-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.fc-tags li {
	border: var(--line) solid var(--fg);
	padding: 2px 14px;
	font-family: var(--pix);
	font-size: 14px;
	line-height: 1.7;
}

.fc-status {
	display: inline-block;
	border: var(--line) solid var(--fg);
	padding: 1px 12px;
	font-family: var(--pix);
	font-weight: 700;
	font-size: 14px;
	line-height: 1.7;
	margin-bottom: 12px !important;
}
.fc-status.is-live { background: var(--fg); color: var(--bg); }

.fc-empty { opacity: 1; font-family: var(--pix); }

/* ---------- 表 ---------- */
.fc-table {
	width: 100%;
	border-collapse: collapse;
	border-top: var(--line) solid var(--fg);
	margin: 1.4em 0;
	font-size: 15px;
	line-height: 1.75;
}
.fc-table th, .fc-table td {
	border-bottom: var(--line) solid var(--fg);
	padding: 14px 0;
	text-align: left;
	vertical-align: top;
}
.fc-table th {
	width: 30%;
	padding-right: 20px;
	font-family: var(--pix);
	font-weight: 700;
	font-size: 14px;
	line-height: 1.9;
	white-space: nowrap;
}
.fc-table--profile th { width: 40%; white-space: normal; }
/* 見出しの下線のすぐ下に表がくるときは、表の上の線を省く（線が二重にならないように） */
.fc-h3 + .fc-table { border-top: 0; margin-top: 0; }
.fc-win__body > .fc-table:first-child { border-top: 0; margin-top: -14px; }

/* ---------- ボタン ---------- */
.fc-btns { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 1.4em !important; }
.fc-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .4em;
	min-height: 44px;
	padding: 8px 22px;
	border: var(--line) solid var(--fg);
	border-radius: var(--radius);
	background: var(--bg);
	color: var(--fg);
	font-family: var(--pix);
	font-weight: 500;
	font-size: 15px;
	line-height: 1.4;
	cursor: pointer;
}
/* X・YouTube のアイコン画像（設定したとき） */
.fc-sns-icon { display: inline-flex; align-items: center; justify-content: center; }
.fc .fc-sns-icon img { width: 24px; height: 24px; object-fit: contain; }
html[data-theme="dark"] .fc-sns-icon img { filter: invert(1); }
.fc-sns-icon:hover img { filter: invert(1); }
html[data-theme="dark"] .fc-sns-icon:hover img { filter: none; }

/* ---------- ヘッダー ---------- */
.fc-header {
	position: sticky; top: 0; z-index: 100;
	background: var(--bg);
	border-bottom: var(--line) solid var(--fg);
}
.fc-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	height: var(--hh);
	padding: 0 16px;
	max-width: 1440px;
	margin: 0 auto;
}
.fc-logo { justify-self: start; display: flex; align-items: center; text-decoration: none; height: 100%; }
.fc .fc-logo__img { width: 48px; height: 48px; object-fit: contain; }
html[data-theme="dark"] .fc-logo__img { filter: invert(1); }

.fc .fc-nav ul { display: flex; gap: 6px; padding: 5px; border: var(--line) solid var(--fg); }
.fc-nav a {
	display: block;
	padding: 3px 14px;
	border-radius: var(--radius);
	font-family: var(--title);
	font-weight: 500;
	font-size: 17px;
	line-height: 1.5;
	letter-spacing: .04em;
}
.fc-nav a[aria-current="page"] { background: var(--fg); color: var(--bg); }

.fc-header__right { justify-self: end; display: flex; align-items: center; gap: 6px; }
.fc-sns { font-family: var(--title); font-weight: 500; font-size: 15px; letter-spacing: .06em; padding: 3px 10px; border-radius: var(--radius); }

.fc-theme { display: inline-flex; gap: 12px; margin-left: 14px; }
/* 色見本の四角：白＝白テーマ、黒＝黒テーマ */
.fc .fc-theme__btn {
	width: 26px; height: 26px;
	padding: 0;
	border: var(--line) solid var(--fg);
	border-radius: 0;
	cursor: pointer;
}
.fc .fc-theme__btn[data-theme-set="light"], .fc .fc-theme__btn[data-theme-set="light"]:hover { background: var(--white); }
.fc .fc-theme__btn[data-theme-set="dark"],  .fc .fc-theme__btn[data-theme-set="dark"]:hover  { background: var(--black); }
.fc .fc-theme__btn[aria-pressed="true"] { outline: var(--line) solid var(--fg); outline-offset: 3px; }
.fc .fc-theme__btn:hover { outline: var(--line) dashed var(--fg); outline-offset: 3px; border-radius: 0; }
.fc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.fc-burger {
	display: none;
	justify-self: end;
	width: 44px; height: 44px;
	border: var(--line) solid var(--fg);
	border-radius: var(--radius);
	background: var(--bg);
	padding: 0;
	cursor: pointer;
	position: relative;
}
.fc-burger span {
	position: absolute; left: 10px; right: 10px; height: 2px; background: var(--fg);
	transition: transform .3s ease, opacity .2s ease;
}
.fc-burger span:nth-child(1) { top: 13px; }
.fc-burger span:nth-child(2) { top: 20px; }
.fc-burger span:nth-child(3) { top: 27px; }
.fc-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.fc-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.fc-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- スマホ用メニュー ---------- */
.fc-drawer {
	position: fixed; inset: var(--hh) 0 0 0; z-index: 450; /* 上に戻るボタン・プレビュー表示より前面 */
	visibility: hidden;
	pointer-events: none;
}
.fc-drawer__panel {
	position: absolute; top: 12px; right: 12px; bottom: 12px;
	width: min(86vw, 360px);
	display: flex; flex-direction: column;
	background: var(--bg);
	border: var(--line) solid var(--fg);
	overflow-y: auto;
	opacity: 0;
	transform: translateX(40px);
	transition: opacity .4s ease, transform .4s ease;
}
.fc-drawer.is-open { visibility: visible; pointer-events: auto; }
.fc-drawer.is-open .fc-drawer__panel { opacity: 1; transform: translateX(0); }
.fc-drawer.is-closing { visibility: visible; }
.fc .fc-drawer__nav { padding: 12px; }
.fc-drawer__nav a {
	display: block;
	padding: 8px 14px;
	font-family: var(--title);
	font-weight: 500;
	font-size: 24px;
	letter-spacing: .04em;
}
.fc-drawer__nav li + li { border-top: var(--line) solid var(--fg); }
.fc-drawer__nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .25em; }
.fc .fc-drawer__ext { display: flex; gap: 8px; padding: 18px 20px 0; }
.fc-drawer__ext a {
	border: var(--line) solid var(--fg);
	border-radius: var(--radius);
	padding: 6px 14px;
	font-family: var(--pix);
	font-size: 15px;
}
.fc-drawer__theme {
	display: flex; align-items: center; gap: 4px;
	margin-top: auto;
	padding: 20px;
	font-family: var(--pix); font-size: 14px;
}
.fc-drawer__theme .fc-theme { margin-left: auto; }

/* ---------- ジャンプボタン ---------- */
.fc-jump {
	position: sticky; top: var(--hh); z-index: 50;
	background: var(--bg);
	padding: 12px 16px;
	margin-bottom: 32px;
	border-bottom: var(--line) solid var(--fg);
}
.fc-jump ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.fc-jump__btn {
	display: block;
	padding: 4px 18px;
	border: var(--line) solid var(--fg);
	border-radius: var(--radius);
	font-family: var(--pix);
	font-size: 15px;
	line-height: 1.6;
	white-space: nowrap;
}
.fc-jump__btn.is-active { background: var(--fg); color: var(--bg); }

/* ---------- 仮画像（パターン） ---------- */
/* 画像が未設定のとき：シンプルな枠＋COMING SOON */
.fc-ph {
	position: relative;
	display: grid; place-items: center;
	background: var(--bg);
	border: var(--line) solid var(--fg);
	min-height: 80px;
}
.fc-ph span:not(:empty) {
	font-family: var(--title);
	font-weight: 500;
	font-size: 15px;
	letter-spacing: .24em;
	padding-left: .24em; /* 字間ぶんのずれを戻して中央に */
}
.fc-lightbox__ph span:not(:empty) { font-size: clamp(18px, 2.4vw, 30px); }

/* =========================================================
   トップページ
   ========================================================= */
.fc-fv { position: relative; height: 230vh; }
.fc-fv__stage {
	position: sticky; top: 0;
	height: 100vh; height: 100svh;
	overflow: hidden;
}
.fc-fv__frame {
	position: absolute; inset: var(--frame); z-index: 3;
	border: var(--line) solid var(--fg);
	pointer-events: none;
}
/* カーテン：枠の内側だけで動く */
.fc-fv__clip {
	position: absolute; inset: calc(var(--frame) + var(--line));
	overflow: hidden;
	pointer-events: none;
}
.fc-curtain {
	position: absolute;
	top: 96px; bottom: 32px; left: 32px; right: 32px;
	will-change: transform, opacity;
	/* スクロールに合わせて、少し外へ流れながらふわっと消える／現れる */
	opacity: calc(1 - var(--p, 0) * 1.25);
	transition: transform .7s cubic-bezier(.22, .61, .36, 1), opacity .7s ease;
}
.fc-curtain--l { transform: translateX(calc(var(--p, 0) * -14vw)); }
.fc-curtain--r { transform: translateX(calc(var(--p, 0) *  14vw)); }
.fc .fc-curtain__img {
	position: absolute; top: 0;
	height: 100%; width: auto; max-width: none;
}
.fc-curtain--l .fc-curtain__img { left: 0; }
.fc-curtain--r .fc-curtain__img { right: 0; }
/* 画像の形だけを文字色で塗る（白テーマでも黒テーマでも見えるように） */
.fc-curtain__ink {
	position: absolute; inset: 0;
	background-color: var(--fg);
	-webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
	-webkit-mask-size: auto 100%; mask-size: auto 100%;
	display: none;
}
.fc-curtain--l .fc-curtain__ink { -webkit-mask-position: left center;  mask-position: left center; }
.fc-curtain--r .fc-curtain__ink { -webkit-mask-position: right center; mask-position: right center; }
.fc-curtain.is-masked .fc-curtain__ink { display: block; }
.fc-curtain.is-masked .fc-curtain__img { display: none; }
.fc-curtain .fc-ph {
	position: absolute; top: 0; bottom: 0; width: 22%;
	border: 0; min-height: 0;
	background-image: repeating-conic-gradient(var(--fg) 0 25%, var(--bg) 0 50%);
	background-size: 4px 4px;
}
.fc-curtain--l .fc-ph { left: 0; }
.fc-curtain--r .fc-ph { right: 0; }

.fc-fv__center {
	position: absolute; inset: 0; z-index: 2;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: clamp(40px, 9vh, 104px);
	padding: calc(var(--frame) + 80px) calc(var(--frame) + 16px) var(--frame);
	text-align: center;
}
.fc-fv__copy {
	display: flex; flex-direction: column; align-items: center;
	font-family: var(--body);
	font-weight: 500;
	font-size: clamp(28px, 4.2vw, 64px);
	line-height: 1.55;
	letter-spacing: .06em;
}
.fc-stack { display: block; white-space: nowrap; }
.fc-type {
	display: inline-block;
	vertical-align: bottom;
	overflow: hidden;
	white-space: nowrap;
	width: calc(var(--n) * 1.06em);
}
.fc-stack:last-child::after {
	content: "";
	display: inline-block;
	width: .06em; height: .95em;
	margin-left: .1em; margin-right: -.16em;
	vertical-align: -.1em;
	background: var(--fg);
}
.fc-fv__scroll {
	display: inline-block;
	padding: 8px 52px;
	border: var(--line) solid var(--fg);
	font-size: 17px;
	letter-spacing: .14em;
	text-decoration: none;
	opacity: calc(1 - var(--p, 0) * 3);
}
.fc-fv__scroll:hover { background: var(--fg); color: var(--bg); border-radius: var(--radius); }

/* Oswald にする英字ラベル */
.fc-oswald, .fc-contact .fc-win__title, .fc-drawer__ext a, .fc-fv__scroll,
.fc-win--en .fc-win__title, .fc-group__title, .fc-jump__btn {
	font-family: var(--title);
	font-weight: 500;
	letter-spacing: .08em;
}
.fc-contact .fc-win__title, .fc-drawer .fc-win__title { font-size: 18px; }
.fc-fv__scroll { letter-spacing: .16em; font-size: 18px; }
.fc-win--en .fc-win__title { font-size: 18px; }
.fc .fc-group__title { font-family: var(--title); font-weight: 500; font-size: 28px; letter-spacing: .06em; }
.fc .fc-jump__btn { letter-spacing: .06em; }

/* スマホ版だけ：キャッチコピーの上の画像 */
.fc .fc-fv__logo { display: none; }
html[data-theme="dark"] .fc-fv__logo { filter: invert(1); }

/* 打ち込み演出：ローディングが終わってから（JSがあるときだけ）始める */
@media (prefers-reduced-motion: no-preference) {
	html.fc-js:not(.is-ready) .fc-page-front .fc-type { width: 0; }
	html.is-ready .fc-type {
		animation: fc-type calc(var(--n) * 90ms) steps(var(--n), end) both;
		animation-delay: calc(var(--i) * .8s + .2s);
	}
	.fc-stack:last-child::after { animation: fc-blink 1.06s steps(1) infinite; }
}
@keyframes fc-type { from { width: 0; } }
@keyframes fc-blink { 50% { opacity: 0; } }

/* トップだけ：ヘッダーを外枠の内側に置き、ファーストビューを過ぎたら上に張りつく */
.fc-page-front .fc-header {
	position: fixed;
	top: calc(var(--frame) + var(--line)); left: calc(var(--frame) + var(--line)); right: calc(var(--frame) + var(--line));
	background: transparent;
	border-bottom: 0;
	transition: top .3s ease, left .3s ease, right .3s ease, background-color .3s ease;
}
.fc-page-front .fc-header__inner { height: 84px; padding: 0 24px; max-width: none; transition: height .3s ease; }
.fc-page-front .fc-header.is-solid { top: 0; left: 0; right: 0; background: var(--bg); border-bottom: var(--line) solid var(--fg); }
.fc-page-front .fc-header.is-solid .fc-header__inner { height: var(--hh); }

/* ---------- ローディング ---------- */
.fc-loader {
	display: none;
	position: fixed; inset: 0; z-index: 500;
	place-items: center;
	background: var(--bg); color: var(--fg);
	transition: opacity .5s ease, visibility .5s ease;
}
html.fc-loading { overflow: hidden; }
html.fc-loading .fc-loader { display: grid; }
html.fc-loaded .fc-loader { opacity: 0; visibility: hidden; }
.fc-loader__box { width: min(320px, 70vw); }
.fc-loader__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; font-size: 16px; letter-spacing: .1em; }
.fc-loader__label { font-family: var(--title); font-weight: 500; font-size: 17px; letter-spacing: .12em; }
.fc-loader__pct { font-size: 13px; font-variant-numeric: tabular-nums; }
.fc-loader__track { position: relative; height: 14px; }
.fc-loader__track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: var(--line); background: var(--fg); }
.fc-loader__fill { position: absolute; left: 0; top: 50%; height: 3px; margin-top: -1px; width: 0; background: var(--fg); }
.fc-loader__knob {
	position: absolute; top: 50%; left: 0;
	width: 14px; height: 14px; margin: -7px 0 0 -7px;
	border: var(--line) solid var(--fg); border-radius: 0;
	background: var(--bg);
}
html.fc-loading .fc-loader__fill { animation: fc-seek-fill 1.3s cubic-bezier(.45, 0, .25, 1) .1s forwards; }
html.fc-loading .fc-loader__knob { animation: fc-seek-knob 1.3s cubic-bezier(.45, 0, .25, 1) .1s forwards; }
@keyframes fc-seek-fill { to { width: 100%; } }
@keyframes fc-seek-knob { to { left: 100%; } }

/* ---------- 上に戻るボタン ---------- */
.fc-totop {
	position: fixed; right: 20px; bottom: 20px; z-index: 120;
	width: 64px; height: 64px;
	padding: 0; border: 0; background: transparent;
	cursor: pointer;
	opacity: 0; visibility: hidden;
	transform: translateY(10px);
	transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
}
.fc-totop.is-show { opacity: 1; visibility: visible; transform: none; }
.fc-totop.is-show:hover { transform: translateY(-4px); }
.fc .fc-totop img { width: 100%; height: 100%; object-fit: contain; }
.fc-page-front .fc-totop { right: calc(var(--frame) + 16px); bottom: calc(var(--frame) + 16px); }

/* デスクトップ */
.fc-desk { max-width: 1080px; margin: 0 auto; padding: 72px 20px 40px; }
.fc-desk__intro { text-align: center; font-family: var(--body); font-weight: 700; font-size: 18px; margin-bottom: 48px !important; }

.fc .fc-icons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 760px; margin: 0 auto 80px; }
.fc-icon {
	--ifg: var(--fg); --ibg: var(--bg);
	display: flex; flex-direction: column; align-items: center; gap: 10px;
	padding: 16px 8px;
	text-decoration: none;
	text-align: center;
}
.fc-icon:hover, .fc-icon:focus-visible { --ifg: var(--bg); --ibg: var(--fg); }
.fc-icon__label { font-family: var(--title); font-weight: 500; font-size: 18px; letter-spacing: .06em; line-height: 1.4; padding: 0 8px; }
.fc-icon:hover .fc-icon__label { background: var(--fg); color: var(--bg); border-radius: var(--radius); }
.fc-icon__note { font-size: 13px; line-height: 1.4; }

.fc-icon__img { display: block; width: 64px; height: 56px; overflow: visible; }
/* 線（主線・内側の線）は同じ太さ・同じ色。ホバー時は、塗り＝黒・線＝白に入れ替わる */
.fc-icon__shape, .fc-icon__line {
	stroke: var(--ifg);
	stroke-width: 2;
	stroke-linejoin: miter;
	vector-effect: non-scaling-stroke;
}
.fc-icon__shape { fill: var(--ibg); }
.fc-icon__line { fill: none; }
.fc-icon__img:not(.fc-icon__img--round) { shape-rendering: crispEdges; }

.fc-desk__works, .fc-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; align-items: start; }
.fc-stackwrap--wide { max-width: 1080px; }
.fc-mini__catch { font-family: var(--body); font-weight: 700; font-size: 17px; line-height: 1.7; margin-bottom: 14px !important; }
.fc-mini .fc-tags { margin-bottom: 4px; }
.fc .fc-mini__more { margin-top: 24px; }

/* メイン画像（公開中／制作中の下） */
.fc-mainimg { margin: 0 0 20px; }
.fc .fc-mainimg__img { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; border: var(--line) solid var(--fg); }

/* ---------- NEWS ---------- */
.fc-desk .fc-newsbox { max-width: 880px; margin: 0 auto 80px; }
.fc-news__item {
	display: grid;
	grid-template-columns: 7.5em 1fr;
	gap: 8px 28px;
	padding: 16px 0;
}
.fc-news__item:first-child { padding-top: 0; }
.fc-news__item:last-child { padding-bottom: 0; }
.fc-news__item + .fc-news__item { border-top: var(--line) solid var(--fg); }
.fc-news__date {
	font-family: var(--title);
	font-weight: 500;
	font-size: 16px;
	line-height: 1.85;
	letter-spacing: .05em;
	white-space: nowrap;
}
.fc-news__text { font-size: 15px; line-height: 1.85; }
.fc .fc-newsbox__more { display: flex; justify-content: flex-end; margin-top: 28px; }
.fc-newsbox__empty { font-size: 15px; }
.fc .fc-news__back { justify-content: center; }

/* =========================================================
   下層ページ
   ========================================================= */
.fc-stackwrap { max-width: 900px; margin: 0 auto; padding: 8px 20px 96px; }
.fc-stackwrap > * + * { margin-top: 64px; }
.fc-group > * + * { margin-top: 48px; }
/* ポップアップは画面の中央に（上の余白のルールを受けないように） */
.fc .fc-dialog, .fc .fc-lightbox { margin: auto !important; }
.fc .fc-group > .fc-group__lead { margin-top: 10px !important; padding-left: 26px; font-family: var(--body); font-weight: 700; font-size: 15px; }
.fc-group__title {
	display: flex; align-items: center; gap: 12px;
	font-family: var(--pix);
	font-size: 24px;
	line-height: 1.4;
}
.fc-group__title::before { content: ""; width: 14px; height: 14px; background: var(--fg); flex: none; }
.fc-group__title::after {
	content: ""; flex: 1;
	height: var(--dash-w);
	background: repeating-linear-gradient(90deg, var(--fg) 0 var(--dash), transparent var(--dash) calc(var(--dash) + var(--gap)));
}

/* WORKS */
.fc-game__head { margin-bottom: 20px; }
.fc-game__catch { font-family: var(--body); font-weight: 700; font-size: clamp(19px, 2.6vw, 24px); line-height: 1.6; }
.fc .fc-shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 28px 0 8px; }
.fc-shot { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: var(--line) solid var(--fg); }
/* ゲーム画面：クリックで拡大 */
.fc-shot-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.fc-shot-open:hover .fc-shot { outline: var(--line) solid var(--fg); outline-offset: 3px; }
.fc-lightbox {
	padding: 0;
	border: var(--line) solid var(--fg);
	background: var(--bg);
	color: var(--fg);
	max-width: 94vw; max-height: 92vh;
	overflow: visible;
	cursor: zoom-out;
}
.fc .fc-lightbox__ph { width: min(1100px, 88vw); aspect-ratio: 16 / 9; border: 0; }
.fc .fc-lightbox__ph[hidden], .fc .fc-lightbox__img[hidden] { display: none; }
.fc .fc-lightbox__img { display: block; width: auto; height: auto; max-width: 92vw; max-height: 84vh; }
.fc-lightbox form { position: absolute; right: -1px; bottom: 100%; margin: 0 0 8px; }
.fc-lightbox__close {
	display: grid; place-items: center;
	width: 40px; height: 40px;
	border: var(--line) solid var(--fg); border-radius: 0;
	background: var(--bg); color: var(--fg);
	font-size: 22px; line-height: 1;
	cursor: pointer;
}
.fc-lightbox__close:hover { background: var(--fg); color: var(--bg); }
@media (prefers-reduced-motion: no-preference) {
	.fc-lightbox[open] { animation: fc-dlg .2s ease both; }
}
.fc-entry { margin-top: 36px; }
.fc-game__site { justify-content: flex-end; border-top: var(--line) dotted var(--fg); padding-top: 24px; margin-top: 40px !important; }
.fc-subgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.fc-sub { display: flex; flex-direction: column; }
.fc-sub .fc-win__body { flex: 1; display: flex; flex-direction: column; }
.fc-sub .fc-btns { margin-top: auto !important; padding-top: 1.4em; }

/* ポップアップ：作品を応援する */
.fc-support { margin-top: 40px; }
.fc-support .fc-h3 { margin-top: 0 !important; }
.fc-tag-link { text-decoration: underline; text-underline-offset: .2em; }
.fc-tag-link:hover { background: var(--fg); color: var(--bg); text-decoration: none; }

/* ABOUT：POLICY（アコーディオン） */
.fc .fc-policy { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.fc-acc { border: var(--line) solid var(--fg); }
.fc-acc__head {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 14px 18px;
	list-style: none;
	cursor: pointer;
}
.fc-acc__head::-webkit-details-marker { display: none; }
.fc-acc__head:hover { background: var(--fg); color: var(--bg); }
.fc .fc-acc__title { margin: 0; font-family: var(--pix); font-weight: 700; font-size: 16px; line-height: 1.5; }
.fc-acc__icon { position: relative; flex: none; width: 14px; height: 14px; }
.fc-acc__icon::before, .fc-acc__icon::after {
	content: ""; position: absolute; left: 0; top: 50%;
	width: 14px; height: var(--line); background: currentColor;
	transition: transform .3s ease;
}
.fc-acc__icon::after { transform: rotate(90deg); }
.fc-acc[open] .fc-acc__icon::after { transform: rotate(0deg); }
.fc-acc[open] > .fc-acc__head { border-bottom: var(--line) solid var(--fg); }
.fc-acc__body { padding: 18px 18px 22px; }
/* 開け閉めをなめらかに（対応ブラウザのみ） */
@supports (interpolate-size: allow-keywords) {
	@media (prefers-reduced-motion: no-preference) {
		.fc-acc { interpolate-size: allow-keywords; }
		.fc-acc::details-content { height: 0; overflow: clip; transition: height .35s ease, content-visibility .35s allow-discrete; }
		.fc-acc[open]::details-content { height: auto; }
	}
}
.fc-policy__plain { margin-top: 14px; font-size: 14px; }
.fc .fc-policy__plain-title { margin: 0 0 4px; font-family: var(--pix); font-weight: 700; font-size: 14px; }

/* ABOUT / LINK */
.fc-policy__sec + .fc-policy__sec { margin-top: 0; }
.fc-banners { display: flex; flex-wrap: wrap; gap: 16px; }
.fc-banners img { border: var(--line) solid var(--fg); max-width: 100%; height: auto; }
.fc-friends li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.fc-friends a { font-family: var(--pix); font-size: 17px; text-decoration: underline; text-underline-offset: .25em; padding: 0 4px; }
.fc-friends span:not(.fc-sr) { font-size: 14px; }

/* STAFF */
.fc-members {
	display: grid; grid-template-columns: repeat(2, minmax(0, 340px));
	justify-content: center; gap: 48px;
	padding: 48px 20px 96px; /* 上：浮き上がったときの破線の枠が「メンバー紹介」に近づきすぎないように */
}
.fc-member__open {
	display: flex; flex-direction: column; align-items: stretch;
	width: 100%;
	padding: 0 0 20px;
	border: var(--line) solid var(--fg);
	background: var(--bg);
	text-align: center;
	cursor: pointer;
}

/* 押せるカード共通：マウスを乗せると、ふわっと浮いて選択範囲のような破線の枠で囲む */
.fc-lift {
	position: relative;
	transition: transform .4s cubic-bezier(.22, .61, .36, 1);
}
.fc-lift::after {
	content: "";
	position: absolute; inset: -10px;
	pointer-events: none;
	--h: repeating-linear-gradient(90deg,  var(--fg) 0 var(--dash), transparent var(--dash) calc(var(--dash) + var(--gap)));
	--v: repeating-linear-gradient(180deg, var(--fg) 0 var(--dash), transparent var(--dash) calc(var(--dash) + var(--gap)));
	background:
		var(--h) left top    / 100% var(--dash-w) no-repeat,
		var(--h) left bottom / 100% var(--dash-w) no-repeat,
		var(--v) left top    / var(--dash-w) 100% no-repeat,
		var(--v) right top   / var(--dash-w) 100% no-repeat;
	opacity: 0;
	transition: opacity .3s ease;
}
.fc-lift:hover, .fc-lift:focus-visible, .fc-lift:has(.fc-card__primary:focus-visible) { transform: translateY(-8px); }
.fc-lift:hover::after, .fc-lift:focus-visible::after, .fc-lift:has(.fc-card__primary:focus-visible)::after { opacity: 1; }
.fc .fc-member__open:focus-visible { outline: none; }
.fc-card { cursor: pointer; }
.fc-member__open .fc-member__img { margin: 20px 20px 16px; aspect-ratio: 1; width: auto; object-fit: cover; }
.fc-member__name { align-self: center; font-family: var(--pix); font-size: 24px; line-height: 1.4; padding: 0 12px; }
.fc-member__role { font-size: 13px; line-height: 1.6; padding: 4px 16px 0; }
.fc-member__img.fc-ph span { font-size: 14px; }

.fc-dialog {
	width: min(720px, calc(100% - 32px));
	max-height: calc(100% - 48px);
	padding: 0;
	border: var(--line) solid var(--fg);
	background: var(--bg);
	color: var(--fg);
}
/* ポップアップの後ろ：グラフチェック（方眼）。背景をほぼ塗ってから、細い格子を引く */
.fc-dialog::backdrop, .fc-lightbox::backdrop {
	background-color: rgba(255, 255, 255, .9);
	background-image:
		linear-gradient(rgba(0, 0, 0, .28) 1px, transparent 1px),
		linear-gradient(90deg, rgba(0, 0, 0, .28) 1px, transparent 1px);
	background-size: 20px 20px;
	background-position: -1px -1px;
}
html[data-theme="dark"] .fc-dialog::backdrop, html[data-theme="dark"] .fc-lightbox::backdrop {
	background-color: rgba(0, 0, 0, .9);
	background-image:
		linear-gradient(rgba(255, 255, 255, .26) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .26) 1px, transparent 1px);
}
.fc-dialog .fc-win__bar { position: relative; padding-left: 52px; padding-right: 52px; flex: none; }
.fc-dialog form { position: absolute; top: 50%; right: 8px; transform: translateY(-50%); margin: 0; }
.fc-dialog__close {
	display: grid; place-items: center;
	width: 32px; height: 32px;
	border: 0; border-radius: var(--radius);
	background: transparent;
	font-family: var(--pix); font-size: 18px; line-height: 1;
	cursor: pointer;
}
.fc-dialog__close:hover { background: var(--fg); color: var(--bg); }
.fc-dialog[open] { display: flex; flex-direction: column; }
.fc-dialog--game { width: min(820px, calc(100% - 32px)); }
.fc-dialog__scroll:focus { outline: none; }
/* スクロールは中身だけ（外枠はスクロールさせない＝スクロールバーが二重にならない） */
.fc-dialog { overflow: hidden; }
.fc-dialog__scroll { position: relative; flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 28px clamp(18px, 4vw, 40px) 36px; overscroll-behavior: contain; }
.fc-dialog__scroll .fc-table { margin-top: 28px; }
.fc-dialog__body { position: relative; min-height: 0; overflow-y: auto; display: grid; grid-template-columns: 220px 1fr; gap: 28px; padding: 28px; }
.fc-dialog__img .fc-member__img { aspect-ratio: 1; width: 100%; object-fit: cover; border: var(--line) solid var(--fg); }
.fc-dialog__name { font-family: var(--pix); font-size: 28px; line-height: 1.3; }
.fc-dialog__role { font-family: var(--pix); font-size: 14px; margin: 6px 0 16px !important; }
@media (prefers-reduced-motion: no-preference) {
	.fc-dialog[open] { animation: fc-dlg .25s ease both; }
}
@keyframes fc-dlg { from { opacity: 0; transform: translateY(8px); } }

/* プロフィール詳細 */
.fc-profile__head { display: grid; grid-template-columns: 160px 1fr; gap: 28px; align-items: center; }
.fc-profile__img { aspect-ratio: 1; width: 100%; object-fit: cover; border: var(--line) solid var(--fg); }
.fc-profile__role { font-family: var(--pix); font-size: 17px; }
.fc-profile__sec .fc-table { margin: 0; }
.fc-profile__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* =========================================================
   フッター・お問い合わせ
   ========================================================= */
.fc-footer { border-top: var(--line) solid var(--fg); padding: 72px 20px 24px; }
.fc-footer__inner { max-width: 1080px; margin: 0 auto; }
/* CONTACT（左）と Support Us（右）の2カラム */
.fc-footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; align-items: start; }
.fc-supportus .fc-btns { margin-top: 1.6em !important; }

/* シェアボタン */
.fc-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 28px; padding-top: 22px; border-top: var(--line) solid var(--fg); }
.fc .fc-share__label { margin: 0; font-family: var(--title); font-weight: 500; font-size: 15px; letter-spacing: .14em; }
.fc .fc-share__list { display: flex; flex-wrap: wrap; gap: 8px; }
.fc .fc-share__btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 44px; height: 40px;
	padding: 0 12px;
	border: var(--line) solid var(--fg);
	background: var(--bg); color: var(--fg);
	font-family: var(--title); font-weight: 500; font-size: 14px; letter-spacing: .06em;
	text-decoration: none;
	cursor: pointer;
}
.fc .fc-share__btn:hover { background: var(--fg); color: var(--bg); }
.fc .fc-share__btn img { width: 22px; height: 22px; object-fit: contain; }
.fc .fc-share__status { flex-basis: 100%; margin: 0; min-height: 1.4em; font-size: 13px; }
.fc-footer__bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px;
	margin-top: 64px; padding-top: 16px;
	border-top: var(--line) dotted var(--fg);
}
.fc-footer__sns { display: flex; gap: 8px; }
.fc-footer__sns a { display: block; padding: 2px 12px; font-family: var(--title); font-weight: 500; font-size: 15px; letter-spacing: .06em; }
.fc-footer__copy { margin: 0 !important; font-family: var(--pix); font-size: 13px; }

.fc-form { margin-top: 1.6em; }
.fc-form__note { border: var(--line) dashed var(--fg); padding: 12px 16px; font-size: 14px; }
.fc-form label { display: block; font-family: var(--pix); font-size: 15px; }
.fc-form p { margin: 0 0 1.2em; }
.fc-form input[type="text"], .fc-form input[type="email"], .fc-form input[type="tel"],
.fc-form input[type="url"], .fc-form select, .fc-form textarea {
	display: block;
	width: 100%;
	margin-top: 6px;
	padding: 10px 12px;
	border: var(--line) solid var(--fg);
	border-radius: 0;
	background: var(--bg);
	color: var(--fg);
	font-family: var(--body);
	font-size: 16px;
	line-height: 1.7;
	-webkit-appearance: none;
	appearance: none;
}
.fc-form textarea { min-height: 200px; resize: vertical; }
.fc-form input:focus, .fc-form textarea:focus, .fc-form select:focus { outline: 3px solid var(--fg); outline-offset: 2px; }
.fc-form input[type="submit"] {
	display: inline-flex;
	min-height: 48px;
	padding: 8px 32px;
	border: var(--line) solid var(--fg);
	border-radius: var(--radius);
	background: var(--bg);
	color: var(--fg);
	font-family: var(--pix);
	font-size: 16px;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}
.fc-form input[type="submit"]:hover { background: var(--fg); color: var(--bg); }
.fc-form .wpcf7-spinner { background-color: var(--fg); }
.fc .wpcf7 form .wpcf7-response-output {
	margin: 1.2em 0 0;
	padding: 10px 14px;
	border: var(--line) solid var(--fg);
	font-family: var(--pix);
	font-size: 14px;
}
.fc .wpcf7-not-valid-tip { color: var(--fg); font-family: var(--pix); font-size: 13px; margin-top: 4px; }
.fc .wpcf7-not-valid-tip::before { content: "※"; }
.fc .wpcf7-not-valid { border-style: dashed !important; }

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 900px) {
	.fc-nav, .fc-header__right { display: none; }
	.fc-burger { display: block; }
	.fc-header__inner { grid-template-columns: 1fr auto; }
	.fc .fc-logo__img { width: 32px; height: 32px; }

	.fc-desk__works, .fc-cards, .fc-subgrid { grid-template-columns: 1fr; }

	/* スマホ：カーテンなし。ファーストビューは1画面ぶん */
	.fc-fv { height: 100vh; height: 100svh; }
	.fc-fv__clip { display: none; }
	.fc-page-front .fc-header__inner { height: 64px; padding: 0 12px; }
	.fc .fc-fv__logo { display: block; width: 140px; height: auto; }
	.fc-fv__scroll { width: 168px; padding-left: 0; padding-right: 0; text-align: center; }
	.fc .fc-icons { grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 64px; }
	.fc-desk .fc-newsbox { margin-bottom: 64px; }
}

@media (max-width: 640px) {
	body.fc { font-size: 15px; line-height: 1.85; }

	.fc-pagehead { padding: 40px 16px 20px; }

	.fc-jump { padding: 10px 0; margin-bottom: 24px; }
	.fc-jump ul {
		flex-wrap: nowrap; justify-content: flex-start;
		overflow-x: auto; padding: 0 16px 2px;
		scrollbar-width: none;
	}
	.fc-jump ul::-webkit-scrollbar { display: none; }
	.fc-jump li { flex: none; }

	:root { --frame: 12px; }
	.fc-fv__copy { font-size: clamp(24px, 7.4vw, 36px); }
	.fc-fv__center { padding-top: calc(var(--frame) + 64px); }
	.fc-fv__scroll { padding-top: 6px; padding-bottom: 6px; font-size: 15px; }
	.fc-totop { width: 52px; height: 52px; right: 14px; bottom: 14px; }

	.fc-stackwrap { padding: 0 16px 72px; }
	.fc-stackwrap > * + * { margin-top: 48px; }

	.fc-table th, .fc-table td { display: block; width: 100%; }
	.fc-table th { border-bottom: 0; padding: 12px 0 2px; font-size: 13px; }
	.fc-table td { padding: 0 0 12px; }
	.fc-table--profile th { width: 100%; }

	.fc-shots { gap: 8px; }
	.fc-news__item { grid-template-columns: 1fr; gap: 2px; }
	.fc .fc-newsbox__more .fc-btn { width: auto; }

	.fc-members { grid-template-columns: minmax(0, 320px); gap: 40px; padding-top: 32px; }
	.fc-dialog__body { grid-template-columns: 1fr; gap: 18px; padding: 20px; }
	.fc-dialog__img { max-width: 180px; }

	.fc-profile__head { grid-template-columns: 96px 1fr; gap: 16px; }

	.fc-footer { padding-top: 56px; }
	.fc-footer__cols { grid-template-columns: 1fr; gap: 32px; }
	.fc-footer__bottom { flex-direction: column; }

	.fc-btn { width: 100%; }
	.fc-profile__nav .fc-btn { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
	.fc-curtain, .fc-drawer__panel, .fc-burger span, .fc-lift, .fc-page-front .fc-header, .fc-page-front .fc-header__inner, .fc-totop { transition: none; }
	.fc-lift:hover, .fc-lift:focus-visible, .fc-lift:has(.fc-card__primary:focus-visible) { transform: none; }
}
