.index_cooperative_area {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: clamp(0.625rem, 1.0417vw, 1.25rem);
}

@media (max-width: 990px) {
    .index_cooperative_area {
        flex-direction: column-reverse;
        align-items: flex-start;
        justify-content: flex-start;
    }
}

.index_cooperative_map_area {
    width: 40%;
}

.index_cooperative_map {
    width: 100%;
    /* max-width: 300px; */
    /* aspect-ratio: 300 / 600; */


    max-width: 450px;
    aspect-ratio: 46 / 65;
}

.index_cooperative_map img {
    width: 100%;
    height: auto;
}

.index_cooperative_info_area {
    width: 60%;
    border: 1px solid rgb(0, 0, 0);
    padding: 10px clamp(0.3125rem, 1.0417vw, 1.25rem);
    font-size: 1.125em;
    background-color: rgb(251, 251, 235);
    box-sizing: border-box;
}

/* 在螢幕放大150%且寬度大於991時，套用這裡的特定樣式 */ 
@media screen and (min-width: 991px) and (min-height: 500px) and 
(max-height: 1000px) and (-webkit-min-device-pixel-ratio: 1.5) and 
(-webkit-max-device-pixel-ratio: 1.74), only screen and (min-resolution: 150dpi) and 
(max-resolution: 174dpi) { 
    .index_cooperative_map_area {
        width: 35%;
    }

    .index_cooperative_info_area {
        width: 60%;
        font-size: 1em;
    }
}

@media (max-width: 990px) {
    .index_cooperative_map_area {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .index_cooperative_map {
        width: 50%;

        width: 100%;  /*20251023*/
        max-width: 300px;
        /* aspect-ratio: 300 / 600; */
    }
    .index_cooperative_info_area {
        width: 100%;
        max-width: unset;
        font-size: 1em;
    }
}

.index_cooperative_info_area .road {
    font-size: 1.125em;
    margin-bottom: clamp(0.9375rem, 1.5625vw, 1.875rem);
    font-weight: 600;
    letter-spacing: 3px;
}

.cooperative_button_area {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(0.625rem, 1.0417vw, 1.25rem);
}

.index_cooperative_info_area .regionBtn {
    width: calc(25% - 0.9375rem);
    appearance: unset;
    background-color: rgb(255, 255, 255);
    border-color: rgb(255, 255, 255);
    box-shadow: unset;
    border-radius: 10px;
    font-size: 1.25em;
    padding: 10px clamp(0.3125rem, 0.5208vw, 0.625rem);
    border-style: none;
    box-sizing: border-box;

    cursor: pointer; /*20251023*/
}
.regionBtn.active,
.regionBtn:focus {
    outline: rgb(163, 164, 167) solid 0.15rem !important;
    background-color: rgb(163, 164, 167) !important;
    border-color: rgb(163, 164, 167) !important;
    color: #fff;
}

@media (max-width: 1300px) {
    .index_cooperative_info_area .regionBtn {
        font-size: 1em;
    }
}

@media (max-width: 990px) {
    .index_cooperative_info_area .regionBtn {
        width: 100%;
    }
}
.region_area{
    margin-top: clamp(.625rem,1.0417vw,1.25rem);
}
.city_area {
    width: 100%;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    
    opacity: 0;
    display: none;
}

.city_btn {
    color: white;
    border: none;
    padding: 10px 0px;
    width: 100%;
    border-radius: 10px;
    font-size: 1.125em;
    display: block;
    text-align: center;
    cursor: pointer; /*20251023*/
}

.city_area.area1 .city_btn {
    /* background-color: var(--fifth_color); */
    background-color: #d0544a; /*20251023*/
}

.city_area.area2 .city_btn {
    /* background-color: var(--third_color); */
    background-color: #a2a81c; /*20251023*/
}

.city_area.area3 .city_btn {
    /* background-color: var(--second_color); */
    background-color: #ebb358; /*20251023*/
}

.city_area.area4 .city_btn {
    /* background-color: var(--fourth_color); */
    background-color: #d16f9e; /*20251023*/
}

.travel_area {
    width: 100%;
    flex-direction: column;
    gap: 10px;
    display: none;
    max-height: calc(60px * 2);
    overflow-y: auto;
}

.travel_list {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(0.4375rem, 0.7813vw, 0.9375rem);
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
    padding: 10px;
    font-size: 1.125em;
    box-sizing: border-box;
}

.travel_list:hover {
    cursor: pointer;
    opacity: 0.7;
    transition: 0.3s;
}

.travel_list .travel_tag {
    font-size: 0.75em;
    padding: 10px;
    background-color: rgb(174, 128, 82);
    color: rgb(255, 255, 255);
    text-align: center;
    border-radius: 10px;
}

/* 在螢幕放大150%且寬度大於991時，套用這裡的特定樣式 */ 
@media screen and (min-width: 991px) and (min-height: 500px) and 
(max-height: 1000px) and (-webkit-min-device-pixel-ratio: 1.5) and 
(-webkit-max-device-pixel-ratio: 1.74), only screen and (min-resolution: 150dpi) and 
(max-resolution: 174dpi) { 
    .city_btn {
        font-size: 1.05em;
    }     
    .travel_area {
   
        max-height: calc(55px * 2);
        
    } 
}

@media (max-width: 990px) {
    .travel_area {
   
        max-height: calc((52px * 2) + 10px);
        
    }
    .travel_list {
        font-size: 1em;
    }
    .city_btn {
        font-size: 1em;
    }
}
.travel_detail {
  opacity: 0;
  transform: translateY(20px);
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s ease;
  display: none; /* 初始為隱藏 */
  font-size: 1em;
}

.travel_detail.flexing {
  display: flex; /* 顯示後套用 flex 佈局 */
  flex-direction: column;
  gap: clamp(.625rem,1.0417vw,1.25rem);
}

.travel_detail.active {
  opacity: 1;
  transform: translateY(0px);
  visibility: visible;
  pointer-events: auto;
}

.travel_detail_area1, .travel_detail_area2, .travel_detail_area3 {
    width: 100%;
}

.title_area {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
}

.travel_deco {
    width: 53px;
}

.travel_deco img {
    width: 100%;
    height: auto;
}

.travel_detail .title_area .title {
    font-size: 1.5em;
    font-weight: 600;
    letter-spacing: 3px;
}

.travel_detail .title_info {
    margin-top: clamp(.625rem,1.0417vw,1.25rem);
    font-size: 1.125em;
    font-weight: 500;
    margin-left: 60px;
}

.travel_detail .travel_step {
    margin-top: 20px;
    font-size: 1.125em;
    font-weight: 400;
    margin-left: 60px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px 5px;
}

.travel_detail .travel_step .travel_item {
    display: flex;
    width: 100%;
    gap: 5px;
}

.travel_detail .travel_step .travel_item.last_item {
    width: calc(100% - 20px);
}

.travel_detail .travel_step .travel_item .item_title {
    padding: 0.625rem clamp(0.3125rem, 0.5208vw, 0.625rem);
    color: rgb(255, 255, 255);
    text-align: center;
    border-radius: 10px;
    line-height: normal;
    width: calc(100% - 20px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.travel_detail .travel_step .travel_item .right_arrow {
    width: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.travel_detail .travel_step .travel_item .right_arrow img {
    width: 100%;
    height: auto;
}

.travel_road {
    margin-top: 20px;
    margin-left: 60px;
}

.road_view {
    display: grid;
    grid-template-columns: 2.5rem auto 14.5625rem;
    column-gap: 0.625rem;
    margin-top: 5px;
}

/* 在螢幕放大150%且寬度大於991時，套用這裡的特定樣式 */ 
@media screen and (min-width: 991px) and (min-height: 500px) and 
(max-height: 1000px) and (-webkit-min-device-pixel-ratio: 1.5) and 
(-webkit-max-device-pixel-ratio: 1.74), only screen and (min-resolution: 150dpi) and 
(max-resolution: 174dpi) { 
    .travel_detail {
        font-size: 1em;
    }
    .travel_detail .title_area .title {
        font-size: 1em;
        
    }
    .travel_detail .title_info {
        font-size: 1em;
    }

    .travel_detail .travel_step {
        font-size: 1em;
    }
}

@media (max-width: 1550px) {
    .travel_detail .travel_step {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1280px) {
    .travel_detail .travel_step {
        font-size: 1em;
        grid-template-columns: repeat(3, 1fr);
    }
}


@media (max-width: 990px){
    .travel_detail .title_area .title {
        font-size: 1.2em;
    }
    .travel_detail .title_info {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .travel_detail .travel_step {
        font-size: .875em;
        grid-template-columns: repeat(2, 1fr);
    }
}

.travel_road .view_pic {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.travel_road .view_dot {
    width: 40px;
    background: url("../../brand/images/round_icon.svg") center center / 30px no-repeat;
    height: 40px;
}

.travel_road .view_line {
    width: 40px;
    height: 100%;
    background: url("../../brand/images/dotted_line.svg") center center / 34px repeat-y;
    min-height: 34px;
}

.travel_road .view_title {
    font-weight: 600;
    line-height: 30px;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.travel_road .text_area {
    line-height: 1.5;
    font-size: 1.125em;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.travel_road .view_img {
    width: 233px;
}

.travel_road .view_img span {
    position: relative;
    display: block;
    padding-top: 75.3%;
}

.travel_road .view_img span img {
    position: absolute;
    inset: 0px;
    float: none;
    object-fit: cover;
    transition: 0.3s ease-out;
    width: 100% !important;
    height: 100% !important;
}
/* 在螢幕放大150%且寬度大於991時，套用這裡的特定樣式 */ 
@media screen and (min-width: 991px) and (min-height: 500px) and 
(max-height: 1000px) and (-webkit-min-device-pixel-ratio: 1.5) and 
(-webkit-max-device-pixel-ratio: 1.74), only screen and (min-resolution: 150dpi) and 
(max-resolution: 174dpi) { 
    .travel_road .view_title {
       font-size: 1.2em;
    }
    .travel_road .text_area {
        font-size: 1em;
    }

}

@media (max-width: 990px) {
    .road_view {
        grid-template-columns: 2.5rem auto;
    }
    .travel_road .view_title {
       
        font-size: 1.2em;
        
    }
    .travel_road .view_pic {
        grid-row: 1 / 3;
    }

    .travel_road .text_area {
        line-height: 1.5;
        font-size: 1em;
        display: block;
    }

    .travel_road .view_img {
        margin: 10px 0px;
        width: 100%;
        grid-column: 2 / 3;
    }
}
