/**
 * Area Guide Styles
 *
 * @package Emanon_Premium_Child
 * @since 1.2.0
 */

/* ==========================================================================
   Variables (CSS Custom Properties)
   サイト全体のトンマナに合わせた配色
   ========================================================================== */
.area-guide-main,
.estimate-form-section {
	/* カラー: イエローベース */
	--guide-primary: #feaf00;
	--guide-primary-dark: #e59d00;
	--guide-secondary: #f7f8f9;
	--guide-text: #333;
	--guide-text-light: #666;
	--guide-border: #ddd;
	--guide-radius: 4px;
}

/* ==========================================================================
   Layout
   ========================================================================== */

/* Area Guideページ全体の背景を白に */
body.area-guide-page {
	background: #fff !important;
}

.area-guide-main {
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
	padding: 0 1rem;
	box-sizing: border-box;
	background: #fff;
}

/* Emanon親テーマの幅設定を上書き */
.area-guide-main.site-main {
	width: 100%;
	max-width: 900px;
	float: none;
}

.area-guide-article {
	width: 100%;
	max-width: 100%;
	background: #fff;
}

.area-guide-content {
	width: 100%;
	max-width: 100%;
	padding: 2rem 0;
}

/* ==========================================================================
   Breadcrumb
   ========================================================================== */
.area-guide-breadcrumb {
	padding: 1rem 0;
	font-size: 0.875rem;
}

.breadcrumb-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.breadcrumb-item:not(:last-child)::after {
	content: ">";
	margin-left: 0.5rem;
	color: var(--guide-text-light);
}

.breadcrumb-item a {
	color: var(--guide-text-light);
	text-decoration: none;
}

.breadcrumb-item a:hover {
	text-decoration: underline;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.area-guide-hero {
	background: var(--guide-primary);
	color: #fff;
	padding: 3rem 2rem;
	border-radius: var(--guide-radius);
	margin-bottom: 2rem;
	text-align: center;
}

.hero-subtitle {
	font-size: 0.875rem;
	opacity: 0.9;
	margin-bottom: 0.5rem;
}

.hero-title {
	font-size: 2rem;
	font-weight: bold;
	margin: 0 0 1rem;
	line-height: 1.3;
}

.hero-description {
	font-size: 1rem;
	opacity: 0.95;
	margin: 0;
}

@media (max-width: 768px) {
	.hero-title {
		font-size: 1.5rem;
	}
}

/* ==========================================================================
   Section Titles
   ========================================================================== */
.section-title {
	font-size: 1.5rem;
	font-weight: bold;
	margin: 2rem 0 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--guide-primary);
}

/* ==========================================================================
   Stats Grid
   ========================================================================== */
.area-stats-section {
	background: var(--guide-secondary);
	padding: 2rem;
	border-radius: var(--guide-radius);
	margin-bottom: 2rem;
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1.5rem;
	margin: 0;
}

.stat-item {
	background: #fff;
	padding: 1.5rem;
	border-radius: var(--guide-radius);
	text-align: center;
}

.stat-item-wide {
	grid-column: 1 / -1;
}

.stat-label {
	font-size: 0.875rem;
	color: var(--guide-text-light);
	margin-bottom: 0.5rem;
}

.stat-value {
	font-size: 1.5rem;
	font-weight: bold;
	color: var(--guide-text);
	margin: 0;
}

/* ==========================================================================
   Prefecture / City List
   ========================================================================== */
.prefecture-block {
	margin-bottom: 2rem;
}

.prefecture-name {
	font-size: 1.25rem;
	margin-bottom: 1rem;
}

.prefecture-name a {
	color: var(--guide-text);
	text-decoration: none;
}

.prefecture-name a:hover {
	text-decoration: underline;
}

.city-list,
.city-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 0.75rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.city-item a,
.city-card-link {
	display: block;
	padding: 0.75rem 1rem;
	background: var(--guide-secondary);
	border-radius: var(--guide-radius);
	color: var(--guide-text);
	text-decoration: none;
	transition: all 0.2s ease;
}

.city-item a:hover,
.city-card-link:hover {
	background: var(--guide-secondary);
}

.city-card-link {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.city-arrow {
	opacity: 0.5;
}

/* ==========================================================================
   Related Areas
   ========================================================================== */
.area-guide-related {
	margin: 2rem 0;
	padding: 1.5rem;
	background: var(--guide-secondary);
	border-radius: var(--guide-radius);
}

.related-title {
	font-size: 1rem;
	margin: 0 0 1rem;
}

.related-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.related-link {
	display: inline-block;
	padding: 0.5rem 1rem;
	background: #fff;
	border-radius: var(--guide-radius);
	color: var(--guide-text);
	text-decoration: none;
	font-size: 0.875rem;
	transition: all 0.2s ease;
}

.related-link:hover {
	background: var(--guide-secondary);
}

.related-link.is-current {
	background: var(--guide-primary);
	color: #fff;
}

/* ==========================================================================
   Industry Links
   ========================================================================== */
.industry-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.industry-link {
	display: block;
	padding: 1rem 1.5rem;
	background: var(--guide-secondary);
	border-radius: var(--guide-radius);
	color: var(--guide-text);
	text-decoration: none;
	margin-bottom: 0.5rem;
	transition: all 0.2s ease;
}

.industry-link:hover {
	background: var(--guide-secondary);
}

/* ==========================================================================
   Success Tips
   ========================================================================== */
.tips-list {
	display: grid;
	gap: 1.5rem;
}

.tip-item {
	background: var(--guide-secondary);
	padding: 1.5rem;
	border-radius: var(--guide-radius);
}

.tip-title {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 1.125rem;
	margin: 0 0 0.75rem;
}

.tip-number {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	background: var(--guide-primary);
	color: #fff;
	border-radius: 50%;
	font-size: 0.875rem;
	font-weight: bold;
}

.tip-content {
	margin: 0;
	color: var(--guide-text-light);
	line-height: 1.7;
}

/* ==========================================================================
   Back Links
   ========================================================================== */
.back-links {
	list-style: none;
	margin: 2rem 0;
	padding: 0;
}

.back-links li {
	margin-bottom: 0.5rem;
}

.back-links a {
	color: var(--guide-text);
	text-decoration: underline;
}

.back-links a:hover {
	color: var(--guide-text-light);
}

/* ==========================================================================
   CTA
   ========================================================================== */
.area-guide-cta {
	background: var(--guide-primary);
	color: #fff;
	padding: 3rem 2rem;
	border-radius: var(--guide-radius);
	text-align: center;
	margin: 3rem 0;
}

.cta-title {
	font-size: 1.5rem;
	margin: 0 0 1rem;
}

.cta-description {
	margin: 0 0 1.5rem;
	opacity: 0.95;
}

.cta-buttons {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.cta-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 1rem 2rem;
	border-radius: var(--guide-radius);
	text-decoration: none;
	font-weight: bold;
	width: 100%;
	max-width: 320px;
}

.cta-button svg {
	flex-shrink: 0;
}

.cta-button-primary {
	background: linear-gradient(180deg, #34d369 0%, #22c55e 50%, #1ea750 100%);
	color: #fff;
	box-shadow: 0 4px 0 #15803d;
	position: relative;
	overflow: hidden;
	transform: translateY(0);
}

.cta-button-primary::after {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 60%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
	animation: shine 2.5s infinite;
}

@keyframes shine {
	0% { left: -100%; }
	50%, 100% { left: 120%; }
}

.cta-button-primary:hover {
	transform: translateY(2px);
	box-shadow: 0 2px 0 #15803d;
	color: #fff;
}

.cta-button-secondary {
	background: #fff;
	color: var(--guide-text);
	border: 1px solid var(--guide-border);
}

.cta-button-secondary:hover {
	border-color: var(--guide-text-light);
}

.cta-note {
	font-size: 0.875rem;
	opacity: 0.9;
	margin: 0;
}

/* ==========================================================================
   Content Sections
   ========================================================================== */
.guide-intro,
.area-description,
.cross-description,
.area-content {
	line-height: 1.8;
}

.guide-intro p,
.area-description p,
.cross-description p,
.area-content p {
	margin-bottom: 1.5rem;
}

.guide-intro h2,
.guide-intro h3,
.area-content h2,
.area-content h3 {
	margin-top: 2rem;
	margin-bottom: 1rem;
}

/* ==========================================================================
   Estimate Form
   ========================================================================== */
.estimate-form-section {
	background: var(--guide-secondary);
	border: 1px solid var(--guide-border);
	border-radius: var(--guide-radius);
	padding: 2rem;
	margin: 2rem 0;
}

.estimate-form-header {
	margin-bottom: 1.5rem;
	text-align: center;
}

.estimate-form-title {
	font-size: 1.25rem;
	font-weight: bold;
	margin: 0 0 0.5rem;
	color: var(--guide-text);
}

.estimate-form-icon {
	margin-right: 0.5rem;
}

.estimate-form-subtitle {
	font-size: 0.875rem;
	color: var(--guide-text-light);
	margin: 0;
}

/* Form Groups */
.estimate-form .form-group {
	margin-bottom: 1.5rem;
}

.estimate-form .form-label {
	display: block;
	font-weight: bold;
	margin-bottom: 0.5rem;
	color: var(--guide-text);
	font-size: 0.875rem;
}

.estimate-form .form-static-value {
	padding: 0.75rem 1rem;
	background: #fff;
	border: 1px solid var(--guide-border);
	border-radius: var(--guide-radius);
	color: var(--guide-text);
}

/* ============================================
   Area Tabs (タブ形式エリア選択)
   ============================================ */
.form-group-area-tabs {
	margin-bottom: 1.5rem;
}

.area-tabs {
	display: flex;
	gap: 0;
	border-bottom: 2px solid var(--guide-border);
	margin-bottom: 1rem;
}

.area-tab {
	flex: 1;
	padding: 0.75rem 0.5rem;
	background: transparent;
	border: none;
	border-bottom: 2px solid transparent;
	margin-bottom: -2px;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--guide-text-light);
	cursor: pointer;
	transition: all 0.2s ease;
}

.area-tab:hover {
	color: var(--guide-primary-dark);
}

.area-tab.is-active {
	color: var(--guide-primary-dark);
	border-bottom-color: var(--guide-primary);
}

.area-panel {
	display: none;
	padding: 0.5rem 0;
}

.area-panel.is-active {
	display: block;
}

.area-group {
	margin-bottom: 1rem;
}

.area-group:last-child {
	margin-bottom: 0;
}

.area-group-label {
	display: block;
	font-size: 0.75rem;
	color: var(--guide-text-light);
	margin-bottom: 0.5rem;
	font-weight: 600;
}

.area-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem;
}

.area-btn {
	padding: 0.5rem 0.75rem;
	background: #fff;
	border: 1px solid var(--guide-border);
	border-radius: var(--guide-radius);
	font-size: 0.8125rem;
	color: var(--guide-text);
	cursor: pointer;
	transition: all 0.15s ease;
}

.area-btn:hover {
	border-color: var(--guide-primary);
	background: #fffdf5;
}

.area-btn.is-selected {
	background: var(--guide-primary);
	border-color: var(--guide-primary);
	color: #fff;
	font-weight: 600;
}

.selected-area-display {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 1rem;
	padding: 0.75rem 1rem;
	background: #fffdf5;
	border: 1px solid var(--guide-primary);
	border-radius: var(--guide-radius);
}

.selected-area-label {
	font-size: 0.875rem;
	color: var(--guide-text-light);
}

.selected-area-name {
	font-weight: 600;
	color: var(--guide-text);
}

/* Mobile: smaller buttons */
@media (max-width: 480px) {
	.area-btn {
		padding: 0.375rem 0.5rem;
		font-size: 0.75rem;
	}

	.area-tab {
		font-size: 0.75rem;
		padding: 0.625rem 0.25rem;
	}
}

/* ============================================
   Size Pills（チラシサイズピル）
   ============================================ */
.size-pill {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.125rem;
	padding: 0.625rem 0.5rem;
	background: #fff;
	border: 2px solid var(--guide-border);
	border-radius: var(--guide-radius);
	cursor: pointer;
	transition: all 0.2s ease;
}

.size-pill:hover {
	border-color: var(--guide-primary);
	background: #fffdf5;
}

.size-pill.is-active {
	border-color: var(--guide-primary);
	background: #fffdf5;
	box-shadow: 0 0 0 1px var(--guide-primary);
}

.size-pill-name {
	font-size: 1rem;
	font-weight: 700;
	color: var(--guide-text);
}

.size-pill.is-active .size-pill-name {
	color: var(--guide-primary-dark);
}

/* ============================================
   Method Cards（チェックボックス配布方式カード）
   ============================================ */
.method-cards {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.method-card {
	background: #fff;
	border: 2px solid var(--guide-border);
	border-radius: var(--guide-radius);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.method-card.is-active {
	border-color: var(--guide-primary);
	box-shadow: 0 0 0 1px var(--guide-primary);
}

.method-card-header {
	display: flex;
	align-items: center;
	padding: 0.75rem 1rem;
	cursor: pointer;
	user-select: none;
}

.method-card-header input[type="checkbox"] {
	margin-right: 0.75rem;
	accent-color: var(--guide-primary);
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

.method-card-label {
	flex: 1;
	font-weight: 600;
	color: var(--guide-text);
}

.method-card-price {
	font-size: 0.875rem;
	color: var(--guide-text);
	font-weight: bold;
}

.method-card.is-active .method-card-price {
	color: var(--guide-primary-dark);
}

/* Method Card Body（展開パネル） */
.method-card-body {
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	transform: translateY(-4px);
	transition: max-height 0.25s ease, opacity 0.2s ease, transform 0.2s ease;
	padding: 0 1rem;
	border-top: 0;
	margin-top: 0;
	will-change: max-height, opacity, transform;
}

.method-card-body.is-expanded {
	max-height: 520px;
	opacity: 1;
	transform: translateY(0);
	padding: 0 1rem 1rem;
	border-top: 1px solid var(--guide-border);
}

.method-card-body[hidden] {
	display: none;
}

@media (prefers-reduced-motion: reduce) {
	.method-card-body {
		transition: none;
		transform: none;
	}
}

/* カード内サイズピル（コンパクト版） */
.method-size-pills {
	display: flex;
	gap: 0.375rem;
	margin-bottom: 0.75rem;
	padding-top: 0.75rem;
}

.method-size-pills .size-pill {
	flex: 1;
	padding: 0.375rem 0.25rem;
}

.method-size-pills .size-pill-name {
	font-size: 0.875rem;
}

/* カード内枚数入力 */
.method-quantity-wrapper {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
}

.method-quantity-wrapper .form-input {
	flex: 1;
	max-width: 130px;
	padding: 0.5rem 0.75rem;
	font-size: 0.9375rem;
}

/* カード内プリセットボタン */
.method-quantity-presets {
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem;
	margin-bottom: 0.75rem;
}

.method-quantity-presets .preset-btn {
	padding: 0.1875rem 0.625rem;
	font-size: 0.6875rem;
}

/* カード内小計 */
.method-card-subtotal {
	text-align: right;
	padding-top: 0.5rem;
	border-top: 1px dashed var(--guide-border);
}

.subtotal-value {
	font-size: 1rem;
	font-weight: 700;
	color: var(--guide-primary-dark);
}

/* ============================================
   No Method Error（0個チェック時エラー）
   ============================================ */
.estimate-no-method {
	background: #fef2f2;
	border: 1px solid #fca5a5;
	border-radius: var(--guide-radius);
	padding: 0.75rem 1rem;
	margin: 1rem 0;
	text-align: center;
	font-size: 0.875rem;
	font-weight: 600;
	color: #dc2626;
}

.estimate-no-method[hidden] {
	display: none;
}

/* ============================================
   Breakdown Method Items（内訳明細）
   ============================================ */
.breakdown-method-item {
	display: flex;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: 0.375rem;
	font-size: 0.875rem;
}

.breakdown-method-item .breakdown-label {
	font-weight: 600;
	color: var(--guide-text);
}

.breakdown-method-item .breakdown-value {
	color: var(--guide-text-light);
}

/* Inline Radio */
.form-radio-inline {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.form-radio-inline-item {
	display: flex;
	align-items: center;
	padding: 0.5rem 1rem;
	background: #fff;
	border: 1px solid var(--guide-border);
	border-radius: var(--guide-radius);
	cursor: pointer;
	transition: border-color 0.2s ease;
}

.form-radio-inline-item:hover {
	border-color: var(--guide-primary);
}

.form-radio-inline-item input[type="radio"] {
	margin-right: 0.5rem;
	accent-color: var(--guide-primary);
}

.estimate-form .form-input {
	flex: 1;
	max-width: 150px;
	padding: 0.75rem 1rem;
	border: 1px solid var(--guide-border);
	border-radius: var(--guide-radius);
	font-size: 1rem;
	text-align: right;
}

.estimate-form .form-input:focus {
	outline: none;
	border-color: var(--guide-primary);
}

.form-unit {
	color: var(--guide-text-light);
}

.preset-btn {
	padding: 0.25rem 0.75rem;
	background: #fff;
	border: 1px solid var(--guide-border);
	border-radius: var(--guide-radius);
	font-size: 0.75rem;
	color: var(--guide-text);
	cursor: pointer;
	transition: all 0.2s ease;
}

.preset-btn:hover {
	border-color: var(--guide-primary);
}

.preset-btn.is-active {
	border-color: var(--guide-primary);
	background: #fffdf5;
	font-weight: 600;
}

/* ============================================
   Validation UX（入力バリデーション）
   ============================================ */
.estimate-form .form-input.is-error {
	border-color: #ef4444;
	background: #fef2f2;
}

.estimate-form .form-input.is-warning {
	border-color: #f59e0b;
	background: #fffbeb;
}

/* Result */
.estimate-result {
	background: #fff;
	border: 1px solid var(--guide-border);
	border-radius: var(--guide-radius);
	padding: 1.5rem;
	margin: 1.5rem 0;
	text-align: center;
}

.estimate-result-main {
	margin-bottom: 1rem;
}

.estimate-result .result-label {
	display: block;
	font-size: 0.875rem;
	color: var(--guide-text-light);
	margin-bottom: 0.25rem;
}

.estimate-result .result-value {
	font-size: 2rem;
	font-weight: bold;
	color: var(--guide-text);
}

.estimate-result .result-currency {
	font-size: 1.25rem;
}

.estimate-result .result-suffix {
	font-size: 1rem;
	color: var(--guide-text-light);
}

/* 単価表示 */
.result-unit-price {
	display: block;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--guide-primary-dark);
	margin-top: 0.375rem;
}

/* パルスアニメーション */
@keyframes resultPulse {
	0% { transform: scale(1); }
	50% { transform: scale(1.05); }
	100% { transform: scale(1); }
}

.result-amount.pulse {
	animation: resultPulse 0.3s ease;
}

.estimate-result-breakdown {
	text-align: left;
	font-size: 0.875rem;
	color: var(--guide-text-light);
	border-top: 1px solid var(--guide-border);
	padding-top: 1rem;
	margin-top: 1rem;
}

.breakdown-item {
	margin-bottom: 0.25rem;
}

.breakdown-label {
	margin-right: 0.5rem;
}

/* ============================================
   Area Summary（エリア特徴サマリー）
   ============================================ */
.area-summary {
	margin-top: 0.75rem;
	padding: 0.625rem 0.75rem;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	font-size: 0.8rem;
	color: #475569;
	line-height: 1.7;
}

.area-summary-title {
	font-size: 0.75rem;
	font-weight: 700;
	color: #334155;
	margin-bottom: 0.375rem;
}

.area-summary-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem;
}

.area-stat {
	white-space: nowrap;
}

.area-stat-sep {
	color: #cbd5e1;
	margin: 0 0.125rem;
}

@media (max-width: 640px) {
	.area-summary {
		font-size: 0.75rem;
		padding: 0.5rem;
	}
}

/* ============================================
   Data Source Badge（データソース表示）
   ============================================ */
.breakdown-source {
	margin-top: 0.5rem;
}

.data-source-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.25rem 0.625rem;
	border-radius: 3px;
	font-size: 0.75rem;
	font-weight: 600;
}

.data-source-dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	flex-shrink: 0;
}

.data-source-city {
	background: #ecfdf5;
	color: #065f46;
	border: 1px solid #a7f3d0;
}

.data-source-city .data-source-dot {
	background: #10b981;
}

.data-source-region {
	background: #fef3c7;
	color: #92400e;
	border: 1px solid #fde68a;
}

.data-source-region .data-source-dot {
	background: #f59e0b;
}

.data-source-base {
	background: #f3f4f6;
	color: #4b5563;
	border: 1px solid #d1d5db;
}

.data-source-base .data-source-dot {
	background: #9ca3af;
}

/* ============================================
   Compare Table（料金比較テーブル）
   ============================================ */
.estimate-compare {
	margin: 0 0 1rem;
}

.compare-toggle {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	width: 100%;
	padding: 0.75rem 1rem;
	background: #fff;
	border: 1px solid var(--guide-border);
	border-radius: var(--guide-radius);
	cursor: pointer;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--guide-text);
	transition: all 0.2s ease;
}

.compare-toggle:hover {
	border-color: var(--guide-primary);
	background: #fffdf5;
}

.compare-toggle-icon {
	font-size: 0.75rem;
	transition: transform 0.2s ease;
}

.compare-table-wrapper {
	margin-top: 0.5rem;
}

.compare-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.875rem;
	background: #fff;
	border: 1px solid var(--guide-border);
	border-radius: var(--guide-radius);
	overflow: hidden;
}

.compare-table th {
	background: var(--guide-secondary);
	padding: 0.625rem 1rem;
	text-align: left;
	font-weight: 600;
	font-size: 0.8125rem;
	color: var(--guide-text-light);
	border-bottom: 1px solid var(--guide-border);
}

.compare-table td {
	padding: 0.625rem 1rem;
	border-bottom: 1px solid var(--guide-border);
	color: var(--guide-text);
}

.compare-table tr:last-child td {
	border-bottom: none;
}

.compare-table tr.is-current {
	background: #fffdf5;
}

.compare-table tr.is-current td {
	font-weight: 600;
	color: var(--guide-primary-dark);
}

/* ============================================
   Disclaimer（免責表示）
   ============================================ */
.estimate-disclaimer {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
	background: #fffbeb;
	border: 1px solid #f59e0b;
	border-radius: var(--guide-radius);
	padding: 1rem 1.25rem;
	margin: 1rem 0 1.5rem;
}

.disclaimer-icon {
	font-size: 1.25rem;
	line-height: 1;
	flex-shrink: 0;
}

.disclaimer-content {
	flex: 1;
}

.disclaimer-text {
	font-size: 0.875rem;
	font-weight: 600;
	color: #92400e;
	margin: 0 0 0.25rem;
}

.disclaimer-sub {
	font-size: 0.75rem;
	color: #b45309;
	margin: 0;
	line-height: 1.5;
}

/* ============================================
   Dropdown Select（ドロップダウンエリア選択）
   ============================================ */
.estimate-city-select {
	display: none;
}

.estimate-city-select.is-active {
	display: block;
}

.form-select {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid var(--guide-border);
	border-radius: var(--guide-radius);
	font-size: 1rem;
	color: var(--guide-text);
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.75rem center;
	appearance: none;
	cursor: pointer;
}

.form-select:focus {
	outline: none;
	border-color: var(--guide-primary);
}

/* CTA Buttons */
.estimate-cta {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.estimate-cta-button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 1rem 1.5rem;
	border-radius: var(--guide-radius);
	text-decoration: none;
	font-weight: bold;
	font-size: 1rem;
}

.estimate-cta-button svg {
	flex-shrink: 0;
}

.estimate-cta-primary {
	background: linear-gradient(180deg, #34d369 0%, #22c55e 50%, #1ea750 100%);
	color: #fff;
	box-shadow: 0 4px 0 #15803d;
	position: relative;
	overflow: hidden;
	transform: translateY(0);
	font-size: 1.0625rem;
}

.estimate-cta-primary::after {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 60%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
	animation: estimateShine 2.5s infinite;
}

@keyframes estimateShine {
	0% { left: -100%; }
	50%, 100% { left: 120%; }
}

.estimate-cta-primary:hover {
	transform: translateY(2px);
	box-shadow: 0 2px 0 #15803d;
	color: #fff;
}

.estimate-cta-secondary {
	background: #fff;
	color: var(--guide-text);
	border: 1px solid var(--guide-border);
}

/* Responsive */
@media (max-width: 640px) {
	.estimate-form-section {
		padding: 1.5rem 1rem;
	}

	.estimate-result .result-value {
		font-size: 1.5rem;
	}

	.estimate-disclaimer {
		padding: 0.75rem 1rem;
	}

	.disclaimer-text {
		font-size: 0.8125rem;
	}

	.size-pill {
		padding: 0.5rem 0.375rem;
	}

	.size-pill-name {
		font-size: 0.875rem;
	}

	.compare-table th,
	.compare-table td {
		padding: 0.5rem 0.625rem;
		font-size: 0.8125rem;
	}

	/* Method Card モバイル調整 */
	.method-card-header {
		padding: 0.625rem 0.75rem;
	}

	.method-card-body {
		padding: 0 0.75rem 0.75rem;
	}

	.method-size-pills .size-pill {
		padding: 0.25rem 0.125rem;
	}

	.method-size-pills .size-pill-name {
		font-size: 0.8125rem;
	}

	.method-quantity-wrapper .form-input {
		max-width: 110px;
		padding: 0.375rem 0.625rem;
		font-size: 0.875rem;
	}

	.breakdown-method-item {
		flex-direction: column;
		gap: 0.125rem;
	}
}

/* ==========================================================================
   Features Section (3つの強み)
   ========================================================================== */
.guide-features {
	margin: 3rem 0;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin-top: 1.5rem;
}

.feature-item {
	background: var(--guide-secondary);
	padding: 2rem 1.5rem;
	border-radius: var(--guide-radius);
	text-align: center;
}

.feature-icon {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 80px;
	height: 80px;
	margin: 0 auto 1rem;
	background: var(--guide-primary);
	border-radius: 50%;
	color: #fff;
}

.feature-icon svg {
	width: 40px;
	height: 40px;
}

.feature-title {
	font-size: 1.25rem;
	font-weight: bold;
	margin: 0 0 0.75rem;
	color: var(--guide-text);
}

.feature-description {
	font-size: 0.9rem;
	line-height: 1.7;
	color: var(--guide-text-light);
	margin: 0;
}

.feature-description strong {
	color: var(--guide-text);
}

@media (max-width: 768px) {
	.features-grid {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Methods Section (配布方式)
   ========================================================================== */
.guide-methods {
	margin: 3rem 0;
}

.section-lead {
	color: var(--guide-text-light);
	margin: 0 0 1.5rem;
}

.methods-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
}

.method-item {
	background: #fff;
	border: 1px solid var(--guide-border);
	border-radius: var(--guide-radius);
	padding: 1.5rem;
}

.method-icon {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 60px;
	height: 60px;
	background: var(--guide-secondary);
	border-radius: var(--guide-radius);
	color: var(--guide-text);
	margin-bottom: 1rem;
}

.method-title {
	font-size: 1.125rem;
	font-weight: bold;
	margin: 0 0 0.5rem;
	color: var(--guide-text);
}

.method-price {
	font-size: 0.9rem;
	color: var(--guide-text);
	font-weight: bold;
	margin: 0 0 0.75rem;
}

.method-price .price-num {
	font-size: 1.5rem;
}

.method-description {
	font-size: 0.875rem;
	line-height: 1.6;
	color: var(--guide-text-light);
	margin: 0 0 0.5rem;
}

.method-target {
	font-size: 0.8rem;
	color: var(--guide-text-light);
	background: var(--guide-secondary);
	padding: 0.25rem 0.5rem;
	border-radius: 4px;
	display: inline-block;
	margin: 0;
}

@media (max-width: 768px) {
	.methods-grid {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.guide-faq {
	margin: 3rem 0;
}

.faq-list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.faq-item {
	background: #fff;
	border: 1px solid var(--guide-border);
	border-radius: var(--guide-radius);
	overflow: hidden;
}

.faq-item[open] {
	border-color: var(--guide-primary);
}

.faq-question {
	padding: 1rem 1.5rem;
	font-weight: bold;
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: var(--guide-text);
}

.faq-question::-webkit-details-marker {
	display: none;
}

.faq-question::after {
	content: "+";
	font-size: 1.25rem;
	color: var(--guide-text-light);
	transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::after {
	content: "−";
}

.faq-answer {
	padding: 0 1.5rem 1.5rem;
	color: var(--guide-text-light);
	line-height: 1.7;
}

/* ==========================================================================
   Industry Hub Page (業種ハブ)
   ========================================================================== */
.industry-intro {
	line-height: 1.8;
	margin-bottom: 2rem;
}

.industry-intro p {
	margin: 0;
	color: var(--guide-text-light);
}

.industry-list-section {
	margin: 2rem 0;
}

.industry-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.5rem;
	margin-top: 1.5rem;
}

.industry-card {
	display: block;
	background: #fff;
	border: 1px solid var(--guide-border);
	border-radius: var(--guide-radius);
	padding: 2rem 1.5rem;
	text-decoration: none;
	color: var(--guide-text);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.industry-card:hover {
	border-color: var(--guide-primary);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.industry-card-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	background: var(--guide-primary);
	border-radius: 50%;
	color: #fff;
	margin-bottom: 1rem;
}

.industry-card-icon svg {
	width: 32px;
	height: 32px;
}

.industry-card-title {
	font-size: 1.25rem;
	font-weight: bold;
	margin: 0 0 0.5rem;
	color: var(--guide-text);
}

.industry-card-description {
	font-size: 0.9rem;
	color: var(--guide-text-light);
	margin: 0 0 0.75rem;
	line-height: 1.6;
}

.industry-card-target {
	display: inline-block;
	font-size: 0.8rem;
	color: var(--guide-text-light);
	background: var(--guide-secondary);
	padding: 0.25rem 0.75rem;
	border-radius: 4px;
}

/* Guide Link Section */
.guide-link-section {
	background: var(--guide-secondary);
	padding: 2rem;
	border-radius: var(--guide-radius);
	margin: 2rem 0;
	text-align: center;
}

.guide-link-section .section-title {
	margin-top: 0;
	border-bottom: none;
	padding-bottom: 0;
}

.guide-link-section p {
	color: var(--guide-text-light);
	margin: 0 0 1rem;
}

.guide-link-button {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	background: #fff;
	border: 1px solid var(--guide-border);
	border-radius: var(--guide-radius);
	color: var(--guide-text);
	text-decoration: none;
	font-weight: bold;
	transition: border-color 0.2s ease;
}

.guide-link-button:hover {
	border-color: var(--guide-primary);
}

/* ==========================================================================
   Industry Page (業種単体)
   ========================================================================== */
.industry-overview-section {
	background: var(--guide-secondary);
	padding: 2rem;
	border-radius: var(--guide-radius);
	margin-bottom: 2rem;
}

.industry-overview-section .section-title {
	margin-top: 0;
}

.overview-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.overview-item {
	background: #fff;
	padding: 1rem 1.25rem;
	border-radius: var(--guide-radius);
}

.overview-label {
	font-size: 0.8rem;
	color: var(--guide-text-light);
	margin: 0 0 0.25rem;
	font-weight: normal;
}

.overview-value {
	font-size: 1rem;
	color: var(--guide-text);
	margin: 0;
	font-weight: bold;
}

.industry-overview-section .industry-intro {
	margin-bottom: 0;
}

.industry-overview-section .industry-intro p {
	margin: 0;
}

/* Recommended Areas Section */
.recommended-areas-section {
	margin: 2rem 0;
}

.section-description {
	color: var(--guide-text-light);
	margin: 0 0 1.5rem;
}

.area-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 0.75rem;
}

.area-card {
	display: flex;
	flex-direction: column;
	padding: 1rem 1.25rem;
	background: var(--guide-secondary);
	border-radius: var(--guide-radius);
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.area-card:hover {
	background: #eee;
}

.area-card-prefecture {
	font-size: 0.75rem;
	color: var(--guide-text-light);
}

.area-card-city {
	font-size: 1rem;
	font-weight: bold;
	color: var(--guide-text);
}

/* ==========================================================================
   Industry Selector (City Page → Cross Page)
   ========================================================================== */
.industry-selector-section {
	margin: 2rem 0;
}

.industry-selector-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 1rem;
}

.industry-selector-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	padding: 1.5rem 1rem;
	background: var(--guide-secondary);
	border: 2px solid transparent;
	border-radius: var(--guide-radius);
	text-decoration: none;
	text-align: center;
	transition: all 0.2s ease;
}

.industry-selector-card:hover {
	border-color: var(--guide-primary);
	background: #fffdf5;
}

.industry-selector-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	background: var(--guide-primary);
	border-radius: 50%;
	color: #fff;
}

.industry-selector-icon svg {
	width: 24px;
	height: 24px;
	fill: currentColor;
}

.industry-selector-name {
	font-size: 1rem;
	font-weight: bold;
	color: var(--guide-text);
}

.industry-selector-target {
	font-size: 0.75rem;
	color: var(--guide-text-light);
}

/* ==========================================================================
   Area Selector (Industry Page → Cross Page)
   ========================================================================== */
.area-selector-section {
	margin: 2rem 0;
	padding: 1.5rem;
	background: var(--guide-secondary);
	border-radius: var(--guide-radius);
}

.area-selector-section .section-title {
	margin-top: 0;
}

.area-selector {
	margin-top: 1rem;
}

.area-selector .area-tabs {
	display: flex;
	gap: 0.5rem;
	margin-bottom: 1rem;
	border-bottom: 1px solid var(--guide-border);
	padding-bottom: 0.5rem;
}

.area-selector .area-tab {
	padding: 0.5rem 1rem;
	background: transparent;
	border: none;
	border-radius: var(--guide-radius) var(--guide-radius) 0 0;
	cursor: pointer;
	font-size: 0.9rem;
	color: var(--guide-text-light);
	transition: all 0.2s ease;
}

.area-selector .area-tab:hover {
	background: #fff;
	color: var(--guide-text);
}

.area-selector .area-tab.is-active {
	background: var(--guide-primary);
	color: #fff;
	font-weight: bold;
}

.area-selector .area-panel {
	display: none;
}

.area-selector .area-panel.is-active {
	display: block;
}

.area-selector .area-group {
	margin-bottom: 1rem;
}

.area-selector .area-group:last-child {
	margin-bottom: 0;
}

.area-selector .area-group-label {
	display: block;
	font-size: 0.8rem;
	color: var(--guide-text-light);
	margin-bottom: 0.5rem;
	font-weight: bold;
}

.area-selector .area-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.area-selector .area-btn {
	display: inline-block;
	padding: 0.4rem 0.8rem;
	background: #fff;
	border: 1px solid var(--guide-border);
	border-radius: var(--guide-radius);
	font-size: 0.85rem;
	color: var(--guide-text);
	text-decoration: none;
	transition: all 0.2s ease;
}

.area-selector .area-btn:hover {
	background: var(--guide-primary);
	border-color: var(--guide-primary);
	color: #fff;
}

/* ==========================================================================
   Guide Nav Section (Hub Page)
   ========================================================================== */
.guide-nav-section {
	margin: 0 0 2rem;
}

.guide-nav-cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
}

.guide-nav-card {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding: 1.5rem;
	background: var(--guide-secondary);
	border: 2px solid transparent;
	border-radius: var(--guide-radius);
	text-decoration: none;
	transition: all 0.2s ease;
}

.guide-nav-card:hover {
	border-color: var(--guide-primary);
}

.guide-nav-card.is-active {
	border-color: var(--guide-primary);
	background: #fffdf5;
}

.guide-nav-icon {
	font-size: 1.5rem;
}

.guide-nav-label {
	font-size: 1.1rem;
	font-weight: bold;
	color: var(--guide-text);
}

.guide-nav-desc {
	font-size: 0.85rem;
	color: var(--guide-text-light);
}

/* Responsive */
@media (max-width: 640px) {
	.industry-cards {
		grid-template-columns: 1fr;
	}

	.overview-grid {
		grid-template-columns: 1fr;
	}

	.area-cards {
		grid-template-columns: repeat(2, 1fr);
	}

	.guide-nav-cards {
		grid-template-columns: 1fr;
	}

	.area-selector .area-tabs {
		flex-wrap: wrap;
	}

	.area-selector .area-tab {
		flex: 1 1 calc(50% - 0.25rem);
		text-align: center;
		padding: 0.5rem;
		font-size: 0.85rem;
	}

	.area-selector .area-btn {
		flex: 1 1 calc(33.333% - 0.5rem);
		text-align: center;
		font-size: 0.8rem;
		padding: 0.5rem;
	}

	.industry-selector-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 0.75rem;
	}

	.industry-selector-card {
		padding: 1rem 0.75rem;
	}

	.industry-selector-icon {
		width: 40px;
		height: 40px;
	}

	.industry-selector-icon svg {
		width: 20px;
		height: 20px;
	}

	.industry-selector-name {
		font-size: 0.9rem;
	}
}

/* ==========================================================================
   E-E-A-T Components
   ========================================================================== */

/* --------------------------------------------------------------------------
   Content Meta（出典・更新情報）
   -------------------------------------------------------------------------- */
.content-meta {
	background: #f8f9fa;
	border: 1px solid var(--guide-border);
	border-radius: var(--guide-radius);
	padding: 1.25rem 1.5rem;
	margin: 2rem 0;
	font-size: 0.875rem;
}

.content-meta-list {
	margin: 0;
	padding: 0;
}

.content-meta-item {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	padding: 0.5rem 0;
	border-bottom: 1px solid var(--guide-border);
}

.content-meta-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.content-meta-item:first-child {
	padding-top: 0;
}

.content-meta-label {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	font-weight: 600;
	color: var(--guide-text);
	white-space: nowrap;
	min-width: 100px;
}

.content-meta-label svg {
	color: var(--guide-primary-dark);
	flex-shrink: 0;
}

.content-meta-value {
	color: var(--guide-text-light);
	margin: 0;
}

/* --------------------------------------------------------------------------
   Quality Block（配布品質への取り組み）
   -------------------------------------------------------------------------- */
.quality-block {
	background: linear-gradient(135deg, #fefbf3 0%, #fff9e6 100%);
	border: 2px solid var(--guide-primary);
	border-radius: var(--guide-radius);
	padding: 2rem;
	margin: 2rem 0;
}

.quality-block-title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--guide-text);
	margin: 0 0 1.5rem 0;
}

.quality-block-title svg {
	color: var(--guide-primary-dark);
}

.quality-block-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
}

.quality-item {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
}

.quality-item-icon {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--guide-primary);
	border-radius: 50%;
}

.quality-item-icon svg {
	color: #fff;
}

.quality-item-content {
	flex: 1;
}

.quality-item-title {
	font-size: 1rem;
	font-weight: 600;
	color: var(--guide-text);
	margin: 0 0 0.375rem 0;
}

.quality-item-desc {
	font-size: 0.875rem;
	color: var(--guide-text-light);
	margin: 0;
	line-height: 1.6;
}

/* --------------------------------------------------------------------------
   FAQ Common（よくある不安解消）
   -------------------------------------------------------------------------- */
.faq-common {
	background: #fff;
	border: 1px solid var(--guide-border);
	border-radius: var(--guide-radius);
	padding: 2rem;
	margin: 2rem 0;
}

.faq-common-title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--guide-text);
	margin: 0 0 1.5rem 0;
}

.faq-common-title svg {
	color: var(--guide-primary-dark);
}

.faq-common-list {
	margin: 0;
	padding: 0;
}

.faq-common-item {
	border-bottom: 1px solid var(--guide-border);
	padding: 1.25rem 0;
}

.faq-common-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.faq-common-item:first-child {
	padding-top: 0;
}

.faq-common-question,
.faq-common-answer {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
}

.faq-common-question {
	font-weight: 600;
	color: var(--guide-text);
	margin-bottom: 0.75rem;
}

.faq-common-answer {
	color: var(--guide-text-light);
	margin: 0;
	line-height: 1.7;
}

.faq-label {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.75rem;
	font-weight: 700;
	border-radius: 50%;
}

.faq-common-question .faq-label {
	background: var(--guide-primary);
	color: #fff;
}

.faq-common-answer .faq-label {
	background: #e8e8e8;
	color: var(--guide-text);
}

/* --------------------------------------------------------------------------
   E-E-A-T Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
	.content-meta {
		padding: 1rem;
	}

	.content-meta-item {
		flex-direction: column;
		gap: 0.25rem;
	}

	.content-meta-label {
		min-width: auto;
	}

	.quality-block {
		padding: 1.5rem 1rem;
	}

	.quality-block-grid {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}

	.quality-item-icon {
		width: 40px;
		height: 40px;
	}

	.quality-item-icon svg {
		width: 20px;
		height: 20px;
	}

	.faq-common {
		padding: 1.5rem 1rem;
	}

	.faq-common-question,
	.faq-common-answer {
		font-size: 0.9375rem;
	}
}

/* ==========================================================================
   Related Cases（導入事例）
   ========================================================================== */
.related-cases-section {
	margin: 2.5rem 0;
}

.related-cases-section .section-title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.related-cases-section .section-title svg {
	color: var(--guide-primary-dark);
}

.related-cases-section .section-description {
	color: var(--guide-text-light);
	margin: 0.5rem 0 1.5rem 0;
}

.case-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
	margin-bottom: 1.5rem;
}

.case-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--guide-border);
	border-radius: var(--guide-radius);
	padding: 1.25rem;
	text-decoration: none;
	color: inherit;
	transition: box-shadow 0.2s, border-color 0.2s;
}

.case-card:hover {
	border-color: var(--guide-primary);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.case-card-header {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
}

.case-card-label {
	display: inline-block;
	background: var(--guide-primary);
	color: #fff;
	font-size: 0.6875rem;
	font-weight: 600;
	padding: 0.125rem 0.5rem;
	border-radius: 2px;
}

.case-card-result {
	font-size: 0.75rem;
	font-weight: 600;
	color: #d9534f;
}

.case-card-title {
	font-size: 1rem;
	font-weight: 600;
	color: var(--guide-text);
	margin: 0 0 0.5rem 0;
	line-height: 1.4;
}

.case-card-summary {
	font-size: 0.875rem;
	color: var(--guide-text-light);
	margin: 0 0 0.75rem 0;
	line-height: 1.5;
	flex-grow: 1;
}

.case-card-link {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	font-size: 0.875rem;
	color: var(--guide-primary-dark);
	font-weight: 500;
	margin-top: auto;
}

.case-card:hover .case-card-link {
	text-decoration: underline;
}

.case-more {
	text-align: center;
}

.case-more-link {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	color: var(--guide-text);
	text-decoration: none;
	font-size: 0.9375rem;
	padding: 0.5rem 1rem;
	border: 1px solid var(--guide-border);
	border-radius: var(--guide-radius);
	transition: background 0.2s, border-color 0.2s;
}

.case-more-link:hover {
	background: var(--guide-secondary);
	border-color: var(--guide-primary);
}

/* Related Cases Responsive */
@media (max-width: 992px) {
	.case-cards {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 576px) {
	.case-cards {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.case-card {
		padding: 1rem;
	}

	.case-card-title {
		font-size: 0.9375rem;
	}
}

/* ==========================================================================
   Demographics（人口統計データ）
   ========================================================================== */
.demographics-section {
	margin: 2.5rem 0;
}

.demographics-section .section-description {
	color: var(--guide-text-light);
	margin: 0.5rem 0 1.5rem 0;
}

.demographics-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}

.demographics-card {
	background: #fff;
	border: 1px solid var(--guide-border);
	border-radius: var(--guide-radius);
	padding: 1.25rem;
}

.demographics-card-title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 1rem;
	font-weight: 600;
	color: var(--guide-text);
	margin: 0 0 1rem 0;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--guide-border);
}

.demographics-card-title svg {
	color: var(--guide-primary-dark);
}

.demographics-card-content {
	min-height: 140px;
}

/* 昼夜間人口 */
.day-night-indicator {
	text-align: center;
	padding: 1rem;
	border-radius: var(--guide-radius);
	margin-bottom: 0.75rem;
}

.day-night-indicator.is-inflow {
	background: linear-gradient(135deg, #fff9e6 0%, #fff3cc 100%);
	border: 1px solid #ffd966;
}

.day-night-indicator.is-outflow {
	background: linear-gradient(135deg, #e8f4fd 0%, #cce5ff 100%);
	border: 1px solid #66b3ff;
}

.day-night-value {
	display: block;
	font-size: 2rem;
	font-weight: 700;
	color: var(--guide-text);
}

.day-night-label {
	display: block;
	font-size: 0.875rem;
	color: var(--guide-text-light);
	margin-top: 0.25rem;
}

.demographics-note {
	font-size: 0.8125rem;
	color: var(--guide-text-light);
	text-align: center;
	margin: 0 0 0.75rem 0;
}

.demographics-insight {
	font-size: 0.8125rem;
	color: var(--guide-text-light);
	line-height: 1.6;
	margin: 0;
	padding-top: 0.75rem;
	border-top: 1px dashed var(--guide-border);
}

/* 年齢構成チャート */
.age-chart {
	margin-bottom: 0.75rem;
}

.age-bar {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
}

.age-label {
	flex-shrink: 0;
	width: 70px;
	font-size: 0.75rem;
	color: var(--guide-text-light);
}

.age-bar-fill {
	flex: 1;
	height: 20px;
	border-radius: 2px;
	position: relative;
}

.age-bar-fill::after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: calc(var(--percent, 0) * 1.5%);
	border-radius: 2px;
}

.age-young::after {
	background: linear-gradient(90deg, #7dd3fc 0%, #38bdf8 100%);
}

.age-working::after {
	background: linear-gradient(90deg, #fcd34d 0%, #f59e0b 100%);
}

.age-senior::after {
	background: linear-gradient(90deg, #c4b5fd 0%, #8b5cf6 100%);
}

.age-bar-fill {
	background: #f0f0f0;
}

.age-value {
	flex-shrink: 0;
	width: 45px;
	font-size: 0.8125rem;
	font-weight: 600;
	text-align: right;
}

/* 住宅形態チャート */
.housing-chart {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 0.75rem;
}

.housing-donut {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	background: conic-gradient(
		#feaf00 0deg calc(var(--detached, 50) * 3.6deg),
		#3b82f6 calc(var(--detached, 50) * 3.6deg) 360deg
	);
	position: relative;
	flex-shrink: 0;
}

.housing-donut-inner {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 70px;
	height: 70px;
	background: #fff;
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.housing-main-value {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--guide-text);
	line-height: 1;
}

.housing-main-label {
	font-size: 0.6875rem;
	color: var(--guide-text-light);
}

.housing-legend {
	flex: 1;
	min-width: 0;
}

.housing-legend-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
	flex-wrap: nowrap;
}

.legend-color {
	width: 12px;
	height: 12px;
	border-radius: 2px;
	flex-shrink: 0;
}

.legend-detached {
	background: #feaf00;
}

.legend-apartment {
	background: #3b82f6;
}

.legend-label {
	font-size: 0.8125rem;
	color: var(--guide-text-light);
	flex: 1;
	white-space: nowrap;
}

.legend-value {
	font-size: 0.8125rem;
	font-weight: 600;
	white-space: nowrap;
	flex-shrink: 0;
}

/* Demographics Responsive */
@media (max-width: 992px) {
	.demographics-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.demographics-card-content {
		min-height: auto;
	}
}

@media (max-width: 576px) {
	.demographics-card {
		padding: 1rem;
	}

	.housing-chart {
		flex-direction: column;
		gap: 0.75rem;
	}
}
