@charset "utf-8";
/* ====================================================================================
 FETMODEL 募集LP
 スマートフォン優先。白と淡いラベンダーを基調に、落ち着いた読みやすさを重視する。
 このCSSは募集LPテンプレートでのみ読み込まれる（親テーマのCSSは読み込まない）。
==================================================================================== */

/* ------------------------------------------------------------------------------------
 デザイントークン
------------------------------------------------------------------------------------ */
:root {
	--fm-bg: #ffffff;
	--fm-lav-50: #faf8fd;
	--fm-lav-100: #f4f0fa;
	--fm-lav-200: #e8e0f4;
	--fm-lav-300: #d6c9ec;
	--fm-accent: #6a5898;
	--fm-accent-strong: #54457e;
	--fm-text: #2b2733;
	--fm-muted: #5f5970;
	--fm-border: #e6e0f0;
	--fm-border-strong: #cfc4e2;
	/* 入力欄・選択欄の枠線（白地で 3:1 以上のコントラスト） */
	--fm-field-border: #8f83a8;
	--fm-success: #2f7a55;
	--fm-success-bg: #edf6f1;
	--fm-success-border: #b9dcc8;
	--fm-error: #b3261e;
	--fm-error-bg: #fcefee;
	--fm-error-border: #efc2be;
	--fm-caution-bg: #fbf6ee;
	--fm-caution-border: #e8d6b8;
	--fm-caution-text: #6b4a12;
	--fm-test-bg: #fff6df;
	--fm-test-border: #ecd9a4;
	--fm-test-text: #5c4300;

	/* 補助色（装飾用） */
	--fm-sb-line: #4a3f66;
	--fm-sb-fill: #efe9f8;
	--fm-sb-accent: #8f7bc0;
	--fm-sb-skin: #fbeee6;
	--fm-sb-paper: #ffffff;

	/* 和文はシステムフォント（Webフォントを読み込まない） */
	--fm-font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
	--fm-font-display: "Cormorant Garamond", "Times New Roman", serif;
	--fm-font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;

	--fm-radius: 16px;
	--fm-radius-sm: 10px;
	--fm-shadow: 0 1px 2px rgba(43, 39, 51, 0.04), 0 8px 24px rgba(106, 88, 152, 0.07);
	--fm-shadow-hover: 0 2px 4px rgba(43, 39, 51, 0.05), 0 14px 32px rgba(106, 88, 152, 0.12);
	--fm-gutter: 20px;
	--fm-section-y: 64px;

	/* 固定ヘッダーの高さ（lp.js が実測値で上書きする） */
	--fm-header-h: 92px;
	--fm-adminbar: 0px;
}

@media (min-width: 768px) {
	:root {
		--fm-header-h: 64px;
		--fm-gutter: 32px;
		--fm-section-y: 88px;
	}
}

@media (min-width: 1024px) {
	:root {
		--fm-section-y: 96px;
	}
}

/* ログイン中の管理バー（WordPress標準）ぶんのずれ */
:root:has(body.admin-bar) {
	--fm-adminbar: 32px;
}

@media (max-width: 782px) {
	:root:has(body.admin-bar) {
		--fm-adminbar: 46px;
	}
}

@media (max-width: 600px) {
	:root:has(body.admin-bar) {
		--fm-adminbar: 0px;
	}
}

/* ------------------------------------------------------------------------------------
 ベース
------------------------------------------------------------------------------------ */
html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	/* ページ内リンク・入力欄へのフォーカス移動で、見出しが固定ヘッダーに隠れないようにする */
	scroll-padding-top: calc(var(--fm-header-h) + var(--fm-adminbar) + 12px);
	scroll-padding-bottom: 96px;
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

body.fm-lp {
	margin: 0;
	background: var(--fm-bg);
	color: var(--fm-text);
	font-family: var(--fm-font);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.9;
	letter-spacing: 0.02em;
	line-break: strict;
	overflow-wrap: break-word;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

/* リセットはLPの要素だけに適用する（ログイン中の管理バーには影響させない） */
:where(.fm-testbar, .fm-header, .fm-main, .fm-footer, .fm-actionbar, .fm-skip),
:where(.fm-testbar, .fm-header, .fm-main, .fm-footer, .fm-actionbar) *,
:where(.fm-testbar, .fm-header, .fm-main, .fm-footer, .fm-actionbar) *::before,
:where(.fm-testbar, .fm-header, .fm-main, .fm-footer, .fm-actionbar) *::after {
	box-sizing: border-box;
}

:where(.fm-testbar, .fm-header, .fm-main, .fm-footer) :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) {
	margin: 0;
}

:where(.fm-header, .fm-main, .fm-footer) :where(ul, ol) {
	padding: 0;
	list-style: none;
}

:where(.fm-main, .fm-footer) :where(img, svg) {
	display: block;
	max-width: 100%;
}

:where(.fm-main, .fm-footer) img {
	height: auto;
}

:where(.fm-main, .fm-footer) :where(h1, h2, h3) {
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 0.04em;
	font-feature-settings: "palt";
	word-break: auto-phrase;
	text-wrap: balance;
}

:where(.fm-testbar, .fm-header, .fm-main, .fm-footer) :where(a) {
	color: var(--fm-accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

:where(.fm-testbar, .fm-header, .fm-main, .fm-footer) :where(a:hover) {
	color: var(--fm-accent-strong);
}

:where(.fm-main, .fm-footer) :where(button, input, select, textarea) {
	font: inherit;
	letter-spacing: inherit;
	color: inherit;
}

:where(.fm-main, .fm-footer) code {
	font-family: var(--fm-font-mono);
}

:where(.fm-header, .fm-main, .fm-footer, .fm-actionbar) :focus {
	outline: none;
}

:where(.fm-header, .fm-main, .fm-footer, .fm-actionbar) :focus-visible {
	outline: 3px solid var(--fm-accent);
	outline-offset: 2px;
	border-radius: 4px;
}

:where(.fm-main, .fm-footer) ::selection {
	background: var(--fm-lav-300);
	color: var(--fm-text);
}

/* 読み上げ専用 */
.fm-vh,
.fm-lp .screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* 本文へ移動 */
.fm-skip {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 1000;
	padding: 10px 16px;
	border-radius: 999px;
	background: var(--fm-accent-strong);
	color: #fff !important;
	font-size: 14px;
	text-decoration: none;
	transform: translateY(-160%);
}

.fm-skip:focus,
.fm-skip:focus-visible {
	transform: none;
}

.fm-main:focus {
	outline: none;
}

/* ------------------------------------------------------------------------------------
 レイアウト
------------------------------------------------------------------------------------ */
.fm-container {
	width: 100%;
	max-width: calc(720px + var(--fm-gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--fm-gutter);
}

.fm-container--wide {
	max-width: calc(1040px + var(--fm-gutter) * 2);
}

.fm-section {
	position: relative;
	padding: var(--fm-section-y) 0;
	background: var(--fm-bg);
}

.fm-section--tint {
	background: var(--fm-lav-50);
}

.fm-section__head {
	margin: 0 auto 32px;
	text-align: center;
}

.fm-section__title {
	font-size: 23px;
	color: var(--fm-text);
}

.fm-section__lead {
	max-width: 36em;
	margin: 16px auto 0;
	color: var(--fm-muted);
	font-size: 15px;
	line-height: 1.9;
	text-align: left;
	word-break: auto-phrase;
	text-wrap: pretty;
}

@media (min-width: 768px) {
	.fm-section__head {
		margin-bottom: 44px;
	}

	.fm-section__title {
		font-size: 29px;
	}

	.fm-section__lead {
		text-align: center;
		font-size: 16px;
	}
}

.fm-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 10px;
	color: var(--fm-accent);
	font-family: var(--fm-font-display);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.3em;
	text-transform: uppercase;
}

.fm-eyebrow::before,
.fm-eyebrow::after {
	content: "";
	width: 20px;
	height: 1px;
	background: var(--fm-lav-300);
}

.fm-block {
	margin-top: 40px;
}

.fm-subtitle {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
	font-size: 17px;
	color: var(--fm-text);
}

.fm-subtitle::before {
	content: "";
	flex: none;
	width: 4px;
	height: 1.1em;
	border-radius: 2px;
	background: var(--fm-lav-300);
}

.fm-card {
	background: #fff;
	border: 1px solid var(--fm-border);
	border-radius: var(--fm-radius);
	box-shadow: var(--fm-shadow);
	padding: 20px;
}

@media (min-width: 768px) {
	.fm-card {
		padding: 28px 32px;
	}
}

.fm-empty {
	padding: 24px 20px;
	border: 1px dashed var(--fm-border-strong);
	border-radius: var(--fm-radius);
	background: rgba(255, 255, 255, 0.6);
	color: var(--fm-muted);
	font-size: 15px;
	text-align: center;
}

.fm-pending {
	color: var(--fm-muted);
	font-size: 0.93em;
	font-weight: 400;
}

.fm-link {
	color: var(--fm-accent);
	text-decoration: underline;
	text-decoration-color: var(--fm-lav-300);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.25em;
}

.fm-link:hover {
	color: var(--fm-accent-strong);
	text-decoration-color: currentColor;
}

.fm-icon {
	flex: none;
	width: 1.25em;
	height: 1.25em;
}

.fm-url {
	display: block;
	margin-top: 2px;
	color: var(--fm-muted);
	font-family: var(--fm-font-mono);
	font-size: 12.5px;
	letter-spacing: 0;
	overflow-wrap: anywhere;
}

.fm-link-external {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.fm-link-external .fm-icon {
	width: 1em;
	height: 1em;
}

/* ------------------------------------------------------------------------------------
 ボタン
------------------------------------------------------------------------------------ */
.fm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 48px;
	padding: 10px 28px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.06em;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.fm-btn--primary {
	background: var(--fm-accent);
	border-color: var(--fm-accent);
	color: #fff;
	box-shadow: 0 6px 16px rgba(84, 69, 126, 0.18);
}

.fm-btn--primary:hover {
	background: var(--fm-accent-strong);
	border-color: var(--fm-accent-strong);
	color: #fff;
}

.fm-btn--ghost {
	background: #fff;
	border-color: var(--fm-border-strong);
	color: var(--fm-accent-strong);
}

.fm-btn--ghost:hover {
	border-color: var(--fm-accent);
	background: var(--fm-lav-50);
	color: var(--fm-accent-strong);
}

.fm-btn--sm {
	min-height: 44px;
	padding: 8px 18px;
	font-size: 14px;
}

.fm-btn--lg {
	min-height: 56px;
	font-size: 16px;
}

.fm-btn--block {
	display: flex;
	width: 100%;
}

.fm-btn .fm-icon {
	width: 1em;
	height: 1em;
}

.fm-btn:disabled,
.fm-btn[aria-disabled="true"] {
	background: #d9d4e2;
	border-color: #d9d4e2;
	color: #5f5970;
	box-shadow: none;
	cursor: not-allowed;
}

/* ------------------------------------------------------------------------------------
 お知らせ
------------------------------------------------------------------------------------ */
.fm-notice {
	display: block;
	margin-bottom: 24px;
	padding: 16px 18px;
	border: 1px solid var(--fm-border);
	border-radius: 12px;
	background: var(--fm-lav-100);
	color: var(--fm-text);
	font-size: 15px;
	line-height: 1.85;
}

.fm-notice--icon {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.fm-notice__body {
	flex: 1 1 auto;
	min-width: 0;
}

.fm-notice p + p {
	margin-top: 6px;
}

.fm-notice__title {
	font-weight: 600;
}

.fm-notice > .fm-icon {
	margin-top: 3px;
	color: var(--fm-accent);
}

/* 結果の通知は読み上げのためにフォーカスを移すだけなので、枠は出さない */
.fm-notice:focus,
.fm-notice:focus-visible {
	outline: none;
}

.fm-notice--info {
	background: var(--fm-lav-100);
	border-color: var(--fm-lav-200);
}

.fm-notice--success {
	background: var(--fm-success-bg);
	border-color: var(--fm-success-border);
	color: #1f4d37;
}

.fm-notice--error {
	background: var(--fm-error-bg);
	border-color: var(--fm-error-border);
	color: #7c1a14;
}

.fm-notice--caution {
	background: var(--fm-caution-bg);
	border-color: var(--fm-caution-border);
	color: var(--fm-text);
}

.fm-notice--caution > .fm-icon {
	color: var(--fm-caution-text);
}

.fm-notice--caution .fm-notice__title {
	color: var(--fm-caution-text);
	font-size: 16px;
}

.fm-notice--test {
	background: var(--fm-test-bg);
	border-color: var(--fm-test-border);
	color: var(--fm-test-text);
}

.fm-result {
	border-left-width: 4px;
}

.fm-note {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin-top: 20px;
	padding-top: 18px;
	border-top: 1px solid var(--fm-border);
	color: var(--fm-muted);
	font-size: 14px;
	line-height: 1.85;
}

.fm-note .fm-icon {
	margin-top: 3px;
	color: var(--fm-accent);
	width: 18px;
	height: 18px;
}

/* ------------------------------------------------------------------------------------
 テスト送信モードの帯
------------------------------------------------------------------------------------ */
.fm-testbar {
	background: var(--fm-test-bg);
	border-bottom: 1px solid var(--fm-test-border);
	color: var(--fm-test-text);
	font-size: 13.5px;
	line-height: 1.7;
}

.fm-testbar__inner {
	max-width: calc(1040px + var(--fm-gutter) * 2);
	margin: 0 auto;
	padding: 10px var(--fm-gutter);
}

.fm-testbar__title {
	font-weight: 600;
}

.fm-testbar__expires {
	display: inline-block;
	margin-left: 4px;
	font-weight: 600;
	white-space: nowrap;
}

/* ------------------------------------------------------------------------------------
 ヘッダー・ページ内ナビ
------------------------------------------------------------------------------------ */
.fm-header {
	position: sticky;
	top: var(--fm-adminbar);
	z-index: 50;
	background: #fff;
	border-bottom: 1px solid var(--fm-border);
	box-shadow: 0 4px 16px rgba(84, 69, 126, 0.04);
}

.fm-header__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	max-width: calc(1040px + var(--fm-gutter) * 2);
	margin: 0 auto;
	/* 横向きのiPhoneでは画面の切り欠き（セーフエリア）を避ける */
	padding: 0 max(var(--fm-gutter), env(safe-area-inset-right, 0px)) 0 max(var(--fm-gutter), env(safe-area-inset-left, 0px));
}

.fm-wordmark {
	display: inline-flex;
	align-items: center;
	min-height: 46px;
	color: var(--fm-text);
	font-family: var(--fm-font-display);
	font-size: 20px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.3em;
	text-decoration: none;
	margin-right: -0.3em;
}

.fm-wordmark:hover {
	color: var(--fm-accent-strong);
}

.fm-header__back {
	font-size: 14px;
	color: var(--fm-accent);
}

.fm-nav {
	position: relative;
	width: calc(100% + var(--fm-gutter) * 2);
	/* フォーカス枠が横スクロール領域で切れないよう、一覧の上に余白をとって同じ分だけ詰める */
	margin: -6px calc(var(--fm-gutter) * -1) 0;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--fm-gutter), #000 calc(100% - 28px), transparent 100%);
	mask-image: linear-gradient(to right, transparent 0, #000 var(--fm-gutter), #000 calc(100% - 28px), transparent 100%);
}

.fm-nav::-webkit-scrollbar {
	display: none;
}

.fm-nav__list {
	display: flex;
	gap: 6px;
	width: max-content;
	padding: 6px var(--fm-gutter) 10px;
}

.fm-nav__link {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 0 14px;
	border: 1px solid var(--fm-border);
	border-radius: 999px;
	background: #fff;
	color: var(--fm-muted);
	font-size: 13.5px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0.06em;
	white-space: nowrap;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.fm-nav__link:hover {
	border-color: var(--fm-lav-300);
	color: var(--fm-accent-strong);
}

.fm-nav__link[aria-current] {
	background: var(--fm-accent);
	border-color: var(--fm-accent);
	color: #fff;
}

@media (min-width: 768px) {
	.fm-header__inner {
		flex-wrap: nowrap;
		gap: 24px;
		min-height: 64px;
	}

	.fm-wordmark {
		font-size: 21px;
	}

	.fm-nav {
		width: auto;
		margin: -6px;
		-webkit-mask-image: none;
		mask-image: none;
	}

	.fm-nav__list {
		gap: 2px;
		padding: 6px;
	}

	.fm-nav__link {
		min-height: 36px;
		padding: 0 10px;
		border-color: transparent;
		background: transparent;
		font-size: 14px;
	}

	.fm-nav__link:hover {
		border-color: transparent;
		background: var(--fm-lav-50);
	}

	.fm-nav__link[aria-current] {
		background: var(--fm-lav-100);
		border-color: transparent;
		color: var(--fm-accent-strong);
	}
}

@media (min-width: 1024px) {
	.fm-wordmark {
		font-size: 22px;
	}

	.fm-nav__link {
		padding: 0 14px;
	}
}

/* ------------------------------------------------------------------------------------
 ヒーロー（#top）
------------------------------------------------------------------------------------ */
.fm-hero {
	position: relative;
	overflow: hidden;
	padding: 48px 0 56px;
	background: var(--fm-lav-50);
	border-bottom: 1px solid var(--fm-border);
}

.fm-hero::before {
	content: "";
	position: absolute;
	inset: 10px;
	border: 1px solid var(--fm-lav-200);
	border-radius: 20px;
	pointer-events: none;
}

.fm-hero__deco {
	position: absolute;
	right: -0.08em;
	bottom: -0.28em;
	color: var(--fm-lav-200);
	font-family: var(--fm-font-display);
	font-size: 180px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.02em;
	pointer-events: none;
	user-select: none;
	opacity: 0.7;
}

.fm-hero__inner {
	position: relative;
	padding-right: calc(var(--fm-gutter) + 8px);
	padding-left: calc(var(--fm-gutter) + 8px);
}

@media (min-width: 768px) {
	.fm-hero__inner {
		padding-right: calc(var(--fm-gutter) + 16px);
		padding-left: calc(var(--fm-gutter) + 16px);
	}
}

.fm-hero .fm-notice {
	margin-bottom: 28px;
}

.fm-hero__eyebrow {
	margin-bottom: 18px;
}

.fm-hero__eyebrow::after {
	content: none;
}

.fm-hero__title {
	font-size: clamp(28px, 8vw, 32px);
	line-height: 1.4;
	letter-spacing: 0.08em;
	color: var(--fm-text);
}

.fm-hero__lead {
	margin-top: 16px;
	font-size: 16.5px;
	font-weight: 500;
	line-height: 1.9;
	color: var(--fm-text);
	word-break: auto-phrase;
}

.fm-hero__status {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 20px;
}

.fm-status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 32px;
	padding: 4px 14px;
	border: 1px solid var(--fm-border);
	border-radius: 999px;
	background: #fff;
	color: var(--fm-muted);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
}

.fm-status__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--fm-lav-300);
}

.fm-status--open {
	color: #245f43;
	border-color: var(--fm-success-border);
}

.fm-status--open .fm-status__dot {
	background: var(--fm-success);
}

.fm-status--prep {
	color: var(--fm-accent-strong);
	border-color: var(--fm-lav-300);
}

.fm-status--prep .fm-status__dot {
	background: var(--fm-accent);
}

.fm-status--test {
	color: var(--fm-test-text);
	border-color: var(--fm-test-border);
	background: var(--fm-test-bg);
}

.fm-status--test .fm-status__dot {
	background: #b08a1e;
}

.fm-hero__intro {
	margin-top: 6px;
	color: var(--fm-muted);
	font-size: 14.5px;
	line-height: 1.8;
	word-break: auto-phrase;
}

/* 対象年齢（固定の募集条件） */
.fm-status--age {
	color: var(--fm-accent-strong);
	border-color: var(--fm-accent);
	font-weight: 600;
}

.fm-hero__sub-sep {
	margin: 0 0.5em;
	color: var(--fm-lav-300);
}

.fm-hero__actions {
	display: grid;
	gap: 12px;
	margin-top: 28px;
}

.fm-hero__sub {
	margin-top: 16px;
	font-size: 14px;
	text-align: center;
}

@media (min-width: 600px) {
	.fm-hero__actions {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		max-width: 520px;
	}

	.fm-hero__sub {
		text-align: left;
	}
}

@media (min-width: 768px) {
	.fm-hero {
		padding: 88px 0 96px;
	}

	.fm-hero::before {
		inset: 24px;
		border-radius: 28px;
	}

	.fm-hero__deco {
		font-size: 320px;
		right: 0.02em;
	}

	.fm-hero__title {
		font-size: 40px;
	}

	.fm-hero__lead {
		font-size: 18px;
	}

	.fm-hero__intro {
		font-size: 15.5px;
		max-width: 36em;
	}
}

/* 広い画面では枠を中央の範囲に収める */
@media (min-width: 1200px) {
	.fm-hero::before {
		right: calc(50% - 560px);
		left: calc(50% - 560px);
	}

	.fm-hero__deco {
		right: calc(50% - 560px);
	}
}

/* ------------------------------------------------------------------------------------
 フォーム部品（共通）
------------------------------------------------------------------------------------ */
.fm-field {
	margin-bottom: 24px;
}

.fm-field:last-child {
	margin-bottom: 0;
}

.fm-label {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	margin-bottom: 8px;
	color: var(--fm-text);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.6;
}

.fm-req,
.fm-opt {
	display: inline-flex;
	align-items: center;
	min-height: 20px;
	padding: 1px 8px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 0.08em;
	white-space: nowrap;
	vertical-align: middle;
}

.fm-req {
	background: var(--fm-accent-strong);
	color: #fff;
}

.fm-opt {
	background: var(--fm-lav-100);
	color: var(--fm-muted);
	border: 1px solid var(--fm-lav-200);
	letter-spacing: 0.04em;
}

.fm-help {
	margin-top: 6px;
	color: var(--fm-muted);
	font-size: 13.5px;
	line-height: 1.8;
}

.fm-help--pending {
	display: flex;
	align-items: center;
	gap: 6px;
}

.fm-help--pending::before {
	content: "";
	flex: none;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--fm-lav-300);
}

.fm-error {
	display: flex;
	gap: 6px;
	margin-top: 8px;
	color: var(--fm-error);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.7;
}

.fm-error[hidden] {
	display: none;
}

.fm-error::before {
	content: "!";
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	margin-top: 3px;
	border-radius: 50%;
	background: var(--fm-error);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

.fm-input {
	display: block;
	width: 100%;
	min-height: 48px;
	padding: 11px 14px;
	border: 1px solid var(--fm-field-border);
	border-radius: var(--fm-radius-sm);
	background: #fff;
	color: var(--fm-text);
	font-size: 16px;
	line-height: 1.6;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	-webkit-appearance: none;
	appearance: none;
}

.fm-input::placeholder {
	color: #8a8499;
}

.fm-input:hover {
	border-color: var(--fm-accent);
}

.fm-input:focus {
	border-color: var(--fm-accent);
}

.fm-input:focus-visible {
	outline: 3px solid var(--fm-accent);
	outline-offset: 1px;
	border-radius: var(--fm-radius-sm);
}

.fm-input[aria-invalid="true"],
.fm-input:user-invalid {
	border-color: var(--fm-error);
	background: #fffafa;
}

.fm-textarea {
	min-height: 140px;
	resize: vertical;
}

.fm-input--age {
	max-width: 8em;
}

.fm-input-suffix {
	display: flex;
	align-items: center;
	gap: 10px;
}

.fm-input-suffix__text {
	color: var(--fm-muted);
}

.fm-input[type="number"] {
	-moz-appearance: textfield;
}

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

/* 選択欄 */
.fm-select {
	position: relative;
}

.fm-select::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 18px;
	width: 8px;
	height: 8px;
	margin-top: -6px;
	border-right: 1.5px solid var(--fm-accent);
	border-bottom: 1.5px solid var(--fm-accent);
	transform: rotate(45deg);
	pointer-events: none;
}

.fm-select__control {
	padding-right: 44px;
	cursor: pointer;
	text-overflow: ellipsis;
}

.fm-select__control:has(option[value=""]:checked) {
	color: var(--fm-muted);
}

.fm-select__control option {
	color: var(--fm-text);
}

/* 募集内容の4個の選択欄（画面幅によらず上から順に1列で並べる） */
.fm-select-stack {
	display: grid;
	gap: 22px;
}

.fm-select-stack .fm-field {
	margin-bottom: 0;
}

.fm-select-stack .fm-field + .fm-field {
	padding-top: 22px;
	border-top: 1px solid var(--fm-border);
}

@media (min-width: 768px) {
	.fm-select-stack {
		gap: 26px;
	}

	.fm-select-stack .fm-field + .fm-field {
		padding-top: 26px;
	}
}

/* 選択欄の番号（上から順に選ぶことの手がかり） */
.fm-select-num {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--fm-lav-100);
	border: 1px solid var(--fm-lav-300);
	color: var(--fm-accent-strong);
	font-family: var(--fm-font-display);
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	font-variant-numeric: lining-nums;
}

/* 表示専用の欄（選択肢の一覧・販売サイトURL） */
.fm-field--static {
	margin-top: 24px;
	padding-top: 22px;
	border-top: 1px solid var(--fm-border);
}

.fm-field--static:first-child {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

/* 選択肢の一覧（表示のみ。選ぶのは募集内容の選択欄） */
.fm-optlist {
	display: grid;
	gap: 8px;
}

.fm-optlist__item {
	position: relative;
	padding: 9px 14px 9px 32px;
	border-radius: var(--fm-radius-sm);
	background: var(--fm-lav-50);
	font-size: 15px;
	line-height: 1.7;
}

/* 入力欄と見分けやすいよう、選択ボタン風ではない小さな点にする */
.fm-optlist__item::before {
	content: "";
	position: absolute;
	top: calc(9px + 0.85em - 3px);
	left: 16px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--fm-sb-accent);
}

.fm-optlist + .fm-help,
.fm-field--static .fm-static + .fm-help {
	margin-top: 10px;
}

.fm-static {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 48px;
	padding: 10px 14px;
	border: 1px dashed var(--fm-border-strong);
	border-radius: var(--fm-radius-sm);
	background: var(--fm-lav-50);
	font-size: 15px;
	line-height: 1.6;
}

/* チェックボックス */
.fm-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	min-height: 48px;
	padding: 12px 16px;
	border: 1px solid var(--fm-border-strong);
	border-radius: 12px;
	background: #fff;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.7;
	cursor: pointer;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.fm-checkbox:hover {
	border-color: var(--fm-lav-300);
}

.fm-checkbox:has(input:checked) {
	border-color: var(--fm-accent);
	background: var(--fm-lav-50);
}

.fm-checkbox:has(input[aria-invalid="true"]) {
	border-color: var(--fm-error);
}

.fm-checkbox input[type="checkbox"] {
	flex: none;
	width: 22px;
	height: 22px;
	margin: 2px 0 0;
	accent-color: var(--fm-accent);
	cursor: pointer;
}

.fm-checkbox input[type="checkbox"]:focus-visible {
	outline: 3px solid var(--fm-accent);
	outline-offset: 2px;
	border-radius: 4px;
}

.fm-checkbox__text {
	flex: 1 1 auto;
	min-width: 0;
}

.fm-checkbox__text .fm-req {
	margin-left: 8px;
	transform: translateY(-1px);
}

/* 迷惑送信対策の欄（人には見せない） */
.fm-hp {
	position: absolute !important;
	left: -10000px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.fm-form__actions {
	margin-top: 28px;
}

.fm-form__note {
	margin-top: 12px;
	text-align: center;
}

.fm-count {
	display: block;
	margin-top: 4px;
	color: var(--fm-muted);
	font-size: 12.5px;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.02em;
	text-align: right;
}

.fm-count.is-over {
	color: var(--fm-error);
}

.fm-points {
	display: grid;
	gap: 6px;
	margin-bottom: 24px;
	padding: 14px 16px;
	border-radius: 12px;
	background: var(--fm-lav-50);
	font-size: 14.5px;
	line-height: 1.75;
}

.fm-points li {
	position: relative;
	padding-left: 22px;
}

.fm-points li::before {
	content: "";
	position: absolute;
	top: 0.55em;
	left: 2px;
	width: 10px;
	height: 6px;
	border-left: 1.5px solid var(--fm-accent);
	border-bottom: 1.5px solid var(--fm-accent);
	transform: rotate(-45deg);
}

/* ------------------------------------------------------------------------------------
 募集内容（#details）
------------------------------------------------------------------------------------ */
.fm-table-wrap {
	border: 1px solid var(--fm-border);
	border-radius: var(--fm-radius);
	background: #fff;
	box-shadow: var(--fm-shadow);
	/* 長いコース名・報酬でも切り取らず、はみ出す場合は表の中だけ横にスクロールする */
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.fm-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	line-height: 1.75;
}

.fm-table th,
.fm-table td {
	padding: 14px 18px;
	border-bottom: 1px solid var(--fm-border);
	text-align: left;
	vertical-align: top;
}

.fm-table thead th {
	background: var(--fm-lav-50);
	color: var(--fm-muted);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
}

.fm-table tbody tr:last-child th,
.fm-table tbody tr:last-child td {
	border-bottom: 0;
}

.fm-table tbody th {
	font-weight: 600;
	word-break: auto-phrase;
}

/* 各コースの内容：1列目は選択肢と同じ「コース名：報酬」 */
@media (min-width: 600px) {
	.fm-table--courses th:first-child {
		width: 40%;
	}
}

@media (max-width: 599px) {
	.fm-table,
	.fm-table tbody,
	.fm-table tr,
	.fm-table th,
	.fm-table td {
		display: block;
		width: 100%;
	}

	.fm-table thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
	}

	.fm-table tbody tr {
		padding: 16px 18px;
		border-bottom: 1px solid var(--fm-border);
	}

	.fm-table tbody tr:last-child {
		border-bottom: 0;
	}

	.fm-table tbody th,
	.fm-table tbody td {
		padding: 0;
		border: 0;
		white-space: normal;
	}

	.fm-table tbody th {
		margin-bottom: 8px;
		font-size: 16px;
	}

	.fm-table tbody td {
		display: grid;
		grid-template-columns: 3.6em minmax(0, 1fr);
		align-items: baseline;
		gap: 12px;
		padding: 2px 0;
	}

	.fm-table tbody td::before {
		content: attr(data-label);
		color: var(--fm-muted);
		font-size: 13px;
		font-weight: 500;
	}
}

/* ------------------------------------------------------------------------------------
 公開条件（#conditions）
------------------------------------------------------------------------------------ */
.fm-rules {
	font-size: 15px;
	line-height: 1.9;
}

.fm-rules p + p,
.fm-rules p + .fm-bullets,
.fm-rules .fm-bullets + p {
	margin-top: 10px;
}

.fm-bullets {
	display: grid;
	gap: 8px;
}

.fm-bullets li {
	position: relative;
	padding-left: 1.3em;
}

.fm-bullets li::before {
	content: "";
	position: absolute;
	top: 0.8em;
	left: 0.2em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--fm-sb-accent);
}

/* ------------------------------------------------------------------------------------
 撮影事例（#cases）
------------------------------------------------------------------------------------ */
.fm-cases {
	display: grid;
	gap: 20px;
}

@media (min-width: 600px) {
	.fm-cases {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.fm-cases {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 28px;
	}
}

.fm-cases__item {
	display: flex;
}

.fm-case {
	display: flex;
	flex-direction: column;
	width: 100%;
	overflow: hidden;
	border: 1px solid var(--fm-border);
	border-radius: var(--fm-radius);
	background: #fff;
	box-shadow: var(--fm-shadow);
	color: var(--fm-text);
	text-decoration: none;
}

.fm-case--link {
	transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.fm-case--link:hover {
	color: var(--fm-text);
	border-color: var(--fm-lav-300);
	box-shadow: var(--fm-shadow-hover);
}

@media (prefers-reduced-motion: no-preference) {
	.fm-case--link:hover {
		transform: translateY(-2px);
	}
}

.fm-case--link:focus-visible {
	outline-offset: 3px;
	border-radius: var(--fm-radius);
}

.fm-case__media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--fm-lav-100);
}

@media (max-width: 599px) {
	.fm-case__media--placeholder {
		aspect-ratio: 5 / 2;
	}
}

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

.fm-case__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	position: relative;
	background: var(--fm-lav-100);
}

.fm-case__placeholder::before {
	content: "";
	position: absolute;
	inset: 14px;
	border: 1px solid var(--fm-lav-300);
	border-radius: 10px;
}

.fm-case__mono {
	position: relative;
	color: var(--fm-lav-300);
	font-family: var(--fm-font-display);
	font-size: clamp(40px, 12vw, 56px);
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0.08em;
}

.fm-badge {
	display: inline-flex;
	align-items: center;
	min-height: 26px;
	padding: 2px 12px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--fm-lav-300);
	color: var(--fm-accent-strong);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.1em;
	line-height: 1.5;
	white-space: nowrap;
}

.fm-case__badge {
	position: absolute;
	top: 12px;
	left: 12px;
}

.fm-case__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 6px;
	padding: 18px 20px 20px;
}

.fm-case__title {
	font-size: 16.5px;
	line-height: 1.6;
}

.fm-case__desc {
	color: var(--fm-muted);
	font-size: 14px;
	line-height: 1.8;
}

.fm-case__more {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: auto;
	padding-top: 10px;
	color: var(--fm-accent);
	font-size: 14px;
	font-weight: 600;
}

.fm-case__more .fm-icon {
	width: 1em;
	height: 1em;
}

.fm-case--link:hover .fm-case__more {
	color: var(--fm-accent-strong);
}

/* ------------------------------------------------------------------------------------
 相談の案内例（#guide）
------------------------------------------------------------------------------------ */
.fm-chat-card {
	padding: 20px 16px 24px;
}

@media (min-width: 768px) {
	.fm-chat-card {
		padding: 28px 36px 32px;
	}
}

.fm-chat-card__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin-bottom: 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--fm-border);
}

.fm-badge--example {
	background: var(--fm-accent-strong);
	border-color: var(--fm-accent-strong);
	color: #fff;
	font-size: 13px;
	letter-spacing: 0.14em;
}

.fm-chat-card__note {
	color: var(--fm-muted);
	font-size: 13.5px;
	line-height: 1.7;
}

.fm-chat {
	display: grid;
	gap: 14px;
}

.fm-chat__item {
	display: flex;
	align-items: flex-end;
	gap: 10px;
}

.fm-chat__item--applicant {
	justify-content: flex-end;
}

.fm-chat__item--staff + .fm-chat__item--staff .fm-chat__avatar {
	visibility: hidden;
}

.fm-chat__avatar {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--fm-lav-100);
	border: 1px solid var(--fm-lav-300);
	color: var(--fm-accent-strong);
	font-family: var(--fm-font-display);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1;
}

.fm-chat__bubble {
	position: relative;
	max-width: min(82%, 30em);
	padding: 11px 16px;
	border-radius: 18px;
	font-size: 15px;
	line-height: 1.8;
}

.fm-chat__item--staff .fm-chat__bubble {
	border: 1px solid var(--fm-border);
	border-bottom-left-radius: 6px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(43, 39, 51, 0.04);
}

.fm-chat__item--applicant .fm-chat__bubble {
	border-bottom-right-radius: 6px;
	background: var(--fm-lav-200);
	color: var(--fm-text);
}

/* ------------------------------------------------------------------------------------
 撮影の流れ（#flow） 承認済み画像1枚
------------------------------------------------------------------------------------ */
.fm-flow-figure {
	margin: 0;
}

.fm-flow-figure__link {
	position: relative;
	display: block;
	overflow: hidden;
	border: 1px solid var(--fm-border);
	border-radius: var(--fm-radius);
	background: var(--fm-lav-50);
	box-shadow: 0 1px 2px rgba(43, 39, 51, 0.04), 0 8px 24px rgba(74, 63, 102, 0.07);
	cursor: zoom-in;
}

.fm-flow-figure__link:focus-visible {
	outline: 3px solid var(--fm-accent);
	outline-offset: 3px;
}

/* 縦横比を保って全体を表示（幅に合わせて高さを自動で決める） */
.fm-flow-figure__img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	aspect-ratio: 1024 / 1536;
}

/* 「タップで拡大」は画像に重ねず、画像の下に帯で出す（画像内の文字を隠さない） */
.fm-flow-figure__hint {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 44px;
	padding: 8px 12px;
	border-top: 1px solid var(--fm-border);
	background: #fff;
	color: var(--fm-accent-strong);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
}

.fm-flow-figure__link:hover .fm-flow-figure__hint {
	background: var(--fm-lav-100);
}

/* スマートフォン：画面の横幅いっぱいに表示する */
@media (max-width: 599px) {
	.fm-flow-figure__link {
		margin-right: calc(var(--fm-gutter) * -1);
		margin-left: calc(var(--fm-gutter) * -1);
		border-right: 0;
		border-left: 0;
		border-radius: 0;
	}
}

/* 原寸表示（タップで開く） */
.fm-zoom {
	width: 100%;
	max-width: 100%;
	height: 100%;
	max-height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: #fff;
	color: var(--fm-text);
}

.fm-zoom::backdrop {
	background: rgba(43, 39, 51, 0.6);
}

.fm-zoom[open] {
	display: flex;
	flex-direction: column;
}

.fm-zoom__bar {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: max(10px, env(safe-area-inset-top, 0px)) max(var(--fm-gutter), env(safe-area-inset-right, 0px)) 10px max(var(--fm-gutter), env(safe-area-inset-left, 0px));
	border-bottom: 1px solid var(--fm-border);
	background: #fff;
}

.fm-zoom__title {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
}

.fm-zoom__note {
	color: var(--fm-muted);
	font-size: 12px;
	font-weight: 400;
}

.fm-zoom__close {
	flex: 0 0 auto;
	min-width: 88px;
	min-height: 44px;
	padding: 0 16px;
	border: 1px solid var(--fm-accent);
	border-radius: 999px;
	background: var(--fm-accent);
	color: #fff;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}

.fm-zoom__close:focus-visible {
	outline: 3px solid var(--fm-accent);
	outline-offset: 3px;
}

.fm-zoom__scroll {
	flex: 1 1 auto;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	/* iPhoneのホームバーに画像の下端（注意書き）が重ならないようにする */
	padding-bottom: env(safe-area-inset-bottom, 0px);
	background: var(--fm-lav-50);
}

/* スマートフォンでは見出しを1行にして、画像の表示範囲を広くとる */
@media (max-width: 599px) {
	.fm-zoom__title br,
	.fm-zoom__note {
		display: none;
	}
}

/* 原寸（1024px幅）。画面が広いときは中央に置く */
.fm-zoom__img {
	display: block;
	width: 1024px;
	max-width: none;
	height: auto;
	margin: 0 auto;
}

html.fm-zoom-open {
	overflow: hidden;
}

/* ------------------------------------------------------------------------------------
 Q&A（#faq）
------------------------------------------------------------------------------------ */
.fm-faq {
	display: grid;
	gap: 12px;
}

.fm-faq__item {
	border: 1px solid var(--fm-border);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(43, 39, 51, 0.03);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fm-faq__item[open] {
	border-color: var(--fm-lav-300);
	box-shadow: var(--fm-shadow);
}

.fm-faq__q {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	min-height: 56px;
	padding: 15px 18px;
	font-size: 15.5px;
	font-weight: 600;
	line-height: 1.75;
	list-style: none;
	cursor: pointer;
	border-radius: 14px;
}

.fm-faq__q::-webkit-details-marker {
	display: none;
}

.fm-faq__q::marker {
	content: "";
}

.fm-faq__q:hover .fm-faq__qtext {
	color: var(--fm-accent-strong);
}

.fm-faq__mark {
	flex: none;
	width: 1.1em;
	color: var(--fm-accent);
	font-family: var(--fm-font-display);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.2;
}

.fm-faq__mark--a {
	color: var(--fm-lav-300);
}

.fm-faq__qtext {
	flex: 1 1 auto;
	min-width: 0;
}

.fm-faq__toggle {
	position: relative;
	flex: none;
	width: 22px;
	height: 22px;
	margin-top: 3px;
	border-radius: 50%;
	background: var(--fm-lav-100);
}

.fm-faq__toggle::before,
.fm-faq__toggle::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 10px;
	height: 1.5px;
	margin: -0.75px 0 0 -5px;
	background: var(--fm-accent);
	transition: transform 0.2s ease;
}

.fm-faq__toggle::after {
	transform: rotate(90deg);
}

.fm-faq__item[open] .fm-faq__toggle::after {
	transform: rotate(0deg);
}

.fm-faq__a {
	display: flex;
	gap: 12px;
	margin: 0 18px;
	padding: 14px 0 18px;
	border-top: 1px dashed var(--fm-border);
}

.fm-faq__atext {
	flex: 1 1 auto;
	min-width: 0;
	color: var(--fm-text);
	font-size: 15px;
	line-height: 1.9;
}

/* ------------------------------------------------------------------------------------
 相談窓口（#consult）
------------------------------------------------------------------------------------ */
.fm-consult__notice {
	margin-bottom: 28px;
	padding: 18px 20px;
}

.fm-consult__notice > .fm-icon {
	width: 22px;
	height: 22px;
}

.fm-contacts {
	display: grid;
	gap: 16px;
}

@media (min-width: 600px) {
	.fm-contacts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.fm-contact {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 20px;
}

.fm-contact__head {
	display: flex;
	align-items: center;
	gap: 12px;
}

.fm-contact__icon {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--fm-lav-100);
	color: var(--fm-accent-strong);
}

.fm-contact__icon .fm-icon {
	width: 22px;
	height: 22px;
}

.fm-contact__name {
	font-size: 17px;
	letter-spacing: 0.06em;
}

.fm-contact__idrow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.fm-contact__idlabel {
	color: var(--fm-muted);
	font-family: var(--fm-font-display);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.12em;
}

.fm-contact__id {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 4px 14px;
	border: 1px solid var(--fm-border);
	border-radius: 999px;
	background: var(--fm-lav-50);
	color: var(--fm-text);
	font-size: 15px;
	letter-spacing: 0.02em;
	user-select: all;
	-webkit-user-select: all;
	overflow-wrap: anywhere;
}

.fm-copy {
	display: none;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 4px 14px;
	border: 1px solid var(--fm-border-strong);
	border-radius: 999px;
	background: #fff;
	color: var(--fm-accent-strong);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.fm-js .fm-copy {
	display: inline-flex;
}

.fm-copy:hover {
	border-color: var(--fm-accent);
	background: var(--fm-lav-50);
}

.fm-copy.is-done {
	border-color: var(--fm-success-border);
	background: var(--fm-success-bg);
	color: #1f4d37;
}

.fm-copy.is-failed {
	border-color: var(--fm-error-border);
	background: var(--fm-error-bg);
	color: var(--fm-error);
}

.fm-contact__link {
	align-self: flex-start;
	margin-top: auto;
}

.fm-contact__hint {
	margin-top: auto;
	color: var(--fm-muted);
	font-size: 13.5px;
}

.fm-consult__more {
	margin-top: 24px;
	color: var(--fm-muted);
	font-size: 14.5px;
	text-align: center;
}

/* ------------------------------------------------------------------------------------
 匿名質問フォーム（#question）
------------------------------------------------------------------------------------ */
.fm-js .fm-reply-field:not(.is-open) {
	display: none;
}

/* ------------------------------------------------------------------------------------
 正式応募（#apply）
------------------------------------------------------------------------------------ */
.fm-apply__fieldset {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.fm-group {
	min-width: 0;
	margin: 0 0 20px;
	border: 1px solid var(--fm-border);
}

fieldset.fm-group {
	/* legend をカードの内側に置く */
	padding-top: 0;
}

.fm-group__title {
	display: flex;
	align-items: center;
	gap: 12px;
	float: left;
	width: 100%;
	margin: 0 0 18px;
	padding: 20px 0 14px;
	border-bottom: 1px solid var(--fm-border);
	color: var(--fm-text);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 0.04em;
}

.fm-group__title + * {
	clear: both;
}

div.fm-group > .fm-group__title {
	float: none;
	padding-top: 0;
}

.fm-group__num {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--fm-lav-100);
	border: 1px solid var(--fm-lav-300);
	color: var(--fm-accent-strong);
	font-family: var(--fm-font-display);
	font-size: 17px;
	font-weight: 600;
	line-height: 1;
	font-variant-numeric: lining-nums;
}

@media (min-width: 768px) {
	.fm-group__title {
		padding-top: 26px;
		font-size: 18px;
	}
}

.fm-privacy {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin-bottom: 20px;
	padding: 12px 14px;
	border-radius: 12px;
	background: var(--fm-lav-50);
	border: 1px solid var(--fm-lav-200);
	color: var(--fm-accent-strong);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.75;
}

.fm-privacy .fm-icon {
	margin-top: 2px;
	width: 18px;
	height: 18px;
}

/* 写真 */
.fm-upload__box {
	margin-top: 10px;
	padding: 14px;
	border: 1px dashed var(--fm-border-strong);
	border-radius: 12px;
	background: var(--fm-lav-50);
}

.fm-file {
	display: block;
	width: 100%;
	min-height: 48px;
	color: var(--fm-muted);
	font-size: 14px;
	line-height: 1.5;
	cursor: pointer;
}

.fm-file::file-selector-button {
	min-height: 48px;
	margin-right: 12px;
	padding: 10px 18px;
	line-height: 1.4;
	border: 1px solid var(--fm-accent);
	border-radius: 999px;
	background: #fff;
	color: var(--fm-accent-strong);
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.fm-file::-webkit-file-upload-button {
	min-height: 48px;
	margin-right: 12px;
	padding: 10px 18px;
	line-height: 1.4;
	border: 1px solid var(--fm-accent);
	border-radius: 999px;
	background: #fff;
	color: var(--fm-accent-strong);
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.fm-file:focus-visible {
	outline-offset: 4px;
}

.fm-file[aria-invalid="true"]::file-selector-button {
	border-color: var(--fm-error);
}

.fm-upload__status:empty {
	display: none;
}

.fm-upload__status {
	margin-top: 8px;
	color: var(--fm-muted);
	font-size: 13.5px;
	line-height: 1.7;
	overflow-wrap: anywhere;
}

.fm-upload__status.is-error {
	color: var(--fm-error);
	font-weight: 500;
}

.fm-upload__preview {
	margin-top: 12px;
}

.fm-upload__preview img {
	max-width: 100%;
	max-height: 240px;
	width: auto;
	border-radius: 8px;
	border: 1px solid var(--fm-border);
	background: #fff;
	object-fit: contain;
}

/* 選択中の内容（lp.js が選択に合わせて更新するため、JavaScript が動くときだけ表示する） */
.fm-summary,
.fm-summary__help {
	display: none;
}

.fm-js .fm-summary,
.fm-js .fm-summary__help {
	display: block;
}

.fm-summary {
	margin-top: 14px;
	border: 1px solid var(--fm-border);
	border-radius: 12px;
	overflow: hidden;
}

.fm-summary__row {
	display: grid;
	grid-template-columns: minmax(0, 10em) minmax(0, 1fr);
	gap: 12px;
	padding: 10px 14px;
	border-bottom: 1px solid var(--fm-border);
	font-size: 14.5px;
	line-height: 1.7;
}

.fm-summary__row:nth-child(odd) {
	background: var(--fm-lav-50);
}

.fm-summary__row:last-child {
	border-bottom: 0;
}

.fm-summary dt {
	color: var(--fm-muted);
	font-weight: 500;
	word-break: auto-phrase;
}

.fm-summary dd {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 2px 16px;
	min-width: 0;
}

.fm-summary__value {
	min-width: 0;
	color: var(--fm-text);
	font-weight: 600;
}

.fm-summary__value[data-fm-empty],
.fm-summary__value.fm-summary__pending {
	color: var(--fm-muted);
	font-weight: 400;
}

.fm-summary__edit {
	flex: none;
	margin-left: auto;
	font-size: 13px;
	white-space: nowrap;
}

@media (max-width: 479px) {
	.fm-summary__row {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}

	.fm-summary dt {
		font-size: 13px;
	}
}

/* 同意文 */
.fm-consent-text {
	max-height: 300px;
	margin: 14px 0 20px;
	padding: 16px 18px;
	overflow: auto;
	overscroll-behavior: contain;
	border: 1px solid var(--fm-border-strong);
	border-radius: 12px;
	background: #fff;
	color: var(--fm-text);
	font-size: 14px;
	line-height: 1.85;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
	-webkit-overflow-scrolling: touch;
}

.fm-consent-text:focus-visible {
	outline-offset: 2px;
}

.fm-field--consent {
	margin-bottom: 12px;
}

/* 受付停止中の表示 */
.fm-apply.is-closed .fm-group {
	background: #fcfbfe;
}

.fm-apply__fieldset:disabled .fm-input,
.fm-apply__fieldset:disabled .fm-checkbox,
.fm-apply__fieldset:disabled .fm-upload__box {
	background: #f6f4f9;
	border-color: var(--fm-border);
	color: var(--fm-muted);
	cursor: not-allowed;
	box-shadow: none;
}

.fm-apply__fieldset:disabled .fm-file,
.fm-apply__fieldset:disabled .fm-checkbox input {
	cursor: not-allowed;
}

.fm-apply__fieldset:disabled .fm-file::file-selector-button {
	border-color: var(--fm-border-strong);
	color: var(--fm-muted);
	cursor: not-allowed;
}

.fm-apply__fieldset:disabled .fm-file::-webkit-file-upload-button {
	border-color: var(--fm-border-strong);
	color: var(--fm-muted);
	cursor: not-allowed;
}

/* ------------------------------------------------------------------------------------
 パスワード保護
------------------------------------------------------------------------------------ */
.fm-password p + p {
	margin-top: 14px;
}

.fm-password label {
	display: block;
	font-weight: 600;
}

.fm-password input[type="password"] {
	display: block;
	width: 100%;
	min-height: 48px;
	margin-top: 8px;
	padding: 10px 14px;
	border: 1px solid var(--fm-field-border);
	border-radius: var(--fm-radius-sm);
	font-size: 16px;
}

.fm-password input[type="submit"] {
	min-height: 48px;
	margin-top: 12px;
	padding: 10px 28px;
	border: 0;
	border-radius: 999px;
	background: var(--fm-accent);
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}

/* ------------------------------------------------------------------------------------
 条件の再確認（?fm_reconfirm=… 。本体は submissions.php が出力）
------------------------------------------------------------------------------------ */
.fm-reconfirm .fm-section__title {
	margin-bottom: 24px;
	text-align: center;
}

.fm-reconfirm__lead {
	margin-bottom: 20px;
	color: var(--fm-text);
	font-size: 15px;
	line-height: 1.9;
}

.fm-reconfirm__block + .fm-reconfirm__block,
.fm-reconfirm__form {
	margin-top: 20px;
}

.fm-reconfirm__heading {
	margin-bottom: 8px;
	font-size: 16px;
	color: var(--fm-text);
}

.fm-reconfirm__form .fm-btn {
	margin-top: 8px;
}

.fm-reconfirm__form .fm-help {
	margin: 12px 0;
}

/* ------------------------------------------------------------------------------------
 フッター（#about）
------------------------------------------------------------------------------------ */
.fm-footer {
	padding: var(--fm-section-y) 0 40px;
	background: var(--fm-lav-100);
	border-top: 1px solid var(--fm-lav-200);
	color: var(--fm-text);
}

.fm-about {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
}

@media (min-width: 1024px) {
	.fm-about {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 20px;
	}
}

.fm-about__block {
	/* URL・メールアドレスなど区切りのない長い文字列でも、列の幅を広げずに折り返す */
	min-width: 0;
	overflow-wrap: anywhere;
	padding: 20px 22px;
	border: 1px solid var(--fm-lav-200);
	border-radius: var(--fm-radius);
	background: rgba(255, 255, 255, 0.7);
	font-size: 14.5px;
	line-height: 1.85;
}

.fm-about__title {
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--fm-lav-200);
	font-size: 15.5px;
}

.fm-dl__row {
	display: grid;
	gap: 0;
	padding: 6px 0;
}

.fm-dl__row + .fm-dl__row {
	border-top: 1px dashed var(--fm-lav-200);
}

.fm-dl dt {
	color: var(--fm-muted);
	font-size: 13px;
}

.fm-dl dd {
	font-weight: 600;
}

.fm-about__note {
	margin-top: 10px;
	color: var(--fm-muted);
	font-size: 13px;
	line-height: 1.8;
}

.fm-footer__copy {
	margin-top: 40px;
	font-variant-numeric: lining-nums;
	color: var(--fm-muted);
	font-size: 12.5px;
	text-align: center;
	letter-spacing: 0.08em;
}

.fm-footer__brand {
	font-family: var(--fm-font-display);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.24em;
}

/* ------------------------------------------------------------------------------------
 スマートフォン用の下部ボタン
------------------------------------------------------------------------------------ */
.fm-actionbar {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 40;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
	background: #fff;
	border-top: 1px solid var(--fm-border);
	box-shadow: 0 -6px 20px rgba(84, 69, 126, 0.06);
	transition: transform 0.25s ease, visibility 0.25s;
}

.fm-actionbar--single {
	grid-template-columns: minmax(0, 1fr);
}

.fm-actionbar__btn {
	min-height: 48px;
	padding: 8px 12px;
	font-size: 15px;
}

.fm-actionbar.is-hidden,
.fm-actionbar.is-away {
	transform: translateY(110%);
	visibility: hidden;
}

/* 下部ボタンに最後の内容が隠れないよう、フッターの下に余白をとる */
@media (max-width: 767px) {
	.fm-lp--actionbar .fm-footer {
		padding-bottom: calc(40px + 72px + env(safe-area-inset-bottom, 0px));
	}
}

@media (min-width: 768px) {
	.fm-actionbar {
		display: none;
	}
}

/* ------------------------------------------------------------------------------------
 装飾（青紫の手描き風アクセント）
 文章は増やさず、見出しの脇・カードの隅・余白に置く。操作の対象にせず、文字や入力欄を覆わない。
 差し色は鮮やかな青紫だけ。ほのかな光のにじみは drop-shadow で表現する。
------------------------------------------------------------------------------------ */
.fm-lp {
	--fm-deco: #5b3cf6;
	--fm-deco-glow: rgba(91, 60, 246, 0.42);
	--fm-deco-glow-soft: rgba(91, 60, 246, 0.2);
}

/* 装飾の位置で横にはみ出さないようにする（スクロール領域は作らない clip を使う） */
.fm-section,
.fm-footer {
	overflow-x: clip;
}

.fm-deco {
	position: absolute;
	z-index: 0;
	display: block;
	color: var(--fm-deco);
	line-height: 0;
	pointer-events: none;
	user-select: none;
	-webkit-user-select: none;
	filter: drop-shadow(0 0 1.2px var(--fm-deco-glow)) drop-shadow(0 0 6px var(--fm-deco-glow-soft));
}

.fm-deco svg {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}

/* 見出しの文字に添える手描きの下線と、脇の線画アイコン */
.fm-section__title-text,
.fm-hero__title-text {
	position: relative;
	display: inline-block;
}

.fm-deco--title-line {
	bottom: -13px;
	left: 50%;
	width: min(118%, 150px);
	opacity: 0.92;
	transform: translateX(-50%) rotate(-1.8deg);
}

.fm-deco--underline-b.fm-deco--title-line {
	width: min(108%, 138px);
	transform: translateX(-47%) rotate(1.3deg);
}

.fm-hero__title .fm-deco--title-line {
	left: -6px;
	width: min(92%, 210px);
	bottom: -9px;
	transform: rotate(-2.4deg);
}

.fm-deco--title-icon {
	top: 50%;
	left: calc(100% + 12px);
	width: 34px;
	transform: translateY(-62%) rotate(-9deg);
}

.fm-deco--camera.fm-deco--title-icon {
	width: 38px;
	transform: translateY(-58%) rotate(7deg);
}

.fm-deco--sparkles.fm-deco--title-icon {
	width: 30px;
	transform: translateY(-86%) rotate(-4deg);
}

/* カードの隅のきらめき（カードの余白の上に重ね、本文には重ねない） */
.fm-card--deco {
	position: relative;
}

.fm-deco--card-corner {
	top: -15px;
	right: -11px;
	width: 38px;
	transform: rotate(9deg);
}

.fm-deco--card-corner-left {
	right: auto;
	left: -10px;
	top: -12px;
	width: 24px;
	transform: rotate(-14deg);
}

/* ヒーロー：手書きの fetmodel.com とカメラの線画、見出し横のきらめき */
.fm-deco--script {
	color: var(--fm-deco);
	font-family: "Caveat", "Segoe Script", "Bradley Hand", "Snell Roundhand", cursive;
	font-size: 26px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.01em;
	white-space: nowrap;
}

.fm-deco--hero-script {
	right: calc(var(--fm-gutter) + 6px);
	bottom: -40px;
	font-size: 21px;
	transform: rotate(-6deg);
}

.fm-deco--hero-camera {
	display: none;
}

.fm-deco--hero-sparkle {
	top: -8px;
	left: calc(100% + 6px);
	width: 15px;
	transform: rotate(8deg);
}

/* フッターの手書き */
.fm-footer__sign {
	margin-top: 36px;
	text-align: center;
	line-height: 1;
}

.fm-footer__sign .fm-deco {
	position: relative;
	display: inline-block;
	vertical-align: top;
}

.fm-deco--footer-script {
	font-size: 22px;
	transform: rotate(-4deg);
}

.fm-deco--footer-sparkle {
	width: 14px;
	margin-left: 4px;
	transform: rotate(12deg) translateY(-6px);
}

.fm-footer__sign + .fm-footer__copy {
	margin-top: 14px;
}

/* スマートフォンでは装飾を小さくする */
@media (max-width: 599px) {
	.fm-deco--title-line {
		bottom: -11px;
		width: min(112%, 120px);
	}

	.fm-deco--underline-b.fm-deco--title-line {
		width: min(104%, 112px);
	}

	.fm-deco--title-icon {
		left: calc(100% + 7px);
		width: 25px;
	}

	.fm-deco--camera.fm-deco--title-icon {
		width: 28px;
	}

	.fm-deco--sparkles.fm-deco--title-icon {
		width: 23px;
	}

	.fm-deco--card-corner {
		top: -12px;
		right: -8px;
		width: 28px;
	}

	.fm-deco--card-corner-left {
		left: -7px;
		top: -10px;
		width: 19px;
	}

	.fm-deco--hero-script {
		font-size: 19px;
	}
}

/* 広い画面：手書きの fetmodel.com とカメラを見出しの右の余白に置く */
@media (min-width: 768px) {
	.fm-hero__head {
		position: relative;
	}

	.fm-deco--hero-script {
		top: 2px;
		right: 8px;
		bottom: auto;
		font-size: 30px;
		transform: rotate(-7deg);
	}

	.fm-deco--hero-camera {
		display: block;
		top: 44px;
		right: 44px;
		width: 52px;
		transform: rotate(11deg);
		opacity: 0.95;
	}

	.fm-deco--hero-sparkle {
		width: 18px;
	}
}

/* 見出し・注意書きの最後の1〜2文字だけが次の行に残らないようにする */
.fm-faq__q,
.fm-notice__title,
.fm-group__title,
.fm-subtitle,
#fm-publication-list-label {
	text-wrap: balance;
}

@media print {
	.fm-deco {
		display: none !important;
	}
}

/* ------------------------------------------------------------------------------------
 動きを減らす設定
------------------------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
	.fm-lp *,
	.fm-lp *::before,
	.fm-lp *::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
	}
}

/* ------------------------------------------------------------------------------------
 強制カラー（ハイコントラスト）
------------------------------------------------------------------------------------ */
@media (forced-colors: active) {
	.fm-btn,
	.fm-nav__link,
	.fm-status,
	.fm-badge,
	.fm-req,
	.fm-opt {
		border: 1px solid CanvasText;
	}

	.fm-nav__link[aria-current] {
		outline: 2px solid Highlight;
	}
}

/* ------------------------------------------------------------------------------------
 印刷
------------------------------------------------------------------------------------ */
@media print {
	.fm-header,
	.fm-actionbar,
	.fm-testbar,
	.fm-skip,
	.fm-hero__deco {
		display: none !important;
	}

	.fm-section,
	.fm-hero {
		padding: 24px 0;
	}

	.fm-consent-text {
		max-height: none;
		overflow: visible;
	}

	/* 閉じた Q&A の答えも印刷する（lp.js が印刷前に開く。対応ブラウザではCSSだけでも表示） */
	.fm-faq__item::details-content {
		content-visibility: visible;
	}
}
