/*------------------------------------------icon-字型 開始-------------------------------*/
@font-face {
    font-family: 'jf_openhuninn';
	src:url(../icon_fonts/jf_openhuninn_1_1/jf-openhuninn-1.1.ttf);
    font-weight: normal;
    font-style: normal;
}
/*------------------------------------------icon-字型 結束-------------------------------*/
.fruit_map{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.control_area{
    width: 50%;
}
/* 手機版左側篩選 */
.control_area.mb{
    display: none;
}
/* =============================== */
/* 電腦版左側篩選區塊 start */
/* =============================== */
/* 電腦版左側篩選 */
.control_area.pc{
    
}
.control_area .choose_season{
    display: flex;
    flex-direction: column;
    gap: clamp(.3125rem,0.7813vw,.9375rem);
    font-size: 1.125em;
}
.control_area .choose_season .season_area {
    display: flex;
    gap: clamp(.625rem,0.9375vw,1.125rem);
    
}
.control_area .choose_season .season_area label{
    display: flex;
    gap: .3125rem;
}
.fruit_area_bg{
    padding: clamp(.625rem,1.5625vw,1.875rem);
    border-radius: 0.625em;		
    border: solid 0.0625em #ccc;
    margin-bottom: clamp(.8125rem,1.3542vw,1.625rem);
    margin-top: clamp(.8125rem,1.3542vw,1.625rem);
    background-color: #fff;
    
    
}
.fruit_area{

    display: grid;
    align-items: flex-start;
    grid-template-columns: repeat(4,1fr);
    gap: clamp(.3125rem,0.5208vw,.625rem);
    min-height: clamp(9.375rem,13.75vw,16.5rem);
    max-height: clamp(9.375rem,13.75vw,16.5rem);
    overflow-y: auto;
    
}
.fruit_area[hidden] {
  display: none !important;
}

.fruit_area button{
    background-color: #fff;
    border: none;
    font-weight: 300;
    line-height: normal;
    color: #333;
    font-size: 1em;
    margin: 0;
    padding: 0;
    margin-bottom: 2px;
    margin-right: 2px;
    margin: 2px;
    width: 80%;
}
.fruit_area button img{
   width: 100%;
   height: auto;
}
.fruit_area button .fruit_name{
    word-break: break-all;
    font-size: 1em;
}
.fruit_text_box{
    padding: clamp(.625rem,1.5625vw,1.875rem);
    border-radius: 0.625em;		
    border: solid 0.0625em #ccc;
    background-color: #fff;

}
.fruit_text_box_mb{
    display: none;
}
.fruit_text_area{
    max-height: clamp(14.375rem,23.2813vw,27.9375rem);
    overflow-y: scroll;
}

.fruit_text_area .fruit_text_img{
    
    margin-top: clamp(.3125rem,0.5208vw,.625rem);
    
}
.fruit_text_area .fruit_text_img img{
    width: 100%;
    height: auto;
    object-fit: cover;
}
/* =============================== */
/* 電腦版左側篩選區塊 end */
/* =============================== */
/* =============================== */
/* 手機版左側篩選區塊 start */
/* =============================== */
.season_select_area,
.fruit_select_area{
    width: 48%;
}
.season_select_area select,
.fruit_select_area select{
    width: 100%;
}
/* =============================== */
/* 手機版左側篩選區塊 end */
/* =============================== */



/* 在螢幕放大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) {
    .control_area .choose_season{
        font-size: 1em;
    } 
    .fruit_map{
        align-items: flex-start;
    }
    .fruit_area{

        grid-template-columns: repeat(3,1fr);
        
        
    }

    .control_area{
        width: 45%;
    }
    .fruit_area button .fruit_name{
        font-size: .9375em;
    }
        .fruit_text_area{
        max-height: 12.5rem;
        overflow-y: scroll;
    }
    
}
@media (max-width: 1100px){
    .control_area.pc{
        display: none;
    }
    .fruit_map{
        display: flex;
        flex-direction: column;
    }
    .control_area.mb{
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    .fruit_text_box_mb{
        display: block;
        padding: clamp(.625rem,1.5625vw,1.875rem);
        border-radius: 0.625em;		
        border: solid 0.0625em #ccc;
        background-color: #fff;
    }
    @supports (-webkit-touch-callout: none) {
    .fruit_text_box_mb {
        padding: clamp(.3125rem,0.7813vw,.9375rem) !important;
    }
}

}




.map_area{
    width: 50%;
    aspect-ratio: 3 / 4;
}
.map_area .map_bg{
    background-image: url(../../brand/images/map_bg.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    margin: 0;
    padding: 0;
    position: relative;
    width: 100%;
    height: 100%;
}
.map_area .map_bg::after{
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(calc(-50% + -2px),calc(-50% + 2px));
    width: 100%;
    aspect-ratio: 1213/ 1715;
    /* right: 0; */
    /* bottom: 0; */
    background-image: url(../../brand/images/map_bg2.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 93%;
    margin: 0;
    padding: 0;
    pointer-events: none; /* 避免干擾點擊 */
    /* display: none; */
    z-index: 0;

    opacity: 0; /* 初始隱藏 */
    animation: showBg 0.5s ease forwards;
    animation-delay: 0.5s; /* 延遲 2 秒 */
}
@keyframes showBg {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.map_bg svg{

width: 100%;

height: 100%;

position: absolute;

top: 50%;

left: 50%;

transform: translate(-50%,-50%);

z-index: 2;
}


.county {
  stroke: #ddd;
  stroke-width: 0.4px;
  fill: #fff;
  cursor: pointer;
}
.highlight-north {
  fill: #D0544A !important; /* 橘 */
}
.highlight-central {
  fill: #9FA61C !important; /* 綠 */
}
.highlight-south {
  fill: #EBB258 !important; /* 藍 */
}
.highlight-east {
  fill: #D16E9D !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) { 
    .map_area{
        width: 55%;
        
    }
}
@media (max-width: 1100px){
    .map_area{
        margin-top: clamp(.625rem,1.0417vw,1.25rem);
        width: 100%;
    }
}
.fruit_area::-webkit-scrollbar,
.fruit_text_area::-webkit-scrollbar {
    width: 10px;     /* 垂直捲動條寬度 */
    height: 10px;    /* 水平捲動條高度 */
}
  /* 滚动条轨道 */
.fruit_area::-webkit-scrollbar-track,
.fruit_text_area::-webkit-scrollbar-track {
	background: #EDEDED;
	border-radius: 20px;
  }
  
  /* 滚动条滑块 */
.fruit_area::-webkit-scrollbar-thumb,
.fruit_text_area::-webkit-scrollbar-thumb {
	background: #ECA613;
	border-radius: 20px;
  }
  
  /* 滚动条滑块悬停时 */
.fruit_area::-webkit-scrollbar-thumb:hover,
.fruit_text_area::-webkit-scrollbar-thumb:hover {
	background: #555;
  }
.fruit_area::-webkit-scrollbar-horizontal,
.fruit_text_area::-webkit-scrollbar-horizontal{
	background-color: #EDEDED;

  }