.md-overlay{
	background: rgba(255,255,255,1);
    z-index: 10000;
}
.md-content{
    background: #fff;
    background-size: cover;
	width:100%;
	height:100%;
    background: rgba(52,45,27,.95);
}
.md-modal{
	width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    overflow-y: auto;
    z-index: 10001;
    background: none;
}
.md-content .top{
    width: 100%;
    background: #3a3423;
    position: relative;
    z-index: 100;
    padding: 6% 0px;
}

.md-content .top ul{
    display: -ms-flexbox;
    -js-display: flex;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    padding: 0px;
}
.md-content .top ul li{
    padding: 0px;
}
.md-content .top ul li:nth-of-type(1){
    width: 5%;
    max-width: 36px;
    margin-right: 7%;
    text-align: center;
}
.md-content .top ul li:nth-of-type(2){
    width: 47.3%;
    max-width: 345px;
    margin-right: 0%;
}


.md-content .menu_items{
    padding: 0px;
    position: relative;
    
    text-align: center;
    padding-top: 20%;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow-y: auto;
    padding-bottom: 10%;
}
.md-content .menu_items::before{
    display: inline-block;
    width: 0;
    height: 100%;
    vertical-align: middle;
    content: "";
}
.md-content .menu_items .menu_box{
    display: inline-block;
    vertical-align: middle;
    width: 90%;
    max-width: 1100px;
}

.md-content .menu_items ul{
    padding: 0px;
}
.md-content .menu_items .item{
    font-family: cheap-pine-sans, sans-serif;
    font-size: 60px;
    font-size: 6rem;
    line-height: 1;
    letter-spacing: 0.4px;
}
.md-content .menu_items .jp{
    font-family: "RyuminPro", serif;
    font-weight: 500;
    font-size: 18.5px;
    font-size: 1.85rem;
    line-height: 1em;
    text-align: center;
    margin-bottom: 30px;
    padding: 0px;
}



@media screen and (min-width: 834px) {
    
    .md-content .top{
        padding: 35px 0px;
    }
    .md-content .menu_items .menu_box{
        vertical-align: top;
    }
    .md-content .menu_items{
        padding-top: 150px;
    }
}


@media screen and (max-width: 834px) {
    .md-content .menu_items .item{
        font-size: 40px;
        font-size: 4rem;
    }
    .md-content .menu_items .jp{
        font-size: 14px;
        font-size: 1.4rem;
        margin-bottom: 20px;
        padding-top: 0px;
        padding-bottom: 0px;
    }
}




/* ==========================================================================
   modal animation
   ========================================================================== */
.md-effect-0 {
	opacity: 0;
	-webkit-transition: all 1s ease-out;
	-moz-transition: all 1s ease-out;
	transition: all 1s ease-out;
}

.md-show.md-effect-0 {
	opacity: 1;
}
.md-show ~ .md-overlay{
    display: none;
}
