@charset "utf-8";
/* 当サイト用の上書き（テンプレート本体の style.css は変更せずに調整） */

/*見出しだけ明朝にして、本文のゴシックとメリハリをつける*/
.mainimg .text h1,
main h2,
main h3,
main h4,
.bg-image1 h2 {
	font-family: var(--heading-font);
	font-weight: 600;
	letter-spacing: 0.06em;
}
main h2 span,
.list2 .no {
	font-family: var(--accent-font), var(--base-font);
	letter-spacing: 0.18em;
}
body {
	letter-spacing: 0.04em;
	font-feature-settings: "palt" 0;
}
.mainimg .text p,
main p {
	line-height: 2.1;
}

/*トップの見出し：3行がそれぞれ途中で折れないように、文字サイズを抑えて1行ずつまとめる*/
.mainimg .text h1 {
	font-size: clamp(22px, 3.4vw, 50px);
	letter-spacing: 0.06em;
}
.mainimg .text h1 span {
	display: inline-block;
	white-space: nowrap;
}

/*アイコン（SVG）*/
.ico {
	width: 1em;
	height: 1em;
	vertical-align: -0.15em;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}
#menubar .btn .ico, footer .btn .ico {margin-right: 0.5em;}
.list1 .image.icon .ico {width: 2.4rem;height: 2.4rem;}
.list2 .image .ico {width: 2.2rem;height: 2.2rem;}
.pagetop .ico {width: 1.1rem;height: 1.1rem;}

/*流れの矢印（アイコンフォントの代わりにCSSの三角）*/
.list2 > div:not(:last-child)::after {
	content: "";
	font-family: inherit;
	width: 0;
	height: 0;
	border-left: 0.7rem solid var(--primary-color);
	border-top: 0.55rem solid transparent;
	border-bottom: 0.55rem solid transparent;
}

/*クレジット表記の装飾アイコン（文字とリンクはそのまま）*/
.pr a::before {content: none;}

/*料金の表示*/
.price-tag {
	font-family: var(--accent-font), var(--base-font);
	color: var(--primary-color);
	font-size: 1.6rem;
	font-weight: 500;
	text-align: center;
	margin: 0.3rem 0 0.6rem;
	line-height: 1.4;
}
.price-tag small {font-family: var(--base-font);font-size: 0.8rem;margin-left: 0.2em;}

/*立入検査4点のリスト*/
.doc-list {
	list-style: none;
	margin: 1.5rem 0 2rem;
	padding: 0;
	counter-reset: doc;
}
.doc-list li {
	counter-increment: doc;
	display: flex;
	gap: 1rem;
	align-items: baseline;
	padding: 0.8rem 0;
	border-bottom: 1px solid var(--primary-light-border-color);
}
.doc-list li::before {
	content: "0" counter(doc);
	font-family: var(--accent-font), var(--base-font);
	color: var(--accent-color);
	font-weight: 500;
	flex-shrink: 0;
}
.doc-list b {font-family: var(--heading-font);font-weight: 600;margin-right: 0.8em;}
.doc-list span {font-size: 0.9rem;opacity: 0.8;}
.note-src {font-size: 0.8rem;opacity: 0.7;}

/*ロゴ（SVG）*/
.logo img {width: 280px;max-width: 100%;height: auto;}
footer .logo img {width: 230px;}

/*比較表*/
.compare-wrap {overflow-x: auto;margin: 2rem 0 1rem;-webkit-overflow-scrolling: touch;}
.compare {width: 100%;min-width: 640px;border-collapse: collapse;font-size: 0.9rem;line-height: 1.6;}
.compare th, .compare td {padding: 0.9rem 0.8rem;border-bottom: 1px solid var(--bg-border-color);text-align: center;vertical-align: middle;}
.compare thead th {font-family: var(--heading-font);font-weight: 600;font-size: 0.85rem;background: var(--primary-light-color);}
.compare tbody th {text-align: left;font-weight: 500;white-space: nowrap;}
.compare small {display: block;font-size: 0.75rem;opacity: 0.75;}
.compare .ours {background: rgba(47,127,143,0.08);color: var(--primary-color);font-weight: 600;}
.compare thead .ours {background: var(--primary-color);color: var(--primary-inverse-color);}

/*下層ページ（運営者情報・プライバシーポリシー）*/
.subpage {max-width: 800px;margin: 0 auto;padding-block: 3rem 5rem;padding-left: max(16px, env(safe-area-inset-left, 0px));padding-right: max(16px, env(safe-area-inset-right, 0px));}
.subpage h2 {font-size: 1.6rem;margin: 0 0 2rem;}
.subpage h3 {font-size: 1.1rem;margin: 2.5rem 0 0.8rem;color: var(--primary-color);}
.subpage p, .subpage li {line-height: 2;}
.subpage .info {width: 100%;border-collapse: collapse;margin: 1rem 0 2rem;}
.subpage .info th, .subpage .info td {border-bottom: 1px solid var(--bg-border-color);padding: 0.9rem 0.6rem;text-align: left;vertical-align: top;line-height: 1.8;}
.subpage .info th {width: 34%;font-weight: 500;background: var(--primary-light-color);}
.subpage .back {margin-top: 3rem;}
.subpage-header {border-bottom: 1px solid var(--bg-border-color);padding-block: 1rem;padding-left: max(16px, env(safe-area-inset-left, 0px));padding-right: max(16px, env(safe-area-inset-right, 0px));}
.subpage-header img {width: 280px;max-width: 100%;height: auto;display: block;}
@media screen and (max-width:600px) {.subpage .info th, .subpage .info td {display: block;width: auto;}}

/*トップ：左の文字の裏を白にして、写真へグラデーションでつなぐ（PC表示のみ）*/
@media (min-width:701px) {
	.mainimg {background: #fff;}
	.mainimg .image {width: 66%;margin-left: auto;}
	.mainimg .img1 {aspect-ratio: 3 / 2;}
	.mainimg .image::before {
		content: "";
		position: absolute;
		top: 0;
		bottom: 0;
		left: -1px;
		width: 38%;
		z-index: 1;
		pointer-events: none;
		background: linear-gradient(to right, #fff 0%, rgba(255,255,255,0.75) 35%, rgba(255,255,255,0) 100%);
	}
	.mainimg .text {width: 46%;}
}
