@charset "UTF-8";
/* ----------------------------------------------------------------- */
/* ----------------------------------------------------------------- */
.box__main .box__container {
    padding: 0 0;
    max-width: initial;
}
.box__main .box__container .box__body {
    --min-con-h: 600px;
}

/* ----------------------------------------------------------------- */
.box__main.is-index .body__con {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.box__main.is-index .body__con .con__key {
    position: relative;
    width: 100vw;
    height: 100dvh;
    overflow: hidden;
}

@keyframes slide-Y2 {
  0% {
    -webkit-transform: translate(-50%, 0);
            transform: translate(-50%, 0);
  }
  100% {
    -webkit-transform: translate(-50%, -15px);
            transform: translate(-50%, -15px);
  }
}

@keyframes slide-Y {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  100% {
    -webkit-transform: translateY(-10px);
            transform: translateY(-10px);
  }
}

@keyframes hue-rotate2 {
    0% {
        filter: hue-rotate(0deg); /* 帶點偏粉紅的暖紅 */
    }
    50% {
        filter: hue-rotate(-45deg);  /* 溫暖的橙黃色 */
    }
    100% {
        filter: hue-rotate(0deg);
    }
}

.box__main.is-index .body__con .con__key .key__img {
    position: absolute;
    width: min(155vmin, 1320px);
    top: max(-27%, -230px);

    left: 50%;
    transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, 0);
    -moz-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);

    animation: slide-Y2 1.5s ease-in-out infinite alternate both;
}

.box__main.is-index .body__con .con__key .key__img .img__btn {
    position: absolute;
    width: 7.9%;
    display: flex;
    top: 18.8%;
    left: 46.2%;
    filter: hue-rotate(0deg);
    animation: hue-rotate2 1s ease-in-out infinite alternate both;
}

.box__main.is-index .body__con .con__key .key__img .img__btn .btn__tri {
    position: absolute;
    width: 33%;
    top: 83%;
    left: 36%;
    animation: slide-Y 0.5s ease-in-out infinite alternate both;
}

.box__main.is-index .body__con .con__key .key__detail {
    pointer-events: none;
    position: relative;
    width: min(170vmin, var(--main-max-width));
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    top: min(35%, 300px);
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    padding: 0 calc(var(--main-padding-side));
}

.box__main.is-index .body__con .con__key .key__detail  > div {
    position: relative;
    width: 30%;
}

.box__main.is-index .body__con .con__key .key__detail .detail__title {
    display: flex;
    justify-content: flex-end;
}

.box__main.is-index .body__con .con__key .key__detail .detail__title > img {
    width: 50%;
    right: 16%
}


.box__main.is-index .body__con .con__key .key__img .img__title {
    pointer-events: none;
    position: absolute;
    width: 100%;
    top: 26%;
    /* left: 50%;
    transform: translate(-50%, 0%);
    -webkit-transform: translate(-50%, 0%);
    -moz-transform: translate(-50%, 0%);
    -ms-transform: translate(-50%, 0%);
    -o-transform: translate(-50%, 0%); */
    display: flex;
    justify-content: center;
    /* padding: 10em 0; */
    padding: 45vw 0;
}

.box__main.is-index .body__con .con__key .key__img .img__title::before {
    pointer-events: none;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    /* back */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);

    /* background: linear-gradient(0deg,rgba(113, 28, 32, 0) 0%, rgba(113, 28, 32, 0.6) 40%, rgba(113, 28, 32, 1) 50%, rgba(113, 28, 32, 0.6) 60%, rgba(113, 28, 32, 0) 100%); */
    background: linear-gradient(180deg,rgba(113, 28, 32, 0) 0%, rgba(113, 28, 32, 0.6) 40%, rgba(113, 28, 32, 1) 70%, rgba(113, 28, 32, 1) 90%, rgba(113, 28, 32, 0) 100%);
}

.box__main.is-index .body__con .con__key .key__img .img__title > img {
    width: 42%;
}

/* effect smoke */
.box__main.is-index .box__container .box__effect {
    pointer-events: none;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: 1000;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 85%);
    mask-image: linear-gradient(to top, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 85%);
}

.box__main.is-index .box__container .box__effect .effect__lottie {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0%);
    -webkit-transform: translate(-50%, 0%);
    -moz-transform: translate(-50%, 0%);
    -ms-transform: translate(-50%, 0%);
    -o-transform: translate(-50%, 0%);
}

.box__main.is-index .box__container .box__effect .effect__lottie.is-width-smoke {
    width: 100%;
    height: 100%;
    filter: blur(20px);
    opacity: 0.15;
}

.box__main.is-index .box__container .box__effect .effect__lottie.is-thin-smoke {
    width: 10%;
    height: 100%;
    filter: blur(5px);
    opacity: 0.5;
}

/* ----------------------------------------------------------------- */
@media screen and (min-width:320px) {
    .footer_include {
        --footer-h: 140px;
    }

    .box__main .box__container .box__body {
        --min-con-h: 550px;
    }
    /* ----------------------------------------------------------------- */
    .box__main.is-index .body__con .con__key {
        min-height: var(--min-con-h);
    }

    .box__main.is-index .body__con .con__key .key__img {
        width: min(155vmin, 1320px);
        top: calc(16% + -4%);
    }

    .box__main.is-index .body__con .con__key .key__img .img__title {
        display: flex;
    }

    .box__main.is-index .body__con .con__key .key__detail {
        display: none;
    }
}

@media screen and (min-width:320px) and (max-height: 700px) {
    .box__main .box__container .box__body {
        --min-con-h: 620px;
    }
    .box__main.is-index .body__con .con__key .key__img {
        top: -4%;
    }
}

/* @media screen and (min-width:320px) and (max-height: 600px) {

} */
@media screen and (min-width:360px) {}
@media screen and (min-width:390px) {}
@media screen and (min-width:414px) {}

/* @media screen and (max-height: 667px) {} */

@media screen and (min-width:500px) {
    .box__main .box__container .box__body {
        --min-con-h: 650px;
    }
    /* ----------------------------------------------------------------- */

    .box__main.is-index .body__con .con__key .key__img {
        top: -8%;
    }
}

@media screen and (min-width:600px) {
    .box__main .box__container .box__body {
        --min-con-h: 750px;
    }
    /* ----------------------------------------------------------------- */

    .box__main.is-index .body__con .con__key .key__img {
        top: -12%;
    }
}

@media screen and (min-width:768px) {
    .box__main .box__container .box__body {
        --min-con-h: 1250px;
    }
    /* ----------------------------------------------------------------- */
}
@media screen and (min-width:1024px) {
    .footer_include {
        --footer-h: 315px;
    }

    .box__main.is-index .body__con .con__key {
        min-height: initial;
    }

    .box__main.is-index .body__con .con__key .key__img {
        width: min(120vmin, 1320px);
        top: max(-16%, -230px);
    }

    .box__main.is-index .body__con .con__key .key__img .img__title {
        display: none;
    }

    .box__main.is-index .body__con .con__key .key__detail {
        display: flex;
        width: min(170vmin, 100%);
    }
    
}
@media screen and (min-width:1280px) {
    .box__main.is-index .body__con .con__key .key__img {
        width: min(155vmin, 1320px);
        top: max(-27%, -230px);
    }
    .box__main.is-index .body__con .con__key .key__detail {
        width: min(170vmin, 100%);
    }

}

@media screen and (min-width:1280px) and (min-height: 800px) {
    .box__main.is-index .body__con .con__key .key__img {
        width: min(155vmin, 1500px);
    }

    .box__main.is-index .body__con .con__key .key__detail {
        top: min(35%, 350px);
    }
}

@media screen and (min-width: 1440px) {
    .box__main.is-index .body__con .con__key .key__detail {
        width: min(170vmin, var(--main-max-width));
    }
}

@media 
screen and (min-width:1024px) and (max-height: 650px), 
screen and (min-width: 1280px) and (max-height: 650px), 
screen and (min-width: 1366px) and (max-height: 650px), 
screen and (min-width: 1440px) and (max-height: 650px) {}
@media screen and (min-width: 1680px) {}
@media screen and (min-width: 1920px) {}
