/*
Theme Name: rtrim ver.04
Version: 4.0
Author: Yuki Itoh
Author URI: http://www.rtrim.jp/
*/

html, body, div, span, applet, object, iframe, strong,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, input, textarea, legend, caption, 
tbody, tfoot, thead, table, label, tr, th, td{
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-style: inherit;
	font-size: 100%;
	font-weight: normal;
	font-family: inherit;
	vertical-align: baseline;
	list-style:none;
	}

html {height: 100%;}

body {
	font: 100%/1.8 Verdana, Arial, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', Osaka, 'ＭＳ Ｐゴシック', sans-serif;
	background: url(../img/ver04_bg.gif) #fff repeat center top;
	color: #333;
	text-shadow: #fff 1px 1px 1px;
	width:100%;
	height: 100%;
}

a img {
	border: none;
}
a:link, a:visited, a:hover, a:active, a:focus {
	color: #333;
	text-decoration: none;
}

#container {
	min-height: 100%;
	_height: 100%;
}

.wrapper {
	position: relative;
	width: 960px;
	margin: 0 auto;
}

#header {
	height: 251px;
	background: url(../img/ver04_header.gif) repeat center top;
}

#logo {
	width: 255px;
	height: 128px;
	overflow: hidden;
	text-indent: -9999px;
	display: block;
	margin: 0 auto;
	background: url(../img/ver04_logo.png);
}

#glonavi {
	position: relative;
	overflow: hidden;
	margin-top: 50px;
}

#glonavi ul {
	position: relative;
	left: 50%;
	float: left;
}

#glonavi p {
	position: relative;
	left: -50%;
	float: left;
}

#glonavi ul li {
	position: relative;
	left: -50%;
	float: left;
	margin-right: 50px;
}

.ui-tabs-selected {
	border-bottom: 3px solid #fff;
}

#sign {
	height: 268px;
	overflow: hidden;
	text-indent: -9999px;
	margin: 0 auto;
	background: url(../img/ver04_sign.png);
}

.contents {
	font-size: 80%;
}

.container {
	min-height: 476px;
	padding: 50px 0 136px 0;
}

#about .contents,
#contact .contents,
#blog .contents {
	background: url(../img/ver04_con_bg.gif);
	width: 938px;
	height: 608px;
	padding: 11px;
}

.contents .left {
	width: 469px;
	float: left;
	padding: 20px 0;
}

.contents .right {
	width: 469px;
	float: right;
	padding: 20px 0;
	text-shadow: 1px 1px 0 #ccc!important;
}

#blog .contents .right {
	text-align: right;
}

#blog .contents img {
	padding: 1px;
	width: 300px;
	height: 186px;
	border: 1px solid #999;
	background: #fff;
}

.contents h2,
.contents h3 {
	padding: 0 15px;
	font: italic 140%/2.0 Georgia, serif;
	margin-bottom: 10px;
}

.blue {
	border-left: 5px solid #bef6f1;
}

.pink {
	border-left: 5px solid #efbef6;
}

.yellow {
	border-left: 5px solid #f5f6be;
}

.green {
	border-left: 5px solid #bef6cb;
}

.orange {
	border-left: 5px solid #f6dabe;
}

.blue-right {
	border-right: 5px solid #bef6f1;
	text-align: right;
}

.pink-right {
	border-right: 5px solid #efbef6;
	text-align: right;
}

.yellow-right {
	border-right: 5px solid #f5f6be;
	text-align: right;
}

.green-right {
	border-right: 5px solid #bef6cb;
	text-align: right;
}

.orange-right {
	border-right: 5px solid #f6dabe;
	text-align: right;
}

.contents p {
	padding: 0 20px;
	margin: 0 0 20px;
}

.contents .pro {
	float: right;
	margin: 0 20px;
	padding: 0;
}

.contents .pro h4 {
	padding-left: 10px;
	margin: 0;
	line-height: 1.4;
}

.contents .pro p {
	padding-left: 10px;
	margin-bottom: 10px;
	line-height: 1.4;
}

.media-link {
	width: 37px;
	height: 37px;
	margin-bottom: 12px;
}

#footer {
	height: 86px;
	margin-top: -86px;
	background: url(../img/ver04_footer.gif) repeat center top;
	font-size: 80%;
}

.mess {
	font-family: Georgia, serif;
	font-weight: bold;
	height: 66px;
	padding: 10px 0;
}

.mess img {
	float: left;
	margin-right: 20px;
}

#copy {
	position: absolute;
	bottom: 0px;
	right: 0px;
}


#mailform {
	margin: 20px auto;
	width: 350px;
}

.email, .name {
    color: #ccc;
	margin-bottom: 15px;
}

.email, .name, .text, textarea, .dropdown{
	border:1px solid #c6dade;
	padding: 5px;
	background: #fff;
	border-radius: 5px;

	/* Webkit */
	-webkit-border-radius: 5px;
	-webkit-box-shadow: 1px 1px 1px #eaf5f8;

	/* Firefox */
	-moz-border-radius: 5px;
	-moz-box-shadow: 1px 1px 1px #eaf5f8;
}

#send{background: url(../img/submit.png) no-repeat center top; width: 150px; height: 37px; text-align: center; line-height: 35px; font-size: 120%; color: #437182; margin: 20px auto; cursor: pointer;}
#send:hover{background-position: center bottom;}


/* Clearfix
=================================*/

.clearfix:after {
 content: "."; 
 display: block; 
 height: 0; 
 clear: both; 
 visibility: hidden;
}

.clearfix {
	display: inline-block;
}

/* Hide from Mac IE \*/
.clearfix {
	display: block;
}
* html .clearfix {
	height: 1%;
}
/* Hide from Mac IE */

.margin-clear {
	margin: 0!important;
}