/**
 * お問い合わせ ページ専用 CSS
 *
 *   wireframes-static.html C. お問い合わせ 準拠：
 *     ① パンくず + ページヘッダー
 *     ② 2 タブ（応募 / 企業）
 *     ③ ステップ表示
 *     ④ フォーム
 *     ⑤ サイドバー（LINE QR + 電話）
 *
 *   クラス命名：contact-page / cn-XXX
 *
 * @package mitsukarukun
 */

/* ============================================================
 *  ルートガード + 基本
 * ============================================================ */
.contact-page {
	overflow-x: clip;
	max-width: 100vw;
	width: 100%;
}
.contact-page .sp-only { display: none; }

/* ハニーポット（bot よけ）：人間には見えない／触れない位置へ。
   display:none ではなく画面外配置にして、単純な bot に入力させ検出する。 */
.cn-hp {
	position: absolute !important;
	left: -9999px !important;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ============================================================
 *  パンくず + ページヘッダー
 * ============================================================ */
.cn-crumb {
	max-width: 1280px;
	margin: 0 auto;
	padding: 14px 28px 0;
	font-family: "Yusei Magic", sans-serif;
	font-size: 12px;
	color: var(--ink2);
}
.cn-crumb a { color: var(--ink2); text-decoration: none; }
.cn-crumb__sep { margin: 0 8px; color: var(--ink3); }
.cn-crumb__cur { color: var(--ink); }

.cn-head {
	max-width: 1280px;
	margin: 0 auto;
	padding: 30px 28px 24px;
	text-align: center;
}
.cn-head__title {
	font-family: "Yusei Magic", sans-serif;
	font-size: 36px;
	line-height: 1.3;
	position: relative;
	padding-top: 16px;
	color: var(--ink);
}
.cn-head__title::before {
	content: "";
	display: block;
	width: 80px;
	height: 5px;
	background: var(--ink);
	margin: 0 auto 14px;
	border-radius: 3px;
}
.cn-head__en {
	display: block;
	font-family: "Yusei Magic", sans-serif;
	font-size: 14px;
	color: var(--accent);
	margin-bottom: 6px;
	letter-spacing: .15em;
}
.cn-head__lead {
	font-family: "Yusei Magic", sans-serif;
	font-size: 14px;
	color: var(--ink2);
	margin-top: 8px;
	line-height: 1.8;
}

/* ============================================================
 *  送信完了 / エラー メッセージ（flash）
 * ============================================================ */
.cn-flash {
	max-width: 980px;
	margin: 0 auto 24px;
	padding: 18px 22px;
	border-radius: 12px;
	display: flex;
	gap: 16px;
	align-items: flex-start;
	border: 2px solid var(--ink);
	box-shadow: 4px 4px 0 var(--ink);
	font-family: "Yusei Magic", sans-serif;
}
.cn-flash--success { background: #E8F5E9; }
.cn-flash--error { background: #FFEBEE; }
.cn-flash__icon { font-size: 28px; flex-shrink: 0; line-height: 1; }
.cn-flash__body { min-width: 0; flex: 1; }
.cn-flash__h {
	font-family: "Yusei Magic", sans-serif;
	font-size: 18px;
	color: var(--ink);
	margin: 0 0 6px;
}
.cn-flash__p {
	font-size: 13px;
	line-height: 1.85;
	color: var(--ink);
	margin: 0 0 6px;
}
.cn-flash__p:last-child { margin: 0; }
.cn-flash__p strong { font-weight: bold; color: var(--accent2); }
@media (max-width: 768px) {
	.cn-flash { margin: 0 14px 18px; padding: 14px 16px; }
	.cn-flash__h { font-size: 15px; }
	.cn-flash__p { font-size: 12px; }
}

/* ============================================================
 *  2 カラム
 * ============================================================ */
.cn-layout {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 28px 50px;
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 32px;
}
.cn-main { min-width: 0; }

/* ============================================================
 *  タブ（応募 / 企業）
 * ============================================================ */
.cn-tabs {
	display: flex;
	gap: 8px;
	margin-bottom: 22px;
	flex-wrap: wrap;
}
.cn-tab {
	font-family: "Yusei Magic", sans-serif;
	font-size: 14px;
	font-weight: bold;
	padding: 10px 20px;
	border: 2px solid var(--ink);
	border-radius: 999px 999px 0 0;
	background: var(--paper);
	color: var(--ink);
	cursor: pointer;
	white-space: nowrap;
	border-bottom: none;
	margin-bottom: -2px;
	transition: background .15s;
	position: relative;
	z-index: 1;
}
.cn-tab:hover {
	background: var(--paper2);
}
.cn-tab.is-active {
	background: var(--ink);
	color: var(--paper);
	z-index: 2;
}

/* ============================================================
 *  ステップ表示（1.入力 → 2.確認 → 3.完了）
 * ============================================================ */
.cn-steps {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	list-style: none;
	padding: 20px 22px;
	margin: 0 0 22px;
	background: var(--paper2);
	border: 2px solid var(--ink);
	border-radius: 12px;
	box-shadow: 4px 4px 0 var(--ink);
}
.cn-step {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: "Yusei Magic", sans-serif;
	font-size: 13px;
	color: var(--ink2);
}
.cn-step.is-active { color: var(--ink); font-weight: bold; }
.cn-step__num {
	width: 30px;
	height: 30px;
	background: var(--paper);
	border: 2px solid var(--ink2);
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 14px;
}
.cn-step.is-active .cn-step__num {
	background: var(--accent);
	border-color: var(--ink);
	color: #fff;
	box-shadow: 2px 2px 0 var(--ink);
}
.cn-step__line {
	flex: 1;
	max-width: 50px;
	height: 2px;
	background: var(--ink3);
	border-radius: 1px;
}

/* ============================================================
 *  フォーム本体
 * ============================================================ */
.cn-form {
	display: none;
	background: var(--paper);
	border: 2.5px solid var(--ink);
	border-radius: 14px;
	padding: 28px 32px;
	box-shadow: 5px 5px 0 var(--ink);
}
.cn-form.is-active { display: block; }
.cn-form__intro {
	font-family: "Yusei Magic", sans-serif;
	font-size: 13px;
	color: var(--ink2);
	background: var(--paper2);
	border-left: 4px solid var(--accent);
	padding: 12px 16px;
	border-radius: 0 6px 6px 0;
	margin: 0 0 18px;
	line-height: 1.7;
}

/* 応募中の求人ブロック（求人詳細から遷移してきた場合のみ表示） */
.cn-applied-job {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	background: #FFF6CC;
	border: 2px solid var(--ink);
	border-radius: 12px;
	padding: 16px 20px;
	margin: 0 0 24px;
	box-shadow: 3px 3px 0 var(--ink);
	font-family: "Yusei Magic", sans-serif;
}
.cn-applied-job__badge {
	display: inline-flex;
	align-items: center;
	background: var(--accent);
	color: #fff;
	font-size: 11px;
	font-weight: bold;
	padding: 4px 10px;
	border-radius: 4px;
	border: 1.5px solid var(--ink);
	white-space: nowrap;
	flex-shrink: 0;
	margin-top: 2px;
}
.cn-applied-job__body { min-width: 0; flex: 1; }
.cn-applied-job__title {
	display: block;
	font-family: "Yusei Magic", sans-serif;
	font-size: 15px;
	font-weight: bold;
	color: var(--ink);
	line-height: 1.5;
	margin-bottom: 6px;
	text-decoration: underline;
	text-underline-offset: 3px;
	overflow-wrap: anywhere;
}
.cn-applied-job__title:hover { color: var(--accent2); }
.cn-applied-job__meta {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	font-family: "Yusei Magic", sans-serif;
	font-size: 11px;
	color: var(--ink2);
	margin: 4px 0 6px;
}
.cn-applied-job__note {
	font-size: 11px;
	color: var(--ink2);
	margin: 0;
	line-height: 1.7;
}
@media (max-width: 768px) {
	.cn-applied-job { flex-direction: column; gap: 8px; padding: 14px 16px; }
	.cn-applied-job__title { font-size: 14px; }
	.cn-applied-job__note { font-size: 10px; }
}

.cn-row {
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1.5px dashed var(--ink2);
	align-items: start;
}
.cn-row:last-of-type { border-bottom: none; }
.cn-row__lb {
	font-family: "Yusei Magic", sans-serif;
	font-size: 13px;
	font-weight: bold;
	color: var(--ink);
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-top: 8px;
}
.cn-req,
.cn-opt {
	display: inline-block;
	font-size: 10px;
	padding: 2px 8px;
	border-radius: 3px;
	font-family: "Yusei Magic", sans-serif;
	width: fit-content;
	font-weight: bold;
}
.cn-req { background: var(--red, #E53935); color: #fff; }
.cn-opt { background: var(--paper2); color: var(--ink2); border: 1px solid var(--ink2); }

/* ─── セクション見出し（個人情報 等）─── */
.cn-section__h {
	font-family: "Yusei Magic", sans-serif;
	font-size: 16px;
	font-weight: bold;
	color: var(--ink);
	background: var(--paper2);
	padding: 10px 14px;
	margin: 20px 0 0;
	border-left: 4px solid var(--accent);
	border-radius: 4px;
	display: flex;
	align-items: center;
	gap: 8px;
}
.cn-section__icon { font-size: 18px; }
.cn-section__req {
	margin-left: auto;
	display: inline-block;
	font-size: 11px;
	padding: 3px 10px;
	border-radius: 3px;
	font-family: "Yusei Magic", sans-serif;
	font-weight: bold;
	background: var(--red, #E53935);
	color: #fff;
}

/* ─── 生年月日 プルダウン（年/月/日 横一列固定）─── */
.cn-birth {
	gap: 6px;
	flex-wrap: nowrap;       /* 常に横一列・折り返し禁止 */
	align-items: center;
}
.cn-birth select {
	padding: 8px 8px;
	border: 1.5px solid var(--ink5, #c0c0c0);
	border-radius: 6px;
	background: #fff;
	font-size: 14px;
	min-width: 0;            /* flex で縮めるための解除 */
	flex: 1 1 auto;          /* 残りスペースを 3 つで均等に */
}
.cn-birth .cn-birth__y { flex: 1.4 1 80px; }   /* 年は少し広く（4桁分） */
.cn-birth .cn-birth__m,
.cn-birth .cn-birth__d { flex: 1 1 60px; }

/* ─── 履歴書ファイル添付 ─── */
.cn-file {
	display: block;
	padding: 10px 12px;
	border: 1.5px dashed var(--ink2);
	border-radius: 6px;
	background: var(--paper2);
	font-size: 14px;
	cursor: pointer;
	width: 100%;
	max-width: 420px;
}
.cn-file:hover { background: #fff; border-color: var(--accent); }

.cn-row__field { min-width: 0; }
.cn-row__field--inline {
	display: flex;
	align-items: center;
	gap: 8px;
}
.cn-row__unit {
	font-family: "Yusei Magic", sans-serif;
	font-size: 13px;
	color: var(--ink);
}
.cn-row__field input[type="text"],
.cn-row__field input[type="tel"],
.cn-row__field input[type="email"],
.cn-row__field input[type="number"],
.cn-row__field select,
.cn-row__field textarea {
	width: 100%;
	padding: 10px 14px;
	border: 2px solid var(--ink2);
	border-radius: 8px;
	font-family: "Yusei Magic", sans-serif;
	/* iOS Safari はフォーカス時に input の font-size が 16px 未満だと画面ズームしてしまうため、
	 * 16px を最低ラインにする（PC でも違和感のないサイズ） */
	font-size: 16px;
	background: var(--paper);
	color: var(--ink);
	box-sizing: border-box;
}
.cn-row__field input:focus,
.cn-row__field select:focus,
.cn-row__field textarea:focus {
	outline: 2px solid var(--accent);
	outline-offset: 1px;
	border-color: var(--ink);
}
.cn-row__field textarea { resize: vertical; min-height: 120px; }

/* ============================================================
 *  開閉式の複数選択（希望エリア / 希望職種）
 *    最初は閉じたボタン。押すとパネルが開き、中をスクロールして複数選択。
 * ============================================================ */
.cn-multiselect { position: relative; }
.cn-multiselect__toggle {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	font-family: "Yusei Magic", sans-serif;
	font-size: 14px;
	color: var(--ink);
	text-align: left;
	background: #fff;
	border: 1.5px solid var(--ink3, #9C927E);
	border-radius: 10px;
	padding: 12px 14px;
	cursor: pointer;
	transition: border-color .15s, box-shadow .15s;
}
.cn-multiselect__toggle:hover { border-color: var(--accent); }
.cn-multiselect.is-open .cn-multiselect__toggle {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(255, 139, 61, .15);
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}
.cn-multiselect__label { min-width: 0; line-height: 1.4; }
/* 選択ありのときラベルを濃く */
.cn-multiselect.has-selection .cn-multiselect__label {
	color: var(--accent2, #FF6B35);
	font-weight: bold;
}
.cn-multiselect__caret {
	flex-shrink: 0;
	color: var(--ink3, #9C927E);
	font-size: 12px;
	transition: transform .2s;
}
.cn-multiselect.is-open .cn-multiselect__caret { transform: rotate(180deg); }
.cn-multiselect__panel { margin-top: -1px; }
.cn-multiselect__panel[hidden] { display: none; }
/* 開いた時、パネルの枠をボタンと地続きに（上の角を直角・上線を二重にしない） */
.cn-multiselect__panel .cn-checkgrid {
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

/* 複数選択チェックボックス（希望エリア47都道府県 / 希望職種）：
   高さを固定したスクロール枠に収め、中をスクロールしながら複数選択できるように。 */
.cn-checkgrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
	gap: 2px 8px;
	max-height: 208px;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	border: 1.5px solid var(--ink3, #9C927E);
	border-radius: 10px;
	padding: 8px 12px;
	background: var(--paper, #FBF7EE);
}
.cn-checkgrid--wide {
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
/* スクロールバーを控えめに */
.cn-checkgrid::-webkit-scrollbar { width: 8px; }
.cn-checkgrid::-webkit-scrollbar-thumb { background: var(--ink3, #9C927E); border-radius: 4px; }
.cn-checkgrid::-webkit-scrollbar-track { background: transparent; }
.cn-checkgrid-hint {
	margin: 5px 2px 0;
	font-family: "Yusei Magic", sans-serif;
	font-size: 11px;
	color: var(--ink3, #9C927E);
}
.cn-checkgrid label {
	display: flex;
	align-items: center;
	gap: 5px;
	font-family: "Yusei Magic", sans-serif;
	font-size: 13px;
	color: var(--ink);
	padding: 5px 4px;
	border-radius: 6px;
	cursor: pointer;
	line-height: 1.3;
}
.cn-checkgrid label:hover { background: var(--paper2); }
.cn-checkgrid input[type="checkbox"] {
	width: 16px;
	height: 16px;
	margin: 0;
	flex-shrink: 0;
	accent-color: var(--accent);
	cursor: pointer;
}
.cn-checkgrid label span { min-width: 0; }
@media (max-width: 768px) {
	.cn-checkgrid { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); }
	.cn-checkgrid--wide { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
	.cn-checkgrid label { font-size: 13px; }
}

.cn-hint {
	font-family: "Yusei Magic", sans-serif;
	font-size: 11px;
	color: var(--ink2);
	margin-top: 6px;
}

/* 履歴書ツールから自動添付された時のお知らせ枠（添付＋事前入力） */
.cn-resume-attached {
	margin-top: 10px;
	padding: 10px 14px;
	background: #E8F5E9;          /* 薄グリーン＝成功・確認系 */
	border: 1.5px solid #43A047;
	border-radius: 6px;
	font-size: 13px;
	color: #1B5E20;
}
.cn-resume-attached__main {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	font-weight: bold;
}
.cn-resume-attached__sub {
	margin-top: 6px;
	padding-top: 6px;
	border-top: 1px dashed #81C784;
	font-size: 12px;
	font-weight: normal;
	color: #2E7D32;
	line-height: 1.5;
}
.cn-resume-attached__clear {
	margin-left: auto;
	padding: 4px 12px;
	font-size: 12px;
	background: #fff;
	border: 1.5px solid #1B5E20;
	border-radius: 4px;
	color: #1B5E20;
	cursor: pointer;
	font-weight: normal;
}
.cn-resume-attached__clear:hover {
	background: #1B5E20;
	color: #fff;
}

/* ラジオ / チェックボックス */
.cn-radio-grp,
.cn-check-grp {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 20px;
	padding-top: 8px;
}
.cn-radio-grp label,
.cn-check-grp label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: "Yusei Magic", sans-serif;
	font-size: 13px;
	cursor: pointer;
}
.cn-radio-grp input,
.cn-check-grp input {
	width: 18px;
	height: 18px;
	cursor: pointer;
	accent-color: var(--accent);
}

/* 送信ボタン */
.cn-submit {
	display: flex;
	flex-direction: column;
	gap: 14px;
	align-items: center;
	margin-top: 24px;
	padding-top: 22px;
	border-top: 2px solid var(--ink2);
}

/* ============================================================
 *  確認画面（入力 → 確認 → 送信 の中間ステップ）
 * ============================================================ */
.cn-review {
	font-family: "Yusei Magic", sans-serif;
}
.cn-review__h {
	font-family: "Yusei Magic", sans-serif;
	font-size: 22px;
	font-weight: 700;
	color: var(--ink);
	text-align: center;
	margin: 0 0 6px;
}
.cn-review__lead {
	font-size: 13px;
	color: var(--ink2);
	text-align: center;
	margin: 0 0 22px;
	line-height: 1.85;
}
.cn-review__list {
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 0;
	margin: 0;
	border-top: 1.5px dashed var(--ink2);
}
.cn-review__list dt,
.cn-review__list dd {
	padding: 14px 12px;
	border-bottom: 1.5px dashed var(--ink2);
	margin: 0;
	font-size: 14px;
	line-height: 1.7;
	min-width: 0;
	overflow-wrap: anywhere;
	word-break: break-word;
}
.cn-review__list dt {
	font-family: "Yusei Magic", sans-serif;
	font-weight: bold;
	color: var(--ink2);
	background: var(--paper2);
	border-right: 1.5px dashed var(--ink3);
}
.cn-review__list dd { color: var(--ink); }
.cn-review__list dd.is-empty { color: var(--ink3); font-style: italic; }
.cn-review__list dd a {
	color: var(--accent2);
	text-decoration: underline;
	overflow-wrap: anywhere;
}
.cn-review__btns {
	display: flex;
	gap: 14px;
	justify-content: center;
	margin-top: 26px;
	padding-top: 22px;
	border-top: 2px solid var(--ink2);
	flex-wrap: wrap;
}

@media (max-width: 768px) {
	.cn-review__h { font-size: 18px; }
	.cn-review__lead { font-size: 12px; margin-bottom: 16px; }
	.cn-review__list {
		grid-template-columns: 1fr;
	}
	.cn-review__list dt {
		padding: 10px 12px 6px;
		border-right: none;
		border-bottom: none;
	}
	.cn-review__list dd {
		padding: 0 12px 12px;
		font-size: 13px;
	}
	.cn-review__btns { flex-direction: column; gap: 10px; }
	.cn-review__btns .btn { width: 100%; }
}

/* 本文系フォント：確認画面の値表示は読み物として可読性アップ */
.cn-review__list dd {
	font-family: apple-system, BlinkMacSystemFont, "Helvetica Neue", YuGothic, 'Yu Gothic', Verdana, Meiryo, sans-serif !important;
}
.cn-agree {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: "Yusei Magic", sans-serif;
	font-size: 13px;
	color: var(--ink);
	cursor: pointer;
}
.cn-agree input { width: 18px; height: 18px; accent-color: var(--accent); }
.cn-agree a { color: var(--ink); text-decoration: underline; }
.cn-submit__btn {
	font-size: 15px;
	padding: 12px 32px;
}

/* ============================================================
 *  サイドバー
 * ============================================================ */
.cn-side {
	display: flex;
	flex-direction: column;
	gap: 18px;
	position: sticky;
	top: 100px;
	align-self: start;
	max-height: calc(100vh - 130px);
	overflow-y: auto;
	scrollbar-width: thin;
}
body.admin-bar .cn-side { top: 132px; max-height: calc(100vh - 162px); }

.cn-side-card {
	background: var(--paper);
	border: 2.5px solid var(--ink);
	border-radius: 14px;
	padding: 22px 24px;
	box-shadow: 5px 5px 0 var(--ink);
	font-family: "Yusei Magic", sans-serif;
	text-align: center;
}
.cn-side-card__h {
	font-family: "Yusei Magic", sans-serif;
	font-size: 16px;
	color: var(--ink);
	margin: 0 0 4px;
}
.cn-side-card__sub {
	font-family: "Yusei Magic", sans-serif;
	font-size: 11px;
	color: var(--ink2);
	margin: 0 0 14px;
	line-height: 1.6;
}
.cn-side-card__qr {
	min-height: 140px;
	background: #fff;
	border: 1.5px solid var(--ink5);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	color: var(--ink2);
	margin-bottom: 12px;
	padding: 8px;
}
.cn-side-card__qr img {
	display: block;
	width: 100%;
	max-width: 160px;
	height: auto;
	image-rendering: crisp-edges;
}
.cn-side-card__tel-num {
	display: block;
	font-family: "Yusei Magic", sans-serif;
	font-size: 26px;
	font-weight: bold;
	color: var(--ink);
	margin: 8px 0 4px;
	text-decoration: none;
	letter-spacing: -.02em;
}

/* ============================================================
 *  レスポンシブ
 * ============================================================ */

/* タブレット：サイドバーを下に */
@media (max-width: 980px) {
	.cn-layout {
		grid-template-columns: 1fr;
		gap: 22px;
	}
	.cn-side {
		position: static;
		max-height: none;
		overflow: visible;
		flex-direction: row;
		gap: 14px;
	}
	.cn-side-card { flex: 1; }
}

/* スマホ */
@media (max-width: 768px) {
	.contact-page .sp-only { display: inline; }
	.cn-crumb { padding: 12px 14px 0; font-size: 11px; }
	.cn-head { padding: 22px 14px 18px; }
	.cn-head__title { font-size: 24px; }
	.cn-head__en { font-size: 12px; }
	.cn-head__lead { font-size: 13px; }

	.cn-layout {
		padding: 0 14px 30px;
		gap: 18px;
	}

	.cn-tabs { gap: 6px; }
	.cn-tab { font-size: 12px; padding: 8px 14px; }

	.cn-steps { padding: 14px 12px; gap: 4px; }
	.cn-step { font-size: 11px; gap: 6px; }
	.cn-step__num { width: 26px; height: 26px; font-size: 12px; }
	.cn-step__line { max-width: 24px; }

	.cn-form { padding: 18px 18px; }
	.cn-row {
		grid-template-columns: 1fr;
		gap: 10px;
		padding: 12px 0;
	}
	.cn-row__lb { padding-top: 0; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; }
	.cn-row__lb br { display: none; }
	/* iOS Safari の自動ズーム回避のため font-size: 16px を維持（スマホでも） */
	.cn-row__field input,
	.cn-row__field select,
	.cn-row__field textarea { font-size: 16px; padding: 9px 12px; }
	.cn-radio-grp, .cn-check-grp { gap: 10px 14px; }
	.cn-radio-grp label, .cn-check-grp label { font-size: 12px; }
	.cn-submit__btn { width: 100%; font-size: 14px; }

	.cn-side { flex-direction: column; }
	.cn-side-card { padding: 16px 18px; }
	.cn-side-card__tel-num { font-size: 22px; }
}

/* ============================================================
 *  本文系フォント上書き（プレースホルダーや任意テキストは Zen Kaku 系）
 * ============================================================ */
.cn-form__intro,
.cn-hint,
.cn-row__field textarea,
.cn-row__field input::placeholder,
.cn-row__field textarea::placeholder {
	font-family: apple-system, BlinkMacSystemFont, "Helvetica Neue", YuGothic, 'Yu Gothic', Verdana, Meiryo, sans-serif !important;
}

/* ============================================================
 *  フォーム本体（お名前〜個人情報同意）はゴシック体で読みやすく
 *  Yusei Magic（手書き風）を上書き。ラベル/入力/単位/ヒント/レビューも対象。
 *  ※ ページタイトル(.cn-head)・タブ(.cn-tab)・サイドカード(.cn-side-card) は除外。
 *  ※「入力内容を確認する」ボタン (.cn-submit__btn) は手書き風維持のためゴシック化除外。
 * ============================================================ */
.cn-form,
.cn-form * {
	font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", YuGothic, "Yu Gothic", Meiryo, "MS PGothic", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif !important;
}
.cn-form .cn-submit__btn {
	font-family: "Yusei Magic", sans-serif !important;
}

/* ============================================================
 *  下書き復元／前回内容の貼り付けバナー（2026-07-06）
 *  フォーム先頭に JS（initContactDraft）が動的挿入する。
 * ============================================================ */
.cn-restore {
	background: #fff8ec;
	border: 2px solid var(--brand, #f39c12);
	border-radius: 12px;
	padding: 14px 16px;
	margin: 0 0 18px;
}
.cn-restore__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}
.cn-restore__msg {
	font-size: 14px;
	font-weight: 700;
	color: var(--ink);
	margin-right: auto;
}
.cn-restore__btn {
	appearance: none;
	border: none;
	background: var(--brand, #f39c12);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	padding: 9px 18px;
	border-radius: 999px;
	cursor: pointer;
	transition: opacity .15s;
}
.cn-restore__btn:hover { opacity: .85; }
.cn-restore__btn--ghost {
	background: transparent;
	color: var(--ink2, #777);
	border: 1px solid #ccc;
}
@media (max-width: 640px) {
	.cn-restore__row { flex-direction: column; align-items: stretch; }
	.cn-restore__msg { margin-right: 0; text-align: center; }
}
