/* @media (max-width: 1440px)
@media (max-width: 1024px) 
@media (max-width: 768px) 
@media(max-width: 580px) */



/* @media (max-width: 1024px) {
    @keyframes marquee {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-calc(250px * 8 + 50px * 7));
        }
    }

    #marquee .pic {
        flex-basis: 25%;
    }
}

@media (max-width: 768px) {
    @keyframes marquee {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-calc(250px * 8 + 50px * 7));
        }
    }

    #marquee .pic {
        flex-basis: 33.33%;
    }
} */

/* 當螢幕寬度小於或等於 1440px 時 */
@media (max-width: 1440px) {
.dfu_section {
    width: 100%;
    padding: calc(3vh + 1rem) 0 ;
}

header{
    margin-bottom: -280px;
}

.ec2desktop{
    display: none;
}
.ec2pad{
    display: block;
}
.ec2mobile{
    display: none;
}

    /* 大標題----------------------------------------------- */
.section-title{
    width: 100%;
    padding: 8px 0 24px 0;
    display: flex;
    justify-content: center;
    z-index: 2;
}

.title-box{
    height: 2.8rem;
}

.title-shadow-stroke {
    font-size: 2.5rem;
}

/* 02.process---------------------------------- */

.radiusBox{
    width: 95%;
}

.radiusBox::before{
    width: 90%; 
    height: 90%;
    border-radius: 80px;
}


.process-box{
    width: 90%;
}    

.process-line{
    width: 70%;
}   

.process-text{
    width: 30%;
}  
.process-text h3{
    font-size: 1.5rem;
    line-height:2rem;}

.process-text h4{
    font-size: 1.3rem;
    line-height:1.6rem;
}

/* 0.3location------------------------------ */

.location-round h3{
    display: inline-block;
    font-size: 2.5rem;
    text-align: center;
    vertical-align: middle;
    line-height: 3.3rem;
    font-weight: 500;
}

.timeText{
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 2;
    text-align: center;
}

/* 04.discount---------------------------------- */

.discountBox{
    width: 90%;
}

.discountText{
    font-size: 1.5rem;
    line-height: 2rem;
}

.discountText li {
    padding-left: 120px;
}

.discountText li::before {
    width: 104px; 
}

.discountText span{
    font-size: 1.75rem;
}

/* 05.Q & A -----------------------*/

.faqBox {
    width: 1000px;
}

.faqCards {
    width: 1000px;
    display: flex;
    flex-wrap: wrap;
    justify-content:center;
    padding:2rem 0;
    list-style: none;
    row-gap: 2rem;
    column-gap: 1rem;
}

.faqCard {
    width: 300px;
    height: 515px;
    margin: 0.5rem;
    filter: drop-shadow(8px 8px 2px var(--whiteshadow-color));
}

.faqCard:nth-child(-n+3){
    width: 300px;
    height: 420px;
}

.cardBlock {
    height: 82px;
}

.faqText{
    width: 100%;
    height: 100%;
    text-align: start;
    padding:0.5rem 1rem;
}

.short{
    width: 100%;
    height: 100%;
}

.faqText h3{
    font-size: 1.7rem;
    line-height: 2.3rem;
}
.faqText h4 {
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 2.2rem;
}

/*sidenav*/
.menu {
    right: 1%;
    bottom: 8%;
    width: 15%;
}
.menu>img {
    margin-bottom: -3%;
    padding: 3%;
}
.menu__style {
    padding: 6% 1% 10%;
    border-radius: 25px;
}
.menu ul li {
    line-height: 2em;
    font-size: 1.4vw; 
}

}

/* 當螢幕寬度小於或等於 1024px 時 */
@media (max-width: 1024px) {

    header{
        margin-bottom: -200px;
    }

    .location-box{
        width: 760px;
        column-gap: 16px;
    }

    .flexRow{
        column-gap: 16px;
    }
    
    .location-round{
        width: 18vw;
        height: 18vw;
    } 
    
    .location-round h3{
        font-size: 2.2rem;
        line-height: 2.8rem;
    }
    
    .timeText{
        font-size: 1rem;
    } 

    .discountBox{
        width: 80%;
        flex-direction: column;
    }
    .discountText {
        flex-direction: column;
        align-items: center;
        font-size: 1.6rem;
        line-height: 2rem;
    }
    .discountText li {
        padding-left: 120px;
    }
    .discountText li::before {
        width: 100px;
    }
    .discountText span {
        font-size: 2rem;
    }


/* 05.Q & A -----------------------*/

.faqBox {
    width: 760px;
}

.faqCards {
    width: 760px;
    height: auto;
    row-gap: 1rem;
    column-gap: 2rem;
}

.faqCard {
    width: 280px;
    height: 478px;
    min-height: 200px; /* 設置最小高度 */
}


.faqCard:nth-child(-n+3){
    width: 280px;
    height: 390px;
}

.faqText h3{
    font-size: 1.6rem;
    line-height: 2.2rem;
}
.faqText h4 {
    font-size: 1.4rem;
    line-height: 2rem;
}

/*sidenav*/
.menu {
    right: 1%;
    bottom: 8%;
    width: 20%;
}
.menu>img {
    margin-bottom: -3%;
    padding: 3%;
}
.menu__style {
    padding: 6% 1% 10%;
    border-radius: 25px;
}
.menu ul li {
    line-height: 2em;
    font-size: 2vw; 
}

}

/* 當螢幕寬度小於或等於 768px 時 */
@media (max-width: 768px) {
    header{
        margin-bottom: -320px;
    }
    
    .ec2desktop{
        display: none;
	}
    .ec2pad{
        display: none;
    }
	.ec2mobile{
        display: block;
        background-repeat: repeat-y;
	}

    .radiusBox{
        height: 500px;
    }
    .radiusBox::before{
        height: 420px;
        border: 2px solid #000;
        border-radius: 32px;
        top: 15%;
    }

    /* 修改process-box佈局 */
    .process-box {
        height: 300px;
        display: flex;
        flex-direction: column;
        align-items: center;
        flex-wrap: wrap;
    }

    .process-line{
        width: 100px;
        height: 300px;
        display: flex;
        justify-content: center;
    }

     /* 隱藏橫式圖片，顯示直式圖片 */
    .process-line img:first-child {
        display: none;
    }
    
    .process_line_col {
        display: block;
        width: 42px; /* 根據需要調整寬度 */
    }

    /* 調整text-box佈局 */
    .text-box {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: calc(100% - 100px); /* 根據需要調整寬度 */
        height: 100%;
    }

    .process-text {
        width: 100%;
        padding: 0;
        margin: 0 0 16px 0; /* 根據需要調整間距 */
        text-align: left;
    }

    .process-text h3{
        margin: 8px;
        font-size: 4.5vw;
    }
    
    .process-text h4{
        margin: 8px;
        font-size: 3vw;
    }
    .process-text p{
        margin: 4px;
        font-size: 3vw;
    }
    

    .faq {
        background-image: url('./bg/faq_bg_768.png');
        background-repeat: repeat-y;
        overflow: hidden;
    }
    .btn{
        margin: 1rem 1rem 0 1rem;
    }

    .location-box{
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content:center;
        column-gap: 24px;
    }

    .flexRow{
        flex-direction: column;
    }
    
    .airportPickUpTime{
        margin-bottom: 24px;
    }
    
    .location-round{
        width: 80%;
        width: 200px;
        height: 200px;
    } 
    
    .location-round h3{
        display: inline-block;
        font-size: 3rem;
        text-align: center;
        vertical-align: middle;
        line-height: 3.5rem;
        font-weight: 500;
    }
    
    .timeText{
        font-size: 1.2rem;
        font-weight: 500;
        line-height: 2;
        text-align: center;
    }
    
    .faqBox {
        width: 580px;
    }
    
    .faqCards {
        width: 580px;
        row-gap: 0.8rem;
        column-gap: 0.8rem;
    }
    
    .faqCard {
        width: 250px;
        height: 428px;
        min-height: 350px; /* 設置最小高度 */
    }
    
    .cardBlock {
        height: 74px;
    }
    
    .faqCard:nth-child(-n+3){
        width: 250px;
        height: 300px;
    }
    
    .faqText{
        padding:0 1rem;
    }
    
    .faqText h3{
        font-size: 1.4rem;
        line-height: 2rem;
    }
    .faqText h4 {
        font-weight: 500;
        font-size: 1.2rem;
        line-height: 1.9rem;
    }

    /* BTN----------------------- */

    .btn{
        flex: 1 1 150px; /* 按鈕隨容器縮放 */
        max-width: 150px; /* 最大寬度 */
    }

    /*popup-----------------------*/
	.modal-content {
		width: 90%;
	}

    .toTop-arrow{
		bottom: 16%;
	}

    /* sidenav */
	.menu {
		width: 100%;
		bottom: 0;
		right: 0;
	}
	.menu>img {
		max-width: 23%;
		margin-bottom: 0;
		padding: 0;
		opacity: 0.9;
	}
	.menu__style {
		padding: 1% 4% 2% 4%;
		border-radius: 10px;
	}
	.menu ul li {
		padding: 2px 8px;
		font-size: 0.9em;
		line-height: 2.1em;
		width: auto;
	}

	.menu ul li:last-child {
		border-bottom:2px solid #a7c1ff;
	}
	#sidebar .toggle-btn{
		bottom: 0px;
	}


}

/* 當螢幕寬度小於或等於 580px 時 */
@media (max-width: 580px) {

    header{
        margin-bottom: -220px;
    }

    .title-box{
        height: 2.5rem;
        border: 2px solid var(--shadow-color);
    }

    .title-shadow-stroke {
        font-size: 2rem;
        top: -10px;
        text-shadow: 2px 2px var(--shadow-color);
    }

    .process_line_col{
        margin-top: 18px;
    }

    .process-text {
        width: 100%;
        padding: 0;
        margin: 0 0 24px 0; /* 根據需要調整間距 */
        text-align: left;
    }

    .process-text h3{
        font-size: 5.2vw;
    }
    
    .process-text h4{
        font-size: 4vw;
    }
    .process-text p{
        font-size: 3.8vw;
    }
    
    .location-box{
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content:center;
        column-gap: 16px;
    }

    .flexRow{
        flex-direction: column;
    }
    
    .airportPickUpTime{
        margin-bottom: 24px;
    }
    
    .location-round{
        width: 150px;
        height: 150px;
        border: 2px solid var(--shadow-color);

    } 
    
    .location-round h3{
        font-size: 2.3rem;
        line-height: 3rem;
        font-weight:400;
    }
    
    .timeText{
        font-size: 1rem;
    }

    .discountText li {
        padding-left: 100px;
    }

    .discountText li::before {
        transform: translateY(-50%);
        width: 80px; 
    }
    .discountText{
        margin-right: 0;
        font-size: 1.2rem;
        line-height: 2rem;
        display: flex;
        /* flex-direction: column; */
        font-weight: 600;
    }
    .discountText span{
        font-weight: 700;
        font-size: 1.3rem;
    }


    .faqBox {
        width: 100vw;
    }
    
    .faqCards {
        width: 500px;
        height: auto;
        padding:2rem 0;
        list-style: none;
        row-gap: 1rem;
    }
    
    .faqCard {
        width: 300px;
        height: 510px;
        min-height: 350px; /* 設置最小高度 */
        margin-bottom: 1rem; /* 增加间距以确保内容不被截断 */
        background-size: contain; /* 確保背景圖片覆蓋整個元素 */
    }
    
    .cardBlock {
        height: 85px;
    }
    
    .faqCard:nth-child(-n+3){
        width: 300px;
        height: 420px;
    }
    
    
    .faqText{
        width: 100%;
        height: 100%;
        text-align: start;
        padding:0.5rem 1rem;
    }
    
    .short{
        width: 100%;
        height: 100%;
    }
    
    .faqText h3{
        font-size: 1.8rem;
        line-height: 2.8rem;
    }
    .faqText h4 {
        font-weight: 500;
        font-size: 1.5rem;
        line-height: 2.3rem;
    }

    /* sidenav */
	.menu {
		width: 100%;
		bottom: 0;
		right: 0;
	}
	.menu>img {
    max-width: 30%;
    margin-bottom: 0;
    padding: 0;
}
	.menu__style {
		padding: 10px 32px;
		border-radius: 10px;
	}

}

@media (max-width:450px) {
    .process-line{
        width: 64px;
    }

    .text-box {
        width: calc(100% - 64px); /* 根據需要調整寬度 */
    }
    
    .process_line_col{
        margin:auto;
    }

    .process-text {
        width: 100%;
        padding: 0;
        margin: 0 0 24px 0; /* 根據需要調整間距 */
        text-align: left;
    }

    .process-text h3{
        font-size: 5.5vw;
    }
    
    .process-text h4{
        font-size: 4.5vw;
    }
    .process-text p{
        font-size: 3.8vw;
    }

    
    .faqCard {
        width: 240px;
        height: 420px;
        /* min-height: 350px; */
        margin-bottom: 1rem; /* 增加间距以确保内容不被截断 */
        background-size: contain; /* 確保背景圖片覆蓋整個元素 */
    }
    
    .cardBlock {
        height: 70px;
    }
    
    .faqCard:nth-child(-n+3){
        width: 240px;
        height: 350px;
    }
    
    
    .faqText{
        /* width: 100%; */
        /* height: 100%; */
        text-align: start;
        padding:0.5rem 1rem;
    }
    
    .short{
        width: 100%;
        height: 100%;
    }
    
    .faqText h3{
        font-size: 1.5rem;
        line-height: 2.2rem;
        margin:0.25rem 0;
    }
    .faqText h4 {
        /* font-weight: 500; */
        font-size: 1.2rem;
        line-height: 2rem;
        margin:0.25rem 0;
    }
}

