
@charset "utf-8";

@import url(http://fonts.googleapis.com/css?family=Changa+One);

/*

	Primary Styles
	
*/

html,body {
	margin:0;
	padding:0;
}


body {
	width:100%;
	font-family: Helvetica,Verdana,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,"ＭＳ Ｐゴシック",sans-serif;
	font-size:14px;
	line-height:1.6;
	color:#333;
	text-align: left;
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
}

.kaso {
	background: -moz-linear-gradient(top, #9ACCCD, #FFFFFF);
	background: -webkit-gradient(linear, left top, left bottom, from(#9ACCCD), to(#FFFFFF));
	background: -o-linear-gradient(top, #9ACCCD, #FFFFFF);
	background: linear-gradient(top, #9ACCCD, #FFFFFF);
	/*IE6 IE7 */
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startcolorstr=#9ACCCD, endcolorstr=#FFFFFF));
	/* IE8 */
	-ms-filter:"progid:DXImageTransform.Microsoft.gradient(GradientType=0,startcolorstr=#9ACCCD, endcolorstr=#FFFFFF))";
	zoom: 1;
}

body#tinymce {
	width: 940px;
	background: none;
	padding: 10px;
}

h1,h2,h3,h4,h5,h6 {
	font-weight:normal;
	line-height:32px;
	margin: 0 0 8px;
}

h1 {
	color:#9ACCCD;
	border-top: 8px solid #9ACCCD;
	border-left: 1px solid #9ACCCD;
	border-bottom: 1px solid #9ACCCD;
	border-right: 1px solid #9ACCCD;
	font-size:32px;
	padding: 30px 10px;
	-moz-box-shadow: 2px 2px 3px #999;
	-webkit-box-shadow: 2px 2px 3px #999;
	line-height: 1.2;
}

h2 {
	color:#536F70;
	font-size:24px;
	font-weight:bold;
	padding:7px 0 5px 20px;
	border-bottom:3px solid #DDDDDD;
	background-image: url(http://www.sendaijikouen.com/wp-content/themes/proto/images/bar/bar1.png);
	background-repeat:no-repeat;
	background-position:0 45%;
	clear:both;
}

h3 {
	font-size:20px;
	background-image: url(http://www.sendaijikouen.com/wp-content/themes/proto/images/bar/line.png);
	background-repeat:no-repeat;
	background-position:0 45%;
	padding: 10px 0 10px 23px;
	color: #536F70;
	line-height: 1.2;
	clear:both;
}

h4 {
	font-size:15px;
	font-weight:bold;
	background: -moz-linear-gradient(top, #9ACCCD, #FFFFFF);
	background: -webkit-gradient(linear, left top, left bottom, from(#9ACCCD), to(#FFFFFF));
	background: -o-linear-gradient(top, #9ACCCD, #FFFFFF);
	background: linear-gradient(top, #9ACCCD, #FFFFFF);
	/*IE6 IE7 */
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startcolorstr=#9ACCCD, endcolorstr=#FFFFFF));
	/* IE8 */
	-ms-filter:"progid:DXImageTransform.Microsoft.gradient(GradientType=0,startcolorstr=#9ACCCD, endcolorstr=#FFFFFF))";
	border-radius: 5px;		/* CSS3草案 */
	-webkit-border-radius: 5px;	/* Safari,Google Chrome用 */
	-moz-border-radius: 5px;	/* Firefox用 */
	padding: 0 0 0 8px;
	clear:both;
}

h6 {
	font-size:16px;
}

h5 {
	font-size: 25px;
	font-weight: bold;
	border-bottom: 1px dashed #999999;
	padding: 5px 0;
}

h5 span {
	display: inline-block;
	color: #FFFFFF;
	background: #FF0000;
	padding:1px 3px;
	-moz-transform: rotate(10deg);
	-webkit-transform: rotate(10deg);
	-o-transform: rotate(10deg);
	-ms-transform: rotate(10deg);
}

a {
	color:#536F70;
}

a:visited {
	color:#770000;
}

a,a:visited {
	-webkit-transition:color 0.15s ease-out;
	-moz-transition:color 0.15s ease-out;
}

a:hover {
	color:#FF0000;
}

a:focus {
	outline:thin dotted;
}

a:hover,a:active {
	outline: 0;
}

p {
	margin:0;
	padding:0;
	font-family: Helvetica,Verdana,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,"ＭＳ Ｐゴシック",sans-serif;
}

ul,ol {
	padding:0;
	margin:0 0 20px 10px;
}

ul ul,ul ol,ol ol,ol ul {
	margin: 10px 0 0 0;
}

li {
	display:list-item;
	list-style-position:outside;
	margin:0 0 10px 2em;
	padding:0;
}

em {
	font-style:italic;
}

strong {
	font-weight:bold;
}

img {
	border:none;
}

nav {
	margin:0 0 0;
}

img.plane {
	border:none;
	padding:0;
}

/* For modern browsers */
.cf:before,
.cf:after {
    content:"";
    display:block;
    overflow:hidden;
}
 
.cf:after {
    clear:both;
}
 
/* For IE 6/7 (trigger hasLayout) */
.cf {
    zoom:1;
}

.clr {
    clear:both;
}

/*

	Layout
	
*/

.backpat {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url(http://www.sendaijikouen.com/wp-content/themes/proto/images/dot.png);
}

#container {
	width:920px;
	height:100%;
	text-align:left;
	position:relative;
	margin: 15px auto;
	padding: 0 10px;
	-moz-box-shadow: 2px 0px 3px #999,-2px 0px 3px #999;
	-webkit-box-shadow: 2px 0px 3px #999,-2px 0px 3px #999;
}

.cont_color_tr {
	background:#FFFFFF;
	background:rgba(255,255,255,0.9);
}

.cont_color_wh {
	background:#FFFFFF;
	background:rgba(255,255,255,1.0);
}

header {
	/*position:relative;*/
	height: 125px;
	padding-top: 7px;
}

header h1 {
	font-size:86%;
	font-weight: normal;
	line-height: 1.4;
	color:#FFFFFF;
	border: none;
	background:#9ACCCD;
	padding: 5px 5px 5px 5px;
	-moz-box-shadow: 0px 0px 0px #000;
	-webkit-box-shadow: 0px 0px 0px #000;
}

header img.logo {
	position:absolute;
	top:40px;
	left:10px;
}

header .headinfo {
	position:absolute;
	top:50px;
	right:10px;
	line-height:1.0;
	text-align:center;
}

header .headinfo .tel {
	font-size:160%;
	font-family: 'Changa One', cursive;
	color:#536F70;
}

#full {
	position:relative;
	margin:0 0 0 0;
}

#glo {
	width: 100%;
	height: 5px;
	background: -moz-linear-gradient(top, #FFFFFF, #536F70);
	background: -webkit-gradient(linear, left top, left bottom, from(#FFFFFF), to(#536F70));
	background: -o-linear-gradient(top, #FFFFFF, #536F70);
	background: linear-gradient(top, #FFFFFF, #536F70);
	/*IE6 IE7 */
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startcolorstr=#FFFFFF, endcolorstr=#536F70));
	/* IE8 */
	-ms-filter:"progid:DXImageTransform.Microsoft.gradient(GradientType=0,startcolorstr=#FFFFFF, endcolorstr=#536F70))";
	zoom: 1;
}

#content {
	margin:20px 0 0;
	clear:both;
}

#pan {
	text-align:right;
	margin-bottom: 15px;
}

#primary2,aside2 {
	float:right;
	display:inline;
}

#column1 #primary,
#column1 aside {
	float: none;
}

#column2 #primary,
#column3 aside {
	float: right;
}

#column3 #primary,
#column2 aside {
	float: left;
}

#primary {
	width:680px;
	display:inline;
}

#primary .date {
	font-size: 120%;
	font-weight: bold;
}

#primary p {
	padding: 0 10px;
}

#primary p.topword {
	color:#CC9900;
	font-weight:bold;
	text-align:center;
	font-size:250%;
	/*font-family:serif;*/
	text-shadow:2px 2px 2px #CCCCCC;
	margin-bottom:15px;
	line-height:1.4;
}

#primary2 img {
	max-width: 100%;
	border:1px solid #BBBBBB;
	padding:5px;
	background:#FEFEFE;
}

#primary .wp-caption img {
	border:0px solid #BBBBBB!important;
	padding:0!important;
	background:none!important;
}

#primary #map img,
img.noborder {
	border:0px solid #BBBBBB!important;
	padding:0!important;
	background:none!important;
}

img.req {
	vertical-align:-0.2em;
	margin-left:10px;
}

v-middle {
	vertical-align: middle!important;
}

aside {
	width:220px;
	margin-left:0px;
	display:inline;
}

aside img {
	max-width:220px;
	margin: 0 auto 7px;
}

aside ul {
	margin: 0 0 20px 0;
	padding: 0 0 0 0;
	list-style: none;
	line-height: 1.4;
}

aside ul li {
	margin:0;
	text-align: right;
}

aside ul li a {
	display: block;
	margin:0 0 10px 0;
	padding: 10px 15px;
	background-image: url(http://www.sendaijikouen.com/wp-content/themes/proto/images/menu/arrow_menu.png);
	background-color:#9ACCCD;
	background-repeat:no-repeat;
	background-position:0 52%;
	border:1px solid #EEEEEE;
	font-weight:bold;
	font-size:115%;
	text-indent: 10px;
}

aside ul li a,
aside ul li a:visited {
	color:#FFFFFF;
	-webkit-transition:color 0.15s ease-out;
	-moz-transition:color 0.15s ease-out;
	text-shadow:2px 2px 2px #555555;
	text-decoration:none;
}

aside ul li a:hover {
	color:#339B33;
	background-color:#FFFFEE;
	text-shadow:0px 0px 0px #555555;
}

aside p.serif {
	/*font-family:"Lora", serif;*/
	margin-bottom: 5px;
	color: #2A74CC;
	/* for modan browser */
text-shadow:0px 2px 1px white,0px 1px 1px white,1px 1px 1px white,1px 0px 1px white,2px 0px 1px white,1px -1px 1px white,1px -2px 1px white,0px -2px 1px white,-1px -2px 1px white,-2px -2px 1px white,-2px -1px 1px white,-2px 0px 1px white,-2px 1px 1px white,-1px 1px 1px white;
}

.page_back {
	text-align: right;
}

footer {
	clear:both;
	margin-top:20px;
	padding:25px 10px;
	border-top:5px solid #536F70;
	background:#9ACCCD;
}

footer .inner {
	width: 900px;
	position:relative;
	margin:0 auto;
	color:#FFFFFF;
}

footer .footinfo {
	float:left;
	margin-left:10px;
}

footer .footmenu {
	float:right;
	margin-bottom:10px;
}

footer .foottitle {
	font-size:120%;
	font-weight:bold;
}

footer .footmenu ul {
	margin:0;
	padding:0;
}

footer .footmenu ul li {
	display:inline;
	margin:0;
	padding:0 10px 0 8px;
	border-right:1px solid #FFFFFF;
}

footer .footmenu ul li:last-child {
	border-right:0px solid #FFFFFF;
}

footer .footmenu ul li a {
	color:#FFFFFF;
}

footer .footmenu ul li a:hover {
	color:#FF0000;
}

#copy {
	clear:both;
	text-align:center;
	padding:5px 0 10px;
}

ul.sitemap li a {
	padding: 5px;
	border:1px solid #999999;
	background: #FFFFCC;
}

ul.sitemap ul li a {
	padding:5px;
	border:1px solid #999999;
	background: #FFFFEE;
}



.label {
  display: inline-block;
  padding: 2px 4px;
  font-size: 11.844px;
  font-weight: bold;
  line-height: 14px;
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  white-space: nowrap;
  vertical-align: baseline;
  background-color: #999999;
  -webkit-border-radius: 3px;
     -moz-border-radius: 3px;
          border-radius: 3px;
}

.label-common {
  background-color: #468847;
}

.label-kyojyu {
  background-color: #880000;
}

.label-nicchu {
  background-color: #FF9900;
}

dl.news {
	padding: 0 15px;
}

dl.news dt {
  	/*clear: left;*/
  	float: left;
	color: #536F70;
  	width: 9em;
	font-size: 100%;
	padding: 7px 0 5px 0.8em;
	margin: 0;
	background: transparent url(/thumb/phpThumb.php?new=00469B&w=7&h=7&fltr[]=mask|/wp-content/themes/fff/images/rightarrow.png&f=png) no-repeat left 1.0em;
}

dl.news dd {
	margin-left: 0;
	padding: 7px 0.8em 5px 10em;
	border-bottom: 1px dashed #339B33;
}

.button_top,
.button_o {
	margin-top: 10px;
	padding: 5px 13px !important;
	background-color: #536F70;
	border: 3px double #FFFFFF;
}

.button_o a {
	color: #FFFFFF;
}

.button_o a:hover {
	color: #FFFF00;
}

a:hover img.hover {
	filter: alpha(opacity=80);
	-moz-opacity:0.8;
	opacity:0.8;
}

.enter {
	width:90%;
	margin:0 auto;
}

/*
	
	The Percentage Grid
	
*/

ul.yokomenu {
	margin:0;
	padding:0;
	font-size:0;
	background: url(http://www.sendaijikouen.com/wp-content/themes/proto/images/menu/menu_back.png);
}

ul.yokomenu li {
	display:inline;
	margin:0;
	padding:0;
}

ul.yokomenu li a {
	display:inline;
}

ul.yokomenu li a:hover img {
	filter:alpha(opacity=70);
	-moz-opacity:0.7;
	opacity:0.7;
}

ul.yokomenu li img {
	vertical-align: bottom;
}


/*---------------------------------
	MENU LAYOUT
	DO NOT EDIT This Section (unless you know what you are doing)
-----------------------------------*/
.menu{margin:0;padding:0;line-height:100%;
font-size:0; /* Kill white space gap between LI elements */
position:relative;z-index:1000;}

	.menu:after{clear:both;content:' ';display:block;font-size:0;line-height:0;visibility:hidden;width:0;height:0}
	.menu li{margin:0;padding:0;list-style-type:none;display:inline-block;*display:inline;position:relative;zoom:1;line-height:inherit;
	top:0;left:0;font-size:16px; /* fixed font-size to replace font-size:0 in parent .menu 1em/16px default */}
		.menu li a{margin:0;padding:0;display:block;display:inline;display:inline-block;position:relative;zoom:1;line-height:100%;top:0;left:0;}


/*--------------Sub Menus-------------------*/
	/*.menu li:hover > ul{display:block;}*/
	.menu ul{margin:0;padding:0;position: absolute;top:100%;left:0;display:none;min-width:150px;max-width:150%;*width:150px;}
	.menu ul li{display:block;width:100%;}
	.menu ul li a{display:block;}
		.menu ul ul{top:0;left:100%;}
		
/*--------------Dividers-------------------*/		
	.menu ul li.divider{border-top:1px solid #ccc;}
	.menu ul li.divider a{border-top:1px solid #fff;}


/*--------------Right---------------------*/
	.menu li.right{float:right;}

	
/*--------------Arrows-------------------*/
	.menu li.has-menu a{padding-right:25px;}
	.menu li.has-menu span.arrow{border-style:solid;border-width:5px;
	display:block;position:absolute;top:50%;right:5px;font-size:0;line-height:0;height:0;width:0;}
	.menu li li.has-menu span.arrow{margin-top:-4px;}

/*--------------Vertical Menu Layout-------------------*/
.menu.vertical{}
	.menu.vertical li{display:block;}
	.menu.vertical li a{display:block;}
	.menu.vertical ul{top:0;left:100%;}
	.menu.vertical li.has-menu span.arrow{margin-top:-4px;}

/*--------------Vertical Right Menu Layout-------------------*/
.menu.vertical.right{text-align:left;}
	.menu.vertical.right ul{top:0;right:100%;left:auto;}
	.menu.vertical.right li a{padding-left:25px;padding-right:20px;}
	.menu.vertical.right li.has-menu span.arrow{right:auto;left:5px;margin-top:-4px;}
	
	
/*---------------------------------
	MENU STYLES
	EDIT BELOW THIS LINE TO CUSTOMIZE
-----------------------------------*/
.menu{
border:1px solid #ccc;
background: #eee; /* Old browsers */
background: -moz-linear-gradient(top, rgba(252,252,252,1) 0%, rgba(224,224,224,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(252,252,252,1)), color-stop(100%,rgba(224,224,224,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(252,252,252,1) 0%,rgba(224,224,224,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(252,252,252,1) 0%,rgba(224,224,224,1) 100%); /* Opera11.10+ */
background: linear-gradient(top, rgba(252,252,252,1) 0%,rgba(224,224,224,1) 100%); /* W3C */
z-index:600;
}

	.menu li{}
	
		.menu li a{
		text-shadow:0px 1px 1px #fff;
		padding:15px 20px;
		text-decoration:none;
		font-size:0.9em;
		color: #777;
		}
		
		.menu li.current>a,
		.menu li.current>a:hover,
		.menu li.current.hover>a{
		background: rgb(122,188,255); /* Old browsers */
		background: -moz-linear-gradient(top, rgba(122,188,255,1) 0%, rgba(96,171,248,1) 44%, rgba(64,150,238,1) 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(122,188,255,1)), color-stop(44%,rgba(96,171,248,1)), color-stop(100%,rgba(64,150,238,1))); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(top, rgba(122,188,255,1) 0%,rgba(96,171,248,1) 44%,rgba(64,150,238,1) 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(top, rgba(122,188,255,1) 0%,rgba(96,171,248,1) 44%,rgba(64,150,238,1) 100%); /* Opera11.10+ */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7abcff', endColorstr='#4096ee',GradientType=0 ); /* IE6-9 */
		background: linear-gradient(top, rgba(122,188,255,1) 0%,rgba(96,171,248,1) 44%,rgba(64,150,238,1) 100%); /* W3C */
		color:#fff;
		text-shadow:0px -1px 0px rgba(0,0,0,0.2);
		cursor: default;
		}
		
		.menu li a:hover,
		.menu li.hover>a{
		background:#f5f5f5;
		}
		
	/* sub menus */
	.menu ul{
	background: #efefef;
	border:1px solid #ccc;
	}
	
	.menu ul li{}
	.menu ul li a{}
	
		/* sub-sub menus */
		.menu ul ul{}
		.menu ul ul li{}
		.menu ul ul li a{}
		
	/* arrows */
	/* arrow down */  .menu li.has-menu span.arrow{border-color-top:#ccc;border-color:#ccc transparent transparent transparent;}
	/* arrow left */  .menu li li.has-menu span.arrow, .menu.vertical li.has-menu span.arrow
					   {border-color-left:#ccc;border-color:transparent transparent transparent #ccc;}
	/* arrow right */ .menu.vertical.right li.has-menu span.arrow{border-color-right:#ccc;border-color:transparent #ccc transparent transparent;}
	
	/* dividers */ 	  .menu ul li.divider{border-top:1px solid #ccc;}
					  .menu ul li.divider a{border-top:1px solid #fff;}


/*
	
	Helper Classes
	
*/

.first {
	margin-left:0!important;
}

.last {
	margin-right:0!important;
}

.left {
	float:left;
	margin-right:1em;
}

.right {
	float:right;
	margin-left:1em;
}

.center {
	text-align:center;
}





/*
	
	Demo-Specific CSS
	
*/

.rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0 0 10px 0;
  }

.rslides li {
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
  margin: 0;
  }

.rslides li:first-child {
  position: relative;
  display: block;
  float: left;
  }

.rslides img {
  display: block;
  height: auto;
  float: left;
  width: 100%;
  border: 0!important;
  padding: 0!important;
  }

.rslides_tabs {
  list-style: none;
  padding: 0;
  background: rgba(0,0,0,.85);
  box-shadow: 0 0 1px rgba(255,255,255,.3), inset 0 0 5px rgba(0,0,0,1.0);
  -moz-box-shadow: 0 0 1px rgba(255,255,255,.3), inset 0 0 5px rgba(0,0,0,1.0);
  -webkit-box-shadow: 0 0 1px rgba(255,255,255,.3), inset 0 0 5px rgba(0,0,0,1.0);
  font-size: 18px;
  list-style: none;
  margin: 0 auto 50px;

  padding: 10px 0;
  text-align: center;
  width: 100%;
  }

.rslides_tabs li {
  display: inline;
  float: none;
  margin-right: 1px;
  }

.rslides_tabs a {
  width: auto;
  line-height: 20px;
  padding: 5px 15px;
  height: auto;
  background: transparent;
  display: inline;
  }

.rslides_tabs li:first-child {
  margin-left: 0;
  }

.rslides_tabs .rslides_here a {
  background: rgba(255,255,255,.1);
  color: #fff;
  font-weight: bold;
  }

.renraku {
	background: #FFFFEE;
	padding: 10px;
	-moz-box-shadow: 1px 1px 2px #CCCCCC;
	-webkit-box-shadow: 1px 1px 2px #CCCCCC;
	border-radius: 5px;		/* CSS3草案 */
	-webkit-border-radius: 5px;	/* Safari,Google Chrome用 */
	-moz-border-radius: 5px;	/* Firefox用 */
}

.renraku p.name {
	font-size: 160%;
	padding-left:5px!important;
	font-weight: bold;
}

.renraku p.address {
	font-size: 140%;
	padding-left:15px!important;
}

.renraku p.phone {
	font-size: 140%;
	padding-left:15px!important;
}

img.bgmaximage{
  position:fixed !important;
}

.blgcont {
	float:right;
	margin-top:10px;
	width:200px;
	height:270px;
	background:url(http://www.sendaijikouen.com/wp-content/themes/proto/images/blog_staff.png)no-repeat;
	position:relative;
}

.blgcomm {
	position:absolute;
	top: 170px;
	left: 5px;
	width: 190px;
	height:105px;
}

.blgcomm .date {
	font-weight:bold;
	font-size:110%;
	margin-left:25px;	
}

.blgcomm .title {
	font-size:90%;
	padding:0 15px!important;
	color: #0042FF;
	margin-top:-5px;
	height:2em;
	line-height:1.4;
}

.blgcomm .nickname {
	position:absolute;
	bottom: 27px;
	right: 5px;
}

.blgcomm .ichiran {
	position:absolute;
	bottom: 0px;
	right: 5px;
}

.newsbox {
	margin-right:210px;
}

/*
	
	Media Queries for Mobile Support
	
*/

/*タブレット用*/
@media only screen
and (max-width : 940px) {

	body,
	.kaso {
		background:#FFF;
	}

	.bgmaximage,
	.backpat {
		display: none;
	}

	#container {
		width:95%;
		border: 0px;
		padding: 0;
		-moz-box-shadow: 0px 0px 0px #999;
		-webkit-box-shadow: 0px 0px 0px #999;
	}
	
	.tagline p {
		font-size: 20px;
	}
	
	#full {
		width:100%;
	}

	.space {
		margin-bottom:15px;
	}

	#column1 #primary,
	#column2 #primary,
	#column3 #primary,
	#column1 aside,
	#column2 aside,
	#column3 aside {
		float:none;
	}

	aside h2 {
		margin-left:0;
	}

	#primary img {
		max-width: 100%;
		height: auto;
	}

	aside img {
		display: block;
		max-width: 100%;
		margin: 0 auto 5px;
	}

	.banner h2 span {
		font-size:50%;
		padding:20px;
	}

	footer .inner {
		width: auto;
	}

}

/*スマホ用*/
@media only screen
and (max-width : 480px) {

	header {
		height:auto;
	}

	header img.logo {
		position:static;
		width:100%;
	}

	header .headinfo {
		position:static;
		padding:10px 0;
		margin:5px 0;
		border-top:1px dashed #999999;
		border-bottom:1px dashed #999999;
	}

	#container {
		width:95%;
		font-size: 80%;
		padding: 0;
	}

	#primary img {
		max-width:98%;
	}
	.rslides img {
		max-width:100%!important;
	}
	#full {
		width:100%;
	}

	footer .footinfo,
	footer .footmenu {
		float:none;
	}

	aside h2 {
		margin-left:0;
	}

	ul.yokomenu {
		margin:0 auto;
		width:100%;
		background-size:33%;
	}

	ul.yokomenu li img {
		width:33%;
	}

	.blgcont {
	clear:both;
	}

	.newsbox {
	clear:both;
		margin-right:0;
	}

}