@charset "utf-8";

/*common setting
---------------------------------------------------------------------------*/
body {
	margin: 0;
	padding: 0;
	color: #000;
	letter-spacing: 0.1em;	
	font: 14px/2 "メイリオ", Meiryo, "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro";
}

h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form,figure {
	margin: 0;
	padding: 0;
}

ul {
	list-style-type: none;
}

img {
	border: none;
	vertical-align: bottom;
}

a {
	text-decoration: none;
}

#wrapper {
	margin: 0 auto;
	width: 900px;
}

/* flex-box */
header,
header ul{
	display: flex;
	flex-wrap: nowrap;
	justify-content: flex-end;
}
section#company div.wrap,
aside:last-of-type div {
	display: flex;
	flex-wrap: nowrap;
	
}

header > div,
aside:last-of-type div {
	flex-basis: 50%;
}
	
section#staff ul {
	margin-bottom: 20px;
	display: flex;
	justify-content: center;
    align-items: center;
}

section#staff ul li {
	margin: 0 24px;
}

/* header */
header {
	padding: 12px 7px;
}

header div#gnav ul {
	padding: 16px 0 0 0;
}

header div#gnav ul li {
	padding: 0 20px
}

header div#gnav ul li:first-of-type {
	padding-left: 0;
}

header div#gnav ul li:last-of-type {
	padding-right: 0;
}

/* index/staff */
section#staff {
	padding-top: 40px;
	background: url(../img/index/voice_bg.jpg) no-repeat top center;
	height: 535px;
	text-align: center;
}

section#staff h2,
section#staff p {
	margin-bottom: 25px;
}

/* index/guidelines */
section#guidelines {
	padding: 20px 50px 20px 50px;
	/*padding: 20px 50px 140px 50px;*/
	background-color: #f4e7ca;
}

section#guidelines h2 {
	margin-bottom: 30px;
	padding-bottom: 15px;
	border-bottom: 2px solid #c9984a;
	text-align: center;
}

section#guidelines h3 {
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: 1px dotted #c9984a;
	text-align: center;
}

section#guidelines section {
	margin-bottom: 30px;
}

section#guidelines h2 + dl dt {
	font-weight: bold;
}

section#guidelines h2 + dl dd {
	margin-bottom: 20px;	
}

section#guidelines table {
	margin: 0 auto 20px auto;
	border: 1px solid #c9984a;
	border-collapse: collapse;
	width: 800px;
}

section#guidelines table th {
	width: 200px;	
}

section#guidelines table th,
section#guidelines table td {
	padding: 10px;
	border: 1px solid #c9984a;
}

section#guidelines table dd {
	margin-bottom: 10px;
}

section#guidelines table ul {
	margin-bottom: 10px;	
}

section#guidelines ul.skill {
	margin: 0 0 0 20px;
	list-style: disc;
}

/* aside */
aside#recruit {
	position: relative;
	background: url(../img/entry_bg.jpg) no-repeat top center;
	height: 15px;	
	/*height: 292px;*/	
	text-align: center;
}

aside#recruit p {
	position: absolute;
	top: -138px;
	left: 160px;
}

/* footer */
footer {
	padding: 10px 0 20px 0;
	position: relative;
	text-align: center;
}

/* pagetop */
#pagetop {
    padding: 10px;
    position: fixed;
    bottom: 30px;
    right: 20px;
    font-size: 12px;
    -ms-filter: "alpha(opacity=90)";
    -moz-opacity: 0.9;
    -khtml-opacity: 0.9;
    opacity: 0.9;
}

/* kinshi-hp */
#hp_link {
	position: absolute;
	top: 0;
	right: 0;
}

/* グループ会社採用リンク */
/*aside:last-of-type {
	background-color: #e7d1bd;
	padding: 30px 0;
	text-align: center;
}*/

aside:last-of-type h1 {
	margin-bottom: 30px;
	font-size: 12px;
}

aside:last-of-type a {
	margin: 0 auto;
	display: block;
}

aside:last-of-type a dd {
	text-decoration: underline;
}

aside:last-of-type dt {
	margin-bottom: 10px;
}