@charset "UTF-8";
/* 南栄 コーポレートサイト（静的版）
   見た目は旧テーマ nanei を踏襲。色と寸法は旧 sass から読み取って書き直したもの */

:root {
	--base: #333333;
	--green: #236140;
	--darkgreen: #123e23;
	--lightgreen: #F5FCF1;
	--midgreen: #81A48C;
	--brown: #734D31;
	--rec-green: #54B216;
	--grey: #707070;
	--title: #202D3B;
	--header-h: 80px;
}

/* ---------- 基本 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
	margin: 0;
	padding-top: var(--header-h);
	color: var(--base);
	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; }
/* 中身が短いページでもフッターを画面の下に置く */
body { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; }
.page-news main, .page-post main, .page-privacy main { background: var(--green); }
h1, h2, h3, 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; }

.container {
	margin: 0 auto;
	padding: 80px 40px;
	max-width: 1160px;
}
@media (max-width: 575px) {
	.container { padding: 60px 20px; }
}

/* セクション見出し（英字＋日本語） */
.sec-title {
	margin: 0 0 20px;
	color: var(--green);
	font-weight: bold;
	line-height: 1.5;
}
.sec-title .en {
	display: inline-block;
	margin-right: 1rem;
	font-family: 'Josefin Sans', sans-serif;
	font-size: 3.75rem;
	line-height: 1;
}
.sec-title .sub { display: inline-block; font-size: 1rem; line-height: 1; }
@media (max-width: 575px) {
	.sec-title .en { display: block; font-size: 2.75rem; }
	.sec-title .sub { display: block; margin-top: .25rem; }
}

/* ボタン */
.btns { margin-top: 40px; text-align: center; }
.btn {
	display: inline-block;
	min-width: 240px;
	padding: 12px 40px;
	color: #fff;
	background: var(--green);
	border-radius: 50vw;
	text-align: center;
}
@media (hover: hover) { .btn:hover { background: var(--brown); } }
@media (max-width: 575px) { .btn { min-width: 180px; } }

.tree { position: absolute; z-index: 1; pointer-events: none; }

/* ---------- ヘッダー ---------- */
#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 h1, .logo span { color: var(--green); font-size: 1.25rem; font-weight: bold; }
.link-recruit {
	margin-left: 1.25rem;
	padding: 4px 1.25rem;
	font-size: .875rem;
	border-left: 1px solid #b3b3b3;
}
.icon-external { width: 11px; height: 11px; margin-left: 2px; fill: currentColor; }
@media (hover: hover) { .logo:hover, .link-recruit:hover { opacity: .5; } }
@media (max-width: 767px) { .link-recruit { display: none; } }

.header-nav { display: flex; align-items: center; height: 100%; }
.phone {
	display: flex;
	align-items: center;
	margin-right: 20px;
	color: var(--green);
	font-size: 20px;
	font-weight: 700;
	pointer-events: none; /* PCでは表示だけ */
}
.phone svg { width: 15px; height: 20px; margin-right: 4px; fill: var(--green); }
.nav-contact {
	display: flex;
	align-items: center;
	height: 100%;
	padding: 0 1.5rem;
	color: #fff;
	background: var(--brown);
}
@media (hover: hover) { .nav-contact:hover { background: #4f3522; } }

.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: var(--grey);
	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); }
.hamburger[aria-expanded="true"] span::before { top: 0; opacity: 0; }
.hamburger[aria-expanded="true"] span::after { top: 0; transform: rotate(-90deg); }
@media (hover: hover) and (min-width: 768px) {
	.hamburger:hover { background: var(--rec-green); }
	.hamburger:hover span, .hamburger:hover span::before, .hamburger:hover span::after { background: #fff; }
}

/* スマホ：電話は丸いボタン、お問い合わせは画面下に固定 */
@media (max-width: 579px) {
	.phone {
		justify-content: center;
		width: 44px; height: 44px;
		margin-right: 10px;
		background: var(--green);
		border-radius: 50%;
		pointer-events: auto;
	}
	.phone svg { margin: 0; fill: #fff; }
	.phone .number { display: none; }
}
@media (max-width: 575px) { .nav-contact { display: none; } }

/* ---------- メニュー ---------- */
#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: 1.125rem; }
@media (hover: hover) { #menu a:hover { color: var(--brown); } }
.menu-recruit { display: none; }
@media (max-width: 767px) { .menu-recruit { display: block; } }

/* ---------- KV ---------- */
#kv {
	position: relative;
	height: 50.7vw;
	max-height: calc(100vh - var(--header-h));
	overflow: hidden;
}
#kv picture img { width: 100%; height: 100%; object-fit: cover; }
#kv::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(75, 75, 75, .41);
}
#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: 3rem; 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; }
	#kv h2 { font-size: 1.375rem; letter-spacing: .05em; line-height: 1.7; }
}
/* スマホだけで効く改行 */
.br-sm { display: none; }
@media (max-width: 575px) { .br-sm { display: inline; } }
.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; } }

/* ---------- 最新情報 ---------- */
#news { background: var(--green); }
#news .sec-title { color: #fff; }
.panel {
	position: relative;
	padding: 80px 64px 40px;
	background: var(--lightgreen);
	border-radius: 20px;
}
@media (max-width: 767px) { .panel { padding: 40px 36px; } }
@media (max-width: 575px) { .panel { padding: 40px 20px; } }
.tree-01 { top: -104px; right: -8px; width: 117px; }
@media (max-width: 575px) { .tree-01 { top: -83px; width: 94px; } }

#news dl {
	display: flex;
	align-items: center;
	padding: 40px 0;
	color: var(--green);
	border-bottom: 1px solid var(--grey);
}
#news dt { flex: 0 0 120px; font-weight: bold; }
#news dd a { display: inline-block; margin-bottom: .25rem; color: var(--green); font-weight: bold; }
@media (hover: hover) { #news dd a:hover { color: var(--brown); } }
#news dd p { font-size: .9375rem; line-height: 1.8; }
@media (max-width: 767px) {
	#news dl { display: block; padding: 30px 0; }
	#news dt { margin-bottom: 10px; font-size: 14px; }
}

/* ---------- 代表メッセージ ---------- */
#message { position: relative; background: var(--lightgreen); }
#message::after {
	content: "";
	position: absolute;
	left: 0; bottom: -4.7vw;
	width: 100%;
	height: 39.3vw;
	background: url("../img/bg_illustration_01.png") no-repeat center / cover;
	pointer-events: none;
}
#message .container { position: relative; z-index: 3; padding-bottom: 40px; }
.tree-02 { top: -16px; right: 22px; width: 127px; }
@media (max-width: 575px) { .tree-02 { top: -12px; width: 102px; } }
.message-body { display: flex; justify-content: space-between; gap: 60px; }
.message-body > * { flex: 1; }
.portrait { aspect-ratio: 1; overflow: hidden; background: #fff; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
#message .box { padding: 0 24px; }
#message h3 { margin-bottom: 25px; color: var(--green); font-size: 1.5rem; font-weight: bold; line-height: 1.8; }
#message .box > p { line-height: 1.8; }
#message .name { margin-top: 40px; color: var(--green); text-align: right; }
#message .jobtitle { padding-right: 1rem; }
#message .person { font-size: 1.5rem; }
@media (max-width: 767px) {
	.message-body { display: block; }
	.portrait { margin-bottom: 3rem; }
	#message .box { padding: 0 12px; }
}
@media (max-width: 575px) {
	#message .name span { display: block; padding-right: 0; }
}

/* ---------- 事業紹介 ---------- */
#service { position: relative; background: var(--midgreen); }
#service .container { position: relative; z-index: 3; padding-bottom: 0; padding-top: 40px; }
#service .sec-title { color: #fff; }
.service-list { overflow: hidden; }
.service-list > li { margin-bottom: 80px; }
.service-list > li:nth-child(odd) { padding-left: max(40px, calc(50vw - 540px)); }
.service-list > li:nth-child(even) { padding-right: max(40px, calc(50vw - 540px)); }
.service-card { position: relative; padding-top: 34%; }
.service-card > img:not(.tree) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service-card::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	background: rgba(64, 87, 75, .6);
	mix-blend-mode: multiply;
}
.service-card .heading { position: absolute; top: 50%; z-index: 3; transform: translateY(-50%); }
.service-list > li:nth-child(odd) .heading { left: 120px; }
.service-list > li:nth-child(even) .heading { right: 120px; text-align: right; }
.service-card h3 {
	position: relative;
	display: inline-block;
	padding-bottom: 1.5rem;
	color: #fff;
	font-size: 1.875rem;
	font-weight: bold;
}
.service-card h3::after {
	content: "";
	position: absolute;
	bottom: 0; left: 0;
	width: 70px; height: 3px;
	background: var(--rec-green);
}
.service-list > li:nth-child(even) h3::after { left: auto; right: 0; }
.service-card .btn { display: block; margin-top: 30px; min-width: 216px; background: var(--rec-green); }
@media (hover: hover) { .service-card .btn:hover { min-width: 240px; background: var(--brown); } }
.tree-03 { left: 40px; top: -10.1vw; width: 8.6vw; }
@media (min-width: 1400px) { .tree-03 { top: -141px; width: 120px; } }
@media (max-width: 991px) {
	.service-list > li:nth-child(odd) .heading { left: 60px; }
	.service-list > li:nth-child(even) .heading { right: 60px; }
}
@media (max-width: 768px) {
	.service-list > li { margin-bottom: 60px; }
	.service-list > li:nth-child(odd) .heading { left: 40px; }
	.service-list > li:nth-child(even) .heading { right: 40px; }
	.service-card h3 { padding-bottom: 1rem; font-size: 1.5rem; }
	.service-card .btn { margin-top: 1rem; padding: 6px 12px; }
	.tree-03 { top: -70px; width: 60px; }
}
@media (max-width: 575px) {
	.service-card { padding-top: 60%; }
	.service-card .btn { min-width: 160px; }
}

/* ---------- 事業の様子 ---------- */
#photo { padding: 80px 0 40px; background: var(--green); }
#photo .sec-title { margin: 0 auto -20px; padding: 0 40px; max-width: 1160px; color: #fff; }
.photo-list { display: grid; grid-template-columns: repeat(3, 1fr); }
.photo-list li { margin-top: 40px; }
.photo-list img { width: 100%; height: 20vw; object-fit: cover; }
.photo-list p { margin-top: 1rem; padding: 0 1rem; color: #fff; }
@media (max-width: 991px) {
	.photo-list { grid-template-columns: repeat(2, 1fr); }
	.photo-list img { height: 30vw; }
}
@media (max-width: 575px) {
	#photo { padding-top: 60px; }
	#photo .sec-title { padding: 0 20px; }
	.photo-list p { font-size: .8125rem; }
}

/* ---------- 会社概要 ---------- */
#corp { position: relative; background: var(--darkgreen); }
#corp::before {
	content: "";
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 120px;
	background: var(--green);
}
#corp::after {
	content: "";
	position: absolute;
	top: 120px; left: 0;
	width: 100%; height: calc(100% - 120px);
	background: url("../img/bg_illustration_02.png") no-repeat top center / 100%;
}
#corp .container { position: relative; z-index: 3; padding-top: 40px; padding-bottom: 40px; }
#corp .sec-title { color: #fff; }
#corp .panel { padding: 70px 64px; background: #fff; }
@media (max-width: 767px) { #corp .panel { padding: 40px 36px; } }
@media (max-width: 575px) { #corp .panel { padding: 40px 20px; } }
.tree-corp { top: -117px; right: 0; width: 112px; z-index: 0; }
@media (max-width: 575px) { .tree-corp { top: -93px; width: 89px; } }
@media (max-width: 380px) { .tree-corp { top: -59px; width: 56px; } }
#corp dl {
	display: flex;
	align-items: center;
	margin-bottom: 30px;
	padding-bottom: 30px;
	border-bottom: 1px solid var(--grey);
}
#corp dl:last-of-type { margin-bottom: 0; }
#corp dt { flex: 0 0 160px; color: var(--green); }
@media (max-width: 767px) {
	#corp dl { display: block; }
	#corp dt { margin-bottom: 10px; }
}

/* ---------- アクセス ---------- */
#access { background: var(--darkgreen); color: #fff; }
#access .container { padding-top: 40px; padding-bottom: 0; }
#access .sec-title { margin-bottom: 30px; color: #fff; }
#access h3 {
	position: relative;
	padding-left: 20px;
	font-size: 1.5rem;
	font-weight: bold;
	line-height: 1.5;
}
#access h3::before {
	content: "";
	position: absolute;
	top: 0; left: 0;
	width: 6px; height: 100%;
	background: #fff;
	border-radius: 50vw;
}
#access h3 + p { margin-top: 1rem; }
#access p { margin-bottom: .5rem; }
.map {
	position: relative;
	margin-top: 1.5rem;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 20px;
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.branches { display: flex; flex-wrap: wrap; justify-content: space-between; }
.branches li { width: calc(50% - 40px); margin-top: 40px; }
@media (max-width: 575px) { .branches li { width: 100%; } }
.btn-outline {
	display: inline-block;
	padding: 6px 30px;
	border: 1px solid #fff;
	border-radius: 50vw;
}
@media (hover: hover) { .btn-outline:hover { color: var(--darkgreen); background: #fff; } }

/* ---------- フッター ---------- */
#footer {
	position: relative;
	height: 27.5vw;
	background: var(--darkgreen) url("../img/footer_illustration.png") no-repeat center bottom / 100%;
}
#footer p {
	position: absolute;
	left: 0; bottom: 1rem;
	width: 100%;
	padding: 0 1rem;
	color: #fff;
	font-size: .875rem;
	text-align: center;
}
#footer a { margin-right: .5rem; padding-right: .5rem; border-right: 1px solid #fff; }
@media (hover: hover) { #footer a:hover { font-weight: bold; } }
@media (max-width: 575px) {
	#footer { height: 220px; background-size: cover; }
	#footer p { padding-bottom: 48px; }
	#footer a { display: block; margin: 0 0 .5rem; padding: 0; border: 0; }
}

/* トップへ戻る */
#backtotop {
	position: fixed;
	right: 0; bottom: 0;
	z-index: 199;
	width: 48px; height: 48px;
	background: #b67e54;
	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: #d5b49b; } }

/* スマホ下のお問い合わせ */
#sp-contact { display: none; }
@media (max-width: 575px) {
	#sp-contact {
		position: fixed;
		left: 0; bottom: 0;
		z-index: 150;
		display: block;
		width: 100%;
		padding: .75rem 0;
		color: #fff;
		background: var(--brown);
		text-align: center;
	}
	#backtotop { bottom: 48px; }
}

/* ---------- スクロールで現れる ---------- */
/* JS が動いたときだけ隠す（動かなければ最初から見えている） */
.js .reveal { opacity: 0; translate: 0 30px; transition: opacity 1s ease, translate 1s ease; }
.js .reveal.from-right { translate: 60px 0; }
.js .reveal.from-left { translate: -60px 0; }
.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-service main { background: var(--green); }
#kv .catch h1 { font-size: 3rem; font-weight: bold; letter-spacing: .2rem; }
@media (max-width: 991px) { #kv .catch h1 { font-size: 2.25rem; } }
@media (max-width: 575px) { #kv .catch h1 { font-size: 1.75rem; } }

#intro p { max-width: 53rem; margin: 0 auto; color: #fff; line-height: 2; }

#service-detail .container { padding-top: 0; padding-bottom: 0; }
#service-detail .sec-title { margin-bottom: 60px; color: #fff; }
.service-detail-list > li {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 80px;
	color: #fff;
}
.service-detail-list .img { width: calc(40% - 30px); aspect-ratio: 5 / 3; }
.service-detail-list .img img { width: 100%; height: 100%; object-fit: cover; }
.service-detail-list .txt { width: calc(60% - 30px); }
.service-detail-list h3 { font-size: 1.5rem; font-weight: bold; line-height: 1.5; }
.service-detail-list p { margin-top: .5rem; line-height: 2; }
@media (max-width: 768px) {
	.service-detail-list > li { display: block; }
	.service-detail-list .img, .service-detail-list .txt { width: 100%; }
	.service-detail-list .txt { margin-top: 30px; }
}

#qa { position: relative; background: var(--darkgreen); }
#qa::before {
	content: "";
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 120px;
	background: var(--green);
}
#qa::after {
	content: "";
	position: absolute;
	top: 120px; left: 0;
	width: 100%; height: calc(100% - 120px);
	background: url("../img/bg_illustration_02.png") no-repeat top center / 100%;
}
#qa .container { position: relative; z-index: 3; padding-top: 0; }
#qa .sec-title { margin-bottom: 60px; color: #fff; }
.qa-list { position: relative; }
.tree-qa { top: -117px; right: 0; width: 112px; }
@media (max-width: 575px) { .tree-qa { top: -93px; width: 89px; } }
@media (max-width: 380px) { .tree-qa { top: -59px; width: 56px; } }
.qa-list > li { margin-bottom: 80px; }
.qa-q, .qa-a { position: relative; font-size: 1.125rem; line-height: 2; }
.qa-q, .qa-a { padding-left: 80px; }
.qa-q {
	padding-top: 12px; padding-bottom: 12px; padding-right: 12px;
	background: var(--lightgreen);
	border-radius: 30px;
}
.qa-a { margin-top: 1rem; padding-top: .5rem; color: var(--lightgreen); }
.qa-q::before, .qa-a::before {
	position: absolute;
	left: 16px;
	font-family: 'Josefin Sans', sans-serif;
	font-size: 2.875rem;
	font-weight: 700;
	line-height: 1;
}
.qa-q::before { content: "Q."; top: 50%; transform: translateY(-39%); color: var(--green); }
.qa-a::before { content: "A."; top: .5rem; }
@media (max-width: 575px) {
	.qa-q, .qa-a { padding: 24px; }
	.qa-a { margin-top: 1.5rem; padding-top: 0; }
	.qa-q::before, .qa-a::before { position: static; display: block; transform: none; }
	.page-service .btns { display: none; } /* スマホは画面下の固定ボタンがあるため */
}
.page-service .btns .btn { max-width: 320px; background: var(--rec-green); }
@media (hover: hover) { .page-service .btns .btn:hover { background: var(--brown); } }

/* ---------- お知らせ一覧 ---------- */
.news-archive .container { padding-top: 80px; }

/* ---------- お知らせ記事・プライバシーポリシー（白いカード） ---------- */
#news-single, #privacy, #notfound { background: var(--green); }
.card {
	margin: 0 auto;
	padding: 80px 60px 40px;
	max-width: calc(40rem + 120px);
	background: #fff;
	border-radius: 20px;
}
@media (max-width: 575px) { .card { padding: 48px 20px 32px; } }
.single-label { display: inline-block; color: var(--green); line-height: 1; }
.single-label .en { display: block; font-family: 'Josefin Sans', sans-serif; font-size: 1.375rem; }
.single-label .sub { font-size: .75rem; }
#news-single .date { display: block; margin-top: 40px; color: var(--grey); font-size: .875rem; }
.card h1 { margin-top: 1.5rem; color: var(--green); font-size: 2rem; font-weight: bold; line-height: 1.5; }
@media (max-width: 575px) { .card h1 { font-size: 1.5rem; } }
.post-body { margin-top: 2.5rem; line-height: 1.7; }
.post-body p + p { margin-top: 1em; }

#privacy .card { line-height: 1.7; }
#privacy h1 { margin: 0 0 1.25rem; color: var(--base); font-size: 1.5rem; }
#privacy h2 { margin: 2rem 0 1rem; font-size: 1.25rem; font-weight: bold; }
#privacy p { margin-bottom: 1rem; }
#privacy ul { margin-bottom: 1rem; padding-left: 1.5rem; list-style: square; }
#privacy li + li { margin-top: .25rem; }
#privacy a { color: var(--rec-green); border-bottom: 1px solid var(--rec-green); }

/* ---------- 404 ---------- */
#notfound { background: var(--green); }
#notfound p { margin-top: 1.5rem; }
.post-image { display: block; width: 100%; margin-top: 1.5rem; border-radius: 12px; }

/* ---------- お問い合わせ ---------- */
#contact { background: var(--darkgreen); }
.form-card { max-width: 860px; }
.form-card h1 { margin: 0 0 1rem; color: var(--green); font-size: 1.75rem; }
.form-lead { margin-bottom: 2rem; line-height: 1.8; }
.form-lead a, .complete a:not(.btn) { color: var(--green); text-decoration: underline; }
.form-group { margin: 0 0 1.5rem; padding: 0 0 1.5rem; border-bottom: 1px solid #e6ebe7; }
.form-group .label { display: block; margin-bottom: .5rem; font-weight: bold; }
.must { margin-left: 8px; padding: 3px 6px; border-radius: 4px; background: #D62C1A; color: #fff; font-size: 11px; vertical-align: 2px; }
.form-card input[type="text"], .form-card input[type="email"], .form-card input[type="tel"], .form-card textarea {
	width: 100%;
	padding: .625rem .75rem;
	border: 1px solid #c9d2cc;
	border-radius: 6px;
	font: inherit;
	font-size: 16px;
	color: inherit;
	background: #fff;
}
.form-card textarea { min-height: 11rem; line-height: 1.7; }
.form-card input:focus, .form-card textarea:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 3px rgba(35, 97, 64, .2); }
::placeholder { color: #b3b3b3; }
.field-error { margin-top: .5rem; color: #D62C1A; font-size: 13px; }
.has-error input, .has-error textarea { border-color: #D62C1A !important; }
.agree { margin: 2rem 0 0; text-align: center; }
.agree input { width: 18px; height: 18px; vertical-align: -3px; accent-color: var(--green); }
.agree a { color: var(--green); text-decoration: underline; }
.form-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2rem; }
.form-actions .btn { min-width: 240px; border: 0; font: inherit; cursor: pointer; background: var(--rec-green); }
@media (hover: hover) { .form-actions .btn:hover { background: var(--brown); } }
.btn-back { min-width: 180px; padding: 12px 1.5rem; border: 1px solid #b3b3b3; border-radius: 50vw; background: #fff; 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 #e6ebe7; }
.confirm-list dt { flex: 0 0 30%; color: var(--green); font-weight: bold; }
.confirm-list dd { flex: 1; white-space: pre-wrap; overflow-wrap: anywhere; }
@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: #D62C1A; font-weight: bold; }
.form-status[hidden] { display: none; }
.complete { text-align: center; }
.complete p { margin-top: 1rem; line-height: 2; }
.page-contact #sp-contact { display: none; }
