/* fullcustom.css - フルカスタム注文フォームのスタイル */
/* 注意: 親テンプレート（Bootstrap + theme.css）と併用 */

/* ヘッダー */
.page-header {
	padding: 20px 20px 10px 20px;
	margin-bottom: 0;
}

/* h1はtheme.cssで統一定義 */

/* イントロダクション */
.intro-section {
	padding: 10px 20px 20px 20px;
	margin-bottom: 20px;
	border-bottom: 1px solid #ddd;
	padding-bottom: 30px;
}

/* h3/h4はtheme.cssで統一定義 */

.intro-section ul,
.intro-section ol {
	margin-bottom: 15px;
	padding-left: 25px;
}

.intro-section li {
	margin-bottom: 8px;
}

.intro-box-toggle {
	margin-top: 10px;
}

.intro-box-content {
	background: #f9f9f9;
	padding: 15px;
	border-radius: 6px;
	margin-top: 10px;
	/* フェード効果 */
	transition: opacity 0.3s ease, max-height 0.3s ease;
	opacity: 0;
	max-height: 0;
	overflow: hidden;
}

.intro-box-content.show {
	opacity: 1;
	max-height: 500px;
}

/* 汎用 detail 折りたたみ（フェード効果） */
div.detail {
	transition: opacity 0.3s ease, max-height 0.3s ease;
	opacity: 0;
	max-height: 0;
	overflow: hidden;
}

div.detail.show {
	opacity: 1;
	max-height: 2000px;
}

.intro-footer {
	margin-top: 15px;
	font-size: 0.9em;
}

.intro-footer img {
	vertical-align: middle;
	margin-right: 5px;
}

/* セクション */
.form-section {
	background: #fff;
	border-radius: 8px;
	margin-bottom: 20px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	overflow: hidden;
}

.section-title {
	background: #ece9e3;
	color: #636363;
	margin: 0;
	padding: 15px 20px;
	font-size: 1.1em;
	border-left: 4px solid #e07145;
}

/* フィールド */
.field {
	padding: 20px;
	border-bottom: 1px solid #eee;
}

.field:last-child {
	border-bottom: none;
}

.field-label {
	font-weight: bold;
	font-size: 1em;
	color: #333;
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.field-label::before {
	content: "▼";
	color: #e07145;
	font-size: 0.8em;
}

/* 必須バッジ */
.required-badge {
	display: inline-block;
	background: #dc3545;
	color: #fff;
	font-size: 0.7em;
	font-weight: bold;
	padding: 2px 6px;
	border-radius: 3px;
	margin-left: 4px;
	vertical-align: middle;
}

/* 個人情報セクション区切り線 */
.personal-section-divider {
	margin: 30px 0 20px 0;
}
.personal-section-divider h3 {
	margin: 0;
	padding-bottom: 10px;
	border-bottom: 4px solid #636363;
	font-size: 1.1rem;
	color: #636363;
}

.field-detail {
	margin-bottom: 15px;
}

.field-input {
	margin-bottom: 10px;
}

.field-note {
	font-size: 0.9em;
	color: #666;
	margin-top: 10px;
	padding: 10px;
	background: #f9f9f9;
	border-radius: 4px;
}

/* 画像リスト（旧形式: imglist） */
.imglist {
	display: inline-block;
	float: left;
	margin: 0 8px 8px 0;
	text-align: center;
}

.imglist img {
	height: 125px;
	width: auto;
	display: block;
	border: 1px solid #ddd;
	border-radius: 4px;
	cursor: pointer;
}

.imglist img:hover {
	border-color: #e07145;
}

.imglist span {
	display: block;
	font-size: 0.8em;
	color: #666;
	margin-top: 4px;
}

/* 画像リスト（新形式: detail-images） */
.detail-images {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 12px;
}

.detail-image-card {
	display: inline-block;
	background: #fafafa;
	border: 1px solid #ddd;
	border-radius: 6px;
	padding: 8px;
	text-align: center;
	cursor: pointer;
	transition: all 0.2s;
	min-width: 100px;
	max-width: 150px;
	text-decoration: none;
}

.detail-image-card:hover {
	border-color: #e07145;
	box-shadow: 0 2px 8px rgba(224,113,69,0.3);
}

.detail-image-card img {
	max-width: 100%;
	height: 70px;
	object-fit: contain;
	display: block;
	margin: 0 auto 6px;
}

.detail-image-card span {
	font-size: 0.8em;
	color: #666;
	display: block;
}

/* 説明テキスト */
.detail-text {
	color: #444;
	font-size: 0.95em;
	margin-bottom: 12px;
	line-height: 1.7;
}

/* 生HTML（販売条件など） */
.detail-html {
	color: #444;
	font-size: 0.95em;
	margin-bottom: 12px;
	line-height: 1.7;
}

.detail-html ul {
	margin: 8px 0;
	padding-left: 1.5em;
}

.detail-html li {
	margin-bottom: 8px;
}

/* リンクリスト（箇条書き） */
.detail-links {
	margin: 8px 0 12px 1.5em;
	padding: 0;
	line-height: 1.6;
}

.detail-links li {
	margin-bottom: 4px;
}

.detail-link-badge {
	color: #c00;
	font-weight: bold;
}

.detail-link-card {
	display: inline;
	text-decoration: none;
	color: #e07145;
	transition: color 0.2s;
}

.detail-link-card:hover {
	color: #ffb866;
	text-decoration: underline;
}

/* フォーム入力 */
.form-input,
.form-textarea {
	width: 100%;
	max-width: 400px;
	padding: 12px;
	border: 2px solid #ddd;
	border-radius: 6px;
	font-size: 1em;
	transition: border-color 0.2s;
}

/* 数値入力は短め */
.form-input[type="number"] {
	max-width: 120px;
}

.form-input:focus,
.form-textarea:focus {
	outline: none;
	border-color: #e07145;
}

.form-textarea {
	max-width: 100%;
	resize: vertical;
	min-height: 100px;
}

/* 選択トリガーボタン */
.sel-trigger {
	display: inline-block;
	min-width: 300px;
	padding: 12px 40px 12px 15px;
	background: #ffffff;
	border: 2px solid #ddd;
	border-radius: 6px;
	text-align: left;
	font-size: 1em;
	cursor: pointer;
	color: #333;
	transition: border-color 0.2s;
	position: relative;
	white-space: nowrap;
}

.sel-trigger::after {
	content: "\F282";
	font-family: "bootstrap-icons";
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 0.9em;
	color: #666;
	pointer-events: none;
}

.sel-trigger:hover {
	border-color: #e07145;
}

.sel-trigger.selected {
	border-color: #e07145;
	color: #333;
}

/* 送信ボタン */
.form-actions {
	text-align: center;
	padding: 30px 20px;
}

.btn-submit {
	background: linear-gradient(180deg, #f08055 0%, #e07145 40%, #c85a35 100%);
	color: #fff;
	border: none;
	border-bottom: 3px solid #a04525;
	padding: 15px 40px;
	font-size: 1.1em;
	font-weight: bold;
	border-radius: 8px;
	cursor: pointer;
	box-shadow: 0 4px 8px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.3);
	transition: all 0.15s ease;
	text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.btn-submit:hover {
	background: linear-gradient(180deg, #ff9065 0%, #f08055 40%, #d06a45 100%);
	box-shadow: 0 6px 12px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.3);
	transform: translateY(-2px);
}

.btn-submit:active {
	background: linear-gradient(180deg, #c85a35 0%, #b84a25 40%, #a04525 100%);
	border-bottom: 1px solid #a04525;
	box-shadow: 0 2px 4px rgba(0,0,0,0.2), inset 0 1px 2px rgba(0,0,0,0.1);
	transform: translateY(1px);
}

/* 選択モーダル */
.sel-modal {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 1;
	visibility: visible;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.sel-modal.hidden {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.sel-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0,0,0,0.5);
}

.sel-modal-dialog {
	position: relative;
	background: #fff;
	border-radius: 12px;
	width: 80%;
	max-height: 80vh;
	display: flex;
	flex-direction: column;
	box-shadow: 0 10px 40px rgba(0,0,0,0.3);
	transform: scale(1);
	transition: transform 0.25s ease;
}

.sel-modal.hidden .sel-modal-dialog {
	transform: scale(0.95);
}

.sel-modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 20px;
	border-bottom: 1px solid #eee;
}

.sel-modal-title {
	font-weight: bold;
	font-size: 1.1em;
	color: #333;
}

.sel-modal-close {
	background: none;
	border: none;
	font-size: 1.5em;
	cursor: pointer;
	color: #999;
	padding: 0 5px;
}

.sel-modal-close:hover {
	color: #333;
}

.sel-modal-body {
	overflow-y: auto;
	padding: 10px 0;
}

/* モーダル内の選択肢リスト */
.sel-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sel-item {
	display: flex;
	align-items: center;
	padding: 8px 20px;
	border-bottom: 1px solid #f0f0f0;
	cursor: pointer;
	transition: background 0.2s;
}

.sel-item:hover {
	background: #f9f9f9;
}

.sel-item.selected {
	background: #fff3ee;
}

.sel-item:last-child {
	border-bottom: none;
}

.sel-btn {
	width: 36px;
	height: 27px;
	padding: 0;
	border-radius: 3px;
	cursor: pointer;
	flex-shrink: 0;
	margin-right: 12px;
	transition: all 0.1s;

	/* 立体的なデザイン - 太めボーダー */
	background: linear-gradient(180deg, #f5f5f5, #e0e0e0);
	border-style: solid;
	border-width: 3px;
	border-top-color: #fff;
	border-left-color: #eee;
	border-bottom-color: #888;
	border-right-color: #999;
	box-shadow:
		0 3px 6px rgba(0,0,0,0.2),
		inset 0 1px 0 rgba(255,255,255,0.5);
}

.sel-btn:hover {
	background: linear-gradient(180deg, #eee, #d8d8d8);
	box-shadow:
		0 2px 4px rgba(0,0,0,0.25),
		inset 0 1px 0 rgba(255,255,255,0.5);
}

.sel-btn:active {
	background: linear-gradient(180deg, #d8d8d8, #ccc);
	border-top-color: #888;
	border-left-color: #999;
	border-bottom-color: #fff;
	border-right-color: #eee;
	box-shadow:
		inset 0 2px 4px rgba(0,0,0,0.2);
	transform: translateY(2px);
}

.sel-content {
	flex: 1;
	line-height: 27px; /* ボタンの高さに合わせる */
}

.sel-label {
	font-weight: bold;
	color: #333;
	display: inline;
}

.sel-desc {
	font-size: 0.9em;
	color: #666;
	display: inline;
}

.sel-desc::before {
	content: " … ";
	color: #999;
}

/* 動画 */
.detail-video {
	max-width: 100%;
	height: auto;
	border-radius: 4px;
	margin-top: 10px;
}

/* 折りたたみビデオ */
.fullcustom_video_collapse {
	margin-top: 10px;
}

.fullcustom_video_toggle {
	display: inline-block;
	color: #8B4513;
	text-decoration: none;
	cursor: pointer;
	padding: 4px 0;
}

.fullcustom_video_toggle:hover {
	text-decoration: underline;
}

.fullcustom_video_toggle small {
	color: #8B4513;
	margin-left: 4px;
}

.fullcustom_video_content {
	margin-top: 8px;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease-out;
}

.fullcustom_video_content.open {
	max-height: 500px;
	transition: max-height 0.4s ease-in;
}

/* 合計金額パネル */
.price-panel {
	background: #fff;
	border-radius: 6px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.2);
	border: 2px solid #e07145;
	position: fixed;
	top: 70px;
	bottom: auto;
	right: 10px;
	left: auto;
	z-index: 100;
	width: auto;
	max-width: 200px;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.price-panel-inner {
	padding: 8px 12px;
}

.price-breakdown {
	margin: 0;
}

.price-row {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 4px 12px;
	padding: 2px 0;
	font-size: 0.85em;
}

.price-label {
	color: #666;
}

/* 長いラベル（改行含む）は全幅を取り、価格を下段に */
.price-label-wrap {
	flex-basis: 100%;
}

.price-value {
	font-weight: bold;
	color: #333;
	text-align: right;
	margin-left: auto;
}

/* 諸経費説明リンク（英語・韓国語） */
#fee-explanation-link {
	color: #e07145;
	text-decoration: underline;
	cursor: pointer;
}
#fee-explanation-link:hover {
	color: #ffb866;
}
#fee-explanation-link small {
	font-size: 0.9em;
}

/* 諸経費説明ポップアップ */
#fee-explanation-popup {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 20px 24px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.15);
	z-index: 10000;
	max-width: 320px;
	font-size: 0.9em;
	line-height: 1.6;
	white-space: pre-line;
}
#fee-explanation-popup.show {
	display: block;
}
#fee-explanation-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.3);
	z-index: 9999;
}
#fee-explanation-overlay.show {
	display: block;
}

.price-total-row {
	border-top: 1px solid #e07145;
	padding-top: 4px;
	margin-top: 4px;
}

.price-total-row .price-label {
	font-weight: bold;
	color: #333;
}

.price-total-row .price-value {
	font-size: 1.1em;
	color: #e07145;
}

.price-note {
	font-size: 0.75em;
	color: #888;
	margin-top: 2px;
}

/* レスポンシブ */
@media (max-width: 600px) {
	.field {
		padding: 15px;
	}

	.detail-image-card {
		min-width: 80px;
		max-width: 100px;
	}

	.detail-image-card img {
		height: 50px;
	}

	.sel-modal-dialog {
		width: 85%;
		max-height: 90vh;
	}

	/* 合計パネルのモバイル対応 */
	.price-panel {
		top: 60px;
		right: 5px;
		max-width: 180px;
	}

	.price-panel-inner {
		padding: 6px 10px;
	}

	.price-row {
		font-size: 0.8em;
		gap: 8px;
	}
}

/* スイッチUI（展開トリガー） */
.switch-trigger {
	display: inline-block;
	min-width: 250px;
	padding: 12px 20px;
	background: linear-gradient(180deg, #f8f8f8, #e8e8e8);
	border: 2px solid #ddd;
	border-radius: 6px;
	color: #555;
	font-size: 1em;
	cursor: pointer;
	text-align: left;
	transition: all 0.2s;
}

.switch-trigger:hover {
	border-color: #e07145;
	background: linear-gradient(180deg, #fff, #f0f0f0);
}

.switch-trigger.opened {
	background: #f0f8f0;
	border-color: #4caf50;
	color: #2e7d32;
	cursor: default;
}

.switch-trigger.opened:hover {
	background: #f0f8f0;
	border-color: #4caf50;
}

/* 警告・エラー表示 */
.field-warning {
	margin-top: 5px;
}

.field-warning .alert {
	margin: 0;
	padding: 8px 12px;
	font-size: 0.9em;
}

.field-warning .alert-warning {
	background-color: #fff3cd;
	border: 1px solid #ffc107;
	border-radius: 4px;
	color: #856404;
}

.field-warning .alert-danger {
	background-color: #f8d7da;
	border: 1px solid #f5c6cb;
	border-radius: 4px;
	color: #721c24;
}

/* 郵便番号から住所取得ボタン */
#yubin-lookup-container {
	margin-top: 8px;
}

.btn-yubin-lookup {
	background: linear-gradient(180deg, #4a90d9, #3a7bc8);
	color: #fff;
	border: 1px solid #2e6bb8;
	border-radius: 4px;
	padding: 6px 14px;
	font-size: 0.9em;
	cursor: pointer;
	transition: all 0.2s;
}

.btn-yubin-lookup:hover {
	background: linear-gradient(180deg, #5a9fe9, #4a8bd8);
	border-color: #3e7bc8;
}

.btn-yubin-lookup:active {
	background: linear-gradient(180deg, #3a7bc8, #2e6bb8);
}

#yubin-lookup-message {
	margin-left: 10px;
	font-size: 0.9em;
}

/* 確認コード送信ボタン */
.authcode-controls {
	margin-top: 8px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.btn-authcode {
	background: linear-gradient(180deg, #e88a66, #e07145);
	color: #fff;
	border: 1px solid #c85a35;
	border-radius: 4px;
	padding: 8px 16px;
	font-size: 0.95em;
	cursor: pointer;
	transition: all 0.15s;
	box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.btn-authcode:hover {
	background: linear-gradient(180deg, #e07145, #c85a35);
}

.btn-authcode:active {
	background: linear-gradient(180deg, #c85a35, #b04a2a);
	transform: translateY(1px);
}

.btn-authcode:disabled {
	background: #ccc;
	border-color: #aaa;
	cursor: not-allowed;
}

#authcode-message {
	font-size: 0.9em;
}

.authcode-help {
	margin-top: 8px;
	font-size: 0.85em;
	color: #666;
	line-height: 1.5;
}

/* 確認モーダルダイアログ */
.confirm-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10000;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, visibility 0.3s;
}

.confirm-modal-overlay.active {
	opacity: 1;
	visibility: visible;
}

.confirm-modal {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.3);
	max-width: 450px;
	width: 90%;
	max-height: 80vh;
	overflow-y: auto;
	transform: scale(0.9);
	transition: transform 0.3s;
}

.confirm-modal-overlay.active .confirm-modal {
	transform: scale(1);
}

.confirm-modal-header {
	background: #636363;
	color: #fff;
	padding: 15px 20px;
	border-radius: 8px 8px 0 0;
	font-size: 1.1em;
	font-weight: bold;
}

.confirm-modal-body {
	padding: 20px;
}

.confirm-modal-price-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 15px;
}

.confirm-modal-price-table th,
.confirm-modal-price-table td {
	padding: 10px 5px;
	text-align: right;
	border-bottom: 1px solid #eee;
}

.confirm-modal-price-table th {
	text-align: left;
	font-weight: normal;
	color: #666;
}

.confirm-modal-price-table tr.total {
	border-top: 2px solid #636363;
	font-weight: bold;
	font-size: 1.2em;
}

.confirm-modal-price-table tr.total td {
	color: #e07145;
}

.confirm-modal-note {
	font-size: 0.85em;
	color: #888;
	margin-top: 10px;
	padding: 10px;
	background: #f9f9f9;
	border-radius: 4px;
}

.confirm-modal-footer {
	padding: 15px 20px;
	border-top: 1px solid #eee;
	display: flex;
	justify-content: flex-end;
	gap: 10px;
}

.confirm-modal-btn {
	padding: 10px 25px;
	border-radius: 4px;
	font-size: 1em;
	cursor: pointer;
	transition: all 0.15s;
}

.confirm-modal-btn-cancel {
	background: #f5f5f5;
	border: 1px solid #ddd;
	color: #666;
}

.confirm-modal-btn-cancel:hover {
	background: #eee;
}

.confirm-modal-btn-submit {
	background: linear-gradient(180deg, #e88a66, #e07145);
	border: 1px solid #c85a35;
	color: #fff;
	box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.confirm-modal-btn-submit:hover {
	background: linear-gradient(180deg, #e07145, #c85a35);
}

.confirm-modal-btn-submit:disabled {
	background: #ccc;
	border-color: #aaa;
	cursor: not-allowed;
}

/* 送信中のスピナー */
.confirm-modal-spinner {
	display: inline-block;
	width: 16px;
	height: 16px;
	border: 2px solid #fff;
	border-top-color: transparent;
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
	margin-right: 8px;
	vertical-align: middle;
}

@keyframes spin {
	to { transform: rotate(360deg); }
}

/* エラーメッセージ */
.confirm-modal-error {
	background: #f8d7da;
	border: 1px solid #f5c6cb;
	color: #721c24;
	padding: 10px 15px;
	border-radius: 4px;
	margin-bottom: 15px;
	display: none;
}

.confirm-modal-error.show {
	display: block;
}

/* フィールド内メッセージ表示（3種類） */

/* エラー（赤系）：必須入力が空、組み合わせエラーなど → 注文不可 */
.field-validation-error {
	background-color: #f8d7da;
	border: 1px solid #f5c6cb;
	color: #721c24;
	padding: 8px 12px;
	margin-top: 8px;
	border-radius: 4px;
	font-size: 14px;
}

/* wtag: 注意（水色系）：注意事項・補足警告 → 注文可能 */
.field-validation-wtag {
	background-color: #d1ecf1;
	border: 1px solid #bee5eb;
	color: #0c5460;
	padding: 8px 12px;
	margin-top: 8px;
	border-radius: 4px;
	font-size: 14px;
}

/* itag: 情報（緑色系）：追加説明・使い方 → 注文可能 */
.field-validation-itag {
	background-color: #d4edda;
	border: 1px solid #c3e6cb;
	color: #155724;
	padding: 8px 12px;
	margin-top: 8px;
	border-radius: 4px;
	font-size: 14px;
}

/* 組み合わせエラー・警告・情報（.field-warning 内に表示） */
.conflict-error {
	background-color: #f8d7da;
	border: 1px solid #f5c6cb;
	border-left: 4px solid #dc3545;
	color: #721c24;
	padding: 10px 14px;
	margin-top: 8px;
	border-radius: 4px;
	font-size: 14px;
	line-height: 1.5;
}

.conflict-warning {
	background-color: #d1ecf1;
	border: 1px solid #bee5eb;
	border-left: 4px solid #17a2b8;
	color: #0c5460;
	padding: 10px 14px;
	margin-top: 8px;
	border-radius: 4px;
	font-size: 14px;
	line-height: 1.5;
}

.conflict-info {
	background-color: #d4edda;
	border: 1px solid #c3e6cb;
	border-left: 4px solid #28a745;
	color: #155724;
	padding: 10px 14px;
	margin-top: 8px;
	border-radius: 4px;
	font-size: 14px;
	line-height: 1.5;
}

/* 送信成功メッセージ */
.order-success {
	text-align: center;
	padding: 40px 20px;
	background: #d4edda;
	border: 2px solid #28a745;
	border-radius: 8px;
	margin: 20px 0;
}
.order-success h2 {
	color: #155724;
	margin: 0 0 15px 0;
	font-size: 1.5rem;
}
.order-success p {
	color: #155724;
	margin: 0;
	font-size: 1rem;
	line-height: 1.6;
}

/* お取引における重要表示 */
.important-notice {
	display: block;
	margin-top: 20px;
	padding: 15px;
	background: #f9f9f9;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 11px;
	color: #666;
	line-height: 1.6;
}

.important-notice h3 {
	font-size: 12px;
	font-weight: bold;
	margin: 0 0 10px 0;
	color: #333;
}

.important-notice ul {
	margin: 0;
	padding-left: 1.5em;
}

.important-notice li {
	margin-bottom: 4px;
}

/* ========================================
   easyorder プリセット演出
   ======================================== */

/* プリセット用オーバーレイ（50%不透明の暗い背景） */
.preset-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 10000;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.preset-overlay.active {
	opacity: 1;
	visibility: visible;
}

/* プリセット中バナー（画面中央） */
.preset-banner {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #fff;
	color: #333;
	padding: 24px 40px;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	z-index: 10001;
	font-size: 1.1em;
	text-align: center;
	max-width: 90%;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.preset-banner.active {
	opacity: 1;
	visibility: visible;
}

.preset-banner-message {
	margin-bottom: 16px;
}

.preset-cancel-btn {
	display: inline-block;
	padding: 8px 24px;
	background: #6c757d;
	color: white;
	border: none;
	border-radius: 4px;
	font-size: 1em;
	cursor: pointer;
	transition: background 0.2s;
}

.preset-cancel-btn:hover {
	background: #5a6268;
}

/* 完了バナー（ページ上部に固定） */
.easyorder-banner {
	background: #e07145;
	color: white;
	padding: 12px 40px 12px 16px;
	margin-bottom: 16px;
	border-radius: 4px;
	position: relative;
	transition: opacity 0.5s;
}

.easyorder-complete-banner {
	background: #28a745;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 9999;
	margin: 0;
	border-radius: 0;
	text-align: center;
}

/* キャンセルバナー（赤） */
.easyorder-cancel-banner {
	background: #dc3545;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 9999;
	margin: 0;
	border-radius: 0;
	text-align: center;
}

.easyorder-banner-close {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: white;
	font-size: 20px;
	cursor: pointer;
	padding: 4px 8px;
}

.easyorder-banner-close:hover {
	opacity: 0.7;
}

/* プリセット演出：フィールドハイライト */
.preset-highlight {
	position: relative;
	z-index: 10002;
	background: #fffde7 !important;
	box-shadow: 0 0 0 4px #ffc107, 0 0 20px rgba(255, 193, 7, 0.5);
	border-radius: 8px;
	transition: box-shadow 0.3s ease, background 0.3s ease;
}

/* プリセット演出：ボタンを押す */
.preset-pressing {
	transform: scale(0.95) !important;
	box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2) !important;
	transition: transform 0.1s ease, box-shadow 0.1s ease !important;
}

/* プリセット演出：選択肢ハイライト */
.preset-item-highlight {
	background: #fff3cd !important;
	box-shadow: 0 0 0 3px #ffc107 !important;
	border-radius: 4px;
	transition: background 0.2s ease, box-shadow 0.2s ease;
}

/* ========================================
   お問い合わせフォーム: FAQ回答表示
   ======================================== */

/* FAQ回答表示エリア */
.faq-answer {
	background: #d4edda;
	border: 1px solid #c3e6cb;
	border-radius: 8px;
	padding: 15px 20px;
	margin: 20px 0;
	/* フェード効果 */
	transition: opacity 0.3s ease, max-height 0.4s ease;
	opacity: 0;
	max-height: 0;
	overflow: hidden;
	padding: 0 20px;
}

.faq-answer.show {
	opacity: 1;
	max-height: 800px;
	padding: 15px 20px;
}

.faq-answer h5 {
	color: #155724;
	margin-bottom: 10px;
	font-weight: bold;
}

.faq-answer p {
	color: #155724;
	margin: 0;
	line-height: 1.7;
}

.faq-answer a {
	color: #0d5932;
	text-decoration: underline;
}

.faq-answer a:hover {
	color: #0a4526;
}

/* フォームセクション（条件付き表示） */
#inquiry-form-section {
	transition: opacity 0.3s ease;
}

#inquiry-form-section.hidden {
	opacity: 0;
	pointer-events: none;
}
