@charset "utf-8";



/*--------------------*/
/*　以下メニューCSS　*/
/*--------------------*/

nav {
	position: fixed;
	top: 0;
	right:0;
	width: 300px;
	height: 100%;
	background-color: #000;
	transition: all 0.1s;
	transform: translate(300px);
	z-index: 1000;
}
nav.open {
	transform: translate(0); 
}
nav ul {
	margin: 0;
    padding: 40px 1em 1em;
	list-style-type: none;
	overflow: auto;
}
nav ul li {
	border-bottom: 1px solid #fff;
	text-align: left;
}
nav ul li a {
	display: block;
	text-decoration: none;
	color: #fff;
	padding: 1em;
}
nav ul li.toi {
    display: none;
}

    @media screen and (max-width:910px){
        /* サブメニュー */
        nav ul ul{
            padding: 0;
            margin-left: 1em;
        }
        nav ul ul li:first-child {
            border-top: 1px solid #fff;
        }
        nav ul ul li:last-child {
            border-bottom: none;
        }

        nav ul ul li a:before {
            content: "-";
            padding-right: 0.5em;
        }
    }


/* 開閉ボタン */

.navBtn button {
  display: block;
    background:#092770;
  border: none;
  padding: 3px 10.5px;
  width: 51px;
  color: #333;
  letter-spacing: 0.1em;
  cursor: pointer;
  position: fixed;
  top: 25px;
  right:10px;
  z-index: 1001;
  text-align: center;
  outline: none;
}
/* ハンバーガーボタン3本線 */
.navBtn button span.bar {
  display: block;
  height: 3px;
  background-color: #fff;
  margin: 9px 0;
  transition: all 0.1s;
  transform-origin: 0 0;
}
/* メニューアクティブ時 */
.navBtn button.active{
    background-color:#325ab4;
    padding-left: 13px;
}

.navBtn button.active span.bar {
  width: 36px;
}
.navBtn button.active .bar1 {
  transform: rotate(42deg);
}
.navBtn button.active .bar2 {
  opacity: 0;
}
.navBtn button.active .bar3 {
  transform: rotate(-42deg);
  margin-left:-2px;
}
@media screen and (max-width:500px){
    .navBtn button {
        top: 15px;
    }
}



@media screen and (min-width:911px){
	/* PCでメニュボタン非表示 */
	.navBtn{display:none;}
	
	/*　PCでメニュー常時表示　*/
	nav{
		position: static;
		transform:none;
		width:750px;
		background-color:transparent;
	}
	nav ul{
		width:100%;
		margin:auto;
        padding: 0;
        overflow: visible;
        display: flex;
        justify-content: flex-end;
        align-items: center;
	}
	nav ul li {
		padding: 0;
		width: auto;
		border-bottom: none;
		border-right:solid 1px #333;
		text-align:center;
        position: relative;
	}
	nav ul li a{
		color:#000;
        padding: 0 2em;
        line-height: 1.2em;
        font-weight: 600;
	}
    nav ul li.stay a,
    nav ul li a:hover{
        color: #325ab4;
    }

    nav ul li.sp {
        display: none;
    }

    nav ul li.toi {
        display: block;
        border-right:none;
        margin-left: 2em;
    }
    nav ul li.toi a{
        display: flex;
        justify-content: center;
        align-items: center;
        border-right:none;
        padding: 0;
        width: 165px;
        height: 55px;
        background: -moz-linear-gradient(left, #325ab4, #092770);
        background: -webkit-linear-gradient(left, #325ab4, #092770);
        background: linear-gradient(to right, #325ab4, #092770);
        color: #fff;
    }




    /*　ドロップダウンメニュー　*/
    nav ul li ul{
        list-style: none;
        position: absolute;
        z-index: 9999;
        top: 100%;
        left: 0;
        margin: 0;
        padding: 0;
    }
    nav ul li ul li{
        width: 100%;
        border-right:none;
    }
    nav ul li ul li a{
        padding: 13px 15px;
        border-top: 1px solid #999;
        background-color: #ddd;
    }
    /* 広がるように 表示 */
    nav ul li ul li{
        overflow: hidden;
        height: 0;
        transition: .2s;
    }
    nav ul li:hover ul li{
        overflow: visible;
        height: 55px;
    }

}


@media (max-width:1300px) and (min-width:911px){
    nav{
        width:58%;
    }
    nav ul li a{
        padding: 0 1em;
    }
    nav ul li.toi {
        margin-left: 10px;
    }
    nav ul li.toi a{
        width: 140px;
        height: 50px;
    }

}










