@charset "utf-8";
/* ==========================================================================
   car salon Belle - common（全ページ共通）
   ========================================================================== */
:root {
	--blue: #2262c2;
	--blue-light: #3b79d7;
	--blue-dark: #164b99;
	--navy: #333775;
	--ink: #212121;
	--bg-base: #f5f5f5;
	--bg-1: #ebeef2;
	--bg-2: #f4f4f4;
	--border: #ccd4de;
	--rule: #d3dae3;
	--dark: #4a4a4a;
	--footer-bg: #262626;
	--green: #4cc764;
	--red: #c74c4c;
	--gray: #a0a0a0;

	--jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
	--en: "Capriola", "Noto Sans JP", sans-serif;
	--num: "Jost", "Noto Sans JP", sans-serif;

	--gutter: 120px;
}

/* Belle デザインのスコープルート。
   header-content.php / footer-content.php / front-page.php がこのクラスで包む。 */
.belle {
	position: relative;
	color: var(--ink);
	font-family: var(--jp);
	font-weight: 400;
	font-size: 16px;
	line-height: 1.8;
	background: #fff;
	text-align: left;
}

/* 親テーマ CSS の打ち消し（common.css / content.css / layout.css 対策） */
.belle *,
.belle *::before,
.belle *::after {
	box-sizing: border-box;
}

/* リセットは :where() でくるみ詳細度を 0 にする。
   （そうしないと `.belle ul`(0,1,1) が `.belle-mv__photos`(0,1,0) に勝ってしまう） */
:where(.belle p, .belle h1, .belle h2, .belle h3, .belle h4,
	.belle ul, .belle ol, .belle li, .belle dl, .belle dt, .belle dd, .belle figure) {
	margin: 0;
	padding: 0;
	list-style: none;
	background: none;
	border: 0;
}

/* 親テーマ common.css の `ul, ol, li { list-style: inside none disc }` を打ち消す。
   :where() のリセット（詳細度 0）では要素セレクタに負けるため、ここは通常の詳細度で書く。
   list-style はコンポーネント側で一切上書きしないので競合しない。 */
.belle ul,
.belle ol,
.belle li {
	list-style: none;
}

:where(.belle a) {
	color: inherit;
	text-decoration: none;
}

.belle a {
	transition: opacity .25s ease, background-color .25s ease, color .25s ease;
}

.belle a:hover {
	opacity: .75;
	text-decoration: none;
}

:where(.belle img) {
	display: block;
	max-width: 100%;
	height: auto;
	border: 0;
}

:where(.belle button) {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	cursor: pointer;
}

/* ==========================================================================
   header
   ========================================================================== */
.belle-header {
	position: relative;
	z-index: 20;
	height: 157px;
	background: var(--bg-base);
}

.belle-header__logo {
	position: absolute;
	top: 52px;
	left: 33px;
	width: 288px;
}

.belle-header__logo img {
	width: 100%;
}

/* スクロールしても右上に残る（追従）。
   元から top: 0; right: 0 で .belle-header の右上に絶対配置していたため、
   fixed に変えてもスクロール量 0 のときの見た目とレイアウトは変わらない
   （.belle-header の height: 157px がそのまま場所を確保し続ける）。
   重なり順は .belle-header の z-index: 20 が担保する。
   SP（767px 以下）では下の @media が position: static に戻して通常フローに置く。 */
.belle-header__panel {
	position: fixed;
	top: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: center;
	gap: 16px;
	min-width: 518px;
	height: 113px;
	padding: 0 25px 0 40px;
	background: #fff;
	border-bottom-left-radius: 32px;
	/* 追従して本文の上に重なるので、境目がわかるよう軽く落とす。
	   露出しているのは下辺と左辺なので、影は下方向に少しだけずらす */
	box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
}

.belle-header__tagline {
	display: flex;
	align-items: center;
	gap: 11px;
	color: var(--ink);
	font-size: 12px;
	line-height: 1;
}

.belle-header__tagline::before {
	content: "";
	width: 13px;
	height: 1px;
	background: var(--blue);
}

.belle-header__nav {
	display: flex;
	align-items: center;
	gap: 17px;
}

.belle-header__nav a {
	color: var(--ink);
	font-weight: 500;
	font-size: 16px;
	line-height: 1;
	letter-spacing: .05em;
}

.belle-header__tel {
	display: flex;
	align-items: baseline;
	font-family: var(--num);
	font-weight: 500;
	color: var(--ink);
}

.belle-header__tel span {
	font-size: 18px;
}

.belle-header__tel strong {
	font-weight: 500;
	font-size: 28px;
	letter-spacing: -.01em;
}

/* ==========================================================================
   SP メニュー（mmenu）
   ボタンの素の見た目は scripts/mmenu/for-jquery.mmenu.css にある。
   位置の基準は .belle-header（position: relative）。
   ========================================================================== */

/* mmenu が初期化されて .mm-menu が付くまでは隠す（FOUC 防止）。
   初期化後はこのセレクタにマッチしなくなるので display 指定が外れる。 */
#sp-menu:not(.mm-menu) {
	display: none;
}

/* 初期化後は body 直下へ移動し .belle の外に出るため、ここは .belle でスコープしない */
#sp-menu {
	font-family: var(--jp);
}

#sp-menu ul,
#sp-menu ol,
#sp-menu li {
	list-style: none;
}

#sp-menu.mm-menu {
	color: var(--ink);
	background: #fff;
}

#sp-menu .mm-listview > li > a {
	padding: 16px 10px 16px 20px;
	font-weight: 500;
	font-size: 15px;
	line-height: 1.6;
}

#sp-menu .mm-divider {
	color: #fff;
	font-weight: 500;
	font-size: 12px;
	letter-spacing: .08em;
	background: var(--blue);
}

#sp-menu .belle-spmenu__tel {
	font-family: var(--num);
	font-size: 22px;
	text-indent: 0;
}

#sp-menu .belle-spmenu__line {
	color: #fff;
	background: var(--green);
}

/* ==========================================================================
   footer
   ========================================================================== */
.belle-footer {
	display: flex;
	align-items: center;
	min-height: 328px;
	padding: 66px 0;
	color: #fff;
	background: var(--footer-bg);
}

.belle-footer__inner {
	display: flex;
	align-items: center;
	gap: 26px;
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 112px;
}

.belle-footer__logo {
	flex: 0 0 235px;
	transform: rotate(-7.48deg);
}

.belle-footer__logo img {
	width: 100%;
}

.belle-footer__address {
	flex: 1 1 auto;
	min-width: 0;
}

.belle-footer__address p {
	font-size: 18px;
	line-height: 1.8;
}

.belle-footer__address small {
	display: block;
	margin-top: 14px;
	color: var(--gray);
	font-size: 10px;
	line-height: 1.8;
}

.belle-footer__right {
	flex: 0 0 auto;
	text-align: right;
}

.belle-footer__nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 20px;
	margin-bottom: 32px;
}

.belle-footer__nav a {
	color: #fff;
	font-weight: 500;
	font-size: 16px;
	line-height: 1;
	letter-spacing: .05em;
}

.belle-footer__line {
	align-items: center;
	background-color: #fff;
	border: 3px solid var(--green);
	color: var(--green) !important;
	display: inline-flex;
	justify-content: center;
	gap: 8px;
	min-width: 270px;
	min-height: 72px;
	padding: 10px 24px;
	font-weight: 700;
	font-size: 20px;
	line-height: 1;
	letter-spacing: .05em;
	border-radius: 35px;
}

.belle-footer__line img {
	width: 31px;
	height: 30px;
}

/* ==========================================================================
   追従サイドボタン
   ========================================================================== */
.belle-side {
	position: fixed;
	top: 368px;
	right: 0;
	z-index: 100;
	display: flex;
	flex-direction: column;
	width: 50px;
}

/* 縦書きはテキストにのみ適用する（a 自体に効かせると flex 方向が横に倒れる） */
.belle-side a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	width: 50px;
	padding: 24px 0 28px;
	color: #fff;
	text-align: center;
}

.belle-side a span {
	color: var(--green);
	font-weight: 600;
	font-size: 13px;
	line-height: 1;
	letter-spacing: .05em;
	writing-mode: vertical-rl;
}

.belle-side__line {
	background-color: #fff;
	border: 4px solid var(--green);
	border-top-left-radius: 24px;
	min-height: 175px;
	text-orientation: upright
}

.belle-side__mail {
	background-color: #fff;
	border: 4px solid var(--navy);
	border-bottom-left-radius: 24px;
	min-height: 156px;
}

.belle-side .belle-side__mail span {
	color: var(--navy);
}

.belle-side a img {
	flex: 0 0 auto;
	width: 25px;
	height: auto;
}

.belle-side__mail img {
	width: 14px;
}

/* ==========================================================================
   親テーマ（CustomizeBase）の打ち消し
   ========================================================================== */

/* layout.css の 95px（SP 70px）は position:fixed だった #header を避けるための
   オフセット。Belle ヘッダーは通常フローなので不要。 */
#firstvisual .titlebox h1,
#firstvisual .titlebox h2 {
	margin-top: 0;
}

/* ==========================================================================
   レスポンシブ
   ========================================================================== */
@media screen and (max-width: 1200px) {
	.belle-footer__inner {
		padding: 0 40px;
	}
}

@media screen and (max-width: 767px) {
	.belle-header {
		height: auto;
		padding: 16px 0;
	}

	.belle-header__logo {
		position: static;
		width: 180px;
		margin: 0 auto;
	}

	.belle-header__panel {
		position: static;
		align-items: center;
		min-width: 0;
		height: auto;
		margin-top: 12px;
		padding: 10px 20px;
		border-radius: 0;
		/* SP は追従しない（通常フロー）ので影は不要 */
		box-shadow: none;
	}

	.belle-header__tagline {
		font-size: 10px;
		text-align: center;
	}

	.belle-header__nav {
		flex-wrap: wrap;
		justify-content: center;
		gap: 12px;
	}

	/* SP はハンバーガーに集約するので、テキストリンクは隠して電話番号だけ残す */
	.belle-header__nav a:not(.belle-header__tel) {
		display: none;
	}

	/* ハンバーガーは js/belle-common.js が body 直下へ移すため（mmenu が開くときに
	   .mm-slideout へかける transform が position: fixed の基準になってしまうのを避ける）、
	   .belle-header の子孫セレクタでは当たらない。
	   親テーマ scripts/mmenu/for-jquery.mmenu.css より後に読み込まれるので、
	   同じ詳細度でもこちらが勝つ（PC 側の display: none は親のものがそのまま効く）。
	   スクロール量 0 のときの位置は移動前と同じなので、見た目は変わらない。 */
	.hamburger {
		position: fixed;
		top: 16px;
		bottom: auto;
		right: 12px;
		width: 44px;
		height: 44px;
		margin: 0;
		/* 追従して本文の上に重なるので、透明背景のままだと写真の上でアイコンが埋もれる。
		   PC の .belle-header__panel と同じ考えで白を敷く */
		background: rgba(255, 255, 255, .92);
		border-radius: 50%;
		box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
	}

	.hamburger__icon,
	.hamburger__icon::before,
	.hamburger__icon::after {
		width: 28px;
		height: 3px;
		background-color: var(--ink);
	}

	.hamburger__icon::before {
		top: -9px;
	}

	.hamburger__icon::after {
		top: 9px;
	}

	/* 開いている間は × に変える（mm-opening は html に付く） */
	.mm-opening .hamburger__icon {
		background-color: transparent;
	}

	.mm-opening .hamburger__icon::before {
		transform: translateY(9px) rotate(-45deg);
	}

	.mm-opening .hamburger__icon::after {
		transform: translateY(-9px) rotate(45deg);
	}

	.belle-footer {
		padding: 40px 0;
	}

	.belle-footer__inner {
		display: block;
		padding: 0 20px;
		text-align: center;
	}

	.belle-footer__logo {
		width: 160px;
		margin: 0 auto 24px;
	}

	.belle-footer__address p {
		font-size: 15px;
	}

	.belle-footer__right {
		margin-top: 24px;
		text-align: center;
	}

	.belle-footer__nav {
		justify-content: center;
	}

	/* SP では右端の縦並びをやめ、画面下に追従する横並びのバーにする。
	   縦書き（writing-mode）と縦長の min-height もここで解除する */
	.belle-side {
		top: auto;
		right: 0;
		bottom: 0;
		left: 0;
		flex-direction: row;
		width: 100%;
	}

	.belle-side a {
		flex: 1 1 0;
		flex-direction: row;
		justify-content: center;
		gap: 8px;
		width: auto;
		padding: 14px 0;
	}

	.belle-side a span {
		font-size: 14px;
		writing-mode: horizontal-tb;
	}

	.belle-side__line,
	.belle-side__mail {
		min-height: 0;
		border-radius: 0;
	}

	.belle-side a img {
		width: 22px;
	}

	.belle-side__mail img {
		width: 16px;
	}

	.belle-footer {
		padding-bottom: calc(40px + 58px);
	}
}

/* 親テーマ layout.css の SP 側 margin-top: 70px を打ち消す（ブレークポイントは親に合わせる） */
@media screen and (max-width: 736px) {
	#firstvisual .titlebox h1,
	#firstvisual .titlebox h2 {
		margin-top: 0;
	}
}
