@charset "utf-8";
:root {
    --c_bk: #000000;
    --c_gy: #edeff1;
    --c_rd: #e40000;
    --c_dg: #666666;
}


#ev_journey{
  overflow: clip;
}
html:has(#ev_journey){
	scroll-behavior: smooth; /* trailerのカードからのアンカーリンクをスムーズスクロールに */
}
.copy-0002:has(#ev_journey){
	margin: 0;
}

/* 共通 */
.p-ev_bak{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	/* bak_image.jpg は上下につながるよう作った画像(1921x2161)なので、そのまま縦に繰り返す */
	background: url(../img/bak_image.jpg) repeat-y center top/100% auto;
	z-index: -1;
	&.--var{
		&::before {
			content: '';
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			background: #f6d16d;
			opacity: 0.7;
		}
	}
}
.p-ev-inner{
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
}
.p-ev__texts{
	display: flex;
	flex-direction: column;
	gap: min(3.125vw, 60px);
	font-weight: 600;
	font-size: clamp(12.5px,0.9375vw,18px);
	font-feature-settings: "palt";
}
.p-ev__text{
	line-height: 2.0;
}

.p-ev-contents{
	display: flex;
	flex-direction: column;
	gap: 35px;
	margin-top: 100px;
	&.--01{
		.p-ev-content.--first{
			background: #8b7436;
		}
		.p-ev-content{
			border: 1px solid #8b7436;
		}
		.p-ev-content__title-spot{
			background: #8b7436;
		}
	}
	&.--02{
		.p-ev-content.--first{
			background: #652c59;
		}
		.p-ev-content{
			border: 1px solid #652c59;
		}
		.p-ev-content__title-spot{
			background: #652c59;
		}
	}
	&.--03{
		.p-ev-content.--first{
			background: #830000;
		}
		.p-ev-content{
			border: 1px solid #830000;
		}
		.p-ev-content__title-spot{
			background: #830000;
		}
	}
	&.--04{
		.p-ev-content.--first{
			background: rgba(255, 255, 255, 0.9);
		}
		.p-ev-content{
			border: 1px solid #fff;
		}
		.p-ev-content__title-spot{
			background: #fff;
		}
		.p-ev-content__first-title{
			color: var(--c_bk);
		}
		.p-ev-content__first-catch{
			color: var(--c_bk);
		}
		.p-ev-content__first-text{
			color: var(--c_bk);
		}
		.p-ev-content__text{
			border-color: #fff;
		}
		.p-ev-content__title-spot{
			color: #00163c;
		}
		.p-ev-content__first-title-text{
			color: var(--c_bk);
			border-color: var(--c_bk);
		}
		.p-ev-content__button-link{
			border: 1px solid var(--c_bk);
		}
	}
}
.p-ev-content{
	display: flex;
	align-items: center;
	gap: min(1.6666667vw, 32px);
	width: 85%;
	margin: 0 auto;
	padding: 40px;
	@media screen and (max-width: 1200px) {
		width: 100%;
		max-width: 1000px;
	}
}
.p-ev-content__first-title{
	display: flex;
	align-items: center;
	gap: min(2.083333vw, 40px);
	flex-wrap: wrap;
	&.--02{
		gap: min(1.8229167vw, 35px);
		.p-ev-content__first-title-image{
			max-width: 450px;
			width: 23.4375vw;
		}
	}
}
.p-ev-content__first-title-image{
	max-width: 250px;
	width: 13.02083333vw;
	img{
		display: block;
		width: 100%;
		max-width: 100%;
		height: auto;
	}
}
.p-ev-content__first-title-text{
	display: block;
	padding: 5px min(0.8333333vw,16px) 3px;
	border: 1px solid #fff;
	font-size: clamp(16px,1.041666667vw,20px);
	color: #fff;
}
.p-ev-content__first-catch{
	display: block;
	margin-top: 25px;
	font-size: clamp(16px,0.9375vw,18px);
	color: #fff;
}
.p-ev-content__first-text{
	margin-top: 10px;
	font-size: clamp(14px,0.9375vw,16px);
	font-feature-settings: "palt";
	color: #fff;
}
.p-ev-content__info{
	flex: 1;
}
.p-ev-content__button{
	margin-top: 20px;
}
.p-ev-content__button-link{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: min(3.64583333vw, 70px);
	padding: 12px 20px 10px;
	background: #000;
	color: #fff;
	font-weight: 600;
	font-size: 95%;
	line-height: 1.2;
	&:hover{
		background: #fff;
		color: var(--c_bk);
		.p-ev-content__button-arrow{
			background: var(--c_bk);
			&::before {
				content: '';
				background: url(/static/img/arrow01_wh.svg) no-repeat center center/100% auto;
			}
		}
	}
}
.p-ev-content__button-arrow{
	position: relative;
	background: #fff;
	border-radius: 50%;
	aspect-ratio: 1 / 1;
	width: 10px;
	&::before {
		content: '';
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translateY(-50%) translateX(-50%);
		aspect-ratio: 5 / 9;
		width: 4px;
		background: url(/static/img/arrow01_bk.svg) no-repeat center center/100% auto;
	}
}
.p-ev-content__image{
	max-width: 315px;
	width: 16.40625vw;
	min-width: 250px;
	img{
		display: block;
		width: 100%;
		max-width: 100%;
		height: auto;
	}
}
.p-ev-content__title{
	display: flex;
	align-items: center;
	gap: min(3.64583333vw, 20px);
}
.p-ev-content__title-spot{
	padding: 5px 10px 1px;
	font-size: clamp(14px,1.041666667vw,20px);
	color: #fff;
}
.p-ev-content__title-text{
	font-size: clamp(20px,1.3020833vw,25px);
}
.p-ev-content__text{
	margin-top: 30px;
	padding-top: 30px;
	border-top: 1px solid #000;
	font-weight: 600;
	font-feature-settings: "palt";
}
.p-ev__movie{
	position: relative;
	flex: 1;
	aspect-ratio: 16 / 9;
	width: 100%;
	border: none;
	margin-top: 30px;
	&.--comming{
		border: 1px solid #8b7436;
		max-width: 780px;
		width: 40.625vw;
	}
	iframe{
		display: block;
		width: 100%;
		height: 100%;
		border: none;
	}
}
.p-ev__image-comming{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateY(-50%) translateX(-50%);
	img{
		width: 100%;
		max-width: 100%;
		height: auto;
	}
	&::before {
		content: '';
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translateY(-50%) translateX(-50%);
		aspect-ratio: 1 / 1;
		max-width: 78px;
		width: 4.0625vw;
		clip-path: polygon(100% 50%, 0% 100%, 0% 0%);
		background: #fff;
		z-index: -1;
	}
}




/* mv */
.p-ev-mv__image{
	position: relative;
	container-type: inline-size;
	/* MVの高さ（画像は1920x760）。幅の基準はMVの表示幅(cqw)
	   ※PCはサイトの左メニュー(240px)があるため、1920pxのウィンドウでもMVの表示幅は約1650px
	   表示幅 ～1200px: 比例して縮小 / 1200～1637px: 648px固定（左右を切り取る） / 1637px～: 幅100%（画像全体が見える）
	   648px = 760 × 1637/1920（1920pxのウィンドウでは画像全体が見えるよう、少し余裕を持たせた値） */
	--mv-h: max(calc(100cqw * 760 / 1920), min(648px, calc(100cqw * 648 / 1200)));
	img{
		display: block;
		width: 100%;
		max-width: 100%;
		height: var(--mv-h);
		object-fit: cover;
		object-position: center;
	}
	&::before {
		content: '';
		position: absolute;
		bottom: calc(var(--mv-h) * -211 / 760); /* 1920px幅で旧 -11vw 相当。MVの大きさに合わせる */
		/* 画像の右端に合わせる（左右を切り取っている分だけ右にはみ出す） */
		right: calc((100cqw - var(--mv-h) * 1920 / 760) / 2);
		aspect-ratio: 785 / 393;
		width: calc(var(--mv-h) * 785 / 760);
		background: url(../img/mv_decoration.png) no-repeat center center/100% auto;
		z-index: 1;
	}

}


/* about + trailer 背景 */
.p-ev-bg{
	--about-bg-w: 1920;
	--about-bg-h: 1079;
	--trailer-overlap: 11cqw; /* about背景にtrailer背景を重ねる量 */
	position: relative;
	isolation: isolate;
	container-type: inline-size;
	.p-ev_bak{
		z-index: -2; /* aboutからはみ出したabout背景を隠さないよう、さらに奥へ */
	}
}


/* about */
.p-ev-about{
	position: relative;
	padding: 12vw 0 20.520833vw; /* 下は文章の下に橋を見せる余白 */
	/* 最低でも背景画像の高さ。文章が長いときはaboutごと伸び、背景もcoverで伸びる */
	min-height: calc(100cqw * var(--about-bg-h) / var(--about-bg-w));
	box-sizing: border-box; /* min-heightにpaddingを含める */
	&::before {
		content: '';
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		width: 100%;
		background: url(../img/about_bak_img01.jpg) no-repeat center bottom/cover;
		z-index: -1;
	}
	&::after {
		content: '';
		position: absolute;
		top: -1px;
		left: 0;
		aspect-ratio: 1921 / 145;
		width: 100%;
		background: url(../img/line_image.png) no-repeat center center/100% auto;
		z-index: -1;
	}
}
.p-ev-about__content{
	width: 80%;
	max-width: 900px;
	margin: 0 auto;
}
.p-ev-about__content-image{
	/* 背景と同じく.p-ev-aboutの下端・右端を基準に置く（文章の長さに左右されない） */
	position: absolute;
	bottom: 2cqw; /* 1920px幅で旧指定と同じ位置 */
	right: 16.5625cqw;
	max-width: 570px;
	width: 29.6875vw;
	img{
		width: 100%;
		max-width: 100%;
		height: auto;
	}
}
.p-ev-about__text-image{
	max-width: 220px;
	width: 11.45833vw;
}
.p-ev-about__catch{
	display: block;
	margin-top: 2.916667vw; /* 1920px幅で56px */
	font-size: clamp(24px,1.5625vw,30px);
	font-weight: 700;
	letter-spacing: 2.0px;
}
.p-ev__texts{
	margin-top: 2.083333vw; /* 1920px幅で40px */
}
.p-ev-about{
	.p-ev__texts{
		gap: 1.5625vw; /* 1920px幅で30px */
	}
	.p-ev__text{
		margin: 0; /* 段落の間隔はgapだけで取る */
	}
}
/* 1580px以下は文章が背景の橋に重なるため、白いふち取りで読みやすくする */
@media screen and (max-width: 1580px) {
	.p-ev-about__texts.p-ev__texts{
		text-shadow: 1px 1px 3px rgba(255, 255, 255, 1), -1px -1px 3px rgba(255, 255, 255, 1);
	}
}


/* trailer */
.p-ev-trailer{
	position: relative;
	padding: 0 0 12vw;
	&::after { /* aboutの下端から重ねる。about背景・.p-ev_bakより手前に描画するため ::after */
		content: '';
		position: absolute;
		top: calc(var(--trailer-overlap) * -1);
		bottom: 12vw; /* 中身の下端(padding-bottomの上)まで。幅を縮めて中身が長くなっても背景が付いてくる */
		left: 0;
		width: 100%;
		min-height: calc(100cqw * 1709 / 1921); /* 画像本来の高さより短くはしない */
		/* 画像の上200px(カーブ部分)は元の比率のまま、残りのグラデーションだけ縦に伸ばす
		   10.411cqw = 200 / 1921 * 100 */
		border-style: solid;
		border-width: 0;
		border-image: url(../img/trailer_bak_img02.png) 200 0 0 0 fill / 10.411cqw 0 0 0 / 0 stretch;
		z-index: -1;
	}
}
.p-ev-trailer__logo{
	max-width: 330px;
	width: 17.1875vw;
	margin: 0 auto;
	img{
		width: 100%;
		max-width: 100%;
		height: auto;
	}
}
.p-ev-trailer__logo-text{
	margin-top: 30px;
	text-align: center;
	font-size: clamp(16px, 1.041667vw, 20px);
	color: #fff;	
}
.p-ev-trailer__movie-text{
	max-width: 290px;
	width: 15.104167vw;
	margin: 80px auto 0;
	min-width: 230px;
	img{
		display: block;
		width: 100%;
		max-width: 100%;
		height: auto;
	}
}
.p-ev-trailer__movie{
  width: 100%;
	max-width: 780px;
  aspect-ratio: 16 / 9;
	margin: 40px auto 0;
	iframe{
		display: block;
		width: 100%;
		height: 100%;
		border: none;
	}
}
.p-ev-trailer__contents{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin-top: 30px;
	gap: min(4.4270833vw, 85px);
	align-items: flex-start;
}
.p-ev-trailer__content{
	position: relative;
	display: block;
	container-type: inline-size; /* 車の位置をカード幅基準(cqw)にする */
	color: inherit;
	text-decoration: none;
	transition: opacity .3s;
	&:hover{
		opacity: .4;
	}
	&:nth-of-type(2) {
		margin-top: 35%;
	}
	&:nth-of-type(3) {
		margin-top: 35%;
	}
}
.p-ev-trailer__content-number{
	position: relative;
	display: block;
	width: 50%;
	max-width: 244px;
	img{
		display: block;
		width: 100%;
		max-width: 100%;
		height: auto;
	}
}
.p-ev-trailer__number-date{
	position: absolute;
	top: 50%;
	right: -100%;
	transform: translateY(-50%);
	width: 150%;
	display: flex;
	align-items: baseline;
	gap: 5px;
	white-space: nowrap;
	color: #fff;
}
.p-ev-trailer__number-date-text{
	display: block;
	font-size: clamp(16px,1.66667vw,32px);
  font-family: "M PLUS 1p", sans-serif;
  font-weight: 800;
  font-style: normal;
	text-shadow: 2px 1px 2px rgba(0, 0, 0, 0.25);
	&.--small{
		font-size: clamp(12px,0.9375vw,18px);
	}
	&.--middle{
		font-size: clamp(14px,0.9375vw,18px);
		padding-left: 4px;
	}
}
.p-ev-trailer__content-image{
	position: relative;
	img{
		display: block;
		width: 100%;
		max-width: 100%;
		height: auto;
	}
}
.p-ev-trailer__content-image-title{
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	background: rgba(0, 0, 0, 0.8);
	width: 25%;
	height: 100%;
	padding-top: 70px;
}
.p-ev-trailer__content-image-title-image{
	max-width: 27px;
	width: 1.5625vw;
	img{
		display: block;
		width: 100%;
		max-width: 100%;
		height: auto;
	}
}
.p-ev-trailer__content-image-text{
	position: absolute;
	top: 50%;
	left: 37.5%;
	transform: translateY(-50%) translateX(-50%);
	max-width: 23px;
	width: 1.197916667vw;
	min-width: 20px;
}
.p-ev-trailer__content-car{
	position: absolute;
	bottom: -40.7cqw; /* 1920px幅で旧 -5vw 相当 */
	right: -16.3cqw; /* 1920px幅で旧 -2vw 相当 */
	width: 100%;
	max-width: 264px;
	img{
		width: 100%;
		max-width: 100%;
		height: auto;
	}
	&.--04{
		bottom: -52cqw; /* 1920px幅で旧 -6.4vw 相当 */
	}
}


/* sengoku */
.p-ev-sengoku{
	position: relative;
	padding: 0 0 12vw;
}
.p-ev-sengoku__title-area{
	position: relative;
	width: 100%;
	height: 100%;
	&::before {
		content: '';
		position: absolute;
		top: 2vw;
		left: 0;
		aspect-ratio: 1926 / 1446;
		width: 100%;
		background: url(../img/era01_decoration.png) no-repeat center center/100% auto;
		z-index: -1;
	}
}
.p-ev-sengoku__image{
	position: relative;
	width: 80vw;
	max-width: 1920px;
	margin: 0 auto;
	z-index: -1;
	img{
		display: block;
		width: 100%;
		max-width: 100%;
		height: auto;
	}
}
.p-ev-sengoku__title{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateY(-50%) translateX(-50%);
	width: 13%;
	max-width: 400px;
	img{
		display: block;
		width: 100%;
		max-width: 100%;
		height: auto;
	}
}
.p-ev-sengoku__car{
	position: absolute;
	bottom: -8.3vw;
	left: 3vw;
	aspect-ratio: 731 / 421;
	max-width: 438px;
	width: 22.8125vw;
	img{
		display: block;
		width: 100%;
		max-width: 100%;
		height: auto;
	}
	&.--sp{
		display: none;
	}
}
.p-ev-sengoku__content{
	display: flex;
	align-items: flex-end;
	gap: 20px;
}
.p-ev-sengoku__texts{
	width: 45%;
	margin-top: -12vw;
}

/* edo */
.p-ev-edo{
	position: relative;
	padding: 0 0 12vw;
}
.p-ev-edo__image{
	img{
		display: block;
		width: 100%;
		max-width: 100%;
		height: auto;
	}
}
.p-ev-edo__title-area{
	position: relative;
}
.p-ev-edo__title{
	position: absolute;
	top: -1vw;
	left: 50%;
	transform: translateY(0%) translateX(-50%);
	width: 6.6145833vw;
	max-width: 127px;
	img{
		display: block;
		width: 100%;
		max-width: 100%;
		height: auto;
	}
}
.p-ev-edo__car{
	position: absolute;
	bottom: 1vw;
	right: 19vw;
	display: block;
	max-width: 486px;
	width: 25.3125vw;
	img{
		display: block;
		width: 100%;
		height: 100%;
		border: none;
	}
}
.p-ev-edo__content{
	display: flex;
	align-items: flex-end;
	gap: 20px;
}
.p-ev-edo__texts{
	position: relative;
	margin-top: -13.6vw;
}

/* meiji */
.p-ev-meiji{
	position: relative;
	padding: 7vw 0 12vw;
}
.p-ev-meiji__image{
	width: 95%;
	margin-left: auto;
	img{
		display: block;
		width: 100%;
		max-width: 100%;
		height: auto;
	}
}
.p-ev-meiji__inner{
	position: relative;
	margin-top: -20vw;
}
.p-ev-meiji__title-area{
	position: relative;
}
.p-ev-meiji__title{
	position: absolute;
	top: 4.8vw;
	left: 50%;
	transform: translateY(-50%) translateX(-50%);
	max-width: 300px;
	width: 15.625vw;
	img{
		display: block;
		width: 100%;
		max-width: 100%;
		height: auto;
	}
}
.p-ev-meiji__text-area{
	display: flex;
	justify-content: center;
	align-items: flex-end;
	gap: min(4.166667vw, 80px);
}
.p-ev-meiji__car{
	display: block;
	max-width: 504px;
	width: 26.25vw;
	img{
		display: block;
		width: 100%;
		max-width: 100%;
		height: auto;
	}
}
.p-ev-meiji__content{
	display: flex;
	gap: min(2.6041667vw, 50px);
	margin-top: min(3.3333vw, 64px);
	.p-ev-meiji__texts{
		margin-top: 0;
	}
}


/* heisei */
.p-ev-heisei{
	position: relative;
	background: #00163c;
	padding: 0 0 12vw;
	color: #fff;
}
.p-ev-heisei__inner{
	position: relative;
	margin-top: -7vw;
}
.p-ev-heisei__image{
	img{
		display: block;
		width: 100%;
		max-width: 100%;
		height: auto;
	}
}
.p-ev-heisei__title-area{
	position: relative;
}
.p-ev-heisei__title{
	position: absolute;
	top: 6vw;
	left: 54%;
	transform: translateY(0) translateX(-50%);
	width: 250px;
	max-width: 13.0208333vw;
	min-width: 190px;
}
.p-ev-heisei__text-area{
	position: relative;
	display: flex;
	justify-content: space-evenly;
	align-items: flex-start;
}
.p-ev-heisei__text-parts{
	position: absolute;
	top: -4.6vw;
	/* .p-ev-inner(最大1200px)ではなく画面幅基準で置く。50%=画面中央、そこから左へ9.3vw → 画面の左から約41% */
	left: calc(50% - 9.3vw);
	font-size: clamp(12.5px, 0.9375vw, 18px);
	font-weight: 600;
	line-height: 2.0;
}
.p-ev-heisei__car{
	display: block;
	max-width: 495px;
	width: 50vw;
	img{
		display: block;
		width: 100%;
		max-width: 100%;
		height: auto;
	}
}
.p-ev-heisei__content{
	display: flex;
	justify-content: space-evenly;
	gap: min(1.0416666vw, 20px);
	.p-ev-heisei__texts{
		margin-top: 0;
	}
}
.p-ev-heisei__content{
	.p-ev__movie{
		border-color: #fff;
		.p-ev__image-comming{
			&::before {
				content: '';
				background: #8b7436;
			}
		}
	}
}


/* reserve */
.p-ev-reserve{
	padding: 5vw 0 5vw;
	background: #eaeaea;
}
.p-ev-reserve__title{
	padding: 10px;
	text-align: center;
	background: var(--c_bk);
	font-size: clamp(20px,1.3541667vw,26px);
	color: #fff;
}
.p-ev-reserve__content{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin-top: 25px;
}
.p-ev-reserve__item{
	display: flex;
	flex-direction: column;
	transition: opacity .3s;
	&:hover{
		opacity: .7;
	}
}
.p-ev-reserve__image{
	img{
		display: block;
		width: 100%;
		max-width: 100%;
		height: auto;
	}
}
.p-ev-reserve__logo-area{
	flex: 1; /* 同じ行で一番高いロゴに高さをそろえる */
	display: flex;
	align-items: center;
	background: var(--c_bk);
	padding: 20px;
}
.p-ev-reserve__logo{
	width: 100%;
	margin: 0 auto;
	img{
		display: block;
		width: 100%;
		max-width: 100%;
		height: auto;
	}
}


/* link */
.p-ev-link{
	padding: 3.8vw 0 0;
	text-align: center;
}

.p-ev-link__link{
	display: inline-block;
}
.p-ev-link__image{
	max-width: 900px;
	width: 46.875vw;
	margin: 0 auto;
	img{
		display: block;
		width: 100%;
		max-width: 100%;
		height: auto;
	}
}




/* PC: AIのpx値で指定（1200px以上はAIどおりの大きさ、1200px以下は画面幅に比例して縮小）
   値は calc(AIのpx数値 * var(--px)) で書く。
   ※背景画像・背景に合わせて置いている要素（各時代の背景/タイトル/車の位置、セクションの上下余白など）は
     背景と一緒に縮小させるため、ここには含めず従来の vw 指定のまま
   ※このブロックを丸ごと削除すれば従来の表示に戻る
---------------------------------------------------------*/
@media screen and (min-width: 768px) {
	:root{
		--px: min(1px, 100vw / 1200); /* 1200px以上は1px、1200px以下は画面幅に比例 */
	}

	/* 共通テキスト */
	.p-ev__texts{
		gap: calc(60 * var(--px));
		font-size: calc(18 * var(--px));
	}
	/* 戦国・江戸は背景に重ねるためのマイナスmarginがあるので除外（:whereで詳細度を上げない） */
	.p-ev__texts:where(:not(.p-ev-sengoku__texts, .p-ev-edo__texts)){
		margin-top: calc(40 * var(--px));
	}

	/* 各時代の紹介カード */
	.p-ev-contents{
		gap: calc(35 * var(--px));
		margin-top: calc(100 * var(--px));
	}
	.p-ev-content{
		gap: calc(32 * var(--px));
		padding: calc(40 * var(--px));
	}
	.p-ev-content__first-title{
		gap: calc(40 * var(--px));
		&.--02{
			gap: calc(35 * var(--px));
			.p-ev-content__first-title-image{
				max-width: none;
				width: calc(450 * var(--px));
			}
		}
	}
	.p-ev-content__first-title-image{
		max-width: none;
		width: calc(250 * var(--px));
	}
	.p-ev-content__first-title-text{
		padding: calc(5 * var(--px)) calc(16 * var(--px)) calc(3 * var(--px));
		font-size: calc(20 * var(--px));
	}
	.p-ev-content__first-catch{
		margin-top: calc(25 * var(--px));
		font-size: calc(18 * var(--px));
	}
	.p-ev-content__first-text{
		margin-top: calc(10 * var(--px));
		font-size: calc(16 * var(--px));
	}
	.p-ev-content__button{
		margin-top: calc(20 * var(--px));
	}
	.p-ev-content__button-link{
		gap: calc(70 * var(--px));
		padding: calc(12 * var(--px)) calc(20 * var(--px)) calc(10 * var(--px));
		font-size: calc(15 * var(--px));
	}
	.p-ev-content__image{
		max-width: none;
		min-width: 0;
		width: calc(315 * var(--px));
	}
	.p-ev-content__title{
		gap: calc(20 * var(--px));
	}
	.p-ev-content__title-spot{
		padding: calc(5 * var(--px)) calc(10 * var(--px)) calc(1 * var(--px));
		font-size: calc(20 * var(--px));
	}
	.p-ev-content__title-text{
		font-size: calc(25 * var(--px));
	}
	.p-ev-content__text{
		margin-top: calc(30 * var(--px));
		padding-top: calc(30 * var(--px));
	}
	.p-ev__movie{
		margin-top: calc(30 * var(--px));
		&.--comming{
			max-width: none;
			width: calc(780 * var(--px));
		}
	}
	.p-ev__image-comming{
		&::before {
			max-width: none;
			width: calc(78 * var(--px));
		}
	}

	/* about */
	.p-ev-about__content{
		max-width: calc(900 * var(--px));
	}
	.p-ev-about__text-image{
		max-width: none;
		width: calc(220 * var(--px));
	}
	.p-ev-about__catch{
		margin-top: calc(56 * var(--px));
		font-size: calc(30 * var(--px));
		letter-spacing: calc(2 * var(--px));
	}
	.p-ev-about{
		.p-ev__texts{
			gap: calc(30 * var(--px));
		}
	}
	.p-ev-about__texts.p-ev__texts{
		font-size: calc(18 * var(--px));
	}

	/* trailer */
	.p-ev-trailer__logo{
		max-width: none;
		width: calc(330 * var(--px));
	}
	.p-ev-trailer__logo-text{
		margin-top: calc(30 * var(--px));
		font-size: calc(20 * var(--px));
	}
	.p-ev-trailer__movie-text{
		max-width: none;
		min-width: 0;
		width: calc(290 * var(--px));
		margin-top: calc(80 * var(--px));
	}
	.p-ev-trailer__movie{
		max-width: calc(780 * var(--px));
		margin-top: calc(40 * var(--px));
	}
	.p-ev-trailer__contents{
		margin-top: calc(30 * var(--px));
		gap: calc(85 * var(--px));
	}
	.p-ev-trailer__number-date{
		gap: calc(5 * var(--px));
	}
	.p-ev-trailer__number-date-text{
		font-size: calc(32 * var(--px));
		&.--small{
			font-size: calc(18 * var(--px));
		}
		&.--middle{
			font-size: calc(18 * var(--px));
			padding-left: calc(4 * var(--px));
		}
	}
	.p-ev-trailer__content-image-title{
		padding-top: calc(70 * var(--px));
	}
	.p-ev-trailer__content-image-title-image{
		max-width: none;
		width: calc(27 * var(--px));
	}
	.p-ev-trailer__content-image-text{
		max-width: none;
		min-width: 0;
		width: calc(23 * var(--px));
	}

	/* meiji */
	.p-ev-meiji__text-area{
		gap: calc(80 * var(--px));
	}
	.p-ev-meiji__car{
		max-width: none;
		width: calc(504 * var(--px));
	}
	.p-ev-meiji__content{
		gap: calc(50 * var(--px));
		margin-top: calc(64 * var(--px));
	}

	/* heisei */
	.p-ev-heisei__text-parts{
		font-size: calc(18 * var(--px));
	}
	.p-ev-heisei__car{
		max-width: none;
		width: calc(495 * var(--px));
	}
	.p-ev-heisei__content{
		gap: calc(20 * var(--px));
	}

	/* reserve */
	.p-ev-reserve__title{
		padding: calc(10 * var(--px));
		font-size: calc(26 * var(--px));
	}
	.p-ev-reserve__content{
		gap: calc(16 * var(--px));
		margin-top: calc(25 * var(--px));
	}
	.p-ev-reserve__logo-area{
		padding: calc(20 * var(--px));
	}

	/* link */
	.p-ev-link__image{
		max-width: none;
		width: calc(900 * var(--px));
	}
}


/* PC: 各時代の背景画像もMVと同じ動きにする
   __title-area（背景画像＋タイトル＋車）を「1920pxのデザインを縮小した板」として扱い、
   幅 = MVと同じルール（表示幅 ～1200px: 比例して縮小 / 1200～1637px: 1637px固定で左右を切り取る / 1637px～: 幅100%）
   板の中は vw の代わりに cqw（板の幅の1%）で指定 → 背景とタイトル・車の位置関係が崩れない
   板の外で背景に重ねている要素（本文のマイナスmarginなど）は --a（板の幅の1%）で指定
   ※このブロックを丸ごと削除すれば従来の表示に戻る
---------------------------------------------------------*/
@media screen and (min-width: 768px) {
	.p-ev-sengoku,
	.p-ev-edo,
	.p-ev-meiji,
	.p-ev-heisei{
		container-type: inline-size;
		--a: calc(max(100cqw, min(1637px, 100cqw * 1637 / 1200)) / 100);
	}
	.p-ev-sengoku__title-area,
	.p-ev-edo__title-area,
	.p-ev-meiji__title-area,
	.p-ev-heisei__title-area{
		container-type: inline-size;
		width: calc(var(--a) * 100);
		margin-left: calc(50% - var(--a) * 50); /* 中央寄せ（はみ出した左右は #ev_journey の overflow: clip で切れる） */
	}

	/* sengoku */
	.p-ev-sengoku__title-area{
		&::before {
			top: 2cqw;
		}
	}
	.p-ev-sengoku__image{
		width: 80%;
	}
	.p-ev-sengoku__car{
		bottom: -8.3cqw;
		left: 3cqw;
		max-width: none;
		width: 22.8125cqw;
	}
	.p-ev-sengoku__texts{
		margin-top: calc(-12 * var(--a));
	}

	/* edo */
	.p-ev-edo__title{
		top: -1cqw;
		max-width: none;
		width: 6.6145833cqw;
	}
	.p-ev-edo__car{
		bottom: 1cqw;
		right: 19cqw;
		max-width: none;
		width: 25.3125cqw;
	}
	.p-ev-edo__texts{
		margin-top: calc(-13.6 * var(--a));
	}

	/* meiji */
	.p-ev-meiji__title{
		top: 4.8cqw;
		max-width: none;
		width: 15.625cqw;
	}
	.p-ev-meiji__inner{
		margin-top: calc(-20 * var(--a));
	}

	/* heisei */
	.p-ev-heisei__title{
		top: 6cqw;
		max-width: none;
		min-width: 0;
		width: 13.0208333cqw;
	}
	.p-ev-heisei__inner{
		margin-top: calc(-7 * var(--a));
	}
	.p-ev-heisei__text-parts{
		top: calc(-4.6 * var(--a));
		left: calc(50% - 9.3 * var(--a));
	}
}



/*sp
---------------------------------------------------------*/

@media screen and (max-width: 767px) {
	.p-ev-inner{

	}
	/* mv: SPはSP用画像をそのままの比率で表示（従来どおり） */
	.p-ev-mv__image{
		img{
			height: auto;
		}
		&::before {
			bottom: -11vw;
			right: 0;
			width: 40.885416vw;
		}
	}
	.p-ev-about__text-image{
		width: 30%;
		max-width: 150px;
	}	
	.p-ev-bg{
		--about-bg-w: 641;
		--about-bg-h: 881;
	}
	.p-ev-trailer{
		&::after {
			/* PCと同じく中身の下端(SPのpadding-bottom 28vwの上)まで伸ばす */
			bottom: 28vw;
			min-height: calc(100cqw * 3008 / 960); /* 画像本来の高さより短くはしない */
			/* 上100px(カーブ部分)は元の比率のまま。10.417cqw = 100 / 960 * 100 */
			border-image-source: url(../img/trailer_bak_img02-sp.png);
			border-image-slice: 100 0 0 0 fill;
			border-image-width: 10.417cqw 0 0 0;
		}
	}
	.p-ev__texts{
		margin-top: 12px;
	}
	.p-ev__text{
		line-height: 1.7;
	}
	.p-ev__movie{
		margin-top: 0;
		&.--comming{
			width: 100%;
		}
	}
	.p-ev__image-comming{
		&::before {
			content: '';
			width: 15vw;
		}
	}
	
	.p-ev-contents{
		margin-top: 50px;
	}
	.p-ev-content{
		flex-direction: column-reverse;
		width: 100%;
		padding: 24px;
		gap: 20px;
	}
	.p-ev-content__first-title-image{
		width: 60%;
	}
	.p-ev-content__first-title-text{
		font-size: 12px;
		padding: 2px 7px 0px;
	}
	.p-ev-content__image{
		width: 100%;
		min-width: 0;
		margin: 0 auto;
	}
	.p-ev-content__first-catch{
		margin-top: 15px;
	}
	.p-ev-content__first-title{
		gap: 20px;
		margin-top: 0px;
		&.--02{
			gap: 20px;
			.p-ev-content__first-title-image{
				max-width: none;
				width: 60%;
			}
		}
	}
	.p-ev-content__text{
    margin-top: 15px;
    padding-top: 15px;
	}

	.p-ev__movie{
		margin-top: 30px;
	}	



	/* about */
	.p-ev-about{
		/* SP画像は縦長なので、画像の高さを最低値にすると幅が広いとき(～767px)に文章の下が大きく空く。
		   高さは「文章＋下の余白」で決め、余った空の上側はcover(下揃え)で切れるようにする。
		   下の余白 = 人と車の画像の高さ(幅×322/571) − aboutからはみ出す分(5cqw) ＋ 文章との間隔12px
		   → 人物の頭が文章にかぶらない */
		min-height: 0;
		padding-bottom: calc(min(67.5cqw, 280px) * 0.564 - 5cqw + 12px);
		&::before {
			background-image: url(../img/about_bak_img01-sp.jpg);
		}
		/* SPは調整済みの段落間隔を維持 */
		.p-ev__texts{
			gap: min(5.3333vw,20px);
		}
	}
	.p-ev-about__content{
		width: 90%;
	}
	.p-ev-about__content-image{
		bottom: -5cqw;
		right: 0;
		width: 67.5%; /* 旧: 文章幅(90%)の75% */
		max-width: 280px; /* 414px幅までは67.5%のまま。それ以上で大きくなりすぎて文章に重ならないように */
	}
	.p-ev-about__catch{
		margin-top: 24px;
		font-size: 18px;
	}

	/* TRAILER */
	.p-ev-trailer{
		/* 上: 車がaboutからはみ出す分(5cqw)＋車の下〜ロゴの間隔86px（375px幅で従来の28vwと同じ） */
		padding: calc(5cqw + 86px) 0 28vw;
	}
	.p-ev-trailer__logo{
		width: 50%;
	}
	.p-ev-trailer__logo-text{
		text-align: left;
	}
	.p-ev-trailer__movie-text{
		width: 60%;
		margin: 60px auto 0;
		min-width: 0;
	}
	.p-ev-trailer__contents{
		grid-template-columns: repeat(2, 1fr);
		gap: 40px;
	}
	.p-ev-trailer__content{
		&:nth-of-type(3){
			margin-top: 0;
		}
		&:nth-of-type(4){
			margin-top: 35%;
		}
	}
	.p-ev-trailer__number-date-text{
		&.--middle{
			padding-left: 3px;
		}
	}
	.p-ev-trailer__content-car{
		width: 85%;
		right: -7.3cqw;
	}
	.p-ev-trailer__content-image-title-image{
		max-width: 18px;
	}
	.p-ev-trailer__content-image-text{
		width: 10%;
		min-width: 0;
	}
	.p-ev-trailer__content-image-title-image{
		width: 100%;
	}

	/* sengoku */
	.p-ev-sengoku__image{
		width: 100%;
	}
	.p-ev-sengoku__title-area{
		&::before {
			top: auto;
			bottom: -100vw;
			aspect-ratio: 0;
			height: 100%;
			background: url(../img/era01_decoration-sp.png) no-repeat center center/100% auto;
		}
	}
	.p-ev-sengoku__title{
		width: 50%;
		top: 37%;
	}
	.p-ev-sengoku__car{
		display: none;
		&.--sp{
			position: static;
			display: block;
			width: 80%;
			margin: -15% auto 0;
		}
	}
	.p-ev-sengoku__content{
		display: block;
	}
	.p-ev-sengoku__texts{
		width: 100%;
		margin-top: 24px;
	}

	/* edo */
	.p-ev-edo__title{
		top: -3vw;
		width: 16%;
	}
	.p-ev-edo__car{
		position: static;
		width: 80%;
		margin: -40% auto 0;
	}
	.p-ev-edo__content{
		display: block;
		margin-top: 15px;
	}


	/* meiji */
	.p-ev-meiji{
		padding: 64vw 0 12vw;
	}
	.p-ev-meiji__inner{
		margin-top: 0;
	}
	.p-ev-meiji__image{
		width: 100%;
	}
	.p-ev-meiji__title{
    top: -20vw;
    left: 50%;
		width: 50%;
	}
	.p-ev-meiji__text-area{
		display: block;
	}
	.p-ev-meiji__car{
		width: 85%;
		margin: 20px auto 0;
	}
	.p-ev-meiji__texts{
		margin-top: 20px;
	}
	.p-ev-meiji__content{
		flex-direction: column-reverse;
		.p-ev-meiji__texts{
			margin-top: 0px;
		}
	}


	/* heisei */
	.p-ev-heisei{
		padding: 25vw 0 10vw;
	}
	.p-ev-heisei__inner{
		margin-top: -22vw;
	}
	.p-ev-heisei__title{
		top: -10vw;
	}
	.p-ev-heisei__text-area{
		flex-direction: column-reverse;
	}
	.p-ev-heisei__text-parts{
		position: static;	
		font-size: 12.5px;
		line-height: 1.7;
		font-feature-settings: "palt";
		margin-top: 30px;
	}
	.p-ev-heisei__content{
		display: block;
		margin-top: 12px;
	}
	.p-ev-heisei__car{
		width: 85%;
		margin: 0 auto;
	}


	/* reserve */
	.p-ev-reserve__content{
		grid-template-columns: repeat(2, 1fr);
	}
	.p-ev-reserve__logo-area{
		padding: 15px;
	}


	/* link */
	.p-ev-link__image{
		padding: 5vw 0 0;
		width: 100%;
	}




}


