@import url('https://fonts.googleapis.com/css2?family=Satisfy&display=swap');

#main-visual{
  position: relative;
}
#main-visual #maintext{
  position: absolute;
  left: 10%;
  top: 25%;
  width: 600px;
  max-width: 80%;
  z-index: 3;
}
#main-visual h1#main-title{
  position: absolute;
  left: 5%;
  top: 180px;
  width: 600px;
  z-index: 2;
}
.contents h1{
  font-weight: normal;
    font-size: 1.5em;
    line-height: 2em;
}
.contents h2,h3,h4{
  margin: 0;
}
.middle_contents{
  width: 1000px;
  max-width: 100%;
  margin: 0 auto 100px;
}
.middle2_contents{
  width: 800px;
  max-width: 100%;
  margin: 0 auto 100px;
}
.products_text img{
  margin-bottom: 15px;
}
.products_text h2{
  font-size: 1.4em;
  margin-bottom: 30px;
}
.products_text h2 span{
  font-size: 0.7em;
}
.products_text_inner{
  position: relative;
  width: 500px;
  max-width: 100%;
  margin: auto;
}
.products_text_inner .new{
  position: absolute;
  top: -5px;
  left: 10%;
  color: red;
  background: #fff;
  border: 2px solid red;
  padding: 0px 8px;
  font-weight: bold;
}
.linkbtn{
  display: inline-block;
  background-color: #262626;
  color: #fff;
  padding: 10px 60px;
  border-radius: 5px;
  margin-top: 10px;
}
.gap{
  gap: 40px;
}
#news{
  background-image: url(/motor/effex/ezfitbar/img/background_pc.jpg);
}
#about{
  background-image: url(/motor/effex/ezfitbar/img/about_effex-ezfitbar_pc.jpg);
}
#about_inner{
  justify-content: flex-start;
}
#about_inner_contents .about_title{
  background-color: #ccc;
  color: #000;
  padding: 5px 0;
  margin-bottom: 30px;
}
#about_inner_contents .about_title h6{
  font-style: normal;
  margin-bottom: 0;
}
#about_inner_contents{
  background-color: rgba(0,0,0,0.6);
  color: #fff;
  text-align: center;
}

#main-visual #main-text{
  position: absolute;
  z-index: 2;
  right: 5%;
  top: 50%;
  background-color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 30px 50px;
  box-sizing: border-box;
}
#main-visual #main-text h1{
  font-size: 1.3em;
  margin: 0 0 15px;
}
#main-visual #main-text p{
  margin-top: -10px;
}
.mySwiperThumb{
  height: auto;
  padding-top: 30px;
}
#egh_Text{
  width: 450px;
  max-width: 100%;
  margin: 40px auto;
  font-size: 1.2em;
  line-height: 1.8em;
}
#footer_flex{
  margin-top: 120px;
  align-items: center !important;
}
.footer_detail{
  padding: 20px 30px;
  box-sizing: border-box;
  font-size: 1.1em;
  line-height: 1.8em;
}
.footer_detail .linkbtn{
  margin-top: 30px;
}
#egh_detail .flex{
  justify-content: flex-start;
  align-items: baseline;
}
.spec_table{
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
}
.spec_table th,
.spec_table td{
  padding: 5px 15px;
  box-sizing: border-box;
  border: 1px solid #aaa;
}
.spec_table th{
  white-space: nowrap;
  background-color: #eee;
  font-weight: normal;
  text-align: left;
}
#egh_detail .howtoflex{
  justify-content: flex-start;
  align-items: start;
}
#egh_detail .howtoflex .howto_left{
  width: 40%;
}
#egh_detail .howtoflex .howto_right{
  width: 60%;
}
#egh_detail .howtoflex .howto_right h4{
  display: inline-block;
  border: 1px solid #000;
  padding: 5px 10px;
  box-sizing: border-box;
  margin-bottom: 15px;
}
#caution{
  color: red;
}
#caution ul{
  padding-left: 0;
  margin-left: 25px;
}

@media screen and (max-width: 768px) {
  .contents h1{
      font-size: 1em;
      line-height: 2em;
  }
  #main-visual h1#main-title{
    width: 80%;
    top: 80px;
  }
  .middle_contents,
  .middle2_contents{
    margin: 0 auto 60px;
  }
  #news{
    background-image: url(/motor/effex/ezfitbar/img/background_sp.jpg);
  }
  #about{
    background-image: url(/motor/effex/ezfitbar/img/about_effex-ezfitbar_sp.jpg);
  }
  .products_text_inner .new{
    left: 5%;
  }
  #main-visual #main-text{
    padding: 15px;
    top: 65%;
    left: 0;
    right: 0;
    max-width: 95%;
    margin: auto;
  }
  #main-visual #main-text h1{
    font-size: 1.2em;
  }
  .mySwiperThumb{
    padding-top: 15px;
  }
  #egh_Text{
    margin: 30px auto 0;
    font-size: 1.1em;
    line-height: 1.7em;
  }
  #egh_detail .howtoflex .howto_left,
  #egh_detail .howtoflex .howto_right{
    width: 100%;
  }
  #egh_detail .howtoflex .howto_left{
    margin-bottom: 15px;
  }
  #footer_flex{
    margin-top: 60px;
  }
  .footer_detail{
    padding: 0;
  }
  .spec_table th,
  .spec_table td{
    padding: 5px 10px;
  }
  .spec_table tr.sp{
    display: table-row;
  }
}