@charset "utf-8";

/*=====================================
CRO改修 追加コンポーネント
- .offerBadge  : 「いまなら初月無料！」バッジ（共通部品）
- .fvOffer     : TOP FVの料金・初月無料・申込導線（PC表示のみ。SPは既存の月額バッジ＋常時追従ボタンで担保）
- .priceOffer  : TOP 料金セクションの初月無料前面化・価値換算コピー
- .closingCta  : サービスページ末尾の共通クロージングブロック（3ページ共通）
色・文字サイズは style-pc.css / style-sp.css の :root 変数を参照
=====================================*/

/* 初月無料バッジ（共通） */
.offerBadge {
	display: inline-block;
	padding: .25em 1.2em;
	background: var(--dorg);
	border-radius: 100vh;
	color: var(--wht);
	font-size: var(--tm);
	font-weight: 700;
	line-height: 1.5;
}

/*----- 料金セクション（TOP） -----*/
.priceOffer {
	text-align: center;
}

.priceOffer .notes {
	padding-bottom: 0;
}

.priceOffer .notes li {
	text-align: left;
}

/*----- クロージングブロック（サービスページ共通） -----*/
.closingCta {
	margin-top: 3em;
	padding: 2.5em 5% 3em;
	background: var(--lylw);
	border-radius: 16px;
	text-align: center;
}

.closingCta__services {
	font-size: var(--nm);
	font-weight: 700;
	line-height: 1.6;
}

.closingCta__price {
	margin-top: .3em;
	font-size: var(--nm);
	font-weight: 700;
}

.closingCta__price strong {
	color: var(--dorg);
	font-size: 1.8em;
}

.closingCta .offerBadge {
	margin-top: .6em;
}

.closingCta .btnApp {
	margin-top: 1.2em;
}

.closingCta .notes {
	width: 100%;
	max-width: 760px;
	margin: .8em auto 0;
	padding-bottom: 0;
}

.closingCta .notes li {
	text-align: left;
}

.closingCta__contact {
	margin-top: 1em;
	font-size: var(--ns);
}

.closingCta__contact a {
	color: var(--org);
	font-weight: 700;
}

/*----- FVオファー（TOP・SP：価格タイポグラフィ＋申込CTA） -----*/
@media (max-width: 740px) {

	/* 価格行はCTAボタンの直上に配置（PCと同トンマナ） */
	.fvPrice {
		position: absolute;
		bottom: 98px;
		left: 50%;
		transform: translateX(-50%);
		z-index: 2;
		display: flex;
		align-items: baseline;
		width: auto;
		margin: 0;
		padding: 0;
		color: var(--blk);
		font-size: 19px;
		font-weight: 700;
		line-height: 1;
		white-space: nowrap;
	}

	.fvPrice__main {
		display: inline-flex;
		align-items: baseline;
	}

	.fvPrice strong {
		margin: 0 .05em;
		color: var(--dorg);
		font-size: clamp(36px, 11vw, 46px);
		font-weight: 700;
		letter-spacing: -.02em;
	}

	.fvPrice small {
		margin-left: .15em;
		font-size: 11px;
		font-weight: 400;
	}

	.fvPrice__bubble {
		position: relative;
		align-self: center;
		margin-left: .9em;
		padding: .45em .7em;
		background: var(--dorg);
		border-radius: 8px;
		color: var(--wht);
		font-size: clamp(11px, 3.1vw, 13px);
		font-weight: 700;
		transform: rotate(-4deg);
	}

	.fvPrice__bubble::after {
		content: "";
		position: absolute;
		left: 10px;
		bottom: -6px;
		width: 11px;
		height: 11px;
		background: var(--dorg);
		clip-path: polygon(0 0, 100% 0, 20% 100%);
	}

	/* FV内の価格行・申込CTA・打ち消し注記をアイコン行下に置くため、FVをSPのみ100px拡張。
	   .sWrapのbottom補正でキャッチ・写真・アイコンの位置は従来のまま */
	#fv .inner-l,
	.fvCont {
		height: calc(80vh + 100px);
	}

	.sWrap {
		bottom: calc(13% + 88px);
	}

	/* FV内の申込CTA（アイコン行と注記の間） */
	.fvSpBtn {
		position: absolute;
		bottom: 40px;
		left: 50%;
		transform: translateX(-50%);
		z-index: 2;
		width: 86%;
		max-width: 480px;
	}

	/* TOPのSP固定バーはFV通過後にJS(fadeIn)で表示するため初期非表示（サービスページのバーはid無しのため常時表示のまま） */
	#spBtnFixWrap {
		display: none;
	}

	/* 打ち消し注記はFV最下部に表示 */
	.fvFreeNote {
		position: absolute;
		bottom: 2px;
		left: 50%;
		transform: translateX(-50%);
		z-index: 2;
		width: 94%;
		margin: 0;
		padding: 0;
		color: var(--blk);
		font-size: 10px;
		line-height: 1.5;
		text-align: left;
	}
}

/*----- FVオファー（TOP・PCのみ表示） -----*/
@media (min-width: 741px) {

	/* 価格行・オファー行を追加した分のFV高さを確保（既存指定: 490px） */
	#fv .inner-l {
		height: 615px;
	}

	.fvCont {
		max-height: none;
	}

	/* 左カラムが高くなった分、写真は上下センターに置いて下端のズレを抑える */
	#fv_slide_frame {
		top: 50%;
		transform: translateY(-50%);
	}

	.fvOffer {
		display: flex;
		align-items: center;
		flex-wrap: wrap;
		gap: .5em 1em;
		width: 95%;
		margin-top: 1.2em;
	}

	/* 価格行：キャッチコピー直下のタイポグラフィ＋「初月無料」吹き出しアクセント
	   （わんにゃんサポートFVと同じく、写真にバッジを重ねず価格をコピー階層に統合） */
	.fvPrice {
		display: flex;
		align-items: baseline;
		margin-top: .9em;
		color: var(--blk);
		font-size: clamp(18px, 1.9vw, 26px);
		font-weight: 700;
		line-height: 1;
		white-space: nowrap;
	}

	.fvPrice__main {
		display: inline-flex;
		align-items: baseline;
	}

	.fvPrice strong {
		margin: 0 .06em;
		color: var(--dorg);
		font-size: clamp(40px, 4.5vw, 62px);
		font-weight: 700;
		letter-spacing: -.02em;
	}

	.fvPrice small {
		margin-left: .2em;
		font-size: clamp(12px, 1.1vw, 15px);
		font-weight: 400;
	}

	.fvPrice__bubble {
		position: relative;
		align-self: center;
		margin-left: 1.4em;
		padding: .5em .9em;
		background: var(--dorg);
		border-radius: 10px;
		color: var(--wht);
		font-size: clamp(13px, 1.25vw, 17px);
		font-weight: 700;
		transform: rotate(-4deg);
	}

	.fvPrice__bubble::after {
		content: "";
		position: absolute;
		left: 14px;
		bottom: -8px;
		width: 14px;
		height: 14px;
		background: var(--dorg);
		clip-path: polygon(0 0, 100% 0, 20% 100%);
	}

	/* 価格行を追加した分、アイコン行の上余白を詰めて全体高さを維持 */
	.sWrap {
		padding-top: 1.2em;
	}

	/* SP用固定バーはPCでは常に非表示（JSのfadeInによるインラインstyleにも勝たせる） */
	#spBtnFixWrap {
		display: none !important;
	}

	.fvOffer .offerBadge {
		font-size: var(--nm);
	}

	.fvOffer .btnApp {
		width: auto;
		max-width: none;
		height: 56px;
		margin: 0;
		padding: 0 52px 2px 60px;
		font-size: var(--nm);
	}

	.fvOffer .btnApp::before {
		left: 20px;
		width: 1.6em;
		height: 1.6em;
	}

	.fvOffer .btnApp::after {
		right: 18px;
	}

	.fvOffer__note {
		flex-basis: 100%;
		font-size: var(--ts);
		color: var(--blk);
	}
}

