@charset "utf-8";
/* =========================================================
   フローティング（lineup / lease サブサイト・スマホのみ）
   ・既存ボタン行（車両ラインナップ/電話/商談予約/TOP）
   ・その1段上に横100%のお問い合わせCTA（個別記事ページのみ）
   本体（onixkobe: base.css + selection.css）の見た目に合わせる。
   #flo-nav / #pagetop は base.css に素のルールがあるため、ここで
   #flo-contact-wrap 配下に高詳細度で上書きして競合を解消する。
   ========================================================= */

/* 固定バーに隠れないよう本文下に余白（スマホのみ）。CTA有無で高さが変わる */
#body_wrap.ock-car    { padding-bottom: 4.8em; } /* ボタン行のみ */
#body_wrap.ock-has-cta { padding-bottom: 8em; }  /* CTA + ボタン行 */

/* PC・タブレットでは非表示（旧Ginと同じくスマホ限定／600px境界） */
@media screen and (min-width: 600px) {
	#flo-contact-wrap { display: none; }
	#body_wrap.ock-car,
	#body_wrap.ock-has-cta { padding-bottom: 0; }
}

#flo-contact-wrap {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	width: 100%;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, .18);
}

/* ---- CTAバー（1段上・横100%） ---- */
#flo-contact-wrap .flo-cta {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: .65em 1em;
	background: #e84141;
	color: #fff;
	text-decoration: none;
	text-align: center;
	line-height: 1.25;
	position: relative;
	animation: flo-cta-pulse 1.8s ease-in-out infinite;
	border-bottom: 1px solid #ddd;
}
#flo-contact-wrap .flo-cta:hover { background: #d23636; }
#flo-contact-wrap .flo-cta__main {
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: .02em;
}
/* メールアイコン：絵文字ではなく本体共通のSVGを使用 */
#flo-contact-wrap .flo-cta__main::before {
	content: "";
	display: inline-block;
	width: 1.2em;
	height: 1.2em;
	margin-right: .45em;
	vertical-align: -.2em;
	background: url(/assets/img/ico-mail-wht.svg) no-repeat center / contain;
}
#flo-contact-wrap .flo-cta__sub {
	display: inline-block;
	margin-top: .2em;
	font-size: .78rem;
	opacity: .95;
}
@keyframes flo-cta-pulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(232, 65, 65, 0); }
	50%      { box-shadow: 0 0 0 4px rgba(232, 65, 65, .28); }
}

/* ---- 既存ボタン行：base.cssのfixed/非表示を解除してCTA直下に積む ---- */
#flo-contact-wrap #flo-nav {
	position: static;
	left: auto;
	right: auto;
	bottom: auto;
	width: 100%;
	margin: 0;
	display: flex;
	transform: none !important;
	opacity: 1 !important;
	visibility: visible !important;
}
#flo-contact-wrap #flo-nav > li { list-style: none; }
#flo-contact-wrap #flo-nav a,
#flo-contact-wrap #flo-nav li > span {
	display: block;
	height: 100%;
	padding: 1em 0;
	text-align: center;
	color: #fff;
	font-size: .95em;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	position: relative;
}

/* ---- アイコン（本体 selection.css と同値）---- */
#flo-contact-wrap #flo-nav li .ico { position: relative; padding-left: 1em; }
#flo-contact-wrap #flo-nav li .ico::before {
	position: absolute;
	content: "";
	width: 1.3em;
	height: 1.3em;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
}
/* ※ 個別ルールは基本ルール #flo-nav li .ico より詳細度を上げるため #flo-nav を含める
   （含めないと padding-left / size が基本ルールに負けてアイコンが文字に重なる） */
#flo-contact-wrap #flo-lineup { width: 45%; background: #06328b; }
#flo-contact-wrap #flo-nav #flo-lineup .ico { padding-left: 1.9em; }
#flo-contact-wrap #flo-nav #flo-lineup .ico::before {
	width: 1.4em; height: 1.4em; top: 55%;
	background: url(/assets/img/ico-car.svg) no-repeat center / contain;
}
#flo-contact-wrap #flo-tel { width: 23%; background: #3f70d3; }
#flo-contact-wrap #flo-nav #flo-tel .ico { padding-left: 1.5em; }
#flo-contact-wrap #flo-nav #flo-tel .ico::before {
	background: url(/assets/img/ico-tel-w.svg) no-repeat center / contain;
}
#flo-contact-wrap #flo-reserve { width: 32%; background: #e84141; }
#flo-contact-wrap #flo-nav #flo-reserve .ico { padding-left: 1.7em; }
#flo-contact-wrap #flo-nav #flo-reserve .ico::before {
	top: 55%;
	background: url(/assets/img/ico-mail-wht2.svg) no-repeat center / contain;
}

/* ---- TOP（トップへ戻る）：本体と同じ青い丸ボタン＋白い上矢印 ----
   base.css の #pagetop > a / ::before（赤い大きな矩形・矢印位置）を打ち消し、
   フローティングの右上に重ねて配置する。 */
#flo-contact-wrap #pagetop {
	position: absolute;
	right: 10px;
	bottom: calc(100% + 10px);
	width: auto;
	margin: 0;
	list-style: none;
}
#flo-contact-wrap #pagetop a {
	display: block;
	position: relative;
	width: 4.2em;
	height: 4.2em;
	padding: 1.9em 0 0;
	border-radius: 50%;
	background: #1f4ca7;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
}
#flo-contact-wrap #pagetop a::before {
	content: "";
	position: absolute;
	top: 1.25em;
	left: 50%;
	width: .85em;
	height: .85em;
	transform: translateX(-50%) rotate(-45deg);
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
}

/* ---- magnific-popup（電話）内のレイアウト調整 ---- */
.mfp-close { transform: translateX(0) translateY(-100%); font-size: 48px !important; color: #fff !important; }
.contact-list li { width: 95%; margin: auto; text-align: center; }
.contact-list li + li { margin-top: 1em; }
.contact-list li a { display: block; height: 100%; color: #fff; font-weight: 700; text-decoration: none; position: relative; }
.contact-list li a .shop-name { display: block; padding: .2em 0 .3em; font-size: 3.36vw; position: relative; }
.contact-list li a .shop-tel { display: block; font-size: 9.46vw; font-weight: normal; line-height: 1.2; }
@media screen and (min-width: 600px) {
	.contact-list li a .shop-name { font-size: 1rem; }
	.contact-list li a .shop-tel { font-size: 2.2rem; }
}
