/**************************************************************
	基本ベース ベースからは真ん中010189,中央の左はSを半分,右はBを半分,左端はS:10,B:100,右端はS:100,B:10
	Adobe ColorのHSBの値 SとBの両方が100になっていたりすると、まず派手すぎたり明るすぎる、両方を掛けて8000以下
	Sが80ならBが100という感じ。ただBが95以上であれば、Sを下げても色はなかなか緩みませんので、Sは70以下にした方が無難です。
	http://www.color-fortuna.com/blog/webcolor/color-planning-with-kuler.html
	https://color.adobe.com/ja/create/color-wheel/
	http://www.dasplankton.de/ContrastA/
	#EDD6D6, #EF8F8F, #010189, #771919, #190505
**************************************************************/
/***********************
	全体領域
***********************/
/*
	iPhone,iPadは、html（Window全体がスクロールしていて、位置固定のposition: fixed要素が有りその中に入力要素を
	配置すると、入力フォーカスが当たった場合position: absoluteに変更されてしまうバグがある
	その為に、windowは動かさずにhtmlに囲まれた要素の中をスクロールさせる、
	また、Chrome、Safariはbodyがスクロールされるとscrolltopが0のまま設定も出来ないため、body直下にスクロール要素と
	なるdiv（#overwrap）を配置して囲みこちらをスクロール要素として取得、設定を行う。
*/
html body{
	height: 100%;
}
body {
	background: url('../images/headbg.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: left bottom;
    min-height: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 0;
	color: #242424;
	font-family: "メイリオ",Meiryo,"ヒラギノ角ゴPro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", Arial, Helvetica, Verdana, sans-serif;
	font-size:18px;
/*
text-shadow:
-1px -1px 2px #88888,
1px -1px 2px #88888,
1px 1px 2px #88888,
-1px 1px 2px #88888;
*/
	
	text-align:center;
	-webkit-text-size-adjust: 100%;	/* iPhoneでランドスケープでも文字の大きさがが変わらないようにする*/
	/* background: linear-gradient(-45deg, rgba(246, 255, 0, .8), rgba(255, 0, 151, .8)); */
	overflow-y: auto;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
* {
	margin: 0;
	padding: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	 box-sizing: border-box;
	zoom: 1;
}
html {
  width: 100%;
}
ul {
  list-style: none;
}

img {
	display: none;
	position: fixed;
	top: 0px;
	left: 0px;
	vertical-align: bottom;
	overflow: hidden;
	transform: translate3d(0, 0, 0);
}
a {
	text-decoration:none;
	color: #333333;
	cursor: pointer;
}
a:hover {
	color: #fe975f;
	-webkit-transition: color 0.3s;
	-moz-transition: color 0.3s;
	-ms-transition: color 0.3s;
	transition: color 0.3s;
}
p {
	text-align: left;
	margin: 0 10px 10px 10px;
}
main, article, aside, header, details, footer, nav, section, summary {
	display: block;
}
.titlebox {
	float: left;
}
/* ---------------------------------
    clearfix 
----------------------------------- */
.clearfix:after {
	display: block;  /* ブロックレベル要素に */
	clear: both;
	height: 0;
	visibility: hidden;
	content: ".";  /* 新しい要素を作る */
}
.clearfix {
	min-height: 1px;
}
* html .clearfix {
	height: 1px;
	/*\*//*/
	height: auto;
	overflow: hidden;
	/**/
}
.c_yellow {
	color: #f1c40f !important;
}
/***********************
	ナビ領域
***********************/
#wrap {
	background: rgba(0,0,0,.3);
	position: absolute;
	top: 50%;
	width: 100%;
	height: 100px;
	margin-top: -50px;
	z-index: 100;
}
#center {
	width: 900px;
	margin: 0 auto;
}
h1 {
	float:left;
	font-weight: normal;
	font-size: 16px;
	color: #fff;
	margin: 24px 5px 0;
}
.companyname{
	font-size: 28px;
	text-align: left;
}
.companyname a{
	color: #ffffff;
}
#mainmenu {
/*	left:0; 親からの絶対位置にするにはleftを指定しない */
    z-index: 9997;
	display: block;	/* 表示に */
	float: right;
/*	top:50px; */
}
#mainmenu ul li{
	position: relative;
	display: inline-block;
	text-align: center;
	line-height: 80px;
}
#mainmenu ul li a{
	display:block;
	padding:10px 20px;
	font-size: 18px;
	color: #ffffff;
    -webkit-transition: background-color 0.5s;
	-moz-transition: background-color 0.5s;
	-ms-transition: background-color 0.5s;
	transition: background-color 0.5s;
}
#mainmenu ul li a:hover{
	background: rgba(0,0,255,0.5);
}
footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	text-align: center;
	color: #ffffff;
	z-index: 101;
	font-size: 12px;
}
/**************************************************************
	レスポンシブ対応高さ:360px
**************************************************************/
@media (max-height: 360px) {
	footer {
		position: static;
	}
}
