/* Nav items */
.menu {
    list-style: none;
    position: absolute;
    width: 26rem;
    height: auto;
    top: -1.5rem;
    right: 0;
    margin-top: 6rem;
    padding: 3rem 1rem;
    clear: both;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
    transform: scale(0, 1);
    transform-origin: right;
    background: rgba(93, 93, 93, 0.9);
    z-index: 10;
    /*text-align: center;*/
    /*border-top: 1px dashed #1f1f1f;*/
    margin-right: -0.5rem;
    height: 85vh;
    overflow: auto;
    padding-bottom: 8rem;
    border-radius: 2rem 0 0 2rem;
}

/* Hamburger menu button */
.menu-btn:checked~.menu {
    transform: scale(1, 1);
    transform-origin: right;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}

.menu-top {
    color: #fff;
    border-bottom: 1px dashed #fff;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    margin-left: 2rem;
    font-variation-settings: "wght"700;
    width: 4.5rem;
}

/* Hamburger menbu text */
.menu>li>ul>li>a {
    text-decoration: none;
    font-variation-settings: "wght"500;
    /*letter-spacing: 2px;*/
    font-size: 1.1rem;
    text-transform: capitalize;
    color: #fff;
    opacity: 0;
    transition: 0.5s;
    position: relative;
    /*border-bottom: 1px dashed #999;*/
    padding-bottom: .3rem;
    /*margin-left: 1rem;*/
}

.menu li>ul {
    padding-left: 2rem;
    margin-top: 0;
}

.menu li>ul>li {
    border-bottom: .5px dashed #fff;
    padding: 1rem 0 1rem 0;
    font-size: 1rem;
    /*margin: 0 1rem;*/
    opacity: 0;
    transition: 0.5s;
    /*display: inline-block;*/
    text-align: left;
    width: 100%;
    /*list-style: none;*/
    list-style: disc;
    color: #ffa;
}

.menu_other {
    color: #fff;
    display: block;
}

.menu_other-box {
    display: flex;
}

.menu_other-box li {
    width: auto !important;
    margin-left: 2rem;
}

.menu_other-box li:first-of-type {

    margin-left: 0;
}

.menu_other-box li a {
    font-size: 1rem !important;
}

.top {
    background-color: #1f1f1f;
    color: #ffe;
    font-variation-settings: "wght"500;
    font-size: 2rem;
    text-align: center;
    padding: 1rem;
}

.nav-area-ul {
    align-items: center;
    margin-top: 1rem;
    margin-bottom: -1rem;
    padding-left: 0.5rem !important;
}

.nav-area-ul li {
    padding: 1rem 0;
    text-align: center;
    padding-right: 0;
    margin-right: 0;
}
.nav-area-ul li ul{
    padding-left: 0.5rem;
}


.nav-area-ul>li>a {
    text-decoration: none;
    font-variation-settings: "wght"500;
    font-size: 1.2rem;
    text-transform: capitalize;
    color: #eee;
    opacity: 0;
    transition: 0.5s;
    position: relative;
    padding-bottom: 0.3rem;
    color: #fff;
    margin-left: .5rem;
}

.nav-area-ul li:first-of-type {
    padding-top: 1rem;
}

.nav-area-ul li:last-of-type {
    padding-bottom: 1rem;
    border-bottom: none;
}

.menu-btn:checked~.menu a,
.menu-btn:checked~.menu li {
    opacity: 1;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.2s;
}

.menu-btn {
    display: none;
}

.menu-icon {
    display: inline-block;
    position: relative;
    cursor: pointer;
    padding: 1.8rem 1rem;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.navicon {
    background: #fff;
    display: block;
    height: .2rem;
    width: 2rem;
    position: relative;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}

.navicon:before,
.navicon:after {
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    background: #fff;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}

.navicon:before {
    top: .7rem;
}

.navicon:after {
    bottom: .7rem;
}

/* Hamburger Menu Animation Start */
.menu-btn:checked~.menu-icon .navicon:before {
    transform: rotate(-45deg);
}

.menu-btn:checked~.menu-icon .navicon:after {
    transform: rotate(45deg);
}

.menu-btn:checked~.menu-icon:not(.steps) .navicon:before {
    top: 0;
}

.menu-btn:checked~.menu-icon:not(.steps) .navicon:after {
    bottom: 0;
}

.menu-btn:checked~.menu-icon .navicon {
    background: rgba(0, 0, 0, 0);
    transition: 0.2192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}
.mg-l1{
    margin-left: 1rem;
}
/**===========  ヘッダーメニュー スタイル  end ======================================================= **/