#work_head{
	font-size:0;
	margin-bottom: 20px;
}

#work_head menu li{
	float:left;
}

article{
	margin-bottom: 50px;
}

p{
	font-size: 0.8125em;
	line-height: 175%;
}

a{
	color: #0085B2;
}
a:hover{
	text-decoration: none;
	color: #0085B2;
}

.work_wrapper{
	background: url('../img/bg01.jpg') repeat-y left top;
	padding: 30px;
}

.work_ttl01{
	padding: 14px 30px;
	background: url('../img/ttl_bg01.jpg') no-repeat right;
}

.work_ttl02{
	color:#D80000;
	line-height: 175%;
	font-weight: bold;
	font-size: 1.25em;
}

.work_ttl03{
	color:#D90000;
	font-size: 1em;
	line-height: 175%;
	padding-bottom: 3px;
	border-bottom:#444 dotted 1px;
	margin-bottom: 16px;
	font-weight: bold;
}

.title h1{
	font-size: 1.4375em;
	line-height: 175%;
	font-weight: bold;
	border-top: #aaa solid 1px;
	padding:7px 0;
	color:#444;
}
.title{
	padding-bottom: 6px;
	background: url('../img/ttl_bg_02.png') no-repeat bottom left;
	margin-bottom: 25px;
}
.title h1.red{
	color:#D80000;
}


#gaiyou section{
	margin-bottom: 30px;
}
#gaiyou section:last-of-type{
	margin-bottom: 0;
}
#gaiyou section:last-of-type h2{
	margin-bottom: 30px;
}
#gaiyou #movie{
	margin-top: 50px;
	text-align: center;
}

#gaiyou .l_box,
#gaiyou .r_box{
	width: 435px;
}
#gaiyou iframe{
	display: block;
	margin:50px auto 0;
}


#kaisetu section{
	margin-bottom: 30px;
}
#kaisetu section:last-of-type{
	margin-bottom: 0;
}
#kaisetu section.border{
	padding-bottom: 30px;
	border-bottom:#CCCCCC dotted 1px;
}
#kaisetu b{
	font-size: 1.153em;
}
#kaisetu span{
	display: inline-block;
	padding-top: 5px;
	font-weight: bold;
}
#kaisetu section.bottom h1{
	font-weight: bold;
	font-size: 1em;
	margin-bottom:10px;
}
#kaisetu section.bottom p{
	margin-bottom:10px;
}


#detail .top{
	font-weight: bold;
	font-size: 1em;
	vertical-align: middle;
	margin-bottom: 30px;
}
#detail .top img{
	vertical-align: middle;
	margin-right: 27px;
}

#detail span{
	color:#D80000;
}
#detail b{
	font-size: 1.1em;
}
#detail table{
	width: 100%;
	background: #fff;
	font-size: 0.8125em;
	margin-top: 30px;
	line-height: 175%;
}
#detail table th,
#detail table td{
	border:#ccc solid 1px;
}
#detail table th{
	padding:0 15px;
	text-align: left;
	font-weight: bold;
	vertical-align: middle;
	white-space: nowrap;
}
#detail table td{
	padding: 15px 15px;
}
#detail table td a{
	margin-right: 15px;
}

#special .l_box{
	width:590px;
}

#special .l_box section{
	margin-bottom: 35px;
}
#special .l_box section:last-of-type{
	margin-bottom: 0;
}

#special .r_box{
	width:280px;
}
#special .r_box img{
	margin-bottom: 30px;
}

#special .clearfix{
	margin-top: 30px;
	padding-bottom: 30px;
	margin-bottom: 30px;
	border-bottom: #bbb dotted 1px;
}

#special .spc_ttl{
	background: #524E8B;
	padding: 15px 25px;
	margin-bottom: 17px;
}


@media screen and (max-width: 960px){
	#special .r_box{
		width:100%;
		float: none;
		text-align: center;
	}

	#special .r_box img:first-child{
		padding-right: 30px;
	}

	#special .l_box{
		width: 100%;
		float: none;
	}
}

@media screen and (max-width: 693px){
	#special .r_box img:first-child{
		padding-right: 2%;
	}
	#special .r_box img{
		width: 48%;
	}
}



@media screen and (max-width: 768px){
	#contents{
		margin-top: 73px;
	}
	menu ul li{
		width: 25%;
	}
	menu ul li img{
		width:100%;
	}

	#gaiyou .l_box,
	#gaiyou .r_box{
		width: 100%;
		float: none;
	}
	#gaiyou .l_box img,
	#gaiyou .r_box img{
		display: block;
		margin: 0 auto 15px;
	}
}

@media screen and (max-width: 667px){
	menu ul li{
		width: 50%;
	}
	menu ul li:nth-child(3){
		clear: both;
	}

	#gaiyou iframe{
		width:100%;
		height: 280px;
	}
}

@media screen and (max-width: 480px){
	#gaiyou iframe{
		height: 280px;
	}
}

@media screen and (max-width: 414px){
	.work_wrapper {
	    padding: 20px;
	}
	.work_ttl01 img{
		height: 16px;
	}
	.title h1 {
	    font-size: 0.9em;
	}
	#contents {
	    margin-top: 59px;
	}

	#gaiyou iframe{
		height: 200px;
	}

	#detail table th,
	#detail table td{
		display: block;
	}
	#detail table th{
		border-bottom:none;
	}
	#detail table th br{
		display: none;
	}
}

@media screen and (max-width: 375px){
	#gaiyou iframe{
		height: 183px;
	}
}

@media screen and (max-width: 360px){
	#gaiyou iframe{
		height: 175px;
	}
}

@media screen and (max-width: 320px){
	#gaiyou iframe{
		height: 150px;
	}
}
