:root {
    /*========== Colors ==========*/
    /*Color HSL(hue, saturation, lightness)*/
    --text-color: hsl(0, 0%, 6%);
    --title-color: hsl(230, 70%, 16%);
    --grey-text-color: hsl(0, 0%, 34%);
    --primary-background: #E4EFF4;
    --secondary-background: #EFF2F5;
    --primary-color: #4F88E3;
    --secondary-color: #1c3fa8;
    --black-color: #14171A;
    --grey-color: #f7f7f7;
    --orange-color: #FF7D50;
    /* --orange-color: #FE9108; */
    --turquoise-color: #66D9E8;
    --pink-color: #FAA2C1;
    --yellow-color: #FDCE55;
    --sky-color: #74C0FC;
    /* --blue-color: #99B6E6; */
    --blue-color: #74C0FC;
    --purple-color: #B197FC;
    --green-color: #C0EB75;
    --pink-light-color: #FFF0F6;
    --yellow-light-color: #FFF9E6;
    --purple-light-color: #E6EBFF;
    --turquoise-light-color: #E3FAFC;
    --green-light-color: #F4FCE3;
    /* --blue-light-color: #DFE8F7; */
    --blue-light-color: #DFE8F7;
    --pink-dark-color: #F76E9E;
    --yellow-dark-color: #F5BA43;
    --blue-dark-color: #5397DF;
    --purple-dark-color: #8F6AFB;
    --turquoise-dark-color: #21C8DE;
    --green-dark-color: #99DF20;
    /* --gradient-background: linear-gradient(to bottom right, #495AFF, #0ACFFE); */
    --border-color: hsl(230, 50%, 90%);
    --white-color: hsl(0, 0%, 100%);
    --body-color: hsl(230, 100%, 96%);
    --container-color: hsl(230, 100%, 97%);

    /*========= Font and typography =========*/
    /*.5rem = 8px | 1rem = 16px ...*/
    --body-font: "Noto Sans KR", sans-serif;
    --second-font: "Montagu Slab", serif;
    --biggest-font-size: 5rem;
    --h1-font-size: 1.8rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1rem;
    --normal-font-size: .938rem;
    --small-font-size: .87rem;
    --smaller-font-size: .75rem;

    /*========== Font weight ==========*/
    --font-regular: 400;
    --font-medium: 500;
    --font-semi-bold: 600;
    --font-bold: 700;

    /*========== Z- index ==========*/
    --z-fixed: 100;

    /*========== Shape ============*/
    --border-radius: 8px;
    --box-shadow: 2px 8px 16px rgba(201, 208, 216, 0.4);
    --box-shadow-top: 2px 8px 36px 0px rgba(100, 100, 111, 0.2);
    --active-box-shadow: 0 0 10px rgba(0, 0, 0, .2);

}

/*========== Responsive typography ==========*/
@media only screen and (max-width: 360px) {
    :root {
        --h1-font-size: 1.4rem;
        --h2-font-size: 1.2rem;
        --h3-font-size: 0.9rem;
        --normal-font-size: .9rem;
        --small-font-size: .8rem;
        --smaller-font-size: .75rem;
    }
}

@media only screen and (max-width: 768px) {
    :root {

        --h1-font-size: 1.8rem;
        --h2-font-size: 1.5rem;
        --h3-font-size: 1rem;
        --normal-font-size: .938rem;
        --small-font-size: .9rem;
        --smaller-font-size: .75rem;
    }
}

@media screen and (min-width: 1400px) {
    :root {
        --biggest-font-size: 3.5rem;
        --h1-font-size: 2rem;
        --h2-font-size: 1.5rem;
        --h3-font-size: 1.2rem;
        --normal-font-size: 1rem;
        --small-font-size: .9rem;
        --smaller-font-size: .813rem;
    }
}

/*=================== BASE ===================*/
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    overflow-anchor: none !important;
    scroll-snap-stop: normal !important;
    scroll-behavior: unset !important;
    overscroll-behavior: none !important;
}

html {
    /* scroll-behavior: smooth; */
    overscroll-behavior: none !important;
}

body {
    color: var(--text-color);
    font-family: "Noto Sans KR", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    overflow-anchor: none !important;
    overscroll-behavior: none !important;
}

/* ::backdrop{
    background: linear-gradient(rgba(0,0,0,0.4),rgba(0,0,0,0.5));
} */

input,
button {
    border: none;
    outline: none;
}

h1,
h2,
h3,
h4 {
    color: var(--title-color);
    font-weight: var(--font-bold);
}

h1 {
    font-size: var(--h1-font-size);
}

h2 {
    font-size: var(--h2-font-size);
}

h3 {
    font-size: var(--h3-font-size);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
   border-radius: 16px;
}

button,
.button {
    border: 0;
    outline: 0;
    padding: 0.5rem 1rem;
    font-weight: var(--font-semi-bold);
    cursor: pointer;
    background-color: transparent;
    line-height: 0;
}

section {
    margin: auto;
}

/*================= Reusible =================*/

.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px 6%;
    overflow-anchor: none !important;
    overscroll-behavior: none !important;
}

.hidden {
    opacity: 0;
    /* filter: blur(5px); */
    transform: translateY(100px);
    transition: all 2s;
}

.show {
    opacity: 1;
    /* filter: blur(0); */
    transform: translateY(0);
}

@media(prefers-reduced-motion) {
    .hidden {
        transition: none;
    }
}

.grid {
    display: grid;
}

.custom-btn {
    color: var(--primary-color);
    background: white;
    min-width: 80px;
    height: 32px;
    border-radius: 5px;
    box-shadow: 0 10px 20px -10px var(--primary-color);
    cursor: pointer;
}

.primary-color {
    color: var(--primary-color);
}

.title {
    margin: 30px 30px 20px 30px;
    text-align: center;
}

.title-detail {
    text-align: center;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.small-none {
        display: none;
}
.block{
    display: block;
}
.strong{
    font-weight: bold;
}
.inline{
    display: inline;
}
.desktop-br {
    display: none;
}
.mobile-br {
    display: inline;
}
.double-br{
    display: inline;
}

.threeD-box {
    padding:10px 16px;
    box-shadow: -7px -7px 20px 0px #fff9,
        -4px -4px 5px 0px #fff9,
        7px 7px 20px 0px #0002,
        4px 4px 5px 0px #0001,
        inset 0px 0px 0px 0px #fff9,
        inset 0px 0px 0px 0px #0001,
        inset 0px 0px 0px 0px #fff9,
        inset 0px 0px 0px 0px #0001;
    border: none;
    outline: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: box-shadow 0.6 cubic-bezier(0.79, .0.21, 0.06, 0.81);
    font-size: 30px;
    text-decoration: none;
    color: #77ADE6;
}

.threeD-box:hover {
    box-shadow: 4px 4px 6px 0 rgba(255, 255, 255, 0.5),
        -4px -4px 6px 0 rgba(116, 125, 136, 0.2),
        inset -4px -4px 6px 0 rgba(255, 255, 255, 0.3),
        inset 4px 4px 6px 0 rgba(166, 125, 136, 0.3);
}

.threeD-box:focus {
    border: none;
    outline: none;
    box-shadow: none;
    box-shadow: -4px -4px 6px 0 rgba(116, 125, 136, 0.2),
        4px 4px 6px 0 rgba(255, 255, 255, 0.5),
        inset 4px 4px 6px 0 rgba(166, 125, 136, 0.3),
        inset -4px -4px 6px 0 rgba(255, 255, 255, 0.3);
}
/* vertical height adjustment for a tag link */
.anchor {
    display: block;
    height: 63px;
    /* this is the height of your header */
    margin-top: -63px;
    /* this is again negative value of the height of your header */
    visibility: hidden;
}
.anchor2 {
    display: block;
    height: -63px;
    /* this is the height of your header */
    margin-top: 63px;
    /* this is again negative value of the height of your header */
    visibility: hidden;
}
.half{
    display: inline-block;
    width: 0.5rem;
}
/* form & input & textarea */
.request-form {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.input-group {
    height: 40px;
    width: 100%;
    margin: 30px 0;
    position: relative;
}

.input {
    width: 100%;
    height: 100%;
    background: #E9F0FC;
    border: none;
    outline: none;
    padding-left: 10px;
    border-radius: 0.5rem;
}

.input-group label {
    position: absolute;
    top: 50%;
    left: 5px;
    padding-left: 0.5rem;
    transform: translateY(-50%);
    font-size: 13px;
    font-weight: 600;
    transition: .3s;
}

.require {
    color: red;
    padding-bottom: 12px;
    padding-left: 3px;
    font-weight: 700;
}

.input-group .input:focus~label,
.input-group .input:valid~label {
    top: -13px;
    left: -6px;
}

textarea.input {
    resize: none;
    min-height: 80px;
    padding-top: 0.5rem;
    overflow: auto;
    font-family: Arial, Helvetica, sans-serif;
}


@media only screen and (max-width: 360px) {
    section{
        padding: 20px 0;
    }
    .container {
        max-width: 360px;
        margin: auto;
        padding: 20px 15px;
    }
    .title {
        margin: 0px 10px 20px 10px;
    }

    .custom-btn {
        min-width: 60px;
        height: 28px;
        font-size: small;
    }
    .small-none {
        display: none;
    }
    .double-br {
        display: inline;
    }
}

@media only screen and (min-width: 600px) {
    .mobile-br {
        display: none;
    }
    .double-br {
        display: none;
    }
}
@media only screen and (min-width: 769px) {
    .container {
        padding: 20px 2%
    }
    .small-none {
        display: inline-block;
    }
    .double-br {
        display: inline-block;
    }
}
@media only screen and (min-width: 992px) {
    .container {
        padding: 20px 4%
    }
    .large-none{
        display:none;
    }
    .desktop-br {
        display: inline;
    }
    
    .mobile-br {
        display: none;
    }
}


/*==========Animation==========*/
@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes slideInFromTop {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes slideInFromBottom {
    0% {
        transform: translateY(100%);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes slideUpDown {
    0% {
        transform: translateY(20px);
    }

    50% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(20px);
    }
}

@keyframes moving {
    from {
        transform: translateX(50px);
        opacity: 0;
    }

    to {
        transform: translateX(0px);
        opacity: 1;
    }
}


/*Responsive display : Smart Phone vs PC */
.sp {
    display: block !important;
}

.pc {
    display: none !important;
}

.sp-inline {
    display: inline-block !important;
}

.pc-inline {
    display: none !important;
}


@media screen and (min-width: 769px) {
   .sp {
        display: none !important;
    }

    .pc {
        display: block !important;
    }

    .sp-inline {
        display: none !important;
    }

    .pc-inline {
        display: inline-block !important;
    }
}

.ask,
.top {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--orange-color);
    color: white;
    font-size: 12px;
    font-weight: 600;
    position: fixed;
    right: 20px;
    bottom: 100px;
    display: flex;
    padding: 0;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;

    /* border: 2px solid #E28004; */
    box-shadow: inset 7px 7px 10px #FEB04D, inset -7px -7px 10px rgb(240, 135, 1);
}

.ask i,
.top i {

    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 3px;
}

.ask label,
.top label {
    color: white;
    display: block;
    line-height: 12px;
}

.top {
    bottom: 30px;
    background: var(--primary-color);
    /* border: 2px solid #2369DC; */

    box-shadow: inset 5px 5px 7px #7BA6EA, inset -5px -5px 7px #3979E0;
}

@media only screen and (min-width: 992px) {

    .ask,
    .top {
        width: 70px;
        height: 70px;
    }

    .ask i,
    .top i {
        font-size: 1.8rem;
    }

    .ask {
        bottom: 120px;
    }
}
/*======== inquiry Modal ========*/

.modal-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    opacity: 0;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 100vw;
    /* background: #f2f4f7; */
    background: rgba(0, 0, 0, 0.8);

    /* top에 modal이 있기 때문에 클릭이 안됨. 이를 방지하기 위해 필요 */
    pointer-events: none;
    transition: all .5s ease-in-out;
    z-index: var(--z-fixed);
}

.modal-container.show {
    opacity: 1;
    pointer-events: auto;
    right: 0;
}

.inquiry-modal {
    background: white;
    width: 360px;
    max-width: 90%;
    height: 360px;
    padding: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* inquiry left */
.inquiry-left {
    display: none;
}

.inquiry-text {
    color: #fff;
}

.white-big-logo {
    width: 140px;
    padding: 20px;
}

/* inquiry right */
.inquiry-right {
    position: relative;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    display: flex;
    padding: 0 0px;
}

.close-inquiry {
    position: absolute;
    top: 15px;
    right: 10px;
    opacity: 0.6;
    font-size: 1rem;
}

.inquiry-logo {
    width: 120px;
    margin-top: 40px;
}

.request-form {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.login-form {
    width: 100%;
}

.input-group {
    height: 40px;
    width: 100%;
    margin: 30px 0 0 0;
    position: relative;
}

.input {
    width: 100%;
    height: 100%;
    background: #E9F0FC;
    border: none;
    outline: none;
    padding-left: 10px;
    border-radius: 0.5rem;
}

.input-group label {
    position: absolute;
    top: 50%;
    left: 5px;
    padding-left: 0.5rem;
    transform: translateY(-50%);
    font-size: 13px;
    font-weight: 600;
    transition: .3s;
}

.require {
    color: red;
    padding-bottom: 12px;
    padding-left: 3px;
    font-weight: 700;
}

.input-group .input:focus~label,
.input-group .input:valid~label {
    top: -13px;
    left: -6px;
}

textarea.input {
    resize: none;
    min-height: 80px;
    padding-top: 0.5rem;
    overflow: auto;
}

.request-btn {
    background-color: #4F88E3;
    color: white;
    border-radius: 2rem;
    height: 2rem;
    text-align: center;
    position: relative;
}

.inquiry-modal .request-btn {
    margin-top: 60px;
}

.find {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    text-align: center;
    font-size: 11px;
    line-height: 11px;
}

.find-btn {
    margin-top: 2px;
    font-size: 12px;
    opacity: 0.5;
}

/*===== Login Modal ======*/
.login-modal {
    background: white;
    width: 360px;
    height: 340px;
    padding: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
}
.close-login {
    position: absolute;
    top: 15px;
    right: 10px;
    opacity: 0.6;
    font-size: 1rem;
    z-index: 1000;
}


@media only screen and (min-width: 769px) {

    .inquiry-modal {
        grid-template-columns: 1fr 2fr;
        display: grid;
    }

    .inquiry-left {
        background-color: #4F88E3;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        display: flex;
    }
}

@media only screen and (min-width: 769px) {

    .inquiry-modal {
        width: 570px;
    }
}

/*========Footer========*/
.footer {
    display: flex;
    flex-direction: column;
    color: #5E5F5F;
    padding: 20px;
    /* border-top: 1px solid #E6E6E6; */
}

.footer-left {
    display: flex;
    flex-direction: column;
}

.footer-left .logo {
    width: 100px;
    display: block;
}

.footer-link {
    display: flex;
}

.footer-link a {
    display: block;
    text-decoration: none;
    text-align: start;
    line-height: 100%;
    color: var(--grey-text-color);
    font-size: 12px !important;
    font-weight: 400;
    padding: 7px;
    cursor: pointer;
}

.footer-link a.privacy {
    color: var(--primary-color);
}

.footer-right {
    margin-top: 10px;
}

.footer-right h4,
label {
    color: var(--grey-text-color);
    font-size: 12px;
}

.customer-service {
    display: block;
}
.return-btn {
    width: 160px;
    background: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 32px;
}

.return-btn a {
    text-decoration: none;
    color: white;
    line-height: 32px;
}

@media only screen and (min-width: 769px) {
    .footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 20px 3%;
    }

    .footer-left {
        display: flex;
        flex-direction: column;
        flex-basis: 40%;
        align-items: flex-start;
    }

    .footer-left .logo {
        width: 130px;
    }

    .footer-left a {
        font-size: 13px;
    }

    .footer-left .privacy,
    .company {
        color: var(--primary-color);
    }

    .footer-right {
        flex-basis: 60%;
        justify-content: end;
    }
}

@media only screen and (min-width: 992px) {
    .footer-left {
        flex-basis: 55%;
    }

    .footer-right {
        flex-basis: 45%;
    }
}

@media only screen and (min-width: 1200px) {
    .footer-left {
        flex-basis: 60%;
    }

    .footer-right {
        flex-basis: 40%;
    }
}