:root{
    --detail-selected:#f54e4a;
    --detail-bg:center / 100% 100% no-repeat url(../../img/brand/tonyu/detail/bg-detail-frame-upper.png);
  }
  
  /* slick */

  .ly-tonyuDetail .topSlider{
    margin-left: 2px;
    margin-right: 2px;
  }
  
  .ly-tonyuDetail .slick-active button::before{
    background-color: var(--detail-selected) !important;
    }
    
    .ly-tonyuDetail .slide-dots li button::before{
      background-color: #c9c9c9;
    }

    @media all and (max-width:960px) {
        .ly-tonyuDetail .topSlider{
          margin-left: 1px;
          margin-right: 1px;
        }
      }
  
  /* swiper */
  
  .ly-tonyuDetail .swiper-button-prev, .ly-tonyuDetail .swiper-button-next{
    background-color: #cee8db;
    outline: 1px solid #cee8db;
  }
  
  /* ui-color */

  .ly-tonyuDetail .sec-recipe_ingredient-item a{
    color: var(--detail-selected);
}
  
  .ly-tonyuDetail .i-fav[data-fav="on"]::after,
  .ly-tonyuDetail .i-fav[data-fav="off"]::after{
      background-color: var(--detail-selected);
  }
  
  .ly-tonyuDetail .c-button_inner{
    border-color: #f0e1c1;
  }
  
  /* padding */
  
  @media all and (max-width:960px) {
    .ly-tonyuDetail .sec-recipe_title,
    .ly-tonyuDetail .sec-recipe_desc,
    .ly-tonyuDetail .sec-recipe_content,
    .ly-tonyuDetail .sec-recipe_annotation,
    .ly-tonyuDetail .sec-recipe_prepare,
    .ly-tonyuDetail .sec-recipe_howto{
      padding-left: min(calc((10 / var(--sp))*100vw),10px);
      padding-right: min(calc((10 / var(--sp))*100vw),10px);
    }
  }

   /* wrap */
  
   .ly-tonyuDetail .c-wrapper{
    background: url(../../img/brand/tonyu/top/bg-main.png) repeat;
    background-size: 100%;
    background-position: top;
}

   .ly-tonyuDetail .sec-recipe{
    background: url(../../img/brand/tonyu/top/bg_pattern.png);
    background-repeat: repeat;
    background-size: 70px;
}

.sec-recipe_border-outside::before{
    content: "";
    position: absolute;
    left: -35px;
    width: calc(100% + 70px);
    height: 13px;
    background-repeat:repeat-x;
    background-size: 96px;
    top: -90px;
    background-image: url(../../img/brand/tonyu/top/bg_border-top.png);
    background-position: top;
}
.sec-recipe_border-outside::after{
    content: "";
    position: absolute;
    left: -35px;
    width: calc(100% + 70px);
    height: 13px;
    background-repeat:repeat-x;
    background-size: 96px;
    bottom: -54px;
    background-image: url(../../img/brand/tonyu/top/bg_border-bottom.png);
    background-position: bottom;
}
   .ly-tonyuDetail .sec-recipe::before,
   .ly-tonyuDetail .sec-recipe::after{
    content: "";
    position: absolute;
    top: 0;
    height: 100%;
    width: 8px;
    background-repeat:repeat-y;
    background-size: 12px;
}

   .ly-tonyuDetail .sec-recipe::before{
    right: -4px;
    background-image: url(../../img/brand/tonyu/top/bg_border-right.png);
    background-position: right;
}

   .ly-tonyuDetail .sec-recipe::after{
    left: -4px;
    background-image: url(../../img/brand/tonyu/top/bg_border-left.png);
    background-position: left;
}

  @media all and (max-width: 960px) {
    .ly-tonyuTop .sec-pickup{
        background-size: 35px;
    }
    .ly-tonyuDetail .sec-recipe{
      background-size: 35px;
    }
    .ly-tonyuDetail .sec-recipe::before, .ly-tonyuDetail .sec-recipe::after{
      background-size: 6px;
    }
    .sec-recipe_border-outside::before{
      background-size: 48px;
      height: 6.5px;
      width: calc(100% + 50px);
      top: -44px;
      left: -25px;
    }
    .sec-recipe_border-outside::after{
      background-size: 48px;
      height: 6.5px;
      width: calc(100% + 50px);
      bottom: -10px;
      left: -25px;
    }
  }

  @media all and (max-width:640px) {
    .sec-recipe_border-outside::before{
      width: calc(100% + 20px);
      left: -10px;
    }
    .sec-recipe_border-outside::after{
      width: calc(100% + 20px);
      left: -10px;
    }
  }
  
  .ly-tonyuDetail .sec-recipe_border-inside{
    position: relative;
  }
  
  .ly-tonyuDetail .sec-recipe_border-inside::before{
    content: "";
    position: absolute;
    box-sizing: border-box;
    top: -45px;
    width: 100%;
    height: calc(100% + 45px);
    border-image: url(../../img/brand/tonyu/detail/frame-detail.png);
    border-image-slice: 20;
    border-image-width: 18px;
    border-image-outset: 0;
  }
    
  @media all and (max-width:960px) {
  .ly-tonyuDetail .sec-recipe_border-inside::before{
    top: 0;
    height: 100%;
    border-image: url(../../img/brand/tonyu/detail/frame-detail_sp.png);
    border-image-slice: 24;
    border-image-width: 11px;
    border-image-outset: 0px;
  }
  .ly-tonyuDetail .sec-recipe{
    padding: 42px 10px 8px;
  }
  }
  
  /* top */
  
  .ly-tonyuDetail .sec-recipe_pill{
    background: #f0e1c1;
  }
  
  .ly-tonyuDetail .sec-recipe_heading{
    top: 32px;
    padding-left: 24px;
    padding-right: 24px;
    background-size: auto;
    z-index: 10;
    width: 100%;
  }
  
  .ly-tonyuDetail .sec-recipe_heading::before{
    content: "";
    position: absolute;
    width: calc(50% - 170px);
    height: 4px;
    background: url(../../img/brand/tonyu/detail/frame-detail-left.png) no-repeat;
    background-size: 100% 4px;
    top: 10px;
    left: 40px;
  }

  .ly-tonyuDetail .sec-recipe_heading::after{
    content: "";
    position: absolute;
    width: calc(50% - 170px);
    height: 4px;
    background: url(../../img/brand/tonyu/detail/frame-detail-right.png) no-repeat;
    background-size: 100% 4px;
    top: 10px;
    right: 40px;
  }

  .ly-tonyuDetail .sec-recipe_title{
    padding-top: 100px;
  }
  
  @media all and (max-width:960px) {
    .ly-tonyuDetail .sec-recipe_heading::before{
      width: calc(50% - 84px);
      height: 4px;
      background: url(../../img/brand/tonyu/detail/frame-detail-left.png) no-repeat;
      top: 14px;
      left: 10px;
    }
  
    .ly-tonyuDetail .sec-recipe_heading::after{
      width: calc(50% - 84px);
      height: 4px;
      background: url(../../img/brand/tonyu/detail/frame-detail-right.png) no-repeat;
      top: 14px;
      right: 10px;
    }
    .ly-tonyuDetail .sec-recipe_title{
        padding-top: 45px;
    }
    .ly-tonyuDetail .sec-recipe_heading{
      top: 27px;
      padding-left: 12px;
      padding-right: 12px;
    }
    .ly-tonyuDetail .sec-recipe_heading img{
        width: 115px;
    }
  }

  @media (max-width: 960px) and (min-width: 640px){
    .ly-tonyuDetail .sec-recipe_heading::before,
    .ly-tonyuDetail .sec-recipe_heading::after{
      width: calc(50% - 110px);
    }
    .ly-tonyuDetail .sec-recipe_heading::before{
      left: 24px;
  }
    .ly-tonyuDetail .sec-recipe_heading::after{
      right: 24px;
  }
  }
  
  /* content */
  
  .ly-tonyuDetail .sec-recipe_box{
    background-image: url(../../img/brand/tonyu/detail/bg-detail-block.png);
  }

  @media all and (max-width:960px) {
    .ly-tonyuDetail .sec-recipe_box{
      background-image: url(../../img/brand/tonyu/detail/bg-detail-block_sp.png);
      background-size: 100% 100%;
    }
  }

    /* howtomake */

        .ly-tonyuDetail .sec-recipe_howto-title::before,.ly-tonyuDetail .sec-recipe_howto-title::after{
            margin-top: -5px;
            background-color: unset;
            background-repeat: no-repeat;
            background-size: contain;
        }

        .ly-tonyuDetail .sec-recipe_howto-title::before{
            background-image: url(../../img/brand/tonyu/detail/border-left.png);
            background-position: left;
        }

        .ly-tonyuDetail .sec-recipe_howto-title::after{
            background-image: url(../../img/brand/tonyu/detail/border-right.png);
            background-position: right;
        }
    
        @media all and (max-width:960px) {
            .ly-tonyuDetail .sec-recipe_howto-title img{
                width: 115px;
            }
            .ly-tonyuDetail .sec-recipe_howto-title::before,.ly-tonyugurtDetail .sec-recipe_howto-title::after{
                margin-top: -2px;
                width: calc(50% - 68px);
            }
            .ly-tonyuDetail .sec-recipe_howto-title::before{
                background-image: url(../../img/brand/tonyu/detail/border-left_sp.png);
            }
    
            .ly-tonyuDetail .sec-recipe_howto-title::after{
                background-image: url(../../img/brand/tonyu/detail/border-right_sp.png);
            }
        }
  
    /* Rank */
  
    .ly-tonyuDetail .c-ranking{
      background:  center / 100% 100% no-repeat url(../../img/brand/tonyu/detail/bg-detail-frame-lower.png);
    }
    
    .ly-tonyuDetail .sec-recipe_return .c-button-arrow-left:hover::before{
      background: #000;
    }
    
    .ly-tonyuDetail .sec-recipe_return .c-button_inner:hover{
      background-color: #f0e1c1;
      color: #000;
    }
  
    .ly-tonyuDetail .sec-recipe_return .c-button_inner:hover::before{
        background-color: #000;
      }
    
    .ly-tonyuDetail .c-ranking h2{
      padding-right: min(calc((64 / var(--pc))*100vw),64px);
    }
    
    @media all and (max-width:960px) {
        .ly-tonyuDetail .c-ranking{
            background:  center / 100% 100% no-repeat url(../../img/brand/tonyu/detail/bg-detail-frame-lower_sp.png);
          }
      .ly-tonyuDetail .c-ranking h2{
        padding-right: 0;
      }
    }
  
    .ly-tonyuDetail .c-rank_flag{
      background-color: var(--detail-selected);
    }
    
    .ly-tonyuDetail .c-rank_flag::before,
    .ly-tonyuDetail .c-rank_flag::after{
      border-top: 8px solid var(--detail-selected);
    }
    