/*
 * 猫の手本舗 自作フォーム 追加CSS v1.0.0
 * 見た目の本体はテーマの style.css とカスタマイザー追加CSSをそのまま利用。
 * ここには「自作フォームで新しく必要になった分」だけを置く。
 */

/* ハニーポット（人間には見せない） */
.neko-estimate-form .neko-hp {
	position: absolute !important;
	left: -9999px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

/* 日付入力: 標準の日付ピッカーを透明で重ね、表示は「〇年〇月〇日(曜)」形式 */
.neko-estimate-form .neko-date-field {
	position: relative;
	width: 100%;
}

.neko-estimate-form .neko-date-field input[type="date"] {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: none;
	opacity: 0;
	cursor: pointer;
	z-index: 2;
	-webkit-appearance: none;
	appearance: none;
}

.neko-estimate-form .neko-date-display {
	display: block;
	width: 100%;
	min-height: 48px;
	padding: 13px 44px 13px 15px;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	font-size: 16px;
	font-family: sans-serif;
	line-height: 1.4;
	box-sizing: border-box;
	position: relative;
}

.neko-estimate-form .neko-date-display::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 5px;
	right: 20px;
	margin: auto;
	width: 8px;
	height: 8px;
	border-top: 2px solid #000;
	border-right: 2px solid #000;
	transform: rotate(135deg);
}

.neko-estimate-form .neko-date-display.is-empty {
	color: #c1c1c1;
}

.neko-estimate-form .neko-date-field:focus-within .neko-date-display {
	box-shadow: 0 0 0 2px rgba(216, 92, 122, 0.35);
}

/* 送信エリアのボタンをSTEP1/2の「進む/戻る」ボタンと同じデザインに統一 */
.neko-estimate-form .estimate-next-button,
.neko-estimate-form .estimate-back-button {
	font-family: inherit;
}

.neko-estimate-form .submit-btn input[type="submit"],
.neko-estimate-form .submit-btn input[type="button"] {
	-webkit-appearance: none;
	appearance: none;
	display: inline-block;
	border: none;
	outline: none;
	cursor: pointer;
	border-radius: 999px;
	min-width: 240px;
	width: auto;
	padding: 15px 26px;
	margin: 8px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.02em;
	text-align: center;
	transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.neko-estimate-form .submit-btn input[type="submit"] {
	background: #d85c7a;
	color: #fff;
	box-shadow: 0 8px 18px rgba(216, 92, 122, 0.28);
}

@media (hover: hover) and (pointer: fine) {
	.neko-estimate-form .submit-btn input[type="submit"]:hover:not(:disabled) {
		background: #c84c6b;
		transform: translateY(-1px);
		filter: none;
	}
}

.neko-estimate-form .submit-btn input[type="button"].back-btn {
	background: #eee;
	color: #555;
	box-shadow: none;
}

@media (hover: hover) and (pointer: fine) {
	.neko-estimate-form .submit-btn input[type="button"].back-btn:hover:not(:disabled) {
		background: #e2e2e2;
	}
}

.neko-estimate-form .submit-btn input[type="submit"]:disabled,
.neko-estimate-form .submit-btn input[type="button"]:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

@media screen and (max-width: 768px) {
	.neko-estimate-form .submit-btn input[type="submit"],
	.neko-estimate-form .submit-btn input[type="button"] {
		width: 100%;
		min-width: 0;
		margin: 6px 0;
	}
}

/* 時間帯チェック: 外側の丸枠のみ残し、内側labelの枠を消して二重枠を解消 */
.neko-estimate-form .hope-time-checkboxes label {
	border: none !important;
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	width: auto !important;
}

/* エラーメッセージ（項目ごと） */
.neko-estimate-form .neko-field-error {
	position: static !important;
	display: block;
	margin-top: 6px;
	color: #fa4f52 !important;
	font-size: 1.4rem !important;
	font-weight: 700;
	line-height: 1.5;
}

/* 全体メッセージ（通信エラー等） */
.neko-estimate-form .neko-form-message {
	margin: 20px 20px 0;
	padding: 14px 18px;
	border: 2px solid #fa4f52;
	border-radius: 12px;
	background: #fff;
	color: #fa4f52;
	font-size: 1.4rem;
	font-weight: 700;
	line-height: 1.6;
}

@media screen and (min-width: 768px) {
	.neko-estimate-form .neko-form-message {
		margin: 20px 0 0;
	}
}

/* ===== STEP1: エアコン=メイン + その他まとめ ===== */

/* summary内ラベル（バッジ+文言） */
.neko-estimate-form .estimate-summary-label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

/* メインメニューバッジ */
.neko-estimate-form .estimate-main-badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 999px;
	background: #d85c7a;
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.4;
	letter-spacing: 0.05em;
	white-space: nowrap;
}

/* エアコンカテゴリの強調（閉じていても縁がピンク） */
.neko-estimate-form .estimate-category-details--main {
	border-color: #f2a7bb;
}

.neko-estimate-form .estimate-category-details--main summary {
	border-color: #f2a7bb;
	font-size: 17px;
}

/* その他のメニューまとめ */
.neko-estimate-form .estimate-other-details {
	border: 1px solid #e5dce0;
	border-radius: 18px;
	background: #fff;
	overflow: hidden;
}

.neko-estimate-form .estimate-other-details > summary {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-height: 64px;
	justify-content: center;
	padding: 16px 52px 16px 22px;
	background: #faf7f8;
	border: 2px solid #e5e5e5;
	border-radius: 16px;
	font-weight: 700;
	line-height: 1.5;
	cursor: pointer;
	list-style: none;
}

.neko-estimate-form .estimate-other-details > summary::-webkit-details-marker {
	display: none;
}

.neko-estimate-form .estimate-other-details > summary::after {
	content: "＋";
	position: absolute;
	right: 22px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 22px;
	line-height: 1;
	color: #d85c7a;
}

.neko-estimate-form .estimate-other-details[open] > summary {
	border-color: #f2a7bb;
	background: #fff4f8;
	border-radius: 16px 16px 0 0;
}

.neko-estimate-form .estimate-other-details[open] > summary::after {
	content: "－";
}

.neko-estimate-form .estimate-other-details__label {
	font-size: 16px;
}

.neko-estimate-form .estimate-other-details__sub {
	font-size: 12px;
	font-weight: 500;
	color: #8a7f84;
}

.neko-estimate-form .estimate-other-details__inner {
	display: grid;
	gap: 12px;
	padding: 14px;
	border-top: 1px solid #ead8de;
	background: #fdfbfc;
}

@media screen and (max-width: 768px) {
	.neko-estimate-form .estimate-other-details > summary {
		padding: 14px 44px 14px 16px;
	}

	.neko-estimate-form .estimate-other-details > summary::after {
		right: 16px;
	}

	.neko-estimate-form .estimate-other-details__inner {
		padding: 10px;
	}
}

/* ===== STEP2: 空き状況一覧（LPと同じデータ源） ===== */
.neko-estimate-form .neko-avail {
	background: #fff;
	border: 1px solid #ead8de;
	border-radius: 16px;
	padding: 18px;
}

.neko-estimate-form .neko-avail__title {
	margin-bottom: 14px;
	font-size: 15px;
	font-weight: 700;
	text-align: center;
}

.neko-estimate-form .neko-avail__list {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 8px;
}

.neko-estimate-form .neko-avail__day {
	appearance: none;
	-webkit-appearance: none;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 10px 4px 8px;
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	background: #fff;
	font-family: inherit;
	font-weight: 700;
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

/* ホバー装飾はマウス操作の時だけ（タッチ端末で色が張り付くのを防ぐ） */
@media (hover: hover) and (pointer: fine) {
	.neko-estimate-form .neko-avail__day:hover:not(:disabled) {
		border-color: #f2a7bb;
		background: #fff9fb;
	}
}

.neko-estimate-form .neko-avail__day:disabled {
	background: #f5f5f5;
	cursor: not-allowed;
}

.neko-estimate-form .neko-avail__date {
	font-size: 12px;
	line-height: 1.2;
	color: #333;
	white-space: nowrap;
}

.neko-estimate-form .neko-avail__day:disabled .neko-avail__date {
	color: #aaa;
}

.neko-estimate-form .neko-avail__youbi {
	font-size: 11px;
}

.neko-estimate-form .neko-avail__youbi.is-dow0 {
	color: #d9534f;
}

.neko-estimate-form .neko-avail__youbi.is-dow6 {
	color: #3b7ddd;
}

.neko-estimate-form .neko-avail__mark {
	font-size: 20px;
	line-height: 1;
	font-weight: 800;
}

.neko-estimate-form .neko-avail__day.is-circle .neko-avail__mark {
	color: #12995d;
}

.neko-estimate-form .neko-avail__day.is-triangle .neko-avail__mark {
	color: #e08c1f;
}

.neko-estimate-form .neko-avail__day.is-cross .neko-avail__mark {
	color: #b5b5b5;
}

.neko-estimate-form .neko-avail__day.is-today {
	border-color: #d85c7a;
	box-shadow: 0 0 0 2px rgba(216, 92, 122, 0.14);
}

.neko-estimate-form .neko-avail__today-tag {
	position: absolute;
	top: -9px;
	left: 50%;
	transform: translateX(-50%);
	padding: 1px 8px;
	border-radius: 999px;
	background: #d85c7a;
	color: #fff;
	font-size: 10px;
	line-height: 1.5;
	white-space: nowrap;
}

.neko-estimate-form .neko-avail__day.is-picked {
	border-color: #d85c7a;
	background: #fff4f8;
}

.neko-estimate-form .neko-avail__day.is-picked::after {
	content: attr(data-picked);
	position: absolute;
	bottom: -7px;
	left: 50%;
	transform: translateX(-50%);
	padding: 0 6px;
	border-radius: 999px;
	background: #d85c7a;
	color: #fff;
	font-size: 9px;
	line-height: 1.6;
	white-space: nowrap;
}

/* 3・4週目は「もっと見る」で展開 */
.neko-estimate-form .neko-avail__day.is-extra {
	display: none;
}

.neko-estimate-form .neko-avail.is-expanded .neko-avail__day.is-extra {
	display: flex;
}

.neko-estimate-form .neko-avail__more {
	display: block;
	margin: 14px auto 0;
	padding: 10px 24px;
	border: 1px solid #f2a7bb;
	border-radius: 999px;
	background: #fff;
	color: #d85c7a;
	font-size: 13px;
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

@media (hover: hover) and (pointer: fine) {
	.neko-estimate-form .neko-avail__more:hover {
		background: #fff4f8;
	}
}

/* 「1ヶ月より先もOK」の誘導ボタン */
.neko-estimate-form .neko-avail__future {
	display: block;
	width: 100%;
	max-width: 560px;
	margin: 14px auto 0;
	padding: 13px 18px;
	background: #fff7fb;
	border: 2px solid #f2a7bb;
	border-radius: 12px;
	font-family: inherit;
	text-align: center;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

@media (hover: hover) and (pointer: fine) {
	.neko-estimate-form .neko-avail__future:hover {
		background: #ffeef6;
		border-color: #d85c7a;
		transform: translateY(-1px);
	}
}

.neko-estimate-form .neko-avail__future-main {
	display: block;
	color: #d85c7a;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.5;
}

.neko-estimate-form .neko-avail__future-sub {
	display: block;
	margin-top: 2px;
	color: #8a7f84;
	font-size: 11.5px;
	font-weight: 500;
	line-height: 1.6;
}

.neko-estimate-form .neko-avail__note,
.neko-estimate-form .neko-avail__hint,
.neko-estimate-form .neko-avail__note2 {
	margin-top: 12px;
	font-size: 12px;
	line-height: 1.7;
	text-align: center;
}

.neko-estimate-form .neko-avail__hint {
	margin-top: 8px;
	color: #d85c7a;
	font-weight: 700;
}

.neko-estimate-form .neko-avail__note2 {
	margin-top: 4px;
	color: #888;
	font-weight: 400;
}

/* ===== STEP2: 作業希望日時の入力エリア（旧テーブルの右寄りを解消し、中央のカード並びに） ===== */
.neko-estimate-form .hope-input-section {
	margin-top: 32px;
	padding: 0 20px;
}

.neko-estimate-form .hope-input-heading {
	margin-bottom: 8px;
	font-size: 2rem;
	line-height: 1.5;
	text-align: center;
}

.neko-estimate-form .hope-input-lead {
	margin-bottom: 20px;
	font-size: 1.3rem;
	line-height: 1.8;
	text-align: center;
	font-weight: 400;
}

.neko-estimate-form .hope-date-blocks {
	max-width: 760px;
	margin: 0 auto;
	display: grid;
	gap: 16px;
}

.neko-estimate-form .hope-date-blocks .hope-date-block {
	margin-bottom: 0;
	padding: 18px;
	background: #fff;
	border: 1px solid #ead8de;
	border-radius: 14px;
}

.neko-estimate-form .hope-date-blocks .date {
	display: flex;
	margin-bottom: 12px;
}

.neko-estimate-form .hope-date-blocks .date input {
	width: 100%;
}

/* 必須/任意バッジ（旧 .mw-form スコープ外でも同じ見た目に） */
.neko-estimate-form .hope-input-heading .required,
.neko-estimate-form .hope-date-block .required,
.neko-estimate-form .hope-date-block .option {
	display: inline-block;
	margin-left: 10px;
	padding: 0 10px;
	border-radius: 4px;
	font-size: 1.2rem;
	line-height: 1.75;
	font-weight: 700;
	vertical-align: middle;
}

.neko-estimate-form .hope-input-heading .required,
.neko-estimate-form .hope-date-block .required {
	color: #fff;
	background: #D11277;
}

.neko-estimate-form .hope-date-block .option {
	color: #000;
	background: #f2f2f2;
}

@media screen and (min-width: 768px) {
	.neko-estimate-form .hope-input-section {
		padding: 0;
	}

	.neko-estimate-form .hope-input-heading {
		font-size: 2.4rem;
	}

	.neko-estimate-form .hope-input-lead {
		font-size: 1.4rem;
	}

	.neko-estimate-form .hope-date-blocks .hope-date-block {
		padding: 22px 26px;
	}
}

/* ===== 姓・名の2分割入力 ===== */
.neko-estimate-form .neko-name-row {
	display: flex;
	gap: 10px;
}

.neko-estimate-form .neko-name-row input {
	width: 50%;
	min-width: 0;
}

.neko-estimate-form .neko-name-col {
	flex: 1;
	min-width: 0;
}

.neko-estimate-form .neko-name-col input.name {
	width: 100%;
}

.neko-estimate-form .neko-name-col__label {
	display: block;
	margin-bottom: 4px;
	font-size: 11px;
	font-weight: 700;
	color: #777;
	line-height: 1.4;
}

.neko-estimate-form .neko-name-col__optional {
	display: inline-block;
	margin-left: 6px;
	padding: 0 6px;
	border-radius: 3px;
	background: #f2f2f2;
	color: #555;
	font-size: 10px;
	font-weight: 700;
	vertical-align: middle;
}

/* ===== エアコンのメーカー・型番（任意） ===== */
.neko-estimate-form .neko-aircon-model {
	margin-top: 18px;
	padding: 16px 18px;
	background: #fff7fb;
	border: 1px solid #f0d9e2;
	border-radius: 12px;
}

.neko-estimate-form .neko-aircon-model label {
	display: block;
	margin-bottom: 8px;
	font-weight: 700;
}

.neko-estimate-form .neko-aircon-model input,
.neko-estimate-form .neko-aircon-model textarea {
	width: 100%;
	max-width: 460px;
	padding: 12px;
	font-size: 16px;
	font-family: sans-serif;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 8px;
	box-sizing: border-box;
	line-height: 1.6;
	resize: vertical;
}

.neko-estimate-form .neko-aircon-model__note {
	margin-top: 8px;
	font-size: 12px;
	color: #777;
	line-height: 1.7;
}

.neko-estimate-form .neko-aircon-model .option {
	display: inline-block;
	margin-left: 10px;
	padding: 0 10px;
	border-radius: 4px;
	font-size: 1.2rem;
	line-height: 1.75;
	font-weight: 700;
	vertical-align: middle;
	color: #000;
	background: #f2f2f2;
}

/* ===== 写真: まとめ選択＋プレビュー ===== */
.neko-estimate-form .neko-photo-button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 13px 24px;
	background: #fff;
	border: 2px dashed #d85c7a;
	border-radius: 12px;
	color: #d85c7a;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

@media (hover: hover) and (pointer: fine) {
	.neko-estimate-form .neko-photo-button:hover {
		background: #fff4f8;
	}
}

.neko-estimate-form input#neko-photo-input {
	display: none;
}

.neko-estimate-form .neko-photo-previews {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 14px;
}

.neko-estimate-form .neko-photo-item {
	position: relative;
	width: 96px;
}

.neko-estimate-form .neko-photo-item img {
	display: block;
	width: 96px;
	height: 96px;
	object-fit: cover;
	background: #f7f7f7;
	border: 1px solid #e5e5e5;
	border-radius: 10px;
}

.neko-estimate-form .neko-photo-item__name {
	display: block;
	margin-top: 4px;
	font-size: 10px;
	line-height: 1.4;
	color: #666;
	word-break: break-all;
	max-height: 2.8em;
	overflow: hidden;
}

.neko-estimate-form .neko-photo-item__remove {
	position: absolute;
	top: -9px;
	right: -9px;
	width: 24px;
	height: 24px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: #333;
	color: #fff;
	font-size: 14px;
	line-height: 1;
	cursor: pointer;
}

/* ===== 数量ステッパー（−/＋） ===== */
.neko-estimate-form .neko-qty {
	display: flex;
	align-items: center;
	gap: 2px;
	margin-top: 8px;
}

.neko-estimate-form .neko-qty select.estimate-qty {
	display: none !important;
}

.neko-estimate-form .neko-qty__btn {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 2px solid #f2a7bb;
	border-radius: 10px;
	background: #fff;
	color: #d85c7a;
	font-size: 20px;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
	font-family: inherit;
	transition: background-color 0.15s ease, opacity 0.15s ease;
}

@media (hover: hover) and (pointer: fine) {
	.neko-estimate-form .neko-qty__btn:hover:not(:disabled) {
		background: #fff4f8;
	}
}

.neko-estimate-form .neko-qty__btn:disabled {
	opacity: 0.35;
	cursor: default;
}

.neko-estimate-form .neko-qty__value {
	min-width: 68px;
	text-align: center;
	font-size: 15px;
	font-weight: 700;
}

.neko-estimate-form .neko-qty.is-zero .neko-qty__value {
	color: #aaa;
	font-weight: 500;
}

/* ===== スマホ用: 合計金額の追従バー ===== */
.neko-estimate-form .neko-total-bar {
	display: none;
}

@media screen and (max-width: 768px) {
	.neko-estimate-form.has-total-bar .neko-total-bar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 9998;
		display: flex;
		align-items: center;
		gap: 12px;
		padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
		background: rgba(255, 255, 255, 0.97);
		box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.14);
		backdrop-filter: blur(6px);
	}

	.neko-estimate-form.has-total-bar .neko-total-bar.is-raised {
		bottom: calc(68px + env(safe-area-inset-bottom));
	}

	.neko-estimate-form .neko-total-bar__label {
		flex: 0 0 auto;
		font-size: 11px;
		font-weight: 700;
		color: #666;
		line-height: 1.3;
	}

	.neko-estimate-form .neko-total-bar__amount {
		flex: 1;
		font-size: 17px;
		font-weight: 800;
		color: #d85c7a;
		line-height: 1.3;
	}

	.neko-estimate-form .neko-total-bar__jump {
		flex: 0 0 auto;
		padding: 9px 14px;
		border: none;
		border-radius: 999px;
		background: #d85c7a;
		color: #fff;
		font-size: 12px;
		font-weight: 700;
		font-family: inherit;
		cursor: pointer;
	}

	/* バーがステップボタンに被らないよう下に余白を足す */
	.neko-estimate-form.has-total-bar .form-bg {
		padding-bottom: 150px;
	}
}

/* ===== ラジオ項目は単語の途中で折り返さず、項目ごと次の行へ送る =====
   （スマホで「QRコ/ード決済」のように途中改行されるのを防ぐ） */
.neko-estimate-form .mw-form .mwform-radio-field {
	display: inline-block;
	white-space: nowrap;
	margin-bottom: 6px;
}

/* 項目間の余白は「右側」に付ける（左に付けると折り返した2行目の左端がズレるため） */
.neko-estimate-form .mw-form .mwform-radio-field.horizontal-item {
	margin-left: 0;
	margin-right: 18px;
}

.neko-estimate-form .mw-form .mwform-radio-field.horizontal-item:last-child {
	margin-right: 0;
}

/* ===== スマホ: ステップナビ（1.メニュー選択…）を1行に収める ===== */
@media screen and (max-width: 768px) {
	.neko-estimate-form .estimate-step-nav {
		flex-wrap: nowrap;
		gap: 5px;
	}

	.neko-estimate-form .estimate-step-nav span {
		padding: 8px 9px;
		font-size: 11.5px;
		letter-spacing: 0;
		white-space: nowrap;
	}
}

/* ===== PCでの項目名とフィールドの縦位置合わせ =====
   旧テーブルは項目名が上下中央寄せで、注記や複数行がある行ほど
   項目名が下にズレて見えたため、全行「上揃え+微調整」に統一する */
@media screen and (min-width: 768px) {
	.neko-custom-form .mw-form th {
		vertical-align: top;
		padding-top: 54px; /* テキスト入力・ボタン行の1行目と揃う位置 */
	}

	/* ラジオボタン行は1行目が低いぶん浅めに */
	.neko-custom-form .mw-form tr.contact-method-row th,
	.neko-custom-form .mw-form tr.payment-row th,
	.neko-custom-form .mw-form tr.parking th {
		padding-top: 44px;
	}

	.neko-custom-form .mw-form tr.ms th {
		padding-top: 57px;
	}
}

/* ===== Cloudflare Turnstile（キー設定時のみ表示される） ===== */
.neko-estimate-form .neko-turnstile {
	display: flex;
	justify-content: center;
	margin-top: 20px;
}

/* ===== LINE相談の案内はSTEP1のみ表示 ===== */
.neko-estimate-form:not(.is-on-step1) .neko-line-before-form {
	display: none !important;
}

/* ===== 同意チェック: 行全体をタップ可能に ===== */
.neko-estimate-form .agreement {
	cursor: pointer;
	-webkit-user-select: none;
	user-select: none;
}

/* 希望日欄への自動入力・解除時のフラッシュ表示 */
.neko-estimate-form .neko-flash {
	box-shadow: 0 0 0 3px rgba(216, 92, 122, 0.45) !important;
	transition: box-shadow 0.2s ease;
}

@media screen and (max-width: 768px) {
	.neko-estimate-form .neko-avail {
		padding: 14px 8px 12px;
	}

	/* スマホもPCと同じ7列グリッド（スワイプ不要で2週間が一目で見える） */
	.neko-estimate-form .neko-avail__list {
		display: grid;
		grid-template-columns: repeat(7, 1fr);
		gap: 4px;
		padding: 6px 0 2px;
	}

	.neko-estimate-form .neko-avail__day {
		min-width: 0;
		padding: 7px 1px 6px;
		gap: 2px;
		border-radius: 8px;
	}

	.neko-estimate-form .neko-avail__date {
		font-size: 10px;
		line-height: 1.2;
	}

	.neko-estimate-form .neko-avail__youbi {
		display: block;
		font-size: 9px;
	}

	.neko-estimate-form .neko-avail__mark {
		font-size: 15px;
	}

	.neko-estimate-form .neko-avail__today-tag {
		top: -7px;
		padding: 0 5px;
		font-size: 8px;
	}

	.neko-estimate-form .neko-avail__day.is-picked::after {
		bottom: -6px;
		padding: 0 4px;
		font-size: 8px;
	}
}

/* MW WP Form本体が出力していたラジオ/チェックの並びCSSを引き継ぐ
   （MW WP Formプラグイン停止後も見た目が変わらないように） */
.neko-estimate-form .horizontal-item {
	margin-left: 10px;
}
.neko-estimate-form .horizontal-item:first-child {
	margin-left: 0;
}
.neko-estimate-form .mwform-radio-field.vertical-item,
.neko-estimate-form .mwform-checkbox-field.vertical-item {
	display: block;
	margin-top: 6px;
}
.neko-estimate-form .mwform-radio-field label,
.neko-estimate-form .mwform-checkbox-field label {
	cursor: pointer;
	font-weight: 400;
}
.neko-estimate-form .mwform-radio-field input[type="radio"],
.neko-estimate-form .mwform-checkbox-field input[type="checkbox"] {
	margin-right: 5px;
	vertical-align: middle;
}
.neko-estimate-form .agreement .checkbox-input {
	margin-right: 0;
}

/* 確認画面中は通常の送信エリア内の「日時に戻る」を隠す（旧挙動と同じ） */
.neko-estimate-form.is-confirm-view .submit-btn .estimate-back-button {
	display: none !important;
}
