@charset "UTF-8";

/* header */
.header {background: #fff; margin: 0 auto;}
.header-inner {display: flex; align-items: center; max-width: 1480px; margin: auto;}
.header-top {border-bottom: 1px solid var(--border-grey);}
.header-top .header-inner {width: calc(100% - 40px); justify-content: space-between; padding: 5px 0;}
.header-top__right {display: flex; align-items: center; color: #9498A4; font-size: 14px;}
.header-main {border-bottom: 1px solid var(--border-grey);}
.header-main .header-inner {width: calc(100% - 40px); height: 62px; padding: 0;}
.header-logo {display: flex; align-items: center; flex-shrink: 0;}
.header-logo img {display: block; width: auto; height: 46px;}
.header-gnb {flex: 1; margin: 0 80px;}
.header-gnb .gnb-list {display: flex; width: 100%; height: 100%; align-items: center;}
.header-gnb .gnb-list a:hover {color: var(--text-red);}
.header-gnb .gnb-item {position: relative; flex: 1;}
.header-gnb .gnb-item > a {display: flex; align-items: center; justify-content: center; height: 62px; font-size: 20px; font-weight: 700;}
.header-gnb .has-depth {position: relative;}
.header-gnb .gnb-depth2 {display: none; position: absolute; z-index: 20; top: 100%; left: 50%; min-width: 180px; padding: 10px 0; transform: translateX(-50%); background: #fff; border: 1px solid var(--border-grey); border-radius: 0 0 10px 10px;}
.header-gnb .gnb-depth2 li {width: 100%;}
.header-gnb .gnb-depth2 a {display: block; width: 100%; padding: 10px 20px; font-size: 18px; text-align: center; white-space: nowrap;}
.header-gnb .has-depth:hover .gnb-depth2,
.header-gnb .has-depth:focus-within .gnb-depth2 {display: block;}
.header-util {display: flex; align-items: center; gap: 15px;}
.header-util__font {display: flex; align-items: center; gap: 5px;}
.header-util__font-btn {display: flex; align-items: center; justify-content: center; padding: 0; border: 0; background: none; cursor: pointer;}
.header-util__font-btn img {display: block; width: 24px; height: 24px;}
.header-util__font-text {font-size: 16px; white-space: nowrap;}
.header-util__allmenu {display: flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; font-size: 16px; white-space: nowrap; cursor: pointer;}
.header-util__allmenu img {display: block; width: 24px; height: 24px;}
.header-util button {display: flex; align-items: center; font-size: 14px;}

/* 전체메뉴 */
.header {position: relative;}
.header-allmenu[hidden] {display: none;}
.header-allmenu {position: absolute; z-index: 100; top: 100%; left: 0; width: 100%; padding: 30px 20px; background: #fff; border-bottom: 1px solid var(--border-grey); box-shadow: var(--shadow-grey);}
.header-allmenu__inner {max-width: 1480px; margin: 0 auto;}
.header-allmenu__top {display: flex; align-items: center; justify-content: space-between; margin-bottom: 25px;}
.header-allmenu__top h2 {font-size: 24px; font-weight: 700;}
.header-allmenu__close {display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; font-size: 32px;}
.header-allmenu__list {display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px;}
.header-allmenu__item {padding: 25px; border: 1px solid var(--border-grey); border-radius: 15px;}
.header-allmenu__item h3 {margin-bottom: 20px; color: var(--text-red); font-size: 20px;}
.header-allmenu__item ul {display: flex; flex-direction: column; gap: 12px;}
.header-allmenu__item a {font-size: 17px;}
.header-allmenu__item a:hover {color: var(--text-red);}

/* footer */
.footer {width: 100%; background: #ddd;}
.footer-inner {display: flex; align-items: center; gap: 30px; width: calc(100% - 40px); max-width: 1480px; margin: 0 auto; padding: 15px 0;}
.footer-logo {flex-shrink: 0;}
.footer-logo img {display: block; width: 200px; height: 100%;}
.footer-info {display: flex; flex-direction: column; gap: 6px;}
.footer-info address {font-size: 16px; font-style: normal;}
.footer-copyright {font-size: 14px; color: var(--text-grey);}




/* ========================================
   태블릿 (1035px 이하)
======================================== */
@media (max-width: 1035px) {
	 /* header */
    .header-main .header-inner {justify-content: space-between;}
    .header-gnb,.header-util__font, .header-util__font-text {display: none;}
    .header-util__allmenu {display: flex; align-items: center; justify-content: center;}
    .header-util__allmenu img {width: 28px; height: 28px;}
    .header-top__right p {font-size: 10px;}
    
    /* 전체메뉴 */
    .header-allmenu__list {grid-template-columns: 1fr;}
    .header-allmenu__item {padding: 20px;}
    
    /* footer */
    .footer-inner {flex-direction: column; gap: 10px;}
    .footer-copyright, .footer-info address {text-align: center;}
    .footer-info address {font-size: 14px;}
    .footer-copyright {font-size: 12px;}
}