@charset "UTF-8";
html{
scroll-behavior:smooth;
}
body {
  /*max-width: 1200px;*/
  background-color: rgba(241, 215, 180, 0.4);
  margin: 0 auto;
}

header,
main,
footer {
  font-size: 16px;
  height: 40px;
  margin: 0 auto;
}
main{
  margin-bottom: 82px;
}
.header-toplogo {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 18;
  font-size: 12px;
  background-color: darkgreen;
  text-align: center;
  color: white;
  display: none;

}

.logo-data {
  display: block;
  width: 200px;
  -webkit-animation: yoko 25s linear infinite;
          animation: yoko 25s linear infinite;
}

@-webkit-keyframes yoko {
  0% {
    transform: translateX(400%);
  }

  100% {
    transform: translateX(-100%);
  }
}

@keyframes yoko {
  0% {
    transform: translateX(400%);
  }

  100% {
    transform: translateX(-100%);
  }
}

.top {
  display: flex;
}

.top .logo {
  
  font-family: Arial, Helvetica, sans-serif;
  width: 280px;
  height: 100px;
  box-shadow: 44px 1px 25px -5px rgba(243, 183, 104, 0.79);
  border: 12px solid #aebdec;
  border-right: 0;
  border-radius: 100% 29% 40% 40%;
  background: linear-gradient(lightyellow, rgb(245, 176, 48));
  text-align: right;
  vertical-align: top;
  line-height: 125px;
  text-shadow: 4px 0px 2px rgba(219, 240, 104, 0.973);
  font-size: 42px;
  font-weight: bold;
  color: cornflowerblue;
  transform: rotate(-1deg)skewX(20deg)scaleY(.9);
}

.btn-set {
  margin-top: 60px;
  margin-left: auto;
  margin-right: 5px;
}

a.btn-tel {
display:none;
  text-decoration: none;
  border: 1px solid #003399;
  padding: 10px 15px;
  border-radius: 6px;
  vertical-align: top;
  margin-right: 20px;
}

a.top-btn {
  color: #003399;
  text-decoration: none;
  border: 1px solid #6600ff;
  /*height:60px;*/
  font-size: 22px;
  padding: 5px 15px;
  border-radius: 6px;
  background-color: rgb(247, 201, 180);
}

.top .btn:hover {
  opacity: 0.6;
  color: snow;
}

header {
  height: 440px;
  width: 100%;
  max-width:1400px;
}

.box1 {
  border: 1px solid #000;
  
  position:relative;
}

div.left {
  float: left;
  width: 60%;
  height: 300px;
  margin-top: -15px;
  /*--------------------------here*/
}
div.left img{
  width: 100%;
  height: 300px;
  -o-object-fit:cover;
     object-fit:cover;

}
div.right {
  float: left;
  width: 40%;
  height: 300px;
}
div.right img{
  height:300px;
  width:100%;
  -o-object-fit:cover;
     object-fit:cover;
  -o-object-position:70% 70%;
     object-position:70% 70%;
}
button.mbtn {
  display:none;
  z-index:21;
  position:absolute;
  top:132px;
  left:1px;
  background:linear-gradient(to bottom ,white, #ffcc66);
  box-shadow:10px 5px 5px rgb(220, 236, 136);
  text-shadow:0px 1px 1px #F00;
  border-radius: 6px;
  border-color: orange;
  margin:10px 0px 0px 10px;
  padding: 6px 5px 6px 5px ;
  font-size: 22px;
  color:rgb(129, 51, 14);
cursor:pointer;
}
button.mbtn:hover{
  opacity:0.5;
 
  
}
#stock button.mbtn{

  display:block;
  box-shadow:5px 5px 15px rgb(148, 143, 143);
  position:absolute;
  padding:5px 12px;
  top:290px;
  left:0;
  z-index:10;
}
/*-----------タイトル用-------*/
.title {
  margin-top: 20px;
  margin: 0 auto;
  width: 100%;
  border-radius: 6px;
  font-size: 26px;
  padding: 10px;
  color: #000;
  font-weight: bold;
  background: #FFF;
  box-shadow: 0 13px 16px rgba(0, 0, 0, 0.2);
  margin-bottom: 30px;
  text-align: center;
  letter-spacing: 10px;
}

/*-----サブタイトル------*/
div.subtitle {
  margin-bottom: 50px;
}

.subtitle h2 {

  border: 1px solid #ff6633;
  width: 70%;
  background-color: #ffcc66;
  text-align: center;
  margin: 0 auto;
  border-radius: 6px;
  padding: 4px;
  box-shadow: 2px 2px #ff6633;
}

ul {
  list-style-type: none;
}

main {
  display: flex;
  /*overflow:hidden;*/
 height: auto;
max-width:1400px;
}


nav {
  width: 300px;
  position: relative;
}

nav {
  float: left;

  width: 300px;
  height: 100%;
}

nav ul {
  padding: 10px;
  z-index:50;
}

nav span.btn {
  margin-top: 60px;
  margin-left: 20px;
  color: #003399;
  text-decoration: none;
  border: 1px solid #6600ff;
  /*height:60px;*/
  font-size: 22px;
  padding: 5px 15px;
  border-radius: 6px;
  background-color: rgb(247, 201, 180);
  display: inline-block;
  text-shadow: 1px 2px 0 orange;
  box-shadow: 4px 6px 0 rgb(245, 145, 0);
}

nav span.btn:hover {
  opacity: 0.6;
  color: snow;
  background-color: rgb(255, 211, 180);

}

nav span.btn:active {
  transform: translateY(3px);
  box-shadow: 0px 0px;
}

nav #menu li a {
  z-index: 70;
  margin-left: 10px;
  margin-right: 20px;
  background-color: #ffcc66;
  display: inline-block;
  text-decoration: none;
  border: 1px solid orange;
  width: 200px;
  padding: 5px 10px;
  border-radius: 5px;
  margin-top: 10px;
  text-align: center;
  text-shadow: 1px 2px 0 orange;
  box-shadow: 4px 6px 0 rgb(255, 145, 0),-4px -6px 10px white;

}

nav #menu li a:hover {
  opacity: 0.7;
  color: rgb(4, 64, 88);
}

nav #menu li a:active {
  transform: translateY(3px);
  background-color: #ffb066;
  box-shadow: 0px 0px;
}

.sections {
  width: 80%;
  /*height:600px;*/
}

table {
  margin: 30px auto;
  border-collapse: collapse;
  width: 100%;

}

th,
td {
  border: 1px solid #000;
  padding: 6px;
}

#auction td:first-child,tbody.car_test .photo{
  padding:0;
  line-height:0;
}

#auction td:first-child img,tbody.car_test img{
  width:100%;
  object-fit:cover;
}
/*
section.gmap {
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
  height:0;
  overflow:hidden;
  padding-bottom:56.25%;
  position:relative;

}*/
section.gmap{
  margin-top: 40px;
margin-left:auto;
margin-right:auto;
overflow:hidden;
width:100%;
height:56vw;
position:relative;
}

section.gmap iframe{
  position:absolute;
  top:0;
  height:100%;
  width:100%;
}
.end {
  border-bottom: 1px solid orange;
}

footer {
  display: none;
  background-color: #ffcc99;
  bottom: 0px;
  height: 48px;
  width: 100%;
  color: white;
  text-shadow: 1px 0px 1px rgb(255, 38, 0);
  text-align: center;
  padding-top: 5px;
position:sticky;
bottom:0px;
}

nav .anime {
  position: absolute;
  top: 350px;
  display: inline-block;
  -webkit-animation: jump 0.9s linear 0s 1;
          animation: jump 0.9s linear 0s 1;
  z-index:20;
}
nav img.back{
  width:90%;
  height:1420px;
  -o-object-fit:cover;
     object-fit:cover;
  -webkit-filter:opacity(40%);
          filter:opacity(40%);
}

@-webkit-keyframes jump {
  0% {
    transform: scale(1.0, 1.0) translate(0px, 0%);
  }

  10% {
    transform: scale(1.1, 0.9) translate(0px, 15px);
  }

  40% {
    transform: scale(1.2, 0.8) translate(0px, 25px);
  }

  50% {
    transform: scale(1.0, 1.0) translate(0px, 0px);
  }

  60% {
    transform: scale(0.9, 1.2) translate(0px, -110px);
  }

  75% {
    transform: scale(0.9, 1.2) translate(0px, -30px);
  }

  85% {
    transform: scale(1.2, 0.8) translate(0px, 25px);
  }

  100% {
    transform: scale(1.0, 1.0) translate(0px, 0px);
  }
}
@keyframes jump {
  0% {
    transform: scale(1.0, 1.0) translate(0px, 0%);
  }

  10% {
    transform: scale(1.1, 0.9) translate(0px, 15px);
  }

  40% {
    transform: scale(1.2, 0.8) translate(0px, 25px);
  }

  50% {
    transform: scale(1.0, 1.0) translate(0px, 0px);
  }

  60% {
    transform: scale(0.9, 1.2) translate(0px, -110px);
  }

  75% {
    transform: scale(0.9, 1.2) translate(0px, -30px);
  }

  85% {
    transform: scale(1.2, 0.8) translate(0px, 25px);
  }

  100% {
    transform: scale(1.0, 1.0) translate(0px, 0px);
  }
}

/*ffcc66  #6699ff  #003399*/
/*ffcc99  #99ccff  #003366*/
/*ff6633  補色＃33CCFF　反対色＃0099㏄*/


/*slide show用*/

#slider {
  list-style-type: none;
  pointer-events: none;
  position: relative;
  top: 50px;
  left: 40px;
}

#slider>li {


  z-index: 10;
  padding: 4px 12px;
  border-radius: 6px;
  display: inline-block;
  box-shadow: 12px -12px 2px white;
  background-color: rgb(223, 248, 248);
  opacity: 0;
  position: absolute;
  transition: all 6s ease-in-out;
}

#slider>li.on {
  z-index: 10;
  opacity: 1;

}

/*  車検ページ*/
.flex table {
  border-collapse: separate;
  border-spacing: 5px;
}

.flex td,
.flex th {
  font-size: 21px;
  color: rgba(0, 4, 255, 0.952);
  text-shadow: 0px 0px 0px white;
  background-color: #f3ab93;
  font-weight: bold;
  border: 1px solid rgba(18, 11, 82, 0.267);
  letter-spacing: 2px;
  border-radius: 8px;

}

.flex td {
  text-align: center;
  height: 100px;
  width: 100px;

}

.box {
  font-size: 20px;
  letter-spacing: 3px;
  width: 50%;
  color: #003399;
  margin-left: 50px;
}

.box ol {

  display: block;
  width: 100%;

}

.box li {
  list-style-position: inside;
  border-bottom: 1px solid #003399;
  margin-top: 10px;
}

a.btn {
  position: fixed;
  right: 10px;
  bottom: 10px;
  text-decoration: none;
  border: 4px solid #6699ff;
  padding: 10px 5px;
  border-radius: 8px;
  z-index: 10;
  opacity: 0.6;
  color: cornsilk;
  background-color: rgb(56, 102, 114);
  display: none;
}

/*-オークション-*/
.leftimg {
  padding: 10px;
  float: left;

}

p.text {
  font-size: 23px;
  text-indent: 1em;
  line-height: 35px;
  letter-spacing: 2px;
}

/*-----------------ストック-------------*/
.car_info {
  border: 3px solid rgb(116, 116, 248);
  /*display:flex;*/
  border-radius: 10px;
  padding: 16px 6px 5px;
  margin-right: 10px;
  margin-bottom: 20px;
  width: 840px;
}

.flex-left {
  width: 262px;
  display: inline-block;
}

.flex-right {
  width: 570px;
  display: inline-block;
}

.flex-left {
  
  width: 200px;
  margin-left: 10px;
  overflow: hidden;

}

/*
table.photo tr{
  height:75px;
}
table.photo td{
  padding:0;
  border:0;
  margin-bottom:0;
  border-collapse:collapse;
  border-spacing:0px;
}
table.photo td a img.w{
  padding:0;
margin:0;
height:180px;
width:auto;

}
table.photo td img.ws{
  padding:0;
margin:0;
width:81px;
height:auto;

}
*/
.flex.carinfo table {
  width: 95%;
  margin: 0;
}

.flex.carinfo table caption {
  font-weight: bold;
  font-size: 24px;
}

.flex.carinfo td,
.flex.carinfo th {
  font-weight: normal;
  font-size: 14px;
  background-color: rgba(255, 135, 66, 0.1);
  letter-spacing: 0;
  padding: 5px;

}

table.price {

  margin: 0;
  margin-left: 10px;
  margin-right: 10px;
  border: 0;
  text-align: left;
  width: 550px;
}


table.price td,
table.price th {
  border: 0;

}

table.price tr td {
  padding-left: 26px;
  color: red;
}

table.price th:first-child span {
  padding-left: 16px;
  border-left: 6px solid palegreen;
}

table.price th:last-child span {
  padding-left: 16px;
  border-left: 6px solid rgb(251, 152, 218);
}

table.price tr:first-child {
  border-top: 1px solid gray;
}

table.price tr:last-child {
  border-bottom: 1px solid gray;
}


/*tmp*/
.toplogo {
  width: 300px;
}

.bottom-btn {
  cursor: default;
}

/*car-stock*/
#stock #menu {
  transform-style: preserve-3d;

}

#stock #menu li {
  transition-duration: 0.6s;
}



#stock #menu li.off {
  transform: rotateX(90deg);


}

#stock #menu button {
  background-color: #ffcc66;
  border-radius: 5px;
  border-color: orange;
  padding: 10px 15px;
}

#stock #menu button:hover {
  opacity: 0.6;
  color: white;

}

#stock #menu li.on {
  transform: rotateX(0deg);
}

#stock .flex-left {
  position: relative;
}

#stock #car {
  z-index: 10;
  position: absolute;
  bottom: 10px;
  left: 10px;
}
/*インデクス*/
/*
body#home{
  height:1000px;
} */
 div.title{
  letter-spacing:0px;
  font-size: 24px;
  color:plum;
  overflow:hidden;

}
#home div.title.head{
  position:relative;
  -webkit-animation:upper 4s ease-in-out forwards;
          animation:upper 4s ease-in-out forwards;
 height:30px;
}

@-webkit-keyframes upper{
  100%{
    transform:translateY(-100px);
    width:500px;
  }
}

@keyframes upper{
  100%{
    transform:translateY(-100px);
    width:500px;
  }
}
#home div.title .one,#home div.title .two{
  position:absolute;
}
#home div.title.head .two{
  display:none;
}
 div.subtitle{
  margin-bottom: 10px;
}
#home .sell{
  font-size: 18px;
  margin-top:-50px;
}
span.line{
  text-decoration:underline;
}
.rote{
  letter-spacing:0px;
  display:inline-block;
  transform:rotate(-13deg);
}
.turbo{
  margin:30px 20px;
  padding:18px 20px 0;

  border:1px dotted orangered;
  border-radius:8px;
  font-size: 18px;

}
.turbo h2{
  text-align:center;
}
.turbo dt{
  color:orangered;
}
.turbo dd{
  margin-bottom:15px;
  border-bottom: 1px solid orange;
}
@media(max-width:400px) {
 
header{
  height:200px;
  position:relative;
}
#slider{
  top:110px;
}

  .top .logo{
    vertical-align:bottom;
    line-height:45px;
    width:140px;
    height:50px;
    font-size:22px;
  }
  .btn-set {
    margin-top: 20px;
    margin-left: auto;
    margin-right: 5px;
    overflow:hidden;
  }
  a.top-btn:last-child{
    display:none;
  }
  a.top-btn{
  padding:5px 10px;
    vertical-align:bottom;
    font-size: 16px;
  }
  .btn-set>a.btn-tel{
    display:inline-block;
    vertical-align:bottom;
    padding:5px 10px;
    margin-right:5px;
  }

  main{
    display:block;
  }
div.rigth,div.left{
clear:left;
width:100%;
}
div.left{
  overflow:hidden;
  position:fixed;
  top:0;
  z-index:-1;
  height:200px;
  opacity:0.8;
  -o-object-fit:scale-down;
     object-fit:scale-down;
}
.left .anime>img{
  width:500px;
  height:280px;
  opacity:0.9;
  -o-object-fit:scale-down;
     object-fit:scale-down;
}

div.right{
  display:none;
}
button.mbtn{
  display:block;
}

#stock button.mbtn {
  z-index:21;
  position:absolute;
  top:60px;
  left:1px;
  background:linear-gradient(to bottom ,white, #ffcc66);
  box-shadow:8px 1px 10px rgb(220, 236, 136);
  text-shadow:0px 1px 1px #F00;
  border-radius: 6px;
  border-color: orange;
  margin:10px 0px 0px 10px;
  padding: 6px 5px 6px 5px ;
  font-size: 22px;
  color:rgb(129, 51, 14);
cursor:pointer;
}






nav{
  height:0px;
  background-color:transparent;
  
}
nav img{
  display:none;
}
#menu {
  transform-style: preserve-3d;
  z-index:20;
  position:fixed;
  
  left:5px;

}

#menu li {
  transition-duration: 0.6s;
 
}

#menu li.off {
  transform: rotateX(90deg);
pointer-events:none;

}



#menu li.on {
  transform: rotateX(0deg);
  pointer-events:auto;
}

nav .anime a img{

  -o-object-fit:scale-down;

     object-fit:scale-down;
  height:75px;
  width:70px;
}
nav .anime {
  position: absolute;

  top: -45px;
  left:280px;
  display: inline-block;
  
}

.sections{
  width:95%;
}
.sections section{
min-width:350px;
margin-left:20px;
}
.title{
  margin:5px auto;
  width:95%;
}
a.btn{
  padding:2px;
  left:300px;
  bottom:30px;
  background-color:rgba(243, 207, 183, 0.822);
  font-size: 12px;
}
footer{
height:30px;
font-size: 12px;
width:100%;
padding:0;
}
footer>address{
  font-size: 10px;
}
/*home*/
#home .btn-set a.top-btn{
  display:none;
}
#home .title.head {
  font-size: 17px;
  width:380px;
  margin-top:1px;
  margin-bottom:1px;
  padding:2px 0 0 5px;
}
#home section.sell{
  margin-top: -30px;
}
.subtitle h2{
  font-size: 22px;
}
#home div.title{
  font-size: 21px;
}

#home section.turbo{
  width:345px;
  margin:2px 5px 20px 5px;
}
dl{
  font-size: 17px;
  margin-bottom:41px;
}
#auction p.text{
  font-size:16px;
}
.box{
  font-size:14px;
}
/*車検*/
.flex td,.flex th{
  font-size: 14px;
}
.flex td{
  height:50px;
  width:50px;
}
td,th{
  font-size: 14px;
}
table{
  margin:15px auto;
}
}