* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-size: 14px;
    font-family: 'Inter', sans-serif;
}

/*網站首圖*/
.banner {
    width: 100%;
    margin-top: 100px;
    display: flex;
    background-color: #f0f0f0;
    opacity: 1;
    position: relative;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/*標題*/
.title {
    width: 100%;
    height: 140px;
    position: relative;
    align-items: end;
    justify-content: center;
    display: flex;
    text-align: center;
}

.title .title-ch {
    color: rgba(99, 99, 99, 1);
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.title .title-en {
    color: rgba(141, 186, 215, 1);
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 0px;
}


/*搜尋導遊區塊  切分左右兩區*/
.condition {
    margin-top: 50px;
    width: 100%;
    height: auto;
    position: relative;
    display: flex;
}

.alternative {
    width: 100%;
    margin: auto;
    padding: 0 15%;
}

.select {
    color: rgba(60, 128, 180, 1);
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}

.main {
    width: 100%;
}

.step {
    display: none;
}

.step-btn {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 2rem;
}

.datetime, .member-area {
    text-align: center;
}

/*左側區塊*/
.left {
    height: auto;
    min-width: 220px;
    margin-left: 20%;
}

.select-detail {
    text-align: center;
}

.calendar-container {
    text-align: center;
    width: 100%;
}


.hidden {
    display: none;
}

/*右側區塊*/
.right {
    width: 57%;
    height: auto;
    margin-left: 5%;
}

.right .select {
    color: rgba(60, 128, 180, 1);
    font-size: 20px;
}

/* 人數 */
.members {
    width: 100%;
    display: flex;
    padding: 10px 0;
    justify-content: center;
}

/* 交通工具 */
.trans {
    max-width: 600px;
    margin: auto;
}

/*條件篩選*/
.gender-language {
    padding-top: 5%;
    position: relative;
    text-align: center;
}

.select-condition {
    color: rgba(60, 128, 180, 1);
    font-size: 20px;
    font-weight: bold;
}

.farther {
    color: rgba(99, 99, 99, 1);
    font-size: 14px;
    padding-left: 20px;
}

.subtitle {
    color: rgba(127, 189, 236, 1);
    position: relative;
    font-size: 18px;
    padding: 20px 0 10px 0;
    font-weight: 500;
}

.text {
    color: rgba(0, 0, 0, 1);
    font-size: 16px;
    padding-right: 3%;
}

.language {
    color: rgba(127, 189, 236, 1);
    position: relative;
    font-size: 18px;
    padding: 20px 0px 10px 0px;
}

.price-text {
    color: rgba(127, 189, 236, 1);
    position: relative;
    font-size: 18px;
    padding: 20px 0px 10px 0px;
}

.guideprice {
    color: rgba(127, 189, 236, 1);
    position: relative;
    font-size: 18px;
    padding: 20px 0px 10px 0px;
}

.search {
    height: 50px;
    width: 100%;
    margin-top: 40px;
    background: rgba(91, 177, 216, 1);
    border-radius: 10px;
    cursor: pointer;
    border: #f0f0f0;
}

.search-text {
    color: rgba(255, 255, 255, 1);
    font-size: 18px;
}

/*導遊總攬*/
.selfIntroduction {
    display: block;
    max-height: none;
}

.introduce.expanded .more {
    display: block;
}

.guide-main {
    padding: 0 22%;
}

#guides {
    display: flex;
    flex-direction: column;
    margin-block: 20px;
    gap: 50px;
}

@media (max-width: 991px) {
    .alternative {
        padding: 0 5vw;
    }
}

/* 在螢幕寬度小於768px時觸發 */
@media screen and (max-width: 768px) {
    .title .title-en {
        font-size: 16px;
        margin-top: 5px;
    }

    .condition {
        flex-direction: column;
        /* 垂直排列 */
        width: 100%;
    }

    .alternative {
        margin: 0%;
    }

    .left {
        min-width: 1%;
        justify-content: center;
        /* 讓內部內容置中 */
        text-align: center;
        flex-direction: column;
        margin-left: 5%;
    }

    .right {
        margin-top: 20px;
        /* 增加空間，讓右邊區塊與上方有點距離 */
        min-width: 10%;
        justify-content: center;
        /* 讓內部內容置中 */
        text-align: center;
        width: 95%;
        /* 占滿整個寬度 */
        flex-direction: column;
    }

    .select-area {
        width: max-content;
        flex-direction: column;
        /* 新增設定: 小於 768px 時改為縱向排列 */
        display: contents;
        align-items: center;
        /* 新增設定: 垂直置中 */
    }

    .trans {
        justify-content: space-between;
    }

    .select-condition {
        display: flex;
        justify-content: center;
    }

    .guide-main {
        padding: 0 8% 0 8%;
    }
}