body img,
body iframe {
    max-width: 100%;
    line-height: 0;
}

.flex {
    display: flex;
}

.breadcrumb {
    background: #fff;
    margin-bottom: 20px;
    margin-top: 15px;
    font-size: 16px;
}

.breadcrumb li {
    display: inline-block;
    margin-left: 5px;
    text-transform: uppercase;
    color: #333;
}

.breadcrumb li:first-child {
    padding-left: 0;
    margin-left: 0;
}

.breadcrumb li a {
    color: #000;
    padding: 15px 0;
    position: relative;
    padding-right: 15px;
}

.breadcrumb li a::before {
    content: "";
    background: transparent;
    position: absolute;
    width: 6px;
    height: 6px;
    right: 0;
    top: 50%;
    margin-top: -4px;
    transform: rotate(45deg);
    border-top: 1px solid #000;
    border-right: 1px solid #000;
    transition: all 0.3s;
}

.breadcrumb li a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

@media all and (max-width: 768px) {
    .breadcrumb {
        margin-bottom: 5%;
    }
}

.fcc {
    display: flex;
    justify-content: center;
    align-items: center;
}

.m30 {
    margin: 30px !important;
}

.page-register .steps ul li {
    position: relative;
    display: grid !important;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 45px;
    font-weight: bold;
}

.page-register .steps ul li span:first-child {
    background: #d8d8d8;
    width: 53px;
    height: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
}

.page-register .steps ul li::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-left: 14px solid #ffb677;
    border-bottom: 8px solid transparent;
    right: -52px;
    top: 24px;
}

@media all and (max-width: 768px) {
    .page-register .steps ul li::after {
        top: 27px;
    }
}

.page-register .steps ul li:last-child:after {
    display: none;
}

.page-register .steps ul .text-active {
    color: black !important;
}

.page-register .steps ul span {
    margin-top: 10px;
    color: #d8d8d8;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-register .steps ul .active span:first-child {
    background: #1673a1;
    color: white;
}

.form_common {
    max-width: 700px;
    margin: 0 auto;
}

.form_common .label-required p::before {
    content: "必須";
    color: #fff;
    background: #ff4e00;
    font-size: 0.857rem;
    padding: 1px 5px 2px;
    margin-right: 5px;
    margin-left: 3px;
    opacity: 0.9;
    font-weight: 400;
}

.form_common .label-optional p::before {
    content: "任意";
    color: #fff;
    background: #a1c7ff;
    font-size: 0.857rem;
    padding: 1px 5px 2px;
    margin-right: 5px;
    margin-left: 3px;
    opacity: 0.9;
    font-weight: 400;
}

.form_common .select-dropdown select {
    width: 100%;
    height: 44px;
    background-color: #f5f5f5;
    border: none;
    padding-left: 10px;
    margin-top: 15px;
}

.form_common .textarea textarea {
    width: 100%;
    height: 150px;
    background-color: #f5f5f5;
    border: none;
    padding-left: 10px;
    margin-top: 15px;
}

.form_common input[type="text"],
.form_common input[type="password"],
.form_common input[type="email"],
.form_common input[type="number"] {
    width: 100%;
    height: 44px;
    background-color: #f5f5f5;
    border: none;
    padding-left: 10px;
    margin-top: 15px;
}

.form_common .form-control {
    margin-top: 15px;
}

.form_common .form-control p {
    text-align: left;
    font-size: 16px;
    font-weight: bold;
}

.secondpage .block2Btn {
    justify-content: center;
    margin-top: 60px;
}

.btnpage.btnorg a span,
.btnpage.btnorg button span {
    background: url(../images/arrright.png) no-repeat right 10px center;
    background-size: 11px;
}

@media all and (max-width: 768px) {
    .btnpage.btnorg a span,
    .btnpage.btnorg button span {
        background-position: right 5px center;
        background-size: 8px;
    }
}

.btnpage.btnorg a span::before,
.btnpage.btnorg button span::before {
    border: 0;
}

.flexbox {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.secondpage .block2Btn .btnpage {
    min-width: 250px;
    margin: 0 10px;
}

.page-register .btnpage {
    width: unset;
    max-width: 400px;
}

.btnpage {
    margin: 0 auto;
    margin-top: 50px;
    transition: all 0.3s;
    max-width: 300px;
}

.btnpage a,
.btnpage button {
    text-align: center;
    font-size: 20px;
    min-height: 50px;
    color: #fff;
    position: relative;
    background-color: #1673a1;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btnpage.btnorg a,
.btnpage.btnorg button {
    width: 100%;
}

.btnpage.btnorg a,
.btnpage.btnorg button {
    background-color: #ffb677;
}

.btnpage a:hover,
.btnpage button:hover {
    opacity: 0.7;
}

.btnpage.btnorg a span,
.btnpage.btnorg button span {
    background: url(../../images/arrright.png) no-repeat right 10px center;
    background-size: 11px;
}

.btnpage a,
.btnpage button {
    text-align: center;
    font-size: 20px;
    min-height: 50px;
    color: #fff;
    position: relative;
    background-color: #1673a1;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btnpage a span,
.btnpage button span {
    z-index: 2;
    font-size: 20px;
    font-weight: bold;
    display: block;
    width: 100%;
    position: relative;
    padding: 0 30px;
}

.btnpage.btnorg a span::before,
.btnpage.btnorg button span::before {
    border: 0;
}

.btnpage a span::before,
.btnpage button span::before {
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    background: transparent;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    transition: all 0.3s;
    right: 20px;
}

.page-register .tableStep02 .tbstyle {
    width: 80%;
    table-layout: auto;
    margin: 0 auto;
}

@media all and (max-width: 768px) {
    .page-register .tableStep02 .tbstyle {
        width: 85%;
    }
}

.page-register .tableStep02 .tbstyle tr:last-child {
    border-bottom: 1px solid #eee;
}

.page-register .tableStep02 .tbstyle th {
    font-weight: bold;
    border: 0;
    border-top: 1px solid #eee;
    text-align: left;
}

@media all and (max-width: 768px) {
    .page-register .tableStep02 .tbstyle th {
        min-width: 100px;
        padding-left: 10px;
    }
}

.page-register .tableStep02 .tbstyle td {
    padding: 17px 35px;
    border-top: 1px solid #eee;
}

.page-register .tableStep02 .tbstyle td:last-child {
    border-bottom: 1px solid #eee;
}

@media all and (max-width: 768px) {
    .page-register .tableStep02 .tbstyle td {
        padding-left: 15px;
        padding-right: 15px;
    }
}

.page-register .tableStep02 .tbstyle th {
    text-align: center;
}

.page-register .tableStep02 .tbstyle td.price {
    font-size: 18px;
    font-weight: bold;
}

@media all and (max-width: 768px) {
    .page-register .flexbox {
        /* flex-direction: column-reverse; */
    }
}

@media all and (max-width: 768px) {
    .page-register .flexbox .btngray {
        margin-top: 20px;
        width: 100%;
    }
}

@media all and (max-width: 768px) {
    .page-register .flexbox .btnorg {
        width: 100%;
    }
}

.page-register .bg_gray {
    background-color: #b5b5b5;
}

.btnpage.btnback a span {
    background: url(../../images/arrright-back.png) no-repeat left 10px center;
    background-size: 11px;
}

.btnpage.btngray a,
.btnpage.btngray button {
    background-color: #b5b5b5;
}

.blockSection.block90 {
    margin: 30 auto;
    max-width: 92%;
}

.page-search .sort.flexbox,
.page-category .sort.flexbox {
    width: 600px;
    justify-content: center;
}

.sort.flexbox {
    width: 450px;
    margin: 0 auto;
    margin-top: 25px;
}

.page-search .sort .sortselect,
.page-category .sort .sortselect {
    width: 35%;
    margin-right: 10px;
}

.page-search .sortselect button,
.page-category .sortselect button {
    width: 100%;
    color: #f5b971;
    font-weight: bold;
    text-align: center;
    border: 1px solid #f5b971;
    background: #fff;
    padding: 10px;
    border-radius: 5px;
    position: relative;
    height: 44px;
}

.page-search .sort .clearsearch button,
.page-category .sort .clearsearch button {
    width: 150px;
    color: #fff;
    font-weight: bold;
    text-align: center;
    background: #fff;
    padding: 10px;
    border-radius: 5px;
    position: relative;
    height: 44px;
    background-color: #1673a1;
}

.privacy_contain .contain_e h4 {
    color: #1673a1;
    margin-top: 30px;
}

.privacy_contain .contain_e ol {
    list-style: auto;
}

.privacy_contain .contain_e .list_2 ol {
    counter-reset: section;
}
.privacy_contain .contain_e .list_2 li {
    list-style: none;
    margin-left: 10px;
}

.privacy_contain .contain_e .list_2 li:before {
    counter-increment: section;
    content: "(" counter(section) ")";
}

.privacy_contain .contain_e ol li {
    margin-left: 40px;
}

.blockTablePaymentInfo {
    margin-top: 40px;
    box-shadow: 0 3px 16px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
}

.blockTablePaymentInfo tbody tr th {
    width: 200px;
}

.blockTablePaymentInfo tbody tr td {
    width: 80%;
}

.bank_transfer .blockTablePaymentInfo .small {
    padding: 40px 0 10px 0;
    text-align: center;
}

.bank_transfer .tableStep02 {
    padding-top: 30px;
}

.bank_transfer .block2Btn {
    padding: 0 20px 40px 20px;
}

.bank_transfer .tbstyle dl:first-child {
    border-top: 1px solid #eee;
}

.bank_transfer .tbstyle dl {
    margin: 0 10%;
    padding: 3px 0;
    border-bottom: 1px solid #eee;
    align-items: center;
}

.bank_transfer .tbstyle dl:first-child dt,
.bank_transfer .tbstyle dl:first-child dd {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.bank_transfer .tbstyle dt {
    flex: 0 0 30%;
    font-weight: bold;
    vertical-align: middle !important;
    padding: 20px 0;
}

.bank_transfer .tbstyle dl:first-child dd {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bank_transfer .tbstyle .image-ret {
    flex-basis: 20%;
    margin-right: 30px;
}

.bank_transfer .tbstyle dd {
    padding: 20px 0;
    flex: 0 0 70%;
}

select {
    display: block;
    width: 100%;
    font-size: 1em;
    padding: 0.8rem 0.5rem;
    border: 1px solid #333;
    font-family: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url(../images/ico-arrdown.png) !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    background-size: 1em !important;
}

.modal {
    display: none;
    position: fixed;
    background: rgba(134, 126, 122, 0.8);
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 9999;
}

.modal-content {
    position: relative;
    background: #fff;
}

@media (min-width: 769px) {
    .modal-content {
        padding: 70px 100px;
        max-width: 900px;
    }
}

.flexbox {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.flexbox_center {
    justify-content: center;
}

.modal.showthis {
    display: flex;
    justify-content: center;
    align-items: center;
    animation-name: fadeIn;
    animation-iteration-count: 1;
    animation-duration: 0.3s;
    animation-delay: 0s;
    animation-timing-function: ease;
    animation-fill-mode: both;
    backface-visibility: hidden;
}

.dispc,
.breakpc {
    display: block !important;
}

@media all and (max-width: 768px) {
    .dispc,
    .breakpc {
        display: none !important;
    }
}

.dissp,
.breaksp {
    display: block !important;
}

@media all and (min-width: 769px) {
    .dissp,
    .breaksp {
        display: none !important;
    }
}

.centerRedText {
    font-size: 24px;
    color: red !important;
    text-align: center !important;
}

.blockVideo {
    border-radius: 12px;
}

.blockVideo.blockVideoCate {
    padding-top: 10px;
    padding-bottom: 0;
}

.blockRelatedCourse {
    padding: 0 15px !important;
}

.blockRelatedCourse .blockVideo-list {
    margin-top: 0 !important;
}

.page-category .blockVideo-list {
    flex-wrap: wrap;
}

.page-category .blockVideo-list .sliderItem {
    flex: 0 0 31%;
    margin-top: 2%;
}

.blockVideo-list .video {
    box-shadow: 0 1px 15px rgba(216, 216, 216, 0.5);
    background: #fff;
    flex: 0 0 32%;
    align-self: stretch;
    margin-right: 2%;
}

.sliderNews .sliderItem {
    padding: 10px;
    border-radius: 5px;
    display: block;
}

.mt30 {
    margin-top: 30px;
}

.mb30 {
    margin-bottom: 30px;
}

header .dropdown-content {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    background-color: #fff;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 99;
    transition: all 0.5s;
    transform: translateY(200px);
}

header .dropdown-content.show {
    z-index: 99;
    opacity: 1;
    visibility: inherit;
    transform: translateY(181px);
}

header .dropdown-content.show ul {
    display: block;
}

header .dropdown-content li {
    padding: 0 5px;
}

header .dropdown-content li a {
    border-bottom: 1px solid #8aa6b4;
    /* color: white; */
    text-align: left;
    display: flex;
    justify-content: space-between;
}

header .dropdown-content li a:hover {
    opacity: 0.3;
}

header .dropdown-content a {
    color: black;
    padding: 10px;
    text-decoration: none;
    display: block;
}

header .dropdown-content {
    top: -117px;
}

.kvsImage {
    width: 985px;
    height: 420px;
}

.box-mypage #lectures .category-container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
}

.categoryTxt {
    text-decoration: underline;
    color: #187d9d;
}

.box-mypage #lectures .category-container .categoryTxt {
    height: 40px;
    background-color: #fff;
    padding: 10px;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.box-mypage #lectures .category-container .categoryTxt .txt {
    font-size: 20px;
}

@media (max-width: 768px) {
    .box-mypage #lectures .category-container .categoryTxt .txt {
        font-size: 14px;
    }
}

.info .date {
    margin-right: 10px;
}

.box-mypage #purchasedCourses .cuorse-container .grey-button {
    width: 100%;
    min-height: 60px;
    height: auto;
    line-height: 30px;
    font-size: 20px;
    font-weight: 500;
    text-align: left;
    padding: 10px 20px;
    display: inline-flex;
    align-items: center;
}

.box-mypage #purchasedCourses .cuorse-container .grey-button .txt {
    max-width: 100%;
}

@media (max-width: 768px) {
    .box-mypage #purchasedCourses .cuorse-container .grey-button {
        line-height: 25px;
        font-size: 12px;
    }

    .centerRedText {
        font-size: 18px;
    }
}

.content {
    max-width: 900px;
    margin: 0 auto;
}

.alert-error .content {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
    position: relative;
    padding: 1rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.alert-error .content a.close,
.alert-succeed .content a.close {
    float: right;
    font-size: 18px;
    font-weight: bold;
}

.alert-error .content li,
.alert-succeed .content li {
    list-style-type: none;
    text-align: left;
    white-space: pre-line;
}

.breakline {
    word-break: break-all;
    white-space: pre-line;
}

.breakline .MathJax {
    display: inline-block !important;
}

.link-style {
    text-decoration: underline !important;
    transition: color 0.3s, text-decoration 0.3s !important;
}

.link-style:hover {
    color: #0077b6 !important; /* Change the color on hover to a slightly different shade of blue */
    text-decoration: underline !important;
}

.text_red {
    color: red;
}

.text_blue {
    color: blue;
}

.text_black {
    color: black;
}

.secondpage .container-large {
    padding: 0 0 0 0 !important;
}

.blockSection.block90 {
    margin: 0 auto !important;
}

.titpage {
    margin-bottom: 20px !important;
}

.col-md-8 {
    width: 100% !important;
    max-width: 100% !important;
}

.group-shadow-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.wrap-group-shadow-button {
    width: 100%;
    margin: 0 auto;
}

.group-shadow-button .shadow-button {
    width: 100%;
    height: auto !important;
    font-size: 24px;
    color: #fff;
    border: none;
    border-radius: 5px;
    margin-top: 20px;
}

.shadow-button.general-exam {
    background-image: linear-gradient(#055b99, #004b81) !important;
}

.shadow-button.prof-exam {
    background-image: linear-gradient(#ee2424, #a61212) !important;
}

.shadow-button.last-movie {
    background-image: linear-gradient(#ffbb36, #ec9c00) !important;
}

.page-category .sliderItem,
.page-fullpacks .sliderItem {
    position: relative;
    align-self: stretch;
    padding-bottom: 50px !important;
}

.page-category .sliderItem > a,
.page-fullpacks .sliderItem > a {
    display: block;
}

.shadow-button.btn-redirect {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 10px;
    width: 90%;
    left: 5%;
    background-image: linear-gradient(#ffbb36, #ec9c00) !important;
    height: 40px;
}

.shadow-button.btn-redirect > a {
    height: 40px;
    color: #fff;
    width: 100%;
}

#learning-progress-list table tbody tr:has(progress[value="0"]) td p {
    font-weight: 700;
}

#learning-progress-list table tbody tr:has(progress[value="100"]) td {
    color: #23dbf4;
    background-color: #ebfdff !important;
}

#learning-progress-list table tbody td progress::-webkit-progress-bar {
    background-color: #fff;
}

#learning-progress-list table tbody td {
    height: 54px;
    font-size: 18px;
    vertical-align: middle;
    background-color: #fff;
    padding: 10px 20px;
}

#learning-progress-list table tbody td progress::-webkit-progress-value {
    background-image: linear-gradient(90deg, #23dbf4, #23dbf4, #ffffff);
}

#learning-progress-list
    table
    tbody
    td
    progress[value="100"]::-webkit-progress-value {
    background-color: #23dbf4;
    background-image: unset;
}

#learning-progress-list table tbody tr:has(progress[value="0"]) td {
    color: #ff0000;
    background-color: #fff0f0 !important;
}

#learning-progress-list table tbody td span {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#learning-progress-list table tbody td progress {
    width: 65%;
    height: 27px;
    border: 1px solid #000;
}

header .dropdown-content li.first a {
    font-weight: bold;
    font-size: 21px;
}

header .dropdown-content li a:after {
    content: url("../images/arrowright.svg");
    margin-left: 20px;
}

.privacy_contain .contain_e h4 ~ p {
    margin-left: 20px;
}

#formRegister ul.group-checkbox li {
    flex: 1 1 49%;
    padding: 10px 20px 0 0;
}

#formRegister ul.group-checkbox li > label {
    display: flex;
    align-items: baseline;
}

#formRegister ul.group-checkbox li > label input {
    margin-right: 7px;
}

#formRegister ul.group-checkbox li.otherPlace {
    display: flex;
    align-items: center;
    justify-items: center;
}

#formRegister ul.group-checkbox li.otherPlace > label {
    width: 100px;
}

#formRegister .form-control .detail-degree {
    margin-left: 40px;
}

@media all and (max-width: 768px) {
    .wrap-group-shadow-button {
        width: 90%;
    }

    .container {
        padding: 10px;
    }

    .blockVideo-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .blockVideo-list .video {
        margin-right: 0;
    }
    .sliderItem {
        flex: 0 0 49% !important;
        max-width: 49% !important;
        transition: transform 0.3s !important;
    }
}

.select-multiple .select2-container {
    min-width: 400px;
}

.select-multiple .select2-results__option {
    padding-right: 20px;
    vertical-align: middle;
}
.select-multiple .select2-results__option:before {
    content: "";
    display: inline-block;
    position: relative;
    height: 20px;
    width: 20px;
    border: 2px solid #e9e9e9;
    border-radius: 4px;
    background-color: #fff;
    margin-right: 20px;
    vertical-align: middle;
}
.select-multiple .select2-results__option[aria-selected="true"]:before {
    content: "\2713";
    color: #fff;
    background-color: #f77750;
    border: 0;
    display: inline-block;
    padding-left: 3px;
}
.select-multiple
    .select2-container--default
    .select2-results__option[aria-selected="true"] {
    background-color: #fff;
}
.select-multiple
    .select2-container--default
    .select2-results__option--highlighted[aria-selected] {
    background-color: #eaeaeb;
    color: #272727;
}
.select-multiple .select2-container--default .select2-selection--multiple {
    margin-bottom: 10px;
}
.select-multiple
    .select2-container--default.select2-container--open.select2-container--below
    .select2-selection--multiple {
    border-radius: 4px;
}

.select-multiple .select2-container--default .select2-selection--multiple {
    margin-top: 10px;
    background-color: #f5f5f5;
    border: none;
    min-height: 50px;
}

.select-multiple .select2-container--default .select2-selection--multiple ul {
    padding: 5px;
}

.select-multiple
    .select2-container--default
    .select2-selection--multiple
    ul
    .select2-selection__choice__remove {
    display: none;
}

.select-multiple .select2-container--open .select2-dropdown--below {
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.subcription-btn__cancel {
    padding: 8px 12px;
    width: 100px;
    border-radius: 10px;
    background-color: #fff;
    cursor: pointer;
}

.subcription-btn__cancel:hover {
    background-color: #666;
    color: #fff;
}
