@charset "utf-8";

:root {
    --main-color: #f39800;
    --main-color2: #ff6600;
    --sub-color: #009e9a;
    --default-color: #231815;
    --font-en: "Nanum Myeongjo", serif;
    --font-su: "SUIT Variable";
    --font-serif: "Noto Serif KR";

    /*font-size*/
    --f8: 0.5rem;
    --f10: 0.63rem;
    --f12: 0.75rem;
    --f13: 0.81rem;
    --f14: 0.88rem;
    --f15: 0.94rem;
    --f16: 1rem;
    --f18: 1.13rem;
    --f20: 1.25rem;
    --f22: 1.38rem;
    --f24: 1.5rem;
    --f26: 1.63rem;
    --f28: 1.75rem;
    --f32: 2rem;
    --f36: 2.25rem;
    --f40: 2.5rem;
    --f48: 3rem;
    --f64: 4rem;
}

html {
    font-family: 'Pretendard Variable', sans-serif;
    font-weight: 400;
    font-size: 16px;
}

body {
    color: var(--black);
    min-width: 1200px;
    font-size: 1rem;
}

.btn {
    cursor: pointer;
}

.bold {
    font-weight: 700 !important;
}

.strong {
    font-weight: 600 !important;
}

table {
    table-layout: fixed;
}

input[type="text"], input[type="number"], input[type="password"] {
    width: 100%;
    height: 60px;
    background-color: #FAFAFA;
    border: 0;
    padding: 0 16px;
}

input::placeholder {
    color: #cbcbcb;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/*캘린더 인풋*/
input[type='date']{
    position: relative;
    background: url("/images/ic_join_date.svg?v=1") center right 10px no-repeat;
    background-size: 24px 24px;
    padding: 0 16px;
    outline: none;
    border: 1px solid #ccc;
    height: 40px;
    color: var(--default-color);
}

input[type="date"]::-webkit-clear-button,
input[type="date"]::-webkit-inner-spin-button {
    display: none;
}

input[type='date']::-webkit-calendar-picker-indicator {
    position:absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    color: transparent;
}

*:focus {
    outline: none;
}

textarea {
    resize: none;
}

.overlay-bg {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 100;
}

/* header */
header.pc {
    position: fixed;
    inset: 0;
    height: 80px;
    z-index: 100;
}

header.pc .nav-area {
    position: relative;
    height: 100%;
    background: #fff;
    box-shadow: 4px 4px 6px 0 rgba(0, 0, 0, 0.03);
}

header .top-left {
    position: absolute;
    top: 50%;
    left: 35px;
    transform: translateY(-50%);
    z-index: 5;
    /*width: 200px;*/
    height: 62px;
}

header .weather-area {
    display: flex;
    align-items: center;
    color: #434343;
    height: 100%;
    width: max-content;
}

header .weather-area em {
    width: 10px;
}

.logo-area-default{
    opacity: 1 !important;
    visibility: visible !important;
    top: 10px !important;
}

header.pc .logo-area,
header.pc .logo-area-default {
    opacity: 1;
    visibility: visible;
    /*transition: opacity 0.1s ease-in-out, visibility 0.1s ease-in-out;*/
    position: absolute;
    top: 10px;
    left: 0;
}
header.pc.main .logo-area{
    opacity: 0;
    visibility: hidden;
}

header.pc .logo-area.active {
    opacity: 1;
    visibility: visible;
}

header .top-right {
    position: absolute;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
    z-index: 5;
}

header.pc nav {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    z-index: 10;
    margin-left: clamp(0px, calc(-17.361vw + 333.33px), 70px);
}

header.pc .nav-menu {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

header.pc .nav-menu::after {
    content: '';
    display: block;
    clear: both;
}

.gnb {
    text-align: center;
    position: relative;
    flex-basis: 120px;
}

.gnb a {
    display: block;
    color: #525252;
    line-height: 80px;
    transition: 0.1s color ease-in-out;
    position: relative;
    font-weight: 500;
    font-size: var(--f18);
}

.gnb:hover a {
    color: #353434;
    font-weight: 500;
}

header.pc .lnb {
    position: absolute;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    top: 80px;
    display: none;
}

header.pc .lnb.show {
    display: block;
}

.lnb-area {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 45px;
    width: 100%;
    height: 603px;
    padding-top: 40px;
}

.btn-lnb-area {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 18px;
}

.btn-lnb-area a {
    width: 100px;
    line-height: 34px;
    text-align: center;
    border: 1px solid #939393;
    background-color: #fff;
    border-radius: 5px;
    font-size: var(--f14);
    font-weight: 500;
    color: #484848;
}

.btn-lnb-area a.on {
    background-color: var(--sub-color);
    border: 1px solid var(--sub-color);
    color: #fff;
}

.lnb-box {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0 56px;
    text-align: center;
}

.lnb-box ul li h3 {
    font-size: var(--f20);
    font-weight: 500;
    padding-bottom: 16px;
}

.lnb-box ul li a {
    padding: 9px 0;
    line-height: inherit;
    display: block;
    transition: 0.2s all ease;
    font-weight: 300;
    color: #424242;
}

.lnb-box ul li a:hover {
    font-weight: 700;
}

.menu-bg {
    width: 100%;
    height: 0;
    background: rgba(248, 248, 248, 1);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    opacity: 0;
}

.menu-bg.open {
    height: 670px;
    opacity: 1;
}

/* header-mobile */
header.mobile {
    position: fixed;
    inset: 0;
    height: 66px;
    background-color: #FFF;
    box-shadow: 4px 4px 6px 0 rgba(0, 0, 0, 0.03);
    z-index: 999;
    display: none;
}

header.mobile .logo-area,
header.mobile .weather-area {
    opacity: 0;
    visibility: hidden;
    /*transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;*/
    position: absolute;
    top: 0;
    left: 0;
}

header.mobile .logo-area.active,
header.mobile .weather-area.active {
    opacity: 1;
    visibility: visible;
}

header.mobile .top-left {
    left: 20px;
    height: 40px;
}

header.mobile .logo-area img {
    height: 40px;
}

header.mobile .top-right {
    right: 56px;
}

.toggle-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    z-index: 100;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background-color: #555;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    padding-right: 8px;
}

.toggle-btn span {
    display: block;
    background: #fff;
    height: 1px;
    border-radius: 3px;
    transition: 0.1s margin 0.1s, 0.1s transform;
}

.toggle-btn span:nth-of-type(1) {
    margin-bottom: 4px;
    width: 8px;
}

.toggle-btn span:nth-of-type(2) {
    width: 19px;
}

.toggle-btn span:nth-of-type(3) {
    margin-top: 4px;
    width: 15px;
}

#toggleNav {
    display: none;
}

#toggleNav:checked + label.toggle-btn span {
    background-color: #fff;
    transition: 0.1s margin, 0.1s transform 0.1s;
}

#toggleNav:checked + label.toggle-btn span:nth-of-type(1) {
    margin-bottom: -1px;
    transform: rotate(45deg);
    width: 18px;
}

#toggleNav:checked + label.toggle-btn span:nth-of-type(2) {
    transform: rotate(45deg);
    display: none;
}

#toggleNav:checked + label.toggle-btn span:nth-of-type(3) {
    margin-top: 0;
    transform: rotate(135deg);
    width: 18px;
}

#toggleNav:checked ~ nav {
    opacity: 1;
    visibility: visible;
    z-index: 90;
}

#toggleNav:checked ~ nav ul li {
    transform: translateY(0);
    opacity: 1;
}

header.mobile nav {
    background-color: #F0F0F0FA;
    position: fixed;
    inset: 0;
    width: 100% !important;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    z-index: 10;
}

.nav-box {
    height: 100%;
}

.nav-header {
    width: 100%;
    height: 134px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 12px;
}

.nav-header .menu-login {
    margin-top: 18px;
    display: flex;
    align-items: center;
    width: 100%;
}

.nav-header .menu-login a {
    flex: 1;
    text-align: center;
    line-height: 34px;
    background-color: #fff;
    color: #484848;
    font-size: var(--f14);
}

.nav-header .menu-login a.login {
    background-color: var(--sub-color);
    color: #fff;
}

.nav-header .menu-login a.mypage {
    background-color: var(--main-color);
    color: #fff;
}

.menu-list {
    position: relative;
    transition: all 0.3s ease-in-out;
    height: calc(100% - 134px);
    overflow-y: auto;
    margin-top: 10px;
    padding-bottom: 10px;
}

.menu-list li a {
    height: 80px;
    color: #292929;
    position: relative;
    font-weight: 400;
    display: flex;
    align-items: center;
    padding-left: 30px;
    /*border-bottom: 1px solid #cbcbcb;*/
}

.menu-list li a p {
    font-size: var(--f24);
    text-align: left;
}

.menu-list li a p span {
    font-family: var(--font-en);
    font-size: var(--f12);
    color: #A9A9A9;
    display: block;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.menu-list li a b {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    width: 60px;
    color: #292929;
}

.menu-list li a b span {
    position: relative;
    width: 15px;
    height: 15px;
    display: inline-block;
}

.menu-list li a b span::before,
.menu-list li a b span::after {
    content: '';
    position: absolute;
    top: calc(50% - 1px);
    right: 0;
    width: 11px;
    height: 1px;
    background-color: #292929;
    transition: 0.2s ease;
}

.menu-list li a b span::before {
    transform: rotate(0deg);
}

.menu-list li a b span::after {
    transform: rotate(90deg);
}

.menu-list li a b span.click::after {
    display: none;
}

/* 기본적으로 숨김 */
.menu-list .lnb {
    display: none;
    background: transparent;
    padding: 10px 0;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
}

.menu-list .lnb a {
    height: 38px;
    font-size: var(--f14);
    position: relative;
    padding-left: 30px;
}

.menu-list .lnb a::before {
    content: '·';
    margin-right: 5px;
    font-size: 30px;
}

/* header-main pc&mobile */
header.pc.main,
header.mobile.main {
    background-color: transparent;
    /*transition: background-color 0.1s ease;*/
    box-shadow: none;
}

header.pc.main .nav-area,
header.mobile.main .nav-area {
    background-color: transparent;
    box-shadow: none;
}

header.pc.main .weather-area,
header.mobile.main .weather-area {
    color: #fff;
}

header.pc.main .weather-area img,
header.mobile.main .weather-area img {
    filter: brightness(0) invert(1);
}

header.pc.main .gnb a {
    color: #fff;
}

/* footer */
footer {
    color: var(--default-color);
    font-size: var(--f16);
    position: relative;
    background: #f5f5f5;
    width: 100%;
    width: 100%;
}
.f-links {
    background: #222;
    color: #ddd;
    padding: 22px 50px;
}
.f-links li {
    display: flex;
    gap: 49px;
    max-width: 1520px;
    margin: 0 auto;
}
.f-links li a {
    position: relative;
    font-size: var(--f18);
    font-weight: 400;
}
.f-links li a.red{
    font-weight: 600;
}
.f-links li a:before {
    content: '';
    position: absolute;
    top: 50%;
    right: -25px;
    transform: translateY(-50%);
    width: 1px;
    height: 10px;
    background: #ddd;
}
.f-links li a:last-child:before {
    display: none;
}

.f-box {
    max-width: 1520px;
    margin: 0 auto;
    padding: 26px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.f-box .left {
    display: flex;
    gap: clamp(1.25rem, -3.3333rem + 6.1111vw, 4rem);
    align-items: flex-start;
    flex: 1;
}
.f-box .left .f-info{
    flex: 1;
}

.f-info li {
    margin-bottom: 15px;
    font-weight: 400;
}
.f-info li span {
    font-weight: 700;
    margin-right: 16px;
}
.f-info li.copy {
    color: #666;
    font-size: var(--f13);
}

.family-site {
    margin-top: 66px;
}
.family-site li {
    display: flex;
    gap: clamp(1.25rem, -0.8333rem + 2.7778vw, 2.5rem);
    align-items: flex-end;
}
.family-site li a{
    flex: 1;
}

/* 점검중 페이지 */
.repair-wrap {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: #fff;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.repair-wrap:before {
    position:absolute;
    content:'';
    top:0;
    left:0;
    width:100%;
    height:440px;
    background: linear-gradient(180deg, #009E9A 0%, rgba(255, 255, 255, 0) 85.58%);
    opacity: 0.4;
    pointer-events: none;
    z-index: -1;
}

.re-text h1 {
    font-size: var(--f14);
}
.re-text h2 {
    font-size: var(--f64);
    margin: 24px 0 36px;
    font-weight: 700;
    color: var(--sub-color);
}
.re-text p {
    font-size: var(--f18);
    line-height: 1.5em;
}
.re-text h3 {
    font-size: var(--f24);
    font-weight: 700;
    line-height: 1.5em;
    margin-top: 40px;
}
.re-text h4 {
    font-size: var(--f20);
    font-weight: 500;
    margin-top: 40px;
}
/* // 점검중 페이지 */

/* 1200px 이하일 때 적용되는 스타일 */
@media (max-width: 1200px) {
    body {
        min-width: 320px;
    }

    header.pc {
        display: none;
    }

    header.mobile {
        display: block;
    }

    footer {
        font-size: var(--f12);
    }

    .f-links {
        padding: 24px 16px;
    }
    .f-links li {
        flex-wrap: wrap;
        gap: 17px;
    }
    .f-links li a {
        font-size: var(--f15);
    }
    .f-links li a:before {
        right: -9px;
    }

    .f-box {
        padding: 32px 16px;
        display: block;
    }
    .f-box .left {
        gap: 8px;
    }
    .f-box .left img {
        width: 72px;.f-box
    }
    .f-box .right {
        margin-top: 24px;
    }
    .f-box .right .width-fix {
        width: 146px;
    }

    .f-info li {
        font-size: var(--f13);
        line-height: 18px;
        margin-bottom: 5px;
    }
    .f-info li.copy {
        font-size: var(--f12);
    }
    .f-info li span {
        margin-right: 4px;
    }
    .f-info li span:last-child {
        margin-right: 0;
    }

    .family-site {
        margin-top: 16px;
    }
    .family-site li {
        text-align: center;
        gap: 8px;
        justify-content: center;
    }
    .family-site li a{
        flex: 1 1 auto;
    }
    .family-site li img {
        max-width: 85%;
        height: auto;
    }

    /* 점검중 페이지 */
    .re-text h2 {
        margin: 25px 0 60px;
        font-size: var(--f32);
    }
    .re-text p {
        font-size: var(--f16);
    }
    .re-text h3 {
        font-size: var(--f20);
        margin-top: 24px;
    }
    .re-text h3 span {
        display: block;
    }
    .re-text img {
        max-width: 180px;
    }
    /* // 점검중 페이지 */
}

/* 320px 이하일 때 적용되는 스타일 */
@media (max-width: 320px) {
    .breadcrumb .dropdown-btn {
        width: 140px !important;
    }
}

@keyframes scaleUp {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}

@keyframes scaleDown {
    from {
        transform: scale(1.1);
    }
    to {
        transform: scale(1);
    }
}



@media (prefers-reduced-motion: reduce){
    html{ scroll-behavior:auto; }
    [data-aos]{ transition:none !important; animation:none !important; }
}
