* {
	margin: 0;
	padding: 0;
}
*::after,
* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#mobile-head .logo img {
    width: 180px;
    margin-top: 15px;
}
/* ここからメインメニュー */

.inner {
	width: 100%;
    height: auto;
	max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    display: block;
}

/* header */
#top-head {
    font-size: 14px;
    /* position: absolute; ページ上部にメニュー固定*/
    width: 100%;
    height: inherit;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    z-index: 899;
    padding: 0;
    display: block;
    float: left;
}
#top-head a,
#top-head {
    text-decoration: none;
    
}
#top-head .logo {
	float: left;
	font-size: 36px;
}

#global-nav ul {
    width: 100%;
    float: right;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    letter-spacing: 2px;
    font-family: "FOT-UD角ゴ_ラージ Pr6 DB";
}
#global-nav ul li {
    float: left;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    border-left: 1px dotted #858585;
    display: table;
    width: calc(100% / 6);
    text-align: center;
    font-family: "FOT-UD角ゴ_ラージ Pr6 DB";
}
#global-nav ul li:last-child {
    border-right: 1px dotted #858585;
}
#global-nav ul li a {
    margin: 0;
    padding-top: 7px;
    padding-right: 10px;
    padding-left: 10px;
    padding-bottom: 7px;
    color: #2b2b2b;
    font-family: "FOT-UD角ゴ_ラージ Pr6 DB";
    font-size: 14px;
    text-decoration: none;
    letter-spacing: 3px;
    line-height: 400%;
    display: block;
}
#global-nav ul li a:hover {
    margin: 0;
    color: #fff;
    background:#003C83;
}


/* Fixed */
#top-head.fixed {
    width: 100%;
    padding-left: 5%;
    box-sizing: border-box;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    top: 0;
    position: fixed;
    padding-top: 0px;
    padding-bottom: 0px;
    height: auto;
    background: rgba(255,255,255,1.00);
    transition: top 0.65s ease-in;
    -webkit-transition: top 0.65s ease-in;
    -moz-transition: top 0.65s ease-in;
    z-index: 899;
}
#top-head.fixed .inner {
	width: 65%;
    margin: 0;
    float:left;
}
#top-head.fixed .logo {
	font-size: 24px;
	color: #333;
}
#top-head.fixed #global-nav ul {
    list-style: none;
    position:static;
    margin: 0;
    float: left;
}
#top-head.fixed #global-nav ul li {
    text-align: center;
    float:left;
    text-align: center;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "FOT-UD角ゴ_ラージ Pr6 DB";
}
#top-head.fixed #global-nav ul li a {
    color: #2b2b2b;
    font-family: "FOT-UD角ゴ_ラージ Pr6 DB";
    font-size: 13px;
    text-decoration: none;
    letter-spacing: 1px;
    line-height: 400%;
    text-align: center;
    padding-top: 7px;
    padding-right: 5px;
    padding-left: 5px;
    padding-bottom: 7px;
}
#top-head.fixed #global-nav ul li a:hover {
    color: #fff;
    background-color: #003C83;
}


/* Transition */
/*
#top-head,
#top-head .logo,
#global-nav ul li,
#global-nav ul li a {
	transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
}
*/



/* Toggle Button */
#nav-toggle {
    display: none;
    position: absolute;
    right: 20px;
    top: 10px;
    width: 34px;
    height: 36px;
    cursor: pointer;
    z-index: 101;
}

#nav-toggle div {
	position: relative;
}
#nav-toggle span {
	display: block;
	position: absolute;
	height: 2px;
	width: 100%;
	background: #ffd900; /*スマホ三本線カラー*/
	left: 0;
	-webkit-transition: .35s ease-in-out;
	-moz-transition: .35s ease-in-out;
	transition: .35s ease-in-out;
}
#nav-toggle span:nth-child(1) {
	top: 0;
}
#nav-toggle span:nth-child(2) {
	top: 11px;
}
#nav-toggle span:nth-child(3) {
	top: 22px;
}
/* ここまでメインメニュー */
.mobile-mt {
    font-size: 9px;
    font-family: "FOT-UD角ゴ_ラージ Pr6 B";
    position: absolute;
    right: 19px;
    bottom: 2px;
    font-weight: bold;
    letter-spacing: 0.5px;
    display: none;
    }


@media screen and (max-width: 899px) {
	#mobile-head .logo img {
	width: 100px;
    margin-top: 0;
}
	#main-visual {
		height: 300px;
	}


	#top-head,
	.inner {
		width: 100%;
		padding: 0;
	}
	#top-head {
		top: 0;
		position: fixed;
		margin-top: 0;
	}
	/* Fixed reset */
	#top-head.fixed {
		padding-top: 0;
        padding-left: 0;
		background: transparent;        
	}
    #top-head.fixed .inner {
	width: 100%;
    margin: 0;
    float:left;
}
	#mobile-head {
		background:#fff;
		width: 100%;
		height: 56px;
		z-index: 999;
		position: relative;
	}
	#top-head.fixed .logo,
	#top-head .logo {
		position: absolute;
		left: 13px;
		top: 13px;
		color: #333;
		font-size: 26px;
	}
    .mobile-mt {
    font-size: 9px;
    font-family: "FOT-UD角ゴ_ラージ Pr6 B";
    position: absolute;
    right: 19px;
    bottom: 2px;
    font-weight: bold;
    letter-spacing: 0.5px;
    display:inline;
    }
	#global-nav {
		position: absolute;
		/* 開いてないときは画面外に配置 */
		top: -500px;
		background:rgba(255,255,255,0.90);
		width: 100%;
		text-align: center;
		padding: 0;
		-webkit-transition: .5s ease-in-out;
		-moz-transition: .5s ease-in-out;
		transition: .5s ease-in-out;
        z-index: 999;
    }
	#global-nav ul {
		list-style: none;
		position: static;
		right: 0;
		bottom: 0;
		font-size: 11px;
        z-index: 200;
	}
	#global-nav ul li {
        width: 100%;
		float: none;
		position: static;
        text-align: left;
        font-family: "FOT-UD角ゴ_ラージ Pr6 B";
	}
	#global-nav ul li:after  {
		display: none;
	}
	#top-head #global-nav ul li a,
	#top-head.fixed #global-nav ul li a {
    width: 100%;
    box-sizing: border-box;
    display: block;
    color: #2b2b2b;
    padding-top: 18px;
    padding-right: 0;
    padding-left: 15px;
    padding-bottom: 18px;
    line-height: 120%;
    font-family: "FOT-UD角ゴ_ラージ Pr6 B";
    font-size: 12px;
    text-align: left;
	}
    #top-head #global-nav ul li a:hover,
	#top-head.fixed #global-nav ul li a:hover {
    color: #fff;
    font-family: "FOT-UD角ゴ_ラージ Pr6 B";
	}
    
	#nav-toggle {
		display: block;
	}
	/* #nav-toggle 切り替えアニメーション */
	.open #nav-toggle span:nth-child(1) {
		top: 11px;
		-webkit-transform: rotate(315deg);
		-moz-transform: rotate(315deg);
		transform: rotate(315deg);
	}
	.open #nav-toggle span:nth-child(2) {
		width: 0;
		left: 50%;
	}
	.open #nav-toggle span:nth-child(3) {
		top: 11px;
		-webkit-transform: rotate(-315deg);
		-moz-transform: rotate(-315deg);
		transform: rotate(-315deg);
	}
	/* #global-nav スライドアニメーション */
	.open #global-nav {
		/* #global-nav top + #mobile-head height */
		-moz-transform: translateY(556px);
		-webkit-transform: translateY(556px);
		transform: translateY(556px);
	}
    
    /* #global-nav スライドアニメーション ページ内リンクでも閉じる */
    .open #global-nav li a {
		/* #global-nav top + #mobile-head height */
		-moz-transform: translateY(0px);
		-webkit-transform: translateY(0px);
		transform: translateY(0px);
	}


}
