::-webkit-scrollbar:horizontal {
    height: 4px !important;
}

.allDiv {
    width: 100%;
    text-align: center;
    overflow: hidden;
}

.frame {
    width: 100%;
}

.frameDiv {
    width: 100%;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 50px;
    padding-bottom: 50px;

    display: flex;
    flex-direction: column;
    gap: 30px;
}

.frameDiv.noTop {
    padding-top: 0;
}

.caption {
    font-style: normal;
    font-weight: bold;
    font-size: 36px !important;
    line-height: 53px;
    color: #3AAFA9;
}

.captionBr {
    display: none;
}

.smallCaption {
    font-style: normal;
    font-weight: bold;
    font-size: 28px !important;
    line-height: 150%;
    letter-spacing: 1px;
    color: #2B7A77;
}

.contentDiv {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 30px;
    width: 100%;
    flex: none;
    flex-grow: 0;
    position: relative;
}

.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;
}

.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;
}

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;
}

th:first-child {
    border-radius: 10px 0 0 0;
}
th:last-child {
    border-radius: 0 10px 0 0;
}

.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;
}

#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;
}

.tableArrow {
    display: none;
    cursor: pointer;
}

.icon-prev-btn {
    width: 40px;
    height: 40px;
    background: url("../../../img/menu/5/5-3/icon-prev-btn.svg") no-repeat;
    background-position: center;
    cursor: pointer;
    opacity: 0.7;
}

.icon-prev-btn:hover {
    opacity: 1;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

.icon-next-btn {
    width: 40px;
    height: 40px;
    background: url("../../../img/menu/5/5-3/icon-next-btn.svg") no-repeat;
    background-position: center;
    cursor: pointer;
    opacity: 0.7;
}

.icon-next-btn:hover {
    opacity: 1;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

.sub-title {
    /*font-family: 'Roboto';*/
    font-style: normal;
    font-weight: 700;
    font-size: 28px;
    line-height: 42px;
    text-align: center;
    letter-spacing: 0.04em;
    color: #2B7A77;
}

.pic-desc {
    width: auto;
    height: 50px;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 10px;
    background-color: #FFFFFF;
    color: #3AAFA9;
    text-align: center;
    line-height: 50px;
    font-size: 20px;
    float: right;
    margin-top: -20px;
    position: relative;
}

.icon-sec1-bg-1 {
    background: url("../../../img/menu/6/6-6/家電維修1.png") no-repeat;
    /*background-position: center;*/
    background-size: cover;
}

.icon-sec1-bg-2 {
    background: url("../../../img/menu/6/6-6/家電維修2.png") no-repeat;
    /*background-position: center;*/
    background-size: cover;
}

.sec1-pic1 {
    width: 50%;
    max-width: 525px;
    height: 300px;
    border-radius: 20px;
    background: url("../../../img/menu/6/6-6/家電維修1.png") no-repeat;
    background-size: cover;
    background-repeat: no-repeat;
    display: inline-block;
}

.sec1-pic2 {
    width: 50%;
    max-width: 525px;
    height: 300px;
    border-radius: 20px;
    background: url("../../../img/menu/6/6-6/家電維修2.png") no-repeat;
    background-size: cover;
    background-repeat: no-repeat;
    display: inline-block;
}

/*------------------------------------------------*/
@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%;
    }
}

/*------------  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;
    }

    .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%;
    }

    .imageBlock img {
        width: 100%;
        height: auto;
    }

    .sub-title {
        font-size: 20px;
        line-height: 26px;
    }

    .pic-desc {
        font-size: 16px;
        height: 40px;
        line-height: 40px;
    }

    .contentDoc {
        font-size: 16px;
    }
}