/* デモなので簡易的なリセット */
@import "reset.css";

#qtranslate-chooser{
	margin:-10px 20px 0 0;
	float:right;
	font-size:12px;
}

#qtranslate-chooser li{
	float:left;
	padding:0 20px 0 20px;
	background:#ececec;
	border-left:1px solid #fff;
}

*::after,
* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
body {
	background: #fff;
	color:#434343;
	font-family: "游ゴシック", YuGothic, "メイリオ", Meiryo, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "ＭＳ Ｐゴシック", sans-serif;
}

a{
	text-decoration:none !important;
}

.link:link {
	color: #ff0000;
	text-decoration: none;
	border-bottom:2px solid #ff0000;
	padding-bottom:3px;
}
.link:visited {
	color: #ff0000;
	text-decoration: none;
}
.link:hover,
.link:active {
	color: #f29b76;
	border-bottom:2px solid #f29b76;
	padding-bottom:3px;
	text-decoration: none;
}

#main-contents {
	width:100%;
	margin:70px auto 0 auto;
	position: relative;
}



/* ▲▲▲ここまではナビゲーションに関係ない設定▲▲▲ */


.inner {
	width: 1100px;
	margin: 0 auto;
}
.inner:after {
	content: "";
	clear: both;
	display: block;
}

/* header */
#top-head {
	font-size: 14px;
	top: -100px;
	position: absolute;
	width: 100%;
	margin: 100px auto 0;
	padding: 30px 0 0;
	z-index: 999;
	letter-spacing: 4px;
	background: url(../img/header_bg.png) no-repeat top center;
	background-size:100% 4px;
}
#top-head a,
#top-head {
	color: #727171;
	text-decoration: none;
}
#top-head a:hover{
	color: #727171;
}
#top-head .inner {
	position: relative;
}
#top-head .logo {
	float: left;
}
#top-head .logo img {
	width:360px;
}
#global-nav ul {
	list-style: none;
	position: absolute;
	right: 0;
	bottom: 0;
	font-size: 14px;
}
#global-nav ul li {
	float: left;
	position: relative;
}


#global-nav ul li a {
	padding: 0 15px;
}

/* Btn Hover */

#global-nav ul li:after {
	position: absolute;
	content: "";
	display: block;
	width: 100%;
	height: 2px;
	bottom: -5px;
	transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
}
#global-nav ul li:hover:after {
	background: #727171;
	bottom: -5px;

}


/* Fixed */
#top-head.fixed {
	margin-top: 0;
	top: 0;
	position: fixed;
	padding-top: 15px;
	background: #fff;
	height: 70px;
	transition: top 0.65s ease-in;
	-webkit-transition: top 0.65s ease-in;
	-moz-transition: top 0.65s ease-in;
	border-top:none;
}
#top-head.fixed .logo {
}
#top-head.fixed .logo img{
	width:280px;
}
#top-head.fixed #global-nav ul li a {
	color: #727171;
	padding: 0 15px;
}

/* Fixed Btn Hover */
#top-head.fixed #global-nav ul li:after {
	bottom: -10px;
	color:#727171;
}
#top-head.fixed #global-nav ul li:hover:after {
	background: #727171;
	bottom: -10px;
	color:#727171;
}
#top-head.fixed #global-nav ul li a:hover {
	color:#727171;
}


/* 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: 25px;
	height: 36px;
	cursor: pointer;
	z-index: 101;
}

#nav-toggle div {
	position: relative;
}
#nav-toggle span {
	display: block;
	position: absolute;
	height: 1px;
	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: 9px;
}
#nav-toggle span:nth-child(3) {
	top: 18px;
}


#f_menu{
	width:100%;
	background:#000;
	color:#fff;
}

#f_menu ul{
	width:1100px;
	margin:0 auto;
}
#f_menu ul:after { content:"."; display:block; height:0; clear:both; visibility:hidden; }
#f_menu ul li{
	float:left;
	font-size:13px;
	line-height:24px;
	padding:15px 52px 15px 0;
	letter-spacing: 2px;
}


#f_menu ul li a{
	color:#fff;
	text-decoration:none;
}

#f_menu ul li a:hover{
	color:#a0a0a0;
	text-decoration:none;
}



#footer{
	width:100%;
	margin:0 auto;
	background:#004986;
}

#footer #footer_add {
	width:1100px;
	margin:0 auto;
	padding:30px 0 60px 0;
}

#footer p.logo {
	padding-bottom:10px;
}

#footer p.logo img{
	width:250px;
}



#footer p.add {
	font-size:14px;
	letter-spacing: 3px;
	color:#fff;
	font-weight:normal;
}

#footer p.copyright {
	width:1100px;
	margin:0 auto;
	padding-bottom:60px;
	text-align:right;
}




/* ==========================

　　page-top

========================== */
#page-top {
	position: fixed;
	bottom: 70px;
	right: 20px;
}
#page-top a {
	background: #c1272d;
	text-decoration: none;
	color: #fff;
	width: 60px;
	padding: 15px 0;
	text-align: center;
	display: block;
	font-size:11px;
	font-weight:bold;
	line-height:15px;
}

#page-top a:hover {
	text-decoration: none;
	background: #c1272d;
}

.new_line{
	display:block;
}

/* 

@media screen and (max-width: 1100px) {
	article {
		padding: 0 30px;
	}
	.inner {
		width: 100%;
		padding: 0 20px;
	}
	#global-nav ul li a {
		padding: 0 20px;
	}
	#top-head.fixed #global-nav ul li a {
		padding: 0 15px;
	}
}
 */


@media screen and (max-width: 640px) {
#main-contents {
	width:100%;
	margin:30px auto 0 auto;
	position: relative;
}


	#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;
	}


	#mobile-head {
		width: 100%;
		height: 52px;
		z-index: 999;
		position: relative;
	background: url(../img/header_bg.png) no-repeat top center #fff;
	background-size:100% 4px;
	}
	#top-head.fixed .logo,
	#top-head .logo {
		position: absolute;
		left: 13px;
		top: 13px;

	}

	#top-head .logo img,
	#top-head.fixed .logo img {
	width:60%;
	}
	#global-nav {
		position: absolute;
		/* 開いてないときは画面外に配置 */
		top: -500px;
		background: #333;
		width: 100%;
		text-align: center;
		padding: 10px 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;
		font-size:13px !important;
	}
	#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:18px 0 !important;
	}
	#nav-toggle {
		display: block;
		margin-top:5px;
	}
	/* #nav-toggle 切り替えアニメーション */
	.open #nav-toggle span:nth-child(1) {
		top: 11px;
		-webkit-transform: rotate(45deg);
		-moz-transform: rotate(45deg);
		transform: rotate(45deg);
	}
	.open #nav-toggle span:nth-child(2) {
		width: 0;
		left: 50%;
	}
	.open #nav-toggle span:nth-child(3) {
		top: 11px;
		-webkit-transform: rotate(-45deg);
		-moz-transform: rotate(-45deg);
		transform: rotate(-45deg);
	}
	/* #global-nav スライドアニメーション */
	.open #global-nav {
		/* #global-nav top + #mobile-head height */
		-moz-transform: translateY(556px);
		-webkit-transform: translateY(556px);
		transform: translateY(556px);
	}

#f_menu ul{
	width:94%;
	margin:0 3%;
	padding:15px 0;
}
#f_menu ul:after { content:"."; display:block; height:0; clear:both; visibility:hidden; }
#f_menu ul li{
	float:left;
	font-size:10px;
	line-height:24px;
	padding:0 10px 0 10px;
	letter-spacing: 2px;
}


#f_menu ul li a{
	color:#fff;
	text-decoration:none;
}

#f_menu ul li a:hover{
	color:#a0a0a0;
	text-decoration:none;
}


#footer{
	width:100%;
	margin:0 auto;
	padding-top:30px;
}

#footer p.logo {
	padding-bottom:10px;
}

#footer p.logo img{
	width:60%;
}

#footer #footer_add {
	width:94%;
	margin:0 auto;
	padding:0 0 30px 0;
}

#footer p.logo {
	padding-bottom:10px;
}



#footer p.add {
	font-size:11px;
	letter-spacing: 1px;
	color:#fff;
}

#footer p.copyright {
	width:100%;
	margin:0 auto;
	padding:0 10px 30px 0;
	text-align:center;
}

#footer p.copyright img{
	width:90%;
}

/* ==========================

　　page-top

========================== */
#page-top {
	position: fixed;
	bottom: 70px;
	right: 0;
}
#page-top a {
	background: #c1272d;
	text-decoration: none;
	color: #fff;
	width: 60px;
	padding: 15px 0;
	text-align: center;
	display: block;
	font-size:11px;
	font-weight:bold;
	line-height:15px;
}

#page-top a:hover {
	text-decoration: none;
	background: #c1272d;
}

.new_line{
	display:inline;
}

#qtranslate-chooser{
	margin:-36px 50px 0 0;
	float:right;
	font-size:10px;
	letter-spacing: 0px;
		z-index: 999;
		position: relative;
}

#qtranslate-chooser li{
	float:left;
	padding:4px 5px 4px 5px;
	background:#ececec;
	border-left:1px solid #fff;
}

}



.mb05 { margin-bottom:5px !important; }
.mb10 { margin-bottom:10px !important; }
.mb20 { margin-bottom:20px !important; }
.mb30 { margin-bottom:30px !important; }
.mb40 { margin-bottom:40px !important; }
.mb50 { margin-bottom:50px !important; }
.mb60 { margin-bottom:60px !important; }
.mb70 { margin-bottom:70px !important; }
.mb80 { margin-bottom:80px !important; }
.mb90 { margin-bottom:90px !important; }
.mb100 { margin-bottom:100px !important; }

.mt05 { margin-top:5px !important; }
.mt10 { margin-top:10px !important; }
.mt20 { margin-top:20px !important; }
.mt30 { margin-top:30px !important; }
.mt40 { margin-top:40px !important; }
.mt50 { margin-top:50px !important; }
.mt60 { margin-top:60px !important; }
.mt70 { margin-top:70px !important; }
.mt80 { margin-top:80px !important; }
.mt90 { margin-top:90px !important; }
.mt100 { margin-top:100px !important; }

