@charset "UTF-8";
/* CSS Document */
html{
	width:100%;
	height:100%;
}
body {
	background-color: #666;
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	width:100%;
	height:100%;
  font-family:"Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	-webkit-text-size-adjust: 100%;
}
@font-face{
  font-family:"Yu Gothic";
  src:local("Yu Gothic Medium");
  font-weight:100;
}
@font-face{
  font-family:"Yu Gothic";
  src:local("Yu Gothic Medium");
  font-weight:200;
}
@font-face{
  font-family:"Yu Gothic";
  src:local("Yu Gothic Medium");
  font-weight:300;
}
@font-face{
  font-family:"Yu Gothic";
  src:local("Yu Gothic Medium");
  font-weight:400;
}
@font-face{
  font-family:"Yu Gothic";
  src:local("Yu Gothic Bold");
  font-weight:bold;
}
a{
	cursor: pointer;
	color:#FFF;
	text-decoration:none;
}

#header{
	overflow:hidden;
	padding:40px;
	position:relative;
	z-index:1;
}
#header #rightNavi{
	float:right;
	font-size:0;
}
#header #rightNavi a{
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	transition: all 0.5s ease;
}
#header #rightNavi #contact{
	display:inline-block;
	font-size:10px;
	line-height:1em;
	font-family: 'Aldrich', sans-serif;
	vertical-align:top;
}
#header #rightNavi #contact a:hover{
	color:#CCC;
}
#header #rightNavi #sns{
	display:inline-block;
	vertical-align:top;
	margin-top:-3px;
	margin-left:20px;
	font-size:0;
}
#header #rightNavi #sns li{
	display:inline-block;
	vertical-align:middle;
	margin-left:20px;
}
#header #rightNavi #sns li:first-child{
	margin-left:0px;
}
#header #rightNavi #sns li a:hover{
	opacity:0.7;
}
#scene{
	left: 0px;
	top: 0px;
	position: absolute;	/*position: absolute;	/*position: fixed;*/
	width:100%;
	height:100%;
	overflow:hidden;
}
#scene canvas{
	width:100% !important;
	height:100% !important;
}
#black{
	left: 0px;
	top: 0px;
	position: absolute;
	width:100%;
	height:100%;
	background-color:#000;
	z-index:2;
}
.fadeout{
	opacity: 0;
	transition: 3s ease-in-out;
	-webkit-transition: 3s ease-in-out;
}
.fadeout2{
	opacity: 0;
	transition: 1.5s ease-in-out;
	-webkit-transition: 1.5s ease-in-out;
}
.none{
	display:none;
}
#title{
	background-color:#000;
	background-image: url(../img/title.png);
	background-repeat:no-repeat;
	background-position:center bottom 6px;
	height: 50%;
	width: 100%;
	left: 0px;
	top: 0px;
	position: fixed;
	transition: all 0.7s;
	-webkit-transition: all 0.7s ease-in-out;
	z-index:3;
}
#title.active{
	top:-50%;
}
#title.none{
	background-color:transparent;
	height: 24px;
	width: 96px;
	left:20px;
	top:20px;
	background-position:left top;
	opacity:0;
}
#title.block{
	display:block;
}
#title.set{
	opacity:1;
}
#subtext{
	background-color:#000;
	background-image: url(../img/subtext.png);
	background-repeat:no-repeat;
	background-position:center 8px;
	height: 50%;
	width: 100%;
	left: 0;
	top: 50%;
	right: 0px;
	bottom: 0px;
	position: fixed;
	transition: all 0.7s;
	-webkit-transition: all 0.7s ease-in-out;
	z-index:3;
}
#subtext.active{
	top:100%;
}
#subtext.none{
	background-color:transparent;
	height: 18px;
	width: 94px;
	left:20px;
	top:20px;
	padding-top:30px;
	background-position:left bottom;
  background-size: 94px 18px;
	opacity:0;
}
#subtext.block{
	display:block;
}
#subtext.set{
	opacity:1;
  cursor: pointer;
}
#progressBar{
	position: absolute;
	top: 50%;
	left:50%;
	margin-left:-175px;
	margin-top:-0.5px;
	z-index:4;
	/* [disabled]left: 11px; */
	/* [disabled]top: 203px; */
}
#progressBar.fadeout{
	opacity: 0;
	transition: 0.2s ease-in-out;
	-webkit-transition: 0.2s ease-in-out;
}
#progressBar:active{
	opacity: 1;
}

#controls{
  position: fixed;
  top: 0;
  right: -222px;
  width: 222px;
  height: 100%;
  /*background: #000;*/
	background:rgba(0,0,0,0.6);
  padding-left: 22px;
  box-sizing: border-box;
	transition: right 0.3s ease-in-out;
}
#controls.open{
  right: 0;
}
#controls.close{
  right: -200px;
}
#controlBtn{
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 100%;
  /*background: #282A29;*/
	background: rgba(40,42,41,0.6);
  cursor: pointer;
	opacity:0.5;
}
#controlBtn::before{
  content: "";
  display: block;
  width: 13px;
  height: 13px;
  border: solid 3px #fff;
  border-bottom: none;
  border-left: none;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -3px;
  box-sizing: border-box;
  transform: translate(-50%,-50%) rotate(45deg);
  -ms-transform: translate(-50%,-50%) rotate(45deg);
	transition: all 0.3s;
}
.close #controlBtn::before{
  transform: translate(-50%,-50%) rotate(225deg);
  -ms-transform: translate(-50%,-50%) rotate(225deg);
  margin-left: 3px;
}
#controlBox{
  padding: 30px 20px;
  height: 100%;
  overflow-y: auto;
  box-sizing: border-box;
}
#controlBox p{
  font-size: 14px;
  line-height: 1.2;
  color: #fff;
  font-family: 'Oswald', sans-serif;
  margin: 0 0 10px;
}
@media (max-width: 750px) {
  #controls{
    right: -122px;
    width: 122px;
  }
  #controls.close{
    right: -100px;
  }
  #controlBox{
    padding: 20px 10px;
  }
  #controlBox p{
    font-size: 12px;
    line-height: 1.2;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    margin: 0 0 5px;
  }
}
@media screen and (orientation: portrait) and (max-width: 750px) {
  #controls{
    top: auto;
    right: 0;
    bottom: -150px;
    width: 100%;
    height: 150px;
    padding: 22px 0 0;
	transition: bottom 0.3s ease-in-out;
  }
  #controls.open{
    bottom: 0;
  }
  #controls.close{
    right: 0;
    bottom: -128px;
  }
  #controlBtn{
    top: 0;
    left: 0;
    width: 100%;
    height: 22px;
  }
  #controlBtn::before{
    margin-left: 0;
    margin-top: -3px;
    transform: translate(-50%,-50%) rotate(135deg);
    -ms-transform: translate(-50%,-50%) rotate(135deg);
  }
  .close #controlBtn::before{
    transform: translate(-50%,-50%) rotate(315deg);
    -ms-transform: translate(-50%,-50%) rotate(315deg);
    margin-left: 0;
    margin-top: 3px;
  }
  #controlBox{
    padding: 10px 0 10px 10px;
  }
}

#buttons{
	pointer-events: none;
}
#buttons button{
  display: block;
	border:none;
	text-indent:-99999px;
	overflow:hidden;
	width:100%;
	height:20px;
	padding:0px;
  margin-top: 4px;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	transition: all 0.5s ease;
	cursor:pointer;
	pointer-events:auto;
  outline: none;
}
#buttons button#button1{
  margin-top: 0;
	background-color:#BA0000;
}
#buttons button#button2{
	background-color:#D9D9D9;
}
#buttons button#button3{
	background-color:#FFBC21;
}
#buttons button#button4{
	background-color:#0044AA;
}
#buttons button#button5{
	background-color:#107866;
}
#buttons button#button6{
	background-color:#262626;
}
#buttons button#button7{
	background-color:#BCBCBC;
}
#buttons button#button8{
	background-image:url(../img/button.png);
  background-repeat: repeat-x;
}
#buttons button:hover{
	opacity:0.7;
}
@media (max-width: 750px) {
  #buttons button{
    height:15px;
    margin-top: 3px;
  }
}
@media screen and (orientation: portrait) and (max-width: 750px) {
  #buttons{
    float: left;
    width: 25%;
    padding-right: 10px;
    box-sizing: border-box;
  }
  #controlBox #buttons p{
    float: left;
    width: 100%;
  }
  #buttons button{
    height:20px;
    float: left;
    width: 48.5%;
  }
  #buttons button:nth-child(2n){
    margin-right: 3%;
  }
  #buttons button#button2{
    margin-top: 0;
  }
}
#loaded0, #loaded1, #loaded2, #loaded3, #loaded4, #loaded5, #loaded6, #loaded{
	color: #CCC;
}
#total0, #total1, #total2, #total3, #total4, #total5, #total6, #total{
	color: #CCC;
}

/* hdri */
#hdri{
  width: 100%;
  margin-top: 50px;
}
#hdri button{
  display: block;
	width: 100%;
	height:60px;
  margin-top: 4px;
	border:1px solid #FFF;
	background-color: transparent;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	transition: all 0.5s ease;
	cursor:pointer;
	pointer-events:auto;
  background-position: center center;
  background-size: cover;
  outline: none;
}
#hdri button:hover{
	opacity:0.7;
}
#hdri button#hdr-0{
  margin-top: 0;
	background-image:url(../img/hdr-0.jpg);
}
#hdri button#hdr-1{
	background-image:url(../img/hdr-1.jpg);
}
#hdri button#hdr-2{
	background-image:url(../img/hdr-2.jpg);
}
#hdri button#hdr-3{
	background-image:url(../img/hdr-3.jpg);
}
#hdri button#hdr-4{
	background-image:url(../img/hdr-4.jpg);
}
#hdri button#hdr-5{
	background-image:url(../img/hdr-5.jpg);
}
#hdri button#hdr-6{
	background-image:url(../img/hdr-6.jpg);
}
@media (max-width: 750px) {
  #hdri{
    margin-top: 20px;
  }
  #hdri button{
    height: 30px;
  }
}
@media screen and (orientation: portrait) and (max-width: 750px) {
  #hdri{
    margin-top: 0;
    float: left;
    width: 25%;
    padding-right: 10px;
    box-sizing: border-box;
  }
  #hdri button{
    height: 27px;
  }
}

/* handle */
#handle{
  margin-top: 50px;
}
#handleIcon{
  margin: 20px auto 0;
  width: 100%;
  max-width: 104px;
}
#handleIcon::before{
  content: "";
  display: block;
  width: 100%;
  height: 0;
  padding-top: 96.1538%;
  background: url("/model/ferrari488ver3/img/handle.svg") no-repeat center center;
  background-size: 100% 100%;
	transition: all 0.3s ease-in-out;
}
#handleIcon.left::before{
  -ms-transform: rotate(-30deg);
  transform: rotate(-30deg);
}
#handleIcon.right::before{
  -ms-transform: rotate(30deg);
  transform: rotate(30deg);
}
#handleBtn{
  overflow: hidden;
  margin-top: 5px;
}
#handle button{
  width: 30%;
  float: left;
  display: block;
  font-size: 12px;
  font-family: 'Oswald', sans-serif;
  border: none;
  background: transparent;
  margin-right: 5%;
  color: #fff;
  text-align: center;
  cursor: pointer;
  padding: 5px 0;
  outline: none;
	transition: all 0.5s ease;
}
#handle button:last-child{
  margin-right: 0;
}
#handle button:hover{
  opacity: 0.7;
}
@media (max-width: 750px) {
  #handle{
    margin-top: 20px;
  }
  #handleIcon{
    margin: 10px auto 0;
  }
  #handle button{
    font-size: 10px;
    width: 100%;
    margin-right: 0;
    margin-bottom: 3px;
    padding: 3px 0;
  }
}
@media screen and (orientation: portrait) and (max-width: 750px) {
  #handle{
    margin-top: 0;
		margin-bottom:20px;
    width: 25%;
    float: left;
  }
  #handleIcon{
    max-width: 80px;
  }
  #handle button{
    font-size: 10px;
    width: 30%;
    margin-right: 5%;
    margin-bottom: 0;
    padding: 3px 0;
  }
}

/* direction */
#direction{
  margin-top: 50px;
}
#dirBtn{
  overflow: hidden;
  margin-top: 5px;
}
#direction button{
  width: 30%;
  float: left;
  display: block;
  font-size: 12px;
  font-family: 'Oswald', sans-serif;
  border: none;
  background: transparent;
  margin-right: 5%;
  color: #fff;
  text-align: center;
  cursor: pointer;
  padding: 5px 0;
  outline: none;
	transition: all 0.5s ease;
}
#direction button:last-child{
  margin-right: 0;
}
#direction button:hover{
  opacity: 0.7;
}
@media (max-width: 750px) {
  #direction{
    margin-top: 20px;
  }
  #direction button{
    font-size: 10px;
    width: 100%;
    margin-right: 0;
    margin-bottom: 3px;
    padding: 3px 0;
  }
}
@media screen and (orientation: portrait) and (max-width: 750px) {
  #direction{
    margin-top: 0;
		margin-bottom:20px;
    width: 25%;
    float: left;
  }
  #direction button{
    font-size: 10px;
    width: 30%;
    margin-right: 5%;
    margin-bottom: 0;
    padding: 3px 0;
  }
}

/* finder */
#finder{
  margin-top: 40px;
}
#finderBtn{
  text-align: center;
  color: #fff;
  font-size: 0;
}
#finderBtn button{
  display: inline-block;
  vertical-align: middle;
  border: none;
  background: none;
  font-size: 30px;
  line-height: 1.2;
  padding: 0;
  color: #fff;
  font-family: 'Oswald', sans-serif;
  cursor: pointer;
  outline: none;
}
#finder.off #finderOn{
  opacity: 0.2;
}
#finder.off #finderOff{
  opacity: 1;
  pointer-events: none;
}
#finder.on #finderOn{
  opacity: 1;
  pointer-events: none;
}
#finder.on #finderOff{
  opacity: 0.2;
  pointer-events: auto;
}
#finderBtn span{
  display: inline-block;
  vertical-align: middle;
  font-size: 30px;
  line-height: 1.2;
  margin: 0 0.3em;
}
#finder #shutter{
  width: 62px;
  height: 62px;
  margin: 20px auto 0;
}
#finder #shutterBtn{
  display: none;
  outline: none;
  border: solid 1px #fff;
  padding: 0;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  overflow: hidden;
  font-size: 0;
  background: #000 url("../img/shutter.png") no-repeat center center;
  cursor: pointer;
}
#finder.on #shutterBtn{
  display: block;
}
@media (max-width: 750px) {
  #finder{
    margin-top: 20px;
  }
  #finderBtn button{
    font-size: 15px;
  }
  #finderBtn span{
    font-size: 15px;
  }
  #finder #shutter{
    width: 30px;
    height: 30px;
    margin: 15px auto 0;
  }
  #finder #shutterBtn{
    width: 30px;
    height: 30px;
    background-size: 30px 30px;
  }
}
@media screen and (orientation: portrait) and (max-width: 750px) {
  #finder{
    margin-top: 0;
    padding-right: 10px;
    box-sizing: border-box;
    float: left;
    width: 25%;
  }
}

.dg.ac{
  top: -100% !important;
}
@media (max-width: 750px) {
  .dg.main{
    width: 190px !important;
    margin-right: 0 !important;
  }
  .dg .property-name{
    width: 50% !important;
    font-size: 10px;
  }
  .dg .c{
    width: 50% !important;
  }
  .dg .has-slider input[type=text]{
    width: 28% !important;
  }
  .dg.main .close-button{
    width: 190px !important;
  }
}

/* frameBox */
#frameBox{
  position: fixed;
  border: solid 2px #fff;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  display: none;
  pointer-events: none;
}
#frameBox span{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#frameBox span:first-child::before,
#frameBox span:first-child::after{
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  opacity: 0.2;
  position: absolute;
  left: 0;
  margin-top: -1px;
}
#frameBox span:first-child::before{
  top: 33.3%;
}
#frameBox span:first-child::after{
  top: 66.6%;
}
#frameBox span:last-child::before,
#frameBox span:last-child::after{
  content: "";
  display: block;
  width: 2px;
  height: 100%;
  background: #fff;
  opacity: 0.2;
  position: absolute;
  top: 0;
  margin-left: -1px;
}
#frameBox span:last-child::before{
  left: 33.3%;
}
#frameBox span:last-child::after{
  left: 66.6%;
}

/* modal */
#modal{
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: none;
}
#modalBack{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  cursor: pointer;
}
#modalInner{
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  border: solid 2px #fff;
}
#modal #capture{
  position: absolute;
  top: 0;
  left: 0;
}
#modal #share{
  position: absolute;
  bottom: 4%;
  left: 50%;
  width: 272px;
  height: 60px;
  transform: translate(-50%,0%);
  outline: none;
  background: #000;
  border: none;
  color: #fff;
  font-size: 20px;
  line-height: 1.2;
  border-radius: 30px;
  padding: 0;
  text-align: center;
  cursor: pointer;
}
#modalClose{
  position: absolute;
  top: -2px;
  right: -7.65%;
  width: 6%;
  height: 6%;
  max-width: 40px;
  max-height: 40px;
  background-color: transparent;
  font-size: 0;
  cursor: pointer;
}
#modalClose::before,
#modalClose::after{
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 135%;
  background: #fff;
}
#modalClose::before{
  transform: translate(-50%,-50%) rotate(45deg);
}
#modalClose::after{
  transform: translate(-50%,-50%) rotate(-45deg);
}
@media (max-width: 750px) {
  #modal #share{
    width: 200px;
    height: 40px;
    font-size: 14px;
    border-radius: 20px;
  }
  #modalClose{
    right: -7.65%;
  }
  #modalClose::before,
  #modalClose::after{
    height: 135%;
  }
}
@media screen and (orientation: portrait) and (max-width: 750px) {
  #modalClose{
    right: -2px;
    top: -10.2%;
    width: 8%;
    height: 8%;
  }
}

/* SHARE */
#sharePage{
  background: #000;
}
#sharePage::after{
  content: "";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 100;
	transition: opacity 0.3s;
}
#sharePage.fade::after{
  opacity: 0;
}
#sharePage.loadEnd::after{
  display: none;
}
#sharePage #modalBack{
  cursor: default;
}
#sharePage #share{
  width: 310px;
  font-size: 0;
  padding-top: 14px;
  box-sizing: border-box;
}
#sharePage #share > div{
  display: inline-block;
  margin: 0 14px;
  width: 32px;
  height: 32px;
}
#sharePage #share > div > *{
  display: block;
  width: 100%;
  height: 100%;
  font-size: 0;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% 100%;
  cursor: pointer;
	transition: opacity 0.3s;
}
#sharePage #share > div > *:hover{
  opacity: 0.7;
}
#sharePage #share #fb > *{
  background-image: url("../img/fb.png");
}
#sharePage #share #tw > *{
  background-image: url("../img/tw.png");
}
#sharePage #share #line > *{
  background-image: url("../img/line.png");
}
#sharePage #share #downloadImg > *{
  background-image: url("../img/download.png");
}
@media (max-width: 750px) {
  #sharePage #share{
    width: 220px;
    padding-top: 7px;
  }
  #sharePage #share > div{
    margin: 0 10px;
    width: 26px;
    height: 26px;
  }
}

#listPage{
  background: #fff;
  overflow: hidden;
}
#listPage ul{
  margin: 0;
  padding: 0;
}
#listPage ul::after{
  content: "";
  display: block;
  width: 0;
  height: 0;
  clear: both;
}
#listPage ul li{
  margin: 0;
  list-style: none;
  float: left;
  width: 20%;
  padding: 0;
  box-sizing: border-box;
  font-size: 14px;
  line-height: 1.2;
  opacity: 0;
  transform: scale(0.5);
}
#listPage ul li.img1{
	transition: scale 0.3s;
  opacity: 1;
  transform: scale(1);
}
#listPage ul li.img2{
	transition: scale 0.3s 0.1s;
  opacity: 1;
  transform: scale(1);
}
#listPage ul li.img3{
	transition: scale 0.3s 0.2s;
  opacity: 1;
  transform: scale(1);
}
#listPage ul li.img4{
	transition: scale 0.3s 0.3s;
  opacity: 1;
  transform: scale(1);
}
#listPage ul li.img5{
	transition: scale 0.3s 0.4s;
  opacity: 1;
  transform: scale(1);
}
#listPage ul li.img6{
	transition: scale 0.3s 0.5s;
  opacity: 1;
  transform: scale(1);
}
#listPage ul li.img7{
	transition: scale 0.3s 0.6s;
  opacity: 1;
  transform: scale(1);
}
#listPage ul li.img8{
	transition: scale 0.3s 0.7s;
  opacity: 1;
  transform: scale(1);
}
#listPage ul li.img9{
	transition: scale 0.3s 0.8s;
  opacity: 1;
  transform: scale(1);
}
#listPage ul li.img10{
	transition: scale 0.3s 0.9s;
  opacity: 1;
  transform: scale(1);
}
#listPage ul li img{
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 750px) {
  #listPage ul li{
    width: 25%;
  }
}
@media (max-width: 560px) {
  #listPage ul li{
    width: 33.3%;
  }
}