/*
 * 害獣駆除LP専用スタイルシート
 */

/* リセット・ベース */
.lp-page * {
	box-sizing: border-box;
}

.lp-page {
	font-family:
		-apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	line-height: 1.8;
	color: #333;
	margin: 0;
	padding: 0;
}

/* PC版のみページトップアンカーボタンを非表示にする */
@media (min-width: 769px) {
	body:has(.lp-page) .p-fixBtnWrap {
		display: none !important;
	}
}

/* ヘッダーから継承されるl-content、l-containerのスタイルを上書き */
.l-content:has(.lp-page),
.l-container:has(.lp-page) {
	display: block;
	padding-top: 0;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* 共通スタイル */
.section-title {
	font-size: 2rem;
	font-weight: bold;
	text-align: center;
	margin-bottom: 40px;
	color: #1a1a1a;
}

@media (max-width: 768px) {
	.section-title {
		font-size: 1.5rem;
		margin-bottom: 30px;
	}
}

.lp-intro {
	text-align: center;
	margin-bottom: 40px;
	color: #666;
}

/* 電話アイコン共通スタイル */
.phone-icon,
.btn-icon.tel-icon {
	display: inline-block;
	background-color: white;
	-webkit-mask-image: url("/wp-content/themes/swell-safepro/assets/icon/tel_icon.svg");
	mask-image: url("/wp-content/themes/swell-safepro/assets/icon/tel_icon.svg");
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}

/* メールアイコン（営業時間外） */
.btn-icon.mail-icon,
.phone-icon.mail-icon,
.btn-catch-icon.mail-icon {
	display: inline-block;
	background-color: white;
	-webkit-mask-image: url("/wp-content/themes/swell-safepro/assets/icon/mail_mark.svg");
	mask-image: url("/wp-content/themes/swell-safepro/assets/icon/mail_mark.svg");
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}

/* 固定電話ボタン */
.fixed-phone-btn {
	position: fixed;
	z-index: 1000;
	transition: opacity 0.3s ease;
}

/* PC版: 右下に円形ボタン */
@media (min-width: 769px) {
	.fixed-phone-btn {
		bottom: 30px;
		right: 30px;
	}

	.fixed-phone-btn .phone-link {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		background: linear-gradient(135deg, #ff8a33 0%, #f47200 100%);
		color: white;
		text-decoration: none;
		width: 80px;
		height: 80px;
		border-radius: 50%;
		box-shadow:
			0 4px 20px rgba(244, 114, 0, 0.4),
			0 2px 10px rgba(0, 0, 0, 0.2);
		transition: all 0.3s ease;
		border: 3px solid rgba(255, 255, 255, 0.3);
	}

	@media (hover: hover) and (pointer: fine) {
		.fixed-phone-btn .phone-link:hover {
			transform: translateY(-5px) scale(1.05);
			box-shadow:
				0 6px 30px rgba(244, 114, 0, 0.6),
				0 4px 15px rgba(0, 0, 0, 0.3);
		}
	}

	.fixed-phone-btn .phone-icon {
		width: 32px;
		height: 32px;
		margin: 0;
		animation: phoneRing 2s ease-in-out infinite;
	}

	.fixed-phone-btn .phone-text {
		font-size: 0.7rem;
		font-weight: bold;
		margin-top: 3px;
		white-space: nowrap;
	}

	/* 電話アイコンの揺れアニメーション */
	@keyframes phoneRing {
		0%,
		100% {
			transform: rotate(0deg);
		}
		10%,
		30% {
			transform: rotate(-15deg);
		}
		20%,
		40% {
			transform: rotate(15deg);
		}
		50% {
			transform: rotate(0deg);
		}
	}
}

/* スマホ版: 下部に横長バー */
@media (max-width: 768px) {
	.fixed-phone-btn {
		bottom: 0;
		left: 0;
		right: 0;
	}

	.fixed-phone-btn .phone-link {
		display: flex;
		align-items: center;
		justify-content: center;
		background: linear-gradient(135deg, #ff8a33 0%, #f47200 100%);
		color: white;
		text-decoration: none;
		padding: 15px;
		font-size: 1.1rem;
		font-weight: bold;
		box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
	}

	.fixed-phone-btn .phone-icon {
		width: 24px;
		height: 24px;
		margin-right: 10px;
	}
}

/* 固定電話ボタンの営業時間外スタイル */
@media (min-width: 769px) {
	.fixed-phone-btn .phone-link.is-closed {
		background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
		box-shadow:
			0 4px 20px rgba(76, 175, 80, 0.4),
			0 2px 10px rgba(0, 0, 0, 0.2);
	}

	@media (hover: hover) and (pointer: fine) {
		.fixed-phone-btn .phone-link.is-closed:hover {
			box-shadow:
				0 6px 30px rgba(76, 175, 80, 0.6),
				0 4px 15px rgba(0, 0, 0, 0.3);
		}
	}
}

@media (max-width: 768px) {
	.fixed-phone-btn .phone-link.is-closed {
		background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
	}
}

/* ボタン共通スタイル */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 18px 40px;
	font-size: 1.1rem;
	font-weight: bold;
	text-decoration: none;
	border-radius: 50px;
	transition: all 0.3s ease;
	cursor: pointer;
	border: none;
	text-align: center;
}

.btn-phone {
	background: linear-gradient(135deg, #ff8a33 0%, #f47200 100%);
	color: white;
	box-shadow: 0 4px 15px rgba(244, 114, 0, 0.4);
}

@media (hover: hover) and (pointer: fine) {
	.btn-phone:hover {
		transform: translateY(-2px);
		box-shadow: 0 6px 20px rgba(244, 114, 0, 0.6);
	}
}

/* 営業時間外スタイル */
.btn-phone.is-closed {
	background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
	box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

@media (hover: hover) and (pointer: fine) {
	.btn-phone.is-closed:hover {
		transform: translateY(-2px);
		box-shadow: 0 6px 20px rgba(76, 175, 80, 0.6);
	}
}

.btn-form {
	background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
	color: white;
	box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

@media (hover: hover) and (pointer: fine) {
	.btn-form:hover {
		transform: translateY(-2px);
		box-shadow: 0 6px 20px rgba(76, 175, 80, 0.6);
	}
}

.btn-secondary {
	background: #2196f3;
	color: white;
	padding: 12px 30px;
	font-size: 1rem;
}

@media (hover: hover) and (pointer: fine) {
	.btn-secondary:hover {
		background: #1976d2;
	}
}

.btn-icon {
	margin-right: 10px;
}

/* 電話アイコン（ボタン内） */
.btn-icon.tel-icon {
	width: 24px;
	height: 24px;
}

.btn-large .btn-icon.tel-icon {
	width: 28px;
	height: 28px;
}

.btn-text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.btn-label {
	font-size: 0.9rem;
}

.btn-number {
	font-size: 1.3rem;
	margin-top: 2px;
}

.btn-large {
	padding: 25px 50px;
	font-size: 1.2rem;
}

.btn-large .btn-number {
	font-size: 1.5rem;
}

.btn-hours {
	font-size: 0.8rem;
	font-weight: normal;
	margin-top: 4px;
}

@media (max-width: 768px) {
	.btn {
		padding: 15px 30px;
		font-size: 1rem;
	}

	.btn-large {
		padding: 20px 35px;
		font-size: 1.05rem;
	}
}

/* ファーストビュー */
.fv-section {
	background: #ef8113;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.fv-section picture {
	display: block;
	max-width: 1920px;
	margin: 0 auto;
}

.fv {
	width: 100%;
	display: block;
}

.badge {
	background: rgba(244, 114, 0, 0.95);
	color: white;
	padding: 12px 28px;
	border-radius: 25px;
	font-size: 1rem;
	font-weight: bold;
	box-shadow:
		0 4px 12px rgba(244, 114, 0, 0.4),
		0 2px 4px rgba(0, 0, 0, 0.3);
	backdrop-filter: blur(10px);
	border: 2px solid rgba(255, 255, 255, 0.2);
	transition: all 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
	.badge:hover {
		transform: translateY(-2px);
		box-shadow:
			0 6px 16px rgba(244, 114, 0, 0.5),
			0 3px 6px rgba(0, 0, 0, 0.4);
	}
}

.fv-cta {
	display: flex;
	flex-direction: column;
	gap: 20px;
	align-items: center;
	max-width: 600px;
	margin: 0 auto;
}

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

	.fv-subtitle {
		font-size: 1.2rem;
		margin-bottom: 30px;
	}

	.badge {
		padding: 10px 20px;
		font-size: 0.9rem;
	}
}

/* キャッチコピーセクション */
.catch-section {
	padding: 0;
	background: #f5f5f5;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* 緑の背景ヘッダー */
.catch-header {
	position: relative;
	padding: 40px 20px 80px;
	text-align: center;
}

.catch-header::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(180deg, #2d5f3f 0%, #3a7a4f 100%);
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 50% 100%, 0 calc(100% - 40px));
	z-index: 0;
}

.catch-header::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 50px;
	background: linear-gradient(90deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
	clip-path: polygon(
		0 calc(100% - 40px),
		50% 100%,
		100% calc(100% - 40px),
		100% calc(100% - 35px),
		50% calc(100% - 5px),
		0 calc(100% - 35px)
	);
	z-index: 1;
}

.catch-main-title {
	margin-bottom: -40px;
	font-size: 2.2rem;
	font-weight: bold;
	line-height: 1.5;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
	position: relative;
	z-index: 2;
}

.catch-title-yellow {
	color: #ffd700;
	font-size: 2.5rem;
}

.catch-title-small {
	color: white;
	font-size: 1.8rem;
}

.catch-title-white {
	color: white;
	font-size: 2.2rem;
}

/* メインコンテンツ */
.catch-content {
	background:
		radial-gradient(circle, rgba(244, 114, 0, 0.15) 30%, transparent 30%),
		radial-gradient(circle, rgba(244, 114, 0, 0.15) 30%, transparent 30%), #f5f5f5;
	background-size: 200px 200px;
	background-position:
		0 0,
		100px 100px;
	padding: 80px 20px 60px;
	margin-top: -40px;
}

.catch-box {
	max-width: 800px;
	margin: 0 auto;
	background: white;
	padding: 40px 30px;
	border-radius: 15px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* セーフPROの説明 */
.catch-intro {
	font-size: 1.5rem;
	text-align: center;
	margin-bottom: 30px;
	color: #333;
	line-height: 1.8;
	position: relative;
	padding-bottom: 20px;
}

.catch-intro::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 5%;
	right: 5%;
	height: 2px;
	background: linear-gradient(90deg, transparent 0%, #2e7d32 20%, #43a047 50%, #2e7d32 80%, transparent 100%);
	border-radius: 2px;
}

.catch-highlight {
	color: #d32f2f;
	font-weight: bold;
}

/* 悩み文言 */
.catch-concerns {
	text-align: center;
	margin-bottom: 20px;
}

.catch-concern-text {
	font-size: 1.4rem;
	color: #333;
}

.catch-consult {
	text-align: center;
	font-size: 1.15rem;
	color: #333;
}

.catch-consult-highlight {
	font-size: 1.5rem;
	background: linear-gradient(transparent 60%, #ff6 60%);
	font-weight: bold;
}

/* メインビジュアルエリア */
.catch-visual {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 250px;
}

/* 完全無料バッジ */
.catch-free-badge {
	position: relative;
	min-width: 325px;
	width: 45%;
	aspect-ratio: 1.4;
	margin-right: -50px;
	z-index: 1;
	flex-shrink: 0;
}

.catch-free-badge .badge-bg-main,
.catch-free-badge .badge-bg-rotated {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: 72%;
	background: #d32f2f;
	border-radius: 50%;
	transform: translate(-50%, -50%);
}

.catch-free-badge .badge-bg-rotated {
	transform: translate(-50%, -50%) rotate(22.5deg);
	box-shadow: 0 4px 15px rgba(211, 47, 47, 0.5);
}

.catch-free-badge .badge-content {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	z-index: 10;
	text-align: center;
	padding: 20px;
}

.badge-top {
	font-size: 1.5rem;
	margin-bottom: 5px;
	font-weight: bold;
	color: white;
	line-height: 1.3;
}

.badge-bottom {
	font-size: 2.2rem;
	font-weight: 900;
	color: #fff200;
	text-shadow:
		2px 2px 0px rgba(0, 0, 0, 0.3),
		-1px -1px 0px rgba(0, 0, 0, 0.1);
	line-height: 1;
	position: relative;
}

/* イラストエリア */
.catch-illustration {
	flex: 1;
	min-height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.catch-illustration-img {
	width: 100%;
	height: auto;
	max-width: 500px;
	object-fit: contain;
}

/* ポイント */
.catch-points {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	width: 70%;
	gap: 10px;
	margin-top: -30px;
	margin-bottom: 30px;
}

.catch-point {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 1rem;
	font-weight: bold;
	color: #333;
	background: white;
	padding: 8px 15px;
	border-radius: 5px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.point-check {
	width: 20px;
	height: 39px;
	background-color: #d32f2f;
	-webkit-mask-image: url("/wp-content/themes/swell-safepro/assets/icon/check_mark.svg");
	mask-image: url("/wp-content/themes/swell-safepro/assets/icon/check_mark.svg");
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
	flex-shrink: 0;
}

/* 注意書き */
.catch-note {
	font-size: 0.9rem;
	color: #666;
	text-align: center;
	margin-bottom: 30px;
	line-height: 1.6;
}

/* CTAボタン */
.catch-cta {
	text-align: center;
}

.btn-catch-phone {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	background: linear-gradient(135deg, #ff6f00 0%, #ff8f00 100%);
	color: white;
	font-size: 1.3rem;
	font-weight: bold;
	padding: 20px 50px;
	border-radius: 50px;
	text-decoration: none;
	box-shadow: 0 6px 25px rgba(255, 111, 0, 0.4);
	transition: all 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
	.btn-catch-phone:hover {
		transform: translateY(-3px);
		box-shadow: 0 8px 35px rgba(255, 111, 0, 0.6);
	}
}

/* 営業時間外スタイル */
.btn-catch-phone.is-closed {
	background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
	box-shadow: 0 6px 25px rgba(76, 175, 80, 0.4);
}

@media (hover: hover) and (pointer: fine) {
	.btn-catch-phone.is-closed:hover {
		transform: translateY(-3px);
		box-shadow: 0 8px 35px rgba(76, 175, 80, 0.6);
	}
}

.btn-catch-icon {
	display: inline-block;
	width: 32px;
	height: 32px;
	background-color: white;
	-webkit-mask-image: url("/wp-content/themes/swell-safepro/assets/icon/tel_icon.svg");
	mask-image: url("/wp-content/themes/swell-safepro/assets/icon/tel_icon.svg");
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}

.btn-catch-text {
	white-space: nowrap;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
	.catch-header {
		padding: 30px 15px 70px;
	}

	.catch-main-title {
		font-size: 1.6rem;
	}

	.catch-title-yellow {
		font-size: 1.8rem;
	}

	.catch-title-small {
		font-size: 1.3rem;
	}

	.catch-title-white {
		font-size: 1.6rem;
	}

	.catch-content {
		padding: 30px 15px 50px;
	}

	.catch-box {
		padding: 25px 20px;
	}

	.catch-intro {
		font-size: 1rem;
	}

	.catch-concern-text {
		font-size: 1rem;
	}

	.catch-consult {
		font-size: 1.05rem;
	}

	.catch-visual {
		min-height: auto;
	}

	.catch-free-badge {
		min-width: 170px;
		width: 60%;
		padding: 15px 20px;
	}

	.badge-top {
		font-size: 0.75rem;
	}

	.badge-bottom {
		font-size: 1.8rem;
	}

	.catch-illustration {
		width: 100%;
		min-height: 150px;
	}

	.catch-illustration-img {
		max-width: 100%;
	}

	.catch-points {
		margin-top: unset;
		width: 100%;
	}

	.catch-point {
		font-size: 0.9rem;
	}

	.btn-catch-phone {
		font-size: 1.1rem;
		padding: 18px 35px;
		width: 100%;
	}

	.btn-catch-icon {
		width: 24px;
		height: 24px;
	}
}

/* 緊急性・共感セクション */
.problems-section {
	padding: 80px 0;
	background: #f9f9f9;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.problems-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-bottom: 50px;
}

@media (max-width: 768px) {
	.problems-section {
		padding: 60px 0;
	}

	.problems-grid {
		grid-template-columns: 1fr;
		gap: 15px;
	}
}

.problem-item {
	background: white;
	padding: 20px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	gap: 15px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.check-icon {
	width: 20px;
	height: 39px;
	background-color: #f47200;
	-webkit-mask-image: url("/wp-content/themes/swell-safepro/assets/icon/check_mark.svg");
	mask-image: url("/wp-content/themes/swell-safepro/assets/icon/check_mark.svg");
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	mask-size: contain;
}

.danger-box {
	background: #fff3e0;
	border-left: 5px solid #ff9800;
	padding: 30px;
	border-radius: 10px;
	margin-bottom: 40px;
}

.danger-title {
	font-size: 1.5rem;
	margin-bottom: 20px;
	color: #e65100;
}

.danger-icon {
	display: inline-block;
	width: 24px;
	height: 24px;
	position: relative;
	margin-right: 8px;
	vertical-align: middle;
}

.danger-icon::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 12px;
	height: 16px;
	background-color: #000000;
	border-radius: 50%;
	z-index: 0;
}

.danger-icon::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #e65100;
	-webkit-mask-image: url("/wp-content/themes/swell-safepro/assets/icon/note_mark.svg");
	mask-image: url("/wp-content/themes/swell-safepro/assets/icon/note_mark.svg");
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
	z-index: 1;
}

.danger-list {
	list-style: none;
	padding: 0;
}

.danger-list li {
	padding: 10px 0;
	padding-left: 30px;
	position: relative;
}

.danger-list li::before {
	content: "";
	position: absolute;
	left: 10px;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 10px;
	height: 13px;
	background-color: #000000;
	border-radius: 50%;
	z-index: 0;
}

.danger-list li::after {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 20px;
	height: 20px;
	background-color: #ffd700;
	-webkit-mask-image: url("/wp-content/themes/swell-safepro/assets/icon/note_mark.svg");
	mask-image: url("/wp-content/themes/swell-safepro/assets/icon/note_mark.svg");
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
	z-index: 1;
}

.cta-block {
	text-align: center;
	margin-top: 40px;
}

/* 選ばれる3つの理由セクション */
.reasons-section {
	padding: 80px 0;
	background: #fffbf5;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

@media (max-width: 768px) {
	.reasons-section {
		padding: 60px 0;
	}
}

/* サービスセクション */
.service-section {
	padding: 80px 0;
	background: white;
}

@media (max-width: 768px) {
	.service-section {
		padding: 60px 0;
	}
}

.pests-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	margin-bottom: 50px;
}

@media (max-width: 768px) {
	.pests-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
}

.pest-item {
	text-align: center;
	padding: 20px;
	background: #f5f5f5;
	border-radius: 10px;
	transition: all 0.3s ease;
	text-decoration: none;
	color: inherit;
	display: block;
	border: 2px solid transparent;
}

@media (hover: hover) and (pointer: fine) {
	.pest-item:hover {
		transform: translateY(-5px);
		box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
	}
}

.pest-item-link {
	cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
	.pest-item-link:hover {
		background: #fff;
		border-color: #f47200;
	}

	.pest-item-link.insect:hover {
		border-color: #2e7d32;
	}
}

.pest-icon {
	width: 60px;
	height: 60px;
	margin: 0 auto 10px;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	mask-size: contain;
}

.pest-icon.animal {
	background-color: #f47200;
}

.pest-icon.insect {
	background-color: #2e7d32;
}

.pest-icon.rat {
	-webkit-mask-image: url("/wp-content/themes/swell-safepro/assets/icon/rat.svg");
	mask-image: url("/wp-content/themes/swell-safepro/assets/icon/rat.svg");
}

.pest-icon.weasels {
	-webkit-mask-image: url("/wp-content/themes/swell-safepro/assets/icon/weasels.svg");
	mask-image: url("/wp-content/themes/swell-safepro/assets/icon/weasels.svg");
}

.pest-icon.paguma_larvata {
	-webkit-mask-image: url("/wp-content/themes/swell-safepro/assets/icon/paguma_larvata.svg");
	mask-image: url("/wp-content/themes/swell-safepro/assets/icon/paguma_larvata.svg");
}

.pest-icon.raccoons {
	-webkit-mask-image: url("/wp-content/themes/swell-safepro/assets/icon/raccoons.svg");
	mask-image: url("/wp-content/themes/swell-safepro/assets/icon/raccoons.svg");
}

.pest-icon.bats {
	-webkit-mask-image: url("/wp-content/themes/swell-safepro/assets/icon/bats.svg");
	mask-image: url("/wp-content/themes/swell-safepro/assets/icon/bats.svg");
}

.pest-icon.pigeon {
	-webkit-mask-image: url("/wp-content/themes/swell-safepro/assets/icon/pigeon.svg");
	mask-image: url("/wp-content/themes/swell-safepro/assets/icon/pigeon.svg");
}

.pest-icon.starling {
	-webkit-mask-image: url("/wp-content/themes/swell-safepro/assets/icon/starling.svg");
	mask-image: url("/wp-content/themes/swell-safepro/assets/icon/starling.svg");
}

.pest-icon.termites {
	-webkit-mask-image: url("/wp-content/themes/swell-safepro/assets/icon/termites.svg");
	mask-image: url("/wp-content/themes/swell-safepro/assets/icon/termites.svg");
}

.pest-icon.hornets {
	-webkit-mask-image: url("/wp-content/themes/swell-safepro/assets/icon/hornets.svg");
	mask-image: url("/wp-content/themes/swell-safepro/assets/icon/hornets.svg");
}

.pest-icon.cockroaches {
	-webkit-mask-image: url("/wp-content/themes/swell-safepro/assets/icon/cockroaches.svg");
	mask-image: url("/wp-content/themes/swell-safepro/assets/icon/cockroaches.svg");
}

/* サービス詳細リンク */
.service-detail-links {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-top: 50px;
	margin-bottom: 40px;
}

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

.service-detail-btn {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 25px 30px;
	color: white;
	text-decoration: none;
	border-radius: 15px;
	transition: all 0.3s ease;
}

.service-detail-btn.animal-btn {
	background: linear-gradient(135deg, #f47200 0%, #ff8a33 100%);
	box-shadow: 0 4px 15px rgba(244, 114, 0, 0.3);
}

@media (hover: hover) and (pointer: fine) {
	.service-detail-btn.animal-btn:hover {
		transform: translateY(-3px);
		box-shadow: 0 6px 20px rgba(244, 114, 0, 0.5);
	}
}

.service-detail-btn.insect-btn {
	background: linear-gradient(135deg, #2e7d32 0%, #43a047 100%);
	box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

@media (hover: hover) and (pointer: fine) {
	.service-detail-btn.insect-btn:hover {
		transform: translateY(-3px);
		box-shadow: 0 6px 20px rgba(46, 125, 50, 0.5);
	}
}

.detail-icon {
	width: 60px;
	height: 60px;
	flex-shrink: 0;
	background-color: white;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	mask-size: contain;
	transition:
		opacity 0.3s ease,
		transform 0.3s ease;
	opacity: 0;
	transform: scale(1);
}

/* スケールアニメーション用のクラス */
.detail-icon.icon-pop {
	transform: scale(1.2);
}

.detail-text {
	display: flex;
	flex-direction: column;
	gap: 5px;
	text-align: left;
}

.detail-text strong {
	font-size: 1.2rem;
	margin-bottom: 5px;
}

.detail-text small {
	font-size: 0.9rem;
	opacity: 0.9;
	font-weight: normal;
}

.reasons-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
}

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

.reason-item {
	text-align: center;
	position: relative;
	background: white;
	padding: 30px 20px;
	border-radius: 15px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
	.reason-item:hover {
		transform: translateY(-5px);
		box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
	}
}

.reason-number {
	position: absolute;
	top: -15px;
	right: -15px;
	color: white;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 1.4rem;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* 01: オレンジ */
.reason-item:nth-child(1) .reason-number {
	background: linear-gradient(135deg, #ff8a33 0%, #f47200 100%);
}

/* 02: 緑 */
.reason-item:nth-child(2) .reason-number {
	background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
}

/* 03: 青 */
.reason-item:nth-child(3) .reason-number {
	background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
}

.reason-item img {
	width: 100%;
	height: auto;
	border-radius: 10px;
	margin-bottom: 20px;
}

.reason-item h3 {
	font-size: 1.3rem;
	margin-bottom: 15px;
	color: #1a1a1a;
}

.reason-item p {
	margin-bottom: 10px;
}

/* 保証注釈のスタイル */
.warranty-note-mark {
	color: #f47200;
	font-weight: bold;
	font-size: 0.9em;
}

.warranty-notes {
	color: #666;
	font-size: 0.9rem;
	margin: 40px auto 0;
	width: fit-content;
}

.warranty-notes p {
	width: fit-content;
}

.warranty-notes ul {
	list-style: disc;
	padding-left: 20px;
	margin: 0 auto;
	text-align: left;
	display: inline-block;
}

.warranty-notes li {
	margin: 3px 0;
}

/* サービスの流れ */
.flow-section {
	padding: 80px 0;
	background: #f9f9f9;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

@media (max-width: 768px) {
	.flow-section {
		padding: 60px 0;
	}
}

.flow-steps {
	max-width: 800px;
	margin: 0 auto;
}

.flow-step {
	background: white;
	padding: 30px;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	display: flex;
	gap: 20px;
	align-items: flex-start;
}

.flow-step-number {
	background: #f47200;
	color: white;
	padding: 10px 20px;
	border-radius: 25px;
	font-weight: bold;
	white-space: nowrap;
}

.flow-step-content h3 {
	font-size: 1.2rem;
	margin-bottom: 10px;
	color: #1a1a1a;
}

.flow-arrow {
	text-align: center;
	font-size: 2rem;
	color: #f47200;
	margin: 20px 0;
}

/* 料金セクション */
.price-section {
	padding: 80px 0;
	background: white;
}

@media (max-width: 768px) {
	.price-section {
		padding: 60px 0;
	}
}

.price-intro {
	font-size: 1.2rem;
}

.price-item h3 {
	font-size: 1.1rem;
	margin-bottom: 15px;
	color: #1a1a1a;
}

.price {
	font-size: 1.8rem;
	font-weight: bold;
	color: #f47200;
}

.price span {
	font-size: 1.2rem;
}

.price-notes {
	text-align: center;
	color: #666;
	font-size: 0.9rem;
}

.price-notes p {
	margin: 5px 0;
}

/* 料金プラントグルスイッチ */
.price-plan-toggle {
	display: flex;
	gap: 0;
	justify-content: center;
	margin-bottom: 40px;
	background: #f5f5f5;
	padding: 6px;
	border-radius: 50px;
	max-width: 400px;
	margin-left: auto;
	margin-right: auto;
	box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
	position: relative;
}

/* スライドする背景 */
.price-plan-toggle::before {
	content: "";
	position: absolute;
	top: 6px;
	left: 6px;
	width: calc(50% - 6px);
	height: calc(100% - 12px);
	background: linear-gradient(135deg, #f47200 0%, #ff8a33 100%);
	border-radius: 50px;
	box-shadow: 0 4px 15px rgba(244, 114, 0, 0.3);
	transition: transform 0.3s ease;
	z-index: 0;
}

/* 根絶プランが選択されたときに背景を右にスライド */
.price-plan-toggle.eradication-active::before {
	transform: translateX(calc(100% + 6px));
}

.plan-toggle-btn {
	flex: 1;
	padding: 12px 30px;
	border: none;
	background: transparent;
	color: #666;
	font-size: 1rem;
	font-weight: bold;
	cursor: pointer;
	transition: color 0.3s ease;
	border-radius: 50px;
	position: relative;
	z-index: 1;
}

@media (hover: hover) and (pointer: fine) {
	.plan-toggle-btn:not(.active):hover {
		color: #f47200;
	}
}

.plan-toggle-btn.active {
	color: white;
}

@media (max-width: 768px) {
	.price-plan-toggle {
		max-width: 100%;
	}

	.plan-toggle-btn {
		padding: 10px 20px;
		font-size: 0.9rem;
	}
}

/* 料金プラングリッド表示切り替え */
.price-grid-wrapper {
	display: none;
}

.price-grid-wrapper.active {
	display: block;
}

/* 料金グリッドコンテナ - レイアウトシフト防止 */
.price-grids-container {
	position: relative;
	min-height: 400px;
	overflow: hidden;
}

/* 料金グリッドと注意書きのコンテナ - レイアウトシフト防止 */
.price-notes-container {
	position: relative;
	min-height: 100px;
	overflow: hidden;
}

/* 料金グリッドのフェードインアニメーション */
.price-grid-wrapper[data-plan] {
	display: none;
	opacity: 0;
	animation: fadeOut 0.3s ease-out;
}

.price-grid-wrapper[data-plan].active {
	display: block;
	opacity: 1;
	animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes fadeOut {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
	}
}

.swiper-wrapper {
	padding-top: 10px;
}

.price-item-notes {
	color: #666;
	font-size: 0.9rem;
}

/* PC表示: 従来のグリッドレイアウト */
@media (min-width: 769px) {
	.price-grid-swiper .swiper-wrapper {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
		gap: 30px;
	}

	.price-grid-swiper .swiper-slide {
		width: auto !important;
		margin: 0 !important;
	}

	.price-grid-swiper .swiper-pagination {
		display: none;
	}

	.price-item {
		background: #f9f9f9;
		padding: 30px;
		border-radius: 10px;
		text-align: center;
		border: 2px solid #e0e0e0;
		transition: all 0.3s ease;
		height: 100%;
	}

	@media (hover: hover) and (pointer: fine) {
		.price-item:hover {
			border-color: #f47200;
			transform: translateY(-5px);
		}
	}
}

/* スマホ表示: Swiperレイアウト */
@media (max-width: 768px) {
	.price-grids-container {
		min-height: 300px;
	}

	.price-grid-swiper {
		padding: 0 0 50px;
		overflow: visible;
	}

	.price-grid-swiper .swiper-slide {
		height: auto;
	}

	.price-grid-swiper .swiper-slide .price-item {
		height: 100%;
		background: #f9f9f9;
		padding: 30px;
		border-radius: 10px;
		text-align: center;
		border: 2px solid #e0e0e0;
		transition: all 0.3s ease;
	}

	/* Swiperページネーション */
	.price-grid-swiper .swiper-pagination {
		bottom: 10px;
	}

	.price-grid-swiper .swiper-pagination-bullet {
		width: 10px;
		height: 10px;
		background: #ccc;
		opacity: 1;
		transition: all 0.3s ease;
	}

	.price-grid-swiper .swiper-pagination-bullet-active {
		background: #f47200;
		width: 24px;
		border-radius: 5px;
	}
}

/* 注意書きのフェードインアニメーション */
.price-notes[data-plan] {
	display: none;
	opacity: 0;
	animation: fadeOut 0.3s ease-out;
}

.price-notes[data-plan].active {
	display: block;
	opacity: 1;
	animation: fadeIn 0.3s ease-in;
}

/* 実績・お客様の声 */
.testimonials-section {
	padding: 80px 0;
	background: #f9f9f9;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

@media (max-width: 768px) {
	.testimonials-section {
		padding: 60px 0;
	}
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	margin-bottom: 60px;
}

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

.stat-item {
	text-align: center;
	background: white;
	padding: 40px 20px;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.stat-number {
	font-size: 3rem;
	font-weight: bold;
	color: #f47200;
	margin-bottom: 10px;
}

.stat-label {
	font-size: 1rem;
	color: #666;
}

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

.testimonial-item {
	background: white;
	padding: 30px;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	display: flex;
	gap: 20px;
	align-items: flex-start;
}

@media (max-width: 768px) {
	.testimonial-item {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
}

.testimonial-item img {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	flex-shrink: 0;
}

.testimonial-text {
	font-size: 1.1rem;
	line-height: 1.8;
	margin-bottom: 15px;
}

.testimonial-author {
	color: #666;
	font-size: 0.9rem;
}

/* リフォームセクション */
.reform-section {
	padding: 60px 0;
	background: #e3f2fd;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

@media (max-width: 768px) {
	.reform-section {
		padding: 40px 0;
	}
}

.reform-box {
	max-width: 800px;
	margin: 0 auto;
	text-align: center;
}

.reform-box h3 {
	font-size: 1.5rem;
	margin-bottom: 20px;
	color: #1a1a1a;
}

.reform-box p {
	margin-bottom: 30px;
	line-height: 1.8;
}

/* FAQ */
.faq-section {
	padding: 80px 0;
	background: white;
}

@media (max-width: 768px) {
	.faq-section {
		padding: 60px 0;
	}
}

.faq-list {
	max-width: 800px;
	margin: 0 auto;
}

.faq-item {
	background: #f9f9f9;
	border-radius: 10px;
	margin-bottom: 15px;
	overflow: hidden;
	transition: all 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
	.faq-item:hover {
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	}
}

.faq-question {
	font-size: 1.1rem;
	font-weight: bold;
	color: #1a1a1a;
	padding: 25px;
	margin: 0;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: all 0.3s ease;
	position: relative;
	list-style: none;
}

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

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

@media (hover: hover) and (pointer: fine) {
	.faq-question:hover {
		background: #f0f0f0;
	}
}

.faq-item[open] .faq-question {
	background: #fff3e0;
	color: #f47200;
}

.faq-question-text {
	flex: 1;
}

.faq-toggle {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	margin-left: 15px;
	position: relative;
	transition: transform 0.3s ease;
}

.faq-toggle::before,
.faq-toggle::after {
	content: "";
	position: absolute;
	background: #f47200;
	transition: transform 0.3s ease;
}

.faq-toggle::before {
	top: 50%;
	left: 0;
	width: 100%;
	height: 3px;
	transform: translateY(-50%);
}

.faq-toggle::after {
	top: 0;
	left: 50%;
	width: 3px;
	height: 100%;
	transform: translateX(-50%);
}

.faq-item[open] .faq-toggle::after {
	transform: translateX(-50%) rotate(90deg);
	opacity: 0;
}

.faq-answer {
	padding: 25px;
	animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.faq-answer p {
	color: #555;
	line-height: 1.8;
	margin: 0;
}

/* 最終CTA */
.final-cta-section {
	padding: 80px 0;
	background: linear-gradient(135deg, #ff8a33 0%, #f47200 100%);
	color: white;
	text-align: center;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

@media (max-width: 768px) {
	.final-cta-section {
		padding: 60px 0 140px;
	}
}

.final-cta-title {
	font-size: 2.5rem;
	margin-bottom: 20px;
}

.final-cta-subtitle {
	font-size: 1.3rem;
	margin-bottom: 40px;
}

@media (max-width: 768px) {
	.final-cta-title {
		font-size: 1.8rem;
	}

	.final-cta-subtitle {
		font-size: 1.1rem;
	}
}

.final-cta-buttons {
	display: flex;
	flex-direction: column;
	gap: 20px;
	align-items: center;
	margin-bottom: 30px;
}

.final-cta-features {
	display: flex;
	gap: 30px;
	justify-content: center;
	flex-wrap: wrap;
}

.feature-badge {
	font-size: 1.1rem;
	font-weight: bold;
}

/* final-cta-section内の電話ボタンを白背景にする */
.final-cta-section .btn-phone {
	background: white;
	color: #f47200;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

@media (hover: hover) and (pointer: fine) {
	.final-cta-section .btn-phone:hover {
		transform: translateY(-2px);
		box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
	}
}

.final-cta-section .btn-phone .btn-icon.tel-icon {
	background-color: #f47200;
}

/* final-cta-section内の営業時間外ボタンも白背景 */
.final-cta-section .btn-phone.is-closed {
	background: white;
	color: #4caf50;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

@media (hover: hover) and (pointer: fine) {
	.final-cta-section .btn-phone.is-closed:hover {
		transform: translateY(-2px);
		box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
	}
}

.final-cta-section .btn-phone.is-closed .btn-icon.tel-icon {
	background-color: #4caf50;
}

/* お問い合わせフォーム */
.contact-form-section {
	padding: 80px 0;
	background: #f9f9f9;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

@media (max-width: 768px) {
	.contact-form-section {
		padding: 60px 0;
	}
}

.wpcf7-form {
	max-width: 800px;
	margin: 0 auto;
	background: white;
	padding: 40px;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	position: relative;
}

.wpcf7-form p:not(:last-of-type) {
	margin-bottom: 25px;
}

.wpcf7-form label {
	display: block;
	margin-bottom: 8px;
	font-weight: bold;
	color: #333;
}

.required {
	color: #f47200;
	font-size: 0.8rem;
	margin-left: 5px;
}

.wpcf7-form input:not([type="checkbox"]):not([type="submit"]),
.wpcf7-form textarea,
.wpcf7-form select {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-size: 1rem;
	background-color: white;
	transition: all 0.3s ease;
}

.wpcf7-form select {
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"><path fill="%23333" d="M1.41 0L6 4.58 10.59 0 12 1.42l-6 6-6-6z"/></svg>');
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 12px;
	padding-right: 40px;
}

@media (hover: hover) and (pointer: fine) {
	.wpcf7-form select:hover {
		border-color: #f47200;
		background-color: #fffbf0;
	}
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
	outline: none;
	border-color: #f47200;
	box-shadow: 0 0 0 3px rgba(244, 114, 0, 0.1);
}

.wpcf7-submit {
	display: block;
	width: 100%;
	max-width: 600px;
	margin: 0 auto;
	background: #4caf50;
	color: white;
	padding: 15px;
	border: none;
	border-radius: 5px;
	font-size: 1.1rem;
	font-weight: bold;
	cursor: pointer;
	transition: background 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
	.wpcf7-submit:hover {
		background: #45a049;
	}
}

.wpcf7-spinner {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

/* 会社情報 */
.company-section {
	padding: 80px 0;
	background: white;
}

@media (max-width: 768px) {
	.company-section {
		padding: 60px 0;
	}
}

.company-table {
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
	border-collapse: collapse;
}

.company-table th,
.company-table td {
	padding: 20px;
	border-bottom: 1px solid #e0e0e0;
	text-align: left;
}

.company-table th {
	background: #f5f5f5;
	font-weight: bold;
	width: 30%;
}

@media (max-width: 768px) {
	.company-table th,
	.company-table td {
		display: block;
		width: 100%;
		padding: 10px;
	}

	.company-table th {
		background: transparent;
		font-weight: bold;
		border-bottom: none;
		padding-bottom: 5px;
	}

	.company-table td {
		padding-top: 0;
	}
}

/* フッター */
.lp-footer {
	background: #1a1a1a;
	color: white;
	padding: 40px 0 20px;
	text-align: center;
}

.footer-links {
	margin-bottom: 20px;
}

.footer-links a {
	color: white;
	text-decoration: none;
	margin: 0 15px;
	font-size: 0.9rem;
}

@media (hover: hover) and (pointer: fine) {
	.footer-links a:hover {
		text-decoration: underline;
	}
}

.copyright {
	font-size: 0.85rem;
	color: #999;
}

/* 問題項目のクリッカブルスタイル */
.problem-item.clickable {
	cursor: pointer;
	position: relative;
	transition: all 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
	.problem-item.clickable:hover {
		transform: translateY(-3px);
		box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
		background: #fffbf0;
	}
}

/* ツールチップ */
.problem-item .tooltip {
	position: absolute;
	top: -45px;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(0, 0, 0, 0.9);
	color: white;
	padding: 8px 16px;
	border-radius: 6px;
	font-size: 0.9rem;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
	z-index: 10;
}

/* ホバー終了時は即座に消す */
@media (hover: hover) and (pointer: fine) {
	.problem-item:not(:hover) .tooltip {
		transition: opacity 0s;
	}
}

.problem-item .tooltip::after {
	content: "";
	position: absolute;
	bottom: -6px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 6px solid rgba(0, 0, 0, 0.9);
}

@media (hover: hover) and (pointer: fine) {
	.problem-item.clickable:hover .tooltip {
		opacity: 1;
	}
}

/* モーダル */
.problem-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(3px);
}

.modal-content {
	position: relative;
	background: white;
	border-radius: 15px;
	max-width: 700px;
	width: 100%;
	max-height: 80vh;
	overflow-y: auto;
	z-index: 10000;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
	animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
	from {
		opacity: 0;
		transform: translateY(-30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.modal-close {
	position: absolute;
	top: 15px;
	right: 15px;
	background: none;
	border: none;
	font-size: 2.5rem;
	color: #999;
	cursor: pointer;
	line-height: 1;
	padding: 5px 10px;
	transition: color 0.3s ease;
	z-index: 10001;
}

@media (hover: hover) and (pointer: fine) {
	.modal-close:hover {
		color: #f47200;
	}
}

.modal-body {
	padding: 40px;
}

@media (max-width: 768px) {
	.modal-body {
		padding: 30px 20px;
	}
}

.modal-detail {
	display: none;
}

.modal-title {
	font-size: 1.8rem;
	font-weight: bold;
	color: #1a1a1a;
	margin-bottom: 30px;
	padding-bottom: 15px;
	border-bottom: 3px solid #f47200;
}

@media (max-width: 768px) {
	.modal-title {
		font-size: 1.4rem;
		margin-bottom: 20px;
	}
}

.modal-section {
	margin-bottom: 30px;
}

.modal-section h4 {
	font-size: 1.3rem;
	font-weight: bold;
	color: #333;
	margin-bottom: 15px;
	padding-left: 15px;
	border-left: 4px solid #f47200;
}

@media (max-width: 768px) {
	.modal-section h4 {
		font-size: 1.1rem;
	}
}

.modal-section ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.modal-section li {
	padding: 12px 0;
	padding-left: 25px;
	position: relative;
	line-height: 1.7;
	border-bottom: 1px solid #f0f0f0;
}

.modal-section li:last-child {
	border-bottom: none;
}

.modal-section li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	color: #f47200;
	font-weight: bold;
	width: 8px;
	height: 8px;
	background-color: #f47200;
	-webkit-mask-image: url("/wp-content/themes/swell-safepro/assets/icon/next_mark.svg");
	mask-image: url("/wp-content/themes/swell-safepro/assets/icon/next_mark.svg");
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	mask-size: contain;
}

.modal-section li strong {
	color: #f47200;
}

/* 害獣・害虫タグ */
.pest-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.pest-tag {
	display: inline-flex;
	align-items: center;
	padding: 10px 18px;
	border-radius: 25px;
	font-size: 1rem;
	font-weight: bold;
	transition: all 0.3s ease;
}

.pest-tag.animal {
	background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
	color: #e65100;
	border: 2px solid #ffb74d;
}

.pest-tag::before {
	content: "";
	width: 25px;
	height: 25px;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	mask-size: contain;
	margin-right: 2px;
}

.pest-tag.insect {
	background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
	color: #2e7d32;
	border: 2px solid #81c784;
}

.pest-tag.animal::before {
	background-color: #f47200;
}

.pest-tag.insect::before {
	background-color: #2e7d32;
}

.pest-tag.rat::before {
	-webkit-mask-image: url("/wp-content/themes/swell-safepro/assets/icon/rat.svg");
	mask-image: url("/wp-content/themes/swell-safepro/assets/icon/rat.svg");
}

.pest-tag.weasels::before {
	-webkit-mask-image: url("/wp-content/themes/swell-safepro/assets/icon/weasels.svg");
	mask-image: url("/wp-content/themes/swell-safepro/assets/icon/weasels.svg");
}

.pest-tag.paguma_larvata::before {
	-webkit-mask-image: url("/wp-content/themes/swell-safepro/assets/icon/paguma_larvata.svg");
	mask-image: url("/wp-content/themes/swell-safepro/assets/icon/paguma_larvata.svg");
}

.pest-tag.raccoons::before {
	-webkit-mask-image: url("/wp-content/themes/swell-safepro/assets/icon/raccoons.svg");
	mask-image: url("/wp-content/themes/swell-safepro/assets/icon/raccoons.svg");
}

.pest-tag.bats::before {
	-webkit-mask-image: url("/wp-content/themes/swell-safepro/assets/icon/bats.svg");
	mask-image: url("/wp-content/themes/swell-safepro/assets/icon/bats.svg");
}

.pest-tag.pigeon::before {
	-webkit-mask-image: url("/wp-content/themes/swell-safepro/assets/icon/pigeon.svg");
	mask-image: url("/wp-content/themes/swell-safepro/assets/icon/pigeon.svg");
}

.pest-tag.starling::before {
	-webkit-mask-image: url("/wp-content/themes/swell-safepro/assets/icon/starling.svg");
	mask-image: url("/wp-content/themes/swell-safepro/assets/icon/starling.svg");
}

.pest-tag.termites::before {
	-webkit-mask-image: url("/wp-content/themes/swell-safepro/assets/icon/termites.svg");
	mask-image: url("/wp-content/themes/swell-safepro/assets/icon/termites.svg");
}

.pest-tag.hornets::before {
	-webkit-mask-image: url("/wp-content/themes/swell-safepro/assets/icon/hornets.svg");
	mask-image: url("/wp-content/themes/swell-safepro/assets/icon/hornets.svg");
}

.pest-tag.cockroaches::before {
	-webkit-mask-image: url("/wp-content/themes/swell-safepro/assets/icon/cockroaches.svg");
	mask-image: url("/wp-content/themes/swell-safepro/assets/icon/cockroaches.svg");
}

@media (hover: hover) and (pointer: fine) {
	.pest-tag:hover {
		transform: translateY(-2px);
		box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
	}
}

/* モーダルのスクロールバースタイリング */
.modal-content::-webkit-scrollbar {
	width: 8px;
}

.modal-content::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
	background: #f47200;
	border-radius: 10px;
}

@media (hover: hover) and (pointer: fine) {
	.modal-content::-webkit-scrollbar-thumb:hover {
		background: #d66400;
	}
}

/* スクロールアニメーション */
.fade-in-up {
	opacity: 0;
	transform: translateY(40px);
	transition:
		opacity 0.8s ease-out,
		transform 0.8s ease-out;
}

.fade-in-up.visible {
	opacity: 1;
	transform: translateY(0);
}

/* 目次ナビゲーション */
.toc-nav {
	position: fixed;
	top: 100px;
	right: 20px;
	z-index: 1000;
	background: white;
	border-radius: 10px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	overflow: hidden;
	transition: all 0.3s ease;
}

.toc-trigger {
	padding: 12px 20px;
	background: linear-gradient(135deg, #f47200 0%, #ff8a33 100%);
	color: white;
	font-weight: bold;
	cursor: pointer;
	text-align: center;
	font-size: 0.95rem;
	letter-spacing: 0.5px;
}

.toc-list {
	list-style: none;
	margin: 0;
	padding: 0;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
	.toc-nav:hover .toc-list {
		max-height: 400px;
	}
}

.toc-list li {
	border-bottom: 1px solid #f0f0f0;
}

.toc-list li:last-child {
	border-bottom: none;
}

.toc-link {
	display: block;
	padding: 12px 20px;
	color: #333;
	text-decoration: none;
	font-size: 0.9rem;
	transition: all 0.3s ease;
	white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
	.toc-link:hover {
		background: #fff3e0;
		color: #f47200;
		padding-left: 25px;
	}
}

.toc-link.active {
	background: linear-gradient(135deg, #f47200 0%, #ff8a33 100%);
	color: white;
	font-weight: bold;
	padding-left: 25px;
	border-left: 4px solid #d66400;
}

/* スマホでは非表示 */
@media (max-width: 768px) {
	.toc-nav {
		display: none;
	}
}

/* 最新実績セクション */
.recent-posts-title {
	font-size: 1.8rem;
	font-weight: bold;
	text-align: center;
	margin-bottom: 40px;
	color: #1a1a1a;
}

@media (max-width: 768px) {
	.recent-posts-title {
		font-size: 1.5rem;
		margin-bottom: 30px;
	}
}

/* Swiper スタイル */
.swiper.recent-posts-swiper {
	position: relative;
	padding: 0 0 60px;
}

@media (max-width: 768px) {
	swiper.recent-posts-swiper {
		padding: 0 0 60px;
	}
}

.recent-posts-swiper .swiper-slide {
	height: auto;
}

.recent-posts-swiper .swiper-slide .post-card {
	height: 100%;
	display: flex;
	flex-direction: column;
}

.recent-posts-swiper .swiper-slide .post-card-link {
	height: 100%;
	display: flex;
	flex-direction: column;
}

.recent-posts-swiper .swiper-slide .post-card-body {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.recent-posts-swiper .swiper-slide .post-card-excerpt {
	flex: 1;
}

/* Swiperナビゲーションボタン */
.recent-posts-swiper .swiper-button-prev,
.recent-posts-swiper .swiper-button-next {
	width: 44px;
	height: 44px;
	background: white;
	border-radius: 50%;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
	transition: all 0.3s ease;
}

.recent-posts-swiper .swiper-button-prev::after,
.recent-posts-swiper .swiper-button-next::after {
	font-size: 20px;
	color: #f47200;
	font-weight: bold;
}

@media (hover: hover) and (pointer: fine) {
	.recent-posts-swiper .swiper-button-prev:hover,
	.recent-posts-swiper .swiper-button-next:hover {
		background: #f47200;
		transform: scale(1.1);
	}

	.recent-posts-swiper .swiper-button-prev:hover::after,
	.recent-posts-swiper .swiper-button-next:hover::after {
		color: white;
	}
}

@media (max-width: 768px) {
	.recent-posts-swiper .swiper-button-prev,
	.recent-posts-swiper .swiper-button-next {
		display: none;
	}
}

/* Swiperページネーション */
.recent-posts-swiper .swiper-pagination {
	bottom: 10px;
}

.recent-posts-swiper .swiper-pagination-bullet {
	width: 12px;
	height: 12px;
	background: #ccc;
	opacity: 1;
	transition: all 0.3s ease;
}

.recent-posts-swiper .swiper-pagination-bullet-active {
	background: #f47200;
	width: 30px;
	border-radius: 6px;
}
