.allDiv {
    display: none;
    /*display: block;*/
    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;

    align-items: center;
}

#foodFrame {
    /*height: 664px;*/
    background-size: cover;
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: 35%;
    background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../../../img/menu/6/6-5/照顧計畫.jpg");

    /*background-image: url("../../../img/menu/6/6-5/照顧計畫H.jpg");*/
}

.caption {
    font-style: normal;
    font-weight: bold;
    font-size: 36px !important;
    line-height: 53px;
    color: #3AAFA9;
    text-align: center;
}

.contentDiv {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 30px;
    width: 100%;
    flex: none;
    flex-grow: 0;
    position: relative;
}

.contentDoc {
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
    line-height: 150%;
    text-align: justify;
    letter-spacing: 0.025em;
    color: #40474A;
}

#foodFrame .contentDoc {
    color: white;
}

#flyFrame {
    background-color: #F9F7F4;
}

#flyFrame .frameDiv .caption br {
    display: none;
}

.smallCaption {
    font-size: 28px;
    line-height: 150%;
    letter-spacing: 0.025em;
    color: #2B7A77;
}

.smallCaption br {
    display: none;
}

.chartTag {
    width: 100%;
    max-width: 600px;
    height: 50px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 30px;
    border-radius: 60px;
    background-color: white;
}

.chartTag div {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
}

.chartTag label {
    font-size: 18px;
    font-weight: 400;
    color: #40474A;
    letter-spacing: 0;
}

/*input[type="checkbox"] {*/
/*    -webkit-appearance: none;*/
/*    appearance: none;*/
/*    width: 24px;*/
/*    height: 24px;*/
/*    border: 1px solid lightgrey;*/
/*    border-radius: 4px;*/
/*    background-color: white;*/
/*    cursor: pointer;*/
/*    position: relative;*/
/*}*/

/*input[type="checkbox"]:checked::after {*/
/*    content: '✔';*/
/*    display: flex;*/
/*    flex-direction: row;*/
/*    justify-content: center;*/
/*    align-items: center;*/
/*    font-size: 16px;*/
/*    color: white !important;*/
/*}*/


/*input[type="checkbox"]:checked {*/
/*    background-image: url('../../../img/menu/6/6-5/check.svg'); !* 自訂勾勾 *!*/
/*    background-size: contain;*/
/*    background-repeat: no-repeat;*/
/*    background-position: center;*/
/*}*/



 /* 基本重置 */
 input[type="checkbox"] {
     -webkit-appearance: none;
     appearance: none;
     margin: 0;
     font: inherit;
     width: 20px;
     height: 20px;
     border: 1px solid lightgrey;
     border-radius: 4px;
     display: grid;
     place-content: center;
     background-color: white;
     cursor: pointer;
 }

/* 勾勾樣式：用 SVG 當背景圖 */
input[type="checkbox"]::before {
    content: "";
    width: 14px;
    height: 14px;
    transform: scale(0);
    transition: transform 0.15s ease-in-out;
    background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' xmlns='http://www.w3.org/2000/svg'><path d='M4 12l6 6L20 6'/></svg>");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* 勾選狀態 */
input[type="checkbox"]:checked {
    /*background-color: #4caf50; !* 勾選背景色 *!*/
    /*border-color: #4caf50;*/
}

input[type="checkbox"]:checked::before {
    transform: scale(1);
}

#chartCheckbox1:checked {
    background-color: #4AC8C1;
}
#chartCheckbox2:checked {
    background-color: #45D2FF;
}
#chartCheckbox3:checked {
    background-color: #FFB636;
}

.chartDiv {
    width: 100%;
    overflow-x: auto;
    border-radius: 10px;
    border: 2px solid  #4AC8C1;
    padding: 30px 70px;
    background-color: white;
}

.tableArrow {
    /*width: 45px;*/
    /*height: 45px;*/
    width: 30px;
    height: 30px;
    position: absolute;
    left: 50px;
    /*top: -20px;*/
    top: -15px;
    z-index: 5;
    display: none;
}

.chartArrowDiv {
    width: 100%;
    position: relative;
    padding-left: 15px;
    padding-right: 15px;
}

.chartBodyDiv {
    width: 940px;
    display: flex;
    flex-direction: column;
    justify-items: center;
}

#flyChart {
    margin-top: 30px;
    /*
    charts tick{padding:20} 只能對上下左右都設，無法單獨設padding left或padding right，
    所以，我先將 margin往左右減，這樣看起來效果達到預期
    */
    margin-left: -20px;
    margin-right: -20px;
}

.chartUnitDiv {
    display: flex;
    flex-direction: row;
    justify-content: space-between;

    font-size: 18px;
    line-height: 140%;
    color: #ABABAB;
}

.chartUnitDiv div {
    text-align: left;
}

.chartDoc {
    margin-top: 20px;
    text-align: center;
    font-size: 18px;
    color: #717784;
}

#musicFrame {
    background-color: white;
}

.musicDiv {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.musicDiv img {
    width: 320px;
    height: 192px;
    z-index: 1;
}

.musicDiv > div {
    display: flex;
    flex-direction: column;
    align-items: end;
}

.musicDoc {
    width: fit-content;
    height: 50px;
    border-radius: 10px;
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 4px 4px 10px 0 #0000001A;
    margin-top: -10px;
    z-index: 2;
    background-color: white;
    color: #2B7A77;
    font-weight: normal;
    font-size: 20px;
}

#musicFrame .frameDiv .caption br {
    display: none;
}

/*------------------------------------------------*/
@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%;
    }

    .musicDiv {
        width: 100%;
        flex-direction: column;
        gap: 20px;
    }
}
/*------------  540px 以下，就認為是手機 -----------------*/
@media only screen and (max-width: 540px) {
    .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: 20px;
        line-height: 130%;
        letter-spacing: 0;
    }

    .smallCaption br {
        display: block;
    }

    .contentDiv {
        gap: 20px;
    }

    .contentDiv span, .contentDoc  {
        font-size: 16px;
        line-height: 140%;
        letter-spacing: 0.025em;
    }

    #flyFrame .frameDiv .caption br {
        display: block;
    }

    #flyFrame .frameDiv .contentDoc {
        font-size: 16px;
        line-height: 140%;
        letter-spacing: 0.025em;
    }

    #musicFrame .frameDiv .caption br {
        display: block;
    }

    .chartDiv {
        padding: 20px;
    }

    .chartTag {
        width: fit-content;
        gap: 10px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .chartTag label {
        font-size: 16px;
        letter-spacing: 0.025em;
    }

    .chartBodyDiv {
        width: 680px;
    }

    .tableArrow {
        display: block;
    }

    .chartDoc {
        text-align: left;
        padding-left: 50px;
        font-size: 16px;
    }

    .chartUnitDiv {
        font-size: 16px;
    }
}