/* CSS Document */
/* header */
#top-head {
	font-size: 14px;
	top: -100px;
	position: absolute;
	width: 100%;
	margin: 100px auto 0;
	padding: 0px 0 0;
	line-height: 1;
	z-index: 999;
	background-color: #FFF;
	border-bottom: 2px solid #0a5aaf;
}
#top-head i {
	font-style: normal;
	margin-right: 8px;
}
#top-head a,
#top-head {
	color: #003399;
	text-decoration: none;
	padding-bottom: 20px;
}
#top-head .inner {
	position: relative;
}
.headnav .inner {
	white-space: nowrap;
overflow: hidden;
  text-overflow: ellipsis;}


#top-head .logo {
	float: left;
}
#global-nav ul {
	list-style: none;
	position: absolute;
	right: 0;
	bottom: 0;
	font-size: 14px;
}
#global-nav ul li {
	float: left;
	position: relative;
	padding-top: 8px;
	padding-bottom: 8px;
}
#global-nav ul li a {
	padding: 0 20px;
}
#global-nav ul li a:hover {
	text-decoration: none !important;
}

/* Btn Hover */
#global-nav ul li:after {
	position: absolute;
	content: "";
	display: block;
	width: 100%;
	height: 3px;
	bottom: -20px;
	transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
}
#global-nav ul li:hover:after {
	background: #003399;
	bottom: -10px;
}


/* Fixed (スクロール)*/
#top-head.fixed {
	margin-top: 0;
	top: 0;
	position: fixed;
	height: 80px;
	background: #fff;
	background: rgba(255,255,255,1);

	transition: top 0.3s ease-in;
	-webkit-transition: top 0.3s ease-in;
	-moz-transition: top 0.3s ease-in;
}
#top-head.fixed .logo {
}
#top-head.fixed img {
	width: 50%;
	height: auto;
}
#top-head.fixed #global-nav ul li a {
	color: #333;
	padding: 0 20px;
}

/* Fixed Btn Hover */
#top-head.fixed #global-nav ul li:after {
	bottom: -10px;
}
#top-head.fixed #global-nav ul li:hover:after {
	background: #0062B8;
	bottom: -0px;
}


/* 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: 12px;
	top: 14px;
	width: 34px;
	height: 36px;
	cursor: pointer;
	z-index: 101;
}

#nav-toggle div {
	position: relative;
}
#nav-toggle span {
	display: block;
	position: absolute;
	height: 4px;
	width: 100%;
	background: #666;
	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;
}

.headnav {
	padding-top: 10px;
	padding-bottom: 10px;
}
.headnav p{
	display: inline-block;
	float: left;
	font-size: 80%;
}



ul.topnav-icon{
    text-align:right;
}

ul.topnav-icon li{
    display:inline; 
    padding:0 10px;
}
.login a{
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	background-color: #72b0f2;
	font-weight: bold;
	color: #FFF !important;
}
/*フッター*/
.ft01 {
	margin-right: 1%;
	margin-left: 1%;
	width: 23%;
	float: left;
	margin-bottom: 3%;
}
.ft01 ul li {
	padding-left: 12px;
	background-image: url(../images/pic01.png);
	background-repeat: no-repeat;
	background-position: 2px 9px;
	color: #FFF;
	font-size: 90%;
}
.ft01 a {
	color: #FFF;
}
.fttitle {
	font-size: 100%;
	box-shadow: 0px 1px 0px 0px rgb(51,51,51);
	-webkit-box-shadow: 0px 1px 0px rgb(51,51,51);
	-moz-box-shadow: 0px 1px 0px rgb(51,51,51);
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #000;
	font-weight: bold;
	background-image: url(../images/pic02.png);
	background-repeat: no-repeat;
	background-position: left 5px;
	padding-left: 12px;
	color: #FFF;
}

.ft01 .bgnon {
	background-image: none;
	font-size: 200%;
}
.ft01 .bgnon a:hover {
	color: #ccc;
}

@media screen and (max-width: 1199px) {
#top-head {
	background-color: #FFF !important;
}
ul.topnav-icon span{
	display: none;
}
	#top-head .logo img{
	width: 70%;
	height: auto;
}
}


@media screen and (max-width: 767px) {
	#top-head,
	.inner {
		width: 100%;
		padding: 0;
	}
	#top-head {
	top: 0;
	position: fixed;
	margin-top: 0;
	}
	/* Fixed reset */
	#top-head.fixed {
		padding-top: 0;
		background: transparent;
	}
	.headnav {
	background: #fff;
	position: fixed;
	z-index: 1000;
	overflow: hidden;
	width: 100%;
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 20px;
}

	#mobile-head {
	background: #fff;
	width: 100%;
	height: 56px;
	z-index: 999;
	position: relative;
	margin-top: 20px;
	}
	#top-head.fixed .logo,
	#top-head .logo {
		position: absolute;
		left: 13px;
		top: 13px;
		color: #333;
		font-size: 26px;
	}
	#global-nav {
		position: absolute;
		top: -500px;
		background: #333;
		width: 100%;
		text-align: center;
		padding: 0px 0;
		-webkit-transition: .5s ease-in-out;
		-moz-transition: .5s ease-in-out;
		transition: .5s ease-in-out;
	}
	#global-nav ul {
		list-style: none;
		position: static;
		right: 0;
		bottom: 0;
	}
	#global-nav ul li {
	float: none;
	position: static;
	padding: 0px;
	}
	#global-nav ul li:hover {background-color: #999;}
	#global-nav ul li:after  {
		display: none;
	}
	#top-head #global-nav ul li a,
	#top-head.fixed #global-nav ul li a {
	width: 100%;
	display: block;
	color: #fff;
	padding: 14px 0;
	border-bottom: 1px dotted #999;
	}
	#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);
	}

	.login a{
	width: 100%;
	margin-right: auto;
	margin-left: auto;
	background-color: #333 !important;}
	.login a:hover{background-color: #999 !important;}
	.ft01 {
	margin-right: 1%;
	margin-left: 1%;
	width: 48%;
}
}

