@charset "UTF-8";


/*------------------------------------------------------------
	container
------------------------------------------------------------*/
#container{
  max-width: 100%;
  padding: 88px 0px 88px 300px;
}
#container #contents{
  position: absolute;
  left: 300px;
  top: 88px;
  width: calc(100% - 300px);
  height: calc(100% - 88px - 88px);
}
#contents::after{
  display: none;
}
@media only screen and (max-width:1200px) {
  #container{
    padding: 88px 0px 88px 270px;
  }
  #container #contents{
    left: 270px;
    width: calc(100% - 270px);
  }
}
@media only screen and (max-width:980px) {
  #container{
    padding: 152px 0px 113px 0;
  }
  #container #contents{
    left: 0;
    top: 152px;
    width: 100%;
    height: calc(100% - 152px - 113px);
  }
}
@media only screen and (max-width:768px) {
  #container{
    padding: 71px 0px 108px 0;
  }
  #container #contents{
    top: 71px;
    width: 100%;
    height: calc(100% - 71px - 108px);
  }
}


/*------------------------------------------------------------
	listMenu
------------------------------------------------------------*/
#listMenu{
  position: fixed;
  right: 0;
  top: 88px;
  height: calc(100% - 88px - 88px);
  width: 400px;
  transition: transform .6s;
  color: #3a4351;
}
#listMenu.active{
  transform: translateX(100%);
}
#listMenu #listMenuBtn{
  display: block;
  width: 40px;
  height: 40px;
  background: #3a4351;
  position: absolute;
  left: -40px;
  top: 0;
  cursor: pointer;
  border-radius: 4px 0 0 4px
}
#listMenu #listMenuBtn::before{
  content: "";
  position: absolute;
  top: calc(50% - 6px);
  width: 12px;
  height: 12px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  right: 16px;
  transform: rotate(45deg);
}
#listMenu.active #listMenuBtn::before{
  right: 10px;
  transform: rotate(-135deg);
}
#listMenu .over{
  background: #e6e6e6;
  height: 100%;
  overflow-y: auto;
  transition: height .4s;
}
#listMenu.editBoxOpen .over{
  height: calc(100% - 170px);
}
#listMenu .editList{
  padding: 20px;
}
#listMenu .editList li{
  font-size: 14px;
  cursor: pointer;
  line-height: 1.4;
}
#listMenu .editList li:not(:first-child){
  margin-top: 6px;
}
#listMenu .editBox{
  margin-top: 3px;
  height: 170px;
  width: 100%;
  background: #f2f2f2;
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 0 20px;
  display: flex;
  align-items: center;
  transform: translateY(100%);
  transition: transform .4s;
}
#listMenu.editBoxOpen .editBox{
  transform: translateY(0);
}
#listMenu .editBox h3{
  font-size: 16px;
  font-weight: bold;
}
#listMenu .editBox p{
  font-size: 14px;
}
#listMenu .editBox table{
  border-spacing: 0;
}
#listMenu .editBox table th{
  font-size: 14px;
  font-weight: bold;
  padding: 5px 10px 0 0;
}
#listMenu .editBox table td{
	font-size: 14px;
  padding: 5px 10px 0 0;
}
#listMenu .editBox table td:last-child{
  padding-right: 0;
}
#listMenu .editBox table td span{
  width: 14px;
  margin-right: 8px;
}
#listMenu .editBox table td input{
  width: 75px;
	height: 24px;
	margin: 0;
	padding: 0 5px;
	font-size: 14px;
	line-height: 1.5;
	border: none;
	border-radius: 4px;
	cursor: pointer;
  color: #3a4351;
}
@media only screen and (max-width:980px) {
  #listMenu{
    top: 152px;
    height: calc(100% - 152px - 113px);
  }
}
@media only screen and (max-width:768px) {
  #listMenu{
    top: 71px;
    height: calc(100% - 71px - 108px);
    width: 270px;
  }
  #listMenu.editBoxOpen .over{
    height: calc(100% - 140px);
  }
  #listMenu .editList li:not(:first-child){
    margin-top: 10px;
  }
  #listMenu .editBox{
    height: 140px;
  }
  #listMenu .editBox h3{
    font-size: 14px;
  }
  #listMenu .editBox p{
    font-size: 13px;
  }
  #listMenu .editBox table th {
    font-size: 11px;
  }
  #listMenu .editBox table td input{
    width: 35px;
  }
}


/*------------------------------------------------------------
	fBtn
------------------------------------------------------------*/
#fBtn{
  position: fixed;
  left: 300px;
  bottom: 0;
  width: calc(100% - 300px);
  background: #fff;
  padding: 20px 40px 30px;
  display: flex;
  justify-content: space-between;
}
#fBtn ul{
  display: flex;
  gap: 10px;
}
#fBtn ul li button{
	display: block;
	width: 100px;
	height: 38px;
	border: none;
	border-radius: 4px;
	background: #3A4351;
	color: #fff;
	font-size: 14px;
	text-align: center;
	cursor: pointer;
  padding: 0;
}
#fBtn ul li button br{
  display: none;
}
#fBtn .saveBtn button{
	display: block;
	width: 320px;
	height: 38px;
	border: none;
	border-radius: 4px;
	background: #3A4351;
	color: #fff;
	font-size: 14px;
	text-align: center;
	cursor: pointer;
  padding: 0;
}
@media only screen and (max-width:1200px) {
  #fBtn{
    left: 270px;
    width: calc(100% - 270px);
  }
  #fBtn ul li button{
    width: 90px;
  }
  #fBtn .saveBtn button{
    width: 180px;
  }
}
@media only screen and (max-width:980px) {
  #fBtn{
    left: 0;
    width: 100%;
    padding: 20px 20px 55px;
  }
}
@media only screen and (max-width:768px) {
  #fBtn{
    padding: 15px 20px 55px;
  }
  #fBtn ul{
    gap: 0;
    width: 70%;
  }
  #fBtn ul li{
    width: 25%;
    padding-right: 2px;
  }
  #fBtn ul li button{
    width: 100%;
  	font-size: 11px;
    line-height: 1.2;
  }
  #fBtn ul li button br{
    display: block;
  }
  #fBtn .saveBtn{
    width: 30%;
    padding-left: 18px;
  }
  #fBtn .saveBtn button{
    width: 100%;
  	font-size: 12px;
  }
}


/*------------------------------------------------------------
	footer
------------------------------------------------------------*/
@media only screen and (max-width:980px) {
  footer{
    position: fixed;
    left: 0;
    bottom: 0;
    padding: 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
  }
  footer ul{
    margin: 0;
  }
}
@media only screen and (max-width:768px) {
  footer{
    display: block;
    padding: 20px 20px 12px 20px;
  }
  footer ul{
    margin-bottom: 5px;
  }
}

/*------------------------------------------------------------
	gizmoControl
------------------------------------------------------------*/
#moveGizmo{
  position: fixed;
  bottom: 88px;
  left: 340px;
  width: 70px;
  height: 40px;
  background-color: RGBA(0,0,0,0.5);
  color: #fff;
  border-radius: 10px;
  text-align: center;
  padding-top: 9px;
}
#rotateGizmo{
  position: fixed;
  bottom: 88px;
  left: 420px;
  width: 70px;
  height: 40px;
  background-color: RGBA(0,0,0,0.5);
  color: #fff;
  border-radius: 10px;
  text-align: center;
  padding-top: 9px;
}
#scaleGizmo{
  position: fixed;
  bottom: 88px;
  left: 500px;
  width: 100px;
  height: 40px;
  background-color: RGBA(0,0,0,0.5);
  color: #fff;
  border-radius: 10px;
  text-align: center;
  padding-top: 9px;
}
@media only screen and (max-width:1200px) {
  #moveGizmo{
    left: 310px;
    bottom: 88px;
  }
  #rotateGizmo{
    left: 390px;
    bottom: 88px;
  }
  #scaleGizmo{
    left: 470px;
    bottom: 88px;
  }
}
@media only screen and (max-width:900px) {
  #moveGizmo{
    left: 20px;
    bottom: 123px;
  }
  #rotateGizmo{
    left: 100px;
    bottom: 123px;
  }
  #scaleGizmo{
    left: 180px;
    bottom: 123px;
  }
}
@media only screen and (max-width:768px) {
  #moveGizmo{
    left: 20px;
    bottom: 108px 
  }
  #rotateGizmo{
    left: 100px;
    bottom: 108px;
  }
  #scaleGizmo{
    left: 180px;
    bottom: 108px;
  }
}

/*------------------------------------------------------------
	wireframe, transparent
------------------------------------------------------------*/
#wireframe{
  position: fixed;
  display: inline-block;
  top: 118px;
  left: 340px;
  width: auto;
  height: 40px;
  color: #fff;
  border-radius: 10px;
  text-align: center;
  padding: 9px 10px 0;
  user-select: none;
}

#transparent{
  position: fixed;
  display: inline-block;
  top: 118px;
  left: 433px;
  width: auto;
  height: 40px;
  color: #fff;
  border-radius: 10px;
  text-align: center;
  padding: 9px 10px 0;
  user-select: none;
}

@media only screen and (max-width:1200px) {
  #wireframe{
    left: 310px;
  }
  #transparent{
    left: 410px;
  }
}
@media only screen and (max-width:980px) {
  #wireframe{
    left: 20px;
    top: 190px;
  }
  #transparent{
    left: 113px;
    top: 190px;
  }
}
@media only screen and (max-width:768px) {
  #wireframe{
    left: 20px;
    top: 90px;
  }
  #transparent{
    left: 113px;
    top: 90px;
  }
}

#wireframe.wire_on, #transparent.trp_on{
  background-color: RGBA(0,0,0,0.1);
}
#wireframe.wire_off, #transparent.trp_off{
  background-color: RGBA(0,0,0,0.5);
}

/*------------------------------------------------------------
	background
------------------------------------------------------------*/
#scene canvas{
  background: #FFF !important;
}
#effect{
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(0,0,0,0) 0%,rgba(0,0,0,0) 50%,rgba(0,0,0,1) 100%);
  pointer-events: none;
  opacity: .2;
}

/*------------------------------------------------------------
	angle
------------------------------------------------------------*/
#direction{
  position: fixed;
  top: 178px;
  left: 340px;
}
li.angle{
  display: block;
  width: 60px;
  height: 38px;
  border: none;
  border-radius: 4px;
  background: #3A4351;
  color: #fff;
  font-size: 14px;
  text-align: center;
  cursor: pointer;
  padding-top: 7px;
  margin-bottom: 10px;
}
@media only screen and (max-width:1200px) {
  #direction{
    left: 310px;
  }
}

@media only screen and (max-width:980px) {
  #direction{
    left: 20px;
    top: 250px;
  }
}

@media only screen and (max-width:768px) {
  #direction{
    left: 20px;
    top: 150px;
  }
  li.angle{
    margin-bottom: 2px;
  }
}

/*------------------------------------------------------------
	panel select
------------------------------------------------------------*/
#selectBox_disp{
  height: 30px;
  position: absolute;
  bottom: 35px;
  width: 155px;
  right: 440px;
}

@media only screen and (max-width:1400px) {
  #selectBox_disp{
    bottom: 94px;
    left: 320px;
  }
}

@media only screen and (max-width:1170px) {
  #selectBox_disp{
    bottom: 145px;
    left: 40px;
  }
}

@media only screen and (max-width:900px) {
  #selectBox_disp{
    bottom: 190px;
    left: 20px;
  }
}

@media only screen and (max-width:768px) {
  #selectBox_disp{
    bottom: 160px;
    left: 22px;
  }
}

#position_pulldown{
  background: transparent;
  font-size: 12px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  position: absolute;
  bottom: 0px;
  height: 30px;
  left: 0;
  width: auto;
  -webkit-appearance: none;
  appearance: none;
}

#disp_pulldown{
  background: transparent;
  font-size: 12px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  position: absolute;
  left: 0;
  bottom: 0px;
  height: 30px;
  width: auto;
  -webkit-appearance: none;
  appearance: none;
}
#selectBox_pos::after,
#selectBox_disp::after{
  content: "";
  display: block;
  position: absolute;
  top: -4px;
  right: 0;
  width: 20px;
  height: 40px;
  background-image: url("../common/img/icon_select_arrow.svg");
  pointer-events: none;
}