@charset "UTF-8";
@import url(https://fonts.googleapis.com/css2?family=Noto+Sans+JP);

main * {
    font-weight: 700;
    color: black;
}
.lesson_page {
    max-width: 980px;
    margin: 30px auto;
}

.lesson_page .lesson_box {
    position: relative;
    height: 100%;
}

.lesson_detail {
    flex: 1 1 0;
}

.lesson_detail .lesson_detail_title {
    color: #fa8787;
    font-size: 20px;
    font-weight: bold;
}

.lesson_detail_page .lesson_introduction .lesson_detail .detail-list-info {
    /*display: grid;*/
    margin: 10px 0;
    font-size: 16px;
    line-height: 36px;
    column-gap: 20px;
    grid-template-columns: max-content 1fr;
}
.detail-list-info_element {
    display: flex !important;
    gap: 8px;
    width: 100%;
}
.space-top-2 {
    margin-top: 2px;
}

.price_text {
    margin-left: 32px;
    grid-column: span 2 / span 2;
}
.lesson_detail_page .lesson_introduction .lesson_detail .detail-list-info .name {
    display: flex;
    align-items: center;
}
.lesson_detail_page .lesson_introduction .lesson_detail .detail-list-info .value {
    text-align: left;
    font-weight: bold;
}

.lesson_detail_page .lesson_introduction .lesson_detail .detail-list-info img {
    height: 28px;
    padding: 0 4px 0 0;
    width: 34px;
    object-fit: contain;
}
.lesson_detail_page .lesson_introduction .lesson_detail .detail-list-info img.level-image {
    height: 30px;
}
.lesson_detail_page .lesson_introduction .lesson_detail .detail-list-info .text {
    color: #fa8787;
    font-size: 16px;
    font-weight: bold;
    min-width: 40px;
}

.lesson_detail_page .lesson_introduction .lesson_detail .minute .name {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: max-content;
    max-width: max-content;
}
.lesson_detail_page .lesson_introduction .lesson_detail .minute .value {
    text-align: left;
    font-weight: bold;
    flex: 1;
}
.lesson_detail_page .lesson_introduction .lesson_detail .minute img {
    height: 28px;
    padding: 0 4px 0 0;
}
.lesson_detail_page .lesson_introduction .lesson_detail .minute .text {
    color: #fa8787;
    font-size: 16px;
    font-weight: bold;
}
.lesson_detail_page .lesson_introduction .lesson_detail .level {
    margin: 10px 0;
    font-size: 16px;
    line-height: 36px;
    display: flex;
    align-items: center;
}
.lesson_detail_page .lesson_introduction .lesson_detail .level .name {
    display: flex;
    align-items: center;
}
.lesson_detail_page .lesson_introduction .lesson_detail .level .value {
    text-align: left;
    font-weight: bold;
}
.lesson_detail_page .lesson_introduction .lesson_detail .level img {
    height: 28px;
    padding: 0 4px 0 0;
}
.lesson_detail_page .lesson_introduction .lesson_detail .level .text {
    color: #fa8787;
    font-size: 16px;
    font-weight: bold;
}
.lesson_detail_page .lesson_introduction .lesson_detail .capacity {
    margin: 10px 0;
    font-size: 16px;
    line-height: 36px;
    display: flex;
    align-items: center;
}
.lesson_detail_page .lesson_introduction .lesson_detail .capacity .name {
    display: flex;
    align-items: center;
}
.lesson_detail_page .lesson_introduction .lesson_detail .capacity .value {
    text-align: left;
    font-weight: bold;
}
.lesson_detail_page .lesson_introduction .lesson_detail .capacity img {
    height: 28px;
    padding: 0 4px 0 0;
    width: 28px;
    object-fit: cover;
}
.lesson_detail_page .lesson_introduction .lesson_detail .capacity .text {
    color: #fa8787;
    font-size: 16px;
    font-weight: bold;
}
.lesson_detail_page .lesson_introduction .lesson_detail .language_used {
    margin: 10px 0;
    font-size: 16px;
    line-height: 36px;
    display: flex;
    align-items: flex-start;
    height: 34px;
}

.lesson_detail_page .lesson_introduction .lesson_detail .language_used img {
    /* height: 28px; */
    width: 34px;
    object-fit: contain;
    padding: 0 4px 0 0;
}
.lesson_detail_page .lesson_introduction .lesson_detail .language_used .details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-weight: bold;
}
.lesson_detail_page .lesson_introduction .lesson_detail .language_used .text {
    color: #fa8787;
    font-size: 16px;
    font-weight: bold;
}
.lesson_detail_page .lesson_introduction .lesson_detail .latest_schedule {
    margin: 10px 0;
    font-size: 16px;
    line-height: 36px;
    display: flex;
    align-items: flex-start;
}
.lesson_detail_page .lesson_introduction .lesson_detail .latest_schedule .details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-weight: bold;
}
.lesson_detail_page .lesson_introduction .lesson_detail .latest_schedule img {
    height: 28px;
    padding: 0 4px 0 0;
    margin-top: 4px;
}
.lesson_detail_page .lesson_introduction .lesson_detail .latest_schedule .text {
    color: #fa8787;
    font-size: 16px;
    font-weight: bold;
}

.lesson_detail_page .lesson_introduction .lesson_detail .clock_icon {
    width: 23px;
    height: 23px;
}

.lesson_detail_page .lesson_introduction .lesson_detail .caution {
    line-height: 23px;
    font-weight: 400;
}

.lesson_detail_page .lesson_description {
    display: flex;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    margin: 100px;
}
.lesson_detail_page .description2 {
    background-color: #ffdede;
    margin-top: 0 !important;
}
.lesson_detail_page .lesson_introduction {
    margin-bottom: 70px;
}

.lesson_detail_page .material_box {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 15px;
}

.lesson_detail_page .material_box .image_box {
    display: flex;
    flex-flow: column;
    width: 100%;
}

.lesson_detail_page .material_box .image_box .image_for_props {
    width: 100%;
    border: 2px solid;
    display: flex;
    border-radius: 10px;
    border-color: #d9d9d9;
}

.lesson_detail_page .material_box .image_box img {
    height: 148px;
    padding: 5px;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
}

.lesson_review_box .rating {
    font-size: 18px;
    display:flex;
    flex-wrap: nowrap;
}
.lesson_review_box .review_box {
    min-height: 80px;
}

.lesson_detail_page .organization_image {
    height: 100px;
}
.lesson_detail_page .organization_image img {
    width: auto;
    height: 100%;
    object-fit: cover;
}

.lesson_review_box .review_box .review {
    word-break: break-word;
}

@media (max-width: 1024px) {
    .pc {
        display: none;
    }
    .sp {
        display: inherit;
    }
    .card {
        margin: 0 0 20px;
    }
    .container {
        width: 100%;
        max-width: 100%;
    }
    .auth-container {
        width: 100%;
        max-width: 100%;
    }
    main {
        overflow: hidden;
    }
    .home .home_main2 .home_main2_wrapper {
        left: 0;
        width: 100%;
    }
    .home .home_main2 .home_main2_wrapper .content {
        width: 90vw;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 5vw auto 0;
    }
    .home .home_main2 .home_main2_wrapper .content .button {
        text-align: center;
        margin: 0 5vw 5vw;
    }
    .home .home_main2 .home_main2_wrapper .content .description {
        text-align: center;
    }
    .home .home_main2 .home_main2_wrapper .content .description img {
        width: 100%;
        max-width: 500px;
    }
    .home .home_main2 .home_main2_wrapper .content .desc-text {
        color: #77CC45;
        margin-bottom: 5vw;
    }
    .home .home_main3 {
        margin: 0 -100px;
    }
    .home .home_main4 {
        margin: 0 -100px;
    }
    .home .home_main5 {
        max-width: 100%;
        background: none;
    }
    .home .home_main5 .wrapper {
        padding: 15px 20px;
        background: url("/images/home_main5_bg.png") left top no-repeat;
        background-size: 100% 100%;
        height: auto;
    }
    .home .home_main5 .wrapper .content {
        border: 6px solid #ed837d;
        border-radius: 20px;
        padding: 10px;
    }
    .home .home_main5 .wrapper .content .heading {
        margin: -32px auto 20px;
        text-align: center;
        padding: 0 20px;
    }
    .home .home_main5 .wrapper .content .item {
        float: left;
        width: 50%;
        padding: 5px 10px;
    }
    .home .home_main5 .wrapper .content .item a {
        display: block;
    }
    .home .home_main5 .wrapper .content .item a .icon {
        text-align: center;
    }
    .home .home_main5 .wrapper .content .item a .name {
        margin: 5px 0 0;
        text-align: center;
        font-size: 14px;
        font-weight: bold;
        height: 62px;
        color: #777676;
    }
    .home .home_main6 .container .country .name {
        font-size: 12px;
    }
    .home .home_main6 .container .country .item {
        width: 33.3333333333%;
    }
    .home_en .home_main2 .home_main2_wrapper {
        left: 0;
        width: 100%;
    }
    .home_en .home_main2 .home_main2_wrapper .content {
        width: 90vw;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 5vw auto 0;
    }
    .home_en .home_main2 .home_main2_wrapper .content .button {
        text-align: center;
        margin: 0 5vw 5vw;
    }
    .home_en .home_main2 .home_main2_wrapper .content .description {
        text-align: center;
    }
    .home_en .home_main2 .home_main2_wrapper .content .description img {
        width: 100%;
        max-width: 500px;
    }
    .home_en .home_main2 .home_main2_wrapper .content .desc-text {
        color: #77CC45;
        margin-bottom: 5vw;
    }
    .home_en .mt-en-sp {
        margin-top: 50px;
    }
    .home_en .home_main3 {
        margin: 0 -100px;
    }
    .home_en .home_main4 {
        margin: 0 -100px;
    }
    .home_en .home_main5 {
        max-width: 100%;
        background: none;
    }
    .home_en .home_main5 .wrapper {
        padding: 15px 20px;
        background: url("/images/en/home_main5_bg.png") left top no-repeat;
        background-size: 100% 100%;
        height: auto;
    }
    .home_en .home_main5 .wrapper .content {
        border: 6px solid #ed837d;
        border-radius: 20px;
        padding: 10px;
    }
    .home_en .home_main5 .wrapper .content .heading {
        margin: -32px auto 20px;
        text-align: center;
        padding: 0 20px;
    }
    .home_en .home_main5 .wrapper .content .item {
        float: left;
        width: 50%;
        padding: 5px 10px;
    }
    .home_en .home_main5 .wrapper .content .item a {
        display: block;
    }
    .home_en .home_main5 .wrapper .content .item a .icon {
        text-align: center;
    }
    .home_en .home_main5 .wrapper .content .item a .name {
        margin: 5px 0 0;
        text-align: center;
        font-size: 14px;
        font-weight: bold;
        height: 42px;
        color: #777676;
    }
    .home_en .home_main6 .container .country .name {
        font-size: 12px;
    }
    .home_en .home_main6 .container .country .item {
        width: 33.3333333333%;
    }
    #sidebar {
        background-color: #fff;
        width: 100%;
        height: 100%;
        overflow-y: auto;
        top: 0;
        right: -100%;
        position: fixed;
        z-index: 3;
        transition: all 0.1s linear 0s;
        color: #fff;
        display: none;
        padding: 60px 20px 40px;
    }
    #sidebar a {
        text-decoration: none;
    }
    #sidebar.open {
        right: 0;
        display: block;
    }
    #sidebar .search {
        background-color: #f0f0f0;
        height: 48px;
        border-radius: 24px;
        margin: 0 0 65px;
        display: flex;
        justify-content: space-around;
    }
    #sidebar .search input {
        border: none;
        width: 100%;
        height: 48px;
        background: transparent;
        padding: 0 0 0 25px;
    }
    #sidebar .search button {
        width: 20px;
        border: none;
        margin: 0 20px 0 0;
        cursor: pointer;
    }
    #sidebar .heading {
        font-weight: bold;
        padding: 0 0 15px;
        border-bottom: 1px solid #666666;
    }
    #sidebar ul {
        margin: 0;
        padding: 0;
    }
    #sidebar ul li {
        font-size: 16px;
        font-weight: bold;
    }
    #sidebar ul li a {
        padding: 10px 25px;
    }
    #sidebar ul li:nth-child(2n) a {
        color: #ed837d;
    }
    #sidebar ul li:nth-child(2n+1) a {
        color: #fa8787;
    }
    #sidebar ul li .translation {
        font-size: 13px;
        margin: 20px 25px 0;
    }
    #sidebar ul li .translation a {
        padding: 0;
    }
    #sidebar ul li .translation select {
        border: 1px solid #ccc;
    }
    #sidebar .close_button {
        position: absolute;
        top: 32px;
        right: 28px;
        font-size: 36px;
        cursor: pointer;
        font-family: メイリオ, Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";
        font-weight: bold;
        line-height: 1;
        color: #fa8787;
    }
    #overlay {
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: 2;
        background-color: rgba(255, 255, 255, 0.7);
        display: none;
    }
    #overlay.open {
        display: block;
    }
    .lesson_page .search_item_box {
        display: flex;
        flex-wrap: wrap;
        overflow-y: hidden;
    }
    .lesson_page .search_item_box .search_item {
        flex: 0 0 auto;
        width: 33.3333333333%;
    }
    .lesson_page .search_item_box .search_item .name {
        font-size: 13px;
    }
    .lesson_page .search_item_box .more {
        display: none;
    }
    .lesson_page #more_view {
        display: inherit;
    }
    .lesson_page .s-margin {
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .lesson_page .form-group {
        margin: 0px;
    }
    .lesson_page .sp-border {
        border: 1px solid rgba(0, 0, 0, 0.125);
    }
    .lesson_page .lesson_page-header {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .lesson_detail_page .lesson_introduction {
        display: block;
    }
    .lesson_detail_page .lesson_introduction .slider_box {
        margin: 0 0 0 0;
    }
    .lesson_detail_page .lesson_introduction .slider_box #slider {
        width: 100%;
    }
    .lesson_detail_page .lesson_introduction .slider_box #thumbnail-list {
        width: 100%;
    }
    .lesson_detail_page .lesson_description {
        display: block;
    }
    .lesson_detail_page .lesson_description .image_box {
        display: flex;
        min-width: 100%;
        max-width: 100%;
        margin: 0 0 20px;
        align-items: center;
    }
    .lesson_detail_page .lesson_description .image_box > div {
        width: 50%;
        text-align: center;
    }
    .lesson_detail_page .lesson_description .image_box > div img {
        max-height: 30vw;
        width: auto;
    }

    .lesson_detail_page .material_box {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .lesson_detail_page .material_box .btn {
        margin: 20px 0 0;
    }
    .lesson_detail_page .material_box .image_box {

    }


    .lesson_detail_page .teacher_box {
        display: block;
    }
    .lesson_detail_page .teacher_box .image_box {
        display: flex;
        margin: 0 0 20px;
        align-items: center;
        min-width: 50%;
        max-width: 50%;
    }

    .lesson_detail_page .teacher_box .image_box div {
        width: 50%;
        text-align: center;
    }
    .lesson_detail_page .teacher_box .image_box div img {
        max-height: 30vw;
        width: auto;
    }
    .lesson_detail_page .teacher_box .description_box {
        margin-left: 0;
        display: block;
    }
    .lesson_detail_page .organization_image {
        min-width: 25%;
        max-width: 25%;
    }
    .lesson_detail_page .organization_image img {
        max-height: 30vw;
        width: auto;
    }
    .material_list .file {
        width: 80%;
        display: inline;
    }
    #calendar td {
        font-size: 11px;
    }
    .lesson_order_box {
        flex-wrap: wrap;
        width: 100%;
    }
    .lesson_order_box .info {
        width: 100%;
        min-width: 100%;
        margin: 0 0 10px;
    }
    .lesson_order_box .info .image {
        min-width: 100%;
        max-width: 100%;
        max-height: inherit;
    }
    .lesson_order_box .content {
        width: 100%;
    }
    .lesson_order_info_box .info {
        width: 100%;
        min-width: 100%;
        margin: 0 0 10px;
    }
    .lesson_order_info_box .info .image {
        min-width: 100%;
        max-width: 100%;
        max-height: inherit;
    }
    .lesson_order_info_box .lesson_info {
        width: 100%;
    }
    .lesson_order_info_box .content {
        width: 100%;
    }
    .lesson_order_info_box .content .teacher .icon img {
        vertical-align: bottom;
    }
    .lesson_order_info_box .content .user .icon img {
        vertical-align: bottom;
    }
    .lesson_order_info_box .content .user .name {
        width: 50%;
    }
    .teacher_page .profile {
        display: block;
    }
    .teacher_page .profile .image {
        margin: 0;
        text-align: center;
    }
    .teacher_page .profile .info .borned_country, .teacher_page .profile .info .residence_country {
        display: flex;
        align-items: center;
        margin: 10px 0;
    }
    .teacher_page .profile .info .borned_country .value, .teacher_page .profile .info .residence_country .value {
        margin: 0 15px 0 0;
    }
    .teacher_page .profile .info .borned_country .icon, .teacher_page .profile .info .residence_country .icon {
        height: 36px;
    }
    .teacher_page .profile .info .borned_country .icon img, .teacher_page .profile .info .residence_country .icon img {
        height: 36px;
    }
    .pagination .page-item {
        font-size: small;
    }
    .pagination .page-item .page-link {
        padding: 0.3rem 0.54rem !important;
    }
    #schedule_item_list .course_day {
        font-size: 14px;
    }
    #schedule_item_list .day {
        width: 39.6666666667%;
    }
    #schedule_item_list .time {
        width: 35.3333333333%;
    }
    #schedule_item_list input, #schedule_item_list select {
        font-size: 12px;
    }
    .lesson_request_page table th {
        min-width: 80px;
        width: 80px;
    }
    .about_page .about_page_description {
        text-align: left;
    }
    .about_page .flow_box {
        background-image: url(/images/flow4_sp.png);
        background-size: contain;
    }
    .about_page .flow_box .flow_info {
        min-height: 425px;
        display: flex;
        flex-flow: column;
        justify-content: space-around;
    }
    .about_page .flow_box .flow_info div {
        display: block;
        max-width: 100%;
    }
    .about_page .flow_box .flow_info .first {
        margin-top: -2%;
        padding: 0;
    }
    .about_page .flow_box .flow_info .second {
        padding: 0;
    }
    .about_page .flow_box .flow_info .third {
        padding: 0;
    }
    .about_page .flow_box .flow_info .forces {
        padding: 0;
    }
    .about_page .flow_box .flow_info .last {
        padding: 0;
    }
    .row {
        margin-right: -5px;
        margin-left: -5px;
    }
    .row > * {
        padding-right: 5px;
        padding-left: 5px;
    }
    .mypage_title {
        margin-left: 5px;
        margin-bottom: 5px;
    }
    .mypage-container {
        width: 100%;
        max-width: 100%;
    }
    .mypage_info {
        width: 100%;
        max-width: 100%;
    }
    .mypage_info .title {
        width: 45%;
    }
    .mypage_check_img {
        float: none;
        text-align: center;
        padding: 0;
        padding-top: 10px;
        width: 100%;
    }
    .mypage_dummy {
        display: none;
    }
    .mypage_item {
        width: 100%;
    }
    .index_lesson_list {
        display: flex;
        flex-wrap: wrap;
    }
    .index_lesson_list .lesson_item {
        width: 47%;
        flex: 0 0 auto;
        margin-left: 5px;
        margin-right: 5px;
    }
    .message_list ul li .new {
        margin: 7px 0 0 0;
    }
    .message_list ul li .info_row {
        width: 90%;
        display: block;
    }
    .message_list ul li .info_row .date {
        display: inline;
    }
    .message_list ul li .info_row .title {
        display: inline;
    }
    .teacher_application_guide_page .about_page_description {
        text-align: left;
    }
    .teacher_application_guide_page .flow_box {
        background-image: url(/images/flow_sp.png);
        background-size: contain;
    }
    .teacher_application_guide_page .flow_box .flow_info {
        min-height: 425px;
        display: flex;
        flex-flow: column;
        justify-content: space-around;
        padding-bottom: 5px;
    }
    .teacher_application_guide_page .flow_box .flow_info div {
        display: block;
        max-width: 100%;
    }
    .teacher_application_guide_page .flow_box .flow_info .first {
        margin-top: -4%;
        padding-left: 0;
    }
    .teacher_application_guide_page .flow_box .flow_info .second {
        padding-left: 0;
    }
    .teacher_application_guide_page .flow_box .flow_info .third {
        padding: 0 0 0 0;
    }
    .teacher_application_guide_page .flow_box .flow_info .forces {
        padding: 0 0 0 0;
    }
    .teacher_application_guide_page .flow_box .flow_info .last {
        text-align: center;
        padding: 0;
        padding-right: 0;
    }
    .teacher_application_guide_page .flow2_box {
        background-image: url(/images/flow2_sp.png);
        background-size: contain;
    }
    .teacher_application_guide_page .flow2_box .flow_info {
        min-height: 545px;
        width: 100%;
        display: flex;
        flex-flow: column;
        justify-content: space-around;
        padding-top: 6px;
        padding-bottom: 15px;
    }
    .teacher_application_guide_page .flow2_box .flow_info div {
        display: block;
        max-width: 100%;
        padding-top: 0;
    }
    .teacher_application_guide_page .flow2_box .flow_info .first {
        padding-left: 0;
        padding-right: 0;
    }
    .teacher_application_guide_page .flow2_box .flow_info .second {
        padding-left: 0;
        padding-right: 0;
    }
    .teacher_application_guide_page .flow2_box .flow_info .third {
        padding-left: 0;
        padding-right: 0;
    }
    .teacher_application_guide_page .flow2_box .flow_info .forces {
        padding-left: 0;
        padding-right: 0;
    }
    .teacher_application_guide_page .flow2_box .flow_info .fives {
        text-align: center;
        padding-left: 0;
        padding-right: 0;
    }
    .teacher_application_guide_page .flow2_box .flow_info .last {
        text-align: center;
        padding-right: 0;
    }
    .teacher_application_guide_page .lesson_fee_rate {
        width: 100%;
    }
    .teacher_application_page .flow_box {
        background-image: url(/images/flow_sp.png);
        background-size: contain;
    }
    .teacher_application_page .flow_box .flow_info {
        min-height: 425px;
        display: flex;
        flex-flow: column;
        justify-content: space-around;
        padding-bottom: 5px;
    }
    .teacher_application_page .flow_box .flow_info div {
        display: block;
        max-width: 100%;
    }
    .teacher_application_page .flow_box .flow_info .first {
        margin-top: -4%;
        padding-left: 0;
    }
    .teacher_application_page .flow_box .flow_info .second {
        padding-left: 0;
    }
    .teacher_application_page .flow_box .flow_info .third {
        padding: 0 0 0 0;
    }
    .teacher_application_page .flow_box .flow_info .forces {
        padding: 0 0 0 0;
    }
    .teacher_application_page .flow_box .flow_info .last {
        text-align: center;
        padding: 0;
        padding-right: 0;
    }
    .teacher_application_page .flow_box .flow_info_en {
        min-height: 425px;
        display: flex;
        flex-flow: column;
        justify-content: space-around;
        padding-bottom: 5px;
    }
    .teacher_application_page .flow_box .flow_info_en div {
        display: block;
        max-width: 100%;
    }
    .teacher_application_page .flow_box .flow_info_en .first {
        margin-top: -4%;
        padding-left: 0;
    }
    .teacher_application_page .flow_box .flow_info_en .second {
        padding-left: 0;
    }
    .teacher_application_page .flow_box .flow_info_en .third {
        padding: 0 0 0 0;
    }
    .teacher_application_page .flow_box .flow_info_en .forces {
        padding: 0 0 0 0;
    }
    .teacher_application_page .flow_box .flow_info_en .last {
        text-align: center;
        padding: 0;
        padding-right: 0;
    }
    .index {
        width: 95%;
        margin: auto;
    }
    .index .user_flow_box {
        background-image: url(/images/flow4_sp.png);
        background-size: contain;
    }
    .index .user_flow_box .flow_info {
        min-height: 390px;
        display: flex;
        flex-flow: column;
        justify-content: space-around;
    }
    .index .user_flow_box .flow_info div {
        display: block;
        max-width: 100%;
    }
    .index .user_flow_box .flow_info .first {
        margin-top: -2%;
        padding: 0;
    }
    .index .user_flow_box .flow_info .second {
        padding: 0;
    }
    .index .user_flow_box .flow_info .third {
        padding: 0;
    }
    .index .user_flow_box .flow_info .forces {
        padding: 0;
    }
    .index .user_flow_box .flow_info .last {
        padding: 0;
    }
    .index .user_flow_box .flow_info_en {
        min-height: 390px;
        display: flex;
        flex-flow: column;
        justify-content: space-around;
    }
    .index .user_flow_box .flow_info_en div {
        display: block;
        max-width: 100%;
    }
    .index .user_flow_box .flow_info_en .first {
        margin-top: 3px;
        padding: 0;
    }
    .index .user_flow_box .flow_info_en .second {
        padding: 0;
    }
    .index .user_flow_box .flow_info_en .third {
        padding: 0 0 14px 0;
    }
    .index .user_flow_box .flow_info_en .forces {
        padding: 0 0 10px 0;
    }
    .index .user_flow_box .flow_info_en .last {
        padding: 0 0 12px 0;
    }
    .index .teacher_application_guide_flow_box {
        background-image: url(/images/flow_sp.png);
        background-size: contain;
    }
    .index .teacher_application_guide_flow_box .flow_info {
        min-height: 370px;
        display: flex;
        flex-flow: column;
        justify-content: space-around;
        padding-bottom: 12px;
        width: 88%;
    }
    .index .teacher_application_guide_flow_box .flow_info div {
        display: block;
        max-width: 100%;
    }
    .index .teacher_application_guide_flow_box .flow_info .first {
        margin-top: -2%;
        padding-left: 0;
    }
    .index .teacher_application_guide_flow_box .flow_info .second {
        padding-top: 10px;
        padding-left: 0;
    }
    .index .teacher_application_guide_flow_box .flow_info .third {
        padding: 5px 0 0 0;
    }
    .index .teacher_application_guide_flow_box .flow_info .forces {
        padding: 0 0 0 0;
    }
    .index .teacher_application_guide_flow_box .flow_info .last {
        text-align: center;
        padding: 0;
        padding-right: 0;
    }
    .index .teacher_application_guide_flow_box .flow_info_en {
        min-height: 370px;
        display: flex;
        flex-flow: column;
        justify-content: space-around;
        padding-bottom: 5px;
        width: 88%;
    }
    .index .teacher_application_guide_flow_box .flow_info_en div {
        display: block;
        max-width: 100%;
    }
    .index .teacher_application_guide_flow_box .flow_info_en .first {
        margin-top: -2%;
    }
    .index .teacher_application_guide_flow_box .flow_info_en .second {
        padding-top: 10px;
        padding-left: 10px;
    }
    .index .teacher_application_guide_flow_box .flow_info_en .third {
        padding-top: 5px;
    }
    .index .teacher_application_guide_flow_box .flow_info_en .forces {
        padding-top: 12px;
    }
    .index .teacher_application_guide_flow_box .flow_info_en .last {
        padding-top: 10px;
        padding-left: 10px;
        text-align: center;
    }
    .index .teacher_application_flow_box {
        background-image: url(/images/flow_sp.png);
        background-size: contain;
    }
    .index .teacher_application_flow_box .flow_info {
        min-height: 370px;
        width: 88%;
        display: flex;
        flex-flow: column;
        justify-content: space-around;
        padding-bottom: 5px;
    }
    .index .teacher_application_flow_box .flow_info div {
        display: block;
        max-width: 100%;
    }
    .index .teacher_application_flow_box .flow_info .first {
        margin-top: -4%;
        padding-left: 0;
    }
    .index .teacher_application_flow_box .flow_info .second {
        padding-left: 0;
    }
    .index .teacher_application_flow_box .flow_info .third {
        padding: 0 0 0 0;
    }
    .index .teacher_application_flow_box .flow_info .forces {
        padding: 0 0 0 0;
    }
    .index .teacher_application_flow_box .flow_info .last {
        text-align: center;
        padding: 0;
        padding-right: 0;
    }
    .index .teacher_application_flow_box .flow_info_en {
        min-height: 370px;
        width: 88%;
        display: flex;
        flex-flow: column;
        justify-content: space-around;
        padding-bottom: 5px;
    }
    .index .teacher_application_flow_box .flow_info_en div {
        display: block;
        max-width: 100%;
    }
    .index .teacher_application_flow_box .flow_info_en .first {
        margin-top: -3%;
        padding-left: 0;
    }
    .index .teacher_application_flow_box .flow_info_en .second {
        padding-left: 0;
    }
    .index .teacher_application_flow_box .flow_info_en .third {
        padding: 0 0 0 0;
    }
    .index .teacher_application_flow_box .flow_info_en .forces {
        padding: 0 0 0 0;
    }
    .index .teacher_application_flow_box .flow_info_en .last {
        text-align: center;
        padding: 0;
        padding-right: 0;
    }
    .index .teacher_signup_flow_box {
        background-image: url(/images/flow_teacher_help_signup_sp.png);
        background-size: contain;
    }
    .index .teacher_signup_flow_box .flow_info {
        min-height: 310px;
        width: 88%;
        display: flex;
        flex-flow: column;
        justify-content: space-around;
    }
    .index .teacher_signup_flow_box .flow_info div {
        font-size: 14px;
        display: block;
        max-width: 100%;
    }
    .index .teacher_signup_flow_box .flow_info .first {
        margin-top: -4%;
        padding: 0;
    }
    .index .teacher_signup_flow_box .flow_info .second {
        padding: 0;
    }
    .index .teacher_signup_flow_box .flow_info .third {
        padding: 0;
    }
    .index .teacher_signup_flow_box .flow_info .forces {
        padding: 0;
    }
    .index .teacher_signup_flow_box .flow_info .last {
        padding: 0;
    }
    .index .teacher_signup_flow_box .flow_info_en {
        min-height: 310px;
        width: 88%;
        display: flex;
        flex-flow: column;
        justify-content: space-around;
    }
    .index .teacher_signup_flow_box .flow_info_en div {
        font-size: 14px;
        display: block;
        max-width: 100%;
    }
    .index .teacher_signup_flow_box .flow_info_en .first {
        margin-top: -1%;
        padding: 0;
    }
    .index .teacher_signup_flow_box .flow_info_en .second {
        padding: 0;
    }
    .index .teacher_signup_flow_box .flow_info_en .third {
        padding: 0;
    }
    .index .teacher_signup_flow_box .flow_info_en .forces {
        padding: 0;
    }
    .index .teacher_signup_flow_box .flow_info_en .last {
        padding: 0;
    }
    .index .teacher_lesson_flow_box {
        background-image: url(/images/flow2_sp.png);
        background-size: contain;
    }
    .index .teacher_lesson_flow_box .flow_info {
        min-height: 461px;
        width: 100%;
        display: flex;
        flex-flow: column;
        justify-content: space-around;
        padding-top: 9px;
        padding-bottom: 12px;
    }
    .index .teacher_lesson_flow_box .flow_info div {
        display: block;
        max-width: 100%;
        padding-top: 0;
    }
    .index .teacher_lesson_flow_box .flow_info .first {
        padding-left: 0;
        padding-right: 0;
    }
    .index .teacher_lesson_flow_box .flow_info .second {
        padding-left: 0;
        padding-right: 0;
    }
    .index .teacher_lesson_flow_box .flow_info .third {
        padding-left: 0;
        padding-right: 0;
    }
    .index .teacher_lesson_flow_box .flow_info .forces {
        padding-left: 0;
        padding-right: 0;
    }
    .index .teacher_lesson_flow_box .flow_info .fives {
        text-align: center;
        padding-left: 0;
        padding-right: 0;
    }
    .index .teacher_lesson_flow_box .flow_info .last {
        text-align: center;
        padding-right: 0;
    }
    .index .teacher_lesson_flow_box .flow_info_en {
        min-height: 461px;
        width: 100%;
        display: flex;
        flex-flow: column;
        justify-content: space-around;
        padding-top: 5px;
        padding-bottom: 12px;
    }
    .index .teacher_lesson_flow_box .flow_info_en div {
        display: block;
        max-width: 100%;
        padding-top: 0;
    }
    .index .teacher_lesson_flow_box .flow_info_en .first {
        padding-left: 0;
        padding-right: 0;
    }
    .index .teacher_lesson_flow_box .flow_info_en .second {
        padding-left: 0;
        padding-right: 0;
    }
    .index .teacher_lesson_flow_box .flow_info_en .third {
        padding-left: 0;
        padding-right: 0;
    }
    .index .teacher_lesson_flow_box .flow_info_en .forces {
        padding-left: 0;
        padding-right: 0;
    }
    .index .teacher_lesson_flow_box .flow_info_en .fives {
        text-align: center;
        padding-left: 0;
        padding-right: 0;
    }
    .index .teacher_lesson_flow_box .flow_info_en .last {
        text-align: center;
        padding-right: 0;
    }
    .index .sp_fs-13 {
        font-size: 13px;
    }
    .index .sp_fs-14 {
        font-size: 14px;
    }
    .index .sp_size {
        margin-left: 0 !important;
    }
    .sale_table {
        width: -moz-max-content;
        width: max-content;
    }
    .sale_table .id {
        width: 0.5%;
    }
    .sale_table .date {
        width: 0.5%;
    }
    .sale_table .value {
        width: 0.5%;
    }
    .sale_table .title {
        width: 2%;
    }
    .sale_table .note {
        width: 5%;
    }
    .guide .table {
        margin-left: 0 !important;
    }
    .term .table {
        margin-left: 0 !important;
        font-size: 14px;
    }
    .setting .setting_box {
        width: 100%;
        margin: 1.5rem 0 0 0;
    }
    .setting .camera_box {
        width: 100%;
        margin-bottom: 1.5rem;
    }
    .setting .camera_box img {
        max-height: 100%;
    }
    .setting .translate_box {
        width: 100%;
    }
}



.lesson_wrapper {
    padding-top: 40px;
}
.lesson_wrapper_botton {
    padding-bottom: 60px;
}


.lesson_content_wrapper {
    padding-bottom: 1px;
}

.lesson_content {
    background-color: white;
    padding: 40px 80px;
    border-radius: 10px;
    max-width: 980px;
    margin: 0 auto 20px auto;
}

.lesson_content_margin {
    margin: 50px auto 70px auto;
    max-width: 980px;
}

.lesson_image_wrapper img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}


.wave--profile {
    padding: 50px 0;
    margin-top: -52px;
    background: #cbe9ec !important;
}

.student_review_content {
    margin: 8px auto 0 auto;
    max-width: 980px;
}

.content-box {
    display: flex;
    background-color: white;
    border-radius: 10px;
}

.content-box .image_box {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 20px;
    text-align: center;
}

.content-box--teacher {
    background-color: white;
    border-radius: 50px;
    width: 30%;
}
.content-box--teacher-detail {
    position: relative;
    padding: 20px;
    background-color: #f1f1f1;
    border-radius: 10px 10px 10px 0;
    width: 70%;
}

.content-box--teacher-detail:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -50px;
    display: block;
    width: 50px;
    height: 50px;
    background-color: #f1f1f1;
}

.content-box--teacher-detail:before {
    content: '';
    position: absolute;
    z-index: 1;
    bottom: -3px;
    border-radius: 100%;
    left: -100px;
    display: block;
    width: 100px;
    height: 100px;
    background-color: white;
}

.content-box--profile {
    margin: 50px auto;
    max-width: 980px;
    margin-top: 20px;
    z-index: 2;
}

@media (max-width: 1024px) {
    .lesson_detail_page .lesson_introduction .lesson_detail .detail-list-info {
        /*display: grid;*/
        margin: 10px 0;
        font-size: 16px;
        line-height: 36px;
        column-gap: 20px;
        grid-template-columns: max-content 1fr;
    }
    .lesson_detail_page .lesson_introduction .lesson_detail .detail-list-info .name {
        display: flex;
        align-items: center;
    }
    .lesson_detail_page .lesson_introduction .lesson_detail .price {
        display: block;
        .value {
            margin-left: 32px;
        }
    }
    .lesson_detail_page .lesson_introduction .lesson_detail .language_used img {
        width: 34px !important;
        max-width: unset;
    }
    .price_text {
        margin-left: 32px;
        grid-column: span 2 / span 2;
    }
    .btn-center-sp {
        text-align: center;
    }
    .content-box--profile {
        margin: 50px 3%;
        z-index: 2;
        margin-top: 20px;
    }
    .lesson_detail_page .lesson_introduction .lesson_detail .capacity .name {
        width: 65%;
    }
    .lesson_detail_page .lesson_introduction .lesson_detail .level .name {
        width: 65%;
    }
    .lesson_detail_page .lesson_introduction .lesson_detail .minute .name {
        width: 65%;
    }

}

.lesson-content-image-wrapper {
    display: flex;
}

.lesson-content-image-wrapper div {
    width: 350px;
    height: 200px;
}

.lesson-content-image-wrapper img {
    width: 100px;
    height: 100px
}

.lesson-other-step {
    display: flex;
}

.lesson-other-step div {
    width: 250px;
    height: 50px;
    background: white;
}

.btn-detail {
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    color: white;
    background-color: #ed837c;
    border: none;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    gap: 8px;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    padding: 10px 25px 10px 35px;
    text-overflow: ellipsis;
}
.btn-detail div {
    color: white !important;
    line-height: 1.2;
}
.btn-view-teacher {
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    color: #ed837c;
    background-color: white;
    border: 2px solid #ed837c;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    justify-content: center;
    padding: 10px 20px 10px 40px;
    transition: background-color 0.3s ease;
}
.btn-view-more-teacher {
    text-align: end !important;
}

.btn-view-teacher div {
    color: #ed837c;
}

.wave {
    --size: 15px;
    --R: calc(var(--size) * 1.28);

    -webkit-mask: radial-gradient(var(--R) at 50% calc(1.8 * var(--size)), #000 99%, #0000 101%) calc(50% - 2 * var(--size)) 0/calc(4 * var(--size)) 100%,
    radial-gradient(var(--R) at 50% calc(-.8 * var(--size)), #0000 99%, #000 101%) 50% var(--size)/calc(4 * var(--size)) 100% repeat-x;
    background: #ffdede;
}
.rounded-10 {
    border-radius: 10px;
}

.teacher_box {
    display: flex;
    align-items: flex-start;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


.teacher img {
    position: relative;
}

.country_flag {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    position: absolute;
    top: 90px;
    left: 80px;
    border: 2px solid white;
}

.teacher_name {
    font-size: 1.2em;
    font-weight: bold;
    color: #ff4081;
    text-align: center;
    margin-top: 10px;
}

.description_box {
    flex-grow: 1;
    background-color: #f1f1f1;
    padding: 20px;
    border-radius: 10px;
}

.description_text {
    line-height: 1.6;
    padding: 20px 10px;
    font-weight: bold;
    margin-bottom: 20px;
}

.view_more {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ffffff;
    color: #ff4081;
    border: 2px solid #ff4081;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
}

.material_box2 {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    height: unset;
}

.border-img {
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 10px;
    background-color: #fff;
}

.teacher_box {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.image_box .teacher {
    position: relative;
}
.image_box .teacher .teacher-img {
    border-radius: 50%;
    /* width: 150px;
    height: 150px; */
    object-fit: cover;
    /* border: 5px solid #ffffff; */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 2;
}

.image_box .teacher-instagram {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    z-index: 2;
}

.image_box .teacher-instagram .teacher-instagram-icon {
    width: 25px;
    height: 25px;
    margin-right: 5px;
}

.image_box .teacher-instagram .teacher-instagram-name {
    font-size: 14px;
}

.image_box .teacher-img {
    border-radius: 50%;
    /* width: 150px;
    height: 150px;
    object-fit: cover;
    border: 5px solid #ffffff; */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 2;
}

.image_box .country {
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    width: 40px;
    height: 40px;
    z-index: 3;
}
.country-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    display: none;
}

@media (max-width: 1024px) {
    .content-box {
        flex-direction: column;
        padding: 20px 10px;
    }

    .content-box .image_box {
        flex-direction: row !important;
        align-items: flex-end;
        gap: 20px;
    }

    .teacher {
        margin-top: 50px;
    }
    .image_box {
        flex-direction: row !important;
        align-items: flex-end;
        gap: 20px;
    }
    .teacher .instructor-avatar {
        width: 80px !important;
        height: 80px !important;
    }
    .image_box .country {
        width: 20px;
        height: 20px;
    }
    .country-img {
        width: 20px;
        height: 20px;
    }
    .content-box--teacher-detail {
        border-radius: 0 10px 10px 10px;
        margin-top: 40px;
        width: unset;
    }
    .content-box--teacher {
        width: unset;
    }
    .lesson_content {
        padding: 0;
    }

    .content-box--teacher-detail:after {
        content: '';
        position: absolute;
        top: -50px;
        left: 0;
        display: block;
        width: 50px;
        height: 50px;
        background-color: #f1f1f1;
    }

    .content-box--teacher-detail:before {
        content: '';
        position: absolute;
        z-index: 1;
        top: -100px;
        border-radius: 100%;
        left: 0;
        display: block;
        width: 100px;
        height: 100px;
        background-color: white;
    }
}

.image_box .teacher-name-container {
    z-index: 2;
}

.image_box .teacher_name {
    margin-top: 10px;
    font-weight: bold;
    color: #ed837c;
    z-index: 2;
}

@media (max-width: 1024px) {
    .image_box .teacher_name {
        text-align: left;
    }
}

.description_box {
    flex: 1;
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
}

.view_more_button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ff4081;
    color: #ffffff;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: background-color 0.3s;
}

.view_more_button:hover {
    background-color: #e91e63;
}

.favorite-container {
    display: inline-block;
    text-align: center;
}

.favorite-container img {
    min-width: 40px;
    height: 40px;
    transition: transform 0.2s;
}

.favorite-container img:hover {
    transform: scale(1.2);
}

.attractive-point-container {
    border: 2px solid #ff6f61;
    border-radius: 10px;
    padding: 30px;
    margin: 30px 0;
    text-align: center;
    position: relative;
}
.attractive-point-container img {
    position: absolute;
    top: -30px;
    transform: translateY(50%);
    background: white;
    padding: 0 20px;
}
.attractive-point-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.attractive-point-title .line {
    flex-grow: 1;
    height: 2px;
    background-color: #ff6f61;
    margin: 0 10px;
}

.title {
    font-weight: bold;
    color: #333;
    position: relative;
}

.title::after {
    color: #ff6f61;
    font-size: 16px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -20px;
}

.attractive-point-content {
    text-align: left;
}

.btn-detail img {
    /*margin-left: 20px;*/
    width: 16px;
    height: 16px;
}
.btn-view-teacher img {
    margin-left: 20px;
    width: 16px;
    height: 16px;
}
.card-body {
    padding: 1rem;
}
.thumbnail img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.image img {
    width: 100%;
    border-radius: 10px;
}
.lesson-name {
    font-weight: bold;
    color: #ed837c;
    -webkit-line-clamp: 1;
    overflow: hidden;
    width: 100%;
    position: relative;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.review {
    font-size: 0.9em;
}
.translation_button {
    cursor: pointer;
    color: #ff69b4;
}
.btn-warning {
    background-color: #ff69b4;
    border: none;
    font-weight: bold;
}
.card-review {
    margin: 0 0 20px;
    border-radius: 10px;
}
.rating i {
    font-size: 26px;
}

/* Container Styles */
.precautions-container {
    border: 1px solid #ed837d;
    border-radius: 10px;
    padding: 20px;
    margin: 20px auto;
    text-align: center;
    position: relative;
    background-color: #fff;
    max-width: 80%;
}

/* Title Styles */
.centered-title {
    position: relative;
}

.centered-title .precautions-img {
    position: absolute;
    top: -70px;
    left: 50%;
    transform: translateX(-50%);
    height: 50px;
}

.centered-title .material-tool-img {
    position: absolute;
    top: -75px;
    left: 50%;
    transform: translateX(-50%);
    height: 150px;
}
.centered-title .instructor-img {
    position: absolute;
    top: -41px;
    left: 50%;
    transform: translateX(-50%);
    height: 100px;
}

.lesson_box {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease-in-out;
    background-color: white;
    height: unset !important;
}

.lesson_box:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.image .square .inner img {
    width: 100%;
    height: auto;
    border-bottom-left-radius: unset;
    border-bottom-right-radius: unset;
}
.other_lesson_teacher {
    display: flex;
    align-items: center;
    position: relative;
    margin-left: 10px;
}

.other_lesson_teacher .icon .instructor-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    position: absolute;
    top: -60%;
    background-color: white;
    overflow: hidden;
}

.other_lesson_teacher .name a {
    font-weight: bold;
    color: #333;
    text-decoration: none;
}
.other_lesson_teacher .name {
    margin-left: 45px;
    font-size: 14px;
}

.other_lesson_title {
    padding: 10px;
    font-size: 16px;
    font-weight: bold;

}
.text_two_lines {
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
}
.other_lesson_title a {
    color: #ed837c !important;
    word-wrap: break-word;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 50px;
}
.other_lesson_info {
    padding: 10px;
    font-size: 14px;
    color: #555;
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-height: 200px;
}
.other_lesson_info div {
    display: flex;
}
.other_lesson_info img {
    width: 25px;
    height: 25px;
}
.other_lesson_info span {
    font-weight: bold;
    margin-left: 5px;
}
.other_lesson_btn_view_more {
    padding: 10px 0 10px 25px;
}
.other_lesson_btn_view_more img {
    margin-left: 8px;
    margin-right: 8px;
}
.label_level_1 {
    height: 40px;
    min-width: 140px;
    background-color: #e5c1c1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 10px 0 0 10px;
    &::before{
        content: '';
        display: block;
        border: 20px solid transparent;
        border-left-color: #e5c1c1;
        position: absolute;
        right: -40px;
    }
}

.label_level_2 {
    height: 40px;
    background-color: #e5b1b1;
    display: flex;
    min-width: 140px;
    align-items: center;
    justify-content: center;
    position: relative;

    @media (max-width: 1024px) {
        margin-right: 20px;
    }

    &::after{
        content: '';
        display: block;
        border: 20px solid #e5b1b1;
        border-left-color: transparent;
        position: absolute;
        left: -20px;
    }
    &::before{
        content: '';
        display: block;
        border: 20px solid transparent;
        border-left-color: #e5b1b1;
        position: absolute;
        right: -40px;
    }
}

.label_level_3 {
    height: 40px;
    background-color: #e5a3a3;
    display: flex;
    min-width: 140px;
    align-items: center;
    justify-content: center;
    position: relative;

    @media (max-width: 1024px) {
        margin-left: 20px;
    }
    &::after{
        content: '';
        display: block;
        border: 20px solid #e5a3a3;
        border-left-color: transparent;
        position: absolute;
        left: -20px;
    }
    &::before{
        content: '';
        display: block;
        border: 20px solid transparent;
        border-left-color: #e5a3a3;
        position: absolute;
        right: -40px;
    }
}
.label_level_4 {
    height: 40px;
    background-color: #e5918f;
    display: flex;
    min-width: 140px;
    align-items: center;
    justify-content: center;
    position: relative;

    @media (max-width: 1024px) {
        margin-right: 20px;
    }
    &::after{
        content: '';
        display: block;
        border: 20px solid #e5918f;
        border-left-color: transparent;
        position: absolute;
        left: -20px;
    }
    &::before{
        content: '';
        display: block;
        border: 20px solid transparent;
        border-left-color: #e5918f;
        position: absolute;
        right: -40px;
    }
}
.label_level_5 {
    height: 40px;
    background-color: #ed837c;
    display: flex;
    min-width: 140px;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 0 10px 10px 0;

    @media (max-width: 1024px) {
        margin-left: 20px;
    }
    &::after{
        content: '';
        display: block;
        border: 20px solid #ed837c;
        border-left-color: transparent;
        position: absolute;
        left: -20px;
    }
}
.other_lesson_div {
    display: flex;
    gap: 26px;
}   
.other_lesson_list {
    display: grid;
    margin-inline: auto;
    gap: 24px;
    row-gap: 0px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.other_lesson_child {
    width: 100%;
    position: relative;
    height: unset;
}

/* Deprecated level-based styles - kept for reference
.label_level_1,
.label_level_2,
.label_level_3,
.label_level_4,
.label_level_5 {
    ...
}

.level_content::after {
    ...
}
*/

@media (max-width: 960px) {
    .other_lesson_list {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

@media (max-width: 420px) {
    .btn-detail {
        font-size: 12px;
    }
    .lesson_detail_page .lesson_introduction .lesson_detail .detail-list-info .value-mobile {
        grid-column: span 2 / span 2;
    }
    .other_lesson_info {
        min-height: 220px;
    }
}
@media (max-width: 1024px) {
    .wave {
        padding: 0 3%;
    }
    .wave--profile {
        padding: 50px 3%;
        margin-top: -52px;
        background: #cbe9ec !important;
    }

    .lesson_page .lesson_box {
        position: relative;
        height: 100%;
    }
}
@media (min-width: 1240px) {
    .lesson_page .lesson_box {
        min-width: 100%;
    }
}
.lesson_review_box .thumbnail {
    width: 40px;
}
@media (max-width: 420px) {
    .btn-view-more-teacher {
        text-align: center !important;
    }
    .other_lesson_btn_view_more {
        padding: 10px 0 10px 15px;
    }
    .lesson_page .lesson_box {
        position: relative;
        min-width: 150px;
        height: 100%;
    }
    .lesson_detail_page .material_box .image_box {

    }
    .lesson_detail_page .material_box .image_box .border-img img {

    }
}

@media (max-width: 1024px) {
    .btn-view-more-teacher {
        text-align: center !important;
    }
    .lesson_content_margin {
        margin: 50px 0 70px 0;
    }
    .precautions-content {
        min-height: 200px;
        height: auto;
        padding: 0 3% 5% 3%;
    }
    .precautions-content p {
        padding-top: 80px;
    }
    .centered-title .precautions-img {
        top: -13px;
    }
    .centered-title .material-tool-img {
        top: -100px;
        width: 400px;
        height: 200px;
    }
    .lesson_material_content {
        padding: 15% 3% 15% 3%;
        .text-info {
            padding: 0 10% 0 10%;
            font-size: 16px;
            text-align: center;
            display: flex;
            justify-content: center;
        }
    }
    .lesson_detail_page .material_box .image_box {
        display: unset !important;
        .material-name {
            text-align: start !important;
        }
    }
    .lesson_detail_page .material_box .image_box .border-img img {
        height: 200px;
    }
}

.student_review_img {
    width: 30%;
    margin-bottom: 10px;
}
@media (max-width: 1024px) {
    .student_review_img {
        width: 375px;
    }
}
.other_lesson_info p {
    margin: unset;
}
.align-center-item {
    align-items: center;
}

/* instructor-avatar */
.instructor-avatar {
  position: relative;
  border-radius: 50%;
  background-image: url("/images/rainbow-frame.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* Add centering properties */
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  z-index: 2;
}

.instructor-avatar img {
  width: 87%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 100%;
  object-fit: cover;
  overflow: hidden;
  transform: translateZ(0);
}

/* learn_with_me */
.learn_with_me {
    position: relative;
    text-align: center;
    margin: 20px 0;
    margin-inline: auto;
    width: fit-content;
    font-size: 24px;
    margin-top: 3rem;
}

.learn_with_me span {
    font-weight: bold;
    color: #6f3930;
}

.learn_with_me::before,
.learn_with_me::after {
    position: absolute;
    content: '';
    background-size: contain;
    background-repeat: no-repeat;
    width: 40px;
    aspect-ratio: 1;
    top: 50%;
    transform: translateY(-50%);
}

.learn_with_me::before {
    background-image: url('/images/new-red-heart.png');
    right: calc(100% + 6px);
}

.learn_with_me::after {
    width: 55px;
    background-image: url('/images/yellow-stars.png');
    left: calc(100% + 6px);
}

@media screen and (max-width: 768px) {
    .learn_with_me {
        margin-bottom: 22px;
    }
    .learn_with_me span {
        font-size: 20px;
    }
    .learn_with_me::before {
        width: 27px;
    }
    .learn_with_me::after {
        width: 39px;
    }
}

.attractive-point-content {
    margin-bottom: 24px;
}

.attractive-point-item {
    text-align: left;
    margin-bottom: 24px;
}

.attractive-point-item__title {
    display: flex;
    align-items: center;
    position: relative;
}

.attractive-point-item__title h4 {
    font-weight: bold;
    color: #f95756;
}

.attractive-point-item__title::before {
    content: '•';
    position: absolute;
    font-size: 18px;
    color: #f95756;
    right: calc(100% + 8px);
}

/* .attractive-point-item--future-benefit .attractive-point-item__title::before {
    background-image: url('/images/future_benefit_icon.png');
}

.attractive-point-item--key-skills .attractive-point-item__title::before {
    background-image: url('/images/key_skills_icon.png');
    height: 32px;
}

.attractive-point-item--recommended-for .attractive-point-item__title::before {
    background-image: url('/images/recommended_for_icon.png');
}

.attractive-point-item--self-practice .attractive-point-item__title::before {
    background-image: url('/images/self_practice_icon.png');
    height: 34px;
} */

.attractive-point-item__content p {
    margin-top: 4px;
}

.other_lesson_list {
    display: grid;
    margin-inline: auto;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.rm-experience-lesson {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    background: white;
    border-radius: 8px;
}

.rm-experience-lesson .lesson_item_image {
    min-width: 178px;
    max-width: 178px;
    aspect-ratio: 1;
    height: auto;
    object-fit: cover;
}

.rm-experience__title {
    font-size: 22px;
    margin-bottom: 14px;
    font-weight: bold;
}

.rm-experience-lesson__title {
    margin-block: 5px;
    font-size: 20px;
}

.rm-experience-lesson__teacher-name {
    font-weight: 400;
    line-height: 138%;
}

.rm-experience-lesson__title a {
    color: #fa8b8b;
    line-height: 138%;
    word-break: break-word;
    text-decoration: none;
}

.rm-experience-text {
    margin-bottom: 24px;
}

.rm-experience-text__title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 0;
    color: #d9455b;
}

.rm-experience-text__desc {
    font-size: 18px;
    line-height: 28px;
    margin-top: 0;
    font-weight: normal;
}

.rm-experience-text__desc * {
    font-weight: normal;
}

.rm-experience-lesson-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.rm-experience-lesson__content {
    height: 100%;
    flex-grow: 1;
}

.rm-experience-lesson__info * {
    font-weight: 400;
    line-height: 138%;
    word-break: breadk-word;
}

.rm-experience-lesson__view-more-btn {
    text-align: center;
}

.experience-item {
    margin-bottom: 0;
}

.experience-item__remark {
    font-size: 18px;
    font-weight: normal;
}

.rm-experience-lesson__course-box {
    background-color: #ed837d;
    border-radius: 9999px;
    padding: 0px 13px;
    font-size: 14px;
    color: white;
    font-weight: 600;
    display: inline-block;
    /* height: 22px; */
    padding: 2px 12px;
    margin-bottom: 8px;
}

@media screen and (max-width: 960px) {
    .rm-experience-lesson__course-box {
        font-size: 12px;
        margin-bottom: 4px;
    }
    .experience-item__remark {
        font-size: 16px;
    }

    .other_lesson_list {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .roadmap-tabs {
        margin-bottom: 0;
    }

    .rm-experience-lesson-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .experience-item__header {
        font-size: 16px;
    }

    .rm-experience-lesson__info {
        font-size: 14px;
    }

    .rm-experience-lesson__title {
        font-size: 15px;
    }

    .rm-experience__title {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .experience-item__body {
    }

    .rm-experience-lesson {
        gap: 8px;
        padding: 8px
    }

    .roadmap-tab {
        font-size: 16px;
    }

    .rm-experience-text {
        margin-bottom: 10px;
    }

    .rm-experience-text__desc {
        font-size: 14px;
        margin-top: 0;
    }

    .rm-experience-text__title {
        margin-bottom: 0;
        font-size: 14px;
    }

    .rm-experience-lesson .lesson_item_image {
        min-width: 140px;
        max-width: 140px;
    }
}

.lesson_view_more_link {
    padding: 6px 15px;
    color: white;
    background-color: #ED837C;
    border-radius: 30px;
    color: white;
    font-size: 14px;
    line-height: 18px;
    text-align: center;
    -moz-text-align-last: center;
    text-align-last: center;
    text-decoration: none;
}

.lesson_view_more_link * {
    color: white;
}

@media (max-width: 568px) {
    .lesson_view_more_link {
        font-size: 11px;
        padding: 6px 4px;
    }
}