@charset "UTF-8";

/*▼　PC版メニュー　------------------------▼*/
.main_nav{
	}
nav.main_nav ul{
	margin: 8px auto 0px;
	padding-bottom: 5px;
	display: flex;
	justify-content: space-between; /* 均等に配置 */
}

nav.main_nav ul li{
	text-align: center;
    border-right: 1px solid #ccc;
    font-size: 18px;
	line-height: 100%;
	font-family: 'Libre Baskerville', serif;
	padding: 10px 0px 5px;
	flex: 1; /* 全て同じ幅にする */
    text-align: center; /* テキスト中央寄せ */
}
nav.main_nav ul li span{
	font-family: 'Kosugi Maru', sans-serif; /* WEBフォント */
	font-size: 14px;
	display: block;
	padding-top: 3px;
}

nav.main_nav ul li a {
	color: #2d2d2d;
	text-decoration: none;
	font-weight: normal;
}	
nav.main_nav ul li a:hover,
nav.main_nav ul li a:active{
color: #0B79C4;
}
li.nav_fast{border-left:1px solid #ccc;}


@media screen and (max-width:1200px){
nav.main_nav ul li{
	font-size: 14px;
	padding: 0px 5px;
	}
}

@media screen and (max-width:1000px){
li.nav_fast{border-left:none;}
}

/*▼　左のボタン　------------------------▼*/
.nav_fast{
	border-left: 1px solid #ccc;
}
@media screen and (max-width:1000px){
.nav_fast{border-left: none;}
}


/*▼　SPのTELボタン　------------------------▼*/
.tel_sp{display:none;}
@media screen and (max-width:1000px){
.tel_sp{
	display:block;
	border-bottom: none!important;
	font-size: 18px;
	font-family: 'Kosugi Maru', sans-serif!important; /* WEBフォント */
	padding-top: 20px!important;
}
.tel_sp img{padding: 5px 0px;}
}

/*▼　PC非表示ボタン　------------------------▼*/
.nav_sp{display: none;} /* 非表示ボタン */

@media screen and (max-width:1000px){
.nav_sp{display:block;}
}

/*▼　スマホボタン　------------------------▼*/
.sp_btn{
	display: flex!important;
	justify-content: space-around;
}
.sp_btn p{
	width: 48%;
}

/*▼　スマホボタン　------------------------▼*/
@media screen and (max-width:1000px){
.no_sen{
	border-bottom: none!important;
	padding: 0.2em 0!important;
}
}


/*▼　SPハンバーガーメニュー　------------------------▼*/
@media screen and (max-width:1000px){
.hamburger {
	display : block;
	position: fixed;  /*位置固定*/
	margin-right:20px;
	margin-top: 20px;
	z-index : 99;
	right : 0;
	top   : 0;
	width : 80px;  /*ハンバーガーボタンの大きさ*/
	height: 80px;  /*ハンバーガーボタンの大きさ*/
	cursor: pointer;
	text-align: center;
	background: #1d2088; /*ハンバーガーボタンの色*/
	border: solid 1px #FFFFFF;
}
}
@media screen and (max-width: 600px) {
.hamburger {
	margin-right:10px;
	margin-top: 10px;
	width : 60px;  /*ハンバーガーボタンの大きさ*/
	height: 60px;  /*ハンバーガーボタンの大きさ*/
}
}

/*ボタンの線の長さや太さ、ボタンの大きさを変える時は、この長さも合わせて変える*/
.hamburger span {
	display : block;
	position: absolute;
	width   : 40px;  
	height  : 4px ;
	left    : 20px;
	background : #fff;
	-webkit-transition: 0.3s ease-in-out;
	-moz-transition   : 0.3s ease-in-out;
	transition        : 0.3s ease-in-out; /*線がバッテンになる時のアニメーションの速さ*/
}
@media screen and (max-width: 600px) {
.hamburger span {
	width   : 40px;  
	height  : 4px ;
	left    : 10px;
}
}

/*ハンバーガーボタンの線の高さ、ボタンの大きさを変える時は、この高さも合わせて変える*/
.hamburger span:nth-child(1) {top: 20px;/*一番上の線*/}
.hamburger span:nth-child(2) {top: 35px;/*二番上の線*/}
.hamburger span:nth-child(3) {top: 50px;/*三番上の線*/}
@media screen and (max-width: 600px) {
.hamburger span:nth-child(1) {top: 14px;/*一番上の線*/}
.hamburger span:nth-child(2) {top: 29px;/*二番上の線*/}
.hamburger span:nth-child(3) {top: 44px;/*三番上の線*/}
}


/* ナビ開いてる時の×ボタン、top leftはボタンを開いたときの位置、ボタンの大きさを変える時はここも変える*/
.hamburger.active span:nth-child(1) {
	top : 35px;
	left: 20px;
	background :#fff;
	-webkit-transform: rotate(-45deg);
	-moz-transform   : rotate(-45deg);
	transform        : rotate(-45deg); /*線の角度*/
}
@media screen and (max-width: 600px) {
.hamburger.active span:nth-child(1) {
	top : 27px;
	left: 13px;
}
}

.hamburger.active span:nth-child(2),
.hamburger.active span:nth-child(3) {
	 top: 35px;
	 background :#fff;
	-webkit-transform: rotate(45deg);
	-moz-transform   : rotate(45deg);
	transform        : rotate(45deg);/*線の角度*/
}
@media screen and (max-width: 600px) {
.hamburger.active span:nth-child(2),
.hamburger.active span:nth-child(3) {
	top : 27px;
}
}




/*▼SPメニュー---------------------------------▼*/
@media screen and (max-width: 1000px) {
nav.main_nav {
	position: fixed;
	z-index : 88;
	top  : 0;
	left : 0;
	background:#FFFF;
	text-align: center;
	width: 100%;
	height: 100vh; /*高さを画面サイズに合わせる*/
	opacity: 0;
	visibility: hidden;
	transition: opacity .6s ease, visibility .6s ease;
}
nav.main_nav ul {
	display: block;
	margin: 0 auto;
	margin-top: 50px;
	padding: 0;
	width: 100%;
	list-style: none;
}
nav.main_nav ul li {	
	width: 90%;
	margin: 0 auto;
	transition: .4s all;
	line-height: 80%;
	font-size: 15px!important;
	text-align:center;
	padding: 1em 0 0.8em;
	border-right: none;
	border-bottom: 1px dashed #000;
}
nav.main_nav ul li span{
	font-size: 12px;
}
}

	
@media screen and (max-width: 1000px) {/*スマホでフォントサイズを変更*/
	nav.main_nav ul li:last-child {
		padding-bottom: 0;
		border: none;
	}
	nav.main_nav ul li:hover{}
	nav.main_nav ul li a {
		display: block;
		color: #000000;/*文字のカラー*/	
		text-decoration :none;
	}
	nav.main_nav ul li a:hover,
	nav.main_nav ul li a:active{
		color: #868686;/*ホバー時の文字のカラー*/	
	}
	/* このクラスを、jQueryで付与・削除する */
	nav.main_nav.active {
		opacity: 100;
		visibility: visible;
	}
}

