@charset "UTF-8";
:root {
--color1: #5e2725;
--color2: #79b346;
--color3: #607719;
--color4: #282828;
--color5: #fff3cc;
}



/* ------------------  BG ------------------ */
html,
body {
  background:url("../images/fixed_bg.jpg")bottom center no-repeat fixed, #fff3cc;
  background-size: 100% auto,auto;
}
.container {
    position: relative;
    z-index: 99 !important;
}

.blk_body {background: var(--color1);}
.blk_item {background: transparent;}



/* ------------------ Color ------------------ */
.collect_5x6 .s-row h4,
.hightlight .font h4,
.collect_5x6 .special,.special_5p_1 .hightlight_5p ul li h4 {
    background: var(--color2);
}

.zasshi3-buy,.dis-for-zasshi3 {background: var(--color3);}
.zasshi3 ul li h4 {color: var(--color1);}
.zasshi3 ul li .font p {background: var(--color1);}
.half ul {
    background: var(--color5);
    border-radius: 1em;
}

.boxmix-forbn .box-mix ul.hightlight img.sp {
    width: 180px;
    height: 180px;
	object-fit: contain !important;
}



/* =========================
M版 
========================= */
@media screen and (max-width: 991px) {
    .blk_item { padding: 0 0;}
    .block0 .blk_body { margin: -6vw auto;}

}







/* =================================================== 共用設定 =================================================== */
/* ------------------ 版型調整 ------------------ */
/* 第一個：正常 */
.boxmixbg.boxmix-forbn .box-mix {
    flex-direction: row;
}

/* 第二個：反轉 */
.boxmixbg.boxmix-forbn + .boxmixbg.boxmix-forbn .box-mix {
    flex-direction: row-reverse;
}

/* 第三個：正常 */
.boxmixbg.boxmix-forbn + .boxmixbg.boxmix-forbn
+ .boxmixbg.boxmix-forbn .box-mix {
    flex-direction: row;
}

/* 元件調整 */
.rectangle_3p li,
.crosswise_3p li,
.collect_5x6 .h-row li,
.banner img,
.boxmix-forbn .box-mix ul.quotes img,.zasshi3 ul li,.special_5p_1 .hightlight_5p ul li {
    border-radius: 1em;
}
.hightlight li,.collect_5x6 .s-row li {border-radius: 1em; overflow: hidden;}

/* 長高5排品 */
.special_5p_1 .stt-sp h3 {
        font-family: "Cubic_11";
        font-size: clamp(1.6rem, 1.8vw + 1rem, 3rem);
        color: var(--color5);
        background-color: var(--color4);
        padding: .2em 1em;
        border: clamp(2px, 0.15vw, 4px) solid var(--color5);
        border-radius: 999em;
        z-index: 1;
        position: relative;
        margin: 20px auto -70px;
        left: 11%;
        width: 70%;
        top: 0;
}

    @media screen and (max-width: 991px) {
        .special_5p_1 .stt-sp h3 {
            position: relative;
            margin: auto;
            padding: 1vw;
            text-align: center;
            font-size: 1.6rem;
            letter-spacing: 0px;
            left:0;
            top:0;
        }
    }


/* ------------------ 架構標 ------------------ */
@font-face {
  font-family: Cubic_11;
  src: url("../fonts/Cubic_11.ttf");
}

    .blk_head {
        position: relative;
        max-width: 1200px;
        margin: 0 auto;
        background: var(--color2);
        padding: 15px 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .blk_head::before {
        content: "";
        position: absolute;
        width: 1200px;
        aspect-ratio: 1200 / 40;
        right: 0%;
        top: 110%;
        transform: translateY(-50%);
        background: url("../images/btt_deco.jpg") center/contain no-repeat;
        pointer-events: none;
        z-index: 1;
    }

	h2.btt {
        font-family: "Cubic_11";
        font-size: clamp(2.4rem, 4vw + 1rem, 4rem);
        color:var(--color5);
        position:relative;
	}

    /* 共用設定 */
    h2.btt::before,
    h2.btt::after {
        content: "";
        position: absolute;
        top: 50%;
        width: 100%;
        max-width: 193px;
        aspect-ratio: 193 / 88;
        background-position: center top;
        background-repeat: no-repeat;
        background-size: contain;
        z-index: 1;
        pointer-events: none;
        opacity: 0;
        transition:
        opacity 0.8s ease,
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    }

    h2.btt::before {
        /* 固定在標題左側 */
        left: -200px;
        background-image: url("../images/btt_be.png");
        /* 飛入前 */
        transform: translateX(-200px) translateY(-50%);
    }

    h2.btt::after {
        /* 固定在標題右側 */
        right: -200px;
        left: auto;
        background-image: url("../images/btt_af.png");
        /* 飛入前 */
        transform: translateX(180px) translateY(-50%);
    }

    h2.btt.btt-show::before {
        opacity: 1;
        transform: translateX(0) translateY(-50%);
    }

    h2.btt.btt-show::after {
        opacity: 1;
        transform: translateX(0) translateY(-50%);
    }


    h3.stt {
        font-family: "Cubic_11";
        font-size: clamp(1.6rem, 1.8vw + 1rem, 3rem);
        color: var(--color5);
        background-color: var(--color4);
        padding: .2em 1em;
        border: clamp(2px, 0.15vw, 4px) solid var(--color5);
        border-radius: 999em;
        width: 80%;
        max-width: fit-content;
        margin: 0px auto;
        z-index: 1;
    }



    @media screen and (max-width: 991px) {
        .blk_head {
            padding: 5% 0;
        }

        .blk_head::before {
            right: 0%;
            top: 110%;
        }

        h3.stt {
            width: 100%;
            padding: 2vw 10vw;
        }

        h2.btt::before,
        h2.btt::after {
            display: none;
        }

    }


/* =================================================== 版頭設定 =================================================== */
/* ------------------ 版頭動畫 ------------------ */
.kv-bg {width: 100%; }
.kvitem {position: absolute;}

.kv_title {
    top: calc((163 / 1920) * 100%);
    left: calc((495 / 1920) * 100%);
    width: calc((935 / 1920) * 100%);
    animation: bounceIn 3s;
    animation-delay: 0s;
}

.kv_title_1 {
    top: calc((575 / 1920) * 100%);
    left: calc((730 / 1920) * 100%);
    width: calc((460 / 1920) * 100%);
    animation: flipInX 2s;
    animation-delay: 1s;
    animation-fill-mode: backwards;
}

.kv_sale {
    top: calc((1004 / 1920) * 100%);
    left: calc((594 / 1920) * 100%);
    width: calc((730 / 1920) * 100%);
    animation: rubberBand 2s;
    animation-delay: 1s;
    animation-fill-mode: backwards;
}

.kv_people {
    top: calc((1000 / 1920) * 100%);
    left: calc((369 / 1920) * 100%);
    width: calc((247 / 1920) * 100%);
    animation: slideInLeft 2s;
}

.kv_pc{
    position: relative;
    z-index: 10;
}

@media (max-width: 991px) {
    /* 手機版不要有葉飄落 */
    #maple-leaf-container {
        display: none !important;
    }
}

.kv_good1 {
    top: calc((299 / 1920) * 100%);
    left: calc((217 / 1920) * 100%);
    width: calc((103 / 1920) * 100%);
    transform-origin: center center;
    animation: goods-shake-1 2s steps(1) 1s infinite;
}

.kv_good2 {
    top: calc((628 / 1920) * 100%);
    left: calc((230 / 1920) * 100%);
    width: calc((104 / 1920) * 100%);
    transform-origin: center center;
    animation: goods-shake-2 2.4s steps(1) 1.3s infinite;
}

.kv_good3 {
    top: calc((641 / 1920) * 100%);
    left: calc((387 / 1920) * 100%);
    width: calc((80 / 1920) * 100%);
    transform-origin: center center;
    animation: goods-shake-1 2.2s steps(1) 1.6s infinite;
}

.kv_good4 {
    top: calc((345 / 1920) * 100%);
    left: calc((1496 / 1920) * 100%);
    width: calc((96 / 1920) * 100%);
    transform-origin: center center;
    animation: goods-shake-2 2s steps(1) 1.9s infinite;
}

.kv_good5 {
    top: calc((675 / 1920) * 100%);
    left: calc((1580 / 1920) * 100%);
    width: calc((70 / 1920) * 100%);
    transform-origin: center center;
    animation: goods-shake-1 2.4s steps(1) 2.2s infinite;
}

.kv_good6 {
    top: calc((840 / 1920) * 100%);
    left: calc((1404 / 1920) * 100%);
    width: calc((100 / 1920) * 100%);
    transform-origin: center center;
    animation: goods-shake-2 2.2s steps(1) 2.5s infinite;
}


@keyframes goods-shake-1 {
  0%, 100% {
    transform: rotate(0deg); /* 原位靜止 */
  }
  50% {
    transform: rotate(-6deg); /* 瞬間卡到左傾 6 度 */
  }
  75% {
    transform: rotate(5deg); /* 瞬間卡到右傾 5 度 */
  }
}
/* 模式 B：縮放 + 雙向歪斜 */
@keyframes goods-shake-2 {
  0%, 100% {
    transform: rotate(0deg) scale(1);
  }
  40% {
    transform: rotate(7deg) scale(1.05); /* 瞬間卡到右歪 + 微放大 */
  }
  80% {
    transform: rotate(-5deg) scale(0.98); /* 瞬間卡到左歪 + 微縮小 */
  }
}


/* ------------------  攻略  ------------------ */
.block0 .blk_body {background: transparent;}
.a1 {
	animation: scale_A 3s;
	animation-delay: 0s;
	animation-iteration-count: infinite;
	animation-fill-mode: backwards;
}

.a2 {
	animation: scale_A 3s;
	animation-delay: .5s;
	animation-iteration-count: infinite;
	animation-fill-mode: backwards;
}

.a3 {
	animation: scale_A 3s;
	animation-delay: 1s;
	animation-iteration-count: infinite;
	animation-fill-mode: backwards;
}

@keyframes scale_A {
	0% { transform: scale(0.93);}
	50% {transform: scale(0.99);}	
	100% {transform: scale(0.93);}			
}



/* =================================================== 版身設定 =================================================== */
