@charset "UTF-8";
/* CSS Document */

html, body {
	margin:0;
	padding:0;
}

/* ページロード時にふわっと表示させるアニメーション ////////*/
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
body.sub {
	opacity: 0;
	animation: fadeIn 1.5s ease-in-out forwards;
}



/*Webフォントの指定///////////////////////////////////*/
/*WebフォントRegular*/
@font-face {
  	font-family: 'MazdaType-Regular';
	src: url("../fonts/mazda/0050_MazdaType-Regular.woff") format('woff');
  	font-weight: normal;
}

/*WebフォントMedium*/
@font-face {
  	font-family: 'MazdaType-Medium';
  	src: url('../fonts/mazda/0030_MazdaType-Medium.woff') format('woff');
  	font-weight: normal;
}

/*WebフォントBold*/
@font-face {
  	font-family: 'MazdaType-Bold';
  	src: url('../fonts/mazda/0010_MazdaType-Bold.woff') format('woff');
  	font-weight: bold;
}





.LP_wrap  {
	overflow: hidden;
	font-family: 'MazdaType-Regular', "Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
	color: #231815;
	font-size: 23px;
	line-height: 1.6;
}

.LP_wrap div, img, section, h2, h3, h4, p, figure, ul, li {
	margin:0;
	padding:0;
}

.LP_wrap img {
	width: 100%;
	height: auto;
	margin: auto;
	vertical-align: bottom;
	display: block;
}

.LP_wrap .con_350 {
	width: 90%;
	max-width: 350px;
	margin: 8% auto 8%;	
	box-sizing: border-box;
}
.LP_wrap .con_750 {
	width: 90%;
	max-width: 750px;
	margin: 0 auto 0;	
	box-sizing: border-box;
}
.LP_wrap .con_840 {
	width: 90%;
	max-width: 840px;
	margin: 0 auto 0;	
	box-sizing: border-box;
}
.LP_wrap .con_940 {
	width: 100%;
	max-width: 940px;
	margin: 0 auto 0;	
	box-sizing: border-box;
}
.LP_wrap .con_1300 {
	width: 90%;
	max-width: 1300px;
	margin: 0 auto 0;	
	box-sizing: border-box;
}

.LP_wrap .margin-T {
	margin-top: 10%;
}
.LP_wrap .transform-Y {
	transform: translateY(-35%);
}

.LP_wrap .margin-B {
	margin-bottom: 10%;
}




/*アニメーション：左から流れてくる文字 //////////////////////////////*/
/* 共通スタイル */
.LP_txt_bg {
	display: flex;
	justify-content: center;
	transform: translateY(-35%);
}

.LP_txt_bg .inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	box-sizing: border-box;
}

.LP_txt_bg .bg-wrap {
	position: relative;
	display: inline-block;
	margin-top: clamp(18px, 2.5vw, 30px); 
}

.LP_txt_bg .bg-wrap::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to right, #6a233d, #5a0c28);
	transform: scaleX(0) translateX(-5%);
	transform-origin: left center;
	opacity: 0;
	z-index: 0;
}

.LP_txt_bg .inn {
	position: relative;
	z-index: 1;
	color: #fff;
	font-family: 'Noto Serif JP', "Hiragino Mincho Pro", serif;
	font-size: clamp(30px, 2.5vw, 36px); 
	padding: clamp(3px, 0.6vw, 8px) clamp(8px, 2vw, 15px); 
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}
@media screen and (max-width: 1024px) {
	.LP_txt_bg .inn {
		font-size: clamp(28px, 2.5vw, 33px); 
	}
	/*文字数多い箇所のみ*/
	.LP_txt_bg .inn.is-long {
		font-size: clamp(24px, 2.5vw, 30px); 
	}
}
@media screen and (max-width: 750px) {
	/*文字数多い箇所のみ*/
	.LP_txt_bg .inn.is-long {
		font-size: clamp(21px, 3.0vw, 28px); 
	}
}

/* アニメーション（表示時） */
.LP_txt_bg.is-animated .bg-wrap:nth-of-type(1)::before {
	animation: bg 0.8s ease-out forwards;
}

.LP_txt_bg.is-animated .bg-wrap:nth-of-type(2)::before {
	animation: bg 0.8s ease-out 0.4s forwards;
}

.LP_txt_bg.is-animated .bg-wrap:nth-of-type(1) .inn {
	transition-delay: 0.2s;
	opacity: 1;
	transform: translateY(0);
}

.LP_txt_bg.is-animated .bg-wrap:nth-of-type(2) .inn {
	transition-delay: 0.6s;
	opacity: 1;
	transform: translateY(0);
}

/* 背景アニメ定義 */
@keyframes bg {
  0% {
	transform: scaleX(0) translateX(-5%);
	opacity: 0;
  }
  50%, 100% {
    transform: scaleX(1) translateX(0);
    opacity: 1;
  }
}







/*////////////  gridbox ///////////////*/
/* 共通グリッド設定 */
.LP_gridbox-01,
.LP_gridbox-02 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
}
@media screen and (max-width: 750px) {
  .LP_gridbox-01,
  .LP_gridbox-02 {
	grid-template-columns: 1fr;
  }
}


/* LP_gridbox-01 の個別調整 */
.LP_gridbox-01 p:nth-of-type(1) {
	width: 70%;
	justify-self: end;
}
@media screen and (max-width: 1024px) {
	.LP_gridbox-01 p:nth-of-type(1) {
		width: 100%;
	}
}

@media screen and (max-width: 750px) {
  .LP_gridbox-01 figure:nth-of-type(2) {
		margin-top: 5%;
  }
}


.LP_gridbox-01 figure:nth-of-type(2) {
	margin-top: -10%;
}

/*吹き出し*/
.LP_gridbox-01 p.fukidashi {
	width: 60%;
	justify-self: start;
	align-self: center;
}
@media screen and (max-width: 1024px) {
	.LP_gridbox-01 p.fukidashi {
		width: 90%;
	}
}
@media screen and (max-width: 750px) {
  .LP_gridbox-01 p.fukidashi {
		width: 40%;
		justify-self: end;
		margin-top: -40%;
  }
}


/* LP_gridbox-02 の個別調整 */
.LP_gridbox-02 {
	margin-top: 10% !important;
}

.LP_gridbox-02 p {
	width: 70%;
	justify-self: start;
}
@media screen and (max-width: 1024px) {
	.LP_gridbox-02 p {
		width: 100%;
	}
}


/* ▼ スマホ：750px以下で縦並びに */
@media screen and (max-width: 750px) {
  .LP_gridbox-01,
  .LP_gridbox-02 {
		grid-template-columns: 1fr;
  }
  .LP_gridbox-01 p.fukidashi {
		width: 40%;
		justify-self: end;
		margin-top: -40%;
  }
  .LP_gridbox-01 figure:nth-of-type(2) {
		margin-top: 5%;
  }
}




/*////////////  吹き出しアニメーション：共通 ///////////////*/
.fukidashi {
	opacity: 0;
	transform: scale(0.7);
	transition: opacity 0.6s ease, transform 0.6s ease;
	will-change: transform, opacity;
}

.fukidashi.show {
	opacity: 1;
	transform: scale(1);
}






/*////////////  愛車をプロ目線で徹底的にチェック! ///////////////*/
.LP_check {
	position: relative;
}
.LP_check p.fukidashi {
	width: 30%;
	max-width: 265px;
	position: absolute;
	top:-5%;
	right: 20%;
}
.LP_check p:nth-of-type(2) {
	width: 75%;
	margin: 3% auto 0;
}
@media screen and (max-width: 750px) {
	.LP_check p:nth-of-type(2) {
		width: 90%;
	}
	.LP_check p:last-of-type {
		width: 95%;
		margin: auto;
	}
}






/*////////////  景品 ///////////////*/
.LP_present-slider {
	position: relative;
	margin-top: 10% !important;
}
.LP_present-slider p {
	position: absolute;
	top: -25%;
	left: 0;
	right: 0;
	margin: auto;
	width: 65%;
	max-width: 865px;
	z-index: 1;
}
@media screen and (max-width: 750px) {
	.LP_present-slider {
		margin-top: 15% !important;
	}
	.LP_present-slider p {
		width: 80%;	
		top: -30%;
	}
}
/* slider ///////////////*/
.LP_slider-container {
	overflow: hidden;
	width: 100%;
}
.LP_slider {
	display: flex;
	width: max-content;
}
.LP_slider img {
	width: clamp(150px, 30vw, 325px);
	height: auto;
	object-fit: cover;
}

/* 右→左 */
.right-to-left {
	animation: scroll-left 20s linear infinite;
}
@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* 左→右 */
.left-to-right {
	animation: scroll-right 20s linear infinite;
}
@keyframes scroll-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}






/*LP_bg_gray //////////////////////////////*/
.LP_bg_gray {
	background: #f0f0f0;
	padding: 10% 0 !important;
}
.LP_bg_gray .con_350 {
	margin-top: 0;
}
.LP_bg_gray h3 {
	font-size: 30px;
	text-align: center;
	position: relative;
	margin-bottom: 8%;
}
.LP_bg_gray h3::after {
	position: absolute;
	bottom:-40px;
	left: 0;
	right: 0;
	margin: auto;
	content: "";
	width: 180px;
	height: 4px;
	background: #000000;
}
.LP_bg_gray p.fukidashi {
	width: 80%;
	max-width: 625px;
}

/* ▼ スマホ：750px以下 */
@media screen and (max-width: 750px) {
  .LP_bg_gray h3 {
		font-size: 40px;
		margin-bottom: 12%;
		line-height: 1.4;
		letter-spacing: 0.03em;
  }
  .LP_bg_gray h3 span {
		display: block;
  }

  .LP_bg_gray h3::after {
		width: 100px;
		bottom: -24px;
  }
}







/*////////////  各店舗リスト ///////////////*/
.LP_wrap .LP_shop {
}
.LP_wrap .bg_gray {
	background: #1e1e1e;
	padding: 80px 0;
}
.LP_wrap .bg_gray .shop_con {
	width: 90%;
	max-width: 940px;
	margin: auto;
}

/* 店舗リンクリスト（PC＆SP） */
ul#shop_list {
	list-style: none;
	box-sizing: border-box;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 15px;
	margin-top: 5%;
}
@media screen and (max-width: 1024px) {
	ul#shop_list {
		grid-template-columns: repeat(3, 1fr);
		gap: 10px;
		margin-top: 4%;
  }
}

/* 店舗リンクボタン */
ul#shop_list li a {
	position: relative;
	display: block;
	padding: 20px 0;
	background: #fff;
	color: #656565;
	text-align: center;
	font-size: 24px;
	text-decoration: none;
	border: 1px solid #656565;
	transition: all 0.3s ease;
	box-sizing: border-box;
}
ul#shop_list li a:hover {
	background: #000;
	color: #fff;
}

/* 矢印アイコン */
ul#shop_list li a::after {
	content: '';
	position: absolute;
	top: 50%;
	right: 6%;
	width: 10px;
	height: 10px;
	margin-top: -6px;
	border-top: 2px solid #656565;
	border-right: 2px solid #656565;
	transform: rotate(45deg);
	transition: border-color 0.3s ease;
}
ul#shop_list li a:hover::after {
	border-color: #fff;
}
@media screen and (max-width: 1024px) {
	ul#shop_list li a::after {
		right: 5%;
  }
}


/*テキスト部分*/
.LP_wrap .LP_shop p {
	text-align: center;
	font-family: 'MazdaType-Medium';
	font-weight: bold;
	font-size: 22px;
	color: #ffffff;
}
.LP_wrap .LP_shop p:first-child {
	font-size: clamp(20px, 2.5vw, 22px);
	white-space: nowrap;
	width: max-content;
	margin: 0 auto;
	text-align: center;
}

/*お電話でのご予約も承っております*/
.LP_wrap p.LP_tel span {
	display: inline-block;
	background-color: #ffffff;;
	color: #1e1e1e;
	text-align: center;
	font-weight: normal;
	padding: 5px 20px;
	border-radius: 1000px;
}
.LP_wrap p.LP_tel {
	margin: 3% auto 0;
}

/*※グレード等の配備状況は店舗によって異なります。詳しくは各店舗へお問い合わせください。*/
.LP_wrap p.note {
	font-size: 18px;
	margin: 8% auto 0%;
	font-weight: normal;
}
@media screen and (max-width:1024px){
	.LP_wrap p.note span {
		display: block;
		line-height: 1.1;
	}
}










/*cx-60 cx-80//////////////////////////////////////////*/
.LP_flexbox {
	display: flex;
	justify-content: space-between;
	width: 90%;
	max-width: 1100px;
	margin: 8% auto !important;
}
.LP_flexbox .LP_item {
	width: 48%;
}
@media screen and (max-width:750px){
	.LP_flexbox {
		display: block;
	}
	.LP_flexbox .LP_item {
		width: 100%;
	}
}





/*ボタン//////////////////////////////////////////*/
/*リンクボタン*/
.LP_wrap a:hover {
	opacity: 0.8;
}

/*車ボタン*/
.LP_wrap a.btn_base{
	opacity: 1;
	text-decoration: none;
	display: block;
    border: 1px solid #000000;
	width: 90%;
	max-width: 420px;
	height: 55px;
	line-height: 55px;
	margin: 5% auto 13%;
	border-radius: 8px;
    text-align: center;
    transition: ease .4s;
	color: #000000;
	font-size: 22px;
}
@media screen and (max-width:750px){
	.LP_wrap a.btn_base{
		height: 75px;
		line-height: 75px;
		font-size:30px;
		max-width: 800px;
	}
}

/* PC（hover可能デバイス）のみ hover指定 */
@media (hover: hover) and (pointer: fine) {
	.LP_wrap a.btn_base:hover {
		background: #000000;
		color: #ffffff;
	}
}




