/*デスクトップ表示のときはヘッダー文の余白をつける*/
@media (min-width: 769px) {
	body {
		padding-top: 164px;
	}
}

/* ========================================
   ページヒーロー
======================================== */
.page-hero {
	width: 100%;
	height: 280px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.page-hero__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.4);
	z-index: 0;
}

.page-hero__title {
	position: relative;
	z-index: 1;
	font-family: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
	font-size: 28px;
	font-weight: 700;
	color: #fff;
	letter-spacing: 0.15em;
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

/* ========================================
   お問い合わせページ
======================================== */
.contact {
	background-color: #fff;
	padding: 60px 20px 80px;
}

.contact__inner {
	max-width: 600px;
	margin: 0 auto;
}

.contact__form-wrap {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

/* 各フィールド */
.contact__field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

/* ラベル */
.contact__label {
	font-family: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: #333;
	display: flex;
	align-items: center;
	gap: 8px;
}

/* 必須バッジ */
.contact__badge {
	display: inline-block;
	padding: 2px 8px;
	background-color: #333550;
	color: #fff;
	font-size: 11px;
	font-family: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
	letter-spacing: 0.05em;
	border-radius: 2px;
}

/* テキスト入力 */
.contact__input {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid #ccc;
	background-color: #f9f8f6;
	font-family: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
	font-size: 14px;
	color: #333;
	outline: none;
	transition: border-color 0.3s ease;
	box-sizing: border-box;
}

.contact__input:focus {
	border-color: #333550;
	background-color: #fff;
}

/* テキストエリア */
.contact__textarea {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid #ccc;
	background-color: #f9f8f6;
	font-family: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
	font-size: 14px;
	color: #333;
	outline: none;
	resize: vertical;
	transition: border-color 0.3s ease;
	box-sizing: border-box;
	line-height: 1.8;
}

.contact__textarea:focus {
	border-color: #333550;
	background-color: #fff;
}

/* 注意書き */
.contact__note {
	margin-top: 10px;
}

.contact__note p {
	font-family: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
	font-size: 13px;
	line-height: 2;
	color: #555;
}

/* 送信ボタン */
.contact__submit {
	text-align: center;
	margin-top: 20px;
}

.contact__btn {
	display: inline-block;
	padding: 18px 60px;
	background-color: #333550;
	color: #fff;
	font-family: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
	font-size: 15px;
	letter-spacing: 0.12em;
	border: none;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.contact__btn:hover {
	background-color: #e8243e;
}

/* 送信完了 */
.contact__complete {
	text-align: center;
	padding: 60px 20px;
}

.contact__complete-title {
	font-family: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
	font-size: 22px;
	font-weight: 700;
	color: var(--text-main);
	margin-bottom: 24px;
	letter-spacing: 0.08em;
}

.contact__complete-text {
	font-family: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
	font-size: 15px;
	line-height: 2.2;
	color: var(--text-main);
	margin-bottom: 20px;
}

.contact__complete-note {
	font-family: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
	font-size: 13px;
	line-height: 2;
	color: #666;
}

.contact__complete-note a {
	color: #333550;
	text-decoration: underline;
}

/* エラーメッセージ */
.contact__error {
	background: #ffe5e5;
	border: 1px solid #ffb3b3;
	padding: 16px 20px;
	margin-bottom: 32px;
	border-radius: 2px;
}

.contact__error p {
	font-family: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
	font-size: 14px;
	color: #b30000;
	line-height: 1.8;
}

.contact__form-wrap form {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

/* フォームの間隔 */
.contact__form {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

/* 確認画面 */
.contact__confirm {
	max-width: 700px;
	margin: 0 auto;
	padding: 20px 0;
}

.contact__confirm-lead {
	font-family: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
	font-size: 14px;
	line-height: 2;
	color: var(--text-main);
	margin-bottom: 32px;
	text-align: center;
}

.contact__confirm-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 40px;
}

.contact__confirm-table tr {
	border-bottom: 1px solid #ddd;
}

.contact__confirm-table tr:first-child {
	border-top: 1px solid #ddd;
}

.contact__confirm-table th {
	font-family: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
	font-size: 13px;
	font-weight: 700;
	color: var(--text-main);
	background-color: #f9f8f6;
	padding: 16px 20px;
	width: 160px;
	text-align: left;
	vertical-align: top;
}

.contact__confirm-table td {
	font-family: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
	font-size: 13px;
	color: var(--text-main);
	padding: 16px 20px;
	line-height: 1.9;
	vertical-align: top;
}

.contact__confirm-btns {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
}

.contact__btn--back {
	background-color: #888 !important;
}

.contact__btn--back:hover {
	background-color: #555 !important;
}

/* 送信完了 */
.contact__complete {
	text-align: center;
	padding: 60px 20px;
}

.contact__complete-title {
	font-family: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
	font-size: 22px;
	font-weight: 700;
	color: var(--text-main);
	margin-bottom: 24px;
	letter-spacing: 0.08em;
}

.contact__complete-text {
	font-family: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
	font-size: 15px;
	line-height: 2.2;
	color: var(--text-main);
	margin-bottom: 20px;
}

.contact__complete-note {
	font-family: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
	font-size: 13px;
	line-height: 2;
	color: #666;
}

.contact__complete-note a {
	color: #333550;
	text-decoration: underline;
}

/* エラーメッセージ */
.contact__error {
	background: #ffe5e5;
	border: 1px solid #ffb3b3;
	padding: 16px 20px;
	margin-bottom: 32px;
	border-radius: 2px;
}

.contact__error p {
	font-family: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
	font-size: 14px;
	color: #b30000;
	line-height: 1.8;
}

/* レスポンシブ */
@media (max-width: 600px) {
	.page-hero {
		height: 150px;
	}
	.page-hero__title {
		font-size: 22px;
	}
	.contact__label {
		font-size: 13px;
	}

	.contact__input,
	.contact__textarea {
		font-size: 13px;
		padding: 12px 14px;
	}

	.contact__btn {
		padding: 16px 40px;
		font-size: 14px;
	}

	.contact__note p {
		font-size: 12px;
	}
}
