* {
   box-sizing: border-box;
}
body {
   margin: 0;
   padding: 0;
   font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", メイリオ, Meiryo, "ＭＳ Ｐゴシック", "Helvetica Neue", Helvetica, Arial, sans-serif;
   background-color: #e6e6e6;
   letter-spacing : 0.2em;
}
header {
   padding: 30px 4% 10px;
   position: fixed;
   top: 0;
   width: 100%;
   background-color: rgba(0, 0, 0, 0.8);
   display: flex;
   align-items: center;
}

h1 {
   margin: 0; padding: 0;
   font-size: 20px;
   text-decoration: none;
   color: #fff;
}

.Introduction{
   margin: 0px;
}

.first{
   font-family: "Hiragino Kaku Gothic Pro";
   margin: 50px;
   color: #000000;
   text-align: center;
   font-size: 50px;
}
.syokai{
   font-family: "ＭＳ Ｐゴシック";
   text-align: center;
   font-size: 23px;
   margin-bottom: 80px;
}


a {	
   text-decoration: none;
   color: #fff;
}

nav {
   margin: 0 0 0 auto;
}
ul {
   list-style: none;
   margin: 0;
   display: flex;
}
li {
   margin: 0 0 0 15px;
   font-size: 14px;
}

.main-visual {
   display: flex;
   justify-content: center;
   align-items: center;
   height: 100vh;
   background: url('Index/main 765lt.jpg') top center / cover no-repeat;
}
h2 {
   margin: 0;
   font-size: 30px;
   font-weight: normal;
   color: #fff;
}

.second-visual{
   display: flex;
   justify-content: center;
   align-items: center;
   height: 100vh;
   background: url('Index/stockcar bugatti.jpg') top center;
   position: relative;
}
.second-visual a {
  font-size: 40px;
  color: #ffffff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transform: translate(230%, 350%);
}

a::after {
position: absolute;
left: 0;
content: '';
width: 100%;
height: 2px;
background: #ffffff;
bottom: -1px;
transform: scale(0, 1);
transform-origin: right top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の右端*/
transition: transform 0.3s;  /*変形の時間*/
}

a:hover::after {
transform: scale(1, 1);     /*ホバー後、x軸方向に1（相対値）伸長*/
transform-origin: left top; /*左から右に向かう*/
}


.end-visual{
   display: flex;
   justify-content: center;
   align-items: center;
   height: 100vh;
   background: url('Index/end kuro.jpg') top center / cover no-repeat;
   position: relative;
}
footer {
  width: 100%;
  height: 120px; 
  text-align: center;
  color: #ffffff;
  padding: 50px 0;
  background-color: #000000;
}
ul.footer-menu li {
display: inline;
}


.main{
   font-size:30px;
}





body{
   background-color: #ffffff;
}

.StockCar-visual{
  display: flex;
   justify-content: center;
   align-items: center;
   height: 100vh;
   background: url('Stock/head SF90.jpg') top center / cover no-repeat;
}

.carstock{
  margin : 30px;
  font-size:35px;
}

.Item{
   float:left;
   display: flex;
}
h3{
   color: #000000;

}

.right{
  text-align: right;
  font-size: 30px;
}







.About-visual{
   display: flex;
   justify-content: center;
   align-items: center;
   height: 100vh;
   background: url('About/about hed.jpg') top center / cover no-repeat;
}
.margin{
   padding-left:0px;
   
}
.size{
   font-size: 2px;
   margin: 200px;
   word-break:break-all;
}
.googlemap{
   margin-left: 200px;
}


.contact-visual{
   display: flex;
   justify-content: center;
   align-items: center;
   height: 100vh;
   background: url('Contact/contact gt3rs.jpg') top center / cover no-repeat;
}




.Form {
  margin-top: 80px;
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
}
@media screen and (max-width: 480px) {
  .Form {
    margin-top: 40px;
  }
}
.Form-Item {
  border-top: 1px solid #ddd;
  padding-top: 24px;
  padding-bottom: 24px;
  width: 100%;
  display: flex;
  align-items: center;
}
@media screen and (max-width: 480px) {
  .Form-Item {
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 16px;
    padding-bottom: 16px;
    flex-wrap: wrap;
  }
}
.Form-Item:nth-child(5) {
  border-bottom: 1px solid #ddd;
}
.Form-Item-Label {
  width: 100%;
  max-width: 248px;
  letter-spacing: 0.05em;
  font-weight: bold;
  font-size: 18px;
}
@media screen and (max-width: 480px) {
  .Form-Item-Label {
    max-width: inherit;
    display: flex;
    align-items: center;
    font-size: 15px;
  }
}
.Form-Item-Label.isMsg {
  margin-top: 8px;
  margin-bottom: auto;
}
@media screen and (max-width: 480px) {
  .Form-Item-Label.isMsg {
    margin-top: 0;
  }
}
.Form-Item-Label-Required {
  border-radius: 6px;
  margin-right: 8px;
  padding-top: 8px;
  padding-bottom: 8px;
  width: 48px;
  display: inline-block;
  text-align: center;
  background: #880000;
  color: #fff;
  font-size: 14px;
}
@media screen and (max-width: 480px) {
  .Form-Item-Label-Required {
    border-radius: 4px;
    padding-top: 4px;
    padding-bottom: 4px;
    width: 32px;
    font-size: 10px;
  }
}
.Form-Item-Input {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-left: 40px;
  padding-left: 1em;
  padding-right: 1em;
  height: 48px;
  flex: 1;
  width: 100%;
  max-width: 410px;
  background: #eaedf2;
  font-size: 18px;
}
@media screen and (max-width: 480px) {
  .Form-Item-Input {
    margin-left: 0;
    margin-top: 18px;
    height: 40px;
    flex: inherit;
    font-size: 15px;
  }
}
.Form-Item-Textarea {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-left: 40px;
  padding-left: 1em;
  padding-right: 1em;
  height: 216px;
  flex: 1;
  width: 100%;
  max-width: 410px;
  background: #eaedf2;
  font-size: 18px;
}
@media screen and (max-width: 480px) {
  .Form-Item-Textarea {
    margin-top: 18px;
    margin-left: 0;
    height: 200px;
    flex: inherit;
    font-size: 15px;
  }
}
.Form-Btn {
  border-radius: 6px;
  margin-top: 32px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 20px;
  padding-bottom: 20px;
  width: 280px;
  display: block;
  letter-spacing: 0.05em;
  background: #000000;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
}
@media screen and (max-width: 480px) {
  .Form-Btn {
    margin-top: 24px;
    padding-top: 8px;
    padding-bottom: 30px;
    width: 160px;
    font-size: 16px;
  }
}




