.drawer {
    position: fixed;
    top: 0;
    right: 0;
    padding-left: 50px;
    padding-right: 50px;
    height: 100vh;
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 200;
}

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

.drawer__inner {
    height: 100%;
    overflow-y: auto;
    padding-top: 35px;
}

.drawer__content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.drawer__items{
    margin-top: 30px;
    max-width: 358px;
}

.drawer__item{
    padding-bottom: 30px;
    border-bottom: 1px solid #DADAE0;
}

.drawer__item:nth-of-type(n + 2){
    margin-top: 30px;
}

.drawer__link{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.drawer__title{
    font-family: "ten-mincho-antique", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: normal;
    color: #040315;
}

.drawer__icon{
    display: inline-block;
    background: #030049;
    width: 40px;
    height: 23px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
}

.drawer__btns{
    max-width: 358px;
    margin-top: 30px;
}

.drawer__btn{
    background: #030049;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    padding: 25px 20px;
    border-radius: 5px;
}

.drawer__btn:nth-of-type(n + 2){
    margin-top: 10px;
}

.drawer__btn:nth-of-type(2){
    background: #DADAE0;
    color: #030049;
}

.drawer__btn:nth-of-type(3){
    background: #F2F2F6;
    color: #030049;
}

.btn__title{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn__title-jp{
    font-family: "ten-mincho-antique", sans-serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 120%;
    letter-spacing: 0.05em;

}

.btn__title-en{
    font-family: "ten-mincho-antique", sans-serif;
    font-weight: 500;
    font-size: 10px;
    line-height: 100%;
    letter-spacing: 0.03em;

}

.drawer__right{
    position: relative;
    height: 46px;
    border-left: 1px solid #fff;
    padding-left: 20px;
    display: flex;
    align-items: center;
}

.drawer__btn:nth-of-type(2) .drawer__right{
    border-left: 1px solid #030049;
}

.drawerBtn__icon img{
    display: block;
}


@media (max-width: 768px) {
    .drawer{
        width: 100%;
        margin-top: 94px;
        padding-left: 0;
        padding-right: 0;
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(10px);
        height: calc(100vh - 94px);
    }
    .drawer__items{
        max-width: 100%;
    }
    .drawer__btns{
        max-width: 100%;
    }

    .drawer__inner {
        height: 100%;
        overflow-y: auto;
        padding-top: 0;
        padding-right: 20px;
        padding-left: 20px;
    }
    
    .drawer__items{
        margin-top: 60px;
        max-width: 100%;
    }
}

