@charset "UTF-8";

* {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Hiragino Kaku Gothic Pro','Meiryou','sans-serif';
  font-size: 1.8vw;
  background: linear-gradient(#726250 5%,#faffff 30% ,#1d2b38 65%)
}

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

.menu-content {
  display: none;
}

.top {
  width: 100%;
  height: 8vw;
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 0 0 0 0;
  margin-top: 0.3vw;
}

.top img {
  width: 20%;
  height: 8vw;
  margin: 0;
}


.container_service img {
  display: block;
  width: 3vw;
  height: 3vw;
  border-radius: 10%;
  border: solid 1px #fff;
  padding: 1vw 1vw;
  margin-top: 1vw;
  margin-bottom: 0.1vw;
}
.container_service{
  display: flex;
}  

.container_service a {
  display: inline-block;
  font-size: 1.1vw;
}


.more-btn {
	--more-btn-color: #fff;/*矢印と文字の色はここで設定*/
	text-align: center;/*ボタン中央寄せ（右寄せにしたいときはrightに変更）*/
}

.more-btn a {
	position: relative; /*位置（ここを基準に）*/
	padding: 0 2em 0 1.5em; /*内側余白調整（上右下左）*/
	color: var(--more-btn-color);  /*リンク文字色*/
	text-decoration: none; /*リンク下線を消す*/
	outline: none; /*枠線を消す*/
  
}

.more-btn a::before,
.more-btn a::after{
	content: ''; /*矢印部分作成*/
	position: absolute; /*位置（下線と矢印を配置する）*/
	background: var(--more-btn-color); /*矢印の色*/
	height: 1px; /*線の太さ*/
	transition: all .3s; /*なめらかな動き*/
}

.more-btn a::before {
	bottom: 0.05vw; /*下線の下からの距離*/
	left: 5%; /*左からの距離*/
	width: 83%; /*ボタンの幅*/
}

.more-btn a::after {
	bottom: 0.3vw; /*矢印の下からの距離*/
	right: 10%; /*右からの距離*/
	width: 10%; /*矢印部分の幅*/
	transform: rotate(35deg); /*角度調整*/
}

/*マウスオーバー時の動き*/
.more-btn a:hover::before{
	left: 10%;
}

.more-btn a:hover::after {
	right: 10%;
}

.more-btn a:hover::after {
	right: 5%;
}
.header_logo img {
  display: none;
}

#menu-btn-check {
  display: none;
}


.menu-box {
  width: 83.3%;
  margin: 0 auto;
  margin-top: 1vw;
  font-size: 1.3vw;
}


.menu-box ul {
  width: 100%;
  display: flex;
  text-align: center;
}

.menu-box ul li {
  width: 13.77vw;
  text-align: center;
  border-right: 0.11vw solid #a5a5a5;
  background-color: rgba(29, 43, 56, 0.6);
}


.menu-box ul li a {
  display: block;
  color: #fff;
}

.menu-box ul li:first-child {
  border-left: 0.11vw solid #a5a5a5;
}

li {
  display: block;
}

.header_img {
  width: 100%;
  margin: auto;
  margin-bottom: 5vw;
  text-align: center;
  position: relative;
  z-index: 0;
}

.header_img img {
  display: inline-block;
  width: 83.3%;
  height: 27vw;
}

.header_img  p {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 45%;
  transform: translate(-50%,-50%);
  padding: 0px;
  margin: 0 auto;
  line-height: 3;
  font-size: 6.5vw;
  font-weight: bold;
  font-style: italic;
  color: rgba(245,245,245,0.4);
  width: 45vw;
  height: 5vw;
}
.customtuning_box, .drift_box, .simulator_box {
  width: 80vw; /* コンテナ幅を調整 */
  margin: 0 auto;
  padding: 0;
  text-align: left;
  margin-bottom: 2vw;
  border: solid 0.1vw;
  background-color: rgba(240, 246, 245, 0.873);
}

.customtuning, .drift, .simulator {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
}

.customtuning img, .drift img, .simulator img {
  width: 25vw; /* 必要に応じてサイズ調整 */
  height: 100%; /* 画像の高さを100%に設定 */
  object-fit: cover; /* 画像を枠内でトリミングしてアスペクト比を維持 */
  max-height: 24.3vw; /* 親要素の高さと一致させる */
  margin: 0;
}

.customtuning_logo, .drift_logo, .simulator_logo {
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

.customtuning_logo h2, .drift_logo h2, .simulator_logo h2 {
  font-size: 4vw;
  font-weight: bold;
  color: rgba(51,153,102,0.3);
  margin-bottom: -3vw;
}

.customtuning_logo a, .drift_logo a, .simulator_logo a {
  font-size: 2.8vw;
  margin-left: 10vw;
}

.text {
  width: 50vw; /* テキスト部分の幅を調整 */
  font-size: 1.4vw;
  color: #494a41;
  margin-left: 3vw;
}

.simulator .text, .drift .text{
  margin-left: 7vw;
}

.simulator p{
  margin-top: 1vw;
  font-size: 1.5vw;
}

.scroll {
  animation-name:fadeUpAnime;
  animation-duration:0.5s;
  animation-fill-mode:forwards;
  opacity: 0;
}
@keyframes fadeUpAnime{
  from {
    opacity: 0;
  transform: translateY(100px);
  }

  to {
    opacity: 1;
  transform: translateY(0);
  }
}
.scroll {
  animation-delay: 1.0s;
  }


  footer {
    margin: 0;
    padding: 0;
    margin-top: 6vw;
    position: relative; /* absoluteの子要素の基準にする */
    height: 40vw;
  }
  footer img {
    position: relative;
    width: 100vw;
    height: 40vw;
    object-fit: cover;
    display: block;
  }
  .footer_container {
    position: absolute;
    top: 2vw;
    left: 18vw;
    text-align: center;
  }
  .footer_container h1 {
    font-weight: bold;
    color: rgba(119, 198, 176, 0.6);
    font-size: 5vw;
    margin-bottom: 3vw;
  }
  .footer_container h2 {
    margin-top: -7vw;
    margin-left: 4vw;
    font-size: 3vw;
    font-weight: 500;
    color: #d7deea;
    margin-bottom: 4vw;
  }
  .footer_container ul {
    display: flex;
    gap: 5vw;
    margin-bottom: 3vw;
  }
  .footer_container li {
    list-style: none;
    padding: 2vw 4vw;
    font-size: 2vw;
    border: #ccc double .4vw;
  }
  .footer_container a {
    text-decoration: none;
    color: azure;
  }
  .footer_container p {
    color: aliceblue;
    font-size: 1.6vw;
  }
  .footer_container p:nth-of-type(1) {
    padding-bottom: 2vw;
  }
  .footer_container p:nth-of-type(2) {
    margin-top: 2vw;
  }
  .footer_container p:nth-of-type(2), .footer_container p:nth-of-type(3) {
    font-size: 1.4vw;
  }  
  .copy {
    position: relative;
    width: 100vw;
    margin: 0;
    text-align: center;
    color: #fff;
    font-size: 0.8vw;
    background-color: #000000;
    padding: .5vw 0;
  }
@media only screen and (max-width: 600px) {
  
  body {
    border-top: none;
    background: linear-gradient(#dfeafa 5%,#faffff 30% ,#1d2b38 65%)
  }
  .header_logo {
    display: block;
    position: fixed;
    width: 100vw;
    height: 16vw;
    background-color: rgba(119, 198, 176, 0.9);
    margin-top: -0.9vw;
    z-index: 90;
    margin-top: -25vw;
  }
  .header_logo img {
    display: block;
    width: 60vw;
    height: 16vw;
    margin-top: 0.1vw;
    margin-left: 5vw;
  }
  .menu-btn {
  position: fixed;
  top: 8vw;
  right: -4vw;
  height: 16vw;
  width: 16vw;
  justify-content: center;
  align-items: center;
  z-index: 90;
  }

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  content: '';
  display: block;
  height: 0.7vw;
  width: 7vw;
  border-radius: 1vw;
  background-color: #fff;
  position: absolute;
  z-index: 90;
}
.menu-btn span::before {
  bottom: 2vw;
}
.menu-btn span::after {
  top: 2vw;
}

#menu-btn-check:checked ~ .menu-btn span {
  background-color: rgba(255, 255, 255, 0);
}
#menu-btn-check:checked ~ .menu-btn span::before {
  bottom: 0;
  transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-btn span::after {
  top: 0;
  transform: rotate(-45deg);
}

.menu-content {
  display: block;
  width: 100vw;
  height: 300vw;
  position: fixed;
  top: 0;
  left: 100vw;
  z-index: 80;
  background-color: rgba(119, 198, 176, 0.9);
  transition: all 0.5s;
}
  
.menu-content ul {
  padding: 20vw 5vw 0;
}
  
.menu-content ul li {
  border-bottom: solid 0.2vw #fff;
  list-style: none;
}
  
.menu-content ul li a {
  display: block;
  font-size: 4vw;
  box-sizing: border-box;
  color: #fff;
  text-decoration: none;
  padding: 3vw 7vw 2vw 2vw;
  position: relative;
  z-index: 90;
}
  
.menu-content ul li a::before {
  content: "";
  width: 2vw;
  height: 2vw;
  border-top: solid 2px #fff;
  border-right:  solid 2px #fff;
  transform: rotate(45deg);
  position: absolute;
  z-index: 90;
  right: 4vw;
  top: 5vw;
}
  
#menu-btn-check:checked ~ .menu-content {
  left: 0;
} 

.top {
  display: none;
}


.link {
  display: none;
}

.menu-box ul {
  display: none;
}
.header_img {
  display: none;
}



.customtuning_box, .drift_box, .simulator_box{
  width: 96vw;
  height: auto;
  margin: 0 auto;
  border: none;
  margin-bottom: 10vw;
  background-color: #e8eff8c1;
}
.customtuning_box {
  margin-top: 25vw; 
}
.customtuning_logo, .drift_logo, .simulator_logo {
  width: 90vw;
}
.customtuning_logo h2, .drift_logo h2, .simulator_logo h2 {
  font-size: 8vw;
  margin-bottom: -8%;
}
.customtuning_logo a, .drift_logo a, .simulator_logo a {
  font-size: 6vw;
}
.customtuning img, .drift img, .simulator img {
  width: 45vw;
  max-height: 50vw;
}

  
.text {
  width: 50vw;
  font-size: 2.7vw;
  margin: 0 auto;
  margin-top: 3vw;
} 
.drift .text{
  margin-left: 1vw;
}
.simulator .text {
  margin-left: 1vw;
  font-size: 2.6vw;
  margin-top: 5.5vw;
}

.simulator p {
  font-size: 2.8vw;
  margin-left: 10vw;
  margin-top: -0.5vw;
}
.simulator img {
  margin-top: 6.5vw;
  margin-left: -3vw;
}
.text br {
  display: none;
}  

 footer img {
   height: 100vw;
 }
 .footer_container {
   left: 17vw;
 }
 .footer_container h1 {
   font-size: 12vw;
   margin-bottom: 5vw;
   margin-top: 5vw;
 }
 .footer_container h2 {
   margin-top: -14vw;
   font-size: 8vw;
   font-weight: 500;
   color: #d7deea;
   margin-bottom: 4vw;
 }
 .footer_container ul {
   flex-direction: column;
   gap: 4vw;
 }
 .footer_container li {
   padding: 3vw 0;
   border: #ccc double .8vw;
 }
 .footer_container li a {
   font-size: 4vw;
 }
 .footer_container p {
   font-size: 3vw;
 }
 .footer_container p:nth-of-type(2) {
   margin-top: 7vw;
 }
 .footer_container p:nth-of-type(2), .footer_container p:nth-of-type(3) {
   font-size: 3vw;
 }
 .copy {
   font-size: 2vw;
 }
 
}
