.disabled {
    color: gray;
}
.disabled .checkmark {
    background-color: lightgray;
    border: 1px solid gray;
}
.disabled input[type="checkbox"] + .outter .checkmark {
    background-color: lightgray;
    border-color: gray;
}

.div-tippy_a{
    position: relative; 
    height:36px; 
}
.div-tippy_a a{
    position: absolute; 
    right:0; 
    bottom:0;
    color:#fff; 
}
.sc-teaching_guide {
    position: relative; /* 確保它是相對於父元素定位的 */
    left: -10px; /* 這樣會將它向左移動 */
}

.div-tippy_a a {
    text-decoration: underline;
}


.underline>a {
    text-decoration: underline;
}

/* 取消預設小箭頭 */
.hide-arrows::-webkit-outer-spin-button,
.hide-arrows::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.hide-arrows {
    -moz-appearance: textfield;
}

.d-flex {
    display: flex;
}

.justify-content-between {
    justify-content: space-between;
}

.align-items-center {
    align-items: center;
}

.main_title2_set .title {
    flex-direction: column;
    align-items: start;
}

.main_title2_set .title>p.has_back {
    margin-left: 56px;
    margin-top: 8px;
}

/* checkbox 勾選按*/
/*勾選同意及按鍵區*/
.chk-container {
    display: flex;
    align-items: center;
    font-size: 22px;
    letter-spacing: 1px;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
}

.chk-container input {
    position: absolute;
    top: 8px;
    left: 8px;
    opacity: 0;
    cursor: pointer;
}

.chk-container .checkmark {
    display: inline-block;
    height: 20px;
    width: 20px;
    border-radius: 3px;
    position: relative;
}

.chk-container .checkmark:after {
    content: "";
    position: absolute;
    display: none
}

.chk-container .checkmark:after {
    left: 4px;
    top: 0px;
    width: 5px;
    height: 10px;
    border: solid #138b8b;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg)
}

.chk-container .outter {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    transition: .3s;
}

.chk-container .outter:hover {
    background: #d2e0e4;
}

.chk-container .outter:active {
    background: #a7cdd0;
}

.chk-container .outter .checkmark {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid #285ee4;
    z-index: 2;
    background: 0 0;
}

.chk-container input:checked~.outter .checkmark {
    background: #285ee4;
}

.chk-container input:checked~.outter .checkmark:after {
    display: block;
    border-color: #fff;
}

.action > .group{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 8px;
}

.action > .group >span{
    margin-top: 4px;
} 

.input_content .dividing_line {
    margin-bottom: 24px;
}

.amount_unit {
    position: relative;
}

.amount_unit::after {
    content: '元';
    padding-left: 8px;
}

.input_group input[type="number"] {
    width: 100%;
    height: 36px;
    font-size: 20px;
    text-align: left;
    background: #fff;
    color: #3d3d3d;
    border: 1px solid #C6C6C6;
    outline: none;
    border-radius: 8px;
    padding: 8px 16px;
    box-sizing: border-box;
}

.input_group .date_content {
    flex-wrap: nowrap;
}

.input_group .date_content .date_group {
    position: relative;
}

.input_group .date_content .date_group+.date_group {
    margin-left: 8px;
}

.input_group .date_content input[type="text"] {
    width: 100%;
    height: 36px;
    font-size: 20px;
    text-align: left;
    background: #fff;
    color: #3d3d3d;
    border: 1px solid #C6C6C6;
    outline: none;
    border-radius: 8px;
    padding: 8px 16px;
    box-sizing: border-box;
}

.input_group.error input[type="number"] {
    border: 2px solid red;
}

.input_group .date_group.error input[type="text"] {
    border: 2px solid red;
}

.input_group .date_group.error .error_message {
    display: block;
}

.input_group .chk1 {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.input_group .chk1>.group {
    width: calc(100% - 140px);
    margin-right: 8px;
    position: relative;
}

.calculate_group {
    font-size: 18px;
}

.calculate_group strong {
    font-size: 20px;
    font-weight: bold;
}

.click_container {
    display: flex;
    margin-bottom: 16px;
}

.click_container .tb_container {
    display: flex;
    align-items: center;
    width: 80px !important;
}

.click_container .tb_container>.radio_text {
    margin-bottom: 5px;
    margin-left: 8px;
}


.input_content:last-child .group>.action {
    margin-top: 40px;
}

.input_content .sub_group+.sub_group {
    margin-top: 80px;
}

.input_content .sub_group>.title {
    font-size: 18px;
    color: #3d3d3d;
    font-weight: bold;
    margin-bottom: 16px;
}

.input_content .sub_group>p {
    font-size: 18px;
    line-height: 1.33;
    margin-top: 40px;
    margin-bottom: 40px;
}

.input_content .sub_group>p.text {
    width: 100%;
    text-align: center;
    font-size: 24px;
}


@media screen and (max-width:600px){
    .input_group .chk1{
        flex-wrap: wrap;
    }

}
@media screen and (max-width:450px) {

    .action > .group{
        width: 100%;
        margin-left: 0;
        margin-bottom: 8px;
    }

    .input_group .date_content {
        flex-wrap: wrap;
    }

    .input_group .date_content .date_group {
        width: 100%;
    }

    .input_group .date_content .date_group+.date_group {
        margin-left: 0;
        margin-top: 8px;
    }

}