@-webkit-keyframes bloop {
}

@keyframes bloop {
}

.food01-template-02 {
  position: relative;
  display: block;
}

.food01-template-02 .container {
  padding-right: 0;
  padding-left: 0;
  max-width: 100%;
}

.food01-template-02 .swiper-slide {
}

.food01-template-02 .swiper-slide-active {
  opacity: 1 !important;
}

.food01-template-02 .slide-img-box {
  position: relative;
  display: block;
  transform: scale(1.05);
}

.food01-template-02 .slide-img-box .imgs {
  position: relative;
  display: block;
  z-index: 5;
}

.food01-template-02 .slide-img-box .imgs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  transition: 1s ease;
}

.food01-template-02 .slide-img-box .imgs img.top {
  transition: 1s ease;

  transform: translateX(-300px);
}

.food01-template-02 .slide-img-box .imgs img.main {
  transition: 1s ease;

  transform: translateY(-300px);
}

.food01-template-02 .slide-img-box .imgs img.bg {
  transition: 1s ease;

  transform: translateX(300px);
}
.food01-template-02 .swiper-slide-active .slide-img-box .imgs .img.top {
  transition: 1s ease;
  opacity: 1;
  transform: translateX(0px);
}
.food01-template-02 .swiper-slide-active .slide-img-box .imgs img.main {
  transition: 1s ease;
  opacity: 1;
  transform: translateY(0px);
}
.food01-template-02 .swiper-slide-active .slide-img-box .imgs img.bg {
  transition: 1s ease;
  opacity: 1;
  transform: translateX(0px);
}
.food01-template-02 .slide-img-box .imgs img:first-child {
  position: relative;
}

.food01-template-02 .slide-img-box .imgs img.main {
  z-index: 2;
}

.food01-template-02 .slide-img-box .imgs img.top {
  z-index: 3;
}

.food01-template-02.show .slide-img-box .imgs img {
}

.food01-template-02 .slide-img-box .name {
  position: absolute;
  color: white;
  bottom: 25vh;
  left: 50%;
  padding-left: 15vw;
  font-size: 30px;
  font-family: 'Noto Serif TC', serif;
  z-index: 6;
  width: 630px;
  box-sizing: border-box;
  display: block;
  opacity: 0;
  transition: 1s ease;
  transform: translateY(30px);
}

.food01-template-02.show .slide-img-box .name {
  opacity: 1;
  transform: translateY(0);
}

.food01-template-02 .scroll {
  position: absolute;
  bottom: 0;
  z-index: 10;
  color: white;
  left: 50%;
  transform: translateX(-50%) translateY(50px);
  height: 120px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  opacity: 0;
  transition: 1.5s ease;
}

.food01-template-02.show .scroll {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.food01-template-02 .scroll::after {
  content: '';
  display: block;
  margin: 0 auto 3px;
  width: 1px;
  position: relative;
  top: 15px;
  height: 120px;
  background: #909090;
  -webkit-animation: draw 2s linear infinite;
  animation: draw 2s linear infinite;
}

@-webkit-keyframes draw {
  0%,
  to {
    -webkit-transform-origin: 50% 0;
    transform-origin: 50% 0;
    -webkit-transform: scaleY(0);
    transform: scaleY(0);
  }
  49.9% {
    -webkit-transform-origin: 50% 0;
    transform-origin: 50% 0;
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
  }
  50% {
    -webkit-transform-origin: 50% 100%;
    transform-origin: 50% 100%;
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
  }
  99.9% {
    -webkit-transform-origin: 50% 100%;
    transform-origin: 50% 100%;
    -webkit-transform: scaleY(0);
    transform: scaleY(0);
  }
}

@keyframes draw {
  0%,
  to {
    -webkit-transform-origin: 50% 0;
    transform-origin: 50% 0;
    -webkit-transform: scaleY(0);
    transform: scaleY(0);
  }
  49.9% {
    -webkit-transform-origin: 50% 0;
    transform-origin: 50% 0;
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
  }
  50% {
    -webkit-transform-origin: 50% 100%;
    transform-origin: 50% 100%;
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
  }
  99.9% {
    -webkit-transform-origin: 50% 100%;
    transform-origin: 50% 100%;
    -webkit-transform: scaleY(0);
    transform: scaleY(0);
  }
}

.food01-template-02 .scroll .scroll-text {
  font-size: 24px;
}

.food01-template-02__swiper-bottom {
  position: absolute;
  color: white;
  bottom: 25vh;
  left: 50%;
  padding-left: 20vw;
  font-size: 30px;
  font-family: 'Noto Serif TC', serif;
  z-index: 6;
  margin-left: 260px;
  opacity: 0;
  transform: translateY(30px);
}

.food01-template-02.show .food01-template-02__swiper-bottom {
  transition: 1.5s ease;
  opacity: 1;
  transform: translateY(0);
}

.food01-template-02__swiper-bottom .icon {
  font-size: 20px;
  position: relative;
  display: block;
  cursor: pointer;
}

.food01-template-02__swiper-bottom .food01-template-02__swiper-prev {
  transform: rotate(90deg);
  margin-bottom: 15px;
}

.food01-template-02__swiper-bottom .food01-template-02__swiper-next {
  transform: rotate(90deg);
}

.food01-template-02__swiper-pagination {
  position: absolute;
  color: white;
  bottom: 25vh;
  left: 50%;
  padding-left: 16vw;
  font-family: 'Montserrat', sans-serif;
  z-index: 6;
  margin-left: 0;
  font-size: 15px;
  margin-bottom: -43px;
  letter-spacing: 2px;
  width: auto;
  opacity: 0;
  transform: translateY(30px);
}

.food01-template-02.show .food01-template-02__swiper-pagination {
  transition: 1.5s ease;
  opacity: 1;
  transform: translateY(0);
}

.food01-template-02__swiper-pagination .swiper-pagination-bullet {
  cursor: pointer;
  background: transparent;
  width: auto;
  height: auto;
  color: white;
  opacity: 1;
}

.food01-template-02__swiper-pagination span {
  font-size: 18px;
  position: relative;
  top: 0;
  letter-spacing: 2px;
}

.food01-template-02__swiper-pagination .swiper-pagination-current {
}

.food01-template-02__swiper-pagination .swiper-pagination-current::before {
  content: '0';
}

.food01-template-02__swiper-pagination .swiper-pagination-total::before {
  content: '0';
}

@media (max-width: 1400px) {
  .food01-template-02 .scroll {
    height: 90px;
  }
}

/*pad*/

@media (max-width: 1199px) {
  .food01-template-02__swiper-bottom {
    bottom: 111px;
    left: 50%;
    margin-left: 187px;
    padding-left: 15vw;
  }
  .food01-template-02 .slide-img-box {
    transform: scale(1);
  }
  .food01-template-02 .scroll::after {
    height: 50px;
  }
  .food01-template-02 .scroll .scroll-text {
    font-size: 16px;
  }
  .food01-template-02 .scroll {
    height: 46px;
  }
  .food01-template-02 .slide-img-box .name {
    bottom: 115px;
    left: 50%;
    padding-left: 15vw;
    font-size: 24px;
    line-height: 34px;
    width: 35vw;
  }
  .food01-template-02__swiper-pagination {
    bottom: 125px;
    font-size: 13px;
    left: 50%;
    padding-left: 15vw;
  }
  .food01-template-02__swiper-pagination span {
    font-size: 15px;
  }
}

@media (max-width: 650px) {
  .food01-template-02__swiper-bottom {
    display: flex;
    width: 100px;
    justify-content: space-between;
    padding: 0;
    left: 50%;
    margin-left: -50px;
    bottom: 130px;
  }
  .food01-template-02 .slide-img-box {
    padding-top: 0px;
    height: 750px;
    min-height: 500px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    align-content: center;
    min-height: -webkit-fill-available;
  }
  .food01-template-02 .slide-img-box .name {
    position: relative;
    bottom: auto;
    left: 5%;
    width: 90%;
    padding-left: 0;
    font-size: 18px;
    line-height: 26px;
    text-align: center;
  }
  .food01-template-02 .slide-img-box .imgs {
    position: absolute;
    padding-bottom: 0;
    height: 100%;
    width: 100%;
  }
  .food01-template-02 .slide-img-box .name {
    position: relative;
    bottom: auto;
    left: 0;
    width: 95%;
    padding-left: 5%;
    font-size: 16px;
    line-height: 24px;
  }
  .food01-template-02 .slide-img-box .name br {
    display: none;
  }
  .food01-template-02__swiper-pagination {
    bottom: 130px;
    font-size: 13px;
    right: 5%;
    left: auto;
    padding-left: 0;
    margin-top: 0;
    margin-bottom: 0;
  }
  .food01-template-02 .scroll {
    display: none;
  }
  .food01-template-02__swiper-bottom .food01-template-02__swiper-prev {
    transform: none;
    margin-bottom: 0;
  }
  .food01-template-02__swiper-bottom .food01-template-02__swiper-next {
    transform: none;
    margin-bottom: 0;
  }
  .food01-template-02 .slide-img-box .imgs img.top {
    transition: 1s ease;

    transform: translateX(-100px);
  }

  .food01-template-02 .slide-img-box .imgs img.main {
    transition: 1s ease;

    transform: translateY(-100px);
  }

  .food01-template-02 .slide-img-box .imgs img.bg {
    transition: 1s ease;

    transform: translateX(100px);
  }
}
