
/*----	simulation.html ＆ simulation2.htmlのスタイル ----*/
/*----	画面上側	----*/
#mv {
/*
	width: 100%;
	height: 0;
	padding-top: 43.88888888888889%;
*/
	position: relative;
}
#mv.dynamic {
	background: url(../images/simulation_mv_dynamic.jpg) no-repeat top center; 
	background-size: auto 100%;
}
#mv.solid {
	background: url(../images/simulation_mv_solid.jpg) no-repeat top center; 
	background-size: auto 100%;
}

#mv #pageScroll {
	position: absolute;
	right: 0;
	bottom: 5.8%;
	left: 0;
	margin: auto;
/*	width: 3.611111111111111%; */
	width: 7vh; 
	max-width: 65px;
	cursor: pointer;
}
#mv #pageScroll img {
	width: 100%;
}


/*----	画面下側	----*/
#simulation {
	background-position:top center;
	background-repeat:no-repeat;
	padding-top: 1%;
}
#simulation.dynamic {
	background-image:url(../images/simulation_bg_dynamic.jpg);
	background-size:100%;
	background-color: #000;
	border-top: 2px solid #292929;
}
#simulation.solid {
	background-image:url(../images/simulation_bg_solid.jpg);
	background-size: cover;
	background-position: 100% center;
	background-color: #fff;
	padding-bottom: 5%;
	border-top: 1px solid #ffffff;
}


/*	車種選択ナビゲーション	*/
#typeNav {
	margin-bottom: 2vw;
}
#typeNavWrapper {
	position: relative;
	width: 30.81481481481481%;
/*	max-width: 416px;*/
	margin-left: 7.185185185185185%;
  display:flex;	
}
#typeNavWrapper::before{
	content: "";
	width: 100%;
	height: 1px;
	background: #909091;
	position: absolute;
	bottom: 0;
	left: -100%;
}
#typeNavWrapper div:first-child {
	margin-right: auto;
}
#typeNavWrapper div:first-child {
	width: 38.22115384615385%;
	max-width: 159px;
}
#typeNavWrapper div:last-child {
	width: 52.88461538461538%;
	max-width: 220px;
}
#typeNavWrapper div a {
	display: block;
	opacity: 0.49;
	transition: 0.3s;
}
#typeNavWrapper div a:hover {
	opacity: 1;
	transition: 0.3s;
}
#typeNavWrapper div img {
	width: 100%;
}

/*	車種タイトル	*/
#typeTitle {
	position: absolute;
	top: 2.3vw;
	right: 7.259259259259259%;
	width: 30.37037037037037%;
	z-index: 1;
}
#typeTitle img {
	width: 100%;
}

/*	金額	*/
#main #txtParts{
	width: 35%;
	position:absolute;
	bottom: 28%;
	left: 2%;
	z-index:10;
}
#main #txtParts p {
	line-height:1.2;
	margin:0;
}
#main #txtParts.dynamic p {
	color:#fff;
	text-shadow: 0 0 10px #333;
}
#main #txtParts.solid p {
	color: #000;
	text-shadow: 0 0 10px #fff;
}
#main #txtParts p.price{
	font-size: 0.95rem;
	font-weight: bold;
	white-space: nowrap;
}
#main #txtParts p.price span#total{
	font-size:2.7rem;
	padding:0 0.2em;
}
#main #txtParts p.caution{
	font-size: 0.78rem;
}
@media screen and (max-width: 1350px){
	#main #txtParts p.price span#total{
		font-size:2.0rem;
	}
	#main #txtParts p.caution{
		font-size: 0.7rem;
	}
}
@media screen and (max-width: 960px){
	#main #txtParts p.price {
		font-size: 0.6rem;
	}
	#main #txtParts p.price span#total{
		font-size:1.6rem;
	}
	#main #txtParts p.caution{
		font-size: 0.5rem;
	}
}


/*	★★★PC用 車の画像部分	*/
#exteriorWrap {
	max-width:1350px;
	margin:0 auto;
	position:relative;
}
#exteriorWrap .exterior{
	width:100%;
	padding: 0;
	padding-top: 40%;
	position:relative;
	margin: 0;
}
#exteriorWrap.solid .exterior {
	margin-top:5%;
}

#exteriorWrap.dynamic .exterior.frontImage {
	background:url(../images/parts/front_shadow.png) no-repeat top center;　/*　車の影 dynamic front	*/
	-webkit-background-size: 100%;
	-moz-background-size: 100%;
	-o-background-size: 100%;
	background-size: 100%;
}
#exteriorWrap.dynamic .exterior.rearImage {
	background:url(../images/parts/rear_shadow.png) no-repeat top center;　/*　車の影 dynamic rear	*/
	-webkit-background-size: 100%;
	-moz-background-size: 100%;
	-o-background-size: 100%;
	background-size: 100%;
}
#exteriorWrap.solid .exterior.frontImage {
	background:url(../images/parts2/front_shadow.png) no-repeat top center;　/*　車の影 stylish front	*/
	-webkit-background-size: 100%;
	-moz-background-size: 100%;
	-o-background-size: 100%;
	background-size: 100%;
}
#exteriorWrap.solid .exterior.rearImage {
	background:url(../images/parts2/rear_shadow.png) no-repeat top center;　/*　車の影 stylish rear	*/
	-webkit-background-size: 100%;
	-moz-background-size: 100%;
	-o-background-size: 100%;
	background-size: 100%;
}

#exteriorWrap .exterior img{
	transform: skewX(0deg);
	-ms-transform: skewX(0deg); 
	-webkit-transform: skewX(0deg);
	-moz-transform: skewX(0deg);
	position:absolute;
	top:0%;
	right:0%;
}
#exteriorWrap .exterior ul {
	margin: 0;
	padding: 0;
}
#exteriorWrap .exterior ul li img{
	z-index:8;
}
 #exteriorWrap .exterior ul.active li img{
	z-index:10;
}
 #exteriorWrap .exterior li img{
	width:100%;
	height:auto;
	opacity:0;
	filter: alpha(opacity=0);        /* ie 6 7 */
	-ms-filter: "alpha(opacity=0)";  /* ie 8 */
	-moz-opacity:0;                 /* FF lt 1.5, Netscape */
	-khtml-opacity: 0; 
}
 #exteriorWrap .exterior ul li img.active{
	opacity:1;
    filter: alpha(opacity=100);        /* ie 6 7 */
    -ms-filter: "alpha(opacity=100)";  /* ie 8 */
	-moz-opacity:1.0;                 /* FF lt 1.5, Netscape */
	-khtml-opacity: 1.0; 
}
 #exteriorWrap .exterior ul.parts li img{
	visibility:hidden;
}
 #exteriorWrap .exterior ul.parts li.select img{
	visibility:visible;
}

/*	追記（rear画像が表示されてしまう為）	*/
#exteriorWrap .exterior ul,
#exteriorWrap .exterior ul li.select,
#exteriorWrap .exterior ul li.select img.active {
	visibility:hidden; 
/*	opacity: 0;	*/
}
#exteriorWrap .exterior ul.active,
#exteriorWrap .exterior ul.active li.select,
#exteriorWrap .exterior ul.active li.select img.active {
	visibility:visible;
/*	opacity: 1; */
}


/*	★★★PC用「色／アングル／壁紙保存／カスタムパーツ」	*/
/*	色選択	*/
#colorSelect {
	position: absolute;
	top: 16%;
	left: 3.777777777777778%;
	width: 17.33333333333333%;
	max-width: 234px;
	z-index: 10;
	padding: 0;
}
#colorSelect::before {
	content: "";
	background: url(../images/simulation_color_line.png) no-repeat top right;
	background-size :100%;
	position: absolute;
	top: 0;
	right: -13%;
	width: 477px;
	height: 566px;
}
#colorSelect .colorSelectTitle {
	overflow: auto;
	margin-bottom: 5%;
}
#colorSelect .colorSelectTitle img {
	width: 54.7008547008547%;
	float: right;
}
#colorSelect ul {
	margin: 0;
	padding: 0;
}
#colorSelect ul li {
	position: relative;
	overflow: auto;
}
#colorSelect ul li img {
	cursor: pointer;
	float: right;
	width: 54.7008547008547%;
	max-width: 128px;
}
#colorSelect ul li:nth-child(1) img {margin-right: 0;}
#colorSelect ul li:nth-child(2) img {margin-right: 14.95726495726496%;}
#colorSelect ul li:nth-child(3) img {margin-right: 29.91452991452992%;}
#colorSelect ul li:nth-child(4) img {margin-right: 44.87179487179488%;}

/*	アングル選択 FRONT or REAR */
#angleSelect {
	position: absolute;
	left: 0;
	right: 0;
	margin: auto;
	width: 20.22222222222222%; /*	273px	*/
	z-index:10;
}
#simulation.dynamic #angleSelect {
	bottom: 24%;
}
#simulation.solid #angleSelect {
	bottom: -2%;
}

#angleSelect .angleSelectTitle {
	width: 100%;
}
#angleSelect .angleSelectTitle img {
	width: 100%;
}
#angleSelect ul {
	display: flex;
	justify-content: center;
	padding: 0;
	margin: 0;
}
#angleSelect li {
	width: 41.75824175824176%;
}
#angleSelect li img {
	width: 100%;
	cursor: pointer;
}

/*	壁紙保存ボタン	*/
#btnPrint {
	width: 20.22222222222222%;
	position: absolute;
	right: 12.5%;
	z-index: 10;
}
#simulation.dynamic #btnPrint {
	bottom: 26.6%;
}
#simulation.solid #btnPrint {
	bottom: 1.5%;
}
#btnPrint a {
	display: block;
	cursor: pointer;
}
#btnPrint a:hover {
	opacity: 0.8;
}
#btnPrint a img {
	width: 100%;
}

/*	カスタムパーツ	*/
#main .protruding {
	width: 100%;
	margin:  0 -100%;
	padding: 0 100%;
/*
	position:absolute;
	bottom: -38%;
*/
	position: relative;	
	margin-top: 2%;
	z-index: 10;
}
#main #customParts{
	width:79.25925925925926%; /*	1070/1350	*/
	margin:0;
/*	margin-left: 8.222222222222222%;*/
	margin-left: 9.2%;
	position:relative;
	z-index:10;
}
#main #customParts ul {
	margin:0;
	padding:0;
	overflow: hidden;
}
#main #customParts img {
	width: 100%;
}
/*	パーツナビゲーションタブ	*/
#main #customParts .partsNavLine {
	width: 100%;
	margin:  0 -100%;
	padding: 0 100%;
	border-top: 1px solid #096a3a;
	border-bottom: 1px solid #096a3a;
}
#main #customParts ul.partsNav {
	display: flex;
	position: relative;
	width: 100%;
	padding: 0.4vw 0;
	overflow: visible;
}
#main #customParts ul.partsNav::before,
#main #customParts ul.partsNav::after {
	content: "";
	width: 100%;
	height: 1px;
	background:#969799;
	position: absolute;
	bottom: 0.4vw;
	z-index: 10;
}
#main #customParts ul.partsNav::before {
	left: -100%;
}
#main #customParts ul.partsNav::after {
	right: -150%;
	width: 200%;
}
#main #customParts ul.partsNav li {
	width: 15.48507462686567%; /* 166 / 1072 x 100 */
	max-width: 166px;
	cursor: pointer;
}
/*	パーツサムネイル	*/
#main #customParts div.tab {
	width: 100%;
}
#main #customParts div.tab ul{
	display:none;
	overflow: hidden;
	/*padding: 1.5% 0;*/
	padding: 1.5% 0 0;
}
#main #customParts div.tab ul.active{
	display:block;
}
#main #customParts div.tab ul li {
	float: left;
}
#main #customParts div.tab ul li:not(:first-child) {
	margin-right: 1.175%;
}
#main #customParts div.tab ul li:last-child {
	margin: 0;
}
#main #customParts div.tab ul li.partsThumb {
	width: 18.84328358208955%; /* 202 / 1072 x 100 */
	max-width: 202px;
}
#main #customParts div.tab ul.other li.partsThumb {
	width: 13.24626865671642%; /* 142 / 1072 x 100 */
	max-width: 142px;
}

#main #customParts div.tab ul li.partsTitle {
	width: 13.71268656716418%; /* 147 / 1072 x 100 */
	max-width: 147px;
}

/*	壁紙保存ページ用（customimage.php）	*/
#print{
	/*min-height:480px;*/
    background-image:url("../images/loading.gif");
    background-repeat:no-repeat;
    background-position:center;
}
p.save{
	text-align:center;
	color:#fff;
}
p.save span{
	padding:0 0.5em;
	border:1px solid #ccc;
}
@media print {
	p.save{ display:none; }
}


/*	壁紙保存ページ用（customimage.php）	*/
#wrapper.printpage {
	background: #fff;
}
#wrapper.printpage #mainWrap {
	padding: 0 0 3% 0;
}
#print{
	background-image:url("../images/loading.gif");
  background-repeat:no-repeat;
	background-position:center;
}
p.save{
	text-align:center;
	color:#000;
}
p.save span{
	padding:0 0.5em;
	border:1px solid #ccc;
}
@media print {
	p.save{ display:none; }
}

/*----	PHOTO GALLERY ----*/
/*	サムネイル	*/
#photogalleryThumb {
	background-color: #000;
}
.photogalleryThumb_title,
.photogalleryThumb_title img {
	width: 100%;
}
.photogalleryThumb_list {
	width: 100%;
	max-width: 1098px;
	margin: auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	padding: 1% 0 2%;
}
.photogalleryThumb_item {
	width: 13.66120218579235%;
	max-width: 150px;
	z-index: 100;
	margin-right: 0.7285974499089253%;
	margin-bottom: 0.7285974499089253%;
}
.photogalleryThumb_item:nth-child(7n) {
	margin-right: 0;
}
.photogalleryThumb_image {
	cursor: pointer;
}
.photogalleryThumb_image img {
	width: 100%;
}
	
/*	モーダルウィンドウ	*/
#photogalleryModal {
	position: relative;
	display: none; 
	background: rgba(0,0,0,0.85);
	z-index: 100;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.photogalleryModal_image button{
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
	height: 39px;
	line-height: 39px;
	position: absolute;
	text-decoration: none;
	font-style: normal;
	font-size: 28px;
	font-family: Arial, Baskerville, monospace;
	overflow: visible;
	cursor: pointer;
	background: transparent;
	border: 0;
	-webkit-appearance: none;
	display: block;
	outline: none;
	padding: 0;
	z-index: 1046;
	-webkit-box-shadow: none;
	box-shadow: none;
	color: #FFF;
	right: -6px;
	text-align: right;
	padding-right: 6px;
	width: 100%;
	top: -40px;
}
.photogalleryModal_image {
	display: none; 
	position: absolute;
	top: 12%;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
	width: 80%;
	max-width: 1200px;
	z-index: 101;
}
.photogalleryModal_image img {
	width: 100%;
}


/*---- SP用スタイル	----*/
@media screen and (max-width: 640px){
	/*----	画面上側	----*/
	#mv {
	}
	#mv.dynamic {
/*		padding-top: 106.6666666666667%; */
		background: url(../images/simulation_mv_dynamic_sp.jpg) no-repeat top center; 
		background-size: 100%;
		background-color: #000;
	}
	#mv.solid {
/*		padding-top: 106.6666666666667%; */
		background: url(../images/simulation_mv_solid_sp.jpg) no-repeat top center; 
		background-size: 100%;
		background-color: #000;
	}
	#mv #pageScroll {
		bottom:8%;
		width: 10.13333333333333%;
		max-width: 76px;
	}
	
	/*----	画面下側	----*/
	#simulation.dynamic,
	#simulation.solid {
		background-position:top center;
		background-repeat:no-repeat;
		padding-top: 0;
		padding-bottom: 0;
	}
	#simulation.dynamic {
		background-image:url(../images/simulation_bg_dynamic_sp.jpg);	/* 背景画像	*/
		-webkit-background-size: 100%;
		-moz-background-size: 100%;
		-o-background-size: 100%;
		background-size: 100%;
	}
	#simulation.solid {
		background-image:url(../images/simulation_bg_solid_sp.jpg);	/* 背景画像	*/
		-webkit-background-size: 100%;
		-moz-background-size: 100%;
		-o-background-size: 100%;
		background-size: 100%;
		background-color: #fff;
	}

	/*	車種タイトル	*/
	#typeTitle {
		position: relative;
		top: 0;
		right: 0;
		width: 56%;
		margin: auto;
	}

	/*	金額	*/
	#main #txtParts{
		width: 100%;
		position: relative;
		bottom: 3vw;
		left: 0;
		overflow: hidden;
	}
	#main #txtParts p {
		display: table;
		float: right;
		text-align: left;
		padding: 0 1.6%;
	}
	#main #txtParts p.price{
		width: 100%;
		font-size: 0.90rem;
		text-align: right;
		font-weight: bold;
		white-space: nowrap;
	}
	#main #txtParts p.price span#total{
		font-size:1.5rem;
		padding:0 0.1em;
	}
	#main #txtParts p.caution{
		font-size: 0.7rem;
		letter-spacing: -1px;
	}


	/*	★★★SP用 車の画像部分	*/
	#exteriorWrap {
		max-width:100%;
		margin:0 auto;
		position:relative;
	}
	#exteriorWrap .exterior.disp-sp {
		width:100%;
		height: 0;
		padding: 0;
		position:relative;
		margin: 0;
	}
	#exteriorWrap.dynamic .exterior.disp-sp {
		padding-top: 55.2%; /* 414 / 750 x 100 */
	}
	#exteriorWrap.solid .exterior.disp-sp {
		padding-top: 58.66666666666667%; /* 440 / 750 x 100 */
	}

	#exteriorWrap.dynamic .exterior.frontImage.disp-sp {
		background:url(../images/parts/sp/front_shadow_sp.png) no-repeat top center;　/*　車の影 dynamic front	*/
		-webkit-background-size: 100%;
		-moz-background-size: 100%;
		-o-background-size: 100%;
		background-size: 100%;
	}
	#exteriorWrap.dynamic .exterior.rearImage.disp-sp {
		background:url(../images/parts/sp/rear_shadow_sp.png) no-repeat top center;　/*　車の影 dynamic rear	*/
		-webkit-background-size: 100%;
		-moz-background-size: 100%;
		-o-background-size: 100%;
		background-size: 100%;
	}
	#exteriorWrap.solid .exterior.frontImage.disp-sp {
		background:url(../images/parts2/sp/front_shadow_sp.png) no-repeat top center;　/*　車の影 stylish front	*/
		-webkit-background-size: 100%;
		-moz-background-size: 100%;
		-o-background-size: 100%;
		background-size: 100%;
	}
	#exteriorWrap.solid .exterior.rearImage.disp-sp {
		background:url(../images/parts2/sp/rear_shadow_sp.png) no-repeat top center;　/*　車の影 stylish rear	*/
		-webkit-background-size: 100%;
		-moz-background-size: 100%;
		-o-background-size: 100%;
		background-size: 100%;
	}


/*	★★★SP用「色／アングル／壁紙保存／カスタムパーツ」	*/
	/*	アングル＆色選択の包括	*/
	#angle-color_wrapper {
		background-color: #25252f;
		padding: 3.2%;
		margin-top: 2%;
	}
	/*	アングル選択 FRONT or REAR */
	.angle {
		display: flex;
		justify-content: center;
		padding: 0;
		margin: 0;
	}
	.angle li {
		width: 25.06666666666667%;
	}
	.angle li:first-child {
		margin-right: 4%;
	}
	.angle li img {
		width: 100%;
		cursor: pointer;
	}

	/*	色選択	*/
	#color {
		margin-top: 4%;
	}
	#color .colorTitle {
		width: 41.6%;
		margin: 0 auto 4%;
	}
	#color .colorTitle img {
	width: 100%;
	}
	#color ul {
		margin: 0;
		padding: 0;
		display: flex;
		justify-content: space-between;
	}
	#simulation.solid #color ul {
		justify-content: center;
	}
	#simulation.solid #color ul li:nth-child(2) {
		margin: 0 2%;
	}
	
	#color ul li {
		width: 22%;
	}
	#color ul li img {
		cursor: pointer;
		width: 100%;
	}

	/*	カスタムパーツ	*/
	#main #customParts{
	width: 100%;
	margin:0;
	position:relative;
	}
	#main #customParts ul {
		margin:0;
		padding:0;
		overflow: hidden;
	}
	#main #customParts img {
		width: 100%;
	}
	/*	パーツナビゲーションタブ	*/
	#main #customParts ul.partsNav {
		display: flex;
		position: relative;
		width: 100%;
		padding: 0;
	}
	#main #customParts ul.partsNav::before,
	#main #customParts ul.partsNav::after {
		content: none;
	}
	#main #customParts ul.partsNav li {
		width: 33.33333333333333%;
	}
	/*	パーツサムネイル	*/
	#main #customParts div.tab {
		width: 100%;
		padding: 4% 1.6%;
	}
	#main #customParts div.tab ul{
		display:none;
		overflow: hidden;
		padding: 0;
	}
	#main #customParts div.tab ul.active{
		display:block;
	}
	#main #customParts div.tab ul li {
		float: left;
		margin-right: 1.8%;
	}
	#main #customParts div.tab ul li:nth-child(3),
	#main #customParts div.tab ul li:last-child	{
		margin-right: 0;
	}
	#main #customParts div.tab ul li:nth-child(-n+3) {
		margin-bottom: 1.6%;
	}
	#main #customParts div.tab ul li.partsThumb {
		width: 31.2%;
	}
	#main #customParts div.tab ul.other li.partsThumb {
		width: 31.2%;
		max-width: 100%;
	}
	#main #customParts div.tab ul li.partsThumb img {
		width: 100%;
	}

	/*	壁紙保存ボタン＆商品ページ の包括	*/
	#custom-products_wrapper {
		background-color: #fff;
		padding: 3%;
	}

	/*	壁紙保存ボタン	*/
	#btnPrint {
		width: 100%;
		position: relative;
		top: 0;
		right: 0;
	}
	#btnPrint a {
		display: block;
		margin: 0 auto;
		width: 77.6%;
	}
	#btnPrint a img {
		width: 100%;
	}

	/*	商品ページはこちらボタン	*/
	#btnProducts{
		width: 89.73333333333333%;
		margin: 3% auto 0;
	}
	#btnProducts a img{
		width:100%;
	}

	/*	壁紙保存ページ用（customimage.php）	*/
	p.save{
		display: none;
	}
	#wrapper.printpage #mainWrap {
		padding: 0 0 5% 0;
	}
	#print {
		padding-bottom: 5%;
	}
	/*----	PHOTO GALLERY ----*/
	/*	サムネイル	*/
	#photogalleryThumb {
		padding-top: 3%;
	}
	.photogalleryThumb_list {
		width: 96%;
		max-width: 100%;
		margin: auto;
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		padding: 3% 1.6% 5%;
	}
	.photogalleryThumb_item {
		width: 32%;
		max-width: 234px;
		margin-right: 0;
	}
	.photogalleryThumb_item:not(:last-child) {
		margin-right: 0;
	}
	.photogalleryThumb_item:nth-child(n+4) {
		margin-top: 1.6vw;
	}
	/*	モーダルウィンドウ	*/
	.photogalleryModal_image {
		top: 25%;
		width: 90%;
		max-width: 100%;
	}

}

