@charset "UTF-8";

body {
  font-family: "Avenir", "Helvetica Neue", "Helvetica", "Arial", "Hiragino Sans",
    "ヒラギノ角ゴシック", YuGothic, "Yu Gothic", "メイリオ", Meiryo,
    "ＭＳ Ｐゴシック", "MS PGothic";
  font-size: 13px;
  line-height: 1.7em;
  margin: 0 auto;
  width: 100%;
}

/* 全ページ共通ここから*/
.wrap {
  display: flex;
}
header {
  width: 30%;
  padding: 10px 0;
}
main {
  width: 70%;
}
footer {
  margin: 15px 0;
  text-align: center;
}

/* 文字サイズ*/
.font13 {
  font-size: 13px;
}
.font16 {
  font-size: 16px;
}
.font19 {
  font-size: 19px;
}
.font25 {
  font-size: 25px;
}

/* 文字カラー*/
.brown {
  color: #603813;
}
.pink {
  color: #ff8b8b;
}
.red {
  color: #bc272d;
}
.camel {
  color: #c1976d;
}
.green {
  color: #006837;
}

/*ナビの設定ここから*/
nav {
  text-align: center;
  margin-top: 30px;
  padding: 0 40px;
}
nav h1 {
  margin-bottom: 15px;
}
nav ul li {
  font-size: 16px;
  margin: 0px;
  border-top: solid #c7c7c7 1px;
  padding-top: 10px;
  padding-bottom: 10px;
}
nav ul li:last-child {
  border-bottom: solid #c7c7c7 1px;
}
nav ul a {
  display: block;
}
.nav_contact {
  margin-top: 40px;
}
.nav_access {
  margin-top: 25px;
}

/*ハンバーガーの設定ここから*/
#nav-drawer {
  position: relative;
  padding-left: 20px;
}
.nav-unshown {
  display: none;
}
#nav-open {
  display: inline-block;
  width: 30px;
  height: 22px;
  vertical-align: middle;
}
#nav-open span,
#nav-open span:before,
#nav-open span:after {
  position: absolute;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background: #555;
  display: block;
  content: "";
  cursor: pointer;
}
#nav-open span:before {
  bottom: -8px;
}
#nav-open span:after {
  bottom: -16px;
}
#nav-close {
  display: none;
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0;
  transition: 0.3s ease-in-out;
}
/*中身*/
#nav-content {
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 80%;
  max-width: 330px;
  height: 100%;
  background: #fff;
  transition: 0.3s ease-in-out;
  -webkit-transform: translateX(-105%);
  transform: translateX(-105%);
}
#nav-input:checked ~ #nav-close {
  display: block;
  opacity: 0.5;
}
#nav-input:checked ~ #nav-content {
  -webkit-transform: translateX(0%);
  transform: translateX(0%);
  box-shadow: 6px 0 25px rgba(0, 0, 0, 0.15);
}

.event_navlink {
  /*ナビイベント項目*/
  font-size: 0.7em;
  letter-spacing: 0.1em;
  background-color: #bc272d;
  color: #fff;
  padding: 0.2em 0.8em;
  margin: 5px;
}

/*ナビの設定ここまで*/

/*見出し周りの設定*/
h2,
h3 {
  text-align: center;
  margin-top: 30px;
}
h2 {
  font-size: 30px;
}
h2 .font13 {
  margin-top: 5px;
}
h3 {
  font-family: Georgia, 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho ProN",
    HGS明朝E, メイリオ, Meiryo, serif;
  font-size: 19px;
  line-height: 1.5em;
  margin-bottom: 40px;
}
h4 {
  font-size: 19px;
  line-height: 1.5em;
  border-bottom: solid #c7c7c7 1px;
  margin-bottom: 10px;
}
h5 {
  border-bottom: solid #c7c7c7 1px;
  margin-bottom: 5px;
}

/* 全ページ共通ここまで*/

/*indexページ*/
.index-link-second,
.index-link-third {
  display: flex;
}
.index-link img {
  opacity: 1;
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
.index-link:hover img {
  opacity: 0.5;
}
/*indexページここまで*/

/*productページここから（#introductionはcompanyページ）*/
#mochi,
#keicho,
#sekihan,
#panda,
#sasa,
#introduction {
  padding-top: 300px;
  margin-bottom: 120px;
  background: top no-repeat;
}
#mochi {
  padding-top: 300px;
  background-image: url(../img/product/mochi_top.jpg);
}
#keicho {
  padding-top: 300px;
  background-image: url(../img/product/keicho_top.jpg);
}
#sekihan {
  padding-top: 300px;
  background-image: url(../img/product/sekihan_top.jpg);
}
#panda {
  padding-top: 300px;
  background-image: url(../img/product/panda_top.jpg);
}
#sasa {
  padding-top: 300px;
  background-image: url(../img/product/sasa_top.jpg);
}
#introduction {
  padding-top: 300px;
  background-image: url(../img/company/introduction_image01.jpg);
}

.product,
.intro {
  display: flex;
  margin-bottom: 80px;
}
.product_img {
  width: 280px;
}
.product_img2 {
  width: 190px;
}
.product_caption,
.intro_caption {
  flex: 1;
  padding-left: 30px;
  position: relative;
}
#keicho .product,
#sekihan .product {
  height: 170px;
}
.price {
  position: absolute;
  right: 0;
  bottom: 0;
  text-align: right;
}
.price span {
  font-size: 18px;
  color: red;
}
/*
商品情報
.product_details {
	font-size: 12px;
	margin: 20px 0px 80px 0px;
}*/
#panda {
  position: relative;
}
.pand_rogo {
  position: absolute;
  top: 150px;
}

/*productページここまで*/

/*companyページここから*/

.company_details ul {
  display: flex;
  flex-wrap: wrap;
  line-height: 2em;
  width: 300px;
  margin: 30px auto 120px;
}
.company_details ul li {
  flex-basis: 70%;
}
.company_details ul li:nth-child(odd) {
  flex-basis: 30%;
  text-align: left;
}

#access,
#contact,
h2 {
  margin-bottom: 20px;
}
#access,
#contact {
  margin-bottom: 100px;
  text-align: center;
}
/*companyページここまで*/

/*トップへもどるボタンここから*/
#page-top {
  background-image: url(../img/product/page-top.gif);
  background-repeat: no-repeat;
  position: fixed;
  bottom: 10px;
  right: 20px;
}
#page-top a {
  width: 40px;
  padding: 30px 0;
  display: block;
}
/*トップへもどるボタンここまで*/

/*768px以上*/
@media (min-width: 768px) {
  body {
    width: 1000px;
  }
  #nav-open {
    display: none;
  }
}
/*767px以下*/
@media (max-width: 767px) {
  body {
    max-width: 700px;
  }
  .wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .price {
    position: static;
    right: 0;
    bottom: 0;
    text-align: right;
    margin-top: 20px;
  }
  #panda {
    margin-top: 50px;
  }
  header {
    width: 100%;
  }
  main {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #sidebar {
    display: none;
  }
  #mochi,
  #keicho,
  #sekihan,
  #panda,
  #sasa,
  #introduction,
  #access,
  #contact {
    width: 700px;
  }

  /*479px以下*/
  @media (max-width: 479px) {
    body {
      max-width: 350px;
    }
    .index-link-second {
      flex-wrap: wrap;
      justify-content: center;
    }
    .index-link-third {
      display: flex;
      flex-direction: column;
    }
    #nav-drawer {
      padding-left: 0;
    }

    #mochi,
    #keicho,
    #sekihan,
    #panda,
    #sasa,
    #introduction,
    #access,
    #contact {
      width: 350px;
    }
    .product,
    .intro {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    .product_img,
    .product_img2 {
      padding-bottom: 20px;
    }
    .product_caption,
    .intro_caption {
      padding: 0 0 0 0;
    }
    .price {
      bottom: -50px;
    }
    .pand_rogo {
      display: none;
    }
    #access,
    #contact {
      padding: 0;
    }
  }
}
