@charset "utf-8";

#toggle {
    display: none;
}

header {
    width: 100%;
    height: 70px;
    background-color: #c53539;

}

header > h1 {
    width: 225px;
    height: 50px;
    padding-top: 22px;
    padding-left: 13px;
    overflow: hidden;
}

header > h1 img {
    width: 100%;
}

.h_icon {
    color: #fff;
    position: absolute;
    top: 15px;
    right: 16px;
    display: block;
    cursor: pointer;
}

header a[href*=location] img{
    width:38px;height:38px;
    
}

header .h_icon #hambur{
    width:35px;height:34px;
    position: absolute;top:3px;right:3px;
}

header a[href*=location] span {
    color:rgba(255,255,255,.0);
    
}

/*      네비게이션 서식  */

fieldset {
    border: none;
    background-color: #c53539;
}

fieldset > legend {
    display: none;
}

fieldset > input {
    height: 35px;
    border-radius: 5px;
    border: none;
}

fieldset > input[type=search] {
    width: 165px;
    height: 42px;
    margin: 13px 5px 11px 7px;
    background-color: #f7f7f7;

}

fieldset > input[type=button] {
    width: 70px;
    height: 42px;
    margin-left: 0px;
    background-color: #424242;
    color: #f7f7f7;
}




.gnb {
    width: 100%;
    height: 100%;
    background-color: rgba(25, 25, 25, 0.8);
    position: fixed;
    top: 0px;
    right: -100%;
    transition: 0.5s;
    z-index: 1000;
}

.gnb > ul {
    width: 80%;
    height: 100%;
    background-color: #f7f7f7;
    position: absolute;
    right: 0px;
    top: 0px;
}


.gnb > ul > li {
    height: 70px;
    border-bottom: 1px solid #d5d5d5;
}

.gnb > ul > li:first-of-type {
    border: none;
}

.gnb > ul > li > a {
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    color: #c53539;
    line-height: 70px;
    padding-left: 20px;
    display: block;
}

.gnb > ul > li:first-child {
    background-color: #c53539;
    text-align: center;
}

.gnb > ul > li:nth-child(2) {
    background-color: #c53539;
    border: none;
    text-align: center;
}

.gnb > ul > li:nth-child(2) > a {
    width: 50%;
    height: 70px;
    display: block;
    float: left;
    color: #f7f7f7;
    padding: 0px;

}


.gnb li img {
    width:23px;height:23px;
    position: absolute;
    top: 164px;right: 35px;
    
}

.gnb li:nth-child(4) img {
    top: 234px;
}

.gnb li:nth-child(5) img {
    top: 304px;
}

.gnb li:nth-child(6) img {
    top: 374px;
}

.gnb li:nth-child(7) img {
    width:23px;height:23px;
    top: 444px;
}

.gnb li:nth-child(8) img {
    top: 514px;
}

.gnb .n_close img {
    width:25px;height:25px;
    position: absolute;
    top: 23px;left: 30px;
    cursor: pointer;
    transition: 1s;
}

.gnb .n_close img:focus {
    transform: rotate(180deg);
}

#toggle:checked + header > .gnb {
    right: 0px;
}




/*      콘텐츠영역 서식  */

section h6 {
    display: none;
}

article h6 {
    display: none;
}

.top input[type=radio] {
    display: none;
}

.top {
    width: 100%;
    text-align: center;
}

.top img {
    width: 100%;
    height: 120px;
}

.top > h2 {
    font-weight: bold;
    text-align: center;
    transform: translateY(-80px);
    color: #f7f7f7;
    font-size: 27px;

}

.top select {
    display: inline-block;
    transform: translateY(-10px);
    padding: 7px 30px;
    font-size: 16px;
    background-color: #c53539;
    color: #f4f4f4;
    font-weight: bold;
    border-radius: 5px;
}

.top::after {
    clear: both;
    content: "";
    display: block;
    height: 20px;
}

.menu {
    width: 100%;
}


.menu > li {
    width: 47.92%;
    float: left;
    position: relative;
    background-color: #f7f7f7;
}

.menu > li a {
    display: block;
    overflow: hidden;
}

.menu > li:nth-child(2n+1) {
    margin-right: 4.08%;
}

.menu > li > a > img {
    width: 100%;
    /* 이미지 크기 부모크기 따라감*/
    transition: 0.5s;
}

.menu > li > a > img:focus {
    transform: scale(1.1);
}

.menu > li p {
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    line-height: 40px;
    padding-bottom: 3px;
    background-color: #fff;
}

.new_icon {
    font-size: 12px;
    border-radius: 50%;
    padding: 14px 8px;
    background-color: #c53539;
    color: #fff;
    font-weight: bold;
    position: absolute;
    top: 7px;
    left: 7px;
}

.menu > li:last-child {
    margin-bottom: 25px;
}

.bottom{text-align: center;}

.bottom input[type=button]{
    padding:6px 40px;
    margin-bottom:50px;
    color:#f7f7f7;
    background-color: #c53539;
    border:none;
    border-radius:5px;
    font-size:14px;
}

.bottom input[type=button]:focus{
    color:#c53539;
    background-color: #f7f7f7;
}

.up {
    background-color: #424242;    
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    font-size: 14px;
}

.up a {
    color:#f7f7f7;
    line-height: 50px;
    font-weight: bold;
}

aside {
    position: fixed;
    bottom: 45%;
    right: 15px;
}

aside img{width:28px;transform: translateY(10px);}







/*     푸터영역 서식   */



footer {
    clear: both;
    width: 100%;
    height: 315px;
    background-color: #424242;
    overflow: hidden;

}


.f_top {
    width: 100%;
    height: 45px;
    border-bottom: 1px solid #606060;
}

.f_top li {
    float: left;
    width: 33%;
    text-align: center;
}

.f_top a {
    color: #d4d4d4;
    line-height: 45px;
    font-size: 16px;
}

.f_top a:focus {
    font-weight: bold;
}





.f_sns {
    margin: 32px auto 30px auto;
    text-align: center;

}

.f_sns li {
    display: inline;
    margin-right: 6px;
}

.f_sns li img {
    width: 42px
}


.f_center {
    text-align: center;
}

.f_center > li {
    margin-bottom: 5px;
}

.f_center > li:last-child > a:last-child {
    border: none;
}

.f_center > li:first-child > a:last-child {
    border: none;
}

.f_center > li > a {
    color: #d4d4d4;
    padding: 0px 10px;
    font-size: 12px;
    border-right: 1px solid #d4d4d4;

}

.f_center > li i {}

footer address {
    margin-top: 15px;
    font-style: normal;
    color: #7c7c7c;
    text-align: center;
    line-height: 16px;
}

footer address span {
    display: block;
    margin-top: 10px;
}
