@charset "UTF-8";


/**************************************************************
CosMedic Labs [css/default.css]
13.12.29
**************************************************************/

/* 目次
-------------------------------------------------------------
1) float, clear
2) clearfix
3) navi
4) margin
5) fonts
6) body, container header, footer
7) pagetop
-------------------------------------------------------------*/


/* 1) float, clear
-------------------------------------------------------------*/
.left {	float: left; }
.right { float: right; }
.clear { clear: both; }

/* 2) clearfix
-------------------------------------------------------------*/
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
	font-size: 0;
    clear: both;
    visibility: hidden;
}
 
.clearfix {
    display: inline-table;
    min-height: 1%;
}
 
/* Hides from IE-mac */
* html .clearfix {
    height: 1%;
}
.clearfix {
    display: block;
}
/* End hide from IE-mac */ 

/* 3) navi
-------------------------------------------------------------*/
.nv {
	background-repeat: no-repeat;
	background-position: left top;
}

.nv a {
	display: block;
	font-size: 0;
	line-height: 0;
	text-indent: -9999px;
	outline: none;
	background-repeat: no-repeat;
	background-position: left bottom;
	opacity: 0;
}

.nv a:hover {
	opacity: 1;
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

/* 4) margin
-------------------------------------------------------------*/
.mbtm0 {
	margin-bottom: 0 !important;
}

.mbtm1 {
	margin-bottom: 1em !important;
}

/* 5) fonts
-------------------------------------------------------------*/
.english {
	font-family: Helvetica, Arial, sans-serif;
	letter-spacing: 1px;
}

.lightGray {
	color: #777;
}

/* 6) body, container, header, footer
-------------------------------------------------------------*/
body {
	background: url(../images/bg.jpg) repeat;
}

/* #container */
#container {
	width: 960px;
	margin: 30px auto 100px;
}

/* header */
header h1 {
	text-align: center;
	height: 49px;
}

header nav {
	width: 960px;
	margin-top: 20px;
	background-color: #7e8ade;
}

header nav li {
	float: left;
}

header nav li a {
	float: left;
	width: 140px;
	height: 40px;
	color: #fff;
	padding-top: 10px;
	text-align: center;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

header nav li a:hover {
	color: #fff;
	background-color: #4657a4;
}

header nav li#fb a {
	background: url(../images/fb.gif) no-repeat 108px center;
	letter-spacing: normal;
}

header nav li#fb a:hover {
	background: #4657a4 url(../images/fb.gif) no-repeat 108px center;
}

/* footer */
footer {
	width: 100%;
	background-color: #f5f0e6;
	padding: 15px 0 20px;
}

footer ul,
footer p {
	width: 960px;
	margin: 0 auto;
	text-align: center;
}

footer li {
	display: inline;
	line-height: 28px;
	padding-left: 22px;
	padding-right: 19px;
	border-left: #777 solid 1px;
}

footer li.noline {
	border-left: none;
}

footer li a:hover {
	text-decoration: underline;
}

footer p.english {
	font-size: 12px;
	letter-spacing: normal;
	color: #888;
	margin-top: 12px;
}

/* 7) pagetop
-------------------------------------------------------------*/
.pagetop {
	position: fixed;
	bottom: -40px;
	right: 50px;
}
.pagetop a {
	display: block;
	width: 60px;
	height: 40px;
	background-color: #000;
	border-radius: 8px 8px 0 0;
	text-align: center;
	color: #fff;
	font-size: 24px;
	text-decoration: none;
	line-height: 40px;
	opacity: 0.3;
}