﻿/* CSS レイアウト */

/*pageHeader==========================================================================================================
*/


@media (max-width: 380px){
body{
	width:100%;
	height:900px;
	margin:0 0 0 0;
	padding: 0 0 0 0;
	overflow-y: scroll;
}

#hd {
    width: 100%;
    height: 80px;
    margin-left:auto;
    margin-right:auto;
}
.inner {
    width: 100%;
    height: 80px;
    margin-left:auto;
    margin-right:auto;
	padding-top:6px;
    overflow: visible
}
.logo {
    display: block;
    width: 100%;
    height: 28px;
    float: none;
    margin-top: 0px;
    margin-bottom: 0px
}
.logo a{
    display: block;
    width: 100%;
    height: 28px;
    float: none;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0px
}
.logo a:before {
    content: "";
    display: block;
    width: 100%;
    height: 28px;
    background-image: url(../img/khs-logo.png);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 72%
}
.gnav {
    display: inline-block;
    width: 100%;
    height: 42px;
    position: relative;
    margin-top:1px;
    margin-bottom:1px;
   	border-top: 1px solid;
	border-bottom: 1px solid;
}
.gnavinner {
    max-width: 300px;
    height: 42px;
	list-style-type:none;
	text-decoration:none;
    margin-top:0px;
    margin-bottom:0px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 0px;
	padding-right: 0px;
} 
.gnav ul li {
	list-style-type:none;
	text-decoration:none;	
    float: left;
    margin-top: 0px;
}
.gnav ul li a {
	text-decoration:none;
	color:#2F322A;
	display:block;
    margin-top: 0px;
}
.about a{
    width: 100px;
    height: 42px;
    position: relative
}
.about a:before {
    content: "";
    display: inline-block;
    width: 100px;
    height: 42px;
    background-image: url(../img/about.png);
    background-size: 100%;
    background-repeat: no-repeat;
    font-size:0px;
    position: absolute;
    left: 0;
    top: 0
}
.service a {
    width: 100px;
    height:42px;
    position: relative
}
.service a:before {
    content: "";
    display: inline-block;
    width: 100px;
    height: 42px;
    background-image: url(../img/mgcut.png);
    background-size: 100%;
    background-repeat: no-repeat;
	font-size:0px;
    position: absolute;
    left: 0;
    top: 0
}
.recruit a{
    width:100px;
    height:42px;
    position: relative
}
.recruit a:before {
    content: "";
    display: inline-block;
    width: 100px;
    height: 42px;
    background-image: url(../img/mrecruit.png);
    background-size: 100%;
    background-repeat: no-repeat;
    font-size:0px;
    position: absolute;
    left: 0;
    top: 0
}
.header_tel img {
    content: "";
    width: 0px;
    height: 0px;
    float: right;
    margin-right: 0;
    padding-right: 0;
    font-size:0px;
    position: absolute;
    right: 0;
    top: 0
}
}


@media (min-width: 381px){
#hd {
    width: 100%;
    height: 110px;
    margin-left:auto;
    margin-right:auto;
}
.inner {
    width: 100%;
    height: 104px;
    margin-left:auto;
    margin-right:auto;
    overflow: visible
}
.logo {
    display: block;
    width: 100%;
    height: 50px;
    float: none;
    margin-top: 0px;
    margin-bottom: 0px
}
.logo a{
    display: block;
    width: 400px;
    height: 40px;
    float: none;
    margin-top: 5px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5px
}
.logo a:before {
    content: "";
    display: block;
    width: 400px;
    height: 40px;
    background-image: url(../img/khs-logo.png);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 90%
}
.gnav {
    display: inline-block;
    width: 100%;
    height: 54px;
    position: relative;
    margin-top:1px;
    margin-bottom:1px;
   	border-top: 1px solid;
	border-bottom: 1px solid;
}
.gnavinner {
    width: 400px;
    height: 54px;
	list-style-type:none;
	text-decoration:none;
    margin-top:0px;
    margin-bottom:0px;
	margin-left: auto;
	margin-right: auto;
	padding-left: auto;
	padding-right: auto 
} 
.gnav ul li {
	list-style-type:none;
	text-decoration:none;	
    float: left;
    margin-top: 0px;
}
.gnav ul li a {
	text-decoration:none;
	color:#2F322A;
	display:block;
    margin-top: 0px;
}
.about a{
    width: 122px;
    height:54px;
    position: relative
}
.about a:before {
    content: "";
    display: block;
    width: 122px;
    height: 54px;
    background-image: url(../img/about.png);
    background-size: 100%;
    background-repeat: no-repeat;
    font-size:0px;
    position: absolute;
    left: 0;
    top: 0
}
.service a {
    width: 122px;
    height:54px;
    position: relative
}
.service a:before {
    content: "";
    display: block;
    width: 122px;
    height: 54px;
    background-image: url(../img/mgcut.png);
    background-size: 100%;
    background-repeat: no-repeat;
	font-size:0px;
    position: absolute;
    left: 0;
    top: 0
}
.recruit a{
    width: 122px;
    height:54px;
    position: relative
}
.recruit a:before {
    content: "";
    display: block;
    width: 122px;
    height: 54px;
    background-image: url(../img/mrecruit.png);
    background-size: 100%;
    background-repeat: no-repeat;
    font-size:0px;
    position: absolute;
    left: 0;
    top: 0
}
.header_tel img {
    content: "";
    display: inline-block;
    width: 200px;
    height: 24px;
    float: right;
    margin-right: 0;
    padding-right: 0;
    font-size:0px;
    position: absolute;
    right: 0;
    top: 0
}
}


@media (min-width: 1024px){
#hd {
    width: 1024px;
    height: 100px;
    margin-left:auto;
    margin-right:auto;
}
.telHeader {
	display:block;
    width: 1024px;
    height: 30px;
    margin-left:auto;
    margin-right:auto;
    overflow: visible;
    margin-top: 0px;
}
.telimg {
	display:block;
    background-image: url(../img/tel.png);
    background-repeat: no-repeat;
    width: 225px;
    height: 27px;
    margin-left: auto;
    background-size: 100%
}
.inner {
    display: inline-block;
    width: 1024px;
    height: 60px;
    margin-left:auto;
    margin-right:auto;
    overflow: visible;
    margin-top: 5px;
    margin-bottom :5px
}
.logo {
    width: 441px;
    height: 43px;
    float: left;
}
.logo a{
    width: 441px;
    height: 43px;
    margin-left:0;
    margin-right:auto;
}
.logo a:before {
    content: "";
    display: block;
    width: 441px;
    height: 43px;
    background-image: url(../img/khs-logo.png);
    background-repeat: no-repeat;
    background-position: 0% 0%;
    background-size: 100%
}
.gnav {
    display: inline-block;
    width: 445px;
    height: 60px;
    position: relative;
    float: right;
	margin-left: auto;
	margin-right: 0px;
	border-left: auto;
	border-right: 0px; 
	padding-left: auto;
	padding-right: 0px; 
   	border-top: 0px;
	border-bottom: 0px;
}
.gnavinner {
    width: 405px;
    height: 60px;
	list-style-type:none;
	text-decoration:none;
    float: right;
    margin-top:0px;
    margin-bottom:0px;
	margin-left: auto;
	margin-right: 0px;
	border-right: 0px;
	padding-left: auto;
	padding-right: 0px 
} 
.gnav ul li {
	list-style-type:none;
	text-decoration:none;	
    float: left;
}
.gnav ul li a {
	text-decoration:none;
	color:#2F322A;
	display:block;
}
.about a{
    display: inline-block;
    width: 135px;
    height:60px;
    position: relative;
    margin-left: auto;
}
.about a:before {
    content: "";
    width: 135px;
    height: 60px;
    background-image: url(../img/about.png);
    background-size: 100%;
    background-repeat: no-repeat;
    font-size:0px;
    position: absolute;
    left: 0;
    top: 0
}
.service a {
    display: inline-block;
    width: 135px;
    height:60px;
    position: relative
}
.service a:before {
    content: "";
    width: 135px;
    height: 60px;
    background-image: url(../img/mgcut.png);
    background-size: 100%;
    background-repeat: no-repeat;
	font-size:0px;
    position: absolute;
    left: 0;
    top: 0
}
.recruit a{
    display: inline-block;
    width: 135px;
    height:60px;
    position: relative
}
.recruit a:before {
    content: "";
    width: 135px;
    height: 60px;
    background-image: url(../img/mrecruit.png);
    background-size: 100%;
    background-repeat: no-repeat;
    font-size:0px;
    position: absolute;
    left: 0;
    top: 0
}

}



/*pageMain==========================================================================================================
*/

@media (max-width: 380px){
main{
	width:100%;
	height:1800px;
	margin:0;
	padding:0;
}

.backmsg{
	position:absolute;
	height:140px;
	right:5px;
	top:0px;
	margin-top:auto;
	margin-bottom:auto;
	padding-top:0;
}
.backmsg img{
	min-hight:50px;
	height:140px;
	top:0;
	margin-top:0;
	padding-top:0;
}
.row{
    width: 100%;
    height: 70px;
    margin-left:auto;
    margin-right:auto;
    margin-top:   30px;
	margin-bottom:30px;
}
#main-img  {
    max-width: 100%;
    height: 100%;
    margin-top:0px;
    margin-left:0px;
    margin-right:0px;
	padding:0 0 0 0;
}
.komento{
	width: 100%;
	height:120px;
	overflow: hidden;
	margin-left: auto;
	margin-right:auto;
}
.komentoimg{
	width: 100%;
	height: 105px;
	margin-top : 15px;
	margin-left: auto;
	margin-right:auto;
	overflow: hidden;
    background-image: url(../img/komento.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 70%
}
.pickup-title{
	width: 100%;
	height:120px;
	overflow: hidden;
	margin-top:50px;
	margin-left: auto;
	margin-right:auto;
}
.pickup-titleimg{
	width: 100%;
	height: 25px;
	margin-top : 50px;
	margin-left: auto;
	margin-right:auto;
	overflow: hidden;
    background-image: url(../img/pickuptitle.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 70%
}

}


@media (min-width: 381px){
main{
	width:100%;
	height:1100px;
	margin:0;
	padding:0;
}

.row{
    width: 100%;
    height: 100px;
    margin-left:auto;
    margin-right:auto;
    margin-top:   30px;
	margin-bottom:30px;
}

.backmsg{
	position:absolute;
	height:400px;
	right:25px;
	top:0px;
}

.backmsg img{
	min-hight:50px;
	height:400px;
	top:0;
}
#main-img  {
    width: 100%;
    height: 100%;
    margin-top:5px;
    margin-left:auto;
    margin-right:auto;
}
.komento{
	width: 100%;
	height:190px;
	overflow: hidden;
	margin-left: auto;
	margin-right:auto;
}
.komentoimg{
	max-width: 420px;
	height: 190px;
	margin-top : 10px;
	margin-left: auto;
	margin-right:auto;
	overflow: hidden;
    background-image: url(../img/komento.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 80%
}
.pickup-title{
	width: 100%;
	height:150px;
	overflow: hidden;
	margin-top:50px;
	margin-left: auto;
	margin-right:auto;
}
.pickup-titleimg{
	max-width: 350px;
	height: 30px;
	margin-top : 80px;
	margin-left: auto;
	margin-right:auto;
	overflow: hidden;
    background-image: url(../img/pickuptitle.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 80%
}

}


@media (min-width: 1024px){

main{
	width:100%;
	height:1400px;
	margin:0;
	padding:0;
}

.kaisyaannai{
	font-size:30px;
	text-align:center;
	margin-top:50px;
	margin-bottom:50px;
	color:#143ad1;
}

.bosyuyoko{
	font-size:30px;
	text-align:center;
	margin-top:50px;
	margin-bottom:50px;
	color:#ff6600;
}

#main-img container {
    width: 1024px;
    height: 1024px;
    margin-left:auto;
    margin-right:auto;
}

.backmsg{
	position:absolute;
	right:30px;
	top:0px;
}

.backmsg img{
	min-hight:50px;
	height:100%;
	top:0;
}

.row{
    width: 1024px;
    height: 200px;
    margin-left:auto;
    margin-right:auto;
    margin-top:   50px;
	margin-bottom:50px;
}

h3{
	font-size:40px;
	font-weight:200;
	margin-top:20
}
.komento{
	width: 100%;
	height:300px;
	overflow: hidden;
	margin-left: auto;
	margin-right:auto;
}
.komentoimg{
	max-width: 420px;
	height: 190px;
	margin-top : 15px;
	margin-left: auto;
	margin-right:auto;
	overflow: hidden;
    background-image: url(../img/komento.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%
}

.content{
	width:1024px;
	hight:900px;
	margin-left: auto;
	margin-right:auto;
}

.pickup-title{
	width: 1024px;
	height:50px;
	overflow: hidden;
	margin-top:10px;
	margin-left: auto;
	margin-right:auto;
	background-color:#999999
}
.pickup-titleimg{
	width: 350px;
	height: 30px;
	margin-top : 10px;
	margin-left: auto;
	margin-right:auto;
	overflow: hidden;
    background-image: url(../img/pickuptitle.png);
    background-repeat: no-repeat;
    background-position: center;
}

.work-contents {
	display:block;
	width:  1024px;
	height: 400px;
	padding-bottom: 100px;
  	margin-left: auto;
	margin-right:auto;
	background-color:#999999
}
.work-p-box {
	display:inline-block;
	width: 1024px;
	height: 400px;
	margin-left: auto;
	margin-right:auto;
	background: right 310px #f0f0f0;
}

.work-p-box .box {
  position: relative;
  float: left;
  width: 250px;
  margin-left: 0px;
  padding: 2px 2px 2px;
}
.work-p-box .box .a{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;	
}
.work-contents .box .thumbnail {
  text-align: center;
  padding: 2px;
  background-color: #fff;
}
.work-contents .box p span {
  display: none;
}

.box-kome{
	max-width:100px;
	height:25px;
}

}

/*pageFooter
==========================================================================================================
*/

/* --- clearfix --- */
.clearFix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.clearFix {
min-height: 1px;
}

/* main画像下の説明文 */
.main-setsumei1 {
	width: 100%;
	background-color:#d8e4bc;
	font-size: medium;
	text-align: inherit;
}

.all {
	max-width: 900px;
	margin: auto;
	}

.shoukai-sentence{
	font-family: HGｺﾞｼｯｸM;
	text-align:center;
	font-size:medium;
	border-bottom-style: solid;
	border-bottom-width: 1px;
}

.oshirase-title {
	font-family: HGｺﾞｼｯｸM;
	font-size: medium;
	white-space: nowrap;
	border-bottom-style: solid;
	border-bottom-width: 1px;
}
.oshirase-naiyou {
	font-family: HGｺﾞｼｯｸM;
	font-size: small;
	white-space: nowrap;
}

.kojin-naiyou{
	font-family: HGｺﾞｼｯｸM;
	font-size: small;
	word-wrap: break-word;
	padding-left: 1em;
	margin-left: 10px;
}

.main-link {
    color: #fff;
    font-family:"ＭＳ Ｐゴシック";
    font-size:small;
    font-weight: bold;
    text-shadow: 2px 2px 1px #76933c,
    -2px 2px 1px #76933c,
    2px -2px 1px #76933c,
    -2px -2px 1px #76933c;
    text-align:center;
    width:50%;
}
#img-box{
  position: relative;
  /*background-color:#33cc66;*/
}
#img-box-mini{
  position: absolute;
  bottom: 20px;
  left: 0px;
  width:100%;
  color: #fff;
 }
#img-box-text{
    color: #fff;
    font-family:"ＭＳ Ｐゴシック";
    font-size:small;
    font-weight: bold;
    text-shadow: 2px 2px 1px #76933c,
    -2px 2px 1px #76933c,
    2px -2px 1px #76933c,
    -2px -2px 1px #76933c;
    text-align:center;
  width: 100%;
}
.com-gaiyou {
	border-bottom-style: solid;
	border-bottom-width: 1px;
	padding-bottom: 1px;
}
.com-gaiyou-table {
	text-align: center;
	border-width: 0px;
}
.com-gaiyou-koumoku {
	border-left-style: none;
	border-left-width: medium;
	border-right-style: none;
	border-right-width: medium;
	border-top-style: solid;
	border-top-width: 1px;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	background-color: #CCCCCC;
	font-size: small;
}
.com-gaiyou-naiyou {
	border-left-style: none;
	border-left-width: medium;
	border-right-style: none;
	border-right-width: medium;
	border-top-style: solid;
	border-top-width: 1px;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	font-size: small;
	text-align:left;
}
.contact-naiyou {
	margin-left: 40px;
}
.contact-mail {
	font-family: HGｺﾞｼｯｸM;
	text-align:left;
	border-width: 0px;
}





/* --- ナビゲーションバー --- */
.nav2 {
width: 100%; /* ナビゲーションの幅 */
<!--//background-color: #f9f9f9; /* ナビゲーションの背景色 */ //-->
background-color: #a6a6a6; /* ナビゲーションの背景色 */
border-top: 1px #cccccc solid; /* 上境界線 */
border-bottom: 1px #cccccc solid; /* 下境界線 */
font-size: 80%;
font-weight:bold;
margin-left: 0px;
margin-right:0px; /* センターに配置 */
}

/* --- メニューエリア --- */
.nav2 ul.nl {
width: 312px; /* メニューの幅 */
margin: 0;
padding: 0;
background-color: #a6a6a6; /* メニューの背景色 */
border-right: 1px #cccccc solid; /* メニューの右境界線 */
list-style-type: none;
text-align: center;
}

/* --- メニュー項目 --- */
div.nav2 ul.nl li {
width: 30%; /* 項目の幅 */
float: left;
}

/* --- リンク --- */
div.nav2 ul.nl li a {
display: block;
position: relative; /* IE6用 */
padding: 8px 1px; /* リンクエリアのパディング（上下、左右） */
border-left: 1px #cccccc solid; /* リンクエリアの左境界線 */
text-decoration: none; /* テキストの下線（なし） */
color: #ffffff; /* 文字色 */
}
/* --- ポイント時の設定 --- */
div.nav2 ul.nl li a:hover {
background-color: #6a6a6a; /* ポイント時の背景色f0ffff */
text-decoration: none; /* テキストの下線（なし） */
<!--//text-decoration: underline;//--> /* テキストの下線（あり） */
}

div.copyright {
	font-size:small;
	text-align:right;
	white-space:nowrap;
}



.itemList li {
	width: 25%;
	margin-bottom: 2%;
	padding: 0 0.98%;
}


/* テーブルを分解するためのレスポンシブ対応 */
table.sample {
   display: block;
   border: none;
   width:100%
}
table.sample tr {
   display: inline;
}
table.sample td {
   display: inline-block;
   margin-bottom: 8px;
}

.sagyounaiyou {
	font-family:"ＭＳ Ｐゴシック";
	font-size:small;
	text-align: center;
}
