@charset "utf-8";

html{
    font-size: 62.5%;
    scroll-behavior: smooth;
}

:root{
   --text-navy: #0F1B35;
   --text-gray: rgba(15, 27, 53, 0.5);
   --text-red: #D9383A;
   --text-white:#F8F9FA;
   --text-light: rgba(248, 249, 250, 0.8);
   --background-beige:#F0EDE5;
   --padding-headerfooter: 5.3%;
   --padding-body: 6.4%;
}

body{
    font-family: 'PT Serif', 'Montserrat', 'Times New Roman', 'Times New Roman', Times, serif;
    font-style: normal;
    background-color: #ffffff;
    color: var(--text-gray);
    line-height: 1.5;
}

img{
    max-width: 100%;
    height: auto;
}

/* header */
.header{
    display: flex;
    height: 64px;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: #ffffff;
}

.nav__header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    line-height: 1.3;
    padding: 0 5.3%;
    height: 64px;
}

.header__title,
.nav__title{
    font-size: 1.6rem;
    font-weight: 700;
    color: #0F1B35;
}

.header__title{
    margin: 16px 0 0 5.3%;
}

.header__btn{
    margin: 16px 5.3% 0 0;
}

.logo{
    width: 32px;
    height: 32px;
    margin-right: 8px;
}

.nav__btn,
.header__btn{
    display: block;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.nav__lang{
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav{
    background-color: var(--text-white);
    position: fixed;
    width: 100%;
    height: 100vh;
    z-index: 10;
    translate: -100%;
    transition: 0.4s;
}

.nav.active{
    translate: 0;
}

.nav__item{
    font-size: 3.2rem;
    color: #0F1B35;
    display: block;
    margin-top: 16px;
    cursor: pointer;
    font-family: 'Montserrat';
}
.nav__item:first-of-type{
    margin-top: 0;
}

.nav__item::after{
    content: '';
    display: block;
    background-color: rgba(15, 27, 53, 0.1);
    width: 100%;
    height: 2px;
    margin-top: 16px;
}

.nav__item:last-of-type::after{
    margin-bottom: 32px;
}

.nav__list{
    padding: 48px var(--padding-headerfooter) 0;
    text-align: center;
}

.lang__item{
    font-family: 'Montserrat';
    font-size: 2rem;
    cursor: pointer;
}

.lang__item--en::after{
    content: '';
    display: inline-block;
    background-color: rgba(15, 27, 53, 0.5);
    width: 2px;
    height: 3rem;
    margin: 0 8px;
}

.lang__item--en{
    display: flex;
}

.lang__item.selected{
    font-weight: 700;
    color: #0F1B35;
}

.order{
    background-color: #0F1B35;
    padding: 80px 5.3%;
    margin-top: 32px;
    font-family: 'Montserrat';
    font-size: 1.2rem;
}

.order__itm{
    color: var(--text-white);
    font-style: italic;
}

.btn{
    display: block;
    background-color: var(--text-white);
    color: #D9383A;
    padding: 16px 8px;
    max-width: 270px;
    align-items: center;
    margin: 24px auto 0;    
    border: solid 1px var(--text-red);
    text-align: center;
    font-weight: 700;
    cursor: pointer;
}

.btn:hover{
    background-color: rgba(217, 56, 58, 0.4);
}

/* PC header */
@media screen and (min-width: 769px){
    .nav__header{
        display: none;
    }

    .header__title{
        font-size: 2rem;
        margin: 0;
        align-items: center;
    }

    .logo{
        width: 40px;
        height: 40px;
        margin-right: 12px;
    }

    .nav{
        background-color: transparent;
        width: auto;
        height: auto;
        position: static;
        padding: 0;
        translate: none;
        display: flex;
    }

    .nav__item{
        margin: 0;
        font-size: 1.6rem;
        text-align: center;
        line-height: 1.3;
    }

    .nav__item::before{
        display: none;
    }

    .nav__lang{
        font-size: 1.2rem;
    }

    .nav__list{
        display: flex;
        gap: 32px;
        padding: 0;
        align-items: center;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);   
    }

    .header__btn{
        display: none;
    }

    .order{
        display: none;
    }

    .header{
        position: sticky; 
        height: 80px;
        align-items: center;
        margin: 0 auto;
        padding: 0 5.5%;
    }

    .nav__item a {
        display: inline-block;
        position: relative;
        color: var(--text-gray);
        font-weight: 400;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .nav__item a.thispage {
        color: #0F1B35;
        font-weight: 700;
        transform: translateY(-4px);
    }

    .nav__item a.thispage::after {
        content: '';
        position: absolute;
        width: 4px;
        height: 4px;
        background-color: #D9383A;
        border-radius: 50%;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
    }

    .nav__item::after{
        display: none;
    }
}

/* footer */
.footer{
    background-color: #0F1B35;
    padding: 64px 5.3% 48px;
}

.footer-title{
    color: var(--text-white);
    font-size: 2.8rem;
    font-weight: 700;
}

.footer-group{
    display: flex;
    gap: 10.7%;
    margin-top: 24px;
    font-size: 1.4rem;
}

.copyright::before{
    content: '';
    display: block;
    background-color: rgba(248, 249, 250, 0.4);
    width: 100%;
    height: 2px;
    margin: 48px 0;
}

.footernav{
    color: var(--text-light);
}

.footernav__item--inquire{
    font-weight: 700;
    text-decoration: underline;
}

.footernav-title{
    color: rgba(248, 249, 250, 0.4);
}

.footernav-title:hover{
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footernav__item{
    margin-top: 12px;
    cursor: pointer;
    font-family: 'Montserrat';
}

.footernav__item:hover{
    text-decoration: underline;
    text-underline-offset: 4px;
}

.copyright{
    color: rgba(248, 249, 250, 0.4);
    font-family: 'Montserrat';
}

/* PC footer */
@media screen and (min-width: 769px){
    .footer-title{
        font-size: 3.2rem;
    }

    .footer{
        padding: 80px 5.5% 60px;
    }

    .footer-group{
        margin-top: 0;
        gap: 0;
    }

    .footernav-Atelier{
        margin-left: 64px;
    }

    .footer-pc{
        display: flex;
        justify-content: space-between;
        max-width: 1260px;
        margin: 0 auto;
    }

    .copyright{
        font-size: 1.2rem;
    }
}

/* fade in */
.fadein{
    translate: 0 100px;
    opacity: 0;
    transition: 1s;
}

.fadein.animated{
    translate: 0 0;
    opacity: 1;
}