@charset "UTF-8";

html {
  font-size: 100%;
}

body {
  font-size: 0.875rem;
  color: #333;
  /* 高さいっぱいに表示 */
  min-height: 100vh;
  position: relative;
}

img {
  max-width: 100%;
}

li {
  list-style: none;
}

a {
  color: #333;
  text-decoration: none;
  /* 0.5秒かけてhover時opacityする */
  transition: all 0.5s;
}

a:hover {
  opacity: 0.7;
}

.wrapper {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
}

.content {
  padding-top: 120px;
  padding-bottom: 160px;
}

.site-title a {
  display: block;
  width: 180px;
  line-height: 1px;
}

.page-title {
  font-size: 0.875rem;
  font-weight: normal;
  margin-bottom: 30px;
}

/*＿＿＿＿＿＿＿＿＿#header(済)＿＿＿＿＿＿＿＿＿＿*/
#header {
  width: 100%;
  height: 80px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* header固定 */
  position: fixed;
  left: 0;
  right: 0;
  z-index: 10;
}

#navi {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  color: #fff;
  padding: 36px 50px;
  transform: all 0.5s;
  z-index: 20;
  opacity: 0;
}

#navi a {
  color: #fff;
}

#navi li {
  margin-bottom: 14px;
}


/* jsに記載の.open */
.open #navi {
  left: 0;
  opacity: 1;
}

.toggle_btn {
  width: 30px;
  height: 30px;
  position: relative;
  transition: all 0.5s;
  cursor: pointer;
  z-index: 20;
}

.toggle_btn span {
  display: block;
  position: absolute;
  width: 30px;
  height: 2px;
  background-color: #333;
  border-radius: 4px;
  transition: all 0.5s;
}

.toggle_btn span:nth-child(1) {
  top: 10px;
}

.toggle_btn span:nth-child(2) {
  bottom: 10px;
}

/* jsに記載の.open */
.open .toggle_btn span {
  background-color: #fff;
}

/* 1本目の線を-45度回転 */
.open .toggle_btn span:nth-child(1) {
  -webkit-transform: translateY(4px) rotate(-45deg);
  transform: translateY(4px) rotate(-45deg);
}
/* 2本目の線を45度回転 */
.open .toggle_btn 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;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0.8;
  z-index: 10;
  cursor: pointer;
}

/*＿＿＿＿＿＿＿＿＿TOP PRODUCTS(済)＿＿＿＿＿＿＿＿＿*/
#top {
  padding-top: 80px;
  padding-bottom: 160px;
}

.product-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.product-list li {
  width: 23%;
  margin-bottom: 40px;
}

.product-list img {
  margin-bottom: 10px;
  /*baseline → topにすることによってaタグの範囲がimgの上部へ移動した*/
  vertical-align: top;
}

.product-list p {
  font-size: 0.75rem;
}

.link-text {
  display: block;
  text-align: center;
}

.pagination {
  display: flex;
  justify-content: center;
}

.pagination li {
  padding: 0 20px;
}

/*＿＿＿＿＿＿＿＿＿ITEM(済)＿＿＿＿＿＿＿＿＿＿*/
#item {
  max-width: 800px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 60px;
}

#item .item-img {
  width: 50%;
}

#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%;
}

/*＿＿＿＿＿＿＿＿＿ABOUT(済)＿＿＿＿＿＿＿＿＿＿*/
#about {
  max-width: 600px;
}

#about p {
  line-height: 1.9;
  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;
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
}

#footer .menu {
  display: flex;
}

#footer .menu li {
  font-size: 0.75rem;
  margin-right: 30px;
}

#footer .copyright {
  font-size: 0.625rem;
}
/*＿＿＿＿＿＿＿＿＿レスポンシブ＿＿＿＿＿＿＿＿*/
@media screen and (max-width: 900px) {
  /*＿＿＿＿＿＿レスポンシブ TOP PRODUCTS＿＿＿＿＿＿*/
  .product-list li {
    width: 47%;
  }

  /*＿＿＿＿＿＿レスポンシブ ITEM＿＿＿＿＿＿＿*/
  #item {
    flex-direction: column;
  }
  #item .item-img {
    width: 100%;
    margin-bottom: 30px;
  }

  #item .item-text {
    width: 100%;
  }
  /*＿＿＿＿＿＿レスポンシブ 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;
  }

  #footer .menu {
    margin-bottom: 5px;
  }
}


