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

/*===============================================
●画面の横幅が769px以上
===============================================*/
@media screen and (min-width: 769px){
	
	html {
    overflow: auto;

}
	
	body {
	overflow-x: hidden;
    position: relative;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size: 0.96em;
	line-height: 1.6em;

}

#header {
	background-image: url(img/hed_bac.jpg);
	background-repeat: no-repeat;
	background-position: center top;
	
	
	}

header {
	width: 980px;
	margin-right: auto;
	margin-left: auto;
	height: 100px;
}

nav {
	float: right;
	width: 700px;
	color: #EEE;
}


nav ul {
	margin-top: 60px;	
}
nav li {
	display: inline-block;
	margin-left: 30px;
}



nav a {
	position: relative;
	display: inline-block;
	transition: .3s;
	color: #EEE;
	text-decoration: none;
}
nav a::after {
	position: absolute;
	bottom: 0;
	left: 50%;
	content: '';
	width: 0;
	height: 1px;
	background-color: #FFFFFF;
	transition: .3s;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);	
}
nav a:hover::after {
	width: 100%;
}


#photo {
	background-repeat: no-repeat;
	background-position: center center;
	height: 340px;
	margin-top: 0;
	margin-right: -500%;
	margin-bottom: 0;
	margin-left: -500%;
	padding-top: 0;
	padding-right: 500%;
	padding-bottom: 0;
	padding-left: 500%;
	background-color: #EBEBEB;
	}
	
	
#photo_top img{
	height: auto;
	width: 100%;
	margin-right: auto;
	margin-left: auto;
}	
	
article {
	width: 980px;
	margin-right: auto;
	margin-left: auto;
	background-image: url(img/siro_kadomaru.png);
	background-repeat: no-repeat;
	background-position: center top;
	}
	
	
.icon  {
	text-align: center;
	width: 20%;
	float: left;
	padding-top: 30px;
}	

#press {
	float: left;
	width: 49%;
	background-color: #9cbb22;
	height: auto;
	margin-right: 1%;
	margin-bottom: 30px;
}
#press img {
	width: 100%;
	height: auto;
	vertical-align: bottom;
}


#news {
	float: left;
	width: 49%;
	background-color: #9cbb22;
	height: auto;
	margin-left: 1%;
	margin-bottom: 30px;
}
#news img {
	width: 100%;
	height: auto;
	vertical-align: bottom;
}

.box_2_1 {
	float: left;
	width: 50%;
}

.box_2_2 {
	float: left;
	width: 42%;
	padding: 4%;
}

.demo01 th  { width: 25%; text-align: left; }

footer {
	background-color: #EEE;
	width: 100%;
	margin-right: auto;
	margin-left: auto;
	padding-top: 30px;
	padding-bottom: 40px;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #CCC;
}

#footer {
	width: 980px;
	margin-right: auto;
	margin-left: auto;

}

#footer img {
	float: left;
	margin-right: 30px;
}	

}
/*===============================================
●画面の横幅が768pxまで
===============================================*/
@media screen and (max-width: 768px){

body {
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	line-height: 1.6em;
}

#header {

		}

header {
	background-color: #9cbb22;
	width: 100%;
	text-align: center;
}

header img {
	height: auto;
	width: 90%;
	margin-right: auto;
	margin-left: auto;
}


nav {
	width: 90%;
	height: auto;
	margin-right: auto;
	margin-left: auto;
}


nav ul {
	padding: 0;
	margin-top: 20px;
	margin-right: 0;
	margin-left: 0;
	margin-bottom: 20px;
}
nav li {
	list-style-type: none;
	margin: 1%;
	padding: 3%;
	width: 41%;
	float: left;
	border: 1px solid #CCC;
	background-color: #FFF;
}


article {
	width: 90%;
	margin-right: auto;
	margin-left: auto;
	background-color: #FFF;
	}
	
.icon  {
	text-align: center;
	width: 50%;
	float: left;
	padding-top: 30px;
	font-size: 0.8em;
}


#press {
	width: 94%;
	background-color: #9cbb22;
	height: auto;
	margin-right: auto;
	margin-left: auto;
	padding: 3%;
}
#press img {
	width: 100%;
	height: auto;
	vertical-align: bottom;
}

#news {
	width: 94%;
	background-color: #9cbb22;
	height: auto;
	margin-right: auto;
	margin-left: auto;
	padding: 3%;
}
#news img {
	width: 100%;
	height: auto;
	vertical-align: bottom;
}

#photo_top {
	display: none;
}	

  .demo01 { margin: 0 -10px; }
    .demo01 th,
    .demo01 td{
    width: 100%;
    display: block;
    border-top: none;
    }
  .demo01 tr:first-child th { border-top: 1px solid #ddd; }
  
 
 footer {
	background-color: #EEE;
	width: 100%;
	margin-right: auto;
	margin-left: auto;
	padding-top: 30px;
	padding-bottom: 40px;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #CCC;
}
  
  #footer {
	width: 90%;
	margin-right: auto;
	margin-left: auto;

}

#footer img {
	display: none;
}


}


.sp0 {
	clear: both;
	height: 0px;
}


.sp30 {
	clear: both;
	height: 30px;
}


.sp50 {
	clear: both;
	height: 50px;
}

.sp100 {
	clear: both;
	height: 100px;
}

.text_shiro {
	color: #F7F7F7;
}

.text_aka {
	color: #7db340;
}


.button {
	display: inline-block;
	width: 100%;
	height: 54px;
	text-align: center;
	text-decoration: none;
	line-height: 54px;
	outline: none;
	background-color: #333;
	color: #fff;
}
.button::before,
.button::after {
	position: absolute;
	z-index: -1;
	display: block;
	content: '';
}
.button,
.button::before,
.button::after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition: all .3s;
	transition: all .3s;
}
.button:hover {
	background-color: #C71422;
}


section table { width: 100%; }
section th, section td  { padding: 10px; border: 1px solid #ddd; }
section th  { background: #f4f4f4; }


