@charset "UTF-8";


/* ------------------------------------------
	header
--------------------------------------------- */
/* ヘッダーメニューバー位置固定 */
.is-fixed{
	position: fixed;
	top: 0;
	left: 0;
	z-index: 2;
    width: 100%;
}

header
{
	width:100%;

	/*background-color: #DC143C;*/
	position:relative;
}
@media(max-width:959px){
	header{
		background-color:rgba(255, 255, 255,0);
	}
}

header,header ul{
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content:flex-end;
}

header a:link,
header a:visited,
header a:hover,
header a:active,
header a:focus
{
	color:#171C61;
	text-decoration:none;
}

/* ------------------------------------------
	nav
--------------------------------------------- */
nav
{
	width:100%;
}
.nami{
	width: 810px;
	padding-bottom: 8px;
	background: rgba(255, 255, 255,0.8);
	border-top-left-radius: 2px;
	border-bottom-left-radius: 45px;
}
nav ul{
	width:100%;
}

nav ul li{
	width:130px;
}

nav ul li a{
	display:block;
	font-size:14px;
	line-height:1.5;							/*文字行高さ*/
	padding:8px 0px 4px;				/*パディング*/
	border-top:none;
	/*border-bottom:4px solid #FFF;		/*ボーダーの高さ*/
	/*border-left:1px solid #444;*/
}

nav ul li a::before{
	display: inline-block;
	content: "";
	margin-right: 5px;
	width: 25px;
	height: 30px;
	line-height: 1.6;
	vertical-align: bottom;
	background-image: url(../img/logo/icom.png);
	background-repeat: no-repeat;
}

nav ul li:nth-child(1) a::before {
	background-position: 0 0;
}

nav ul li:nth-child(2) a::before {
	background-position: -30px 0;
}

nav ul li:nth-child(3) a::before {
	background-position: -55px 0;
}

nav ul li:nth-child(4) a::before {
	background-position: -80px 0;
}

nav ul li:nth-child(5) a::before {
	background-position: -103px 0;
}

nav ul li:nth-child(6) a::before {
	background-position: -125px 0;
}

/*nav ul li:last-child a{
	border-right:1px solid #444;		:last-child＝疑似クラス
}


疑似クラスとは、セレクタに付加するキーワードで、
選択される要素に対して特定の状態を指定します。

例）:hover
選択した要素上にマウスカーソルがあるときにスタイルを適用
*/

nav ul li a:hover,
nav ul li a:active{
	color:#a150507a;
	text-decoration:none;
}

@media(min-width:960px){
nav ul li:first-child{
	width: 90px;
}
nav ul li:last-child{
	margin-right: 20px;
}
}


/* Mobile navigation */

.nav-mobile{
	display:none;
	position:absolute;
	top:0;
	right:0;
	background:rgba(255, 255, 255,0);
	height:50px;
	width:80px;
}

@media(max-width:959px){
	.nav-mobile{
		display:block;
	}
	.nami{
		background: rgba(255, 255, 255,0);
	}
	nav{
		width:100%;
		padding:10px 0 0;
	}

	nav > ul{
		display:none;
	}

	nav > ul > li{
		width:30%;
		background-color:rgba(255, 255, 255,0.8);
		margin-left: auto;
		padding-left: 20px;
		margin-right: 15px;

	}
	nav li:first-child{
		padding-top: 9px;
	}
	nav li:last-child{
		padding-bottom: 15px;
	}

	nav > ul > li a{
		padding:5px;
		line-height:1;
	}

	nav > ul > li ul li a{
		padding-left:32px;
	}
}
@media(max-width:599px){
	nav > ul > li{
		width:50%;
		margin-left: auto;
		padding-left: 20px;
	}
	nav ul li a{
		font-size: 12px;
	}
}

@media(min-width:960px){
	.nav-list{
        display:flex !important;
    }
}

/* 開閉ボタン */

#nav-toggle{
	position:absolute;
	left:22px;
	top:10px;
	cursor:pointer;
	padding:16px 35px 20px 8px;
	background-color:rgba(255, 255, 255,0.5);
}

#nav-toggle span,
#nav-toggle span::before,
#nav-toggle span::after{
	cursor:pointer;
	border-radius:1px;
	height:2px;
	width:25px;
	background-color:rgba(18, 19, 92, 0.8);
	position:absolute;
	display:block;
	content:'';
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
}

#nav-toggle span::before{
	top:-7px;
}

#nav-toggle span::after{
	bottom:-7px;
}

#nav-toggle.active span{
	width:0;
}

#nav-toggle.active span::before{
	top:0;
}

#nav-toggle.active span::after{
	bottom:0;
}

#nav-toggle.active span::before{
	transform:rotate(135deg);
}

#nav-toggle.active span::after{
	transform:rotate(-135deg);
}