:root {
	--main-fontcolor:#636977;
	--sec-margin:300px;
}
@media screen and (max-width: 768px) {
	:root {
		--sec-margin:100px;
	}
}

#l-auto-local-header.l-auto-local-header{
	background-color:#000;
	border-bottom: 1px solid #fff;
	box-sizing: border-box;
}
#l-auto-local-footer.l-auto-local-footer{
	background: #000;
}


main{
	line-height: 3.5em;
	color: var(--main-fontcolor);
}
@media screen and (max-width: 768px) {
	main{
		line-height: 2em;
	}
}

main .content_wrap{
	width: 100%;
	max-width: 1366px;
	margin: 0 auto;
}

main img{
	width: 100%;
	height: auto;
	vertical-align: bottom;
}

main section video {
	width: 100%;
	height: auto;
	aspect-ratio: 16/9;
	vertical-align: bottom;
}
@media screen and (max-width: 768px) {
	main section video {
		width: auto;
		height: 100%;
		position: absolute;
		top: 0;
		left: 50%;
		transform: translateX(-50%);
	}
}

main section .content_wrap ul{
	list-style: none;
	margin: 0;
	padding: 0;
}

main section dl,
main section dl dt,
main section dl dd{
	margin: 0;
	padding: 0;
}

#main_visual{
	margin-bottom: 200px;
}

@media screen and (max-width: 768px) {
	#main_visual{
		margin-bottom: 100px;
	}
	#main_visual,
	#btm_visual{
		width: 100%;
		aspect-ratio: 25 / 36;
		position: relative;
		overflow: hidden;
	}
}

#movie{
	margin-bottom: 200px;
}
@media screen and (max-width: 768px) {
	#movie{
		margin-bottom: 100px;
	}
}

#movie .content_wrap{
	max-width: 1020px;
	margin:0 auto;
	padding: 0 20px;
}
@media screen and (max-width: 768px) {
	#movie .content_wrap{
		padding: 0 25px;
	}
}

@media (hover: hover) {
	#movie .content_wrap a{
		transition: 0.5s;
	}
	#movie .content_wrap a:hover{
		opacity: 0.7;
	}
}

.lead_sec01{
	font-size: 1.125rem;
	text-align: center;
	margin-bottom: 250px;
}
@media screen and (max-width: 768px) {
	.lead_sec01{
		font-size: 0.75rem;
		margin-bottom: 100px;
	}
}

.lead_sec01 h2{
	font-size: 1.5rem;
	line-height: 3.5em;
}
@media screen and (max-width: 768px) {
	.lead_sec01 h2{
		font-size: 0.9375rem;
		line-height: 3em;
	}
}

.lead_sec01 .lead_logowrap{
	max-width: 200px;
	margin: 0 auto;
}

.lead_logo{
	position: relative;
  width: 100%;
  aspect-ratio: 1 / 1; /* 画像の比率に合わせる */
  overflow: hidden;
}

.lead_logo img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0; /* 初期状態は全て非表示 */
}

/* 1枚目は最初から表示 */
.lead_logo img:first-child {
  opacity: 1;
}

/* 共通: 合計2.5秒（フェードイン1s + ため0.5s + フェードアウト1s） */
.lead_logo.in-view img {
  animation: crossfade-step 2s linear forwards;
}

/* 1枚目: 最初から100% → ため0.5s → フェードアウト */
.lead_logo.in-view img:first-child {
  animation: crossfade-first 1s linear forwards;
}

/* 6枚目: フェードインして残る */
.lead_logo.in-view img:last-child {
  animation: crossfade-last 1s linear forwards;
}

/* 1.5秒間隔でずらす */
.lead_logo.in-view img:nth-child(1) { animation-delay: 0.25s; }
.lead_logo.in-view img:nth-child(2) { animation-delay: 0.5s; }
.lead_logo.in-view img:nth-child(3) { animation-delay: 1.5s; }
.lead_logo.in-view img:nth-child(4) { animation-delay: 2.5s; }
.lead_logo.in-view img:nth-child(5) { animation-delay: 3.5s; }
.lead_logo.in-view img:nth-child(6) { animation-delay: 4.5s; }

/* 2〜5枚目: 2.5秒 = 0〜1s フェードイン / 1〜1.5s ため / 1.5〜2.5s フェードアウト */
@keyframes crossfade-step {
  0%   { opacity: 0; }
  40%  { opacity: 1; }  /* 1.0s */
  60%  { opacity: 1; }  /* 1.5s（ため終了） */
  100% { opacity: 0; }  /* 2.5s */
}

/* 1枚目: 1.5秒 = 0〜0.5s ため / 0.5〜1.5s フェードアウト */
@keyframes crossfade-first {
  0%   { opacity: 1; }
  33.333% { opacity: 1; }  /* 0.5s */
  100% { opacity: 0; }     /* 1.5s */
}

/* 6枚目: フェードインして残る */
@keyframes crossfade-last {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.lead_imgwrap,
.appearance_imgwrap{
	display: flex;
	gap: 86px;
}
@media screen and (max-width: 768px) {
	.lead_imgwrap,
	.appearance_imgwrap{
		justify-content: space-between;
		gap: 24px;
	}
}

.lead_imgwrap .lead_img_s,
.appearance_imgwrap .appearance_img_s{
	width: 22%;
	max-width: 300px;
}

.lead_imgwrap .lead_img_l,
.appearance_imgwrap .appearance_img_l{
	width: 72%;
	max-width: 980px;
	margin-top: 150px;
}
@media screen and (max-width: 768px) {
	.lead_imgwrap .lead_img_l,
	.appearance_imgwrap .appearance_img_l{
		margin-top: 12vw;
	}
}

.lead_sec02 .lead_img_s,
.appearance_imgwrap02 .appearance_img_s{
	order: 1;
}

.lead_sec02 .lead_img_l,
.appearance_imgwrap02 .appearance_img_l{
	order: 0;
}

.lead_imgcap{
	font-size: 1.125rem;
	max-width: 1020px;
	padding: 0 20px;
}
@media screen and (max-width: 1100px) {
	.lead_imgcap{
		font-size: 0.75rem;
		font-family: var(--font-light);
		padding: 0 50px;
	}
}

.lead_sec02 .lead_imgcap{
	text-align: center;
	margin: 200px auto 1em;
}
@media screen and (max-width: 768px) {
	.lead_sec02 .lead_imgcap{
		margin: 100px auto;
	}
}

.lead_sec03 .lead_imgcap{
	text-align: center;
	margin: 200px auto 300px ;
}

@media screen and (max-width: 768px) {
	.lead_sec03 .lead_imgcap{
		margin: 100px auto;
	}
}

#appearance{
	margin-bottom: var(--sec-margin);
}

.appearance_mv{
	margin-bottom: 170px;
	position: relative;
}
@media screen and (max-width: 768px) {
	.appearance_mv{
		margin-bottom: 100px;
	}
}

.appearance_mv p {
	font-size: clamp(12px, 1.302vw, 25px);
	text-align: center;
	width: 100%;
	position: absolute;
	top: 16%;
	left: 0;
	transform: translateY(-50%);
}

.appearance_logo{
	font-size: 1.25rem;
	text-align: center;
	margin-bottom: 3rem;
}
@media screen and (max-width: 768px) {
	.appearance_logo{
		font-size: 0.8125rem;
	}
}

.appearance_logo_img {
	max-width: 538px;
	margin: 0 auto 2em;
}
@media screen and (max-width: 768px) {
	.appearance_logo_img {
		max-width: 269px;
	}
}

.appearance_comparison{
	max-width: 680px;
	margin: 0 auto 250px;
	padding: 0 20px;
}
@media screen and (max-width: 768px) {
	.appearance_comparison{
		max-width: 480px;
		margin-bottom: 100px;
	}
}

.appearance_comparison .icv__control-line{
	background: #9BD1FF !important;
	box-shadow: none !important;
}

.appearance_comparison .icv__arrow-wrapper svg {
	display: none;
}

.appearance_comparison .icv__arrow-wrapper:nth-child(1){
	transform: translateX(-6px) !important;
}
.appearance_comparison .icv__arrow-wrapper:nth-child(2){
	transform: translateX(6px) !important;
}


.appearance_comparison .icv__arrow-wrapper:nth-child(1)::before{
	content: "";
	width: 0;
  height: 0;
  border-style: solid;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-right: 24px solid #9bd1ff;
  border-left: 0;
}

.appearance_comparison .icv__arrow-wrapper:nth-child(2)::before{
	content: "";
	width: 0;
  height: 0;
  border-style: solid;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 24px solid #9bd1ff;
  border-right: 0;
}

.appearance_imgwrap{
	margin-bottom: 200px;
}
@media screen and (max-width: 768px) {
	.appearance_imgwrap{
		margin-bottom: 75px;
	}
}

.appearance_imgwrap:last-child{
	margin-bottom: 0;
}

.appearance_imgwrap .swiper-slide img{
	border-radius: 0;
}

.appearance_imgwrap .swiper-controls{
	margin-top: 0;
}
@media screen and (max-width: 768px) {
	.appearance_imgwrap .swiper-controls{
		margin-top: 10px;
		margin-right: 0;
	}
}

#hybrid{
	margin-bottom: 200px;
}
@media screen and (max-width: 768px) {
	#hybrid{
		margin-bottom: 100px;
	}
}

.hybrid_mv{
	text-align: center;
	width: 100%;
	padding: 290px 20px;
	background: url(../images/hybrid_bg.webp) center center no-repeat;
	background-size: cover;
	box-sizing: border-box;
}
@media screen and (max-width: 768px) {
	.hybrid_mv{
		padding: 130px 20px;
	}
}

.hybrid_mv h2{
	font-size: 1.5rem;
	color: #fff;
}
@media screen and (max-width: 768px) {
	.hybrid_mv h2{
		font-size: 0.9375rem;
		line-height: 2.5em;
	}
}

#specification,
#equipment,
#bodycolor,
#interiorcolor,
#btm_visual,
#topics,
#caution{
	margin-bottom: 200px;
}
@media screen and (max-width: 768px) {
	#specification,
	#equipment,
	#bodycolor,
	#interiorcolor,
	#btm_visual,
	#topics,
	#caution{
		margin-bottom: 100px;
	}
}

#specification h3,
#equipment h3,
#bodycolor h3,
#interiorcolor h3,
#topics h3{
	font-family: var(--font-bold);
	font-size: 1.125rem;
	text-align: center;
	margin-bottom: 2rem;
}
@media screen and (max-width: 768px) {
	#specification h3,
	#equipment h3,
	#bodycolor h3,
	#interiorcolor h3,
	#topics h3{
		font-size: 0.75rem;
		margin-bottom: 1.5rem;
	}
}

#specification ul{
	text-align: center;
	line-height: 2.5rem;
}
@media screen and (max-width: 768px) {
	#specification ul{
		font-size: 0.75rem;
		text-align: left;
		line-height: 2rem;
		padding: 0 50px;
	}
}

.hybrid_contwrap {
	max-width: 980px;
	margin: 150px auto 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 150px 80px;
}

@media screen and (max-width: 768px) {
	.hybrid_contwrap {
		margin: 75px auto 0;
		padding: 0 50px;
		flex-direction: column;
		gap: 50px 0px;
	}
}

.hybrid_contwrap dl{
	line-height: 2.5em;
	width: calc(50% - 40px);
}
@media screen and (max-width: 768px) {
	.hybrid_contwrap dl{
		line-height: 1.5em;
		width: 100%;
	}
}

.hybrid_contwrap dl dt{
	font-family: var(--font-bold);
	font-size: 1.125rem;
	margin-bottom: 1.5em;
}
@media screen and (max-width: 768px) {
	.hybrid_contwrap dl dt{
		font-size: 0.75rem;
		margin-bottom: 1em;
	}
	.hybrid_contwrap dl dd{
		font-family: var(--font-light);
		font-size: 0.75rem;
	}
}

.color_list{
	max-width: 1020px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap:1.5rem 6%;
}
@media screen and (max-width: 768px) {
	.color_list{
		font-size: 0.75rem;
		padding: 0 50px;
		flex-wrap: wrap;
		justify-content: space-around;
		gap:1.5rem 10% ;
	}
}

.color_list .color_item{
	line-height: 1.375em;
	text-align: center;
	width: 20%;
}
@media screen and (max-width: 768px) {
	.color_list .color_item{
		line-height: 1.375em;
		text-align: center;
		width: 35%;
		max-width: unset;
	}
}

.color_list .color_item .color_thum{
	max-width: 130px;
	margin: 0 auto 1rem;
	box-shadow: 3px 3px 6px 0px rgba(0, 0, 0, 0.16);
}
@media screen and (max-width: 768px) {
	.color_list .color_item .color_thum{
		width: 90%;
		margin:0 auto 0.75rem;
	}
}

#equipment .content_wrap{
	line-height: 2.5rem;
	max-width:1020px;
	margin: 0 auto;
	padding:0 20px;
}
@media screen and (max-width: 768px) {
	#equipment .content_wrap{
		font-size: 0.75rem;
		padding:0 50px;
	}
}

#caution .content_wrap{
	line-height: 2.5em;
	max-width: 980px;
	margin: 0 auto;
}
@media screen and (max-width: 768px) {
	#caution .content_wrap{
		font-size: 0.75rem;
		padding:0 50px;
	}
}

.topics_wrap{
	max-width: 1020px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	flex-wrap: wrap;
	gap: 26px;
}
@media screen and (max-width: 768px) {
	.topics_wrap{
		flex-wrap: wrap;
		gap: 1.75rem 20px;
	}
}

.topics_wrap .topics_item{
	line-height: 1.5em;
	width: calc(25% - 19.5px);
}
@media screen and (max-width: 768px) {
	.topics_wrap .topics_item{
		font-size: 0.75rem;
		width: calc(50% - 10px);
	}
}

.topics_wrap .topics_item a{
	text-decoration: none;
	color: inherit;
}
@media (hover: hover) {
	.topics_wrap .topics_item a{
		transition:0.5s;
	}
	.topics_wrap .topics_item a:hover{
		opacity: 0.7;
	}
}

.topics_wrap .topics_item a[target="_blank"] p::after {
    content: "";
    width: 12px;
    height: 12px;
    margin-left: 4px;
    display: inline-block;
    vertical-align: baseline;
    background: url(../../common/images/icon/icon_blank.svg) 0px 0px / contain no-repeat;
    transition: background 0.4s;
}

.topics_thum{
	margin-bottom: 1rem;
	border: 1px solid #ccc;
	box-sizing: border-box;
	position: relative;
}

.mov-yt .topics_thum::after{
	content: "";
	width: 25%;
	aspect-ratio: 1/1;
	display: inline-block;
	background: url(../../common/images/icon/icon_play.svg) 0px 0px / cover no-repeat;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50% , -50%);
}

#lead .lead_sec02 .js-inview,
#lead .lead_sec03 .js-inview,
#appearance .js-inview,
#hybrid .js-inview,
#specification .js-inview,
#equipment .js-inview,
#bodycolor .js-inview,
#interiorcolor .js-inview,
#topics .js-inview,
#caution .js-inview{
	transform: translateY(20px);
	opacity: 0;
	transition: 1s;
}

#lead .lead_sec02 .js-inview.in-view,
#lead .lead_sec03 .js-inview.in-view,
#appearance .js-inview.in-view,
#hybrid .js-inview.in-view,
#specification .js-inview.in-view,
#equipment .js-inview.in-view,
#bodycolor .js-inview.in-view,
#interiorcolor .js-inview.in-view,
#topics .js-inview.in-view,
#caution .js-inview.in-view{
	transform: translateY(0);
	opacity: 1;
}

#image-compare {
  touch-action: pan-y; /* 縦スクロールは許可し、横方向のジェスチャーをバインド */
}