@charset "utf-8";

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, input, button,
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: 100%;
	font: inherit;
	vertical-align: baseline;
  	box-sizing: border-box;
	outline: none; /* 장단이 있는 속성/값 */
}

img{vertical-align: top;}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	font: 16px 'Nunito Sans','Noto Sans KR' ,sans-serif;
	line-height: 1;
	color: #666;
	overflow-x: hidden; /* ovxh */
	letter-spacing: -0.2px;
	word-break: keep-all;
}

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

blockquote, q {quotes: none;}

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

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

a{text-decoration: none; color: inherit;}
a:hover{text-decoration: none;}

.hidden{
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	font-size: 0;
	line-height: 0;
	clip:rect(0 0 0 0);
}

.inner{
    width: 1400px;
    margin: 0 auto;
    height: 100%;
	position: relative;
}

.section-title{
    font-size: 55px;
    font-weight: 800;
    color: #000;
    text-align: center;
    padding-top: 214px;
}

.btn-basic{
    display: inline-block;
    width: 320px;
    height: 90px;
    background: #222;
    color: #fff;
    text-align: center;
    font-size: 25px;
    padding-top: 35px;
    transition: 0.4s;
}

.btn-basic:hover{
    background: #B20000;
    color: #fff;
}

.go-top{
    width: 70px;
    height: 70px;
    background: #8a0000;
    border-radius: 100%;
    position: fixed;
    bottom: 7%;
    right: 3%;
    z-index: 500;
	color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	font-weight: 700;
}

header{
    /* height: 180px; */
	height: 150px;
	position: relative;
	z-index: 2;
}

header .inner{
    display: flex;
    justify-content: space-between;
    padding-top: 70px;
    /* background: #999; */
}

header .top-nav{
	position: absolute;
	top: 50px;
	right: -15px;
	display: flex;
}

header .top-nav > li{
	position: relative;
}

header .top-nav > li a{
	display: block;
	padding: 5px 15px;
	font-size: 14px;
	color: #999;
	width: 100%;
	height: 100%;
}

header .top-nav li:nth-child(2) a{
	color: #B20000;
	font-weight: 500;
}

header .top-nav li a::after{
	content: '';
	display: block;
	width: 1px;
	height: 10px;
	background-color: rgb(197, 197, 197);
	position: absolute;
	top: 30%;
	left: 0;
}

header .top-nav li:first-child a::after{
	display: none;
}

header .logo{
    width: 240px;
    height: 52px;
    background: url(../images/logo.png) 0 0 /100% auto no-repeat;
}

header .logo a{
    display: block;
    width: 100%;
    height: 100%;
}

.gnb{
	height: 90px;
	width: 1000px;
}

.gnb > ul{
    display: flex;
	justify-content: space-between;
	width: 100%;
	height: 100%;
	margin: 0 auto;
}

.gnb > ul > li{
	/* width: 20%; */
	text-align: center;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
}

.gnb .submenu li a:hover{
	color: #B20000;
	font-weight: bold;
}

.gnb > ul > li::after{
	content: '';
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: #222;
    transition: width 0.4s;
}

.gnb > ul > li.on::after{
	width: 120px;
}

header .gnb > ul > li > a{
	display: block;
	width: 100%;
	height: 100%;
    padding: 30px 0;
    font-size: 25px;
    font-weight: 600;
    color: #000;
    /* background: #f5f; */
}

.submenu{
	display: none;
	position: absolute;
	top: 90px;
	left: 0;
	width: 100%;
}

.submenu li a{
	display: block;
	padding: 20px 0;
	font-size: 16px;
	color: #222;
}

.nav-bg{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100px;
	background: rgba(255, 255, 255, 0.8);	
	transition: 0.3s;
	/* display: none; */
	z-index: 1;
}

header.active + .nav-bg{
    height: 350px;
}

footer{
	background: #B20000;
	color: #fff;
	text-align: center;
	height: 326px;
	font-weight: 300;
}

footer .footer-con{
	padding: 30px;
}

footer .footer-link{
	display: flex;
	justify-content: center;
	padding-top: 31px;
}

footer .footer-link li a{
	display: block;
	padding: 0 16px;
	position: relative;
}

footer .footer-link li a::after{
	content: '';
	display: block;
	width: 1px;
	height: 10px;
	background-color: rgba(255, 255, 255, 0.5);
	position: absolute;
	top: 20%;
	left: 0;
}

footer .footer-link li:first-child a{
	font-weight: 500;
}

footer .footer-link li:first-child a::after{
	display: none;
}

address{
	margin-top: 65px;
}

address p{
	margin-top: 10px;
}

address strong{
	display: block;
	margin-top: 65px;
	font-weight: 600;
}


/* checkbox design */
input[type="checkbox"] {
	display: none;
}

input[type="checkbox"] + label {
	/* background: #ff5; */
	display: flex;
	align-items: center;
	white-space: nowrap; /* 줄바꿈하지마라! */
}

input[type="checkbox"] + label::before{
	content: '';
	display: block;
	width: 20px;
	height: 20px;
	margin-right: 10px;
	border: 1px solid #222;
}

input[type="checkbox"]:checked + label::before{
	background: url(../images/icon_checked.png) 50% 50% no-repeat;
}