/**
 * 共通CTA + 共通フッター（原本: reference/original-site/cta_footer）
 * 生成: node tools/extract-cta-footer-css.mjs — 直接編集せずスクリプトを再実行すること
 *
 * ・全セレクタを .tz-cf 配下にスコープ化（原本のグローバル -w- 指定を他DOMへ漏らさない）
 * ・原本の 1rem=10px を px へ変換済み（テーマのルートは16pxのため）
 * ・@font-face は入れない。Webフォントは inc/assets.php の tz-cf-fonts で読み込む
 * 微調整が必要なときはこのファイルではなく generator 側を直すこと。
 */


/* ---- ベース（原本の html/body 指定をスコープ内へ移したもの） ---- */
.tz-cf {
	background: #000000;
	color: #ffffff;
	font-family: "Zen Old Mincho", serif, arial, sans-serif;
	font-size: 16px;
	line-height: 1.8;
	-webkit-text-size-adjust: 100%;
	word-break: keep-all;
	overflow-wrap: anywhere;
}
@media (max-width: 768px) {
	.tz-cf {
		font-size: max(3.7vw, 20px);
	}
}

/* ---- 外から漏れてくる指定の打ち消し ----
 * スコープ化はスコープ外への漏れは止められるが、載せる先のページ（原本withersの
 * Elementor/テーマCSS）が持つ素の要素セレクタ（h2 / span など）はスコープ内にも効く。
 * 原本CTA/フッターがブラウザ既定値のまま使っていたプロパティだけ、既定値に戻す。
 * 対象は preview/compare-cta-footer.mjs（単体描画 vs 原本ページ上）で実測して洗い出したもの。 */
.tz-cf h2 {
	font-size: 1.5em; /* 原本は h2 に font-size 指定なし＝UA既定。withers は h2 を 1em に潰す */
}
.tz-cf h3 {
	font-size: 1.17em;
}
.tz-cf div,
.tz-cf span,
.tz-cf p,
.tz-cf a,
.tz-cf ul,
.tz-cf li,
.tz-cf nav,
.tz-cf h2,
.tz-cf h3 {
	font-family: inherit; /* withers が span 等へ入れる明朝指定を止め、-w-font_* の指定を継承させる */
}

/* ---- from: saved_resource.css ---- */

@media screen and (max-width: 768px) {
	.tz-cf .-w-more_btn a,
	.tz-cf .-w-more_btn a span {
		transition: none !important;
	}
}
.tz-cf, .tz-cf * {
	box-sizing: border-box;
}
.tz-cf ul,
.tz-cf li,
.tz-cf ul[class] {
	padding: 0px;
}
.tz-cf h2,
.tz-cf h3,
.tz-cf ul[class],
.tz-cf ul,
.tz-cf li {
	margin: 0px;
}
.tz-cf h2,
.tz-cf h3 {
	font-weight: normal;
}
.tz-cf ul[class] {
	list-style: none;
}
.tz-cf a:not([class]) {
	text-decoration-skip-ink: auto;
}
.tz-cf img {
	max-width: 100%;
	display: block;
}
.tz-cf a[href*="tel:"] {
	pointer-events: none;
}
@media screen and (max-width: 768px) {
	.tz-cf a[href*="tel:"] {
		pointer-events: auto;
	}
}
.tz-cf, .tz-cf * {
	margin: 0px;
	padding: 0px;
	box-sizing: border-box;
}
.tz-cf span.-w-general {
	position: relative;
	font-size: 42px;
	margin-bottom: 10px;
	display: inline-block;
	line-height: 1;
	color: rgb(255, 255, 255);
	letter-spacing: 0.05em;
}
@media (max-width: 768px) {
	.tz-cf span.-w-general {
		font-size: 7.5vw;
		text-align: center;
		margin-bottom: 10px;
	}
}
.tz-cf .-w-more_btn {
	margin-top: 30px;
	text-align: center;
}
.tz-cf .-w-more_btn a {
	display: inline-block;
	position: relative;
	text-decoration: none;
	border: 2px solid rgb(223, 174, 33);
	transition: 0.3s;
	padding: 8px 5px;
	line-height: 1;
	text-align: center;
	min-width: 170px;
	background-color: rgb(223, 174, 33);
	color: rgb(0, 0, 0);
}
.tz-cf .-w-more_btn a:hover {
	opacity: 1;
	color: rgb(223, 174, 33);
	background-color: rgb(0, 0, 0);
}
@media (max-width: 768px) {
	.tz-cf .-w-more_btn a {
		padding: 15px 10px;
		min-width: 100%;
		font-size: 4vw;
	}
}
.tz-cf .-w-more_btn a span {
	position: relative;
	z-index: 2;
	color: inherit;
}
.tz-cf .-w-more_btn a:hover span {
	color: inherit;
}
.tz-cf .-w-more_btn a:hover {
	opacity: 1;
	color: rgb(223, 174, 33);
	background-color: rgb(0, 0, 0);
}
.tz-cf .-w-font_title1 {
	font-family: "Hina Mincho", serif, "Zen Old Mincho", serif, sans-serif;
	font-style: normal;
	font-weight: 400;
}
.tz-cf .-w-font_title2 {
	font-family: "Zen Old Mincho", serif, "Zen Old Mincho", serif, sans-serif;
	font-style: normal;
	font-weight: 500;
}
.tz-cf .-w-font_en {
	font-family: "Shippori Mincho B1", serif, "Hina Mincho", serif, "Zen Old Mincho", serif, sans-serif;
	font-style: normal;
	font-weight: 500;
}
@media (max-width: 768px) {
	.tz-cf .-w-font_en {
		font-family: "Shippori Mincho B1", serif, "Hina Mincho", serif, "Zen Old Mincho", serif, sans-serif;
	}
}
.tz-cf .-w-more_btn {
	text-align: center;
}
.tz-cf .-w-more_btn a {
	color: rgb(255, 255, 255);
	text-decoration: none;
	transition: 0.2s ease-in-out;
	border: 0px;
	padding: 0px;
	background: inherit;
	font-weight: 400;
}
.tz-cf .-w-more_btn a:hover {
	color: rgb(223, 174, 33);
	background: inherit;
}
.tz-cf .-w-more_btn a span {
	border-bottom: 1px solid rgb(255, 255, 255);
	padding-bottom: 10px;
	transition: 0.3s ease-in-out;
}
.tz-cf .-w-more_btn a:hover span {
	padding: 0px 10px 10px;
	border-bottom-color: rgb(223, 174, 33);
}
.tz-cf .-w-more_btn a {
	font-weight: 500 !important;
}
.tz-cf span.taizan_name {
	font-family: kepler-std-condensed-subhead, serif;
	font-weight: 400;
	font-style: normal;
	font-size: 1.2em;
}
.tz-cf [data-lib="27288"] {
	position: relative;
	text-align: center;
	padding: 4% 0px;
}
.tz-cf [data-lib="27288"] .-w-cont-wrap {
	width: 60%;
	box-sizing: border-box;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	z-index: 2;
	border: 1px solid;
	color: rgb(243, 243, 243);
	padding: 5vh 0px 7vh;
}
.tz-cf [data-lib="27288"] span.-w-general.-w-font_en {
	margin-left: auto;
	margin-right: auto;
}
.tz-cf [data-lib="27288"] span.-w-general.-w-font_en::before {
	display: none;
}
.tz-cf [data-lib="27288"] span.-w-general.-w-font_en::after {
	display: none;
}
.tz-cf [data-lib="27288"] .-w-general {
	color: rgb(243, 243, 243);
}
.tz-cf [data-lib="27288"] .-w-textfont {
	color: rgb(243, 243, 243);
	padding: 0px 40px;
}
.tz-cf [data-lib="27288"] .fade {
	opacity: 0;
	transform: translateY(100px);
	transition: 1s;
}
.tz-cf [data-lib="27288"] .fade.on {
	opacity: 1;
	transform: translateY(0px);
}
@media (max-width: 768px) {
	.tz-cf [data-lib="27288"] {
		padding: 10% 5%;
	}
	.tz-cf [data-lib="27288"] .-w-textfont {
		margin: 10px 0px;
		padding: 0px 20px;
	}
	.tz-cf [data-lib="27288"] .-w-cont-wrap {
		width: 100%;
	}
	.tz-cf [data-lib="27288"] .ttl_wrap h2 {
		font-size: 5vw;
	}
}
.tz-cf [data-instance="41138"] {
	background: none center center / cover no-repeat;
}
.tz-cf [data-instance="41138"]::before {
	content: "";
	position: absolute;
	inset: 0px;
	background: rgba(33, 33, 34, 0.7);
	z-index: 0;
}
.tz-cf [data-lib="25730"] {
	padding: 95px 0px 75px;
	color: rgb(255, 255, 255);
	position: relative;
	z-index: 100;
}
.tz-cf [data-lib="25730"] a[href^="tel:"] {
	cursor: default;
}
.tz-cf [data-lib="25730"] a[href^="tel:"]:hover {
	text-decoration: none;
}
.tz-cf [data-lib="25730"] a:hover {
	color: rgb(223, 174, 33);
}
.tz-cf [data-lib="25730"] .-w-sp {
	display: none;
}
.tz-cf [data-lib="25730"] .-w-wrap_in {
	display: flex;
	flex-wrap: wrap;
	width: 1170px;
	max-width: 90%;
	margin: 0px auto;
}
.tz-cf [data-lib="25730"] .-w-foot-nav {
	width: 100%;
}
.tz-cf [data-lib="25730"] .-w-flogo {
	margin-bottom: 25px;
}
.tz-cf [data-lib="25730"] .-w-flogo a {
	display: block;
}
.tz-cf [data-lib="25730"] .-w-flogo img {
	padding: 0px;
	background: none;
	object-fit: contain;
}
.tz-cf [data-lib="25730"] .-w-tel {
	font-size: 48px;
	font-weight: 400;
	line-height: 1;
}
.tz-cf [data-lib="25730"] .-w-tel a {
	color: rgb(0, 0, 0);
	text-decoration: none;
}
.tz-cf [data-lib="25730"] .-w-fnav ul {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	justify-content: left;
}
.tz-cf [data-lib="25730"] .-w-fnav ul li {
	margin: 0px 10px 0px 0px;
	font-size: 17px;
	width: calc(25% - 7.5px);
}
.tz-cf [data-lib="25730"] .-w-fnav ul li:nth-child(4n) {
	margin-right: 0px;
}
.tz-cf [data-lib="25730"] .-w-fnav ul li:nth-child(n+5) {
	margin-top: 10px;
}
.tz-cf [data-lib="25730"] .-w-fnav ul li a {
	color: rgb(242, 242, 242);
	text-decoration: none;
}
.tz-cf [data-lib="25730"] .-w-fnav ul li a:hover {
	color: rgb(223, 174, 33);
	text-decoration: underline;
}
.tz-cf [data-lib="25730"] .-w-copyright {
	width: 100%;
	padding: 20px 0px;
	color: rgb(242, 242, 242);
	text-align: center;
	font-size: 14px;
}
.tz-cf [data-lib="25730"] .-w-copyright a {
	color: rgb(242, 242, 242);
	text-decoration: none;
}
.tz-cf [data-lib="25730"] .-w-copyright a:hover {
	color: rgb(223, 174, 33);
}
.tz-cf [data-lib="25730"] .-w-sns-sub {
	display: flex;
	gap: 20px;
	width: 1170px;
	max-width: 90%;
	margin: 0px auto 20px;
}
.tz-cf [data-lib="25730"] .-w-line-sub,
.tz-cf [data-lib="25730"] .-w-instagram-sub {
	width: 32px;
	height: 32px;
	vertical-align: top;
	z-index: 9;
	object-fit: cover;
}
.tz-cf [data-lib="25730"]::after {
	backdrop-filter: none !important;
}
.tz-cf [data-lib="25730"] .-w-mail-sub {
	width: 35px;
	height: 35px;
	position: relative;
	text-decoration: none;
	display: inline-block;
}
.tz-cf [data-lib="25730"] .-w-mail-sub::before {
	content: "";
	font-family: "Material Icons";
	color: rgb(255, 255, 255);
	font-size: 34px;
	position: absolute;
	top: 0px;
	line-height: 1;
}
@media (max-width: 1024px) {
	.tz-cf [data-lib="25730"] .-w-wrap_in {
		width: 90%;
	}
	.tz-cf [data-lib="25730"] .-w-fnav ul {
		gap: 10px;
	}
	.tz-cf [data-lib="25730"] .-w-fnav ul li {
		width: calc(33.3333% - 6.66667px);
		margin: 0px;
	}
}
@media (max-width: 768px) {
	.tz-cf [data-lib="25730"] {
		padding: 10px 0px 33px;
	}
	.tz-cf [data-lib="25730"] .-w-sp {
		display: none;
	}
	.tz-cf [data-lib="25730"] .-w-tel {
		color: rgb(255, 255, 255);
		font-size: 28px;
		text-align: center;
		margin-bottom: 30px;
	}
	.tz-cf [data-lib="25730"] .tellogo {
		width: 80%;
		margin: 0px auto;
	}
	.tz-cf [data-lib="25730"] .-w-flogo img {
		margin: 0px auto;
		width: 200px;
		background: rgb(255, 255, 255);
		padding: 20px 30px;
	}
	.tz-cf [data-lib="25730"] .-w-copyright {
		padding: 0px 0px 80px;
	}
	.tz-cf [data-lib="25730"] .-w-sns-sub {
		justify-content: center;
		margin-top: 20px;
	}
	.tz-cf [data-lib="25730"] .-w-line-sub,
	.tz-cf [data-lib="25730"] .-w-instagram-sub {
		width: 40px;
		height: 40px;
	}
	.tz-cf [data-lib="25730"] .-w-fnav ul li {
		width: calc(50% - 5px);
		font-size: clamp(12px, 3.8vw, 24px);
	}
	.tz-cf [data-lib="25730"] .-w-wrap_in {
		padding: 30px 0px;
	}
}
@media (min-width: 1680px) {
	.tz-cf [data-lib="25730"] .-w-fnav ul li {
		padding-right: 4.5%;
	}
}
@media (max-width: 1130px) {
	.tz-cf [data-lib="25730"] .-w-fnav ul {
		min-height: 180px;
	}
}
.tz-cf [data-instance="41133"] {
	background: none left top / cover no-repeat;
}
.tz-cf [data-instance="41133"]::after {
	content: "";
	position: absolute;
	inset: -1px 0px 0px;
	background-color: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(5px);
	z-index: -1;
}
