@charset "utf-8";
@import url('unable/board.css');
@import url('unable/board_renew.css');
@import url('custom_board.css');

/*
 * layout.css
 * 레이아웃 공통요소들 작업요소에 맞게 수정하시면됩니다.
 *
 * 1) root 설정
 * 2) 폰트설정
 * 3) open-control
 * 4) 언어선택
 * 5) 준비중
 * 6) 관련사이트-목록열기형
 * 7) 레이아웃설정
 *
 */

/* 1) root 설정  */
:root{
	--color-base:#000; /* 선언이 안되면 #333 기본컬러로 적용됨 */
	--point:#f5771f;
	--white:#fff;
	--black:#000;
	--font-base:16rem;
	--font-num:'Roboto', Sans-serif;
	--font-eng:'Montserrat', Sans-serif;
	--font-combine:'Pretendard', Sans-serif;
	--inr:1500;
	--inr-wide:1760;
	--inr-width: .92;
	--trans-ani1:0.4s ease 0s;
	--trans-ani2:0.8s ease 0s;
}

/* 2) 폰트설정 */
body{font-size:var(--font-base, 16rem);}
@media (min-width:1921px){
	html{font-size:0.052vw /* 1px */;}
}
@media (max-width:1300px){
    html{font-size:0.077vw /* 1px */;}
}
@media (max-width:1024px){
    html{font-size:0.098vw /* 1px */;}
}
@media (max-width:768px){
    html{font-size:0.130vw /* 1px */;}
}
@media (max-width:480px){
    html{font-size:0.271vw /* 1.3px */;}	
}

/* 3) open-control */
/* div.open-control
 *     button.open-control__btn
 *     div.list or ul.list
 * */
.open-control{position:relative;}
.open-control .list{display:none; position:absolute; top:100%; width:100%; padding:15rem; background-color:#fff; border:1rem solid #eee;}
.open-control .list a{display:inline-block;}

/* 4) 언어선택 */
.lang-area{position:relative; min-width:120rem;}
.lang-area .open-control__btn{display:flex; align-items:center; gap:10rem; background-color:transparent; font-size:17rem; font-weight:500;}
.lang-area .list ul{display:flex; flex-direction:column; gap:5rem; font-size:15rem;}
.lang-area .list a{opacity:0.5; font-weight:600; transition:0.3s ease;}
.lang-area .list a:hover{opacity:1;}

/* 5) 준비중 */
.ready-page{padding:120rem 0; text-align:center;}
.ready-page strong{display:block; font-size:35rem;}
.ready-page strong i{opacity:0.2; display:block; margin-bottom:10rem; font-size:45rem;}
.ready-page p{margin-top:20rem; font-size:18rem; line-height:1.4;}
@media (max-width:480px){
	.ready-page{padding:80rem 0;}
	.ready-page	strong{font-size:30rem;}
	.ready-page	p{font-size:16rem; word-break:keep-all;}
	.ready-page	p br{display:none;}
}

/* 6) 관련사이트-목록열기형 */
.relate-site{position:relative; max-width:260rem;}
.relate-site .open-control__btn{position:relative; width:100%; height:55rem; box-sizing:border-box; padding:0 30rem 0 20rem; background-color:transparent; border:1rem solid rgba(14,14,14,0.15); font-size:15rem; font-weight:600; text-align:left; color:#333; transition:0.3s ease;}
.relate-site .open-control__btn .xi-plus-min{position:absolute; right:20rem; top:50%; margin-top:-10rem; font-size:20rem; transition:transform 0.3s;}
.relate-site .open-control__btn.active{border-color:#111;}
.relate-site .open-control__btn.active .xi-plus-min{transform:rotate(45deg);}
.relate-site .list{display:none; position:absolute; bottom:100%; top:auto; width:100%; box-sizing:border-box; padding:35rem 20rem; background:#fff; border:1rem solid #111; border-bottom:0;}
.relate-site .list ul > li{margin-top:10rem;}
.relate-site .list ul > li:first-child{margin-top:0;}
.relate-site .list a{opacity:0.5; display:inline-block; font-size:14rem; font-weight:500; transition:opacity 0.3s;}
.relate-site .list a:hover{opacity:1;}
@media (max-width:480px){
	.relate-site{max-width:100%;}
}

/* 7) 레이아웃설정 */
:where(.inr, .wrapper){ position: relative; margin: 0 auto !important; max-width: calc(var(--inr) * 1rem); width: calc(var(--inr-width) * 100%);}
.inr-wide{ max-width: calc(var(--inr-wide) * 1rem); }
#header {position: relative; width:100%; height: 90rem; inset: 0 0 auto; background:var(--white); z-index: 50;}
#header .inr { display:flex; justify-content:space-between; align-items:center; height: 100%; margin: 0 auto;}
#header .logo {display: flex; align-items: center;}
#header .logo img {height: 32rem; max-height: 100%; object-fit: contain;}
#header .nav_box {display: flex;  gap: 50rem; align-items: center; height: 100%;}
#header .onlineBtn {display: flex; gap:7rem; align-items: center; font-size: 18rem; height:50rem; padding:0 25rem; border-radius:30rem; color: var(--white); background: var(--point);}
#header .onlineBtn i {font-size: 22rem;}

/* gnb */
#header nav {height: 100%; }
#header nav .gnb {height: 100%; display:flex; align-items:center;}
#header nav .gnb li a {display:inline-block; word-break:keep-all;}
#header nav .gnb > li {position:relative; height: 100%;}
#header nav .gnb > li:last-child {display: none;}
#header nav .gnb > li > a {display: flex; align-items: center;  height: 100%; padding: 0 50rem; font-size:18rem; font-weight: 600;}
#header nav .gnb > li .box {text-align: center; width:100%; width:165rem; padding:5rem 10rem;font-weight: 300; background-color:var(--white); border:1rem solid var(--black); box-shadow:0 20rem 30rem rgba(0,0,0,0.15);}
#header nav .gnb > li .box a {display:block; font-weight:500; transition:opacity 0.3s ease; padding: 15rem 0;}
#header nav .gnb > li .box a:hover {opacity: 0.5;}
#header nav .gnb .box > ul {display:flex; flex-direction:column;}
#header nav .gnb .box > ul li + li {border-top: 1rem dotted #ddd;}

/* gnb active */
#header nav .gnb .box {opacity:0; visibility:hidden; position:absolute; left:50%; transform:translate(-50%, -35rem); transition:0.3s ease; transition-property:opacity, visibility, transform;}
#header nav .gnb .active .box {opacity:1; visibility:visible; transform:translate(-50%, -5rem);}

@media (max-width:1400px){
	#header nav .gnb > li > a {padding: 0 35rem;}
}
@media (max-width:1024px){
	#header nav{display:none;}
}

/* maga menu */
.mega-menu{opacity:0; visibility:hidden; display:flex; align-items:stretch; position:fixed; top:0; left:0; z-index:9999; width:100%; height:100%; background-color:rgba(0,0,0,0.6); transition:0.3s ease; transition-property:opacity, visibility;}
.mega-menu.active{opacity:1; visibility:visible;}
.gnb-mob{overflow-y:auto; width:80%; background-color:#fff;}
.gnb-mob .gnb{padding:30rem;}
.gnb-mob .gnb > li{position:relative; border-bottom:1rem solid rgba(0,0,0,0.1);}
.gnb-mob .gnb > li > a{display:flex; align-items:center; padding:20rem 20rem; font-size:23rem; font-weight:500;}
.gnb-mob .gnb > li .open{position:absolute; top:20rem; right:20rem; width:20rem; height:20rem; background-color:transparent; font-size:0;}
.gnb-mob .gnb > li .open:before{content:'\e913'; display:block; font-family:xeicon !important; font-size:20rem;}
.gnb-mob .gnb > li > a.active ~ .open:before{content:'\e91a';}
.gnb-mob .gnb > li > a.on{color:var(--point);}
.gnb-mob .box{display:none; padding:30rem; background-color:#f3f3f3;}
.gnb-mob .box ul{display:flex; flex-direction:column; gap:10rem;}
.gnb-mob .box a{display:block; font-size:18rem;}
.gnb-mob .box a span{line-height:1.4; background:linear-gradient(90deg, #222, #222); background-size:0 2rem; background-repeat:no-repeat; background-position:0 100%; transition:0.5s;}
.gnb-mob .box a.on span{background-size:100% 2rem; font-weight:700;}
/* maga control */
[class*="mega-menu__"] {display:block; width:60rem; height:60rem; background-color:transparent;}
[class*="mega-menu__"] span{display:block; position:relative; width:28rem; height:18rem; margin:0 auto; font-size:0;}
[class*="mega-menu__"] span i,
[class*="mega-menu__"] span:before,
[class*="mega-menu__"] span:after{display:block; position:absolute; height:2rem; background-color:var(--black); transform:rotate(0);}
[class*="mega-menu__"] span:before,
[class*="mega-menu__"] span:after{content:''; width:100%;}
[class*="mega-menu__"] span:before{right:0; top:0; transition:0.5s ease 0s;}
[class*="mega-menu__"] span:after{left:0; bottom:0; transition:0.5s ease 0s;}
[class*="mega-menu__"] span i{opacity:1; left:0; top:8rem; width:100%; transition:opacity 0.3s, transform 0.5s ease 1.1s;}
[class*="mega-menu__"].active i{opacity:0;}
[class*="mega-menu__"].active span:before{right:0; top:5rem; transform:rotate(45deg);}
[class*="mega-menu__"].active span:after{left:0; bottom:7rem; transform:rotate(-45deg);}
/* mega menu - open btn */
[class*="mega-menu__"] {display:none;}
/* mega menu - close btn */
.mega-menu__close{flex:auto; width:auto; height:auto; -webkit-backdrop-filter:blur(5px); backdrop-filter:blur(5px);}
.mega-menu__close em{display:flex; justify-content:center; align-items:center; width:60rem; height:60rem;}
.mega-menu__close span{width:26rem; height:24rem;}
.mega-menu__close span i,
.mega-menu__close span:before,
.mega-menu__close span:after{background-color:#fff;}
.mega-menu__close.active span:before{top:11rem;}
.mega-menu__close.active span:after{bottom:11rem;}
.mega-menu__close:focus{outline:none;}
@media (hover: hover){
	.gnb-mob .box a:hover span{background-size:100% 2rem;}
}
@media (max-width:1024px){
	[class*="mega-menu__"]{display:block; width: auto; height: auto;}
	#header .nav_box {gap: 20rem;}
	.mega-menu__close{display:flex; justify-content:flex-end; padding-right:30rem; padding-top:20rem;}
	.mega-menu .open{display:block;}
}
@media (max-width:480px){
	#header {height: 65rem;}
	#header .logo img {height: 25rem;}
	#header .onlineBtn {display: none}
	.mega-menu__close{padding-right:10rem;}
	.gnb-mob .gnb{padding:20rem 0;}
	.gnb-mob .gnb > li > a{font-size:18rem;}
	.gnb-mob .box{padding:25rem 20rem;}
	.gnb-mob .box a{font-size:16rem;}
}

/* util */
.util-area{display:flex; align-items:center; gap:10rem;}


/* footer */
.footer {width: 100%; color:rgba(255, 255, 255, 0.6); font-weight: 300; padding:60rem 0; background: #191919;}
.footer .fmenu {display: flex; align-items: center; gap: 12rem;}
.footer .fmenu a {display: block; font-size: 15rem; padding: 10rem 20rem; background: rgba(255, 255, 255, 0.1); border-radius: 3rem;}
.footer .footer_info {margin-top: 40rem;}
.footer .footer_info .copy {margin-top: 30rem; font-size: 15rem; color:rgba(255, 255, 255, 0.4)}
.footer .address {display: flex; flex-wrap: wrap; gap: 20rem 50rem;}
.footer .address li {display: flex; gap: 7rem;}
.footer .address li strong {font-weight: 500;}

@media (max-width:767px){
	.footer {padding: 50rem 0; font-size: 15rem;}
	.footer .address {gap: 10rem 20rem;}
	.footer .footer_info {margin-top: 30rem;}
	.footer .footer_info .copy {font-size: 14rem; margin-top: 20rem;}
}
@media (max-width:480px){
	.footer .fmenu {gap: 8rem;}
	.footer .fmenu a {padding: 8rem 15rem;}
	.footer .footer_info {margin-top:30rem;}
	.footer .footer_info .copy {margin-top: 15rem;}
}
