:root{
  --detail-selected:#63bfdf;
  --detail-bg:#f6f6f1;
}

/* slick */

.ly-oatmilkDetail .topSlider{
  margin-left: 6px;
  margin-right: 6px;
}

.ly-oatmilkDetail .slick-active button::before{
  background-color: var(--detail-selected) !important;
  }
  
  .ly-oatmilkDetail .slide-dots li button::before{
    background-color: #e6d5c4;
  }

  @media all and (max-width:960px) {
    .ly-oatmilkDetail .topSlider{
      margin-left: 7px;
      margin-right: 7px;
    }
  }

/* swiper */

.ly-oatmilkDetail .swiper-button-prev, .ly-oatmilkDetail .swiper-button-next{
  background-color: var(--detail-selected);
  outline: 1px solid var(--detail-selected);
}

.ly-oatmilkDetail .swiper-button-prev::after, .ly-oatmilkDetail .swiper-button-next::after{
  background-color: #fff;
}

.ly-oatmilkDetail .swiper-button-prev:hover::after, .ly-oatmilkDetail .swiper-button-next:hover::after{
  background-color: var(--detail-selected);
}

/* ui-color */

.ly-oatmilkDetail .sec-recipe_ingredient-item a{
  color: #2ea6cf;
}

.ly-oatmilkDetail .i-fav[data-fav="on"]::after,
.ly-oatmilkDetail .i-fav[data-fav="off"]::after{
    background-color: var(--detail-selected);
}

.ly-oatmilkDetail .c-button_inner{
  border-color: #000;
}

/* padding */

@media all and (max-width:960px) {
  .ly-oatmilkDetail .sec-recipe_title,
  .ly-oatmilkDetail .sec-recipe_desc,
  .ly-oatmilkDetail .sec-recipe_content,
  .ly-oatmilkDetail .sec-recipe_annotation,
  .ly-oatmilkDetail .sec-recipe_prepare,
  .ly-oatmilkDetail .sec-recipe_howto{
    padding-left: min(calc((14 / var(--sp))*100vw),14px);
    padding-right: min(calc((14 / var(--sp))*100vw),14px);
  }
}

/* wrap */

.ly-oatmilkDetail .c-wrapper{
  background: url(../../img/brand/oatmilk/detail/bg-detail.png) top;
  background-size: 100% 100%;
}

.ly-oatmilkDetail .sec-recipe{
  background: var(--detail-bg);
  padding: 29px 35px 50px;
  border-radius: 30px;
}

.ly-oatmilkDetail .sec-recipe_border-inside{
  position: relative;
}

.ly-oatmilkDetail .sec-recipe::before{
  content: "";
  width: calc(100% - 136px);
  height: 16px;
  background: url(../../img/brand/oatmilk/detail/border-top.png) repeat-x;
  position: absolute;
  top: 26px;
  left: 68px;
}

.ly-oatmilkDetail .sec-recipe_title::after {
content: "";
width: 45px;
height: 45px;
background: url(../../img/brand/oatmilk/detail/border-right-top.png) no-repeat;
position: absolute;
top: 0;
right: -8px;
}

.ly-oatmilkDetail .sec-recipe_title::before{
content: "";
width: 45px;
height: 45px;
background: url(../../img/brand/oatmilk/detail/border-left-top.png) no-repeat;
position: absolute;
top: 0;
left: -8px;
z-index: 1;
}

.ly-oatmilkDetail .sec-recipe_border-outside::before {
  content: "";
  width: 16px;
  height: calc(100% - 50px);
  background: url(../../img/brand/oatmilk/detail/border-left.png) repeat-y;
  position: absolute;
  top: 33px;
  left: -8px;
  z-index: 1;
  }

.ly-oatmilkDetail .sec-recipe_border-outside::after{
content: "";
width: 16px;
height: calc(100% - 50px);
background: url(../../img/brand/oatmilk/detail/border-right.png) repeat-y;
position: absolute;
top: 33px;
right: -8px;
z-index: 1;
}

.ly-oatmilkDetail .sec-recipe_border-inside::before{
content: "";
width: 41px;
height: 42px;
background: url(../../img/brand/oatmilk/detail/border-left-bottom.png) no-repeat;
position: absolute;
bottom: -20px;
left: -8px;
}

.ly-oatmilkDetail .sec-recipe_border-inside::after{
content: "";
width: 41px;
height: 42px;
background: url(../../img/brand/oatmilk/detail/border-right-bottom.png) no-repeat;
position: absolute;
bottom: -22px;
right: -4px;
}

.ly-oatmilkDetail .sec-recipe::after{
content: "";
width: calc(100% - 136px);
height: 14px;
background: url(../../img/brand/oatmilk/detail/border-bottom.png) repeat-x;
position: absolute;
left: 68px;
bottom: 24px;
z-index: 1;
}

@media all and (max-width:960px){
  .ly-oatmilkDetail .sec-recipe::before{
      content: "";
      width: calc(100% - 90px);
      height: 9px;
      background: url(../../img/brand/oatmilk/detail/border-top.png) repeat-x;
      background-size: auto 100%;
      top: 28px;
      left: 45px;
    }
  
    .ly-oatmilkDetail .sec-recipe_title::before {
    content: "";
    width: 22px;
    height: 22px;
    background: url(../../img/brand/oatmilk/detail/border-left-top.png) no-repeat;
    background-size: 100% 100%;
    top: -2px;
    left: 1px;
  }
  
  .ly-oatmilkDetail .sec-recipe_title::after {
    content: "";
    width: 22px;
    height: 22px;
    background: url(../../img/brand/oatmilk/detail/border-right-top.png) no-repeat;
    background-size: 100% 100%;
    top: -2px;
    right: 1px;
  }
  
  .ly-oatmilkDetail .sec-recipe_border-outside::before{
    content: "";
    width: 6px;
    height: calc(100% - 47px);
    background: url(../../img/brand/oatmilk/detail/border-left.png) repeat-y;
    background-size: 6px auto;
    top: 18px;
    left: 2px;
    z-index: 1;
  }
  
  .ly-oatmilkDetail .sec-recipe_border-outside::after{
    content: "";
    width: 6px;
    height: calc(100% - 47px);
    background: url(../../img/brand/oatmilk/detail/border-right.png) repeat-y;
    background-size: 6px auto;
    top: 18px;
    right: 2px;
    z-index: 1;
  }
  
.ly-oatmilkDetail .sec-recipe_border-inside::before{
    content: "";
    width: 22px;
    height: 22px;
    background: url(../../img/brand/oatmilk/detail/border-left-bottom.png) no-repeat;
    background-size: 100% 100%;
    bottom: 9px;
    left: 3px;
  }
  
.ly-oatmilkDetail .sec-recipe_border-inside::after{
    content: "";
    width: 22px;
    height: 22px;
    background: url(../../img/brand/oatmilk/detail/border-right-bottom.png) no-repeat;
    background-size: 100% 100%;
    bottom: 9px;
    right: 3px;
  }
  .ly-oatmilkDetail .sec-recipe::after{
    width: calc(100% - 90px);
    height: 6px;
    background: url(../../img/brand/oatmilk/detail/border-bottom.png) repeat-x;
    background-size: auto 100%;
    bottom: 17px;
    left: 45px;
  }
  .ly-oatmilkDetail .sec-recipe{
    padding: 30px 6px 8px;
    border-radius: 1em;
  }
}

@media all and (max-width:640px){
  .ly-oatmilkDetail .sec-recipe::before{
    width: calc(100% - 50px);
    left: 24px;
  }

  .ly-oatmilkDetail .sec-recipe::after {
    width: calc(100% - 60px);
    left: 29px;
}
}

/* top */

.ly-oatmilkDetail .sec-recipe_pill{
  background: #d0e8f4;
}

.ly-oatmilkDetail .sec-recipe_heading{
  top: 53px;
  z-index: 10;
}

.ly-oatmilkDetail .sec-recipe_title{
  padding-top: 136px;
}

@media all and (max-width:960px) {
  .ly-oatmilkDetail .sec-recipe_title{
    padding-top: 54px;
  }
  .ly-oatmilkDetail .sec-recipe_heading{
    top: 12px;
    padding-left: 12px;
    padding-right: 12px;
    background: var(--detail-bg);
    z-index: 10;
  }
}

/* content */

.ly-oatmilkDetail .sec-recipe_box{
  background-image: url(../../img/brand/oatmilk/detail/bg-detail-block.png);
}

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

        /* howtomake */

        .ly-oatmilkDetail .sec-recipe_howto-title::before,.ly-oatmilkDetail .sec-recipe_howto-title::after{
          background:
          linear-gradient(to right, #000, #000 2px, transparent 2px, transparent 4px) repeat-x left top / 12px 3px;
          margin-top: -16px;
      }
  
      @media all and (max-width:960px) {
          .ly-oatmilkDetail .sec-recipe_howto-title img{
              width: 75px;
          }
          .ly-oatmilkDetail .sec-recipe_howto-title::before, .ly-oatmilkDetail .sec-recipe_howto-title::after{
              background:
              linear-gradient(to right, #000, #000 1px, transparent 1px, transparent 1px) repeat-x left top / 4px 1px;
              margin-top: -10px
          }
      }

  /* Rank */

  .ly-oatmilkDetail .c-ranking{
    background: var(--detail-bg);
    background-size: 100% 100%;
    border-radius: 30px;
  }
  
  .ly-oatmilkDetail .sec-recipe_return .c-button-arrow-left:hover::before{
    background: var(--detail-selected);
  }
  
  .ly-oatmilkDetail .sec-recipe_return .c-button_inner:hover{
    background-color: var(--detail-selected);
    color: #fff;
    border-color: var(--detail-selected);
  }

  .ly-oatmilkDetail .sec-recipe_return .c-button_inner:hover::before{
      background-color: #fff;
    }
  
  .ly-oatmilkDetail .c-ranking h2{
    padding-right: min(calc((64 / var(--pc))*100vw),64px);
  }
  
  @media all and (max-width:960px) {
    .ly-oatmilkDetail .c-ranking{
      border-radius: 1em;
    }
    .ly-oatmilkDetail .c-ranking h2{
      padding-right: 0;
    }
  }

  .ly-oatmilkDetail .c-rank_flag{
    background-color: var(--detail-selected);
  }
  
  .ly-oatmilkDetail .c-rank_flag::before,
  .ly-oatmilkDetail .c-rank_flag::after{
    border-top: 8px solid var(--detail-selected);
  }
  