/*
NEKONE Theme - かんたん自動見積もり スタイル
サイト全体のデザイン(白・黒・ダークグレー・控えめなゴールド)に合わせる。
ゴールド(#B89A5E)はBGMライブラリのNEWバッジと同じ色を、強調が必要な
ごく一部の箇所(選択中の状態・区切り線)にのみ控えめに使用する。
*/

.nekone-estimate {
	max-width: 640px;
	margin: 0 auto;
}

/* ステップ表示(PC) */
.nekone-estimate__progress {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	margin: 0 0 40px;
	padding: 0;
	list-style: none;
}

.nekone-estimate__progress li {
	flex: 1;
	text-align: center;
	font-size: 0.75rem;
	letter-spacing: 0.04em;
	color: var(--wp--preset--color--gray, #6b6b6b);
	border-top: 2px solid var(--wp--preset--color--border-gray, #e2e0db);
	padding-top: 12px;
}

.nekone-estimate__progress li span {
	display: block;
	font-size: 0.7rem;
	letter-spacing: 0.12em;
	margin-bottom: 4px;
}

.nekone-estimate__progress li.is-active {
	color: var(--wp--preset--color--contrast, #111111);
	border-top-color: #B89A5E;
	font-weight: 600;
}

.nekone-estimate__progress li.is-done {
	border-top-color: var(--wp--preset--color--contrast, #111111);
}

.nekone-estimate__progress-mobile {
	display: none;
	font-size: 0.8rem;
	letter-spacing: 0.05em;
	color: var(--wp--preset--color--gray, #6b6b6b);
	margin: 0 0 24px;
	text-align: center;
}

@media (max-width: 599px) {
	.nekone-estimate__progress {
		display: none;
	}
	.nekone-estimate__progress-mobile {
		display: block;
	}
}

/* 本文エリア */
.nekone-estimate__body {
	min-height: 220px;
}

.nekone-estimate__body > * {
	animation: nekone-estimate-fade-in 0.35s ease;
}

@keyframes nekone-estimate-fade-in {
	from {
		opacity: 0;
		transform: translateY(4px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.nekone-estimate__body > * {
		animation: none;
	}
}

.nekone-estimate__heading {
	font-size: clamp(1.25rem, 4vw, 1.5rem);
	margin: 0 0 20px;
	text-align: center;
}

.nekone-estimate__note {
	color: var(--wp--preset--color--gray, #6b6b6b);
	font-size: 0.9rem;
	text-align: center;
	margin: 0 0 24px;
	line-height: 1.8;
}

/* 選択肢(単一選択) */
.nekone-estimate__options {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
	margin: 0 0 24px;
}

@media (min-width: 600px) {
	.nekone-estimate__options:not(.nekone-estimate__options--checkbox) {
		grid-template-columns: repeat(2, 1fr);
	}
	.nekone-estimate__options--category {
		grid-template-columns: 1fr;
	}
}

.nekone-estimate__option {
	display: block;
	width: 100%;
	background: var(--wp--preset--color--base, #ffffff);
	border: 1px solid var(--wp--preset--color--border-gray, #e2e0db);
	color: var(--wp--preset--color--contrast, #111111);
	font-size: 0.95rem;
	font-weight: 500;
	padding: 16px 20px;
	text-align: left;
	cursor: pointer;
	border-radius: 2px;
	transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}

.nekone-estimate__option:hover {
	border-color: var(--wp--preset--color--contrast, #111111);
}

.nekone-estimate__option.is-selected {
	background: var(--wp--preset--color--contrast, #111111);
	border-color: var(--wp--preset--color--contrast, #111111);
	color: var(--wp--preset--color--base, #ffffff);
	transform: translateY(-1px);
}

.nekone-estimate__options--category .nekone-estimate__option {
	font-size: 1.05rem;
	font-weight: 600;
	text-align: center;
	padding: 20px;
}

/* オプション(複数選択) */
.nekone-estimate__options--checkbox {
	grid-template-columns: 1fr;
}

.nekone-estimate__checkbox {
	display: flex;
	align-items: center;
	gap: 12px;
	background: var(--wp--preset--color--base, #ffffff);
	border: 1px solid var(--wp--preset--color--border-gray, #e2e0db);
	padding: 14px 18px;
	font-size: 0.95rem;
	cursor: pointer;
	border-radius: 2px;
}

.nekone-estimate__checkbox input[type="checkbox"] {
	width: 18px;
	height: 18px;
	accent-color: var(--wp--preset--color--contrast, #111111);
	flex-shrink: 0;
}

/* 曲数入力 */
.nekone-estimate__quantity {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin: 0 0 8px;
}

.nekone-estimate__quantity-input {
	width: 100px;
	padding: 12px 14px;
	font-size: 1.1rem;
	text-align: center;
	border: 1px solid var(--wp--preset--color--border-gray, #e2e0db);
	border-radius: 2px;
}

.nekone-estimate__quantity-unit {
	font-size: 0.95rem;
	color: var(--wp--preset--color--gray, #6b6b6b);
}

.nekone-estimate__error {
	color: #b3261e;
	font-size: 0.85rem;
	text-align: center;
	margin: 0 0 16px;
}

/* 見積もり結果 */
.nekone-estimate__summary {
	text-align: center;
	margin: 0 0 24px;
}

.nekone-estimate__summary-line {
	margin: 0 0 4px;
	font-size: 1rem;
	color: var(--wp--preset--color--dark-gray, #333333);
}

.nekone-estimate__summary-line:first-child {
	font-weight: 700;
	font-size: 1.1rem;
	color: var(--wp--preset--color--contrast, #111111);
}

.nekone-estimate__lines {
	border-top: 1px solid var(--wp--preset--color--border-gray, #e2e0db);
	margin: 0 0 24px;
}

.nekone-estimate__line {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1px solid var(--wp--preset--color--border-gray, #e2e0db);
	font-size: 0.95rem;
}

.nekone-estimate__line-amount {
	font-weight: 600;
	white-space: nowrap;
}

.nekone-estimate__divider {
	border: none;
	border-top: 1px solid #B89A5E;
	margin: 0 0 24px;
}

.nekone-estimate__total {
	text-align: center;
	margin: 0 0 20px;
}

.nekone-estimate__total-label {
	font-size: 0.8rem;
	letter-spacing: 0.12em;
	color: var(--wp--preset--color--gray, #6b6b6b);
	margin: 0 0 8px;
}

.nekone-estimate__total-amount {
	font-size: clamp(2rem, 7vw, 2.75rem);
	font-weight: 700;
	color: var(--wp--preset--color--contrast, #111111);
	margin: 0;
	letter-spacing: 0.02em;
}

.nekone-estimate__consult-note {
	font-size: 0.85rem;
	color: var(--wp--preset--color--gray, #6b6b6b);
	text-align: center;
	margin: 0 0 20px;
}

.nekone-estimate__disclaimer {
	background: var(--wp--preset--color--base-light, #f5f4f1);
	border: 1px solid var(--wp--preset--color--border-gray, #e2e0db);
	padding: 16px 20px;
	font-size: 0.85rem;
	color: var(--wp--preset--color--dark-gray, #333333);
	text-align: center;
	margin: 0 0 32px;
}

/* ボタン・ナビゲーション */
.nekone-estimate__cta {
	display: flex;
	justify-content: center;
	margin: 0 0 16px;
}

.nekone-btn-dark-inline {
	display: inline-block;
	background: var(--wp--preset--color--contrast, #111111);
	color: var(--wp--preset--color--base, #ffffff);
	border: none;
	padding: 14px 32px;
	font-size: 0.95rem;
	font-weight: 600;
	border-radius: 2px;
	cursor: pointer;
	text-decoration: none;
	min-height: 48px;
	text-align: center;
	transition: background-color 0.15s ease;
}

.nekone-btn-dark-inline:hover {
	background: var(--wp--preset--color--dark-gray, #333333);
	color: var(--wp--preset--color--base, #ffffff);
}

.nekone-estimate__nav {
	display: flex;
	justify-content: center;
}

.nekone-estimate__back {
	background: none;
	border: none;
	color: var(--wp--preset--color--gray, #6b6b6b);
	font-size: 0.9rem;
	cursor: pointer;
	padding: 8px 12px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.nekone-estimate__back:hover {
	color: var(--wp--preset--color--contrast, #111111);
}

.nekone-estimate__noscript {
	text-align: center;
	color: var(--wp--preset--color--gray, #6b6b6b);
	font-size: 0.9rem;
}
