@charset "UTF-8";
/*----------------------------------------------------
nav menu
----------------------------------------------------*/
.nav_menu {
  display: none;
}

#nav ul {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-wrap:wrap;
    width: 100%;
    display: flex;
    margin-bottom: 15px;
    }

    #nav ul li{
        list-style-type: none;
        width: calc(100% / 9);
        }
        #nav ul li a{
            font-family:"Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
            font-weight: bold;
        display: block;
        text-align: center;
        font-size: 0.85em;
        color: #000;
        }
        #nav ul li img{
            width: 90%;
            height: auto;
            margin: 0 5% -3px 5%;
        }


/*　スマホ用
----------------------------------------------------*/
@media only screen and (max-width: 768px) {
    button{
        background-color: transparent;
        border: none;
        cursor: pointer;
        outline: none;
        padding: 0;
        appearance: none;
}

    .nav_menu {
        display: block;
      position: fixed;
      top: 10px;
      right:  10px;
      width: 70px;
      height: 80px;
      z-index: 1;
    }
    .nav_menu img{
        width: 100%;
        height: auto;
    }

    /*
    .nav_menu span {
    position: absolute;
    left: 5px;
    width: 60%;
	margin:10%;
    height: 3px;
    background-color: #fff;
    z-index: 99999;
    }

    .nav_menu span:nth-of-type(1) {
    top: 20px;
    }

    .nav_menu span:nth-of-type(2) {
    top: 33px;
    }

    .nav_menu span:nth-of-type(3) {
    bottom: 8px;
    }

    .nav_menu.active span:nth-of-type(1) {
    -webkit-transform: translateY(10px) rotate(-45deg);
	transform: translateY(16px) rotate(-45deg);
    }

    .nav_menu.active span:nth-of-type(2) {
    left: 50%;
	opacity: 0;
	-webkit-animation: active-menu-bar02 .8s forwards;
	animation: active-menu-bar02 .8s forwards;
    }

    .nav_menu.active span:nth-of-type(3) {
    -webkit-transform: translateY(-10px) rotate(45deg);
	transform: translateY(-10px) rotate(45deg);
    }
*/
    #nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 10;
    width: 100%;
    height: 100vh;
    opacity: 0;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
    visibility:hidden;
    }


    #nav.active{
    right: 0;
    opacity: 1;
    -moz-transform: translateX(0);
    -webkit-transform: translateX(0);
    transform: translateX(0);
    visibility: visible;
	background:rgba(255,255,255,1);
    }

    #nav ul li{
        width: calc(100% / 3);
        }
    #nav ul h1{
        width: 66%;
        padding: 0px 0%;
        margin-top: 8%;
    }
    #nav ul li a{
        width: 100%;
    display: block;
    padding: 10px 0;
    transition: all 0.2s ease-in-out;
    text-align: center;
    text-decoration: none;
    font-size: 1.1em;
    }
}