@charset "UTF-8";

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html{
  font-size: 100%;
}

body{
  color: black;
  min-height: 100vh;
  position: relative;
}

li{
  list-style: none;
}

a{
  text-decoration: none;
  color: black;
}

a:hover{
  opacity: 0.7;
  transition-duration: 0.5s;
}

.wrapper{
  max-width: 1360px;
  padding: 0 40px;
  margin: 0 auto;
  width: 100%;
}

#header{
  display: flex;
  justify-content: space-between;
  position: fixed;
  align-items: center;
  width: 100%;
  height: 80px;
  background-color: white;
  z-index: 10;
  right: 0;
  left: 0;
}

#header img{
  width: 200px;
  margin-top: 10px;
}

/*ハンバーガーメニュー*/

#menu{
  position: fixed;
  transition: left 0.5s ease;
  left: -300px;
  width: 300px;
  opacity: 0;
  z-index: 20;
  padding: 30px 50px;
  top: 0;
}

#menu li{
margin-bottom: 20px;
}


#menu a{
  color: white;
}

.open #menu{
  left: 0;
  opacity: 1;
}

.hamburger{
  cursor: pointer;
  position: relative;
  z-index: 20;
  width: 30px;
  height: 30px;
  transition: 0.5s;
}

.hamburger span{
  display: block;
  position: absolute;
  width: 30px;
  height: 2px;
  background-color: black;
  transition: all 0.5s;
}

.hamburger span:nth-child(1){
  top: 10px;
}

.hamburger span:nth-child(2){
  bottom: 10px;
}

.open .hamburger span{
  background-color: white;
}

.open .hamburger span:nth-child(1){
  -webkit-transform: translateY(4px) rotate(-45deg);
  transform: translateY(4px) rotate(-45deg);
}

.open .hamburger span:nth-child(2){
  -webkit-transform: translateY(-4px) rotate(45deg);
  transform: translateY(-4px) rotate(45deg);
}

#mask{
  display: none;
  transition: all 0.5s;
}

.open #mask{
  display: block;
  position: fixed;
  background:black;
  width: 100%;
  height: 100%;
  z-index: 10;
  top: 0;
  left: 0;
  opacity: 0.8;
}

/*メイン*/

.site-title{
  font-size: 20px;
}

#top{
  padding-top: 80px;
  padding-bottom: 100px;
}

.products{
  font-size: 15px;
  font-weight: 350;
  margin: 30px 0;
}

.products-item{
  display: grid;
  grid-template-columns:repeat(4, 1fr);
  gap: 35px;
}

#top img{
  margin-bottom: 10px;
  width: 100%;
  

}

#top p{
  font-size: 12px;
}


#page{
  font-size: 15px;
  font-weight: 350;
}

.products-page{
  display: flex;
  text-align: center;
  justify-content: center;
  font-size: 15px;
}

.products-page li{
  margin: 30px 20px 100px;
}


/*ITEM*/

.item-image{
  width: 800px;
  display: flex;
  justify-items: space-between;

}

.titel{
  font-size: small;
  font-weight: 400;
  padding-top: 100px;
  margin-bottom: 30px;
}



.item-text {
  font-size: 15px;
  font-weight: 350;
}

.item-image img{
  width: 50%;
  margin-right: 40px;
}

.item-text p{
  margin-bottom: 30px;
  text-align: justify;
}

.item-text dl{
  display: flex;
  flex-wrap: wrap;
}

.item-text dt{
  width: 30%;
}

.item-text dd{
  width: 70%;
}


/*ABOUT*/

#about{
  max-width: 600px;
}

.about-title{
  font-size: small;
  margin-bottom: 30px;
  font-weight: 350;
  padding-top: 120px;
}

#about p{
  margin-bottom: 30px;
  font-weight: 350;
  font-size: 15px;
  line-height: 2;
}

/*COMPANY*/

.company-title{
  font-size: small;
}

#company{
  max-width: 600px;
}

.company-title{
  padding-top: 100px;
  font-weight: 350;
}

.company-text dl{
  display: flex;
  flex-wrap: wrap;
  font-weight: 350;
}

.company-text dt{
  width: 30%;
  border-bottom: 1px solid lightgray;
  padding: 20px;
}

.company-text dt:last-of-type{
  border-bottom: none;
}

.company-text dd{
  width: 70%;
  border-bottom: 1px solid lightgray;
  padding: 20px 10px;
}

.company-text dd:last-of-type{
  border-bottom: none;
}

.map{
  filter: grayscale(1);
}

.map iframe{
  width: 100%;
  height: 300px;
}


.viwemore{
  text-align: center;
  margin-top: 30px;
  margin-bottom: 100px;
  font-size: 13px;
}

.back{
  display: flex;
  text-align: center;
  justify-content: center;
  margin-top: 40px;
  font-size: 15px;
  font-weight: 350;
}

/*フッター*/

#footer{
  display: flex;
  justify-content: space-between;
  position: absolute;
  bottom: 20px;
  font-size: 12px;
  right: 0;
  left: 0;
}

#footer .sns {
  display: flex
}

#footer .sns li{
  margin-right: 30px;
}

#footer p{
  font-size: 10px;
}


@media screen and (max-width:900px){

  .products-item{
    grid-template-columns:repeat(2, 1fr);
    gap: 20px ;
  }

  

  .item-image{
    flex-direction: column;
    margin-bottom: 30px;
    width: 100%;
  }

  .item-image img{
    width: 100%;
    margin-bottom: 30px;
  }

  .company-title{
    margin-bottom: 30px;
  }

  #company dl{
    flex-direction: column;
  }

  #company dt{
    border-bottom: none;
    padding: 20px 10px 5px;
  }

  #company dd{
    padding: 5px 10px 20px;
    width: 100%;
  }

  .map{
    margin-top: 30px;
  }

  .back{
    padding-bottom: 160px;
  }

  #footer{
    flex-direction: column;
  }

  #footer .sns{
    margin-bottom: 5px;
  }


  

  }
