@charset "utf-8";

body {
  color: #000000;
  margin: 0px;
  padding: 0px;
  font-size: 12px;
	background-color: #ffffff;
// http://hibana.rgr.jp/sozai-bg-dot.shtml#06
}

a {
  color: #454980;
}
a:hover {
  color: #000000;
  text-decoration: none;
}

#pan{
	margin-top: 5px;
	margin-bottom: 10px;
}
#pan > a{
	color: #000000;
	text-decoration: none;
}
#pan > a:hover {
  color: #454980;
}

#container {
  width: 950px;
  margin-right: auto;
  margin-left: auto;
  background-color: #F5F5F5;
  background-image: url(../images/bg-a2.png);
  background-repeat: repeat;
}

header {
  height: 160px;
  width:  950px;
  position: relative;
  background-image:  url(../images/hp_big3.jpg);
  background-repeat: no-repeat;
  border: 1px solid #808080;
  margin-bottom: 10px;
  border-radius: 5px;
	color: #808080;
}

header img {
	margin-top: 80px;
  margin-left: 10px;
}

header h1, h2 {
  margin: 0 10px;
	font-size: 80%;
}

#main {
  width: 680px;
  float: right;
  padding-bottom: 30px;
}

#main h2 {
  background-color: #808080;
  background-image: url(../images/line.jpg);
  background-repeat: repeat-x;
  border-radius: 5px;
  border: 1px solid #808080;
  color: #ffffff;
  clear: both;
  font-size: 100%;
  margin-right: 10px; 
  padding: 3px 0px 3px 10px;
}

div.main_sumary {
  padding: 10px 30px;
  font-size: 100%;
}

#main img{
	width: 500px;
  border-radius: 5px;
}

#sub {
	float: left;
	width: 240px;
	margin-left: 10px;
	padding-bottom: 10px;
}


#sub h2 {
  margin: 0px;
	padding: 4px 10px 0 20px;
	font-size: 100%;
	color: #ffffff;
	background-color: #C8C299;
	height: 20px;
	border-bottom: 1px solid #808080;
	border-radius: 5px 5px 0 0;
	background-image: url(../images/a13-19.png);
	background-repeat: no-repeat;
	background-position: 2% 40%;
}

#sub .box1 {
	border: 1px solid #808080;
	border-radius: 5px;
	background-color: #fcfcfc;
	margin-bottom: 10px;
	background-image: #F5F5F5 url(../images/A5+.png)
  background-repeat: repeat;
}

#sub .sumary {
	padding: 10px 10px 10px 10px;
}

#sub p {
  margin: 0px;
  padding: 0px;
}

footer {
	clear: both;
	text-align: center;
	padding-top: 15px;
	padding-bottom: 15px;
}

#pagetop {
	clear: both;
	text-align: right;
	padding-right: 10px;
}

.f-bold{
	font-weight: bold;	
}

.f-lg{
	font-size: 110%;	
}

/**********
// mobile
**********/
@media (max-width : 480px){

	#container {
		width: auto;
	}

	header {
		position: static;
		height: auto;
		background-image:  url(../images/hp_bg_mobile.jpg);
	}

	header img {
		margin-top:2px;
	}

	header h1, h2 {
		font-size: 80%;
		margin: 0;
	}

	#contents {
		margin-right: 6px;
		margin-left: 6px;
	}

	#main {
		float: none;
		width: auto;
	}

	#main h2 {
		padding: 0px 0px 0px 10px;
	}

	div.main_sumary {
	  padding: 10px;
	  font-size: 100%;
	}

	#main img{
		width: 200px;
	  border-radius: 5px;
	}

	#sub {
		float: none;
		width: auto;
		margin: 0;
	}
}

