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

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

/*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_550 {
	width:  100%;
	max-width: 550px;
	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: 90%;
	max-width: 940px;
	margin: 0 auto 0;	
	box-sizing: border-box;
}
.LP_wrap .con_1100 {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto 3%;	
	box-sizing: border-box;
}

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


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






/*bg_orange:背景色オレンジ共通 //////////////////////////////*/
.LP_wrap .bg_orange {
	background: #ff7d00;
	padding: 10% 0 5%;
}





/*////////////  各店舗リスト ///////////////*/
.LP_wrap .LP_shop {}
.LP_wrap .bg_black {
	background: #1e1e1e;
	padding: 80px 0;
}
.LP_wrap .bg_black .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: 30px 10px;
	margin-top: 5%;
}
@media screen and (max-width: 1024px) {
	ul.shop_list {
		grid-template-columns: repeat(3, 1fr);
		gap: 20px 10px;
		margin-top: 8%;
  }
}

/* 店舗リンクボタン */
ul.shop_list li a {
	position: relative;
	display: block;
	padding: 0;
	transition: all 0.3s ease;
	box-sizing: border-box;
}
ul.shop_list li a:hover {
	opacity: 0.5;
}


/*テキスト部分*/
.LP_wrap .LP_shop p {
	text-align: center;
	font-family: 'MazdaType-Medium';
	font-weight: bold;
	font-size: 22px;
	color: #ffffff;
}
/*WEBより事前予約をしていただけますと〜*/
@media screen and (max-width:750px){
	.LP_wrap .LP_shop p.first-child {
		font-size: 14px;
	}
}

/*お電話でのご予約も承っております*/
.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;
	}
}






/*////////////  slider ///////////////*/
.LP_img_slider {
	margin: 2% 0 15% !important;
}
/* slider ///////////////*/
.LP_img_slider{
	overflow: hidden;
	width: 100%;
}
.LP_slider {
	display: flex;
	width: max-content;
}
.LP_slider img {
	width: clamp(250px, 30vw, 325px);
	height: auto;
	object-fit: cover;
	margin-right: 5px;
}

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






/*bg_white//////////////////////////////////////////*/
.LP_wrap .bg_white {
	background: #ffffff;
	padding : 5% 10% 0; 
}
@media screen and (max-width:750px){
	.LP_wrap .bg_white {
		padding : 5% 8% 10%; 
	}
}

.LP_grid-box_01 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 5%;
}
@media screen and (max-width:750px){
	.LP_grid-box_01 {
		grid-template-columns: 1fr;
		column-gap: 0;
		grid-row-gap: 5%;
	}
}



/*マツダCXシリーズを比較する/////////////////////////////////////////*/
.LP_hikaku {
	background: #141414;
}

.LP_hikaku figure {
	width: 90%;
	max-width: 1200px;
	margin: auto;
}
@media screen and (max-width:750px){
	.LP_hikaku figure {
		width: 100%;
	}
}





/*clab MAZDA /////////////////////////////////////////*/
ul.LP_grid-box_02 {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	column-gap: 5%;
	list-style: none;
}
@media screen and (max-width:750px){
	ul.LP_grid-box_02 {
		grid-template-columns: 1fr 1fr;
		column-gap: 2%;
		grid-row-gap: 2%;
	}
}


.LP_clubMAZDA a {
	width: 90%;
	max-width: 570px;
	margin: 8% auto 0%;
	display: block;
}



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

/*車ボタン*/
.LP_wrap a.btn_base{
	opacity: 1;
	text-decoration: none;
	display: block;
    border: 1px solid #ffffff;
	width: 90%;
	max-width: 420px;
	height: 55px;
	line-height: 55px;
	margin: 5% auto 13%;
	border-radius: 8px;
    text-align: center;
    transition: ease .4s;
	color: #ffffff;
	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: rgb(255,255,255,0.2);
	}
}





/*スクロールアニメーション//////////////////////////////////////////*/
.LP_wrap .fade-in {
  opacity: 0;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.LP_wrap .fade-in.show {
  opacity: 1;
}




