@charset "UTF-8";

/* ==========================================================================
   お問い合わせページ 固有スタイルシート (contact.css)
   かえりの森・ペット用山林散骨
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. ページヘッダー（キービジュアル）装飾
   -------------------------------------------------------------------------- */

/* ページリード文 */
.p-contact-hero__lead {
	font-size: 14px;
	line-height: 1.8;
	color: #555555;
	max-width: 680px;
	margin: 14px auto 0;
	text-align: center;
}

/* --------------------------------------------------------------------------
   2. メインコンテンツ レイアウト (2カラムグリッド)
   -------------------------------------------------------------------------- */
.p-contact-main {
	padding-top: 48px;
	padding-bottom: 80px;
}

.p-contact-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	align-items: start;
}

/* --------------------------------------------------------------------------
   3. 左側サイドバー（LINE誘導・安心の約束・FAQ案内）
   -------------------------------------------------------------------------- */
.p-contact-sidebar {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

/* --- LINE誘導カード --- */
.p-contact-line-card {
	background-color: #FFFFFF;
	border-radius: 16px;
	padding: 28px 24px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
	border: 1px solid #E5DCD3;
	border-top: 4px solid var(--color_primary);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.p-contact-line-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
}

.p-contact-line-header {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 14px;
}

.p-contact-line-icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background-color: rgba(6, 199, 85, 0.12);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #06C755;
	font-size: 28px;
	flex-shrink: 0;
}

.p-contact-line-title-group {
	display: flex;
	flex-direction: column;
}

.p-contact-line-badge {
	font-size: 12px;
	font-weight: 700;
	color: var(--color_primary);
	letter-spacing: 0.05em;
	display: inline-block;
	margin-bottom: 2px;
}

.p-contact-line-title {
	font-size: 19px;
	font-weight: 700;
	color: #333333;
	margin: 0;
	line-height: 1.3;
}

.p-contact-line-desc {
	font-size: 14px;
	color: #666666;
	line-height: 1.7;
	margin-bottom: 20px;
}

.p-contact-btn-line {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	background-color: #06C755;
	color: #FFFFFF;
	font-size: 15px;
	font-weight: 700;
	padding: 14px 20px;
	border-radius: 10px;
	box-shadow: 0 4px 12px rgba(6, 199, 85, 0.25);
	transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
	text-decoration: none;
}

.p-contact-btn-line:hover {
	background-color: #05B34C;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(6, 199, 85, 0.35);
}

.p-contact-btn-line i {
	font-size: 20px;
}

/* --- 安心のお約束カード --- */
.p-contact-promise-card {
	background-color: #FFFFFF;
	border-radius: 16px;
	padding: 24px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
	border: 1px solid #E5DCD3;
}

.p-contact-promise-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 16px;
	font-weight: 700;
	color: #333333;
	margin: 0 0 16px 0;
	padding-bottom: 12px;
	border-bottom: 2px solid #FAF7F2;
}

.p-contact-promise-title i {
	color: #E86A33;
	font-size: 18px;
}

.p-contact-promise-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.p-contact-promise-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 13.5px;
	color: #555555;
	line-height: 1.6;
}

.p-contact-promise-item i {
	color: #E86A33;
	font-size: 14px;
	margin-top: 4px;
	flex-shrink: 0;
}

/* --- よくある質問（FAQ）カード --- */
.p-contact-faq-card {
	background: linear-gradient(135deg, #FFFFFF, #FFF9F5);
	border-radius: 16px;
	padding: 24px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
	border: 1px solid #E86A33;
}

.p-contact-faq-title {
	font-size: 16px;
	font-weight: 700;
	color: #E86A33;
	margin: 0 0 8px 0;
	display: flex;
	align-items: center;
	gap: 8px;
}

.p-contact-faq-desc {
	font-size: 13.5px;
	color: #666666;
	line-height: 1.6;
	margin-bottom: 16px;
}

.p-contact-faq-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 700;
	color: #E86A33;
	text-decoration: none;
	transition: color 0.2s ease, transform 0.2s ease;
}

.p-contact-faq-link:hover {
	color: #FF3D27;
	transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   4. 右側メイン：Webお問い合わせフォーム
   -------------------------------------------------------------------------- */
.p-contact-form-card {
	background-color: #FFFFFF;
	border-radius: 16px;
	padding: 32px 24px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
	border: 1px solid #E5DCD3;
}

.p-contact-form-header {
	margin-bottom: 28px;
	padding-bottom: 18px;
	border-bottom: 2px solid #FAF7F2;
}

.p-contact-form-title {
	font-size: 22px;
	font-weight: 700;
	color: #333333;
	margin: 0 0 10px 0;
	position: relative;
	padding-left: 14px;
}

.p-contact-form-title::before {
	content: "";
	position: absolute;
	left: 0;
	top: 4px;
	bottom: 4px;
	width: 4px;
	background: linear-gradient(to bottom, #E86A33, #FF3D27);
	border-radius: 2px;
}

.p-contact-form-note {
	font-size: 13.5px;
	color: #666666;
	line-height: 1.6;
	margin: 0;
}

/* --- エラーアラート枠 --- */
.p-contact-alert {
	display: none;
	background-color: #FFF5F5;
	border: 1px solid #FEB2B2;
	color: #C53030;
	padding: 14px 18px;
	border-radius: 10px;
	margin-bottom: 24px;
}

.p-contact-alert__inner {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 14px;
	line-height: 1.5;
}

.p-contact-alert__inner i {
	font-size: 18px;
	flex-shrink: 0;
}

/* --- フォームレイアウト --- */
.p-contact-form {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.p-contact-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

/* ラベル表記 */
.p-contact-label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 700;
	color: #333333;
}

.p-contact-required {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	color: #FFFFFF;
	background-color: #FF3D27;
	padding: 2px 8px;
	border-radius: 4px;
	letter-spacing: 0.05em;
}

/* 入力共通スタイル */
.p-contact-input,
.p-contact-select,
.p-contact-textarea {
	width: 100%;
	font-size: 15px;
	color: #333333;
	background-color: #FAFAFA;
	border: 1px solid #D6CECE;
	border-radius: 8px;
	padding: 13px 16px;
	outline: none;
	transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
	font-family: inherit;
}

.p-contact-input:focus,
.p-contact-select:focus,
.p-contact-textarea:focus {
	border-color: #E86A33;
	background-color: #FFFFFF;
	box-shadow: 0 0 0 3px rgba(232, 106, 51, 0.15);
}

.p-contact-input::placeholder,
.p-contact-textarea::placeholder {
	color: #999999;
}

/* 入力エラー時のスタイル */
.p-contact-input.is-error,
.p-contact-select.is-error,
.p-contact-textarea.is-error {
	border-color: #FF3D27;
	background-color: #FFFDFD;
	box-shadow: 0 0 0 3px rgba(255, 61, 39, 0.12);
}

/* セレクトボックスのカスタム外観 */
.p-contact-select-wrap {
	position: relative;
	width: 100%;
}

.p-contact-select {
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	padding-right: 44px;
}

.p-contact-select-arrow {
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
	color: #888888;
	font-size: 13px;
}

/* テキストエリア */
.p-contact-textarea {
	resize: vertical;
	min-height: 140px;
	line-height: 1.7;
}

/* 入力ヒント＆エラーメッセージ */
.p-contact-hint {
	display: block;
	font-size: 12.5px;
	color: #888888;
	margin: 0;
	line-height: 1.5;
}

.p-contact-error-msg {
	font-size: 12.5px;
	color: #FF3D27;
	margin: 0;
	font-weight: 700;
	display: none;
}

/* --- プライバシーポリシー同意枠 --- */
.p-contact-agree {
	background-color: #FAF7F2;
	border: 1px solid #E5DCD3;
	border-radius: 10px;
	padding: 16px 20px;
	margin-top: 8px;
}

.p-contact-agree-inner {
	display: flex;
	align-items: center;
	gap: 12px;
}

.p-contact-checkbox {
	width: 20px;
	height: 20px;
	accent-color: #E86A33;
	cursor: pointer;
	flex-shrink: 0;
}

.p-contact-agree-label {
	font-size: 13.5px;
	color: #444444;
	line-height: 1.6;
	cursor: pointer;
}

.p-contact-privacy-link {
	color: #E86A33;
	font-weight: 700;
	text-decoration: underline;
	transition: color 0.2s ease;
}

.p-contact-privacy-link:hover {
	color: #FF3D27;
}

/* --- 送信ボタンラッパー --- */
.p-contact-submit-wrap {
	margin-top: 12px;
	text-align: center;
}

.p-contact-btn-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	max-width: 440px;
	padding: 18px 32px;
	font-size: 16px;
	font-weight: 700;
	color: #FFFFFF;
	background: linear-gradient(to right, #E86A33, #FF3D27);
	border: none;
	border-radius: 12px;
	cursor: pointer;
	box-shadow: 0 4px 16px rgba(232, 106, 51, 0.30);
	transition: opacity 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.p-contact-btn-submit:hover {
	opacity: 0.92;
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(232, 106, 51, 0.40);
}

.p-contact-btn-submit i {
	font-size: 17px;
}

.p-contact-btn-submit:disabled {
	background: #CCCCCC;
	box-shadow: none;
	cursor: not-allowed;
	transform: none;
	opacity: 0.7;
}

/* --------------------------------------------------------------------------
   5. レスポンシブ対応
   -------------------------------------------------------------------------- */
/* タブレット (768px 〜) */
@media screen and (min-width: 768px) {
	.p-contact-hero__lead {
		font-size: 15px;
	}

	.p-contact-form-card {
		padding: 40px 36px;
	}

	.p-contact-form-title {
		font-size: 24px;
	}
}

/* PC (1024px 〜) */
@media screen and (min-width: 1024px) {
	.p-contact-main {
		padding-top: 64px;
		padding-bottom: 96px;
	}

	.p-contact-grid {
		grid-template-columns: 360px 1fr;
		gap: 40px;
	}

	.p-contact-form-card {
		padding: 48px 44px;
	}

	.p-contact-btn-submit {
		font-size: 17px;
	}
}

/* --------------------------------------------------------------------------
   6. お問い合わせ完了画面 (Complete Card)
   -------------------------------------------------------------------------- */
.p-contact-complete-card {
	background-color: #FFFFFF;
	border-radius: 16px;
	padding: 48px 24px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
	border: 1px solid #E5DCD3;
	text-align: center;
	max-width: 680px;
	margin: 0 auto;
}

.p-contact-complete-icon {
	font-size: 56px;
	color: #E86A33;
	margin-bottom: 20px;
}

.p-contact-complete-title {
	font-size: 22px;
	font-weight: 700;
	color: #333333;
	margin-bottom: 24px;
}

.p-contact-complete-body {
	margin-bottom: 36px;
}

.p-contact-complete-text {
	font-size: 15px;
	line-height: 1.8;
	color: #444444;
	margin-bottom: 20px;
}

.p-contact-complete-note {
	font-size: 13px;
	line-height: 1.7;
	color: #777777;
	text-align: left;
	background-color: #F8F9FA;
	padding: 16px 20px;
	border-radius: 8px;
	border: 1px solid #EFEFEF;
}

.p-contact-complete-action {
	display: flex;
	justify-content: center;
}

@media screen and (min-width: 768px) {
	.p-contact-complete-card {
		padding: 60px 48px;
	}

	.p-contact-complete-title {
		font-size: 26px;
	}

	.p-contact-complete-text {
		font-size: 16px;
	}
}