:root {
	--primary-color: #005a9e;
	--secondary-color: #f0f7ff;
	--text-color: #333;
	--light-text-color: #555;
	--border-color: #e0e0e0;
	--white-color: #fff;
	--background-color: #f8f9fa;
	--tag-bg-color: #eaf2fa;
	--tag-text-color: #3476b7;
}

html {
	font-size: 16px;
}

.cleaning-container {
	max-width: 900px;
	margin: 0 auto;
}

.cleaning-card {
	background-color: var(--white-color);
	border-radius: 12px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
	padding: 30px;
	margin-bottom: 30px;
	border: 1px solid var(--border-color);
}

.cleaning-page-title {
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.5;
	margin: 20px 0;
}

.summary-voice-fullwidth {
	border-bottom: 1px solid var(--border-color);
	padding-bottom: 20px;
	margin-bottom: 20px;
}

.summary-voice-fullwidth h3 {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--primary-color);
	line-height: 1.6;
	margin: 0 0 10px 0;
}

.summary-voice-fullwidth p {
	font-size: 1rem;
	line-height: 1.8;
	color: var(--light-text-color);
	margin: 0;
}

.summary-content-grid {
	display: grid;
	grid-template-columns: 1fr 280px;
	gap: 30px;
}

.spec-table {
	width: 100%;
	border-collapse: collapse;
}

.spec-table th,
.spec-table td {
	text-align: left;
	padding: 14px 0;
	border-bottom: 1px solid var(--border-color);
	vertical-align: top;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
	border-bottom: none;
}

.spec-table th {
	font-weight: 700;
	width: 80px;
	color: var(--primary-color);
	font-size: 1rem;
	white-space: nowrap;
}

.spec-table td {
	font-size: 1rem;
}

.spec-table .type-tag,
.spec-table .symptom-tag {
	display: inline-block;
	padding: 4px 12px;
	background-color: var(--secondary-color);
	color: var(--primary-color);
	border-radius: 999px;
	font-size: 0.875rem;
	font-weight: 700;
}

.spec-table .tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.spec-table .tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background-color: var(--tag-bg-color);
	color: var(--tag-text-color);
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 0.8125rem;
	font-weight: 500;
}

.spec-table .tag-icon {
	width: 14px;
	height: 14px;
	opacity: 0.7;
}

.summary-eyecatch img {
	width: 100%;
	height: 100%;
	border-radius: 8px;
	object-fit: cover;
}

.comparison-section h2 {
	text-align: center;
	margin-bottom: 30px;
	font-size: 1.5rem;
}

.comparison-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
}

.comparison-box {
	text-align: center;
}

.comparison-box h3 {
	margin: 0 0 20px 0;
	padding: 12px;
	font-size: 0.9rem;
	border-radius: 8px;
}

.comparison-box--before h3 {
	background-color: #ffeded;
	color: #c53030;
}

.comparison-box--after h3 {
	background-color: #F0F7FF;
	color: #005a9e;
}

/* スライダーコンテナ */
.photo-slider-container {
	position: relative;
	background-color: #f9f9f9;
	border-radius: 8px;
	border: 1px solid var(--border-color);
	height: 500px;
	overflow: hidden;
}

/* スライダー本体 */
.photo-slider {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	gap: 15px;
	padding: 15px;
	height: 100%;
	scroll-behavior: smooth;
}

.photo-slider::-webkit-scrollbar {
	height: 8px;
}

.photo-slider::-webkit-scrollbar-track {
	background: #f1f1f1;
}

.photo-slider::-webkit-scrollbar-thumb {
	background: #ccc;
	border-radius: 4px;
}

.photo-slide {
	flex: 0 0 90%;
	scroll-snap-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.photo-slide:first-child {
	margin-left: 5%;
}

.photo-slide:last-child {
	margin-right: 5%;
}

.photo-slide img {
	width: 100%;
	height: calc(100% - 30px);
	border-radius: 4px;
	object-fit: contain;
}

.photo-slide .caption {
	font-size: 0.875rem;
	color: var(--light-text-color);
	font-weight: 500;
	margin-top: auto;
	padding-top: 10px;
	height: 20px;
}

/* スライドボタン */
.slider-nav-button {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid var(--border-color);
	border-radius: 50%;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 10;
	transition: all 0.2s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.slider-nav-button:hover {
	background: white;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.slider-nav-button:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

.slider-nav-button.prev {
	left: 10px;
}

.slider-nav-button.next {
	right: 10px;
}

.slider-nav-button i {
	font-size: 16px;
	color: var(--primary-color);
}

/* インジケーター */
.slider-indicators {
	position: absolute;
	bottom: 15px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 8px;
	z-index: 10;
}

.slider-indicator {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.6);
	cursor: pointer;
	transition: all 0.2s ease;
	border: 1px solid rgba(0, 0, 0, 0.2);
}

.slider-indicator.active {
	background: var(--primary-color);
	width: 24px;
	border-radius: 4px;
}

/* PCでのみスライドボタンを表示 */
@media (min-width: 769px) {

	.slider-nav-button,
	.slider-indicators {
		display: flex;
	}
}

.detailed-comment-section {
	margin-top: 2em;
}

@media (max-width: 768px) {
	.cleaning-card {
		padding: 20px;
	}

	.cleaning-page-title {
		font-size: 1.3rem;
	}

	.summary-voice-fullwidth h3 {
		font-size: 1.15rem;
	}

	.summary-voice-fullwidth p {
		font-size: 0.95rem;
	}

	.spec-table th,
	.spec-table td {
		font-size: 0.95rem;
	}

	.summary-content-grid {
		grid-template-columns: 1fr;
		gap: 25px;
	}

	.summary-eyecatch {
		order: -1;
	}

	.comparison-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.photo-slider-container {
		height: 450px;
	}

	.photo-slide {
		flex-basis: 95%;
	}

	/* モバイルではスライドボタンを非表示 */
	.slider-nav-button,
	.slider-indicators {
		display: none;
	}
}