@charset "UTF-8";
html {
  font-size: 100%;
}

/*
フッターを画面下に配置するために、
「position: relative;」を設定
「min-height」で最小の高さを画面の高さにあわせる
*/
body {
  color: #333;
  font-size: 24px;
  min-height: 100vh;
  position: relative;
}

a {
  color: #333;
  text-decoration: none;
  transition: all 0.5s;
}

a:hover {
  opacity: 0.7;
}

img {
  max-width: 100%;
}

li {
  list-style: none;
}

/*
コンテンツ幅を設定するための共通クラス
*/
.wrapper {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.content {
  padding-top: 120px;
  padding-bottom: 160px;
}

.site-title a {
  width: 300px;
  line-height: 1px;
  display: block;
}

.page-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 30px;
}

/*-----------------------------
header
------------------------------*/
/*
「position: fixed;」でヘッダーを固定し、「z-index: 10;」で前面に表示
※他のコンテンツでpositionをrelative、absolute、fixedのいずれかに
設定している場合は、z-indexの数値が大きい方が前面に表示される
*/
#header {
  width: 100%;
  height: 80px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  left: 0;
  right: 0;
  z-index: 10;
}

/*
ハンバーガーメニュー
メニューが閉じている時は、「left: -300px;」で画面左に隠し、
「opacity: 0;」で非表示にしている
*/
#navi {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  color: #fff;
  padding: 36px 50px;
  transition: all 0.5s;
  z-index: 20;
  opacity: 0;
}
#navi a {
  color: #fff;
}
#navi li {
  margin-bottom: 40px;
}

/*
ハンバーガーメニュー
メニューが開いている時は、「left: 0;」「opacity: 1;」で
画面左に表示する
*/
.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: 50px;
  height: 3px;
  background-color: #333;
  border-radius: 4px;
  transition: all 0.5s;
}

/*
1本目の線の位置を設定
*/
.toggle_btn span:nth-child(1) {
  top: 10px;
}

/*
2本目の線の位置を設定
*/
.toggle_btn span:nth-child(2) {
  bottom: 10px;
}

/*
ハンバーガーメニューの線の設定（メニューが開いている時）
線の色を白に変更
*/
.open .toggle_btn span {
  background-color: #fff;
}

/*
1本目の線を-45度回転
*/
.open .toggle_btn span:nth-child(1) {
  transform: translateY(4px) rotate(-45deg);
}

/*
2本目の線を45度回転
*/
.open .toggle_btn span:nth-child(2) {
  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;
}

/*header sp*/
@media (max-width: 768px) {
  #header {
    padding: 25px;
  }
  #navi li {
    margin-bottom: 20px;
  }
  .toggle_btn span {
    display: block;
    position: absolute;
    width: 40px;
    height: 3px;
    background-color: #333;
    border-radius: 4px;
    transition: all 0.5s;
  }
  .open .toggle_btn span {
    background-color: #fff;
  }
  /*
  1本目の線を-45度回転
  */
  .open .toggle_btn span:nth-child(1) {
    transform: translateY(4px) rotate(-45deg);
  }
  /*
  2本目の線を45度回転
  */
  .open .toggle_btn span:nth-child(2) {
    transform: translateY(-4px) rotate(45deg);
  }
  #mask {
    display: none;
    transition: all 0.5s;
  }
}
/*----------------------------------
top.products
----------------------------------*/
#top {
  padding-top: 100px;
  padding-bottom: 160px;
  padding-right: 0;
}
#top .product-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
#top .product-list li {
  width: 24%;
  margin-bottom: 40px;
}
#top .product-list img {
  margin-bottom: 10px;
  vertical-align: top;
}
#top .link-text {
  display: block;
  text-align: center;
}
#top .pagination {
  display: flex;
  justify-content: center;
}
#top .pagination li {
  padding: 0 20px;
}

/*product sp*/
@media (max-width: 768px) {
  #top {
    padding: 100px 20px;
  }
  #top .product-list li {
    width: 47%;
  }
  #top .product-list li a {
    font-size: 15px;
  }
}
/*-------------------------------------
item
------------------------------------*/
#item {
  max-width: 1300px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 60px;
}
#item .item-text {
  width: 42%;
  /*
  text-align: justify;
  テキストの両端を揃える
  */
}
#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%;
}

.link-text {
  display: block;
  text-align: center;
}

/*item sp*/
@media (max-width: 768px) {
  .content {
    padding: 120px 20px 160px;
  }
  #item {
    flex-direction: column;
  }
  #item .item-text {
    width: 100%;
  }
  #item .item-text dt {
    font-size: 70%;
  }
  #item .item-text dd {
    font-size: 70%;
  }
  #item .item-img {
    width: 100%;
    margin-bottom: 30px;
  }
}
/*----------------------------------
about
----------------------------------*/
#about {
  max-width: 800px;
}
#about p {
  margin-bottom: 30px;
  line-height: 1.9;
  text-align: justify;
}

/*about sp*/
@media (max-width: 768px) {
  #about {
    max-width: 400px;
  }
  #about p {
    font-size: 15px;
  }
}
/*----------------------------------
company
----------------------------------*/
#company {
  max-width: 800px;
}
#company dl {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
#company dl dt {
  width: 30%;
  border-bottom: solid 1px #dcdbdb;
  padding: 20px 30px;
}
#company dl dt:last-of-type {
  border-bottom: none;
}
#company dl dd {
  width: 70%;
  border-bottom: solid 1px #dcdbdb;
  padding: 20px;
}
#company dl dd:last-of-type {
  border-bottom: none;
}

#company .map {
  /* グーグルマップをグレースケールにする */
  filter: grayscale(1);
}

/* グーグルマップのサイズを設定 */
#company .map iframe {
  width: 100%;
  height: 400px;
  border: 0;
}

/*company sp*/
@media (max-width: 768px) {
  #company {
    max-width: 500px;
  }
  #company dl {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
  }
  #company dl dt {
    width: 30%;
    padding: 10px 5px;
    font-size: 18px;
  }
  #company dl dd {
    width: 70%;
    padding: 10px 0;
    font-size: 15px;
  }
}
/*----------------------------------
footer
-----------------------------------*/
#footer {
  display: flex;
  justify-content: space-between;
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
}
#footer .menu {
  display: flex;
}
#footer .menu li {
  margin-right: 80px;
}

/*footer sp*/
@media (max-width: 768px) {
  #footer {
    flex-direction: column;
    padding: 0 20px;
    margin-top: 20px;
  }
  #footer .menu {
    margin-top: 30px;
  }
  #footer .menu li {
    font-size: 15px;
    margin-right: 15px;
  }
  .copyright {
    font-size: 10px;
    margin-top: 10px;
  }
}
/*# sourceMappingURL=style.css.map */