@charset "utf-8";

#wrap {
    position: relative;
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
}
#header {
    position: absolute;
    width: 100%;
    max-width: 750px;
    height: 125px;
    z-index: 2;
    background: #fff;
    margin: 0 auto;
    transition: all 0.2s;
    background: #fff;
}
#header h1 {
    position: absolute;
    top: 25px;
    left: 50px;
}
#header h1 a {
    color: #fff;
    background: url("../images/index-logo.png")no-repeat 50% 50%/100%;
    text-indent: -999999px;
    display: block;
    width: 280px;
    height: 80px;
}
#header .alarm {
    position: absolute;
    top: 40px;
    right: 50px;
    background: url("../images/ico-alarm.png")no-repeat 50% 50%/38px;
    text-indent: -999999px;
    display: block;
    width: 50px;
    height: 50px;
}
#header .search {
    position: absolute;
    top: 40px;
    right: 110px;
    background: url("../images/ico-search.png")no-repeat 50% 50%/38px;
    text-indent: -999999px;
    display: block;
    width: 50px;
    height: 50px;
}




.container {
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
    padding: 0 0 150px;
}




#footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 750px;
    font-size: 0;
    z-index: 8;
    background: #fff;
    box-shadow: 0 0 10px rgb(0 0 0 / 20%);
    border-radius: 50px 50px 0 0;
    padding: 20px 20px 0;
    box-sizing: border-box;
    transition: all 0.2s;
}
#footer ul {
    position: relative;
    padding: 20px 0;
    background: #fff;
    border-radius: 50px 50px 0 0;
    z-index: 5;
}
#footer ul li {
    display: inline-block;
    width: 20%;
    text-align: center;
}
#footer ul li > a {
    display: block;
    font-size: 20px;
    color: #888;
    padding-top: 65px;
    background-size: 55px !important;
}
#footer ul li:nth-child(1) > a {
    background: url("../images/ico-footer01.svg")no-repeat 50% 0;
}
#footer ul li:nth-child(2) > a {
    background: url("../images/ico-footer02.svg")no-repeat 50% 0;
}
#footer ul li:nth-child(3) > a {
    background: url("../images/ico-footer03.svg")no-repeat 50% 0;
}
#footer ul li:nth-child(4) > a {
    background: url("../images/ico-footer04.svg")no-repeat 50% 0;
}
#footer ul li:nth-child(5) > a {
    background: url("../images/ico-footer05.svg")no-repeat 50% 0;
}
#footer ul li.active > a {
    color: #000;
}
#footer ul li:nth-child(1).active > a {
    background: url("../images/ico-footer01-on.svg")no-repeat 50% 0;
}
#footer ul li:nth-child(2).active > a {
    background: url("../images/ico-footer02-on.svg")no-repeat 50% 0;
}
#footer ul li:nth-child(3).active > a {
    background: url("../images/ico-footer03-on.svg")no-repeat 50% 0;
}
#footer ul li:nth-child(4).active > a {
    background: url("../images/ico-footer04-on.svg")no-repeat 50% 0;
}
#footer ul li:nth-child(5).active > a {
    background: url("../images/ico-footer05-on.svg")no-repeat 50% 0;
}
#footer.on ul {
    border-radius: 0;
}
#footer.on .footer-fix {
    display: block;
    animation: up both 0.7s ease-in-out;
}
#footer .footer-fix {
    display: none;
    position: relative;
    width: 100%;
    max-width: 750px;
    z-index: -1;
    overflow: hidden;
}
#footer .footer-fix div {
    font-size: 0;
    background: #2754eb;
    border-radius: 50px;
    padding: 3px;
}
#footer .footer-fix div a {
    display: inline-block;
    vertical-align: middle;
    width: 50%;
    font-size: 24px;
    text-align: center;
    padding: 23px 0;
    color: #fff;
    font-weight: 300;
}
#footer .footer-fix div a.active {
    position: relative;
    font-weight: 400;
    color: #000;
    z-index: 1;
}
#footer .footer-fix span.line {
    position: absolute;
    background: #fff;
    border-radius: 50px;
    display: block;
    width: 50%;
    height: 74px;
    top: 6px;
    left: 6px;
    transition: left 0.4s;
}
.fix-btn {
    position: fixed;
    bottom: 250px;
    left: 50%;
    margin-left: 245px;
    max-width: 750px;
    transition: all 0.2s;
    z-index: 2;
}
.fix-btn button {
    float: right;
    margin-right: 40px;
    display: block;
    background: #000 url("../images/ico-plus.png")no-repeat 50% 60% / 57px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    text-indent: -99999px;
    z-index: 1;
}
@-webkit-keyframes up {
    0% {
        max-height: 0;
        opacity: 0
    }
    100% {
        max-height: 118px;
        opacity: 1;
    }
}
@keyframes up {
    0% {
        max-height: 0;
        opacity: 0
    }
    100% {
        max-height: 118px;
        opacity: 1;
    }
}
.scroll-down #footer {
    bottom: -100%;
}
.scroll-up #footer {
    bottom: 0;
}
.scroll-down .fix-btn {
    bottom: 50px;
}
.scroll-up .fix-btn {
    bottom: 195px;
}
.fix-btn.active {
    bottom: 250px !important;
}
#footer.active {
    bottom: 0 !important;
}




.f-menu {
    box-shadow: 5px 3px 20px rgb(0 0 0 / 20%);
    border-radius: 40px 40px 0 0;
    position: fixed;
    transition: all 0.3s;
    width: 100%;
    max-width: 710px;
    height: 90vh;
    z-index: 8;
    left: 50%;
    bottom: -100%;
    transform: translateX(-50%);
    overflow: hidden;
}
.f-menu.on {
    bottom: 0;
}
.menu-bg {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.65);
    z-index: 2;
}
/* 메뉴 - 상단 */
.f-menu-top {
    background: #2851E8;
    color: #fff;
    padding: 60px 40px;
}
.f-menu-top h2 {
    position: relative;
    font-weight: normal;
    font-size: 28px;
    padding-bottom: 45px;
    text-align: left;
    padding-left: 50px;
    margin: 0 30px;
}
.f-menu-top h2 .arrow {
    position: absolute;
    left: 0;
    top: 10px;
    display: block;
    width: 35px;
    height: 35px;
    background: url("../images/ico-arrow-down.png")no-repeat 50% 50%/100%;
}
.f-menu-top h2 img {
    vertical-align: middle;
}
.f-menu-top h2 .alarm {
    position: absolute;
    top: 0;
    right: 60px;
}
.f-menu-top h2 .alarm img {
    width: 40px;
}
.f-menu-top h2 .setting {
    position: absolute;
    top: 0;
    right: 0;
}
.f-menu-top h2 .setting img {
    width: 40px;
}
.f-menu-top .bline {
    border: 1px solid #fff;
}
/* 메뉴 - 상단 - 정보영역 */
.f-menu-state {
    padding: 37px 50px;
    border-radius: 85px;
}
.f-menu-state strong {
    font-size: 30px;
    font-weight: 500;
    display: inline-block;
    line-height: 1;
    vertical-align: middle;
}
.f-menu-state span {
    font-size: 20px;
    display: inline-block;
    vertical-align: -8px;
    margin-left: 10px;
}
.f-menu-state a {
    color: #fff;
    font-weight: 400;
    font-size: 20px;
    display: block;
    margin-top: 5px;
}
/* 메뉴 - 리스트 */
.f-menu-list {
    padding: 25px 40px 25%;
    text-align: left;
    overflow-y: scroll;
    height: calc(100% - 475px);
    background: #fcfcfc;
}
.f-menu-list img {
    display: inline-block;
    vertical-align: -2px;
    margin-right: 10px;
    width: 25px;
}
.f-menu-list li {
    position: relative;
    border-radius: 60px;
    background: #fff;
    border: 1px solid #8f8f8f;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    margin: 20px 0;
}
.f-menu-list li a {
    display: block;
    padding: 43px 60px;
    font-size: 24px;
}
.f-menu-list li a:after {
    content: '→';
    display: block;
    background-repeat: no-repeat;
    background-size: 100%;
    width: 23px;
    height: 35px;
    position: absolute;
    top: 35%;
    right: 60px;
}
.f-menu-list li a div {
    position: absolute;
    right: 45px;
    top: 21%;
    font-size: 23px;
    font-weight: 300;
}
.f-menu-list li a div strong {
    color: #0476d0;
    margin-left: 5px;
}
.f-menu-list .addr {
    line-height: 26px;
    font-weight: 300;
    font-size: 20px;
    margin: 70px 0 80px 40px;
}
.f-menu-list .addr strong {
    font-weight: 400;
    font-size: 24px;
}




/* // 메뉴 */
#titleArea {
    position: relative;
    width: 100%;
    max-width: 750px;
    margin: 0 auto 60px;
}
#titleArea .prev {
    display: block;
    padding: 40px 40px 45px;
}
#titleArea .prev img {
    width: 45px;
}
#titleArea h2 {
    text-align: center;
    font-size: 35px;
    font-weight: 500;
}
#titleArea .txt {
    font-size: 22px;
    font-weight: 300;
    color: #595959;
    line-height: 1.1;
    margin-top: 15px;
}
h2.sub-title {
    position: relative;
    height: 120px;
    background: #fcfcfc;
    border-bottom: 2px solid #cfcfcf;
    z-index: 1;
}
h2.sub-title span {
    display: block;
    width: 100%;
    height: 120px;
    line-height: 120px;
    text-align: center;
    font-size: 40px;
}
h2.sub-title span img {
    height: 40px;
    vertical-align: middle;
    margin-right: 10px;
}
h2.sub-title .close {
    display: block;
    width: 40px;
    height: 40px;
    background: url("../images/ico-prev.svg")no-repeat 50% 50%/100%;
    position: absolute;
    top: 40px;
    left: 40px;
    text-indent: -99999px;
}
h2.sub-title .more {
    position: absolute;
    top: 45px;
    right: 40px;
    background: #fff;
    width: 40px;
    height: 40px;
}
h2.sub-title .more img {
    height: 24px;
}




.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 12;
}
.modal .modal-content {
    width: 100%;
    max-width: 650px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 80%;
}
.modal .modal-content .scroll {
    background: #fff;
    max-height: calc(100vh - 159px);
    overflow-x: hidden;
    overflow-y: visible;
    -ms-scroll-chaining: none;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    padding: 30px;
    box-sizing: border-box;
    border-radius: 30px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.modal .modal-content .scroll::-webkit-scrollbar {
    display: none;
}
.modal .modal-content .title {
    font-size: 36px;
    line-height: 1;
    font-weight: 500;
}
.modal .modal-content .sub-title {
    font-size: 30px;
    font-weight: 300;
    margin: 30px 0;
}
.modal .close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: transparent;
}
.modal .close img {
    width: 35px;
}
.not-scroll {
    overflow: hidden;
}
.pop-bg {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 10;
}
.black-bg {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 10;
}


.bottom-modal {
    position: fixed;
    top: auto;
    left: 50%;
    bottom: -100%;
    background: #fff;
    display: block;
    z-index: 10;
    transition: all 0.2s;
    width: 100%;
    max-width: 750px;
    max-height: 55%;
    border-radius: 50px 50px 0 0;
    padding: 50px 40px;
    box-sizing: border-box;
    overflow-y: scroll;
    transform: translateX(-50%);
}
.bottom-modal::-webkit-scrollbar {
    display: none;
}
.bottom-modal.open {
    bottom: 0;
}