@charset "utf-8";

body {
    min-width: 1400px;
}

.header {
    position: relative;
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.header>.inner {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: 100px;
    /* Reduced from 120px for snappier look */
    margin: 0 auto;
    padding: 0 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header h1 {
    margin-top: 0;
}

.header h1 a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header h1 span {
    color: var(--primary-color) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

.header .logo a.m {
    display: none;
}

.header .logo a.w {
    text-decoration: none;
}

.header .user_info {
    display: flex;
    align-items: center;
    gap: 15px;
    position: static;
}

.header .user_info .person {
    color: var(--primary-color);
    font-weight: 600;
}

.header .user_info .btn {
    margin-left: 0;
    padding: 8px 20px;
    border-radius: 8px;
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    background: var(--primary-color);
    transition: background 0.3s;
}

.header .user_info .btn:hover {
    background: var(--primary-dark);
}

.header .gnb {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.header .gnb ul {
    display: flex !important;
    flex-direction: row !important;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 40px;
}

.header .gnb ul li {
    display: block;
}

.header .gnb ul li+li {
    margin-left: 0;
    /* Use gap instead */
}

.header .gnb ul li a {
    color: var(--text-main);
    font-size: 18px;
    /* Slightly reduced from 19px */
    font-weight: 600;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s;
}

.header .gnb ul li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.3s;
}

.header .gnb ul li a.cur::after,
.header .gnb ul li a:hover::after {
    width: 100%;
}

.header .gnb ul li a.cur {
    color: var(--primary-color);
}

.header .right_a {
    margin-left: 30px;
    flex-shrink: 0;
}

.header .right_a .btnAllMenu {
    background: #f8f9fa;
    border: 1px solid #ddd;
    color: #666;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.header .right_a .btnAllMenu::before {
    content: "☰";
    font-size: 16px;
}

/* All menu */
.all_menu {
    transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
    transform-origin: top;
    z-index: 10;
}

.all_menu.Mobile {
    display: none;
}

.all_menu.WEB.closed {
    transform: scaleY(0);
    opacity: 0;
}

.all_menu.WEB {
    position: absolute;
    left: 0;
    top: 150px;
    width: 100%;
    background: #fff;
}

.all_menu.WEB::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: #ddd;
}

.all_menu.WEB .inner {
    width: 1400px;
    margin: 0 auto;
    padding: 41px 50px 47px 50px;
}

.all_menu.WEB .inner::after {
    content: "";
    display: block;
    clear: both;
}

.all_menu.WEB .inner .col {
    float: left;
    width: 280px;
}

.all_menu.WEB .inner .col:last-child {
    width: auto;
}

.all_menu.WEB .inner .col h3 {
    color: #222;
    font-size: 24px;
    font-weight: 700;
    pointer-events: none;
}

.all_menu.WEB .inner .col ul {
    padding-top: 36px;
}

.all_menu.WEB .inner .col ul li+li {
    margin-top: 17px;
}

.all_menu.WEB .inner .col ul li a {
    color: #777;
    font-size: 18px;
}

.all_menu.WEB .inner .col ul li a:hover {
    color: #222;
    text-decoration: underline;
}

.user_info_m {
    display: none;
}

.container {
    min-height: calc(100vh - 300px);
}

.c_wrap {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

.c_wrap .layout {
    display: table;
    width: 100%;
    table-layout: fixed;
}

/* sub navigation */
.c_wrap .layout .nav {
    display: table-cell;
    width: 260px;
    vertical-align: top;
}

.c_wrap .layout .nav .inner {
    border: 1px solid #dde2e5;
    border-radius: 10px;
}

.c_wrap .layout .nav h2 {
    padding: 35px 30px 26px 30px;
    border-bottom: 4px solid #dde2e5;
    color: #222;
    font-size: 24px;
}

.c_wrap .layout .nav ul {
    padding: 26px 30px 27px 30px;
}

.c_wrap .layout .nav ul li+li {
    margin-top: 27px;
}

.c_wrap .layout .nav ul li a {
    display: block;
    position: relative;
    color: #666;
    font-size: 18px;
}

.c_wrap .layout .nav ul li a:hover::after {
    content: "";
    display: block;
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    width: 9px;
    height: 15px;
    background: url(../images/ico_arrow_r_gray_9x15.png) no-repeat;
}

.c_wrap .layout .nav ul li a.cur {
    color: #222;
    font-weight: 700;
}

.c_wrap .layout .contents {
    display: table-cell;
    width: auto;
    padding: 0 0 120px 70px;
    vertical-align: top;
}

/* location */
.location {
    height: 70px;
    padding-top: 43px;
    text-align: right;
}

.location ul,
.location ul li {
    display: inline-block;
    vertical-align: top;
}

.location ul li {
    position: relative;
    color: #666;
    font-size: 14px;
}

.location ul li+li::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 7px;
    margin: 0 9px 0 3px;
    line-height: 18px;
    background: url(../images/ico_arrow_r_gray_4x7.png) no-repeat;
    vertical-align: 2px;
}

.location ul li:last-child {
    text-decoration: underline;
}

.location ul li a {
    display: inline-block;
    color: #666;
    font-size: 14px;
}

.location ul li a:hover {
    color: #222;
    text-decoration: underline;
}

.location ul li a.home {
    position: relative;
    padding-left: 19px;
}

.location ul li a.home::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 3px;
    width: 14px;
    height: 13px;
    background: url(../images/ico_home.png) no-repeat;
}

.footer {
    position: relative;
    height: 180px;
}

.footer::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 1px;
    background: #ccc;
}

.footer .inner {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

.footer .inner::after {
    content: "";
    display: block;
    clear: both;
}

.footer h1 {
    float: left;
    width: 220px;
    padding-top: 50px;
}

.footer h1 .m {
    display: none;
}

.footer .info {
    float: left;
    padding-top: 44px;
    color: #888;
    font-size: 16px;
    line-height: 26px;
}

.footer .info .copy {
    margin-top: 12px;
}

.footer .info .m_show {
    display: none;
}

.footer .right_col {
    position: absolute;
    right: 0;
    top: 73px;
    font-size: 0;
}

.footer .right_col a {
    display: inline-block;
    margin-right: 60px;
    vertical-align: top;
}

.footer .right_col a .m {
    display: none;
}

.footer .right_col img {
    display: block;
}

/* over-lay */
.curtain {position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.45); z-index:9999;}
.curtain .curtainContent{
	position:fixed;
	top:50%;
	left:50%;
	transform:translate(-50%,-50%);
	z-index:10000;
	background:#fff;
	border-radius:12px;
	padding:40px 30px;
	text-align:center;
	box-shadow:0 10px 40px rgba(0,0,0,0.25);
}
.curtainContent .curtainIcon {font-size:40px; margin-bottom:14px;}
.curtainContent .curtainmsg {
	font-size:16px;
	font-weight:bold;
	color:#333;
	margin-bottom:24px;
	line-height:1.5;
}
.curtainContent button {
	background:var(--primary-color);
	color:#fff;
	border:none;
	padding:11px 40px;
	border-radius:6px;
	font-size:15px;
	font-weight:bold;
	cursor:pointer;
}






     