/* Y'S GEAR : /mc/custom/sr400_early/css/sr400_early.css */


body {
	/* overflow-x: hidden; */
	margin: 0 auto !important;
}

.contentsWidth {
	background: url(../img/bg_grain.jpg) center top / 100% auto repeat-y #000;
	color: #fff;
	font-size: 1.6rem;
	font-weight: 500;
}
.contentsWidth * { box-sizing: border-box; }
.contentsWidth a,
.contentsWidth a::before,
.contentsWidth a::after {
	color: #fff;
	transition: all 0.3s ease;
}
.contentsWidth a img { transition: all 0.3s ease; }

.contentsWidth figure img { width: 100%; }

.contentsWidth p span { display: inline-block; }

@media screen and (max-width: 980px) {
	.contentsWidth {
		padding: 0 !important;
	}
} /* */

@media screen and (min-width: 569px) {
	.contentsWidth .sp { display: none; }
} /* */

@media screen and (max-width: 568px) {
	.contentsWidth {
		background-size: 850px auto;
		font-size: 1.4rem;
	}
	.contentsWidth .pc { display: none; }
} /* */


/*======================================================================*
 *  [ Common ] 
 *======================================================================*/

.contentsWidth h2 {
	margin-bottom: 50px;
	text-align: center;
}

@media screen and (max-width: 568px) {
	.contentsWidth h2 {
		margin-bottom: 40px;
	}
} /* */


/* [ ボタン ] */
.contentsWidth .btn_large, 
.contentsWidth .btn_small {
	display: block;
	width: fit-content;
	margin: 0 auto;
	border: 2px solid #B88B50;
	background: #2C2723;
}
.contentsWidth .btn_large {
	border-radius: 31px;
}
.contentsWidth .btn_small {
	border-radius: 19px;
}
.contentsWidth .btn_large:hover,
.contentsWidth .btn_large:active, 
.contentsWidth .btn_small:hover, 
.contentsWidth .btn_small:active {
	border-color: #B88B50 !important;
	background: rgba(184,139,80,0.5);
}
.contentsWidth .btn_large:hover img,
.contentsWidth .btn_large:active img, 
.contentsWidth .btn_small:hover img, 
.contentsWidth .btn_small:active img {
	opacity: 1;
}

@media screen and (max-width: 568px) {
	.contentsWidth .btn_large img {
		height: 46px;
	}
} /* */


/*======================================================================*
 *  [ Nav ] 
 *======================================================================*/

.navBtn {
	position: fixed;
	top: 10px;
	right: max(20px, calc((100% - 980px) / 2 + 20px));
	z-index: 199;
	opacity: 0;
	visibility: hidden;
	cursor: pointer;
}
body.scroll .navBtn {
	opacity: 1;
	visibility: visible;
}
.navBtn:hover img,
.navBtn:active img {
	opacity: 1;
	filter: grayscale(100%);
}

@media screen and (max-width: 568px) {
	.navBtn {
		right: 10px;
	}
} /* */

/* [ メニュー ] */
.navMenu {
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
	top: 100%;
	right: 0;
	bottom: -100%;
	left: 0;
	background: url(../img/nav_bg.jpg) left 65% center / min(60%, 600px) auto no-repeat #000;
	z-index: 200;
	transition: 0.3s ease all;
}
body.open .navMenu {
	top: 0;
	bottom: 0;
}
.navMenu nav {
	width: 100%;
	max-width: 980px;
	padding: 40px;
}

.navMenu .menu {
	display: flex;
	flex-wrap: wrap;
	margin: 30px 0;
	border-top: 1px solid #B88B50;
	border-left: 1px solid #B88B50;
	background: #000;
	font-weight: bold;
	text-align: center;
}
.navMenu .menu a {
	display: block;
	width: 50%;
	padding: 20px;
	border-right: 1px solid #B88B50;
	border-bottom: 1px solid #B88B50;
	background: #000;
}
.navMenu .menu a:hover, 
.navMenu .menu a:active {
	border-right-color: #B88B50 !important;
	border-bottom-color: #B88B50 !important;
}

@media screen and (max-width: 568px) {
	.navMenu {
		background-position: bottom -50% center;
		background-size: min(90%, 600px) auto;
	}
	.navMenu nav > img {
		width: 150px;
	}
	.navMenu .menu {
		display: block;
	}
	.navMenu .menu a {
		width: 100%;
		padding: 15px 20px;
	}
	.navMenu .menu a:nth-child(even) {
		margin-left: 0;
	}
	.navMenu .menu a:nth-child(1) ~ a {
		margin-top: 1px;
	}
} /* */

.navMenu .close {
	display: block;
	width: fit-content;
	margin: 0 auto;
	cursor: pointer;
}

/*======================================================================*
 *  [ Main ] 
 *======================================================================*/

/* [ テキスト ] */
.mainText {
	position: relative;
	padding: 100px 40px;
	text-align: center;
	background: url(../img/main_bg_pc.jpg) center bottom / 100% auto no-repeat #333;
}
.mainText::before {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	width: 100%;
	height: 100px;
	background: linear-gradient(to bottom,  rgba(0,0,0,1) 0%,rgba(0,0,0,0) 100%);
	content: "";
}
.mainText p {
	font-size: 2rem;
	line-height: 2;
}
.mainText p + p {
	margin-top: 2em;
	text-align: center;
}

@media screen and (max-width: 568px) {
	.mainText {
		padding: 40px 20px 30px;
		background: url(../img/main_bg_sp.jpg) center bottom / 100% auto no-repeat #333;
	}
	.mainText::before {
		height: 20px;
	}
	.mainText p {
		font-size: 1.8rem;
	}
	.mainText p + p {
		font-size: 1.6rem;
	}
} /* */


/*======================================================================*
 *  [ 外装セット ] 
 *======================================================================*/

.setBox {
	padding: 100px 40px 50px;
}

@media screen and (max-width: 568px) {
	.setBox {
		padding: 0 20px 50px;
	}
} /* */

/* [ 画像 ] */
.setBox .image {
	margin: 0 0 50px;
	background: rgba(51,51,51,0.8);
}
.setBox .image > div {
	display: flex;
	align-items: center;
	text-align: center;
}
.setBox .image > div + div {
	margin-top: -7.5%;
}
.setBox .image > div:nth-child(odd) {
	flex-direction: row-reverse;
}
.setBox .image > div > * {
	width: 50%;
}
.setBox .image > div:nth-child(1) p {
	padding-bottom: 7.5%;
}
.setBox .image > div:nth-child(3) p {
	padding-top: 7.5%;
}
.setBox .image p img {
	width: 90%;
	height: 33px;
	object-fit: contain;
}

@media screen and (max-width: 568px) {
	.setBox .image {
		margin: 40px 0;
	}
	.setBox .image > div + div {
		margin-top: 0;
	}
	.setBox .image figure {
		width: 62.5%;
	}
	.setBox .image p {
		width: 37.5%;
		padding: 0 !important;
	}
	.setBox .image p img {
		width: 80%;
		max-width: 130px;
		height: auto;
	}
} /* */

/* [ 詳細 ] */
.setBox .detail {
	display: flex;
	align-items: center;
	margin-bottom: 50px;
}
.setBox .detail > * {
	width: 50%;
}
.setBox .detail figure img {
	aspect-ratio: 4/3;
	object-fit: cover;
}
.setBox .detail div {
	padding-left: 20px;
}
.setBox .detail h2 {
	margin-bottom: 20px;
	font-size: 2.6rem;
	font-family: "Noto Serif JP", serif;
	font-weight: 700;
	text-align: left;
}
.setBox .detail h2 span {
	display: inline-block;
}
.setBox .detail ul {
	margin-left: 2em;
}
.setBox .detail li {
	list-style: disc;
}
.setBox .detail li + li {
	margin-top: 0.5em;
}
.setBox .detail li span {
	display: inline-block;
	font-size: calc(1em - 0.2rem);
}

@media screen and (max-width: 768px) {
	.setBox .detail {
		display: block;
	}
	.setBox .detail > * {
		width: 100%;
	}
	.setBox .detail div {
		padding-left: 0;
	}
	.setBox .detail figure {
		margin-bottom: 20px;
	}
	.setBox .detail figure img {
		aspect-ratio: 3/2;
	}
} /* */

@media screen and (max-width: 568px) {
	.setBox .detail {
		margin-bottom: 30px;
	}
} /* */


/*======================================================================*
 *  [ その他 ] 
 *======================================================================*/

.otherBox {
	position: relative;
	padding: 50px 40px 100px;
}
.otherBox::before {
	position: absolute;
	top: 0;
	right: 40px;
	left: 40px;
	height: 1px;
	background: #fff;
	content: "";
}
.otherBox h2 + p {
	font-weight: bold;
	text-align: center;
	line-height: 1.8;
}

@media screen and (max-width: 568px) {
	.otherBox {
		padding: 50px 20px;
	}
	.otherBox::before {
		right: 20px;
		left: 20px;
	}
	.otherBox h2 + p {
		font-size: 1.6rem;
	}
} /* */

/* [ アイテム ] */
.otherBox .item {
	display: flex;
	flex-direction: row-reverse;
	margin: 50px 0;
	font-size: 1.4rem;
}
.otherBox .item > * {
	width: 50%;
}
.otherBox .item ul {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	padding: 0 25px;
	background: rgba(51,51,51,0.8);
	text-align: center;
}
.otherBox .item li {
	width: 100%;
	padding: 20px 0;
}
.otherBox .item li + li {
	border-top: 1px solid rgba(255,255,255,0.3);
}
.otherBox .item h3 {
	margin-bottom: 10px;
	color: #B88B50;
	font-size: 2rem;
	font-family: "Noto Serif JP", serif;
	font-weight: 500;
}
.otherBox .item p {
	margin-bottom: 20px;
}
.otherBox .item p + span {
	display: block;
	padding: 10px;
	background: rgba(255,255,255,0.2);
	line-height: 2;
}
.otherBox .item figure, 
.otherBox .item figure a {
	display: flex;
}
.otherBox .item figure img {
	aspect-ratio: 3/2;
	object-fit: cover;
}

@media screen and (max-width: 768px) {
	.otherBox .item {
		display: block;
	}
	.otherBox .item > * {
		width: 100%;
	}
	.otherBox .item figure img {
		aspect-ratio: 16/9;
	}
} /* */

@media screen and (max-width: 568px) {
	.otherBox .item {
		margin: 30px 0;
	}
	.otherBox .item ul {
		padding: 0 20px;
	}
	.otherBox .item li {
		padding: 20px 0;
	}
} /* */

/* [ 車両ページへのリンク ] */
.otherBox .bnr a {
	display: block;
}


/*======================================================================*
 *  [ HISTORY ] 
 *======================================================================*/

.historyBox {
	position: relative;
	padding: 100px 40px;
	background: url(../img/history_logo.svg) left 115px / 75% auto no-repeat #2C2723;
}
.historyBox::before {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	width: 100%;
	height: 120px;
	background: linear-gradient(to bottom, rgba(23,23,23,1) 0%,rgba(23,23,23,0) 100%);
	content: "";
}
.historyBox h2 {
	position: relative;
	z-index: 1;
}
.historyBox p {
	margin: 20px 0;
	line-height: 2;
}
.historyBox h2 + p {
	margin-bottom: 100px;
	font-weight: bold;
	text-align: center;
}

@media screen and (max-width: 568px) {
	.historyBox {
		padding: 50px 20px;
		background-size: 100% auto;
	}
	.historyBox h2 + p {
		margin: 50px 0;
		font-size: 1.6rem;
	}
} /* */

.historyBox section {
	margin: 50px 0;
}
.historyBox section + section {
	padding-top: 50px;
	border-top: 1px solid rgba(255,255,255,0.5);
}
.historyBox h3 {
	position: relative;
	width: fit-content;
	margin: 0 auto 30px;
	padding: 0 45px;
	font-size: 2.6rem;
	font-family: "Noto Serif JP", serif;
	font-weight: 700;
	text-align: center;
}
.historyBox h3::before, 
.historyBox h3::after {
	position: absolute;
	top: 0.8em;
	width: 30px;
	height: 1px;
	background: #fff;
	content: "";
}
.historyBox h3::before {
	left: 0;
}
.historyBox h3::after {
	right: 0;
}
.historyBox h3 span {
	display: inline-block;
}

@media screen and (max-width: 568px) {
	.historyBox h3 {
		padding: 0 35px;
		font-size: 2.4rem;
	}
	.historyBox h3::before, 
	.historyBox h3::after {
		width: 20px;
	}
} /* */

/* [ 原点 ] */
.historyBox .origin {
	margin-bottom: 0;
}
.historyBox .origin + section {
	margin-top: 0;
}
.historyBox .origin div {
	position: relative;
	min-height: 410px;
	margin: 0;
	padding: 0 50% 30px 0;
}
.historyBox .origin div::after {
	position: absolute;
	right: -40px;
	bottom: 0;
	left: -40px;
	height: 410px;
	background: url(../img/history_engine.jpg) right top / 980px auto no-repeat;
	z-index: 0;
	z-index: 0;
	content: "";
}
.historyBox .origin div p {
	position: relative;
	z-index: 1;
}

@media screen and (max-width: 568px) {
	.historyBox .origin div {
		padding: 0 0 75% 0;
	}
	.historyBox .origin div::after {
		right: -20px;
		left: -20px;
		height: auto;
		background-size: 210% auto;
		background-position: right -20px top;
		aspect-ratio: 10/8.5;
	}
} /* */


/* [ 画像2カラム ] */
.historyBox .images {
	display: flex;
	justify-content: space-between;
}
.historyBox .images figure {
	width: calc(50% - 10px);
}

@media screen and (max-width: 568px) {
	.historyBox .images {
		display: block;
	}
	.historyBox .images figure {
		width: 100%;
	}
	.historyBox .images figure + figure {
		margin-top: 15px;
	}
} /* */


/*======================================================================*
 *  [ Movie ] 
 *======================================================================*/

.movieBox {
	padding: 100px 40px;
	background: url(../img/bg_grain.jpg) center top / 100% auto repeat-y #000;
}

@media screen and (max-width: 568px) {
	.movieBox {
		padding: 50px 20px;
	}
} /* */

/* [ Youtube モーダルリンク ] */
.movieBox .youtube {
	display: flex;
}
.movieBox .youtube > * {
	width: 50%;
}
.movieBox .youtube > figure img {
	aspect-ratio: 16/9;
	object-fit: cover;
}
.movieBox .youtube > div {
	padding-left: 20px;
}
.movieBox .youtube > div b {
	font-size: 2rem;
	font-family: "Noto Serif JP", serif;
	font-weight: 500;
}
.movieBox .youtube > div b span {
	display: inline-block;
}
.movieBox .youtube > div p {
	margin-top: 20px;
	line-height: 1.8;
}

@media screen and (max-width: 768px) {
	.movieBox .youtube {
		display: block;
	}
	.movieBox .youtube > * {
		width: 100%;
	}
	.movieBox .youtube > figure {
		margin-bottom: 20px;
	}
	.movieBox .youtube > div {
		padding-left: 0;
	}
} /* */