@charset "utf-8";
/***************************************
    copyright by MakeWeb.com.tw 
***************************************/
html {
    scroll-behavior: smooth; /* 實現平滑滾動 */
    scroll-padding-top: 95.19px; /* 設定滾動時預留選單高度的空間 */
}

.tabs_simple_blue .subject {
    padding: 14px 0;
}

/* root element for tabs  */
.tabs_simple_blue ul.tabs {
    display: flex;
    justify-content: flex-start; /* 改為靠左對齊 */
    margin: 0;
    padding: 0 0 0 50px; /* 增加左側 50px 留白 */
    list-style: none;
    border-bottom: 2px solid #e0e0e0; /* 稍微加粗基底線 */
    width: 100%;
    flex-wrap: wrap;
}

/* single tab */
.tabs_simple_blue ul.tabs li {
    position: relative;
    margin: 0;
}

/* link inside the tab */
.tabs_simple_blue ul.tabs a {
    display: inline-block;
    padding: 8px 40px; /* 將上下 padding 從 15px 縮小至 8px */
    font-size: 2rem;
    color: #666;
    text-decoration: none;
    transition: all 0.2s;
    position: relative;
    letter-spacing: 2px;
}

/* Slash decorations - 修正重複斜線問題 */
.tabs_simple_blue ul.tabs a::after {
    content: "/";
    position: absolute;
    top: 50%;
    right: 0; /* 靠右顯示 */
    transform: translateY(-50%);
    font-weight: 300;
    color: #333;
}

/* 只有第一個項目需要前面的斜線 */
.tabs_simple_blue ul.tabs li:first-child a::before {
    content: "/";
    position: absolute;
    top: 50%;
    left: 0; /* 靠左顯示 */
    transform: translateY(-50%);
    font-weight: 300;
    color: #333;
}

/* Hover state */
.tabs_simple_blue ul.tabs a:hover {
    color: #000;
}

/* Active tab state */
.tabs_simple_blue ul.tabs a.current {
    color: #000;
    font-weight: bold;
    border-bottom: 4px solid #000;
    margin-bottom: -1px; /* Overlap with baseline */
}

/* initially all panes are hidden */
.panes > div {
    display: none;
}

.panes > div:first-child {
    display: block;
}

/* tab pane styling */
.tabs_simple_blue .panes {
    display: block;
    padding: 40px 0;
    background-color: #fff;
}

/* tab pane 的內容 styling */
.tabs_simple_blue .panes .content {
    color: #999;
    line-height: 20px;
    margin: 10px 0;
}

/*-------------------------------------------- 
	Media Queries 
---------------------------------------------*/
/* Portrait and Landscape */
/*@media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (-webkit-min-device-pixel-ratio: 2) {
}*/

/*iPad Pro*/
@media screen and (max-width: 1279px) {
    html {
        scroll-padding-top: 94px; /* 設定滾動時預留選單高度的空間 */
    }
}

@media screen and (max-width: 1023px) {
    html {
        scroll-padding-top: 75.59px; /* 設定滾動時預留選單高度的空間 */
    }
}

@media screen and (max-width: 1023px) {
    .tabs_simple_blue ul.tabs {
        padding: 0 0 0 20px;
    }

    .tabs_simple_blue ul.tabs a {
        padding: 8px 25px;
        font-size: 1.5rem;
    }
}

/*iPhone*/
@media screen and (max-width: 760px) {
    html {
        scroll-padding-top: 66.94px; /* 設定滾動時預留選單高度的空間 */
    }

    .tabs_simple_blue ul.tabs {
        padding: 0;
        justify-content: center;
    }

    .tabs_simple_blue ul.tabs a {
        padding: 6px 15px;
        letter-spacing: 1px;
    }

    .tabs_simple_blue .panes {
        padding: 20px 0;
    }
}

@media screen and (max-width: 480px) {
    .tabs_simple_blue ul.tabs a {
        padding: 6px 10px;
        letter-spacing: 0;
    }
}
