@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;
}

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

#tama h1 {
  margin: 0;
}

#tama .main_img img{
	width: 100%;
}
#tama .contents {
  background: #fff;
  padding: 0 3% 7%;
  border-radius: 0 0 4.2vw 4.22vw;
}

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

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

/*商品ブロック*/

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

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

#tama .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;
}

#tama .contents .sub_title,
#tama .item_name {
  color: #ff8500;
  font-family: "fot-tsukubrdgothic-std", sans-serif;
  font-weight: 700;
}

#tama .contents .sub_title:before {
  content: "";
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  background: url(https://kyotofu.co.jp/ec/wp-content/themes/fujino_ec/images/inc_img/tama/ico.png) no-repeat;
  background-size: contain;
  vertical-align: middle;
  margin-right: 6px;
}

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

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

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

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

#tama .contents .price .price_number {
  font-size: 150%;
}


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

#tama .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;
}



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

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

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

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

#tama .contents .lead {
  padding: 40px 10px;
}

#tama .contents .lead img {
  float: right;
  margin-left: 40px;
  margin-top: 20px;
}

#tama .contents .lead p {
  font-size: 18px;
  line-height: 1.8em;
}

#tama .contents .title {
  text-align: center;
  margin-bottom: 40px;
}

#tama .contents .title img {
  width: 160px;
}

#tama .contents .title h2 {
  font-weight: bold;
}

#tama .contents #site_bnr a {
  border: solid 1px #000;
  display: block;
  margin: 0 auto;
  padding: 25px 50px;
  text-align: center;
  max-width: 970px;
}

.sub_item_block .col-md-6 {
  margin-bottom: 20px;
}


@media only screen and (min-width: 768px) {

  #tama .row {
    padding-bottom: 16px;
  }

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

  #tama .contents h2 {
    font-size: 24px;
  }
  #tama .contents h3{
    font-size: 20px;
    line-height: 1.3;
  }
  .sub_title {
    font-size: 22px;
  }

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

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

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

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

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

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

}


@media only screen and (min-width: 992px) {
  #tama .contents h2 {
    font-size: 32px;
  }

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

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

@media only screen and (max-width: 767px) {
  #tama .contents .lead p {
    font-size: clamp(14px, 2.7vw, 16px);
    /*line-height: 1.5;*/
  }

  #tama .contents .lead img {
    width: 115px;
    float: none;
    margin: 0;
  }

  #tama .contents h2 {
    font-size: clamp(22px, 5.2vw, 25px);
    line-height: 1.5;
  }
  #tama .contents .price .price_number {
    font-size: clamp(20px, 5.8vw, 30px);
}
  #tama .contents .to_item a {
    margin: 0 auto 15px;
  }

  #tama .contents .price {
    margin-bottom: 5px;
  }

  .sub_item_block .col-md-6 {
    margin-bottom: 50px;
  }
  #tama .contents {
    padding: 0 3% 10%;
  }
  
}

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

  .br_pc {
    display: inline;
  }

  .oboro_recipe {
    position: relative;
    margin: 0 0 60px;
    padding: 30px 5%;
    border: 1px solid #FF7BAC;
    border-radius: 15px;
  }

  .oboro_recipe h2 {
    font-family: "yu gothic", "游ゴシック" !important;
    color: #FF8500 !important;
    font-weight: 500 !important;
    font-size: 24px !important;
    text-align: center;
    padding-top: 5px;
  }

  .oboro_recipe h2:before {
    content: url(https://www.kyotofu.co.jp/ec/html/template/default/img/soymilk/title_before.png);
    display: inline-block;
    transform: scale(1.2);
    padding-right: 20px;
  }

  .oboro_recipe h2:after {
    content: url(https://www.kyotofu.co.jp/ec/html/template/default/img/soymilk/title_after.png);
    display: inline-block;
    transform: scale(1.2);
    padding-left: 20px;
  }

  .recipewrap {
    margin-top: 30px;
    display: flex;
    -webkit-justify-content: space-around;
    justify-content: space-around;
    align-items: center;
  }

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

  .oboro_recipe_img {
    position: relative;
  }

  .oboro_recipe_img:before {
    content: url(https://www.kyotofu.co.jp/ec/html/template/default/img/tama/oboro_tape.png);
    position: absolute;
    display: inline-block;
    transform: scale(0.7);
    top: -49px;
    left: -25%;
    z-index: 1;
  }

  .oboro_recipe_img:after {
    content: url(https://www.kyotofu.co.jp/ec/html/template/default/img/tama/oboro_tape.png);
    position: absolute;
    display: inline-block;
    transform: scale(0.7);
    top: 124px;
    left: 65%;
    z-index: 1;
  }

  .oboro_recipe_img img {
    width: 270px;
  }

  .oboro_recipe_txt p {
    font-size: 1.2em !important;
    border-bottom: dashed 2px #FF7BAC;
    display: inline;
    line-height: 2 !important;
  }

  .oboro_recipe_btn {
    text-align: right;
    margin-top: 38px;
  }

  .oboro_recipe_btn a {
    color: #fff;
    background-color: #FF7BAC;
    border-radius: 30px;
    padding: 8px 24px;
    font-size: 1.2em;
    font-weight: 600;
  }



  .oboro_recipe .oboro_fukidashi {
    position: absolute;
    top: -123px;
    left: 64%;
    width: 170px;
    height: 130px;
    filter: drop-shadow(3px 3px 3px rgba(0, 0, 0, 0.3));
    z-index: 1;
  }

  .oboro_recipe .oboro_fukidashi:hover {
    transform: translate(5px, 5px);
    opacity: 80%;
  }

  @media (max-width:1024px) {
    .oboro_recipe {
      margin: 60px auto 60px;
    }

    .oboro_recipe .oboro_fukidashi {
      top: -97px;
      left: 55%;
      width: 146px;
    }

  }

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

    .recipewrap {
      flex-wrap: wrap;
    }

    .oboro_recipe_img img {
      padding-bottom: 37px;
    }


  }

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

    .oboro_recipe {
      width: 100%;
    }

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

  }

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

    .br_sp {
      display: inline;
    }

    .br_pc {
      display: none;
    }

    .oboro_recipe_txt p {
      font-size: 1em !important;
    }



  }

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


