::-webkit-scrollbar:horizontal {
    height: 4px !important;
}

.allDiv {
    display: none;
    width: 100%;
    text-align: center;
}

.frame {
    width: 100%;

    padding-top: 50px;
    padding-bottom: 50px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.frameDiv {
    width: 100%;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;

    display: flex;
    flex-direction: column;
    gap: 30px;
}

.frameDiv.noTop {
    padding-top: 0;
}

#workplaceFrameDiv {
    padding-top: 0;
}

#policyFrame {
    background-color: white;
}

.policyDiv {
    display: flex;
    flex-direction: row;
}

.policyTag {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #4AC8C1;
    margin-left: 3px;
    margin-right: 3px;
    margin-top: 6px;
}

#foodContentDiv .policyTag {
    margin-bottom: 3px;
}

.policyContent {
    display: inline-block;
    width: calc(100% - 16px);
}

#workplaceFrame,#healthFrame,#womenFrame {
    background-color: #F9F7F4;
}

#foodFrame {
    background-size: cover;
    background-image: url("../../../img/menu/5/5-5/食安管理背景.jpg");
}

#foodFrame .caption {
    color: #74E7BD !important;
}

#healthFrame {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

#trainFrame {
    background-color: #F9F7F4;
}

.caption {
    font-style: normal;
    font-weight: bold;
    font-size: 36px !important;
    line-height: 53px;
    color: #3AAFA9;
    text-align: center;
}

.captionBr {
    display: none;
}

.smallCaption {
    font-style: normal;
    font-weight: bold;
    font-size: 28px !important;
    line-height: 150%;
    letter-spacing: 1px;
    color: #2B7A77;
}

#workplaceCaption {
    margin-bottom: 0;
}

.contentDiv {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 30px;
    width: 100%;
    flex: none;
    flex-grow: 0;
    position: relative;
}

#madeAreaContentDiv {
    gap: 10px;
}

.imageBlockScrollDiv {
    width: 100%;
    overflow-x: auto;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.imageBlock {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0;
    gap: 20px;
    width: 100%;
    position: relative;
    left: 0;
    top: 0;
}

.imageBlock img {
    max-width: 530px;
    height: auto;
}

#workplaceContentDiv .imageBlock img,#foodContentDiv .imageBlock img {
    max-width: 340px;
}

#foodContentDiv .imageContent {
    color: white;
}

.leftImg,.rightImg {
    width: 50px;
    height: 50px;
    position: absolute;
    top: calc(50% - 25px);
    z-index: 2;
    cursor: pointer;
    display: none;
}

.leftImg {
    left: -10px;
}

.rightImg {
    right: -10px;
}

.imageBlockSelectDiv {
    /*display: flex;*/
    display: none;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    height: 10px;
}

.imageBlockSelectDiv div {
    width: 8px;
    height: 8px;
    background-color: #4AC8C1;
    border-radius: 10px;
    cursor: pointer;
}

.imageBlockSelectDiv div.focus {
    background-color: #F4D242;
}

.contentDiv span,.contentDoc, .imageContent {
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
    line-height: 150%;
    text-align: justify;
    letter-spacing: 0.4px;
    color: #40474A;
}

.tableDiv {
    width: 100%;
    overflow-x: auto;
    position: relative;
    border-radius: 10px;
    border: 2px solid  #4AC8C1;
}

.tableArrow {
    width: 45px;
    height: 45px;
    position: absolute;
    left: 216px;
    top: 54px;
    z-index: 2;
}

table {
    border-collapse: separate;
    border-spacing: 0;
    width: 1080px;
    margin: 0;
    padding: 0;
}

#trainContentDiv td {
    border-right: 1px solid #C8CBD0;
    border-bottom: 1px solid #C8CBD0;
}

th, td {
    font-size: 20px;
    line-height: 150%;
    height: 76px;
    letter-spacing: 0.4px;
}

th {
    font-weight: bold;
    background-color: #3AAFA9;
    color: white;
}

td {
    font-weight: normal;
    color: #264E58;
}

#trainContentDiv th:nth-child(1), #trainContentDiv td:nth-child(1) {
    width: 20% !important;
}
#trainContentDiv th:nth-child(2), #trainContentDiv td:nth-child(2) {
    width: 31.48% !important;
}
#trainContentDiv th:nth-child(3), #trainContentDiv td:nth-child(3) {
    width: 31.48% !important;
}
#trainContentDiv td:nth-child(1), #trainContentDiv td:nth-child(4){
    /*font-weight: 700;*/
    font-weight: bold;
}

#healthTableDiv table th:first-child, #healthTableDiv table td:first-child {
    width: 20% !important;
    position: sticky;
    left: 0;
    z-index: 2;
}

th:first-child {
    border-radius: 10px 0 0 0;
}
th:last-child {
    border-radius: 0 10px 0 0;
}

.tableFoot {
    width: 100%;
    text-align: right;
    font-weight: normal;
    font-size: 18px;
    line-height: 150%;
    color: #717784;
    /*margin-bottom: 30px;*/
}

#healthCardDiv {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: Space-between;
    gap: 40px;
}

.manageCard {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    gap: 30px;

    width: 520px;
    height: 520px;

    background: #FFFFFF;
    border-radius: 20px;
}

.manageCard img {
    width: 100%;
    height: auto;
}

.manageCard span {
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
    line-height: 150%;
    text-align: justify;
    letter-spacing: 0.02em;
    color: #40474A;
}

.madeAreaBlock1 {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 20px;
    gap: 10px;

    width: 100%;
    border-radius: 10px;
    flex: none;
    align-self: stretch;
    flex-grow: 0;
}

.madeAreaBlock2 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    gap: 30px;

    width: 100%;
    height: auto;
    background: #EEF8F7;
    border-radius: 20px;

    flex: none;
    order: 5;
    flex-grow: 0;
}

.madeAreaBlock2 img {
    max-width: 480px;
}

.madeAreaBlockNumber {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px 15px;

    width: 41px;
    height: 42px;

    background-color: #4AC8C1;
    border-radius: 40px;

    flex: none;
    flex-grow: 0;
    color: white !important;

    font-style: normal;
    font-weight: normal !important;
    font-size: 20px;
    line-height: 150%;
}

.madeAreaBlock1Title {
    font-style: normal;
    font-weight: normal !important;
    font-size: 20px;
    line-height: 150%;

    text-align: justify;
    letter-spacing: 0.02em;
    color: #40474A;
    flex: none;
    flex-grow: 1;

    width: calc(100% - 90px);
}

.madeAreaBlock2Content {
    font-style: normal;
    font-weight: normal !important;
    font-size: 18px;
    line-height: 150%;

    text-align: justify;
    letter-spacing: 0.02em;
    color: #40474A;

    flex: none;
    align-self: stretch;
    flex-grow: 0;
    width: 100%;
}

.madeAreaBlock2Div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0;
    gap: 10px;

    width: calc(100% - 510px);
    max-width: 510px;
    flex: none;
    flex-grow: 1;
}

.madeAreaBlock2TitleDiv {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 10px;

    height: 42px;
    flex: none;
    order: 0;
    flex-grow: 0;
}

.madeAreaBlock2Title {
    height: 30px;

    font-style: normal;
    font-weight: normal !important;
    font-size: 20px;
    line-height: 150%;
    letter-spacing: 0.02em;

    color: #40474A;
    flex: none;
    flex-grow: 0;
}

#madeAreaContentDiv .onFocus {
    background-color: #FFFDEB;
    font-weight: bold !important;
}

.madeAreaBlock1.onFocus span,.madeAreaBlock2.onFocus span {
    font-weight: bold !important;
}

.madeAreaBlockNumber.onFocus {
    background-color: #FFB636 !important;
}

.captionContent {
    width: 100%;
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
    line-height: 150%;

    text-align: justify;
    letter-spacing: 0.02em;

    color: #40474A;

    flex: none;
    flex-grow: 0;
}

#contractorDiv {
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
}

#contractorDiv a:link {
    text-decoration: none;
    width: 453px;
    max-width: calc(100% - 30px);
    height: 50px;
}

#contractorMore {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 30px;
    background-color: #3AAFA9;
    cursor: pointer;
}
#contractorMore span {
    color: white;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: bold;
    line-height: 150%;
}

#otherFrame {
    background-color: #F9F7F4;
    padding-bottom: 80px;
}

.tableArrow {
    display: none;
    cursor: pointer;
}

/*------------------------------------------------*/
@media only screen and (max-width: 1080px) {
    .contentDiv, .contentDoc {
        padding-left: 15px;
        padding-right: 15px;
    }

    .captionContent {
        padding-left: 15px;
        padding-right: 15px;
        font-size: 16px;
        line-height: 140%;
    }

    #healthCardDiv {
        justify-content: center;
    }

    .manageCard {
        height: auto;
    }
}
/*------------------------------------------------*/
@media only screen and (max-width: 920px) {
    .madeAreaBlock2 {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 20px;
        padding: 20px;
    }

    .madeAreaBlock2Div {
        width: 100%;
        max-width: 100%;
    }
}
/*------------------------------------------------*/
@media only screen and (max-width: 550px) {
    .madeAreaBlock2 img {
        max-width: 100%;
    }
}
/*------------  512px 以下，就認為是手機 -----------------*/
@media only screen and (max-width: 512px) {
    .imageBlockScrollDiv {
        width: calc(100% - 30px);
    }

    .imageBlockSelectDiv {
        display: flex;
    }

    .rightImg {
        display: block;
    }

    .frameDiv {
        padding-top: 30px;
        padding-bottom: 30px;
        gap: 20px;
    }

    .frame {
        padding-top: 0;
        padding-bottom: 0;
        gap: 0;
    }

    .caption {
        font-size: 24px !important;
        line-height: 32px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .smallCaption {
        font-size: 24px !important;
    }

    .captionBr {
        display: inline-block;
    }

    .contentDiv {
        gap: 20px;
    }

    .captionContent {
        font-size: 16px;
        line-height: 140%;
    }

    #contractorDiv {
        margin-bottom: 0;
    }

    .policyDiv, .contentDiv span, .contentDoc, #contractorMore span, .policyContent, .imageContent {
        font-size: 16px !important;
        line-height: 140% !important;
        letter-spacing: 0.32px !important;
    }

    th, td {
        font-size: 16px;
        line-height: 140%;
    }

    .manageCard {
        width: 100%;
        padding: 15px;
    }

    .imageBlock img {
        width: 100%;
        height: auto;
    }

    .tableFoot {
        font-size: 16px;
        line-height: 130%;
    }

    #healthTableDiv table {
        width: 720px;
    }

    #healthTableDiv .tableArrow {
        left: 144px;
    }

    #trainContentDiv table {
        width: 920px;
    }

    #trainContentDiv .tableArrow {
        left: 122px;
    }

    #trainContentDiv table th:first-child, #trainContentDiv table td:first-child {
        width: 12% !important;
        position: sticky;
        left: 0;
        z-index: 2;
    }

    #trainContentDiv table th:last-child, #trainContentDiv table td:last-child {
        width: 12% !important;
    }

    .tableArrow {
        display: block;
    }

    .policyTag {
    }

    #workplaceFrame .frameDiv {
        padding-bottom: 0;
    }

    #workplaceFrame .frameDiv:last-child {
        padding-bottom: 30px;
    }
}