:root {
    --black: #000000;
    --gray: #666666;
    --main: #53d7e8;
    --sub: #fa6e22;
    --white: #ffffff;
    --text-copyright: #ffffff;
    --text-gnb: #eee;
    --text-gnb-active: #17469e;
    --text-gnb-active-hover: #163673;
    --text-gnb-hover: #cccccc;
    --text-gray: #666666;
    --main-hover: #4fb8c5;
    --sub-hover: #e56824;
    --white-hover: #eeeeee;
    --text-main: #111111;
    --text-white: #ffffff;
}

* {
    letter-spacing: -0.04em;
    font-family: 'NanumSquareNeo', sans-serif;
}

html, body {
    font-size: 10px;
    letter-spacing: -0.03rem;
}

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

#wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow: hidden;
}

main {
    display: flex;
    flex: 1;
    flex-direction: column;
    width: 100%;
}

.container {
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 146rem;
    padding: 0 2rem;
    width: 100%;
}

header {
    box-sizing: border-box;
    height: 8.7rem;
    left: 0;
    padding: 2rem 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1000;
    background: #fff;
}

header .container {
    align-items: center;
    display: flex;
    gap: 2rem;
}

header h1 {
    flex: 1;
    display: flex;
    align-items: center;
}

header h1 .logo-simbol {
    width:5.5rem;
    line-height:0;
    position: relative;
}

header h1 .logo-simbol img {
    width:100%;
    line-height:0;
}

header h1 .logo-simbol .color {
    position: absolute;
    z-index: 1;
    left:0;
    right:0;
    top:0;
    bottom:0;
    opacity: 1;
}

header h1 .logo-txt {
    width: 16rem;
    line-height:0;
    position: relative;
}

header h1 .logo-txt img {
    width:100%;
    line-height:0;
}

header h1 .logo-txt .color {
    position: absolute;
    z-index: 1;
    left:0;
    right:0;
    top:0;
    bottom:0;
    opacity: 1;
}

header h1 a {
    align-items: center;
    display: flex;
    gap: 1rem;
}

header h1 a span {
    color: #555;
    font-family: 'NanumSquareNeo', sans-serif;
    font-size: 1.9rem;
    font-weight: 600;
}
header .menu-button {
    display: none;
    border:0;
    background: none;
    padding:0;
}
header .menu-button .wrap {
    display: flex;
    width:22px;
    height:16px;
    align-items: flex-end;
    flex-direction: column;
    justify-content: space-between;
}
header .menu-button span {
    width:22px;
    height:2px;
    background: #111;
}
header .menu-button span:nth-child(2) {
    width:18px;
}

.menu {
    background-color: #fff;
    bottom: 0;
    box-sizing: border-box;
    height: 100vh;
    margin: auto;
    padding-top: 7rem;
    position: fixed;
    right: 0;
    top: 0;
    transform: translateX(100%);
    transition: 0.5s all ease;
    width: 100vw;
    z-index: 1001;
    display: none;
}

.menu .close {
    position: absolute;
    top:20px;
    right:20px;
    width:24px;
    height:24px;
    border:0;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu .close span {
    position: absolute;
    display: block;
    width:20px;
    height:2px;
    background: #111;
    transform: rotate(45deg);
}
.menu .close span:nth-child(2) {
    transform: rotate(-45deg);
}

.menu.active {
    transform: translateX(0);
}

.menu a {
    font-size:1.6rem;
    height:6rem;
    display: flex;
    align-items: center;
    padding-left:2rem;
    color:#111;
    font-weight:700;
}
.menu a+a {
    border-top:1px #e2e4e7 solid;
}
.menu .sub-menu {
    border-bottom:1px #e2e4e7 solid;
    padding-bottom:1rem;
}
.menu .sub-menu a {
    border:0;
    font-size:1.4rem;
    color:#666;
    font-weight:400;
    height:4.2rem;
}

.gnb {
    display: flex;
}

.gnb .sub-menu-container {
    align-items: center;
    display: flex;
    justify-content: center;
    position: relative;
}

.gnb a {
    color: #333;
    font-family: 'NanumSquareNeo', sans-serif;
    font-size: 1.7rem;
    font-weight: 600;
    padding: 1.5rem 2.5rem;
    text-align: center;
    transition: color 0.2s ease;
}

.gnb a:hover {
    color: var(--main);
}

.gnb a.active {
    color: var(--main);
}

.gnb .sub-menu-container:hover a {
    color: var(--main);
}

.gnb .sub-menu-container:hover .sub-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0rem);
}

.gnb .sub-menu-container .sub-menu {
    background-color: var(--white);
    border-radius: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    justify-content: center;
    left: 50%;
    margin: 0 auto;
    opacity: 0;
    padding: 3rem 2.5rem 3rem;
    pointer-events: none;
    position: absolute;
    top: 4.5rem;
    transform: translateX(-50%) translateY(1rem);
    transition: all 0.2s ease;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.gnb .sub-menu-container .sub-menu a {
    color: #777;
    font-weight:500;
    font-size:1.5rem;
    padding: 0;
    white-space: nowrap;
    word-break: keep-all;
}

.gnb .sub-menu-container .sub-menu a:hover {
    color: #111;
}

.sub header {
    background-color: var(--white);
}

.sub header h1 .logo-txt .color {
    opacity: 1;
}

.sub header h1 .logo-simbol .color {
    opacity: 1;
}

.slide-page header h1 a span {
    color:#4d5a63;
}

.slide-page header h1 .logo-txt .color {
    opacity: 1;
}

.slide-page header h1 .logo-simbol .color {
    opacity: 1;
}

.slide-page header .gnb a {
    color:#4d5a63;
}
.slide-page header .gnb a:hover,
.slide-page header .gnb a.active {
    color:var(--text-gnb-active)
}


.sub header .gnb a:hover,
.sub header .gnb a.active {
    color:var(--text-gnb-active)
}

.sub header .gnb a.btn:hover {
    color:#16626c;
}

header .btn {
    color: #1562e1;
    display: flex;
    align-items: center;
    font-family: 'NanumSquareNeo', sans-serif;
    font-size: 1.7rem;
    line-height:1;
    font-weight: 600;
    transition-duration: 0.2s;
    transition-property: background-color, color;
    transition-timing-function: ease;
}

a.btn:hover {
    color:#4285f5;
}

.btn-sub {
    background-color: var(--sub);
    color: var(--text-white)
}

a.btn-sub:hover {
    background-color: var(--sub-hover);
}

.btn-sm {
    font-size: 1.4rem;
    padding: 0.8rem 1.5rem 0.7rem;
}

.btn-white {
    background-color: var(--white);
    color: var(--text-main)
}

a.btn-white:hover {
    background-color: var(--white-hover);
    color: var(--text-main)
}

.copyright {
    bottom: 3rem;
    display: flex;
    justify-content: center;
    left: 0;
    position: fixed;
    right: 0;
    width: 100%;
    z-index: 1000;
}
#content .copyright { position: relative; height: auto; }

.copyright p {
    color: var(--text-copyright);
    font-family: 'Montserrat';
    font-size: 1.4rem;
    font-weight:500;
    text-transform: uppercase;
    opacity: 0.5;
    flex:1;
}

.opinion_btn {
    border:0;
    background: none;
    font-size:1.4rem;
    color:#fff;
    font-weight:600;
    cursor: pointer;
    text-decoration: underline;
}

#content .copyright p, .slide-page .copyright p { color:#3d4a53; }
#content .opinion_btn, .slide-page .opinion_btn { color:#3d4a53; }
.shadow {
    box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.2s ease;
}

a.shadow:hover {
    box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.5);
}

.shadow-sm {
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.05);
}

.header-btn-set {
    display: flex;
    gap:30px;
}
.header-btn-set a {
    position: relative;
    display: flex;
    z-index: 2;
    width:24px;
    height:24px;
}
.header-btn-set .object.history {
    width:100%;
    height:100%;
    mask-image: url("/assets/images/ico-history.svg");
    background: #fff;
    mask-size:contain;
    mask-position: center;
    mask-repeat: no-repeat;
}
.header-btn-set .object.book {
    width:100%;
    height:100%;
    mask-image: url("/assets/images/ico-book.svg");
    background: #fff;
    mask-size:contain;
    mask-position: center;
    mask-repeat: no-repeat;
}
.header-btn-set label {
    position: absolute;
    bottom:-52px;
    background: rgba(255,255,255,0.9);
    color:#111;
    font-size:13px;
    font-weight:700;
    white-space: nowrap;
    left:50%;
    transform: translateX(-50%);
    padding:10px 14px;
    border-radius: 20px;
    opacity: 0;
    transition-duration: .3s;
}

.sub .header-btn-set .object.history {
    width:100%;
    height:100%;
    mask-image: url("/assets/images/ico-history.svg");
    background: #17479e;
    mask-size:contain;
    mask-position: center;
    mask-repeat: no-repeat;
}
.sub .header-btn-set .object.book {
    width:100%;
    height:100%;
    mask-image: url("/assets/images/ico-book.svg");
    background: #17479e;
    mask-size:contain;
    mask-position: center;
    mask-repeat: no-repeat;
}

.header-btn-set a:hover label {
    transform: translateX(-50%) translateY(-4px);
    opacity: 1;
    transition-duration: .3s;
}

.header-btn-set svg {
    fill: #aaa !important;

}

.breadcrumb {
    align-items: center;
    display: flex;
    gap: 2rem;
}

.breadcrumb li {
    position: relative;
    padding:1rem 0;
}

.breadcrumb li a {
    align-items: center;
    color: var(--text-main);
    display: flex;
    font-size: 1.4rem;
    font-weight: 600;
    gap: 1rem;
    transition: all 0.5s ease;
    font-family: 'NanumSquareNeo';
}


.breadcrumb li .sub-menu {
    z-index:9;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0rem);
}

.breadcrumb li .sub-menu {
    background-color: var(--white);
    border-radius: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    justify-content: center;
    left: 50%;
    margin: 0 auto;
    opacity: 0;
    padding: 3rem 2.5rem 3rem;
    pointer-events: none;
    position: absolute;
    top: 3.2rem;
    transform: translateX(-50%) translateY(1rem);
    transition: all 0.2s ease;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    align-items: center;
}
.breadcrumb li .sub-menu a {
    font-size:1.4rem;
    font-weight:500;
    white-space: nowrap;
    color:#999 !important;
    font-family: 'NanumSquareNeo';
}
.breadcrumb li .sub-menu a.active {
    color:#4fb8c5 !important;
    font-weight:700;
}

.breadcrumb li:hover .sub-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0rem);
}


@media screen and (max-width: 1440px) {
    .gnb a {
        font-size:1.6rem;
        padding:1.5rem;
    }
}

@media screen and (max-width: 1024px) {
    header {
        height:8rem;
    }
    header h1 .logo-txt {
        width:12rem;
    }
    header h1 a span {
        font-size:1.5rem;
    }
    header h1 .logo-simbol {
        width:3.5rem;
    }
    .gnb a {
        font-size:1.4rem;
    }
}

@media screen and (max-width: 768px) {
    .gnb {
        display: none;
    }
    header {
        height:6rem;
        padding:0;
        display: flex;
        align-items: center;
    }
    .bg {
        transform: scale(1.3);
    }
}

@media screen and (max-width: 450px) {
    .copyright p {
        font-size:1.2rem;
        line-height:1.4;
    }

    header .menu-button {
        display: block;
    }

    .menu {
        display: block;
    }
    .sub header h1 .logo-simbol {
        display: none;
    }
}

.remove-icon::before,
.remove-icon::after {
    background-color: #333;
    bottom: 0;
    content: '';
    display: block;
    height: 1px;
    margin: auto;
    position: absolute;
    top: 0;
    width: 70%;
    z-index: 5;
}

.remove-icon::before {
    transform: rotate(45deg);
}

.remove-icon::after {
    transform: rotate(-45deg);
}
