@charset "utf-8";
/* ============================================================
   rn26-parts.css
   ------------------------------------------------------------
   リニューアル版プレビュー(wp-theme-silpia/assets/css/theme.css)から
   部分移植したパーツ。style-rn25.css の後に読み込む。

   移植したもの
     A. SP追従CTA        .rn26-sticky-cta   (theme.css 15章)
     D. なぜ今マイホームか .rn26-whynow       (theme.css 10章 .reason)

   ■ このファイルの3つのルール(既存ページを壊さないため)
   1. theme.css の Reset & Base は移植しない。
      *{margin:0} / body{font-size:15.5px} / ul{list-style:none} を入れると
      common/css/style.css(157KB) が全ページで崩れる。
   2. カスタムプロパティは --s- 接頭辞を付ける。
      style-rn25.css が --gold / --green を別の値で定義済みのため、
      同名で上書きすると既存の #perk(金) と #svc(緑) の色が変わる。
   3. 全セレクタを .rn26 起点にする。
      .container / .btn は旧 style.css・style-rn25.css と衝突するため、
      素のクラス名でルールを書いてはいけない。
   ============================================================ */

.rn26 {
	/* 基調 */
	--s-ink: #221e1b;
	--s-ink-2: #56504a;
	--s-ink-3: #8d867e;
	--s-line: #e5e0d8;
	--s-paper: #faf8f4;
	/* 赤は既存サイトのブランド色(--clrd)に合わせる */
	--s-red: var(--clrd, #d71718);
	--s-red-700: #a80009;
	--s-red-050: #fdf1f2;
	--s-red-100: #fadadd;
	/* 緑は既存 #svc と同じティール(--green)を参照する。
	   このファイルでは緑を再定義しない(値がズレると住まポゾーンと不一致になる) */
	--s-green: var(--green, #107566);
	--s-green-050: #e9f6f3;
	--s-green-100: #cbe8e1;

	/* 書体。Webフォントは読み込んでいないので、既存 style-rn25.css:550 と
	   同じフォールバック順(明朝)に揃える */
	--s-font-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
	--s-font-en: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", sans-serif;

	--s-r: 14px;
	--s-cta-h: 72px;

	font-family: "游ゴシック Medium", YuGothic, YuGothicM, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, sans-serif;
	color: var(--s-ink);
}

.rn26 .ico {
	width: 1.1em;
	height: 1.1em;
	display: inline-block;
	vertical-align: -.16em;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex-shrink: 0;
}

/* ============================================================
   D. なぜ今マイホームか
   ============================================================ */
.rn26-whynow {
	padding: 74px 0;
	background: var(--s-paper);
}

.rn26-whynow__inner {
	width: var(--wid1100, min(94%, 1100px));
	margin: 0 auto;
}

.rn26-whynow__head {
	margin-bottom: 34px;
	text-align: center;
}

.rn26-whynow__kicker {
	display: block;
	font-family: var(--s-font-en);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--s-red);
}

.rn26-whynow__t {
	margin-top: 9px;
	font-family: var(--s-font-serif);
	font-size: 29px;
	font-weight: 700;
	line-height: 1.55;
	letter-spacing: .04em;
}

.rn26-whynow__d {
	margin-top: 12px;
	font-size: 14.5px;
	line-height: 2;
	color: var(--s-ink-2);
}

.rn26-whynow__d b {
	font-weight: 700;
	color: var(--s-ink);
}

/* 1pxのgapを背景色で見せる罫線グリッド */
.rn26-reason {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: var(--s-line);
	border: 1px solid var(--s-line);
	border-radius: var(--s-r);
	overflow: hidden;
}

.rn26-reason__item {
	background: #fff;
	padding: 26px 24px;
}

.rn26-reason__n {
	font-family: var(--s-font-en);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .14em;
	color: var(--s-red);
}

.rn26-reason__t {
	margin-top: 8px;
	font-family: var(--s-font-serif);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: .03em;
}

.rn26-reason__d {
	margin-top: 9px;
	font-size: 13.5px;
	line-height: 1.95;
	color: var(--s-ink-2);
}

.rn26-whynow__btns {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	justify-content: center;
	margin-top: 32px;
}

.rn26-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 15px 32px;
	border-radius: 999px;
	font-size: 15.5px;
	font-weight: 700;
	letter-spacing: .04em;
	text-align: center;
	transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.rn26-btn .ico {
	width: 16px;
	height: 16px;
	stroke-width: 2.2;
	transition: transform .2s ease;
}

.rn26-btn:hover {
	transform: translateY(-2px);
	opacity: 1;
}

.rn26-btn:hover .ico {
	transform: translateX(3px);
}

.rn26-btn--primary,
.rn26-btn--primary:link,
.rn26-btn--primary:visited {
	background: var(--s-red);
	color: #fff;
	box-shadow: 0 6px 18px rgba(215, 0, 14, .26);
}

.rn26-btn--primary:hover {
	background: var(--s-red-700);
	color: #fff;
}

.rn26-btn--ghost-green,
.rn26-btn--ghost-green:link,
.rn26-btn--ghost-green:visited {
	background: #fff;
	color: var(--s-green);
	border: 1.5px solid var(--s-green-100);
}

.rn26-btn--ghost-green:hover {
	border-color: var(--s-green);
	background: var(--s-green-050);
	color: var(--s-green);
}

/* ============================================================
   A. 追従CTA(SPのみ)
   ------------------------------------------------------------
   既存 #page-top は bottom:82px / z-index 指定なし。
   CTA の高さ(約72px)より上にあるので重ならない。
   ヘッダー(.rn25_header)は z-index:99999 なので CTA はそれ未満にする。
   ============================================================ */
.rn26-sticky-cta {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 900;
	background: rgba(255, 255, 255, .97);
	border-top: 1px solid var(--s-line);
	padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
	box-shadow: 0 -4px 18px rgba(40, 30, 20, .1);
}

.rn26-sticky-cta__inner {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
}

.rn26-sticky-cta a,
.rn26-sticky-cta a:link,
.rn26-sticky-cta a:visited {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	padding: 9px 4px;
	border-radius: 11px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
}

.rn26-sticky-cta .ico {
	width: 19px;
	height: 19px;
}

.rn26-sticky-cta__tel,
.rn26-sticky-cta__tel:link,
.rn26-sticky-cta__tel:visited {
	/* 黄系は既存 style-rn25.css:7 の --gold を参照(サイト内の色数を増やさない) */
	background: var(--gold, #c9a227);
	color: #fff;
}

.rn26-sticky-cta__line,
.rn26-sticky-cta__line:link,
.rn26-sticky-cta__line:visited {
	background: #06c755;
	color: #fff;
}

.rn26-sticky-cta__book,
.rn26-sticky-cta__book:link,
.rn26-sticky-cta__book:visited {
	background: var(--s-red);
	color: #fff;
}

/* ============================================================
   Responsive
   ============================================================ */
@media screen and (max-width: 850px) {
	.rn26-whynow {
		padding: 48px 0;
	}

	.rn26-whynow__t {
		font-size: 23px;
	}

	.rn26-reason {
		grid-template-columns: 1fr;
	}

	.rn26-whynow__btns {
		flex-direction: column;
		align-items: stretch;
	}

	.rn26-btn {
		width: 100%;
	}

	/* ≤850px でヘッダー右側(予約ボタン)がドロワーに入る(style-rn25.css:2321)。
	   予約導線がドロワー内だけにならないよう、同じ幅から追従CTAを出す */
	.rn26-sticky-cta {
		display: block;
	}

	/* CTA の高さぶんフッター末尾が隠れないように逃がす */
	body {
		padding-bottom: 72px;
	}
}
