h1, h2, h3, h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
}

h1, h2, h3, p, h1, h2, h3, p, h4, h5, h6, hr {
    margin: 0;
}

hr {
    height: 0;
    color: #C8CBD0;
    border-top-width: 1px;
    margin: 10px 30px 10px 30px;
}

.bg-white {
    background-color: #FFFFFF;
}

/* Section4 Responsive Styles */
.desktop-view {
    display: block;
}

.strategy-scroll-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.overlay-block {
    display: flex;
}

section {
    padding-top: 20px;
    padding-bottom: 20px;
}

.section1-title {
    /*font-family: 'Roboto';*/
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 70px;
    text-align: center;
    color: #3AAFA9;
}

.section1-content {
    /*font-family: 'Microsoft JhengHei';*/
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    text-align: justify;
    letter-spacing: 0.04em;
    color: #40474A;
}

.section3-title {
    /*font-family: 'Roboto';*/
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 150%;
    text-align: center;
    letter-spacing: 0.04em;
    color: #2B7A77;
}

.article-box {
    width: 10px;
    height: 10px;
    display: inline-block;
    background: #4AC8C1;
    margin: 6px 6px 4px 6px;
    vertical-align: top;
}

.content {
    /*font-family: 'Microsoft JhengHei';*/
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: #000000;
    height: inherit;
    padding: 10px;
    text-align: left;
}

.contentText{
    text-indent: -1em;
    margin-left: 1em;
}

.blockBg {
    width: 250px;
    height: 50px;
    display: inline-block;
    /*box-shadow: 0 2px 4px 0 rgb(0 0 0 / 50%);*/
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    margin: 10px;
    position: relative;
}

.blockBgText{
    width: inherit;
    height: inherit;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    padding: 0;
    margin: 0;
}

.blockBg.L1 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 280px;
    background: #FFB636;
    /*opacity: 0.8;*/
    border-radius: 15px;
    writing-mode: vertical-rl;
    /*font-family: 'Roboto';*/
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 150%;
    text-align: center;
    letter-spacing: 10px;
    color: #000000;
    z-index: 2;
    position: relative;
}

.blockBg.L2_1 {
    text-align: center;
    color: #FFB636;
    background-color: #FFDEC7;
    animation: fadeIn 10s;

    /*font-family: 'Roboto';*/
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
}

.blockBg.L2_2 {
    text-align: center;
    color: #FF7D45;
    background-color: #FFDEC7;
    animation: fadeIn 11s;

    /*font-family: 'Roboto';*/
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
}

.blockBg.L2_3 {
    text-align: center;
    color: #EB4B4B;
    background-color: #FFDEC7;
    animation: fadeIn 12s;

    /*font-family: 'Roboto';*/
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
}

.blockBg.L3 {
    vertical-align: middle;
    text-align: center;
    background-color: #FFF4ED;
    animation: fadeIn 13s;
    height: 200px;
    line-height: 25px;
    margin-top: 0px;
    margin-bottom: 15px;
    z-index: 2;
    position: relative;
}

.section4-title {
    font-size: 20px;
    font-weight: 700;
    color: #74E7BD;
    margin-bottom: 30px;
    line-height: 150%;
    text-align: center;
}

/* 測試用 */
@keyframes fadeIn {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 1;
    }
}

.legendView {
    display: inline-block;
    width: 350px;
    /*height: 30px;*/
    line-height: 30px;
    padding: 10px 10px 10px 10px;
    border-radius: 30px;
    /*box-shadow: 0 2px 4px 0 rgb(0 0 0 / 50%);*/
    border: solid 1px #ffffff;
    color: black;
    font-size: 15px;
    text-align: center;
    margin: 20px 0px 20px 0px;
    background: white;
}

.legendContent {
    display: inline-block;
    font-size: 16px;
    height: 25px;
    line-height: 25px;
}

input[type="checkbox"] {
    -webkit-appearance: none;
    vertical-align: middle;
    margin-top:0;
    width: 25px;
    height: 25px;
    background: #fff;
    border: #fff solid 1px;
    border-radius: 3px;
    /*box-shadow: inset 0 1px 3px 0 rgba(0, 0, 0, 0.5);*/
    cursor: pointer;
}

input.employeeCheckBox[type="checkbox"] {
    -webkit-appearance: none;
    vertical-align: middle;
    margin-top:0;
    width: 25px;
    height: 25px;
    background: #fff;
    border: #6fcefa solid 1px;
    border-radius: 3px;
    /*box-shadow: inset 0 1px 3px 0 rgba(0, 0, 0, 0.5);*/
    cursor: pointer;
}

input.donationCheckBox[type="checkbox"] {
    -webkit-appearance: none;
    vertical-align: middle;
    margin-top:0;
    width: 25px;
    height: 25px;
    background: #fff;
    border: #87d2ce solid 1px;
    border-radius: 3px;
    /*box-shadow: inset 0 1px 3px 0 rgba(0, 0, 0, 0.5);*/
    cursor: pointer;
}

input.adoptCheckBox[type="checkbox"] {
    -webkit-appearance: none;
    vertical-align: middle;
    margin-top:0;
    width: 25px;
    height: 25px;
    background: #fff;
    border: #BBB2F6 solid 1px;
    border-radius: 3px;
    /*box-shadow: inset 0 1px 3px 0 rgba(0, 0, 0, 0.5);*/
    cursor: pointer;
}

input.employeeCheckBox[type="checkbox"]:checked {
    background: #87d2ce;
}
input.employeeCheckBox[type=checkbox]:checked::after {
    content: '';
    margin-top: 6px;
    margin-left: 4px;
    display: block;
    background: transparent;
    border: white solid 2px;
    border-top: none;
    border-right: none;
    height: 5px;
    width: 12px;
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

input.donationCheckBox[type="checkbox"]:checked {
    background: #6fcefa;
}
input.donationCheckBox[type=checkbox]:checked::after {
    content: '';
    margin-top: 6px;
    margin-left: 4px;
    display: block;
    background: transparent;
    border: white solid 2px;
    border-top: none;
    border-right: none;
    height: 5px;
    width: 12px;
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

input.adoptCheckBox[type="checkbox"]:checked {
    background: #BBB2F6;
}
input.adoptCheckBox[type=checkbox]:checked::after {
    content: '';
    margin-top: 6px;
    margin-left: 4px;
    display: block;
    background: transparent;
    border: white solid 2px;
    border-top: none;
    border-right: none;
    height: 5px;
    width: 12px;
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.overflow-x-scroll {
    overflow-x: scroll;
}

.sec2-mobile-view {
    display: block;
}

.sec2-web-view {
    display: none;
}

.mobileGraphScrollBtn {
    position: absolute;
    background-image: url(../../../img/menu/5/5-3/icon-next-btn.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    width: 35px;
    height: 35px;
    left: 95px;
    margin-top: -14px;
    border-radius: 50%;
    border: 1px solid #ABABAB;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    background-color: white;
    display: block;
    z-index: 1;
}

.tableSelectItem{
    display: inline-block;
    text-align: left;
}

.common-8 {
    color: #ABABAB;
    float: left;
    position: relative;
    left: 120px;
    margin-top: 0px;
    font-size: 16px;
}

/* Section 4 Strategy Styles */
.strategy-container {
    max-width: 100%;
}

.strategy-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.strategy-item:hover {
    transform: translateX(+2px);
}

.strategy-item-title {
    font-size: 16px;
    font-weight: bold;
    color: #2B7A77;
    margin-bottom: 8px;
}

.strategy-table-header {
    display: flex;
    background: #B8E9E6;
    margin-bottom: 15px;
    border-radius: 10px;
    text-align: center;
    color: #264E58;
    font-weight: bold;
    font-size: 16px;
    height: 40px;
    line-height: 40px;
}

.strategy-table-content {
    height: auto !important;
}

/* Mobile specific styles for strategy table */
/*@media (max-width: 768px) {*/
/*    .strategy-table-header {*/
/*        display: none;*/
/*    }*/
/*    */
/*    .strategy-item {*/
/*        !*flex-direction: column !important;*!*/
/*        text-align: left !important;*/
/*    }*/
/*    */
/*    .strategy-item > div {*/
/*        border-right: none !important;*/
/*        border-bottom: 1px solid #f0f0f0;*/
/*        margin-bottom: 10px;*/
/*        padding-bottom: 10px;*/
/*        flex: none !important;*/
/*    }*/
/*}*/

/* Mobile Styles */
@media (max-width: 768px) {
    .strategy-scroll-container {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        /*padding: 0 20px;*/
    }

    .strategy-container {
        min-width: 1080px !important;
        width: 1080px;
    }

    .strategy-table-header {
        min-width: 1080px !important;
    }

    .strategy-table-content {
        height: 790px !important;
    }

    .strategy-item {
        display: flex !important;
        flex-direction: row !important;
        align-items: stretch !important;
        margin-bottom: 10px !important;
        gap: 1px;
        min-width: 1080px !important;
    }

    .strategy-item > div:first-child {
        flex-shrink: 0 !important;
        width: 120px !important;
    }

    .strategy-item > div:last-child {
        min-width: 780px !important;
    }

    /*.strategy-scroll-container::-webkit-scrollbar {*/
    /*    height: 8px;*/
    /*}*/

    /*.strategy-scroll-container::-webkit-scrollbar-track {*/
    /*    background: #f1f1f1;*/
    /*    border-radius: 10px;*/
    /*}*/

    .strategy-scroll-container::-webkit-scrollbar-thumb {
        background: #C8CBD0;
        border-radius: 10px;
    }

    /*.strategy-scroll-container::-webkit-scrollbar-thumb:hover {*/
    /*    background: #264E58;*/
    /*}*/

    /*.strategy-scroll-container::-webkit-scrollbar {*/
    /*    height: 8px;*/
    /*}*/

    .overlay-block {
        /*display: none !important;*/
        width: 160px !important;
        height: 740px !important;
        left: 50% !important;
        top: -765px !important;
        transform: translateX(27%) !important;
        position: relative !important;
        font-size: 16px !important;
    }
}

@media (min-width: 800px) {
    section {
        padding-top: 30px;
        padding-bottom: 50px;
    }

    .overflow-x-scroll {
        overflow-x: hidden;
    }

    .legendView {
        width: 600px;
    }

    .legendContent {
        margin-left: 5px;
        font-size: 20px;
        height: 35px;
        line-height: 25px;
        margin-right: 20px;
    }

    .section1-title {
        font-size: 38px;
        line-height: 100px;
    }

    .section1-content {
        font-size: 20px;
    }

    .article-box {
        margin: 9px 6px 4px 6px;
    }

    .section3-title {
        font-size: 28px;
    }

    .blockBg {
        width: 350px;
        height: 70px;
        line-height: 70px;
        display: inline-block;
        /*box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);*/
        justify-content: center;
        align-items: center;
        border-radius: 15px;
        margin:10px;
    }

    .blockBg.L1 {
        text-align: center;
        color: black;
        background-color: #FFB636;
        animation: fadeIn 4s;
        /*font-family: 'Roboto';*/
        font-style: normal;
        font-weight: 700;
        font-size: 20px;
        display: inline-block;
        line-height: 70px;
        letter-spacing: unset;
        writing-mode: unset;
        width: 320px;
        height: 70px;
    }

    .blockBg.L3 {
        vertical-align: middle;
        text-align: center;
        background-color: #FFF4ED;
        animation: fadeIn 13s;
        height: 230px;
        line-height: 30px;
    }

    .content {
        font-size: 16px;
    }

    .sec2-mobile-view {
        display: none;
    }

    .sec2-web-view {
        display: block;
    }

    .mobileGraphScrollBtn {
        display: none;
    }

    .common-8 {
        color: #ABABAB;
        float: unset;
        position: unset;
        left: 0px;
        margin-top: 10px;
        font-size: 18px;
    }

    .section4-title {
        font-size: 28px;
    }

    .strategy-table-header {
        font-size: 20px;
    }

    .strategy-item-title {
        font-size: 20px;
    }
}


