@charset "UTF-8";
/* CSS Document */

.tablet {
  /*タブレット991pxまでのみ表示*/
  display: block;
}

.pc_only {
  /*クラス名pcは768px以上は表示だが、このクラスは992px以上でのみ表示*/
  display: none;
}

.last {
  margin-bottom: 0 !important;
}

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

#gift .row {
  padding-bottom: 0;
}

#gift h1 {
  margin: 0;
}
#gift .main_img img{
	width: 100%;
}

#gift .contents {
  background: #fff;
  padding: 0 3% 3%;
  border-radius: 0 0 4.2vw 4.22vw;
}

#gift .contents p {
  margin-top: 0;
  line-height: 1.7;
  text-align: left;
  font-size: clamp(14px, 2.7vw, 16px);
}

#gift .contents .top_img {
  margin: 0 auto 50px;
}

#gift .contents .message {
  margin: 0 0 20px;
}

#gift .contents .message h2 {
  font-size: 24px;
  font-weight: bold;
  text-align: left;
  margin: 10px auto 10px;
  color: #990000;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
}

/*商品ブロック*/

#gift .contents .item_block {
  margin-bottom: 20px;
}

#gift .contents h2,
#gift .contents h3 {
  margin: 0 0 10px;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-weight: bold;
  color: #040000;
  line-height: 1.3;
}
#gift .contents h3{
  font-size: clamp(20px, 2.3vw, 25px);
}

#gift .contents h2 {
  font-size: clamp(22px, 3.7vw, 25px);
  font-weight: bold;
}

#gift .contents .item_number {
  background: #5e81c0;
  color: #fff;
  padding: 3px 8px;
  margin-right: 5px;
  font-family: Roboto, "游ゴシック", YuGothic, "Yu Gothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", Arial, "メイリオ", Meiryo, sans-serif;
  font-weight: bold;
}

#gift .contents .sub_title,
#gift .item_name {
  color: #0b6c0e;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 10px;
}

#gift .contents .item_img_sp {
  margin-bottom: 15px;
}

#gift .contents img.align_left {
  float: left;
  max-width: 38%;
  height: auto;
  margin-right: 5%;
  margin-bottom: 15px;
}

#gift .contents .regular_price {
  text-align: center;
  text-decoration: line-through;
  margin-bottom: 0;
}

#gift .contents .price {
  font-size: clamp(16px, 2.6vw, 25px);
  text-align: center;
  color: #990000;
  line-height: 1.5;
  margin-bottom: 10px;
  margin-top: -15px;
}

#gift .contents .price .price_number {
  font-size: clamp(20px, 5.8vw, 30px);
}

#gift .contents .price .price_normal {
  text-decoration: line-through;
}

#gift .contents .price .price_arrow {
  margin: 0 5px;
}

#gift .contents .sub_item_block p {
  line-height: 1.5;
}

/*購入ボタン*/
#gift .contents .to_item {
  margin-bottom: 0;
  clear: both;
}

#gift .contents .to_item a {
  background: #f39700;
  border: 1px solid #eb6100;
  border-radius: 65px;
  color: #fff;
  text-align: center;
  padding: 10px;
  display: block;
  width: 100%;
  max-width: 300px;
  transition: 0.6s;
  margin: 0 auto 30px;
  line-height: 1.5;
}



/*商品ブロック下のライン*/
#gift .contents .item_line {
  margin-bottom: 50px;
  border-bottom: 1px dashed #73cde6;
}

/*サブ商品ブロック*/
#gift .contents .sub_item_block {
  /*background: #fafeff;
	border: 2px solid #73cde6;*/
  padding: 5%;
  margin-bottom: 20px;
  margin-top: -20px;
}

#gift .contents .sub_item_block > .row {
  padding-bottom: 0;
}

#gift .contents .sub_item_block img {
  display: block;
  margin: 0 auto 10px;
}

@media only screen and (min-width: 768px) {
  .result-count_area  #gift .pc {
    margin: auto;
}
  #gift .row {
    padding-bottom: 40px;
  }

  #gift .contents .top_img {
    margin: 0 auto 80px;
  }

  #gift .contents h2 {
    font-size: clamp(20px, 2.7vw, 25px);
  }
  #gift .contents .tonyu_recipe h2 {
    font-size: clamp(17px, 2.1vw, 25px);
}
  .sub_title {
    font-size: 20px;
  }

  #gift .contents .to_item a {
    margin: 0;
  }

  #gift .contents .to_item a:hover {
    background: #eb6100;
  }

  #gift .contents .sub_item_block {
    padding: 2%;
  }

  #gift .contents .regular_price {
    text-align: left;
  }

  #gift .contents .price {
    text-align: left;
    font-size: clamp(14px, 1.4vw, 17px);
    margin-top: 0;
  }

  #gift .contents .price .price_number {
    font-size: clamp(20px, 2.3vw, 26px);
  }

  #gift .contents .price .price_arrow {
    margin: 0 15px;
  }

}


@media only screen and (min-width: 992px) {
  #gift .contents h2 {
    font-size: clamp(20px, 2.3vw, 25px);
  }

  .tablet {
    /*タブレット991pxまでのみ表示*/
    display: none;
  }

  .pc_only {
    /*クラス名pcは768px以上は表示だが、このクラスは992px以上でのみ表示*/
    display: block;
  }
  
}

  /*  ここからレシピ導線*/
  .br_sp {
    display: none;
  }

  .tonyu_recipe {
    position: relative;
    margin: 0 0 60px;
    padding: 20px 5%;
    border: 0.5px solid #990000;
    border-radius: 15px;
  }

  .tonyu_recipe h2 {
    font-family: "yu gothic", "游ゴシック" !important;
    color: #990000 !important;
    text-align: center;
    padding-top: 5px;
  }

  .tonyu_recipe h2:before {
    content: url(https://www.kyotofu.co.jp/ec/wp-content/themes/fujino_ec/images/inc_img/soymilk/title_before.png);
    display: inline-block;
    transform: scale(1.2);
    padding-right: 20px;
  }

  .tonyu_recipe h2:after {
    content: url(https://www.kyotofu.co.jp/ec/wp-content/themes/fujino_ec/images/inc_img/soymilk/title_after.png);
    display: inline-block;
    transform: scale(1.2);
    padding-left: 20px;
  }

  .recipe_img {
    margin-top: 50px;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
  }

  .recipe_img a:hover {
    opacity: 80%;
  }

  .recipe_img figure a {
    position: relative;
  }

  .recipe_img figure a:before {
    content: url(https://www.kyotofu.co.jp/ec/wp-content/themes/fujino_ec/images/inc_img/soymilk/tape.png);
    position: absolute;
    display: inline-block;
    transform: scale(0.7);
    top: -133px;
    left: 18%;
  }

  .recipe_img figure:nth-child(odd) {
    padding-top: 80px;
  }

  .recipe_img figure:nth-child(even) {
    padding-bottom: 80px;
  }

  .recipe_img img {
    width: 290px;
  }

  .tonyu_recipe .fukidashi {
    position: absolute;
    top: 47px;
    left: 68%;
    background: url(https://www.kyotofu.co.jp/ec/wp-content/themes/fujino_ec/images/inc_img/soymilk/e0881_1.png) no-repeat;
    background-size: contain;
    width: 280px;
    height: 130px;
    filter: drop-shadow(3px 7px 7px rgba(0, 0, 0, 0.5));
    z-index: 1;
  }

  .tonyu_recipe .fukidashi a {
    color: #fff;
    font-size: clamp(16px, 2vw, 20px);
    font-weight: bold;
    line-height: 140px;
    margin-left: 30px;
  }

  .tonyu_recipe .fukidashi:hover {
    transform: translate(5px, 5px);
    opacity: 80%;
  }
  figcaption{
    font-size: clamp(14px, 2.7vw, 16px);
  }
  @media (max-width:1130px) {
    .tonyu_recipe {
      width: 90%;
      margin: 0 auto 60px;
    }

    .recipe_img {
      flex-wrap: wrap;
      flex-direction: column;
      align-content: center;
    }

    .recipe_img figure {
      margin: 20px auto;
    }

    .recipe_img figure:nth-child(odd) {
      padding-top: 0;
    }

    .recipe_img figure:nth-child(even) {
      padding-bottom: 0;
    }



  }

  @media screen and (max-width:865px) {


    .tonyu_recipe .fukidashi {
      left: 55%;
      width: 250px;
    }

    .tonyu_recipe .fukidashi a {
      font-size: clamp(16px, 2vw, 20px);
      line-height: 124px;
    }

    .recipe_img {
      margin-top: 90px;
    }

    .tonyu_recipe h2 {
      font-size: 20px !important;
      line-height: 1.5 !important;
    }

    .tonyu_recipe h2:after {
      transform: scale(1);
    }


  }

  @media screen and (max-width:480px) {

    .br_sp {
      display: inline;
    }

    .tonyu_recipe {
      width: 100%;
    }

    .tonyu_recipe h2:before,
    .tonyu_recipe h2:after {
      content: none;
    }

    .tonyu_recipe .fukidashi {
      top: 76px;
      left: 38%;
      width: 200px;
    }

    .tonyu_recipe .fukidashi a {
      font-size: clamp(14px, 2vw, 20px);
      line-height: 102px;
      margin-left: 22px;
    }



  }

  /*  ここまでレシピ導線*/

