@charset "UTF-8";
/* CSS Document */

p {
	color:#545354;
	font-size:1.15em;
	line-height:1.45em;
	margin-top:10px;
	margin-bottom:10px;
}

h1 {
	font-size:2.5em;
	font-weight:normal;
	color:#545354;
	line-height:1.2em;
	margin-bottom: 18px;
    margin-top: 2px;
}


#greeting {
	background-color:#FFFFFF;
	margin-top: 17px;
}

#greetingmiddle {
	width: 820px;
	margin-right:auto;
	margin-left:auto;
	padding: 0 70px 10px 70px;
}

#moviemiddle{
	width: 960px;
	height:500px;
	background: url('background.png') no-repeat;
}

#movie img {
	margin: 190px 0 0 380px;
}

#contentsmiddle{
	width: 960px;
	margin-right:auto;
	margin-left:auto;
}

.section{
	background-color:#eae4df;
	padding: 19px 0 17px 0;
	width:960px;
}

.sectionblock{
	width:290px;
	float:left;
	padding: 0 30px 0 0;
}

.sectionblock.last{
	padding: 0 30px 0 0;
}


.imagesection{
	background-color:#eae4df;
	padding: 64px 0px 20px 0px;
	width:960px;
}

.imageblock{
	width:300px;
	height:434px;
	float:left;
	padding-right:0;
	padding-left:0;
	margin-bottom: 30px;
	background-color:#fff;
	margin-right:30px;
	padding-bottom:8px;
}

.imageblock:nth-child(2n){
	margin-right:30px;
	}

.imageblock:nth-child(2n+1){
	clear:none;
}


.imageblock:nth-child(3n){
	padding-right:0;
	margin-right:0;
	}

.imageblock:nth-child(3n+1){
	clear:both;
}

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

.imagebox{
	width:276px;
	height:267px;
	padding-left:12px;
	padding-right:12px;
	vertical-align:middle;
}

.image{
	text-align:center;
}


body.project .caption{
	width:260px;
	height:260px;
	float:left;
}

body.project .imageblock{
	width:960px;
}


body.project .imagebox{
	width:300px;
	float:left;
	padding-left:0px;
	padding-right:13px;
}

body.project .image{
	margin-bottom: 20px;
}


#contentsmiddle.contact{
	width: 488px;
}

textarea {
	width:488px;
	height:100px;
}

.caption2{
	width:250px;
	padding:26px 0px 0px 20px;
}

.capandimage{
	width:960px;
}

.imagebox2{
	width:660px;
	padding-right:30px;
	float:left;
}