/**
 * フリマ発送方法ナビ - 専用スタイル
 */

:root {
	--fsh-primary: #3D7ABF;
	--fsh-primary-light: rgba(61, 122, 191, 0.08);
	--fsh-primary-border: rgba(61, 122, 191, 0.3);
}

/* ===== 入力エリア ===== */
.fsh-input-area {
	padding: 32px 20px;
}

.fsh-input-inner {
	max-width: 480px;
	margin: 0 auto;
}

.fsh-input-lead {
	font-family: var(--font-display);
	font-size: 16px;
	font-weight: 700;
	color: var(--color-text);
	text-align: center;
	margin-bottom: 24px;
}

.fsh-input-group {
	margin-bottom: 20px;
}

.fsh-label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: var(--color-text);
	margin-bottom: 8px;
}

.fsh-size-inputs {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}

.fsh-size-field {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
}

.fsh-size-label {
	font-size: 11px;
	font-weight: 600;
	color: var(--color-text-muted);
}

.fsh-input {
	width: 100%;
	padding: 10px 8px;
	font-family: inherit;
	font-size: 18px;
	font-weight: 600;
	color: var(--color-text);
	text-align: center;
	background: var(--color-white);
	border: 2px solid var(--color-border);
	border-radius: var(--radius);
	outline: none;
	transition: border-color 0.2s;
	-moz-appearance: textfield;
}

.fsh-input::-webkit-outer-spin-button,
.fsh-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.fsh-input:focus {
	border-color: var(--fsh-primary);
}

.fsh-unit {
	font-size: 13px;
	font-weight: 600;
	color: var(--color-text-muted);
}

.fsh-weight-input {
	display: flex;
	align-items: center;
	gap: 8px;
	max-width: 200px;
}

.fsh-input--wide {
	text-align: center;
}

/* 検索ボタン */
.fsh-search-btn {
	display: block;
	width: 100%;
	padding: 14px;
	margin-top: 24px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	background: linear-gradient(135deg, #3D7ABF, #2E6AAF);
	border: none;
	border-radius: var(--radius);
	cursor: pointer;
	transition: all 0.2s;
}

.fsh-search-btn:hover {
	background: linear-gradient(135deg, #2E6AAF, #1F5A9F);
}

.fsh-input-note {
	margin-top: 10px;
	font-size: 13px;
	color: #C0392B;
	text-align: center;
}

/* ===== 結果エリア ===== */
.fsh-result-area {
	padding: 24px 20px;
}

.fsh-result-inner {
	max-width: 600px;
	margin: 0 auto;
}

.fsh-result-header {
	margin-bottom: 20px;
}

.fsh-result-summary {
	font-size: 14px;
	font-weight: 600;
	color: var(--color-text);
	text-align: center;
	line-height: 1.6;
	padding: 10px 16px;
	background: var(--fsh-primary-light);
	border: 1px solid var(--fsh-primary-border);
	border-radius: 8px;
}

.fsh-result-summary strong {
	color: var(--fsh-primary);
}

/* 結果リスト */
.fsh-result-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* 結果カード */
.fsh-method-card {
	background: var(--color-white);
	border: 2px solid var(--color-border);
	border-radius: 10px;
	padding: 16px;
	opacity: 0;
	transform: translateY(12px);
	animation: fshCardIn 0.4s ease forwards;
}

.fsh-method-card:nth-child(1) { animation-delay: 0.05s; }
.fsh-method-card:nth-child(2) { animation-delay: 0.1s; }
.fsh-method-card:nth-child(3) { animation-delay: 0.15s; }
.fsh-method-card:nth-child(4) { animation-delay: 0.2s; }
.fsh-method-card:nth-child(5) { animation-delay: 0.25s; }
.fsh-method-card:nth-child(6) { animation-delay: 0.3s; }
.fsh-method-card:nth-child(n+7) { animation-delay: 0.35s; }

@keyframes fshCardIn {
	to { opacity: 1; transform: translateY(0); }
}

.fsh-method-card--best {
	border-color: #DAA520;
	background: linear-gradient(135deg, rgba(218, 165, 32, 0.04), rgba(255, 215, 0, 0.02));
}

/* カードヘッダー */
.fsh-method-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}

.fsh-method-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	font-size: 15px;
	font-weight: 700;
	color: #fff;
	border-radius: 50%;
	flex-shrink: 0;
}

.fsh-method-info {
	flex: 1;
	min-width: 0;
}

.fsh-method-name {
	font-size: 14px;
	font-weight: 700;
	color: var(--color-text);
	line-height: 1.4;
}

.fsh-method-service {
	font-size: 11px;
	color: var(--color-text-muted);
}

.fsh-method-price {
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 700;
	color: var(--fsh-primary);
	flex-shrink: 0;
	white-space: nowrap;
}

.fsh-method-price-note {
	display: block;
	font-size: 10px;
	font-weight: 500;
	color: var(--color-text-muted);
	text-align: right;
}

.fsh-method-card--best .fsh-method-price {
	color: #B8860B;
}

/* 最安バッジ */
.fsh-best-badge {
	display: inline-flex;
	align-items: center;
	padding: 2px 8px;
	font-size: 10px;
	font-weight: 700;
	color: #B8860B;
	background: rgba(218, 165, 32, 0.12);
	border-radius: 10px;
	margin-left: 6px;
}

/* 特徴タグ */
.fsh-tags {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}

.fsh-tag {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	font-size: 11px;
	padding: 3px 8px;
	border-radius: 12px;
	font-weight: 600;
}

.fsh-tag--yes {
	color: #2DA68E;
	background: rgba(45, 166, 142, 0.1);
}

.fsh-tag--no {
	color: #A0A0A0;
	background: rgba(160, 160, 160, 0.08);
}

.fsh-tag-dot {
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
}

.fsh-tag--yes .fsh-tag-dot { background: #2DA68E; }
.fsh-tag--no .fsh-tag-dot { background: #CCCCCC; }

/* 対応なし */
.fsh-no-result {
	text-align: center;
	padding: 32px 20px;
}

.fsh-no-result-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	font-size: 24px;
	font-weight: 700;
	color: #C0392B;
	background: rgba(192, 57, 43, 0.08);
	border-radius: 50%;
	margin-bottom: 12px;
}

.fsh-no-result-text {
	font-size: 14px;
	color: var(--color-text-muted);
	line-height: 1.7;
}

.fsh-recalc-btn {
	display: block;
	width: 100%;
	max-width: 300px;
	margin: 24px auto 0;
}

/* ===== 発送方法一覧（説明セクション） ===== */
.fsh-method-overview {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.fsh-overview-card {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 12px;
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
}

.fsh-overview-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	font-size: 13px;
	font-weight: 700;
	color: #fff;
	border-radius: 50%;
	flex-shrink: 0;
}

.fsh-overview-body {
	flex: 1;
}

.fsh-overview-name {
	font-size: 13px;
	font-weight: 700;
	color: var(--color-text);
}

.fsh-overview-desc {
	font-size: 11px;
	color: var(--color-text-muted);
	line-height: 1.5;
}

/* ===== 買取CTA導線（アフィリエイトリンク設置時に有効化） ===== */
/*
.fsh-cta-area {
	margin-top: 20px;
}

.fsh-cta-box {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 18px;
	background: rgba(45, 166, 142, 0.06);
	border: 1px solid rgba(45, 166, 142, 0.25);
	border-radius: 10px;
}

.fsh-cta-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	font-size: 17px;
	font-weight: 700;
	color: #fff;
	border-radius: 50%;
	flex-shrink: 0;
}

.fsh-cta-body {
	flex: 1;
}

.fsh-cta-title {
	font-size: 14px;
	font-weight: 700;
	color: var(--color-text);
	margin-bottom: 4px;
}

.fsh-cta-text {
	font-size: 13px;
	color: var(--color-text);
	line-height: 1.7;
	margin-bottom: 10px;
}

.fsh-cta-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 20px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	background: linear-gradient(135deg, #2DA68E, #25917B);
	border: none;
	border-radius: var(--radius);
	text-decoration: none;
	cursor: pointer;
	transition: all 0.2s;
}

.fsh-cta-button:hover {
	background: linear-gradient(135deg, #25917B, #1E7D68);
	color: #fff;
}
*/

/* ===== レスポンシブ ===== */
@media (max-width: 480px) {
	.fsh-size-inputs {
		gap: 8px;
	}

	.fsh-input {
		font-size: 16px;
		padding: 8px 6px;
	}

	.fsh-method-price {
		font-size: 18px;
	}

	.fsh-method-name {
		font-size: 13px;
	}
}

@media (max-width: 360px) {
	.fsh-input-area {
		padding: 24px 16px;
	}

	.fsh-result-area {
		padding: 20px 16px;
	}

	.fsh-tags {
		gap: 4px;
	}

	.fsh-tag {
		font-size: 10px;
		padding: 2px 6px;
	}
}
