@charset "UTF-8";

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
}

body {
  display: flex;
  flex-direction: column;
  color: #333;
  font-size: 0.875rem;
  min-height: 100vh;
  min-height: 100dvh;
}

main {
  flex: 1;
}

a {
  color: #333;
  text-decoration: none;
  transition: all 0.5s;
}
a:hover {
  opacity: 0.5;
}
img {
  max-width: 100%;
}
li {
  list-style: none;
}

.wrapper {
  width: 100%;
  max-width: 1360px;
  padding: 0 40px;
  margin: 0 auto;
}

.site-title {
  line-height: 1px;
}

.site-title a {
  display: block;
  width: 180px;
}

.page-title {
  font-size: 0.875rem;
  font-weight: normal;
  padding-top: 40px;
  margin-bottom: 30px;
}

.content {
  padding-top: 120px;
  padding-bottom: 160px;
}

/*-------------------------------------------
header 
-------------------------------------------*/

#header {
  width: 100%;
  height: 80px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  background-color: #fff;
  transition: all 0.5s;
}

#header .contener {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#nav {
  width: 300px;
  position: fixed;
  top: 0;
  left: -300px;
  z-index: 20;
  padding: 36px 50px;
  transition: all 0.5s;
  opacity: 0;
}

#nav li a {
  color: #fff;
}

#nav .nav-menu li {
  margin-bottom: 14px;
}

.open #nav {
  left: 0;
  opacity: 1;
}

.toggle-btn {
  position: relative;
  width: 30px;
  height: 30px;
  transition: all 0.5s;
}

.toggle-btn span {
  position: absolute;
  display: block;
  width: 30px;
  height: 2px;
  background-color: #000;
  border-radius: 8px;
  transition: all 0.5s;
}

.toggle-btn span:nth-child(1) {
  top: 10px;
}
.toggle-btn span:nth-child(2) {
  bottom: 10px;
}

.open .toggle-btn {
  background-color: #fff;
}

.open .toggle-btn span:nth-child(1) {
  transform: translateY(4px) rotate(-45deg);
}

.open .toggle-btn span:nth-child(2) {
  transform: translateY(-4px) rotate(45deg);
}

#mask {
  width: 100%;
  height: 100%;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #000;
  transition: all 0.5s;
  opacity: 0.8;
  z-index: 10;
}

.open #mask {
  display: block;
}

/*-------------------------------------------
top
-------------------------------------------*/

#top {
  padding-top: 80px;
  margin-bottom: 120px;
}

#top .product-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.link-text {
  display: block;
  margin-top: 40px;
  text-align: center;
}

#top .pagination {
  display: flex;
  justify-content: center;
  gap: 40px;
}

/*-------------------------------------------
item
-------------------------------------------*/

#item {
  max-width: 800px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 60px;
}
#item .item-text {
  width: 42%;
}

#item .item-text p {
  margin-bottom: 30px;
  text-align: justify;
}
#item .item-text dl {
  display: flex;
  flex-wrap: wrap;
}
#item .item-text dt {
  width: 30%;
}
#item .item-text dd {
  width: 70%;
}
#item .item-img {
  width: 50%;
}

/*-------------------------------------------
 About
-------------------------------------------*/

#about {
  max-width: 800px;
  margin-bottom: 60px;
}

#about p {
  margin-bottom: 30px;
}

/*-------------------------------------------
company
-------------------------------------------*/

#company {
  max-width: 600px;
}
#company dl {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
#company dt {
  width: 30%;
  border-bottom: solid 1px #dcdbdb;
  padding: 20px 10px;
}
#company dt:last-of-type {
  border-bottom: none;
}
#company dd {
  width: 70%;
  border-bottom: solid 1px #dcdbdb;
  padding: 20px 10px;
}
#company dd:last-of-type {
  border-bottom: none;
}
#company .map {
  filter: grayscale(1);
}

#company .map iframe {
  width: 100%;
  height: 300px;
  border: 0;
}

/*-------------------------------------------
footer
-------------------------------------------*/

#footer {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}
#footer .menu-list {
  display: flex;
  gap: 30px;
}

/*-------------------------------------------
SP
-------------------------------------------*/

@media screen and (max-width: 900px) {
  /*-------------------------------------------
top
-------------------------------------------*/

  #top .product-list {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 60px;
  }

  /*-------------------------------------------
item
-------------------------------------------*/

  #item {
    flex-direction: column;
  }
  #item .item-text {
    width: 100%;
  }
  #item .item-img {
    width: 100%;
    margin-bottom: 30px;
  }

  /*-------------------------------------------
company
-------------------------------------------*/

  #company dl {
    flex-direction: column;
  }
  #company dt {
    width: 100%;
    border-bottom: none;
    padding-bottom: 5px;
  }
  #company dd {
    width: 100%;
    padding-top: 5px;
  }

  /*-------------------------------------------
footer
-------------------------------------------*/
  #footer {
    flex-direction: column;
    gap: 5px;
  }
}
