/* init.css */
@charset "utf-8";

/* 경기서체 */
@font-face {
    font-family: 'GyeonggiTitle';
    font-weight: 300;
    font-style: normal;
    src: url('./../fonts/GyeonggiTitle_Light.woff') format('woff');
}

@font-face {
    font-family: 'GyeonggiTitle';
    font-weight: 500;
    font-style: normal;
    src: url('./../fonts/GyeonggiTitle_Medium.woff') format('woff');
}

@font-face {
    font-family: 'GyeonggiTitle';
    font-weight: 700;
    font-style: normal;
    src: url('./../fonts/GyeonggiTitle_Bold.woff') format('woff');
}

/* css reset */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
button,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 16px;
    background: none;
}

body {
    font-family: 'GyeonggiTitle', Noto Sans KR, sans-serif, NanumGothic, NanumGothicBold, verdana, gulim, dotum;
    font-weight: 300;
    color: #111427;
    word-break: keep-all;
}

ol,
ul,
li {
    margin: 0;
    padding: 0;
    list-style: none;
}

hr {
    display: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

sup {
    vertical-align: text-top;
}

sub {
    vertical-align: text-bottom;
}

strong,
b {
    font-weight: normal;
}

button {
    cursor: pointer;
}

input,
textarea,
select {
    margin: 0px;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
}

a {
    color: #000;
    text-decoration: none;
    outline: none
}

a:hover,
a:active,
a:link,
a:visited {
    text-decoration: none;
    color: #000;
}

legend {
    display: none;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 100%;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

/* css 기본값 정의 */
.blind {
    display: block;
    overflow: hidden;
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    font-size: 0;
    line-height: 0;
    text-indent: -9999px;
}

.fl {
    float: left !important;
}

.fr {
    float: right !important;
}

.tac {
    text-align: center !important;
}

.tal {
    text-align: left !important;
}

.tar {
    text-align: right !important;
}

.top {
    vertical-align: top;
}

.bottom {
    vertical-align: bottom;
}

.btn {
    cursor: pointer;
}

.none {
    display: none;
}

.ib {
    display: inline-block;
    vertical-align: middle;
}

.area {
    display: inline-block;
    vertical-align: middle;
    width: 100%;
}

/* layout.css */
#header {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    height: 100px;
    z-index: 180;
    padding: 0 30px;
    transition: 0.2s;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
}

#header .logo {
    display: block;
    float: left;
    width: 280px;
    height: 100px;
}

#header .logo a {
    display: block;
    width: 100%;
    height: 100%;
    background-image: url('./../images/logo-on.png');
    background-repeat: no-repeat;
    background-position: center;
    text-indent: -9999px;
}

#nav {
    display: block;
    float: right;
    position: relative;
    padding-right: 240px;
}

#nav ul.menu {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    max-width: calc(100% - 520px);
    min-width: 850px;
}


#nav .nav-tit a {
    display: block;
    height: 100%;
    line-height: 100px;
    font-size: 1.25rem;
    color: #222;
    text-align: center;
    transition: 0.2s;
}

#nav .menu li:hover a {
    color: #222;
}

#nav .menu li:hover .nav-sub {
    display: block;
}

#nav .nav-sub {
    display: none;
    background-color: #004097;
    box-sizing: border-box;
    padding: 1rem;
    transition: 0.2s;
}

#nav .nav-sub li {
    display: block;
    width: 100%;
    float: inherit;
}

#nav .nav-sub li a {
    display: block;
    width: 100%;
    color: #fff !important;
    opacity: 0.6;
    line-height: 2.5;
}

#nav .nav-sub li a:hover {
    opacity: 1;
}

#nav .nav-btn {
    position: absolute;
    right: 0;
    top: 40px;
    width: 20px;
    height: 20px;
    background-image: url('./../images/icon-menu-on.png');
    text-indent: -9999px;
    background-position: center;
    background-size: 100% auto;
}

.sns_list {
    position: absolute;
    right: 50px;
    top: 38px;
}

.sns_list li {
    float: left;
    margin-left: 20px;
}

.sns_list li a {
    display: block;
    width: 24px;
    height: 24px;
    text-indent: -9999px;
    background-size: 100%;
    background-position: center;
}

.sns_list li.facebook a {
    background-image: url('./../images/i_facebook-on.png');
}

.sns_list li.instagram a {
    background-image: url('./../images/i_instagram-on.png');
}

.sns_list li.youtube a {
    background-image: url('./../images/i_youtube-on.png');
}

.sns_list li.blog a {
    background-image: url('./../images/i_blog-on.png');
}

/* 메뉴버튼 활성화 */
#header .black_bg {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: #004097;
}

#header.on .black_bg {
    display: block;
}

#header.on #nav {
    position: fixed;
    left: 50%;
    top: 50%;
    width: 50%;
    z-index: 90;
    transform: translate(-50%, -50%);
    padding-right: 0;
    border-left: 1px solid #fff;
}

#header.on #nav .nav-sub {
    display: block;
    padding: 0;
}

#header.on #nav .nav-tit a {
    line-height: 80px;
    text-align: left;
    color: #fff !important;
}

#header.on #nav > ul > li {
    float: left;
    width: 33.33%;
    box-sizing: border-box;
    padding: 0px 35px 35px;
    border-right: 1px solid #fff;
    min-height: 275px;
}

#header.on #nav ul {
    display: block;
}

#header .close-btn {
    display: none;
}

#header.on .nav-btn {
    display: none;
}

#header.on .sns_list {
    display: none !important;
}

#header.on .close-btn {
    position: relative;
    display: block;
    position: fixed;
    right: 50px;
    top: 50px;
    width: 80px;
    height: 80px;
    background-color: #fff;
    z-index: 90;
    text-indent: -9999px;
}

#header.on .close-btn::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 22px;
    width: 2px;
    height: 34px;
    transform: rotate(45deg);
    background-color: #000;
}

#header.on .close-btn::after {
    content: '';
    position: absolute;
    left: 40px;
    top: 22px;
    width: 2px;
    height: 34px;
    transform: rotate(-45deg);
    background-color: #000;
}

/* --- Footer Styles (4-Corner Layout) --- */
/* footer */
#footer {text-align: left;}
#footer .fp-tableCell {display:block !important;}
#footer .logo {display:block;}
#footer .logo a {display:inline-block; width:280px; height:40px; background-image:url('./../images/logo-on.png'); background-repeat: no-repeat; background-position: center; text-indent: -9999px;}
.section06 { position: relative; width:100%; box-sizing:border-box; height:260px;}
.section06 .pos {position: absolute;}
.section06 .pos.left { left: 5rem; }
.section06 .pos.right { right:5rem; }
.section06 .pos.top { top:3rem; }
.section06 .pos.bottom { bottom:3rem; }
.section06 .pos.left.top {  }
.section06 .pos.left.bottom {  }
.section06 .pos.left.bottom p { color:#009afe; margin-bottom:calc(1rem - 8px); }
.section06 .pos.left.bottom span { color:#666; font-weight:300; font-size:0.9rem; margin-top:8px; margin-right:20px; display:inline-block; }
.section06 .pos.right.top {  }
.section06 .pos.right.top a { color:#666;  }
.section06 .pos.right.top a:nth-child(1) { color:#000; }
.section06 .pos.right.top a:nth-child(2),
.section06 .pos.right.top a:nth-child(3) { font-weight: 300; margin-left:1rem; }
.section06 .pos.right.bottom {  }
.section06 .pos.right.bottom a { margin-bottom:0.5rem; display:inline-block; }
.section06 .pos.right.bottom p { color:#999; font-size:0.7rem; font-weight:300; text-align: right;}

@media screen and (max-width: 1430px) {
    #nav {
        padding-right: 40px;
    }
    .sns_list {
        display: none !important;
    }
}


@media screen and (max-width: 1240px) {
    #wrap.on #nav {
        width: 70%;
    }
    #nav > ul {
        display: none !important;
    }
    #header.on #nav ul.menu {
        display: block !important;
    }
}

@media screen and (max-width: 1100px) {
    #wrap.on .close-btn {
        top: 35px;
        right: 35px;
    }

    #header.on #nav {
        width: 100%;
        border-left: 0;
        padding-top: 35px;
        left: 0;
        top: 0;
        bottom: 0;
        transform: inherit;
        overflow-y: auto;
    }

    #wrap.on #nav ul {}
    

    #header.on #nav > ul > li {
        border-right: 0;
        width: 100%;
        float: inherit;
        min-height: auto;
    }

    #header.on #nav ul.nav-sub {
        display: block !important;
    }

    #nav {
        padding-right: 0;
    }

    #nav .nav-sub {
        background: transparent;
    }

    #nav .nav-tit a {
        height: auto;
    }

    #footer { padding: 5vw; }
    .section06 .pos { position: relative; top:inherit; right:inherit; bottom:inherit; left:inherit;}
    .section06 .pos.right.top { background-color:#f5f5f5; border-radius: 1.5vw; border: 1px solid #ddd; display: inline-block; margin:3.5vw 0; width:100%;}
    .section06 .pos.right.top a { float: left; padding: 2vw 3vw; display: inline-block; font-size: 1rem; width: 33.33%; box-sizing: border-box; text-align: center; }
    .section06 .pos.right.top a:nth-child(1) { color:#000; }
    .section06 .pos.right.top a:nth-child(2) { font-weight: 300; margin-left: 0; border-left:1px solid #ddd; }
    .section06 .pos.right.top a:nth-child(3) { font-weight: 300; margin-left: 0; border-left:1px solid #ddd; }
    .section06 .pos.left.bottom { margin: 2vw 0 5vw; }
    .section06 .pos.left.bottom p { font-size: 1.3rem; margin-bottom:1.2rem; }
    .section06 .pos.left.bottom p.line { display: none; }
    .section06 .pos.left.bottom span { font-size: 1rem; display: block; }
    .section06 .pos.right.bottom p { margin:2vw 0 0; }
    #footer {height:auto;}
    .section06 .pos {position:inherit; left:inherit !important; top:inherit !important; right: inherit !important; bottom:inherit !important;}
    .section06 .pos.right.top a {width:100%;}
    .section06 .pos.right.top a:nth-child(2), .section06 .pos.right.top a:nth-child(3) {border-left:0; border-top:1px solid #ddd;}
    #footer .logo a {width:200px; background-size:contain;}
    .section06 .pos.left.bottom p {font-size:1rem;}
    .section06 .pos.right.bottom p {text-align:left; margin-bottom:30px;}
}

/* main.css */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@900&display=swap');

#wrap {
    min-width: 320px;
    max-width: 1920px;
}

.hidden {
    opacity: 0;
}

/* sub.css */
.c_title {
    width: 100%;
    height: 400px;
    background-image: url(./../images/sub_c_title.png);
    background-size: cover;
    background-position: center;
    box-sizing: border-box;
    padding: 200px 0 0;
    text-align: center;
}

.c_title h2 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1;
}

.c_title p {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 300;
    padding: 40px 0 0;
}

.c_depth {
    width: 100%;
    max-width: 1240px;
    height: 90px;
    background: #f5f5f5;
    position: absolute;
    top: 360px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 30px 30px 0 30px;
}

.c_depth ul {
    height: 90px;
    display: flex;
    align-items: center;
}

.c_depth ul li {
    width: 100%;
    height: 90px;
    position: relative;
}

.c_depth ul li::before {
    content: '';
    position: absolute;
    width: 42px;
    height: 88px;
    background-image: url(./../images/sub_depth.png);
    top: 1px;
    left: -29px;
}

.c_depth ul li:nth-child(1)::before,
.c_depth ul li.on::before {
    display: none;
}

.c_depth ul li a {
    font-size: 1.25rem;
    font-weight: 300;
    display: block;
    line-height: 90px;
    text-align: center;
}

.c_depth ul li.on {
    background: #009bff;
    border-radius: 31px 31px 0 31px;
}

.c_depth ul li.on a {
    color: #fff;
    font-weight: 700;
}

.c_location {
    width: 100%;
    max-width: 1240px;
    margin: 80px auto 30px;
    text-align: right;
}

.c_location span {}

.c_location span.home {
    background-image: url(./../images/c_location_home.png);
    background-size: contain;
    background-repeat: no-repeat;
    color: transparent;
}

.c_location span::before {
    content: '';
    display: inline-block;
    width: 9px;
    height: 14px;
    background-image: url(./../images/sub_pag03.png);
    margin: 0 15px -1.5px;
}

.c_location span.home::before {
    display: none;
}

.c_contents {
    background-color: #fff;
    width: 1240px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 50px 80px;
    border-radius: 30px 30px 0 30px;
}

.c_cont {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
}

.c_cont .c_cont_tit {
    font-size: 2.2rem;
    text-align: center;
    line-height: 3;
    font-weight: 400;
}

@media screen and (max-width: 1440px) {
    .c_depth,
    .c_contents,
    .c_location {
        width: 80%;
    }

    .c_contents {
        padding: 40px;
    }
}

@media screen and (max-width: 1110px) {
    .c_title {
        height: auto;
        padding: 150px 0 40px;
    }

    .c_title h2 {
        font-size: 2rem;
    }

    .c_title p {
        font-size: 1rem;
        padding-top: 20px;
    }

    .c_depth,
    .c_contents,
    .c_location {
        width: 100%;
    }

    .c_depth {
        border-radius: 0;
        height: auto;
        position: inherit;
        top: inherit;
        left: inherit;
        transform: inherit;
        border-bottom: 1px solid #ddd;
    }

    .c_depth ul {
        height: auto;
    }

    .c_depth ul li {
        height: 60px;
    }

    .c_depth ul li::before {
        display: none;
    }

    .c_depth ul li.on {
        border-radius: 0;
    }

    .c_depth ul li a {
        line-height: 60px;
        font-size: 1rem;
    }

    .c_location {
        margin: 20px 0;
        box-sizing: border-box;
        padding: 0 20px;
    }

    .c_contents {
        border-radius: 0;
    }

    .c_cont .c_cont_tit {
        font-size: 1.5rem;
        line-height: 1;
        margin-bottom: 2rem;
    }
}


@media screen and (max-width: 750px) {
    .c_depth ul {
        flex-wrap: wrap;
    }

    .c_depth ul li {
        width: 50%;
        border-top: 1px solid #ddd;
        box-sizing: border-box;
    }

    .c_depth ul li:nth-child(2n) {
        border-left: 1px solid #ddd;
    }

    .c_cont .c_cont_tit {
        margin-top: 20px;
    }

    .c_contents {
        padding: 20px;
    }
}

@media screen and (max-width: 400px) {
    .c_depth ul li {
        width: 100%;
    }

    .c_depth ul li:nth-child(2n) {
        border-left: 0;
    }
}


