/* =========================================================
	Hino Front Blog Submit
========================================================= */

.hfbs-form-wrap {
	margin: 42px 0;
}

.hfbs-form-card {
	max-width: 860px;
	margin: 0 auto;
	padding: 42px;
	border: 1px solid rgba(201, 149, 63, 0.26);
	border-radius: 24px;
	background:
		radial-gradient(circle at top left, rgba(201, 149, 63, 0.10), transparent 34%),
		#ffffff;
	box-shadow: 0 22px 60px rgba(16, 41, 31, 0.10);
}

.hfbs-form-head {
	margin: 0 0 28px;
	padding-bottom: 22px;
	border-bottom: 1px solid rgba(201, 149, 63, 0.24);
	text-align: center;
}

.hfbs-kicker {
	margin: 0 0 10px;
	color: #c9953f;
	font-size: 12px;
	font-weight: 900;
	line-height: 1.5;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.hfbs-form-head h2 {
	margin: 0;
	color: #10291f;
	font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
	font-size: clamp(25px, 3vw, 34px);
	font-weight: 900;
	line-height: 1.45;
	letter-spacing: 0.04em;
}

.hfbs-lead {
	margin: 16px auto 0;
	color: #5f6f67;
	font-size: 15px;
	line-height: 1.9;
}

.hfbs-lead p {
	margin: 0 0 10px;
}

.hfbs-alert {
	margin: 0 0 24px;
	padding: 16px 18px;
	border-radius: 12px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.8;
}

.hfbs-alert ul {
	margin: 0;
	padding-left: 1.4em;
}

.hfbs-alert-success {
	border: 1px solid rgba(22, 101, 52, 0.22);
	background: #ecfdf3;
	color: #166534;
}

.hfbs-alert-error {
	border: 1px solid rgba(185, 28, 28, 0.22);
	background: #fef2f2;
	color: #991b1b;
}

.hfbs-form {
	display: grid;
	gap: 20px;
}

.hfbs-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.hfbs-field label {
	display: block;
	margin: 0 0 8px;
	color: #10291f;
	font-size: 14px;
	font-weight: 900;
	line-height: 1.5;
}

.hfbs-field label span {
	display: inline-flex;
	align-items: center;
	margin-left: 6px;
	padding: 2px 7px;
	border-radius: 999px;
	background: #b91c1c;
	color: #ffffff;
	font-size: 11px;
	font-weight: 900;
	line-height: 1.4;
}

.hfbs-field input[type="text"],
.hfbs-field input[type="password"],
.hfbs-field input[type="date"],
.hfbs-field input[type="file"],
.hfbs-field select,
.hfbs-field textarea {
	width: 100%;
	max-width: 100%;
	padding: 12px 14px;
	border: 1px solid rgba(16, 41, 31, 0.22);
	border-radius: 10px;
	background: #ffffff;
	color: #26362f;
	font-size: 16px;
	line-height: 1.6;
	box-sizing: border-box;
}

.hfbs-field textarea {
	resize: vertical;
}

.hfbs-field input:focus,
.hfbs-field select:focus,
.hfbs-field textarea:focus {
	border-color: #c9953f;
	outline: none;
	box-shadow: 0 0 0 3px rgba(201, 149, 63, 0.16);
}

.hfbs-help {
	margin: 8px 0 0;
	color: #6f766f;
	font-size: 13px;
	line-height: 1.7;
}

.hfbs-submit {
	margin-top: 10px;
	text-align: center;
}

.hfbs-submit button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	padding: 14px 34px;
	border: none;
	border-radius: 999px;
	background: #10291f;
	color: #ffffff;
	font-size: 15px;
	font-weight: 900;
	line-height: 1.4;
	letter-spacing: 0.06em;
	cursor: pointer;
	box-shadow: 0 16px 36px rgba(16, 41, 31, 0.22);
	transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.hfbs-submit button:hover {
	background: #8a5a2f;
	transform: translateY(-2px);
	box-shadow: 0 20px 44px rgba(64, 43, 20, 0.24);
}

.hfbs-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* 投稿本文内メタ表示 */
.hino-front-report-meta {
	margin: 0 0 24px;
	padding: 18px 20px;
	border: 1px solid rgba(201, 149, 63, 0.24);
	border-radius: 14px;
	background: #fbf7ee;
}

.hino-front-report-meta dl {
	display: grid;
	grid-template-columns: 90px minmax(0, 1fr);
	gap: 8px 14px;
	margin: 0;
}

.hino-front-report-meta dt {
	color: #8a5a2f;
	font-weight: 900;
}

.hino-front-report-meta dd {
	margin: 0;
	color: #26362f;
	font-weight: 700;
}

@media screen and (max-width: 640px) {
	.hfbs-form-card {
		padding: 30px 22px;
		border-radius: 20px;
	}

	.hfbs-form-head {
		text-align: left;
	}

	.hfbs-grid {
		grid-template-columns: 1fr;
	}

	.hfbs-submit button {
		width: 100%;
	}

	.hino-front-report-meta dl {
		grid-template-columns: 1fr;
		gap: 3px;
	}
}


/* 写真ごとのコメント入力 */
.hfbs-photo-list {
	display: grid;
	gap: 18px;
	margin-top: 10px;
}

.hfbs-photo-item {
	padding: 18px;
	border: 1px solid rgba(16, 41, 31, 0.14);
	border-radius: 14px;
	background: #fbf7ee;
}

.hfbs-photo-number {
	margin: 0 0 10px;
	color: #10291f;
	font-size: 14px;
	font-weight: 900;
	line-height: 1.5;
}

.hfbs-photo-item input[type="file"] {
	margin-bottom: 12px;
}

.hfbs-photo-item textarea {
	width: 100%;
}

/* 投稿本文内：写真1枚＋コメント1件 */
.hino-front-photo-report {
	margin: 30px 0 0;
}

.hino-front-report-photo {
	margin: 0 0 34px;
}

.hino-front-report-photo img {
	display: block;
	width: 100%;
	max-width: 800px;
	height: auto;
	margin: 0 auto;
}

.hino-front-report-photo figcaption {
	max-width: 800px;
	margin: 10px auto 0;
	color: #26362f;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.9;
	text-align: left;
}

@media screen and (max-width: 640px) {
	.hfbs-photo-item {
		padding: 16px 14px;
	}

	.hino-front-report-photo {
		margin-bottom: 28px;
	}

	.hino-front-report-photo figcaption {
		font-size: 13px;
		line-height: 1.8;
	}
}


/* 写真追加ボタン */
.hfbs-photo-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 14px;
}

.hfbs-add-photo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 10px 20px;
	border: 1px solid rgba(16, 41, 31, 0.20);
	border-radius: 999px;
	background: #10291f;
	color: #ffffff;
	font-size: 14px;
	font-weight: 900;
	line-height: 1.4;
	cursor: pointer;
}

.hfbs-add-photo:hover,
.hfbs-add-photo:focus {
	background: #8a5a2f;
	outline: none;
}

.hfbs-add-photo:disabled {
	border-color: rgba(16, 41, 31, 0.12);
	background: #d8d2c6;
	color: #6f766f;
	cursor: not-allowed;
}

.hfbs-photo-count {
	margin: 0;
	color: #6f766f;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.7;
}

@media screen and (max-width: 640px) {
	.hfbs-photo-actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.hfbs-add-photo {
		width: 100%;
	}
}


/* パスワード表示・非表示 */
.hfbs-password-box {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
}

.hfbs-password-box input {
	width: 100%;
	padding-right: 92px !important;
}

.hfbs-password-toggle {
	position: absolute !important;
	right: 12px !important;
	top: 45% !important;
	transform: translateY(-50%) !important;
	min-width: 64px;
	height: 32px;
	padding: 0 12px;
	border: 1px solid rgba(16, 41, 31, 0.18);
	border-radius: 999px;
	background: #fbf7ee;
	color: #10291f;
	font-size: 13px;
	font-weight: 900;
	line-height: 1;
	cursor: pointer;
	box-shadow: none;
}

.hfbs-password-toggle:hover,
.hfbs-password-toggle:focus {
	background: #10291f;
	color: #ffffff;
	outline: none;
}

.hfbs-password-toggle .hfbs-hide-text {
	display: none;
}

.hfbs-password-box.is-visible .hfbs-show-text {
	display: none;
}

.hfbs-password-box.is-visible .hfbs-hide-text {
	display: inline;
}

@media screen and (max-width: 640px) {
	.hfbs-password-box input {
		padding-right: 82px !important;
	}

	.hfbs-password-toggle {
		min-width: 58px;
		height: 32px;
		padding: 0 10px;
		font-size: 12px;
	}
}
