@charset "UTF-8";


/*====================================================
ナビゲーション
途中からハンバーガーメニューに変化するのためのCSS 
======================================================*/

/*========= ボタンのためのCSS ===============*/

/*ボタン全体の形状*/
.openbtn{
    /*はじめは非表示に*/
	display: none; 
    /*ボタンの位置*/
	position:fixed;
	top:16px;
	right: 16px;
	z-index: 999;
    /*ボタンの形状*/
	background:#996600;
	cursor: pointer;
    width: 60px;
    height:60px;
}

/*ボタンのアイコン設定*/
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 17px;
    height: 3px;
	background-color: #fff;
  	width: 45%;
  }

.openbtn span:nth-of-type(1) {
	top:12px;	
}

.openbtn span:nth-of-type(2) {
	top:22px;
}

.openbtn span:nth-of-type(3) {
	top:32px;
}
.openbtn p{
	display: inline-block;
	position: absolute;
	bottom: 0;
	left: 8px;
	color: #fff;
	font-size: 1.4rem;
}



/*activeクラスが付与された後のボタンのアイコン設定*/
.openbtn.active span:nth-of-type(1) {
    top: 16px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 40%;
}

.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.openbtn.active span:nth-of-type(3){
    top: 28px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 40%;
}

/*fadeDownクラスが付与された後のボタンの出現アニメーション設定*/
.fadeDown {
    animation-name: fadeDownAnime;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    opacity: 0;
    display: block;
}
@keyframes fadeDownAnime{
  from {
    opacity: 0;
	transform: translateY(-100px);
  }

  to {
    opacity: 1;
	transform: translateY(0);
  }
}


/*========= ナビのためのCSS ===============*/

/*==ナビの形状*/
#menu{
	height: 0;
	text-align: center;
	padding: 0;
	display: none;

	
}

/*.doneクラスがついたナビ*/
#menu.dnone {
	opacity: 1;/*透過0にして非表示に*/
	transition: all 0.4s;
	display: block;
}

/*メニューボタンをクリックした際に付与されるpanelactiveクラスがついたら*/
#menu.dnone.panelactive {
	opacity: 1;/*不透明にして出現*/
	transition: all 0.6s;
	display: block;
}


/*==ナビゲーションの形状*/
nav {
	padding: 0;
	box-sizing: border-box;
}

.navTtl {
	border-left: 6px solid #000060;
	text-align: left;
	margin: 0 0 10px 2px;
	padding: 0 0 0 10px;
	color: #000060;
	font-weight: bold;
	font-size: 2.0rem;
	line-height: 1.2;
	
}


.anchor{
	width: 950px;
	height: auto;
	margin: 0 auto;
}

.anchor01,.anchor02{
	margin: 0 auto 30px;
	display: flex;
	flex-flow: row wrap;
	justify-content: center;

}
.anchor02{
	margin: 0 auto;
}
.anchor01 li{
	width : calc(100% / 3);
	height: 64px;
	margin: 0;
	box-sizing: border-box;
	text-align:center;
	display:table;
	padding: 2px;
	
	
}


.anchor02 li{
	width : calc(100% / 1);
	height: 74px;
	margin: 0;
	box-sizing: border-box;
	text-align:center;
	display:table;
	padding: 2px;

}

.anchor01 li a{
	display: table-cell;
	vertical-align: middle;
	text-decoration: none;
	position: relative;
	color:#fff;
	background:#000060;
	line-height: 1.2;
	font-weight: bold;
	font-size:2.2rem;
	font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
	
	
}
.anchor02 li a{
	display: table-cell;
	vertical-align: middle;
	text-decoration: none;
	position: relative;
	color:#cc9933;
	background:#000060;
	line-height: 1.2;
	font-weight: bold;
	font-size:2.2rem;
	font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
	border: 1px solid #cc9933;
}


  .anchor01 li a::after {
	content: '';
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 10px 6px 0px 6px;
	border-color: #fff transparent transparent transparent;
	position: absolute;
	top: 0;
	right: 20px;
	bottom: 0;
	margin: auto;
  }
  .anchor02 li a::after {
	content: '';
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 10px 6px 0px 6px;
	border-color: #fff transparent transparent transparent;
	position: absolute;
	top: 0;
	right: 20px;
	bottom: 0;
	margin: auto;
  }

  .menuAppear {
	display: none;
	font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
}




@media screen and (max-width: 768px) {
	#menu{
		height: 0;

	}
	.anchor{
		width: 100%;
		height: auto;
		
	}
	.anchor01,
	.anchor02{
		margin: 0 0 30px;
		flex-flow: wrap;
	}
	.anchor01 li,
	.anchor02 li{
		width : calc(100% / 2);
		box-sizing: border-box;
		margin: 0;
	}
	.anchor01 li a,
	.anchor02 li a{
		padding: 8px 10px 8px 0;
		font-size:1.6rem;
	}
	.anchor01 li a::after,
	.anchor02 li a::after {
		right:8px;
	}

}



/*.dnoneクラスがついたテキストナビゲーションの形状（バーガーオープン）*/
#menu.dnone .anchor{
    /*固定位置にして最背面に*/
    position:fixed;
	top: 0;
    right: -120%;
	z-index: -1;
    /*高さと幅*/  
	width:500px;
	height: 100vh;
    /*はじめは透過0に*/  
    opacity: 1;
	transition: all 0.6s;
	padding: 80px 30px 30px;
	text-align: center;
	background:#000033;
}
#menu.dnone .anchor01 li a,
#menu.dnone .anchor02 li a {
	background:#000033;

}


@media screen and (max-width: 768px) {
	#menu.dnone .anchor{
	width:100%;

	}
}




/*メニューボタンをクリックした際に付与される
panelactiveクラスがついたナビゲーションの形状（バーガーオープン）*/
#menu.dnone.panelactive .anchor{
	opacity: 1;/*不透明に*/
	z-index:3;/*最前面に*/
	right: 0;


}

#menu.dnone.panelactive .anchor ul{
	display:block;/*flexの横並びをblockにして縦並びに*/

}

#menu.dnone.panelactive .anchor li{
	background-color: transparent;
	border: none;
	width: 100%;
	display: inline-block;
	height: auto;
}


/*リストの形状*/

#menu.dnone.panelactive .anchor li a{
	color: #fff;
	text-decoration: none;
	display: block;
	padding:4px;
	text-transform:none;
	letter-spacing: 0.1em;
	font-weight: bold;
	transition:all 0.3s;
	background-color: #000033;
}
#menu.dnone.panelactive .anchor02 li a{
	color: #cc9933;
	width: 320px;
	margin: 0 auto;
	padding: 10px;
}



/*バーガーオープン時
menuNoneクラスがついた<br>を非表示*/
.dnone .menuNone {
	display: none;
}

.dnone .menuAppear {
	display: inline;
}

/*バーガーオープン時
リンクボタンの三角形を非表示*/
.dnone .anchor01 li a::after {
	display: none;

}
.dnone .anchor02 li a::after{
	display: none;
}
.dnone .anchor02{
	display: block;
	
}


/*　バーガーオープン時の区切り線

.dnone .anchor01{
border-bottom: 2px dotted #000060;
margin-bottom: 25px;
padding-bottom: 25px;
}*/



@media screen and (max-width: 768px) {


}
