/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
    styles: opinionated defaults
   ========================================================================== */

*{
	font-family: "Hiragino Kaku Gothic ProN","メイリオ", "Meiryo";
}

img {
    vertical-align: middle;
}

button {
    outline: none;
}

body {
	text-align: center;
	position: relative;
	margin-left: auto;
	margin-right: auto;
	min-width:1200px;
	padding: 0px;
	margin: 0px;
	font-size:16px;
	color: #8C8C8C;
	background-attachment: fixed;
	background-color: #ffffff;
	-webkit-text-size-adjust: 100%;
	
}


a:link    {COLOR: #20B1C3; TEXT-DECORATION: none;}
a:visited {COLOR: #20B1C3; TEXT-DECORATION: none;}
a:hover   {COLOR: #5190FF; TEXT-DECORATION: underline;}
a:active  {COLOR: #5190FF; TEXT-DECORATION: underline;}

	
/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}


/* ==========================================================================
   webフォント
   ========================================================================== */
/*
@font-face {
    font-family: GOTHIC;
    src: url('../font/GOTHIC.eot');
}
@font-face {
    font-family: GOTHIC;
    src: url('../font/GOTHIC.TTF') format('truetype');
}
   
@font-face {
    font-family: GOTHICB;
    src: url('../font/GOTHICB.eot');
}
@font-face {
    font-family: GOTHICB;
    src: url('../font/GOTHICB.TTF') format('truetype');
}
   
@font-face {
    font-family: ArialB;
    src: url('../font/arialbd.eot');
}
@font-face {
    font-family: ArialB;
    src: url('../font/arialbd.ttf') format('truetype');
}






/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   ローディング
   ========================================================================== */
#test{
	position:absolute;
}

h1 {
    display: none;
}


	
	
#menu{
	background-image:url(../images/menu.jpg);
	background-repeat:no-repeat;
	background-position:center top;
	width:100%;
	height:123px;
	overflow:hidden;
	}
	
#menu .inner{
	margin:0px auto 0px auto;
	width:1200px;
	}
	
#menu ul {
	padding:0px;
	margin:0px 0px 0px 0px;
	clear:both;
	list-style:none;
	}
	
#menu li {
	float:left;
	text-align:left;
	overflow:hidden;
	width:125px;
	height:100px;
	}
	
#menu .button1{
	width:299px;
	cursor:pointer;
	height:158px;
	position:absolute;
	}
	
#menu .button1 img:nth-child(1){
	position:absolute;
	opacity:0;
	}
		
#menu .button2 img:nth-child(1),#menu .button3 img:nth-child(1),#menu .button4 img:nth-child(1),#menu .button5 img:nth-child(1),#menu .button6 img:nth-child(1),#menu .button7 img:nth-child(1),#menu .button8 img:nth-child(1){
	position:absolute;
	opacity:0;
	}
	
#menu .button2 img:nth-child(4),#menu .button3 img:nth-child(4),#menu .button4 img:nth-child(4),#menu .button5 img:nth-child(4),#menu .button6 img:nth-child(4),#menu .button7 img:nth-child(4),#menu .button8 img:nth-child(4){
	margin:7px 0px 0px 8px;
	position:absolute;
	opacity:0;
	}
	
#menu .button2 img:nth-child(5),#menu .button3 img:nth-child(5),#menu .button4 img:nth-child(5),#menu .button5 img:nth-child(5),#menu .button6 img:nth-child(5),#menu .button7 img:nth-child(5),#menu .button8 img:nth-child(5){
	margin:3px 0px 0px 8px;
	}
	
	
#menu .button2{
	margin:21px 0px 0px 303px;
	cursor:pointer;
	}
	
#menu .button3{
	margin:21px 0px 0px 3px;
	cursor:pointer;
	}
	
#menu .button4{
	margin:21px 0px 0px 4px;
	cursor:pointer;
	}
	
#menu .button5{
	margin:21px 0px 0px 3px;
	cursor:pointer;
	}
	
#menu .button6{
	margin:21px 0px 0px 4px;
	cursor:pointer;
	}
	
#menu .button7{
	margin:21px 0px 0px 3px;
	cursor:pointer;
	}
	
#menu .button8{
	margin:21px 0px 0px 4px;
	cursor:pointer;
	}


#footer{
	margin:50px 0px 0px 0px;
	background-image:url(../images/footer_bg.png);
	height:209px;
	font-size:14px;
	}

#footer .page_top{
	margin:0px 0px 0px 740px;
	width:163px;
	height:0px;
	position:absolute;
	overflow:hidden;
	}
	
#footer .inner{
	margin:0px auto 0px auto;
	width:1200px;
	color:#FFFFFF;
	text-align:left;
	}
	
#footer a:link,#footer a:visited{
	color:#FFFFFF;
	}
	
#footer a:hover,#footer a:active{
	color:#B9FAFB;
	}
	
#footer .left{
	padding:30px 0px 0px 0px;
	margin:0px 0px 0px 20px;
	width:250px;
	color:#FFFFFF;
	text-align:left;
	float:left;
	}
	
#footer .inner ul {
	padding:0px;
	margin:0px 0px 0px 0px;
	clear:both;
	list-style:none;
	}
	
#footer .inner li {
	margin:10px 5px 0px 0px;
	float:left;
	}
	
#footer .inner li:nth-child(1) {
	margin:0px 5px 0px 0px;
	}
	
#footer .inner li:nth-child(2) {
	margin:0px 5px 0px 0px;
	}
	
#footer .inner li:nth-child(4) {
	margin:10px 5px 0px 0px;
	}
	
#footer .inner li:nth-child(7) {
	margin:10px 5px 0px 0px;
	}
	
#footer .inner li:nth-child(10) {
	margin:10px 5px 0px 0px;
	}
	
#footer .right{
	padding:30px 0px 0px 0px;
	margin:0px 0px 0px 0px;
	width:910px;
	color: #52A1FF;
	text-align: right;
	float:left;
	}
	
#footer .right span{
	font-size:12px;
	color:#ffffff;
	}
	
#white{
	background-color:#2fa8d7;
	}
	
	
	