@charset "UTF-8";
/* 南栄 採用サイト（静的版）
   見た目は旧テーマ recruitsystem02 を踏襲。色と寸法は _work/reference/recruit_theme_notes.md から */

:root {
	--text: #202D3B;
	--green: #39863F;
	--badge: #48AF78;
	--orange: #FF9300;
	--orange-dark: #CC7600;
	--grad: linear-gradient(#E9FDC3, #A3F5B9);
	--line-dt: #445F7D;
	--line-dd: #95ACC5;
	--form-line: #E8EFF0;
	--must: #D62C1A;
	--header-h: 80px;
}

/* ---------- 基本 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	margin: 0;
	padding-top: var(--header-h);
	color: var(--text);
	background: #fff;
	font-family: "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", YuGothic, "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
	font-size: 16px;
	line-height: 1.5;
	-webkit-text-size-adjust: 100%;
}
body.menu-open { overflow: hidden; }
main { flex: 1; }
h1, h2, h3, h4, h5, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; vertical-align: bottom; }
a { color: inherit; text-decoration: none; transition: all .3s ease; }
.txt { line-height: 2; }

.container { margin: 2rem auto 6rem; padding: 0 24px; max-width: 1128px; }
.container.pb { padding-bottom: 7rem; }

/* ボタン（橙） */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .25rem;
	padding: 12px 1.5rem;
	color: #fff;
	background: var(--orange);
	border: 0;
	border-radius: 50vw;
	font: inherit;
	cursor: pointer;
}
@media (hover: hover) { .btn:hover { background: var(--orange-dark); } }
.icon-arrow { width: 15px; height: 15px; fill: #fff; flex: none; }
.icon-external { width: 11px; height: 11px; margin-left: 2px; fill: currentColor; }

/* タグ（バッジ） */
.badges { display: flex; flex-wrap: wrap; gap: .5rem; }
.badge { display: inline-block; padding: 4px 8px; color: #fff; background: var(--badge); border-radius: 4px; font-size: 12px; font-weight: bold; line-height: 1.2; }

/* セクション見出し（英字＋日本語） */
.sec-title {
	padding-top: 4rem;
	color: var(--green);
	font-size: 1.75rem;
	font-weight: bold;
	line-height: 1;
	text-align: center;
	letter-spacing: .05em;
}
.sec-title span { display: block; margin-top: 20px; font-size: 14px; font-weight: 500; letter-spacing: 0; }

/* ---------- ヘッダー ---------- */
#header {
	position: fixed;
	top: 0; left: 0;
	z-index: 100;
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	height: var(--header-h);
	background: #fff;
}
.header-company { display: flex; align-items: center; height: 100%; padding-left: 1rem; }
.logo { display: flex; align-items: center; height: 58px; }
.logo img { height: 100%; width: auto; }
.logo-text { color: var(--green); font-size: 1.125rem; font-weight: bold; }
.link-corp { margin-left: 1.25rem; padding: 4px 1.25rem; font-size: 14px; border-left: 1px solid #b3b3b3; }
@media (hover: hover) { .logo:hover, .link-corp:hover { opacity: .5; } }
@media (max-width: 991px) { .logo { height: 40px; } }
@media (max-width: 767px) { .link-corp { display: none; } }

.header-nav { display: flex; align-items: center; height: 100%; }
.nav-entry { display: flex; align-items: center; gap: .25rem; height: 100%; padding: 0 1.5rem; color: #fff; background: var(--orange); }
@media (hover: hover) { .nav-entry:hover { background: var(--orange-dark); } }
@media (max-width: 575px) { .nav-entry { display: none; } }

.hamburger { position: relative; width: 80px; height: 80px; padding: 0; border: 0; background: #fff; cursor: pointer; }
.hamburger span, .hamburger span::before, .hamburger span::after {
	position: absolute;
	left: 50%;
	width: 36px; height: 2px;
	margin-left: -18px;
	background: #707070;
	border-radius: 3px;
	transition: transform .22s ease, top .1s ease, opacity .1s ease;
}
.hamburger span { top: 50%; }
.hamburger span::before, .hamburger span::after { content: ""; left: 0; margin-left: 0; }
.hamburger span::before { top: -12px; }
.hamburger span::after { top: 12px; }
.hamburger[aria-expanded="true"] span { transform: rotate(225deg); background: var(--green); }
.hamburger[aria-expanded="true"] span::before { top: 0; opacity: 0; }
.hamburger[aria-expanded="true"] span::after { top: 0; transform: rotate(-90deg); background: var(--green); }
@media (hover: hover) and (min-width: 768px) {
	.hamburger:hover { background: var(--green); }
	.hamburger:hover span, .hamburger:hover span::before, .hamburger:hover span::after { background: #fff; }
}

/* ---------- メニュー ---------- */
#menu {
	position: fixed;
	top: var(--header-h); left: 0;
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: calc(100% - var(--header-h));
	overflow-y: auto;
	background: #fff;
}
#menu[hidden] { display: none; }
#menu li { padding: 1rem 0; text-align: center; }
#menu a { font-size: 18px; }
@media (hover: hover) { #menu a:hover { color: var(--orange); } }
.menu-corp { display: none; }
@media (max-width: 767px) { .menu-corp { display: block; } }

/* ---------- スマホ下の固定エントリー帯・トップへ戻る ---------- */
#sp-entry { display: none; }
@media (max-width: 575px) {
	#sp-entry {
		position: fixed;
		left: 0; bottom: 0;
		z-index: 150;
		display: block;
		width: 100%;
		padding: .75rem 0;
		color: #fff;
		background: var(--orange);
		text-align: center;
		transition: transform .3s ease;
	}
	#sp-entry.is-hidden { transform: translateY(100%); }
}
#backtotop {
	position: fixed;
	right: 0; bottom: 0;
	z-index: 199;
	width: 48px; height: 48px;
	background: var(--orange);
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s, visibility .3s;
}
#backtotop::before {
	content: "";
	position: absolute;
	top: 20px; left: 16px;
	width: 16px; height: 16px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	transform: rotate(315deg);
}
#backtotop.is-visible { opacity: 1; visibility: visible; }
@media (hover: hover) { #backtotop:hover { background: #FFBE66; } }
@media (max-width: 575px) { #backtotop { bottom: 48px; z-index: 410; } }

/* ---------- フッター ---------- */
#footer { padding: 15px 56px; color: #727272; font-size: 12px; line-height: 1.5; text-align: center; }
#footer a { margin-right: .5rem; padding-right: .5rem; border-right: 1px solid #3F3F3F; }
@media (max-width: 575px) {
	#footer { padding-bottom: 64px; }
	#footer a { display: block; margin: 0 0 .25rem; padding: 0; border: 0; }
}

/* ---------- 背景のグラデ（一覧・詳細・エントリー） ---------- */
.page-grad main { background: var(--grad); }
.page-grad #footer { background: #A3F5B9; }

/* =========================================================
   トップ
   ========================================================= */
#kv { position: relative; height: 50.7vw; max-height: calc(100vh - var(--header-h)); overflow: hidden; }
#kv video, #kv .kv-pc, #kv picture img { width: 100%; height: 100%; object-fit: cover; }
#kv picture { display: none; }
#kv::after { content: ""; position: absolute; inset: 0; background: rgba(47, 49, 46, .3); }
#kv .catch {
	position: absolute;
	top: 50%; left: 0;
	z-index: 2;
	width: 100%;
	padding: 0 2rem;
	color: #fff;
	text-align: center;
	transform: translateY(-50%);
}
#kv h2 { margin-bottom: 1rem; font-size: 2.75rem; font-weight: bold; letter-spacing: .2rem; }
#kv .catch p { font-size: 1.25rem; }
@media (max-width: 991px) { #kv h2 { font-size: 2.25rem; } }
@media (max-width: 767px) {
	#kv .catch { padding: 0 1rem; }
	#kv h2 { font-size: 2rem; }
	#kv .catch p { font-size: 1.125rem; }
}
@media (max-width: 575px) {
	#kv { height: calc(100svh - var(--header-h)); max-height: none; padding-bottom: 48px; }
	#kv video, #kv .kv-pc { display: none; }
	#kv picture { display: block; height: 100%; }
	#kv h2 { font-size: 1.5rem; letter-spacing: .05em; line-height: 1.6; }
	#kv .catch p { font-size: .9375rem; text-wrap: balance; }
}
.scrolldown {
	position: absolute;
	bottom: 48px; left: 50%;
	z-index: 3;
	width: 24px; height: 24px;
	margin-left: -12px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	transform: rotate(135deg);
	animation: scrolldown .8s cubic-bezier(.215, .11, .355, 1) infinite alternate;
}
@keyframes scrolldown { to { opacity: .5; translate: 0 -8px; } }
@media (max-width: 575px) { .scrolldown { bottom: 112px; } }

section.bg { position: relative; background: url("../img/bg.jpg") repeat-y top center / 100% auto; }

/* 装飾の丸 */
.circle { position: absolute; z-index: 0; border-radius: 50%; background: var(--grad); mix-blend-mode: multiply; pointer-events: none; }
section > .container { position: relative; z-index: 1; }

/* MOVIE */
.movie-body { max-width: 680px; margin: 2rem auto 0; }
.movie-link { position: relative; display: block; margin-top: 2rem; padding-top: 71.4%; border-radius: 20px; overflow: hidden; }
.movie-link img:not(.play) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.movie-link::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .3); transition: background .3s; }
.movie-link .play { position: absolute; top: 50%; left: 50%; z-index: 1; width: 100px; height: 100px; transform: translate(-50%, -50%); }
@media (hover: hover) { .movie-link:hover::after { background: rgba(0, 0, 0, .5); } }

/* MESSAGE と 左写真型 */
.split { display: flex; margin-top: 2rem; }
.split > * { flex: 1; padding: 0 24px; }
.split .photo { aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: #fff; padding: 0; margin: 0 24px; }
.split .photo img { width: 100%; height: 100%; object-fit: cover; }
.split h4 { margin-bottom: 25px; color: var(--green); font-size: 22px; font-weight: bold; line-height: 1.5; }
.split .txt { margin-bottom: 15px; }
.split .name { color: var(--green); font-size: 1.25rem; font-weight: bold; text-align: right; }
.split .name span { padding-right: 1rem; font-size: 1rem; }
@media (max-width: 767px) {
	.split { display: block; }
	.split .photo { margin: 0 0 3rem; }
	.split > :not(.photo) { padding: 0 12px; }
}

/* INTERVIEW */
#interview .tree-l { position: absolute; left: 7.9vw; top: -128px; width: 76px; z-index: 2; }
#interview .tree-r { position: absolute; right: 4.2vw; top: -131px; width: 228px; z-index: 2; }
#interview .container { margin: 4rem auto 2rem; }
.cards { display: grid; grid-template-columns: repeat(var(--cols, 2), 1fr); gap: 0 2rem; margin-top: 2rem; }
@media (max-width: 767px) { .cards { grid-template-columns: 1fr; } }
.interview-card { margin-bottom: 4rem; }
.interview-card .img { margin: 0 20px; aspect-ratio: 3 / 2; border-radius: 20px; overflow: hidden; position: relative; z-index: 1; }
.interview-card .img img { width: 100%; height: 100%; object-fit: cover; }
.interview-card .inner { margin-top: -2.5rem; padding: 4rem 1.5rem 1.5rem; background: #fff; border-radius: 20px; }
.interview-card .name { color: var(--green); font-size: 18px; text-align: center; }
.interview-card .position { margin: 2px 0 18px; color: var(--green); font-size: 15px; text-align: center; }
.interview-card h4 { margin-bottom: .75rem; color: var(--green); font-size: 20px; font-weight: bold; text-align: center; line-height: 1.5; }
@media (max-width: 991px) { .interview-card { margin-bottom: 3rem; } }

/* ABOUT US */
#merit .container { margin: 4rem auto 0; }
.merit-card { margin-bottom: 4rem; }
.merit-card .img { aspect-ratio: 3 / 2; border-radius: 20px; overflow: hidden; }
.merit-card .img img { width: 100%; height: 100%; object-fit: cover; }
.merit-card h4 { margin: 30px 0 .825rem; color: var(--green); font-size: 18px; font-weight: bold; text-align: center; line-height: 1.5; }

/* PHOTO */
#photo { padding-bottom: 2rem; }
#photo .tree-l { position: absolute; left: 5vw; top: -156px; width: 156px; z-index: 2; }
#photo .tree-r { position: absolute; right: 5vw; top: -157px; width: 154px; z-index: 2; }
#photo .container { max-width: none; padding: 0; margin-bottom: 0; }
.photo-list { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 2rem; }
.photo-list .img { aspect-ratio: 3 / 2; overflow: hidden; }
.photo-list img { width: 100%; height: 100%; object-fit: cover; }
.photo-list p { padding: .25rem 1rem 1rem; }
@media (max-width: 991px) { .photo-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .photo-list p { font-size: 14px; } }
@media (max-width: 575px) {
	#photo .tree-l, #photo .tree-r { width: 90px; top: -90px; }
	#interview .tree-r { width: 140px; top: -80px; }
	#interview .tree-l { width: 48px; top: -80px; }
}

/* RECRUIT（採用情報） */
#recruitinfo { background: var(--grad); }
#recruitinfo .container { padding: 0 48px; margin-bottom: 3rem; }
@media (max-width: 767px) { #recruitinfo .container { padding: 0 24px; } }
.job-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 2rem; }
@media (max-width: 767px) { .job-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .job-cards { grid-template-columns: 1fr; } }
.job-card { display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden; }
.job-card .img { margin: 20px 20px 0; aspect-ratio: 3 / 2; border-radius: 8px; overflow: hidden; }
.job-card .img img { width: 100%; height: 100%; object-fit: cover; }
.job-card .body { flex: 1; padding: 1.25rem 1.25rem 0; }
.job-card-title { margin: .75rem 0 .5rem; font-size: 16px; font-weight: bold; line-height: 1.4; }
.job-card p { font-size: 14px; line-height: 1.7; text-align: justify; }
.job-card .more { padding: 1.25rem; }
.job-card .more .btn { padding: .25rem 1rem; border-radius: 1rem; font-size: 15px; }
.all-jobs { margin-top: 2.5rem; text-align: center; }
.all-jobs .btn { width: 100%; max-width: 370px; }
.sp-only { display: none; }
@media (max-width: 575px) { .sp-only { display: block; } }
.sp-only .btn { width: 100%; margin-top: 1rem; }

/* =========================================================
   求人一覧・詳細（サイドバー＋本体）
   ========================================================= */
.recruit-layout { display: flex; gap: 30px; align-items: flex-start; padding-top: 1rem; }
.recruit-layout > main, .recruit-layout > .main { flex: 1; min-width: 0; }
.sidebar { flex: 0 0 260px; }
@media (max-width: 991px) {
	.recruit-layout { flex-direction: column; gap: 1rem; }
	.sidebar { flex: none; width: 100%; }
	.page-detail .sidebar { display: none; }
}

/* 絞り込み */
.filter { padding: 0; border: 0; margin: 0; }
.filter-toggle {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	font-size: 18px;
	text-align: left;
	cursor: default;
}
.filter-toggle::after { content: none; }
.filter h3 { margin: 1.25rem 0 .5rem; padding: 6px 10px; color: #fff; background: var(--badge); border-radius: 3px; font-size: 14px; font-weight: bold; }
.filter ul { display: flex; flex-wrap: wrap; gap: .25rem; }
.filter label { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; background: #fff; font-size: 14px; cursor: pointer; transition: all .2s; }
.filter label::before { content: ""; width: 12px; height: 12px; border: 1px solid var(--text); border-radius: 50%; flex: none; }
.filter input { position: absolute; opacity: 0; }
.filter label:has(input:checked) { color: #fff; background: var(--orange); }
.filter label:has(input:checked)::before { border-color: #fff; background: #fff; box-shadow: inset 0 0 0 3px var(--orange); }
.filter label:has(input:focus-visible) { outline: 2px solid var(--text); }
@media (hover: hover) { .filter label:hover { color: #fff; background: var(--orange); } .filter label:hover::before { border-color: #fff; } }
.filter-clear { margin-top: 1rem; padding: 0; border: 0; background: none; color: var(--text); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
@media (max-width: 991px) {
	.filter { padding: 1rem; background: #fff; border-radius: .25rem; }
	.filter-toggle { cursor: pointer; }
	.filter-toggle::after { content: "▼"; color: #333; font-size: 12px; transition: transform .2s; }
	.filter-toggle[aria-expanded="true"]::after { transform: rotate(180deg); }
	.filter-body[hidden] { display: none; }
}
@media (min-width: 992px) { .filter-body[hidden] { display: block; } }

/* 一覧の上の写真の帯 */
.list-kv { position: relative; height: 360px; overflow: hidden; }
.list-kv-img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.list-kv::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 50, 25, .55), rgba(20, 50, 25, .1) 70%); }
.list-kv-inner { position: absolute; left: 0; right: 0; top: 50%; z-index: 1; max-width: 1128px; margin: 0 auto; padding: 0 24px; color: #fff; transform: translateY(-50%); }
.list-kv-en { font-size: 14px; font-weight: bold; letter-spacing: .3em; }
.list-kv h1 { margin: .25rem 0 .75rem; font-size: 2.5rem; font-weight: bold; letter-spacing: .1em; }
.list-kv-catch { font-size: 1.25rem; font-weight: bold; }
@media (max-width: 767px) {
	.list-kv { height: 240px; }
	.list-kv h1 { font-size: 1.875rem; }
	.list-kv-catch { font-size: 1rem; }
}
.list-container { margin-top: 2.5rem; }
.list-lead { max-width: 760px; margin: 0 auto 2.5rem; line-height: 2; text-align: center; text-wrap: pretty; }
@media (max-width: 767px) { .list-lead { text-align: left; margin-bottom: 1.5rem; } }

/* 一覧の1件（写真・書き出し・要点・ボタン） */
.result-count { margin: 0 0 1rem; font-size: 14px; font-weight: bold; }
.job-row {
	display: grid;
	grid-template-columns: 40% 1fr;
	margin-bottom: 1.5rem;
	background: #fff;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(32, 45, 59, .06);
	transition: box-shadow .3s, transform .3s;
}
.job-row:not(:has(.img)) { grid-template-columns: 1fr; }
@media (hover: hover) and (min-width: 769px) { .job-row:hover { box-shadow: 0 10px 28px rgba(32, 45, 59, .14); transform: translateY(-2px); } }
.job-row .img { position: relative; display: block; min-height: 280px; overflow: hidden; }
.job-row .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
@media (hover: hover) { .job-row:hover .img img { transform: scale(1.04); } }
.job-row .txt-col { min-width: 0; padding: 1.5rem 1.75rem; }
.job-row-title { margin: .75rem 0 .5rem; font-size: 21px; font-weight: bold; line-height: 1.5; }
@media (hover: hover) { .job-row-title a:hover { color: var(--orange); } }
.job-row-lead { margin-bottom: 1rem; color: #4a5866; font-size: 15px; line-height: 1.85; }
.facts { display: grid; grid-template-columns: 1fr; gap: .5rem; margin: 0 0 1.25rem; padding: 1rem 1.25rem; background: #f4faf2; border-radius: 12px; }
.facts div { display: flex; gap: .75rem; min-width: 0; font-size: 14px; line-height: 1.6; }
.facts dt { flex: none; width: 4.5em; color: var(--green); font-weight: bold; }
.facts dd { min-width: 0; overflow-wrap: anywhere; text-wrap: pretty; }
.job-row-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.job-row-actions .btn { padding: 10px 1.25rem; font-size: 15px; }
.btn-line-orange { display: inline-flex; align-items: center; padding: 10px 1.25rem; border: 1px solid var(--orange); border-radius: 50vw; color: var(--orange); font-size: 15px; background: #fff; }
@media (hover: hover) { .btn-line-orange:hover { color: #fff; background: var(--orange); } }
@media (max-width: 767px) {
	.job-row { grid-template-columns: 1fr; }
	.job-row .img { min-height: 0; aspect-ratio: 16 / 9; }
	.job-row .txt-col { padding: 1.25rem; }
	.job-row-title { font-size: 19px; }
	.facts { padding: .875rem 1rem; }
	.job-row-actions { flex-direction: column; }
	.job-row-actions > * { justify-content: center; }
}
.job-row[hidden] { display: none; }
.no-result { padding: 2rem; background: #fff; border-radius: 20px; text-align: center; }

.pagination { display: flex; justify-content: center; gap: 4px; margin-top: 2rem; }
.pagination button { min-width: 40px; padding: .5rem .75rem; border: 0; border-radius: .25rem; background: #fff; color: var(--orange); font: inherit; cursor: pointer; }
.pagination button[aria-current="page"], .pagination button:hover { color: #fff; background: var(--orange); }

/* 詳細 */
.detail-card { background: #fff; border-radius: 20px; overflow: hidden; }
.detail-card .eyeimg { margin: 20px 20px 0; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; }
.detail-card .eyeimg img { width: 100%; height: 100%; object-fit: cover; }
.detail-card .body { padding: 1.25rem; }
.detail-card h1 { margin: 1rem 0 15px; font-size: 28px; font-weight: bold; line-height: 1.4; }
.detail-card .intro { margin-top: 1rem; line-height: 2; }
.spec { margin-top: 2rem; }
.spec dl { display: flex; }
.spec dt { flex: 0 0 30%; padding: 1.5rem 1rem 3rem; border-top: 1px solid var(--line-dt); font-weight: bold; }
.spec dd { flex: 1; padding: 1.5rem 1rem 3rem; border-top: 1px solid var(--line-dd); line-height: 1.8; overflow-wrap: anywhere; }
@media (max-width: 767px) {
	.detail-card h1 { font-size: 22px; }
	.spec { margin-top: 1rem; }
	.spec dl { display: block; }
	.spec dt { padding: 1.5rem 0 .5rem; border-top: 0; border-bottom: 1px solid var(--line-dt); }
	.spec dd { padding: 1rem 0; border: 0; }
}
@media (max-width: 575px) { .spec dt { padding-top: .5rem; } .spec dd { padding-bottom: 2rem; } }
.entry-btn { margin-top: 1rem; }
.entry-btn .btn { width: 100%; }
.back-list { margin-top: 1.5rem; text-align: center; }
.back-list a { text-decoration: underline; font-size: 14px; }

/* =========================================================
   エントリー・プライバシーポリシー
   ========================================================= */
.form-card { padding: 2rem; background: #fff; border-radius: 20px; }
@media (max-width: 575px) { .form-card { padding: 1.25rem; } }
.form-card h1 { margin-bottom: 1rem; font-size: 24px; font-weight: bold; }
.form-lead { margin-bottom: 2rem; line-height: 1.8; }
.form-group { margin: 0 0 2rem; padding: 0 0 2rem; border: 0; border-bottom: 1px solid var(--form-line); }
@media (max-width: 575px) { .form-group { margin-bottom: 1rem; padding-bottom: 1rem; } }
.form-group > .label, .form-group legend { display: block; margin-bottom: .5rem; padding: 0; font-weight: bold; }
.must { margin-left: 8px; padding: 4px 6px; border-radius: 5px; background: var(--must); color: #fff; font-size: 10px; vertical-align: 2px; }
.form-card input[type="text"], .form-card input[type="email"], .form-card input[type="tel"], .form-card select, .form-card textarea {
	width: 100%;
	padding: .5rem .75rem;
	border: 1px solid #ced4da;
	border-radius: .25rem;
	font: inherit;
	font-size: 16px; /* iPhone で拡大されない大きさ */
	background: #fff;
	color: inherit;
}
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: 0; border-color: var(--badge); box-shadow: 0 0 0 3px rgba(72, 175, 120, .25); }
.form-card textarea { min-height: 11rem; }
.form-card select { appearance: none; padding-right: 2rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2.5 4L5 1.5 7.5 4zM2.5 6L5 8.5 7.5 6z' fill='%23444'/%3E%3C/svg%3E") no-repeat right .75rem center / 10px; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 767px) { .row3 { grid-template-columns: 1fr; } }
.zip { display: flex; align-items: center; gap: .5rem; max-width: 260px; }
.sub-label { display: block; margin: .75rem 0 .25rem; font-size: 14px; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.choices label { display: inline-flex; align-items: center; gap: .4rem; cursor: pointer; }
.choices input { width: 18px; height: 18px; accent-color: var(--badge); }
.field-error { margin-top: .5rem; color: var(--must); font-size: 13px; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--must) !important; }
.agree { margin: 2rem 0 0; text-align: center; }
.agree a { color: var(--green); text-decoration: underline; }
.form-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.form-actions .btn { min-width: 220px; }
.btn-back { display: inline-flex; align-items: center; justify-content: center; min-width: 160px; padding: 12px 1.5rem; border: 1px solid #b3b3b3; border-radius: 50vw; background: #fff; color: var(--text); font: inherit; cursor: pointer; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.confirm-list dl { display: flex; padding: 1rem 0; border-bottom: 1px solid var(--form-line); }
.confirm-list dt { flex: 0 0 30%; font-weight: bold; }
.confirm-list dd { flex: 1; overflow-wrap: anywhere; white-space: pre-wrap; }
@media (max-width: 575px) { .confirm-list dl { display: block; } .confirm-list dt { margin-bottom: .25rem; } }
.form-status { margin-bottom: 1.5rem; padding: 1rem; border-radius: 8px; background: #fdecea; color: var(--must); font-weight: bold; }
.form-status[hidden] { display: none; }

.policy h2 { margin: 2rem 0 1rem; font-size: 1.125rem; font-weight: bold; }
.policy p { margin-bottom: 1rem; line-height: 1.8; }
.policy ul { margin-bottom: 1rem; padding-left: 1.5rem; list-style: square; }

/* ---------- スクロールで現れる ---------- */
.js .reveal { opacity: 0; translate: 0 30px; transition: opacity 1s ease, translate 1s ease; }
.js .reveal.is-shown { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) {
	.js .reveal { opacity: 1; translate: 0 0; transition: none; }
	.scrolldown { animation: none; }
	html { scroll-behavior: auto; }
}

.page-detail .main { max-width: 860px; margin: 0 auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.complete { text-align: center; }
.complete p { margin-top: 1rem; line-height: 2; }
.complete .btn { margin-top: 2rem; }
