/**********************************
 *
 * 下層COMMON
 *
 **********************************/
.inner {
  width: 980px;
}

section {
  padding: 60px 0;
}

.moreBtn {
  width: 210px;
  height: 50px;
  margin: 0 auto;
  border-radius: 25px;
  -webkit-box-shadow: 0px 5px 14.3px 0.8px #ebe7df;
  box-shadow: 0px 5px 14.3px 0.8px #ebe7df;
  background-color: #ffffff;
  border: solid 2px #a3ca0f;
  -webkit-transition: all ease-in 0.2s;
  -o-transition: all ease-in 0.2s;
  transition: all ease-in 0.2s;
}

.moreBtn a {
  position: relative;
  display: block;
  width: 100%;
  text-align: center;
  color: #669219;
  line-height: 42px;
  border-radius: 25px;
  -webkit-transition: all ease-in 0.2s;
  -o-transition: all ease-in 0.2s;
  transition: all ease-in 0.2s;
}

.moreBtn a:before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 0;
  right: 15px;
  margin: auto;
  width: 8px;
  height: 8px;
  border-top: 1px solid #669219;
  border-right: 1px solid #669219;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.moreBtn:hover {
  background-color: #a3ca0f;
}

.moreBtn:hover a {
  color: #fff;
}

.moreBtn:hover a:before {
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
}

@media screen and (min-width: 769px) {
  a.hover:hover {
    opacity: 0.8;
    -webkit-transition: all ease-in 0.4s;
    -o-transition: all ease-in 0.4s;
    transition: all ease-in 0.4s;
  }

  a.telno {
    cursor: auto;
  }
}

/**********************************
*
* 動画
*
**********************************/
#movie,
#playMovie {
  position: fixed;
  z-index: 200;
}

#movie {
  top: 7%;
  left: 50%;
  width: 90%;
  height: 90%;
  margin-left: -45%;
}

#playMovie {
  background-color: rgba(0, 0, 0, 0.8);
  top: 0;
  height: 100%;
  width: 100%;
}

#playMovie i {
  position: absolute;
  right: -35px;
  top: -30px;
  cursor: pointer;
}

#playMovie i img {
  width: 30px;
}

/**********************************
*
* パンクズ
*
**********************************/
#pankuzu {
  width: 100%;
  height: auto;
  background-color: #f7f4ee;
  font-size: 11px;
  letter-spacing: 2.2px;
  color: #6c5b52;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 6px 0 0 0;
}

#pankuzu ul {
  margin: auto;
}

#pankuzu ul li {
  float: left;
  margin: 5px 30px 6px 0;
  border-radius: 2px;
  background-color: #669219;
  position: relative;
  vertical-align: middle;
}

#pankuzu ul li a {
  color: #fff;
  padding: 5px 10px;
}

#pankuzu ul li:last-child {
  background-color: #fff;
  padding: 5px 10px;
  margin: 0 0 6px 0;
}

#pankuzu ul li:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: -15px;
  margin: auto;
  width: 8px;
  height: 8px;
  border-top: 1px solid #669219;
  border-right: 1px solid #669219;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

#pankuzu ul li:last-child::after {
  display: none;
}

/**********************************
*
* 下層タイトル
*
**********************************/
#layerTitle {
  width: 90%;
  margin: 0 auto;
  border-bottom: solid #dcdcdc 1px;
  padding: 0 0 60px 0;
}

#layerTitle ul li {
  float: left;
  width: 345px;
}

#layerTitle ul li:last-child {
  width: 635px;
  text-align: right;
  font-size: 15px;
  line-height: 1.87;
  letter-spacing: 1.5px;
  color: #6c5b52;
}

#layerTitle ul li h2 {
  font-size: 42px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 8.4px;
  color: #669219;
}

#layerTitle ul li h2 p {
  font-size: 12px;
  padding: 15px 0 0;
  line-height: 1;
  letter-spacing: 1.2px;
  color: #35312f;
}

h4 {
  font-size: 22px;
  font-weight: 700;
  padding: 0 0 18px;
  line-height: 1;
  letter-spacing: 2.2px;
  color: #35312f;
  border-bottom: 2px solid #a3ca0f;
}

/**********************************
*
* 第3下層タイトル
*
**********************************/
#underLayerTitle {
  width: 90%;
  margin: 0 auto;
  border-bottom: solid #dcdcdc 1px;
  padding: 0 0 60px 0;
  position: relative;
}
/*レシピ一覧のみ文言追加 /soytopics-recipe/ */
#soytopics-recipe #underLayerTitle .inner {
  position: relative;
}
#soytopics-recipe #underLayerTitle .inner p {
  position: absolute;
  top: 0;
  right: 0;
}

#underLayerTitle h2 {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 3px;
  color: #669219;
  position: relative;
}

#underLayerTitle h2:after {
  content: "";
  position: absolute;
  bottom: -15px;
  display: inline-block;
  width: 100px;
  height: 4px;
  left: 0;
  background-color: #a3ca0f;
}

/**********************************
*
* ページネーション
*
**********************************/
nav.pagination {
  clear: both;
  text-align: center;
  padding: 20px 0;
}

nav.pagination h2 {
  display: none;
}

nav.pagination .nav-links .page-numbers {
  border: solid 1px #dcdcdc;
  padding: 10px;
}

nav.pagination .nav-links .page-numbers.current {
  background-color: #a3ca0f;
  color: #fff;
  margin: 0 5px;
}

nav.pagination .nav-links a {
  width: 100%;
  color: #333;
  margin: 0 5px;
}

nav.pagination .nav-links a:hover {
  color: #669219;
}

/*------------------------------------------------------------*/
/* sp
------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  /**********************************
  *
  * 下層COMMON
  *
  **********************************/
  .inner {
    width: 92%;
  }

  section {
    padding: 40px 0;
  }

  .moreBtn {
    width: 220px;
    border-radius: 50px;
  }

  .moreBtn a {
    border-radius: 50px;
    line-height: 46px;
  }

  .moreBtn a:before {
    top: 4px;
  }

  /**********************************
  *
  * 動画
  *
  **********************************/
  #movie {
    top: 50%;
    left: 50%;
    width: 320px;
    height: 180px;
    margin-left: -160px;
    margin-top: -90px;
  }

  #playMovie i {
    right: 0;
    top: -40px;
  }

  /**********************************
  *
  * パンクズ
  *
  **********************************/
  #pankuzu {
    height: auto;
    padding: 10px 0 5px;
    font-size: 2.9333vw;
  }

  #pankuzu ul li {
    margin: 2px 20px 5px 0;
  }

  #pankuzu ul li a {
    padding: 2px 8px;
  }

  #pankuzu ul li:last-child {
    padding: 2px 8px;
    margin: 0 0 5px 0;
  }

  #pankuzu ul li:after {
    right: -12px;
    width: 8px;
    height: 8px;
  }

  /**********************************
  *
  * 下層タイトル
  *
  **********************************/
  #layerTitle {
    width: 100%;
    padding: 0 0 40px 0;
  }

  #layerTitle ul li {
    float: none;
    width: 100%;
  }

  #layerTitle ul li:last-child {
    width: 100%;
    text-align: center;
    font-size: 3.2vw;
    padding: 30px 0 0;
    letter-spacing: 0.8px;
  }

  #layerTitle ul li h2 {
    text-align: center;
    font-size: 8vw;
    letter-spacing: 6px;
  }

  #layerTitle ul li h2 p {
    font-size: 3.2vw;
  }

  h4 {
    font-size: 4.8vw;
    letter-spacing: 1.8px;
    line-height: 1.2;
  }

  /**********************************
  *
  * 第3下層タイトル
  *
  **********************************/
  #underLayerTitle {
    padding: 0 0 40px 0;
  }
  /*レシピ一覧のみ文言追加 /soytopics-recipe/ */
  #soytopics-recipe #underLayerTitle .inner p {
    position: static;
    padding: 30px 0 0;
  }

  #underLayerTitle h2 {
    font-size: 7vw;
    letter-spacing: 3px;
  }

  #underLayerTitle h2:after {
    bottom: -10px;
    width: 100px;
    height: 2px;
  }

  /**********************************
  *
  * ページネーション
  *
  **********************************/
  nav.pagination {
    clear: both;
    text-align: center;
    padding: 20px 0;
  }

  nav.pagination .nav-links .page-numbers {
    padding: 5px;
  }

  nav.pagination .nav-links .page-numbers.current {
    margin: 0 3px;
    font-size: 3.8vw;
  }

  nav.pagination .nav-links .page-numbers.dots {
    font-size: 3.6vw;
  }

  nav.pagination .nav-links a {
    margin: 0 3px;
    font-size: 3.8vw;
  }
}
