@charset "utf-8";

/* ==========================================================================
   /shop01〜/shop05/ — 店舗詳細
   ========================================================================== */

/* --------------------------------------------------------------------------
   店舗紹介リード（平文）
   -------------------------------------------------------------------------- */
.r-renewal--store .r-shopdetail-lead {
	margin: 0;
	padding: 0 0 1em;
	background-color: #efe7da;
}

.r-renewal--store .r-shopdetail-lead__text {
	margin: 0;
	color: #673a1b;
	font-size: 16px;
	font-weight: 400;
	line-height: 2;
	letter-spacing: 0;
	text-align: center;
}

/* --------------------------------------------------------------------------
   お取り扱い車種（背景全幅画像セクション）
   -------------------------------------------------------------------------- */
.r-renewal--store .r-shopdetail-lineup {
	margin: 0;
	padding: 2.5em 0 3em;
	background-image: var(--r-lineup-bg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

/* 白背景3カラムギャラリー */
.r-renewal--store .r-shopdetail-lineup__gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2px;
	width: min(90%, 900px);
	margin: 0 auto;
	padding: 1.3em;
	background-color: #fff;
	border-radius: 1em;
}

.r-renewal--store .r-shopdetail-lineup__item {
	margin: 0;
}

.r-renewal--store .r-shopdetail-lineup__item img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 0;
}

.r-renewal--store .r-shopdetail-lineup__caption {
	margin-top: .4em;
	color: #333;
	font-size: 1em;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
}

/* 2枚ギャラリー（キャプション1つ／2nd セダン店など） */
.r-renewal--store .r-shopdetail-lineup__gallery--pair {
	display: block;
}

.r-renewal--store .r-shopdetail-lineup__photos {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2px;
}

.r-renewal--store .r-shopdetail-lineup__photos img {
	display: block;
	width: 100%;
	height: auto;
}

/* 両サイドボーダー飾りタイトル */
.r-renewal--store .r-shopdetail-lineup__title {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.6em;
	margin: 1em 0 0;
	color: #fff;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-align: center;
}

.r-renewal--store .r-shopdetail-lineup__title::before,
.r-renewal--store .r-shopdetail-lineup__title::after {
	content: "";
	width: 48px;
	height: 1px;
	background-color: #fff;
}

.r-shopdetail-br-sp {
	display: none;
}

/* 平文（取り扱い車種） */
.r-renewal--store .r-shopdetail-lineup__cars {
	margin: 16px 0 0;
	color: #fff;
	font-size: 1em;
	line-height: 1.4;
	letter-spacing: .02em;
	text-align: center;
}

/* ボタン（横並び2つ） */
.r-renewal--store .r-shopdetail-lineup__btns {
	display: flex;
	justify-content: center;
	gap: 2.5em;
	margin-top: 1.6em;
}

.r-renewal--store .r-shopdetail-lineup__btn {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 300px;
	max-width: 100%;
	/* min-height: 74px; */
	padding: 12px 40px;
	background-color: #fff;
	border: 1px solid #6b3a05;
	border-radius: 8px;
	color: #673a1b;
	font-size: 1em;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.r-renewal--store .r-shopdetail-lineup__btn-label {
	display: block;
}

.r-renewal--store .r-shopdetail-lineup__btn-arrow {
	position: absolute;
	right: .5em;
	bottom: .3em;
	font-size: 1em;
	line-height: 1;
	color: inherit;
}

.r-renewal--store .r-shopdetail-lineup__btn:hover,
.r-renewal--store .r-shopdetail-lineup__btn:focus-visible {
	background-color: #6b3a05;
	color: #fff;
}






/* --------------------------------------------------------------------------
   アクセス（白背景セクション）
   -------------------------------------------------------------------------- */
.r-renewal--store .r-shopdetail-access {
	margin: 0;
	padding: 3em 0 2em;
	background-color: #fff;
}

.r-renewal--store .r-shopdetail-access__title {
	margin: 0 0 .7em;
	text-align: center;
}

.r-renewal--store .r-shopdetail-access__title img {
	display: inline-block;
	width: auto;
	height: 48px;
	max-width: 100%;
}

.r-renewal--store .r-shopdetail-access__body {
	display: grid;
	grid-template-columns: 1fr .8fr;
	gap: 32px;
	align-items: start;
	width: min(90%,772px);
	margin: 0 auto;
}

.r-renewal--store .r-shopdetail-access__item + .r-shopdetail-access__item {
	margin-top: .4em;
}

.r-renewal--store .r-shopdetail-access__heading {
	position: relative;
	margin: 0 0 .1em;
	padding-left: .6em;
	color: #333;
	font-size: 1em;
	font-weight: 700;
	line-height: 1.4;
}
@media screen and (min-width: 799px) {
	.r-renewal--store .r-shopdetail-access__heading {
		margin: 0;
		padding-left: .8em;
		font-size: 1em;
	}
}


.r-renewal--store .r-shopdetail-access__heading::before {
	content: "";
	position: absolute;
	left: 0;
	top: .15em;
	width: 4px;
	height: .85em;
	background-color: #6b3a05;
	border-radius: 1px;
}

@media screen and (min-width: 799px) {
	.r-renewal--store .r-shopdetail-access__heading::before {
		top: .0;
		width: 7px;
		height: 1.4em;
	}
	.r-shopdetail-access__body .c-notes {
		margin-left: 1.0em;
	}




}




.r-renewal--store .r-shopdetail-access__text {
	margin: 0;
	color: #333;
	font-size: 1em;
	line-height: 1.7;
}

@media screen and (min-width: 799px) {
	.r-renewal--store .r-shopdetail-access__text {
		font-size: 1.05em;
	}
}




.r-renewal--store .r-shopdetail-access__map {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
}

.r-renewal--store .r-shopdetail-access__map iframe {
	display: block;
	width: 100%;
	height: 100%;
}


@media screen and (min-width: 799px) {
	.r-shopdetail-access__info {
		margin-left: .7em;
	}
	.r-renewal--store .r-shopdetail-access__map {
		aspect-ratio: 1 / 1;
	}
}



/* --------------------------------------------------------------------------
   お電話でのお問い合わせ（全幅画像セクション）
   -------------------------------------------------------------------------- */
.r-renewal--store .r-shopdetail-tel {
	margin: 0;
	padding: 2em 0;
	background-image: var(--r-tel-bg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

.r-renewal--store .r-shopdetail-tel__btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	box-sizing: border-box;
	width: min(100%,460px);
	margin: 0 auto;
	padding: 1.3em 1em;
	background-color: #fff;
	border-radius: .5em;
	text-decoration: none;
}
@media screen and (min-width: 799px) {
	.r-renewal--store .r-shopdetail-tel__btn {
		gap: .8em;
		border-radius: 1em;
	}

}


.r-renewal--store .r-shopdetail-tel__label {
	color: #333;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.r-renewal--store .r-shopdetail-tel__row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
}
.r-renewal--store .r-shopdetail-tel__row::after {
	content: "";
	width: 1.8em;
}

.r-renewal--store .r-shopdetail-tel__icon {
    width: 2.6em;
    margin-top: -.4em;
}

.r-renewal--store .r-shopdetail-tel__num {
	color: #e60013;
	font-size: 34px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   PC / TB
   -------------------------------------------------------------------------- */
@media screen and (min-width: 799px) {
	.r-renewal--store .r-shopdetail-lead__text {
		font-size: 1.2em;
	}

	.r-renewal--store .r-shopdetail-lineup__title::before,
	.r-renewal--store .r-shopdetail-lineup__title::after {
		width: 130px;
		height: 2px;
	}

	.r-renewal--store .r-shopdetail-lineup__cars {
		margin-top: 1.3em;
		font-size: 1em;
		line-height: 1.8;;
	}

	.r-renewal--store .r-shopdetail-lineup__btn {
		border: 3px solid #673a1b;
		border-radius: 1em;
		color: #673a1b;
		font-size: 1em;
	}

	.r-renewal--store .r-shopdetail-access__heading,
	.r-renewal--store .r-shopdetail-access__text {
		color: #6a3906;
	}

	/* 見出し文字と本文の開始位置を揃え（棒の下ではなく文字列に合わせる） */
	.r-renewal--store .r-shopdetail-access__text {
		padding-left: 1em;
	}

	body.r-renewal-lower .r-renewal--store .r-shopdetail-tel__label {
		font-size: 20px;
	}
}

/* --------------------------------------------------------------------------
   レスポンシブ（SP）
   -------------------------------------------------------------------------- */
@media screen and (max-width: 798px) {
	.r-renewal--store .r-shopdetail-lead {
		padding: 0 0 1.15em;
	}

	.r-renewal--store .r-shopdetail-lead__text {
		font-size: .92em;
		line-height: 1.9;
	}

	.r-shopdetail-br-pc {
		display: none;
	}

	.r-renewal--store .r-shopdetail-lineup {
		padding: 1.6em 0 2.55em;
		background-image: var(--r-lineup-bg-sp);
	}

	.r-renewal--store .r-shopdetail-lineup__gallery {
		grid-template-columns: repeat(2, 1fr);
		gap: 6px;
		max-width: none;
		width: 100%;
		padding: 0;
		background-color: transparent;
		border: 0;
		border-radius: 0;
		box-shadow: none;
	}

	.r-renewal--store .r-shopdetail-lineup__item:first-child {
		grid-column: 1 / -1;
	}

	.r-renewal--store .r-shopdetail-lineup__item picture,
	.r-renewal--store .r-shopdetail-lineup__photos picture {
		display: block;
		width: 100%;
	}

	.r-renewal--store .r-shopdetail-lineup__item img,
	.r-renewal--store .r-shopdetail-lineup__photos img {
		width: 100%;
		border: 0;
		border-radius: 0;
		box-shadow: none;
	}

	.r-renewal--store .r-shopdetail-lineup__photos {
		grid-template-columns: 1fr;
		gap: 6px;
	}

	.r-renewal--store .r-shopdetail-lineup__caption {
		margin-top: .2em;
		color: #fff;
		font-size: .875em;
		text-align: left;
	}

	.r-renewal--store .r-shopdetail-lineup__title {
		gap: .3em;
		margin: .5em 0 0;
		font-size: 1em;
	}

	.r-renewal--store .r-shopdetail-lineup__title::before,
	.r-renewal--store .r-shopdetail-lineup__title::after {
		width: calc(50% - 5.5em); /*56px;*/
	}

	.r-renewal--store .r-shopdetail-lineup__cars {
		margin: .5em 0 0;
		font-size: 1em;
	}

	.r-shopdetail-br-sp {
		display: inline;
	}

	.r-renewal--store .r-shopdetail-lineup__btns {
		flex-direction: column;
		align-items: stretch;
		width: max-content;
		max-width: 100%;
		margin: 1.6em auto 0;
		gap: 1.3em;
	}

	.r-renewal--store .r-shopdetail-lineup__btn {
		width: 100%;
		max-width: none;
		/* min-height: 64px; */
		padding: .35em 1.6em;
		border: 1px solid #6a3906;
		border-radius: .5em;
		color: #6a3906;
		font-size: 1em;
	}

	.r-renewal--store .r-shopdetail-lineup__btn:hover,
	.r-renewal--store .r-shopdetail-lineup__btn:focus-visible {
		background-color: #6a3906;
		color: #fff;
	}

	.r-renewal--store .r-shopdetail-access {
		padding: 1em 0 40px;
	}

	.r-renewal--store .r-shopdetail-access__title {
		margin: 0 0 1.2em;
	}

	.r-renewal--store .r-shopdetail-access__body {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.r-renewal--store .r-shopdetail-access__item + .r-shopdetail-access__item {
		margin-top: .4em;
		padding-top: .8em;
		border-top: 1px solid #956134;
	}


	.r-renewal--store .r-shopdetail-access__heading,
	.r-renewal--store .r-shopdetail-access__text {
		color: #6a3906;
	}

	.r-renewal--store .r-shopdetail-access__heading {
		font-size: 1em;
		line-height: 1;
	}

	.r-renewal--store .r-shopdetail-access__text {
		padding-left: .6em;
		font-size: 1em;
	}

	.r-renewal--store .r-shopdetail-tel {
		padding: .9em 0;
		background-image: var(--r-tel-bg-sp);
	}

	.r-renewal--store .r-shopdetail-tel__btn {
		width: min(92%, 360px);
		padding: .3em .5em;
	}

	.r-renewal--store .r-shopdetail-tel__label {
		font-size: 14px;
	}

	.r-renewal--store .r-shopdetail-tel__icon {
		width: 1.8em;
		margin-top: -1.15em;
	}

	.r-renewal--store .r-shopdetail-tel__num {
		font-size: 1.6em;
		line-height: 1em;
	}
}

/* 店舗一覧ナビ（5つのサービスのボタンを流用） */
.r-shopdetail-stores.r-lower-services {
	padding-bottom: 2.8em;
}

/* =========================================================
   スクロールインアニメーション（全媒体共通・shop01〜shop05 共通）
   発火: body.is-loaded ＋ 各セクション（data-r-animate）の is-inview
   ========================================================= */

/* --- グループA：店舗導入 --- */
.r-renewal--store .r-shopdetail-lead[data-r-animate] .r-shopdetail-lead__text {
	opacity: 0;
	transform: translateY(30px);
}

body.is-loaded .r-renewal--store .r-shopdetail-lead[data-r-animate].is-inview .r-shopdetail-lead__text {
	animation: r-anim-fade-up 0.8s ease 0s forwards;
}

/* --- グループB/C：特徴（RotateY）＋ 取扱車種・在庫（fadeup） --- */
.r-renewal--store .r-shopdetail-lineup[data-r-animate] .r-shopdetail-lineup__item,
.r-renewal--store .r-shopdetail-lineup[data-r-animate] .r-shopdetail-lineup__title {
	opacity: 0;
	transform: rotateY(-75deg);
	transform-origin: center center;
	backface-visibility: hidden;
}

.r-renewal--store .r-shopdetail-lineup[data-r-animate] .r-shopdetail-lineup__cars,
.r-renewal--store .r-shopdetail-lineup[data-r-animate] .r-shopdetail-lineup__btns {
	opacity: 0;
	transform: translateY(30px);
}

body.is-loaded .r-renewal--store .r-shopdetail-lineup[data-r-animate].is-inview .r-shopdetail-lineup__item:nth-of-type(1) {
	animation: r-anim-rotate-y 0.8s ease 0s forwards;
}

body.is-loaded .r-renewal--store .r-shopdetail-lineup[data-r-animate].is-inview .r-shopdetail-lineup__item:nth-of-type(2) {
	animation: r-anim-rotate-y 0.8s ease 0.2s forwards;
}

body.is-loaded .r-renewal--store .r-shopdetail-lineup[data-r-animate].is-inview .r-shopdetail-lineup__item:nth-of-type(3) {
	animation: r-anim-rotate-y 0.8s ease 0.4s forwards;
}

body.is-loaded .r-renewal--store .r-shopdetail-lineup[data-r-animate].is-inview .r-shopdetail-lineup__title {
	animation: r-anim-rotate-y 0.8s ease 0.6s forwards;
}

body.is-loaded .r-renewal--store .r-shopdetail-lineup[data-r-animate].is-inview .r-shopdetail-lineup__cars {
	animation: r-anim-fade-up 0.8s ease 0.8s forwards;
}

body.is-loaded .r-renewal--store .r-shopdetail-lineup[data-r-animate].is-inview .r-shopdetail-lineup__btns {
	animation: r-anim-fade-up 0.8s ease 1s forwards;
}

/* --- グループD：アクセス（見出しfadeup → 情報FadeLeft → 地図FadeRight） --- */
.r-renewal--store .r-shopdetail-access[data-r-animate] .r-shopdetail-access__title {
	opacity: 0;
	transform: translateY(30px);
}

.r-renewal--store .r-shopdetail-access[data-r-animate] .r-shopdetail-access__info {
	opacity: 0;
	transform: translateX(-30px);
}

.r-renewal--store .r-shopdetail-access[data-r-animate] .r-shopdetail-access__map {
	opacity: 0;
	transform: translateX(30px);
}

body.is-loaded .r-renewal--store .r-shopdetail-access[data-r-animate].is-inview .r-shopdetail-access__title {
	animation: r-anim-fade-up 0.8s ease 0s forwards;
}

body.is-loaded .r-renewal--store .r-shopdetail-access[data-r-animate].is-inview .r-shopdetail-access__info {
	animation: r-anim-fade-left 0.8s ease 0.2s forwards;
}

body.is-loaded .r-renewal--store .r-shopdetail-access[data-r-animate].is-inview .r-shopdetail-access__map {
	animation: r-anim-fade-right 0.8s ease 0.4s forwards;
}

/* --- グループE：電話・CTA（電話fadeup → 店舗ナビfadeup） --- */
.r-renewal--store .r-shopdetail-tel[data-r-animate] .r-shopdetail-tel__btn {
	opacity: 0;
	transform: translateY(30px);
}

body.is-loaded .r-renewal--store .r-shopdetail-tel[data-r-animate].is-inview .r-shopdetail-tel__btn {
	animation: r-anim-fade-up 0.8s ease 0s forwards;
}

.r-renewal--store .r-shopdetail-stores[data-r-animate] .r-lower-services__row--top,
.r-renewal--store .r-shopdetail-stores[data-r-animate] .r-lower-services__row--bottom {
	opacity: 0;
	transform: translateY(30px);
}

body.is-loaded .r-renewal--store .r-shopdetail-stores[data-r-animate].is-inview .r-lower-services__row--top {
	animation: r-anim-fade-up 0.8s ease 0s forwards;
}

body.is-loaded .r-renewal--store .r-shopdetail-stores[data-r-animate].is-inview .r-lower-services__row--bottom {
	animation: r-anim-fade-up 0.8s ease 0.2s forwards;
}

@media (prefers-reduced-motion: reduce) {
	.r-renewal--store [data-r-animate] .r-shopdetail-lead__text,
	.r-renewal--store [data-r-animate] .r-shopdetail-lineup__item,
	.r-renewal--store [data-r-animate] .r-shopdetail-lineup__title,
	.r-renewal--store [data-r-animate] .r-shopdetail-lineup__cars,
	.r-renewal--store [data-r-animate] .r-shopdetail-lineup__btns,
	.r-renewal--store [data-r-animate] .r-shopdetail-access__title,
	.r-renewal--store [data-r-animate] .r-shopdetail-access__info,
	.r-renewal--store [data-r-animate] .r-shopdetail-access__map,
	.r-renewal--store [data-r-animate] .r-shopdetail-tel__btn,
	.r-renewal--store [data-r-animate] .r-lower-services__row--top,
	.r-renewal--store [data-r-animate] .r-lower-services__row--bottom {
		opacity: 1;
		transform: none;
		animation: none;
	}
}
