.lan {
    background: url('../images/BG_line_01.svg') bottom center no-repeat;
    background-size: contain;
}

.lan_course {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 50px;
}

.lan_course:before {
    content: '';
    position: absolute;
    top: -35px;
    right: -90px;
    width: 80px;
    height: 80px;
    background: url('../images/balloon-r.png') center no-repeat;
    background-size: contain;
}


.lan_course li {
    flex: 1;
    position: relative;
    border-radius: 15px;
    border: white 5px solid;
    overflow: hidden;
    transition: .3s;
    cursor: pointer;
}



.lan_course li + li {
    margin-left: 15px;
}

.lan_course li > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
}

.lan_course li:hover {
    transform: translateY(-5px);
}

.lan_course li.active {
    border: var(--mainRed) 5px solid;
}

.lan_course li.lan_US.active {
    background-color: #478EBF;
    border-color: #478EBF;
}

.lan_course li.lan_JP.active {
    background-color: #E24D4D;
    border-color: #E24D4D;
}

.lan_course li.lan_SP.active {
    background-color: #f7c644;
    border-color: #f7c644;
}

.lan_course li.lan_KR.active {
    background-color: #FF8465;
    border-color: #FF8465;
}

.lan_course li.lan_FR.active {
    background-color: #6242A0;
    border-color: #6242A0;
}

.lan_course li.lan_GM.active {
    background-color: #3A504B;
    border-color: #3A504B;
}

.lan_text {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding-bottom: 25px;
    color: white;
}

.lan_text > img {
    width: 50px;
    margin-bottom: 10px;
    border: white 5px solid;
    border-radius: 50px;
    background: white;
}

.lan_title {
    font-size: 23px;
    font-weight: 700;
}

.lan_subtitle {
    font-size: 18px;
}

.lan_content_area {
    position: relative;
    width: 100%;
}

.lan_content_area:after {
    content: '';
    position: absolute;
    bottom: 150px;
    left: -110px;
    width: 100px;
    height: 120px;
    background: url('../images/balloon-l.png') center no-repeat;
    background-size: contain;
}

.lan_content {
    display: none;
    min-height: 970px;
}

.lan_content.show {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lan_content_title img {
    height: 55px;
    margin-bottom: 25px;
}

.lan_content ul {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

.lan_content ul li {
    width: calc( 50% - 12.5px );
    transition: .3s;
    cursor: pointer;
    margin-bottom: 25px;
}

.lan_content.lan_US ul li a {
    background-color: #478EBF;
}

.lan_content.lan_JP ul li a {
    background-color: #E24D4D;
}

.lan_content.lan_SP ul li a {
    background-color: #f7c644;
}

.lan_content.lan_KR ul li a {
    background-color: #FF8465;
}

.lan_content.lan_FR ul li a {
    background-color: #6242A0;
}

.lan_content.lan_GM ul li a {
    background-color: #3A504B;
}

.lan_content ul li:hover {
    transform: translateY(-5px);
}


.lan_content ul li a {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 100%;
    border-radius: 15px;
    background-color: var(--mainRed);
    overflow: hidden;
}

.lan_content_img {
    flex: 1;
}

.lan_content_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.lan_content_text {
    flex: 1;
    padding: 25px;
    color: white;
}

.lan_content_title {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 700;
    line-height: 35px;
    border-bottom: white 1px solid;
    text-align: center;
}

@media screen and (max-width: 1023px) {
    .lan_course li {
        flex: none;
        width: calc(100%/3 - 0px);
        margin-bottom: 15px;
    }
    
    .lan_course li + li {
        margin-left: 0;
    }

    .lan_text {
        padding-bottom: 15px;
    }
    
    .lan_text > img {
        width: 35px;
        margin-bottom: 5px;
        border: white 3px solid;
    }
    
    .lan_title {
        font-size: 18px;
    }
    
    .lan_subtitle {
        font-size: 14px;
    }
    
    .lan_content_title img {
        height: 25px;
    }

    .lan_content ul li {
        width: 100%;
    }
}