@media (max-width:1634px){
    .layout-col-8 {
        flex: 0 0 auto;
        width: 74.666667% !important;
    }
}
@media (max-width:1366px) {
    .banner-bg .title-deco{
        top: 30%;
        right: 34.8%;
        width: 7%;
    }
    .ct1 .accordion-body .content .right{
        margin-left: 0px;
        width: 73%;
    }
    .ct4 .swiper-slide-card{
        height: 420px !important;
    }
}
@media (max-width:1520px){
    .ct4 .swiper-slide-card {
        height: 455px !important;
    }
    .ct3 .right {
        width: 525px;
    }
}


@media (max-width:1080px){
    .banner-top{
        margin-top: 57px;
       }
    #carouselExampleIndicators {
        margin-top: 50px;
    }
    .tw-mt-6 {
        margin-top: 3% !important;
    }
    .tw-mt-2 {
        margin-top: 0.3rem !important;
    }
    .tw-mb-6 {
        margin-bottom: 1rem !important;
    }
    /* font-size */
    h2{
        font-size: 20px;
    }
    .swiper h3,h3{
        font-size: 18px;
    }
    .swiper h4,h4{
        font-size: 14px;
    }
    h5 {
        font-size: 11px;
    }
    p{
        font-size: 11px;
    }
    /* navbar */
    .tw-w-3\/4 {
        width: 65% !important;
    }
    .navbar{
        padding: 0.5rem 1.5rem;
    }
    /* banner */
    .banner{
        margin-top: 5%;
    }
    @keyframes fadeInUp {
        0% {
          opacity: 0;
          transform: translateY(40px);
        }
    }  
    .float-btn .btn1, .float-btn .btn2 {
        width: 32px;
    }

    .ct1 .accordion-button{
        padding: 0.3rem 1rem;
    }
    .ct1 .accordion-button::after, .ct5 .accordion-button::after {
        width: 8px;
        height: 8px;
        background-size: 8px;
    }
    .ct1 .accordion-body {
        padding: 0rem 0rem 1rem 0rem;
    }
    .ct1 .accordion-body .content .icon {
        width: 10px;
        height: auto;
    }
    .icon{
        width: 5%;
        margin-right: 8px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    .ct1 .mr{
        width: 100% !important;
    }
       /* ct3 */
    .nav-pills .nav-link {
        padding: 0.5rem 1.8rem;
    }
    .spaceline{
        margin: 0.6rem auto;
    }
    .ct3 .right .text{
        transform: translate(-43%, -66%);
    }
    .ct3 .right{
        width: 350px;
        transform: translate(-13%, -49%);
    }
    .ct3 .t-68 {
        top: 68% !important;
    }
    /* ct4 */
    .ct4 p{
        line-height: 1;
    }

    .ct4 .icon {
        width: 10px;
        height: 10px;
        margin-right: 4px;
    }
    .ct4 .txt{
        margin-top: -4px;
    }
 
    .ct4 .item{
        align-items: flex-start;
        margin-top: 2%;
    }
    .ct4 .buy {
        width: 24%;
    }
    .ct4 .swiper-slide-card{
        height: 247px !important;
        padding: 1rem 1rem 1.5rem 1rem;
    }
    .ct4 .swiper-button-next, .ct4 .swiper-button-prev{
        width: 40px;
        height: 40px;
    }
    .swiper-pagination {
        margin-top: 0.7rem;
    }
    .ct4 .swiper-pagination-bullet {
        width: var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 10px));
        height: var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 10px));
    }
    /* ct6 */
    .ct6 .tw-mt-6{
        margin-top: 1% !important;
    }
    .ct6 .tw-mb-6{
        margin-bottom: 0rem !important;
    }

    /* 得獎名單 */
    .ct-award .title {
        width: 13rem;
        margin-top: 3rem;
    }
    .ct-award .a-card{
        margin-top: 3%;
        flex-direction: column;
    }
    .ct-award .a-card .item{
        width: 70%;
        margin: auto;
    }
    .a-card .mx{
        margin: 1 0rem;
    }
    .ct-award .all-btn{
        margin-bottom: 8% !important;
    }
    
    
}
@media (max-width:1024px){
    .banner-bg .title-deco {
        top: 28%;
    }
    .ct4 .tag {
        top: -13px;
        left: 9px;
    }
    /* 標題大小 */
    .title-4{
        width:193px;
      }
    
    .title-6{
      width:286px;
    }
    .title-8{
        width: 339px;
    }
    .title-9{
        width: 446px;
        margin-top: 7%;
    }
    .swiper-title {
        width: 130% !important;
        margin: 0px 0px 0px -20%;
    }
    .tagtitle1{
        width: 250px !important;
        margin-bottom: 20px;
        margin-top: 10px;
      }
      .tagimg2{
        width: 450px !important;
        margin-top: 10px;
      }
      .tagtitle2{
        width: 450px !important;
        margin-bottom: 20px;
        margin-top: 10px;
      }
      .tagimg1{
        width: 320px !important;
      }
      .arrow-link{
        margin-top: 0px;
      }
}

@media (max-width:820px) {


    .banner-top{
        margin-top: 50px;
       }
    .navbar > .site-container, .navbar > .site-fluid, .navbar > .container-sm, .navbar > .container-md, .navbar > .container-lg, .navbar > .container-xl, .navbar > .container-xxl {
        display: flex;
        flex-wrap: inherit;
        align-items: center;
        /* width: 50%; */
        flex-direction: row-reverse;
        justify-content: flex-end;
    }
    .navbar-brand {
        display: flex;
        justify-content: center;
        margin-left: 29%;
        flex-wrap: nowrap;
    }
    .ct4 .swiper-slide-card {
        height: 297px !important;
    }
    .ct4 .swiper-wrapper{
        padding-top: 1.5%;
    }
    .navbar {
        padding: 0.3rem 0.5rem;
    }
}

@media (max-width:768px){
    .card-title{
        width: 7rem !important;
    }
    /* 標題大小 */
    .title-4{
        width:26%;
      }
    
    .title-6{
      width:35%;
    }
    .title-8{
        width: 40%;
    }
    .title-9{
        width: 58%;
        margin-top: 7%;
    }

    .navbar {
        padding: 0.3rem 0.5rem;
    }

    footer {
        margin-top: 34px;
    }
    .accordion-body {
        padding: 0.7rem 1.2rem;
    }
    .tw-px-12 {
        padding-right: 2rem !important;
        padding-left: 2rem !important;
    }
    .navbar-brand {
        margin-left: 27%;
    }
    .ct4 .swiper-button-prev {
        width: 35px;
        height: 35px;
    }
    
    .ct4 .swiper-button-next {
        width: 35px;
        height: 35px;
    }

    .swiper-pagination {
        margin-top: 1.7rem;
        margin-bottom: 1.3rem;
    }

    .layout-col-sm-10 {
        flex: 0 0 auto;
        width: 100.333333%;
    }

}
@media (max-width:620px){
    .navbar-brand {
        margin-left: 23%;
    }
}

@media (max-width:590px){
    .banner-top{
      margin-top: 49px;
    }
    .arrow-link {
        font-size: 20px;
        font-weight: bold;
        margin-top: -9px;
        margin-bottom: 40px;
    }
    .nav-link {
        padding:0.6rem;
        padding-right: 21px;
        padding-left: 16px !important;
        border-top: #eeeeee 0.75px solid;
    }

    .site-container, .site-fluid, .container-xxl, .container-xl, .container-lg, .container-md, .container-sm{
        padding-left: var(--bs-gutter-x, 0rem);
        padding-right: var(--bs-gutter-x, 0rem);
    }
    /* font-size */
    h2{
        font-size: 22px;
    }
    .swiper h3,h3{
        font-size: 18px;
    }
    .swiper h4, h4 {
        font-size: 16px;
    }
    h5 {
        font-size: 16px;
    }
    p{
        font-size: 16px;
        line-height: 1.5 !important;
    }
    .mb-block{
        display: block !important;
    }
    .mb-flex{
        display: flex !important;
    }
    .pc{
        display: none !important;
    }
    .navbar {
        padding: 0.3rem 1.5rem;
    }
    /* banner */
    .banner .title {
        width: 85%;
        top: 2%;
        left: 8%;
    }
    .banner-bg .title-deco {
        top: 25.5%;
        right: 10.8%;
        width: 16%;
    }
    .banner-bg .persons {
        width: 72%;
        top: 70%;
        left: 16%;
    }
    .banner-bg .item-left {
        width: 79%;
        top: 43%;
        left: 20.5%;
    }
    .navbar-brand {
        margin-left: 18%;
    }
    /* float-btn */
    .float-btn-mb{
        bottom: 0;
        z-index: 99;
    }
    .float-btn {
        top: 83%;
    }
    /* ct1 */
    .item-card{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    } 
    .ct1 .layout-col-2 {
        width: 76%;
        margin-right: 0 !important;
    }
    .ct1 .layout-col-6 {
        width: 79%;
    }
    .ct1 .tw-pt-2 {
        padding-top: 1.5rem !important;
    }
    .ct1 .tw-py-6 {
        padding-top: 1rem !important;
        padding-bottom: 1.5rem !important;
    }
    .mb-m1 {
        margin-bottom: -6px;
    }
    .mt-m1 {
        margin-top: -13px;
    }
    .card-deco-bottom {
        width: 10% !important;
        bottom: 0px;
        top: 126px;
        right: 5%;
    }


    .ct2 .layout-col-sm-10{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .ct2 .card1, .ct2 .card2, .ct2 .card3 {
        width: 83%;
    }
    .ct2 .card-t1{
        margin-top: 5%;
    }
    .ct2 .card1 .txt {
        width: 48%;
    }
    .ct2 .card2 .txt{
        width: 49%;
    }
    .ct2 .card3 .txt {
        width: 49%;
    }
    .ct2 .button {
        width: 13%;
        right: 12%;
        transform: translateY(232%);
        top: -3%;
    }
    .ct2 .button:hover { 
        transform: translateY(232%) translateX(16px); 
    }

    /* ct3 */
    .nav-pills .nav-link {
        padding: 0.5rem 1rem;
        width: 6.5rem;
    }
    .ml-swiper{
        margin-left: 3%;
    }
    .ct3 .swiper {
        width: 100%;
        height: 100%;
    }
    .nav-item{
        display: inline-block;
    }
    .ct3 .right {
        display: flex;
        z-index: 1;
    }
    .ct3 .nav-warp , .ct3 .nav-tabs,.ct4 .nav-warp , .ct4 .nav-tabs{
        justify-content: start !important;
    }
    .ct3 .text,.ct3 .text2{
        padding: 1rem;
    }
    
    .ct3 .nav-warp,.ct4 .nav-warp  {
        padding-bottom: 2px;
    }



    .ct4 .swiper-wrapper{
        padding-top: 2%;
    }

    .ct4 .swiper-wrapper2{
        padding-top: -2% !important;
    }

    .ct4 .tag small {
        font-size: 0.655em;
    }

    .ct4 .tag p {
        line-height: 0 !important;
        padding: 6px;
    }

    .ct4 .tag {
        padding: 2px 5px 4px;
    }

    .ct4 .all-btn{
     flex-direction: column;
     align-items: center;
    }

    .ct4 .all-btn .btn-mb{
        margin-top: 5%;
        margin-bottom: 30px;
    }

    .ct4 .nav-link{
        height: auto !important;
    }
    .ct4 .swiper-slide-card {
        padding:1rem;
        height: 445px !important;
        background-image: none;
        background-color: #FBF2E9;
        height: 6rem !important;
        flex-direction: row !important;
        align-items: center !important;
    }


    .ct4 .spaceline {
         width: 2px; 
         height: 100%;
         background-image: linear-gradient(to bottom, #BA2922 0%, #BA2922 60%, transparent 60%); 
         background-size: 3px 11px; 
         background-repeat: repeat-y; 
         margin: 0rem 0.5rem; }
    
    .ct4 .buy {
         width: 40px;
    }

    .ct4 .priBtn{
        width: 45%;
    }

    .ct4 .mySwiper{
        width: 100%;
    }

    .ct4 .tw-mt-12 {
        margin-top: 5% !important;
    }

    .ct4 .priBtn {
        width: 47%;
    }

    .ct6 .tw-py-6,.ct7 .tw-py-6 {
        padding-top: 1.2rem !important;
        padding-bottom: 1.2rem !important;
    }
    .ct6 .tw-px-12,.ct7 .tw-py-6  {
        padding-right: 1.5rem !important;
        padding-left: 1.5rem !important;
    }
    .ct6 small, .small {
        font-size: 0.9em;
    }
    .ct6 .mb-m1,.ct7 .mb-m1 {
        margin-bottom: -11px;
    }
    .ct6 .mt-m1,.ct7 .mt-m1 {
        margin-top: -22px;
    }
    .ct6 .tw-mt-6 {
        margin-top: 7% !important;
    }

    footer{
        margin-top: 60px;
        margin-bottom: 16px;
    }
    .tw-py-2 {
        padding-top: 0.5rem !important;
        padding-bottom: 4rem !important;
    }
    .tagtitle1{
        width: 260px !important;
        margin-bottom: 9px;
        margin-top: 10px;
      }
      .tagimg2{
        width: 270px !important;
      }
      .tagtitle2{
        width: 450px !important;
        margin-bottom: 20px;
        margin-top: 10px;
      }
      .tagimg1{
        width: 265px !important;
      }
      .ct3-n{
        margin-top: 15%;
     }

}

@media (max-width:430px){
    .arrow-link {
        margin-bottom: -12px;
    }
    .ct4,.ct3{
        margin-top: 52px !important;
    }
    /* 標題大小 */
    .title-4{
        width:50%;
      }
    
    .title-6{
      width:65%;
    }
    .title-8{
        width: 82%;
        margin-bottom: 16px !important;
    }
    .nct-1{
        margin-top: -26px !important;
    }
    .title-9{
        width: 85%;
        margin-top: 7%;
    }
    .nct-1{
        padding: 0px 16px;
    }
    .nct-1 .card-bg{
        border-radius: 0px !important;
    }
    .navbar-brand {
        margin-left: 9%;
    }
    .ml-swiper {
        margin-left: 0%;
    }
    /* .ct4 .ml-swiper {
        margin-left: 9%;
    } */
    .ct1 .accordion-body .content .right {
        margin-left: 0px;
        width: 61%;
    }
    .mt-m1 {
        margin-top: -8px;
    }
    .ct4 .tw-my-4 {
        margin-top: 0.5rem !important;
        margin-bottom: 1rem !important;
    }

    .ct4 .swiper-wrapper{
        padding-top: 5%;
    }

    .ct4 .swiper-wrapper2{
        margin-top: -8% !important;
    }

    .ct4 .nav-warp {
        margin-top: -12px;
    }

    .ct4 .tag {
        top: -20px;
        left: 10px;
        padding: 5px 8px;
    }

    .ct5,.ct6{
        margin-top: -5%;
    }

    /* 得獎名單 */
    .ct-award .title {
        width: 9rem;
        margin-top: 3rem;
    }
}

@media (max-width:420px){
    .mt-6 {
        margin-top: 12% !important;
    }
    .ct4 .mySwiper {
        margin-top: 0px !important;
    }

    /* .ct4 .ml-swiper {
        margin-left: 9%;
    } */
    .nav-pills .nav-link {
        padding: 0.5rem 1rem;
        width: 8rem;
    }
    .banner {
        margin-top: 10%;
    }
    .card-deco-bottom {
        top: 96px;
    }
    .ct1 {
        margin-top: 8%;
    }
    .ct1 .accordion-body .content .right {
        width: 59%;
    }
    .ct1 .layout-col-6 {
        width: 88%;
    }
    .accordion-button{
        padding: 1rem 1rem;;
    }
    .accordion-body {
        padding: 0.7rem 1rem;
    }

    .all-btn a {
        padding: 0.6rem 2rem;
    }

    .ct6 .layout-col-9 {
        width: 50%;
    }
    .ct6 small, .small {
        font-size: 0.8em;
    }
    .ct6 .right, .ct7 .right{
        width: 93%;
    }
    .ct7 .left1 {
        padding-right: 6px;
    }
    .tw-py-2 {
        padding-top: 0.5rem !important;
        padding-bottom: 4rem !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    .navbar-brand {
        margin-left: 8%;
    }
    .navbar {
        padding: 0.3rem 0.2rem;
    }
    .nav-pills .nav-link {
        padding: 0.5rem 1rem;
        width: 7rem;
    }
    .tag-warp .swiper-horizontal>.tag-warp .swiper-pagination-bullets, .tag-warp .swiper-pagination-bullets.swiper-pagination-horizontal, .tag-warp .swiper-pagination-custom, .tag-warp .swiper-pagination-fraction {
        bottom: var(--swiper-pagination-bottom, 22px);
        top: var(--swiper-pagination-top, -6px);
        left: 50%;
        width: 15%;
      }
}

@media (max-width:414px){
    .navbar-brand {
        margin-left: 13%;
    }
    .ct2 .all-btn a{
        width: 14rem;
      }
}

@media (max-width:390px){
    .navbar-brand {
        margin-left: 10%;
    }
}


@media (max-width:375px){
    .navbar-brand {
        margin-left: 8%;
    }
}

@media (max-width:360px){
    .navbar-brand {
        margin-left: 4%;
    }
}