@charset "utf-8";

/* Shared visual system. Legacy page layouts remain in lms_main.css/lms_sub.css. */
:root {
    --ink: #172331;
    --muted: #627184;
    --line: #dfe5eb;
    --paper: #f5f7f9;
    --white: #fff;
    --gold: #ffc53d;
    --blue: #1764af;
    --shadow: 0 18px 50px rgba(22, 38, 57, .09);
}

html { background: var(--paper); }
body { background: linear-gradient(to bottom, #182938 0, #182938 106px, var(--paper) 106px, var(--paper) 100%); }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible {
    outline: 3px solid #3d86ce;
    outline-offset: 3px;
}
.site-header {
    height: 106px;
    max-width: 1000px;
    display: flex;
    align-items: center;
}
.site-header table.center { margin: 0; }
.site-header .logo { height: auto; text-align: left; }
.site-header .logo img { display: block; width: 267px; height: auto; }
.brand-kicker {
    position: absolute;
    left: 0;
    top: 13px;
    color: #a8bfd2;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .2em;
}
.brand-note {
    position: absolute;
    right: 0;
    top: 45px;
    color: #c5d4df;
    font-size: 13px;
    letter-spacing: -.02em;
}
#gnb {
    height: 60px;
    border: 0;
    border-top: 1px solid #e6eaf0;
    border-bottom: 1px solid #dce3e9;
    background: #fff;
    box-shadow: 0 7px 18px rgba(30, 48, 67, .04);
    position: relative;
    z-index: 20;
}
#gnb > .wrap_contents > ul { display: flex; width: 100%; }
#gnb .gnb_button {
    box-sizing: border-box;
    flex: 1 1 0;
    width: auto;
    height: 59px;
    line-height: 59px;
    border-right: 0;
    border-bottom: 3px solid transparent;
    float: none;
    color: #263648;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -.04em;
    transition: background-color .18s, color .18s, border-color .18s;
}
#gnb .gnb_button:hover, #gnb .gnb_button:focus,
#gnb .gnb_on {
    background: #fff9e9;
    border-bottom-color: var(--gold);
    color: #172331;
}
#gnb .submenu {
    box-sizing: border-box;
    top: 59px !important;
    height: auto !important;
    min-height: 62px;
    border: 1px solid #e1e7ee !important;
    border-radius: 0 0 16px 16px;
    background: #fff !important;
    box-shadow: var(--shadow);
    text-align: left !important;
}
#gnb #submenu1 { width: 100%; left: 0; padding: 10px 14px !important; }
#gnb #submenu4 { width: 360px; left: auto; right: 0; padding: 7px 11px !important; }
#gnb #submenu5 { width: 256px; left: auto; right: 0; padding: 7px 11px !important; }
#gnb .submenu .menu {
    height: auto;
    line-height: 1.4;
    padding: 10px 12px;
    color: #263648;
    font-size: 14px;
    border-radius: 8px;
}
#gnb .submenu .menu a { color: inherit; }
#gnb .submenu .menu:hover, #gnb .submenu .menu_on {
    color: #095da8;
    background: #edf5fd;
}

/* Main page: warm editorial introduction and restrained card surfaces. */
body.lms-home { color: var(--ink); }
.lms-home .home-intro, .lms-home .wrap_mainbanner,
.lms-home .wrap_mainvod { background: var(--paper) !important; }
.home-intro { padding: 62px 0 31px; }
.home-intro-inner { display: flex; justify-content: space-between; align-items: end; gap: 28px; }
.home-eyebrow {
    color: var(--blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
    line-height: 1.5;
}
.home-intro h1 {
    margin-top: 14px;
    color: var(--ink);
    font-size: clamp(32px, 4vw, 49px);
    line-height: 1.24;
    font-weight: 600;
    letter-spacing: -.065em;
}
.home-intro h1 strong { color: #135d9f; font-weight: 800; }
.home-intro-copy {
    margin-top: 18px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}
.home-intro-actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; min-width: 205px; padding-bottom: 5px; }
.home-intro-actions a { display: flex; justify-content: space-between; align-items: center; border-radius: 9px; padding: 15px 18px; font-size: 14px; font-weight: 700; transition: transform .18s, box-shadow .18s; }
.home-intro-actions a:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(19, 41, 68, .12); }
.home-primary-link, .home-primary-link span { color: #fff; }
.home-primary-link { background: #1764af; }
.home-secondary-link, .home-secondary-link span { color: #1a3853; }
.home-secondary-link { background: #e6edf5; }
.wrap_mainbanner { border: 0; padding-bottom: 24px; }
.wrap_mainbanner .visual {
    box-sizing: border-box;
    overflow: visible;
    border-radius: 18px;
    box-shadow: 0 22px 46px rgba(21, 32, 53, .17);
}
.wrap_mainbanner .bx-wrapper, .wrap_mainbanner .bx-viewport { border-radius: 18px; }
.wrap_mainbanner .visual img { display: block; max-width: 100%; height: auto; }
.wrap_mainbanner .bx-controls-direction a { top: 145px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); }
.aviArea .titArea { height: auto; border: 0; background: transparent; padding-top: 22px; }
.aviArea .titArea ul { width: auto; display: flex; justify-content: center; gap: 8px; }
.aviArea .titArea ul li { float: none; width: auto; border: 0 !important; font-size: 13px; line-height: 1.35; }
.aviArea .titArea ul li a { padding: 10px 16px; border-radius: 999px; color: #526276; background: #e7edf2; font-weight: 700; }
.aviArea .titArea ul li a:hover, .aviArea .titArea ul li a.active { color: #fff; background: #183650; text-decoration: none; }
.wrap_mainvod { box-sizing: border-box; height: auto; padding: 46px 0 56px; margin: 0; }
.home-section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 22px; }
.home-section-heading h2 { color: var(--ink); font-size: 28px; font-weight: 800; line-height: 1.3; letter-spacing: -.055em; margin-top: 5px; }
.home-section-heading > a { color: #1764af; font-size: 13px; font-weight: 700; }
.wrap_mainvod table.center { display: block; width: 1000px; }
.wrap_mainvod table.center tbody { display: block; }
.wrap_mainvod table.center tr { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.wrap_mainvod .vod_space_td { display: none; }
.wrap_mainvod .vod {
    box-sizing: border-box;
    display: flex;
    flex-direction: column-reverse;
    width: auto;
    padding: 10px 10px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(25, 42, 64, .05);
    overflow: hidden;
    cursor: pointer;
    transition: transform .18s, box-shadow .18s;
}
.wrap_mainvod .vod:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.wrap_mainvod .vod .vod_img { width: 100%; height: auto; aspect-ratio: 213 / 119; border-radius: 8px; }
.wrap_mainvod .vod .vod_img img { height: 100%; object-fit: cover; }
.wrap_mainvod .vod .vod_label { color: #213246; text-align: left; font-size: 13px; font-weight: 700; margin: 12px 3px 0; width: auto; }
.wrap_mainvod .vod .playbutton { z-index: 1; top: 49px; left: calc(50% - 22px); }

.lms-home > .wrap_contents.ovfhid { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 52px; overflow: visible; }
.lms-home > .wrap_contents.ovfhid .wrap_left_container { width: 732px; margin: 0; float: none; overflow: visible; }
.lms-home > .wrap_contents.ovfhid .wrap_right_container { width: 250px; margin: 0; float: none; overflow: visible; }
.lms-home .main_3banners { margin-bottom: 18px; }
.lms-home .main_3banners:first-child ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lms-home .main_3banners .banners {
    box-sizing: border-box;
    float: none;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 243 / 219;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
}
.lms-home .main_3banners .banners img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lms-home .main_3banners .lectures {
    box-sizing: border-box;
    width: calc((100% - 20px) / 3);
    min-height: 228px;
    height: auto;
    padding: 20px;
    margin-right: 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}
.lms-home .main_3banners .lectures:last-child { margin-right: 0; }
.lms-home .main_3banners .lectures .icons { width: 54px; height: 58px; margin-right: 9px; }
.lms-home .main_3banners .lectures .icons img { max-width: 100%; }
.lms-home .main_3banners .lectures .h5 { color: var(--ink); font-size: 20px; font-weight: 800; padding-top: 17px; }
.lms-home .main_3banners .lectures .p { color: #657386; font-size: 14px; line-height: 1.55; height: 72px; }
.lms-home .main_3banners .lectures > a { display: inline-block; padding-top: 2px; }
.lms-home .main_sample {
    box-sizing: border-box;
    width: 100%;
    height: 74px;
    padding: 25px 25px;
    border-radius: 14px;
    background: #173854;
    margin: 24px 0 18px;
}
.lms-home .main_sample .h5 { font-size: 20px; font-weight: 800; }
.lms-home .main_sample .button { font-size: 13px; }
.lms-home .main_articles {
    box-sizing: border-box;
    width: calc((100% - 14px) / 2);
    min-height: 212px;
    height: auto;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
}
.lms-home .main_articles.rm15 { margin-right: 14px; }
.lms-home .main_articles .header { box-sizing: border-box; height: 63px; padding-top: 20px; border-bottom: 1px solid #e8edf2; }
.lms-home .main_articles .header .h4 { color: var(--ink); font-size: 18px; font-weight: 800; }
.lms-home .main_articles .header .view_all { color: var(--blue); font-size: 13px; }
.lms-home .main_articles .wrap_articles { padding-top: 18px; }
.lms-home .main_articles .articles { color: #4c5b6d; font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.lms-home .main_articles .articles a { color: inherit; }

/* Account and help cards are shared between home and content pages. */
.common_box .login_form, .common_box .verify,
.common_box .customer, .common_box .customer_buttons {
    box-sizing: border-box;
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(25, 42, 64, .06);
}
.common_box .login_form { background: #fff; border: 1px solid var(--line); padding: 22px 20px; }
.common_box .login_form .h3 { color: var(--ink); font-size: 21px; font-weight: 800; }
.common_box .login_form .h3_p { color: var(--muted); font-size: 13px; line-height: 1.5; }
.common_box .login_form .text_input {
    box-sizing: border-box;
    width: 100%;
    height: 40px;
    border: 1px solid #d7e0e8;
    border-radius: 8px;
    background: #f9fbfd;
    font-size: 14px;
}
.common_box .login_form .text_input::placeholder { color: #8797a8; }
.common_box .login_form .checkbox_label { color: #526276; font-size: 13px; }
.common_box .login_form .button_login00,
.common_box .login_form .button_login01,
.common_box .login_form .button_login03 { background: #1764af; color: #fff; border-radius: 8px; font-weight: 700; cursor: pointer; }
.common_box .login_form .button_login04 { border-radius: 8px; cursor: pointer; }
.common_box .login_form .button_acc { box-sizing: border-box; width: calc(50% - 6px); height: 34px; border: 1px solid #dde6ee; border-radius: 7px; background: #f4f7fa; color: #38506a; font-size: 12px; }
.common_box .login_form_after { box-sizing: border-box; width: 100%; border-color: #dce7f0; border-radius: 8px; }
.common_box .login_form_after .lists { color: #53667a; border-color: #dce7f0; }
.common_box .verify { background: #e7f5f2; padding: 20px; }
.common_box .verify .h3 { color: #153b38; font-size: 20px; font-weight: 800; }
.common_box .verify .h3_p { color: #4f716d; font-size: 13px; line-height: 1.5; }
.common_box .verify .verify_button { box-sizing: border-box; width: 100%; border: 0; border-radius: 8px; background: #18847b; color: #fff; font-weight: 700; cursor: pointer; }
.common_box .customer { background: #213648; padding: 20px; border: 0; border-radius: 14px 14px 0 0; }
.common_box .customer .h3 { font-size: 19px; font-weight: 800; }
.common_box .customer .phone_number { color: #ffcf57; font-weight: 800; }
.common_box .customer .phone_p { color: #d2deea; line-height: 1.6; font-size: 12px; }
.common_box .customer_buttons { background: #213648; padding: 0 20px 19px; border-radius: 0 0 14px 14px; margin-top: -1px; }
.common_box .customer_buttons .buttons { font-size: 12px; }
.common_box .customer_buttons .buttons a { color: #dce7f2; }

.lms-home .main_schools { width: 100%; }
.lms-home .main_schools > .h3 { box-sizing: border-box; height: auto; padding: 0 0 16px; text-indent: 0; background: transparent; color: var(--ink); font-size: 22px; font-weight: 800; }
.lms-home .main_schools .school_logo_wrap { border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 5px 18px rgba(25, 42, 64, .04); }
.lms-home .main_schools .school_logo { max-width: 100%; }
#footer { box-sizing: border-box; height: auto; min-height: 208px; padding: 48px 0; background: #182938; }
#footer .footer_info, #footer .footer_company_info { color: #b6c4d1; }
#footer .footer_info { line-height: 1.6; font-size: 12px; }
#footer .footer_company_info { font-size: 13px; line-height: 1.2; }
#footer .footer_company_info a { color: #e9f0f6; }

/* Keep legacy content panels intact while giving subpages a deliberate frame. */
.lms-sub .sub_wrap_contents {
    box-sizing: border-box;
    width: min(1060px, calc(100% - 40px));
    padding: 34px 28px 52px;
    margin: 38px auto 64px;
    border-radius: 20px;
    background: #1d2c3b;
    box-shadow: var(--shadow);
}
.lms-sub .sub_h2 { font-size: 29px; line-height: 1.3; font-weight: 800; }
.lms-sub .h2_p { color: #c2cfdb; line-height: 1.5; }
.lms-sub .current_page .current_gray { color: #b8c7d5; }
.lms-sub .wrap_right_container { overflow: visible; }
.lms-sub .sintoeic_type00, .lms-sub .sintoeic_type01,
.lms-sub .main_articles, .lms-sub .it_lecture { border-radius: 12px; overflow: hidden; }

@media (max-width: 1050px) {
    .wrap_contents { box-sizing: border-box; width: calc(100% - 40px); }
    .site-header { width: calc(100% - 40px); }
    .wrap_mainbanner .visual { width: calc(100% - 40px); height: auto; aspect-ratio: 1000 / 340; }
    .wrap_mainbanner .bx-wrapper { max-width: 100% !important; }
    .wrap_mainvod table.center { width: calc(100% - 40px); }
    .lms-home > .wrap_contents.ovfhid .wrap_left_container { width: calc(100% - 268px); }
    .lms-home .main_3banners .lectures .h5 { font-size: 17px; }
    .lms-home .main_3banners .lectures .p { font-size: 12px; }
    .lms-home .main_3banners .lectures { min-height: 225px; }
    .lms-home .main_schools .school_logo_wrap { box-sizing: border-box; width: 100%; }
    .lms-sub .sub_wrap_contents { width: calc(100% - 40px); }
}
@media (max-width: 780px) {
    body { background: linear-gradient(to bottom, #182938 0, #182938 84px, var(--paper) 84px, var(--paper) 100%); }
    .site-header { height: 84px; }
    .site-header .logo img { width: 216px; }
    .brand-kicker { top: 8px; font-size: 8px; }
    .brand-note { display: none; }
    #gnb { height: auto; overflow-x: auto; overflow-y: visible; scrollbar-width: none; }
    #gnb::-webkit-scrollbar { display: none; }
    #gnb > .wrap_contents { width: max-content; min-width: 100%; }
    #gnb .gnb_button { flex: 0 0 auto; min-width: 108px; padding: 0 10px; font-size: 12px; }
    #gnb #submenu1, #gnb #submenu4, #gnb #submenu5 { position: fixed; top: 142px !important; left: 12px; right: 12px; width: calc(100% - 24px); max-height: 60vh; overflow-y: auto; }
    .home-intro { padding: 38px 0 26px; }
    .home-intro-inner { display: block; }
    .home-intro h1 { font-size: 35px; }
    .home-intro-actions { flex-direction: row; min-width: 0; margin-top: 24px; }
    .home-intro-actions a { flex: 1; padding: 12px; font-size: 12px; }
    .wrap_mainbanner .visual { width: calc(100% - 40px); }
    .wrap_mainbanner .bx-controls-direction a { top: calc(50% - 23px); }
    .wrap_mainvod table.center tr { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lms-home > .wrap_contents.ovfhid { display: block; }
    .lms-home > .wrap_contents.ovfhid .wrap_left_container,
    .lms-home > .wrap_contents.ovfhid .wrap_right_container { width: 100%; }
    .lms-home > .wrap_contents.ovfhid .wrap_right_container { margin-top: 20px; }
    .lms-home .main_3banners .lectures { min-height: 215px; }
    .lms-home .common_box { width: 100%; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .lms-home .common_box .login_form { grid-row: span 2; margin: 0; }
    .lms-home .common_box .verify { margin: 0; }
    .lms-home .common_box .customer { border-radius: 14px; }
    .lms-home .common_box .customer_buttons { grid-column: 2; border-radius: 14px; margin: 0; padding: 16px; }
    .lms-sub .sub_wrap_contents { display: flex; flex-direction: column-reverse; padding: 24px; }
    .lms-sub .sub_wrap_contents > .wrap_left_container,
    .lms-sub .sub_wrap_contents > .wrap_right_container { float: none; width: 100%; margin: 0; }
    .lms-sub .sub_wrap_contents > .wrap_left_container { margin-top: 28px; }
    .lms-sub .wrap_right_container > * { max-width: 100%; box-sizing: border-box; }
    .lms-sub .wrap_right_container table { display: block; max-width: 100%; overflow-x: auto; }
    .lms-sub .sintoeic_type00 .contents, .lms-sub .sintoeic_type00 .buttons_wrap { box-sizing: border-box; width: 100%; float: none; }
    .lms-sub .sintoeic_type01 .lecture_list { box-sizing: border-box; width: 100%; }
    .lms-sub .common_box { width: 100%; }
}
@media (max-width: 520px) {
    .wrap_contents, .site-header { width: calc(100% - 28px); }
    .home-intro h1 { font-size: 30px; }
    .home-intro-copy { font-size: 13px; }
    .home-intro-actions { flex-direction: column; }
    .wrap_mainbanner .visual { width: calc(100% - 28px); }
    .wrap_mainbanner .bx-prev { left: 8px; }
    .wrap_mainbanner .bx-next { right: 8px; }
    .aviArea .titArea ul li a { padding: 8px 10px; font-size: 11px; }
    .wrap_mainvod { padding: 32px 0 38px; }
    .home-section-heading h2 { font-size: 23px; }
    .home-section-heading > a { font-size: 11px; }
    .wrap_mainvod table.center { width: calc(100% - 28px); }
    .wrap_mainvod table.center tr { gap: 8px; }
    .wrap_mainvod .vod { padding: 7px 7px 11px; }
    .wrap_mainvod .vod .vod_label { font-size: 11px; line-height: 1.45; min-height: 32px; }
    .lms-home .main_3banners:first-child ul { gap: 6px; }
    .lms-home .main_3banners .lectures { width: 100%; min-height: 0; margin: 0 0 8px; }
    .lms-home .main_3banners .lectures .p { height: auto; margin-bottom: 10px; }
    .lms-home .main_articles { float: none; width: 100%; margin: 0 0 12px !important; }
    .lms-home .common_box { display: block; }
    .lms-home .common_box > div { margin-bottom: 12px !important; }
    .lms-sub .sub_wrap_contents { width: calc(100% - 20px); padding: 18px 14px; }
    #footer { padding: 32px 0; }
    #footer .footer_logo, #footer .footer_info, #footer .footer_company_info { float: none; width: 100%; text-align: left; padding: 0; margin-bottom: 16px; }
}
