@charset "utf-8";

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-style:normal;
	font-weight: normal;
	font-size: 100%;
	vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

html{
    overflow-y: scroll;
	font-family:'Lucida Grande',
	'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3',
	Meiryo, メイリオ, sans-serif;
	font-size: 14px;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

input, textarea,{
	margin: 0;
	padding: 0;
}

ol, ul{
    list-style:none;
}

table{
    border-collapse: collapse; 
    border-spacing:0;
}

caption, th{
    text-align: left;
}

a:focus {
	outline:none;
}

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

.clearfix {
	min-height: 1px;
}

* html .clearfix {
	height: 1px;
	/*\*//*/
	height: auto;
	overflow: hidden;
	/**/
}

.both{
	clear:both;
}

.inline_block {  
	display: inline-block;  
	*display: inline;  
	*zoom: 1;  
}

img {
	max-width:100%;
}

table {
	width:100%;
}

a,a:hover {
	-webkit-transition: 0.2s;
	-moz-transition: 0.2s;
	-o-transition: 0.2s;
	transition: 0.2s;
	text-decoration: none;
}

a img:hover {
	filter: alpha(opacity=60);
	-moz-opacity:0.6;
	opacity:0.6;
}

body {
	background-color: #ffffff;
}

#container {
	/*width: 1130px;*/
	width: 320px;
	line-height: 0;
	background-color: #ffffff;
	margin: 0px auto 0 auto;
}
/*@media only screen and (min-device-width:320px) and (orientation:portrait) {*/
	#container { width: 320px; }
/*}*/
@media only screen and (max-device-width:480px) and (orientation:landscape) {
	#container { width: 480px; }
}
.m {
    font-family:
   "ヒラギノ明朝 ProN W6",
   "HiraMinProN-W6",
   "HG明朝E",
   "ＭＳ Ｐ明朝",
   "MS PMincho",
   "MS 明朝",
   serif;
}

header {
	position: relative;
}
header p {
	position: absolute;
	top: 3px;
	text-align: center;
	font-size: 50%;
	line-height: 1.0;
	width: 100%;
}
.h2_block {
	background: url(../../images/recruit/bg_h2_1.jpg) no-repeat;
	background-size: contain;
	width: 320px;
	height: 148px;
	position: relative;
}
.h2_block h2 {
	position: absolute;
	top: 10px;
	font-size: 120%;
	color: #3f1f00;
	font-weight: bold;
	line-height: 1.2;
	display: inline;
	width: 100%;
	text-align: center;
}
.h2_block p {
	line-height: 1.4;
	color: #000000;
	position: absolute;
	top: 60px;
	padding: 0 20px;
	font-size: 90%;
}
.h2_block.b2 {
	background: url(../../images/recruit/bg_h2_2.jpg) no-repeat;
	background-size: contain;
}
.h2_block.b2 h2 {
	top: 12px;
}
.h2_block.b3 {
	background: url(../../images/recruit/bg_h2_3.jpg) no-repeat;
	background-size: contain;
	height: 143px;
}
.h2_block.b3 h2 {
	top: 12px;
}
#link {
	padding: 0 2px;
}
#link a {
	display: block;
	margin-bottom: 1px;
}
#link a img {
	width: 317px;
}

/*@media only screen and (min-device-width:320px) and (orientation:portrait) {*/
	#link {
		width: 320px;
	}
	#menu {
		width: 318px;
		padding: 10px 0 0;
	}
	#menu ul {
		display: inline-block;
		padding: 0;
		margin: 0;
		list-style: none;
		text-align: center;
	}
	#menu ul li {
		display: inline-block;
		margin-left: 1px;
		margin-bottom: 1px;
		text-align: center;
	}
	#menu ul li.home {
		width: 100%;
	}
	#menu ul li a {
		display: inline-block;
		width: 158px;
	}
	footer {
		background: url(../../images/recruit/bg_footer.jpg) no-repeat;
		background-size: contain;
		width: 320px;
		height: 31px;
		position: relative;
	}
	footer p {
		position: absolute;
		top: 20px;
		width: 100%;
		text-align: center;
		color: #ffffff;
		font-size: 50%;
	}
	#go_top {
		display: block;
		position: fixed;
		right: 3px;
		bottom: 5px;
	}
	#go_top a img {
		width: 50px;
		height: 50px;
		filter:alpha(opacity=60);
		-moz-opacity: 0.6;
		opacity: 0.6;
	}
/*}*/
@media only screen and (max-device-width:480px) and (orientation:landscape) {
.h2_block {
	background: url(../../images/recruit/bg_h2_1.jpg) no-repeat;
	background-size: contain;
	width: 480px;
	height: 222px;
	position: relative;
}
.h2_block h2 {
	position: absolute;
	top: 20px;
	font-size: 140%;
	color: #3f1f00;
	font-weight: bold;
	line-height: 1.2;
	display: inline;
	width: 100%;
	text-align: center;
}
.h2_block p {
	line-height: 1.4;
	color: #000000;
	position: absolute;
	top: 100px;
	padding: 0 30px;
	font-size: 120%;
}
.h2_block.b2 {
	background: url(../../images/recruit/bg_h2_2.jpg) no-repeat;
	background-size: contain;
}
.h2_block.b2 h2 {
	top: 22px;
}
.h2_block.b3 {
	background: url(../../images/recruit/bg_h2_3.jpg) no-repeat;
	background-size: contain;
	height: 214px;
}
.h2_block.b3 h2 {
	top: 22px;
}
	#link {
		width: 480px;
	}
	#link a img {
		width: 476px;
	}
	#menu {
		display: table-cell;
		width: 478px;
		padding: 10px 1px 0 1px;
	}
	#menu ul li {
		float: left;
		width: 237px;
		margin-left: 1px;
		margin-bottom: 1px;
	}
	#menu ul li a {
		display: block;
	}
	footer {
		background: url(../../images/recruit/bg_footer.jpg) no-repeat;
		background-size: contain;
		width: 480px;
		height: 46px;
		position: relative;
	}
	footer p {
		position: absolute;
		top: 30px;
		width: 100%;
		text-align: center;
		color: #ffffff;
		font-size: 50%;
	}
	#go_top {
		display: block;
		position: fixed;
		right: 3px;
		bottom: 5px;
	}
	#go_top a img {
		width: 50px;
		height: 50px;
		filter:alpha(opacity=60);
		-moz-opacity: 0.6;
		opacity: 0.6;
	}
}
