@charset "UTF-8";


/* ====== タブレット用の設定 ====== */
@media only screen and (min-width: 600px) and (max-width:899px) {

div#container	{width: 100%;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	padding: 0 10px;
	background-position: -3px 380px, 100px 460px}

header#pageheader img	{width: 100%;
	height: auto}

nav ul	{font-size: 10px}

nav ul li a	{width: 100px}

}


/* ====== スマートフォン用の設定 ====== */
@media only screen and (max-width:599px) {

div#container	{width: 100%;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	padding: 0 10px;
	background-position: -3px 220px, 100px 280px}

header#pageheader img	{width: 100%;
	height: auto}

nav ul	{font-size: 8px}

nav ul li a	{width: auto;
	display: inline-block;
	padding: 0 3px}

header#pageheader h1	{font-size: 24px;
	margin-right: 15px}

header#pageheader h2	{font-size: 10px;
	text-align: left;
	padding: 0}

article header h1	{float: none}

article header p	{margin: 0}

article section:nth-of-type(1n) figure
	{float: none;
	margin: 0;
	text-align: center;
	display: block}

article section:nth-of-type(1n) figcaption
	{text-align: center;
	margin-bottom: 15px}

}



body {
  background-image: url(images4/images-2.jpg);
  font-size: 0.95em;
  background-repeat: repeat;
  background-position: top;
}


/* コンテナ */
div#container	{width: 760px;
	margin-left: auto;
	margin-right: auto}

/* ヘッダー ここから*/
div#header	{background-color: #017acd;
	background-image: url(images4/header-1.jpg);
	padding: 28px 20px 16px}

div#header h1	{margin: 0;
color: #FFFF66;
}

div#header p	{color: #FFFFFF;
	font-size: 1.2em;
	margin: 0}
/* ヘッダー ここまで*/

/* PageBottomへのリンクテキスト　ここから */

#gotoBottom {
  clear: both;
  font-size: 1em;
  text-align: right;
  text-transform: uppercase; 
  height: 20px; 
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  padding-top: 0px;
  padding-right: 0px;
  padding-bottom: 0px;
  padding-left: 0px;  
}

/* PageBottomへのリンクテキスト　ここまで */


/* パンくずリスト */
p#bread	{font-size: 0.9em;
	margin-top: 3px;
	margin-bottom: 30px
    text-decoration: none;
    }


/* メイン */
div#main	{width: 574px;
	float: left}

/* コンテンツ */
div#content	{width: 388px;
    text-align: justify;
	float: right;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 25px}

div#content h2	{background-color: #014471;
	background-image: url(images4/bar-green2.png);
	background-repeat: no-repeat;
	font-size: 1em;
	color: #ffffff;
	line-height: 28px;
	padding-left: 6px;
	margin-top: 0;
	margin-bottom: 0}

div#content h3	{background-color: #e0e0e0;
	background-image: url(images4/bar-magenta.png);
	background-repeat: no-repeat;
	font-size: 1em;
	color: #000000;
	line-height: 23px;
	padding-left: 30px;
	margin-top: 30px;
	margin-bottom: 0}
    
div#content h4	{font-size: 1em;
	line-height: 28px;
    margin-top: 10px}    

div#content p	{font-size: 1em;
	line-height: 2.2;
	margin-top: 10px}


/* サイドバー */
div#sidebar	{width: 166px;
	float: left;
	margin-bottom: 25px}

ul.sidemenu	{font-size: 1em;
	margin-top: 0;
	margin-left: 0;
	padding-left: 0;
	line-height: 0}

ul.sidemenu li	{
    list-style-type: none;
}

ul.sidemenu li a	{display: block;
	line-height: 28px;
	text-decoration: none;
	color: #FFFFFF;
	background-color: #FF0099;
	border-bottom: solid 1px #FFFFFF;
	padding-left: 15px
}

ul.sidemenu li a:visited	{
background-color: #FF0099;
color: #FFFFFF;
text-decoration: none;
}

ul.sidemenu li a:hover	{
background-color: #009900;
color: #FFFFFF;
text-decoration: none;
}


ul.sidemenu li a:active	{
background-color: #FF99FF;
color: #000000;
text-decoration: none;
}



ul.sidemenu ul 	{margin: 0;
	padding: 0}

ul.sidemenu ul li a 	{
    background-color: #FFFFFF;
    background: transparent url("images4/icon-arrow1.gif") no-repeat left center;
	color: #0000CC;
	border-bottom: solid 1px #aacfff;
}

ul.sidemenu ul li a:visited {
	background-color: #FFFFFF;
	color: #00CCFF;
    text-decoration: none;
}

ul.sidemenu ul li a:hover 	{
    background-color: #FF99FF;
    color: #0000FF;
    text-decoration: none;
}

ul.sidemenu ul li a:active {
	color: #000000;
    text-decoration: none;
}


p.feed	{margin-bottom: 10px}

p.feed a	{font-size: 1em;
	color: #444444;
	text-decoration: none;
	line-height: 30px;
	border: solid 1px #888888;
	padding: 5px
}

p.feed img	{border: none;
	vertical-align: middle}

/* 右サイドバー */
div#sidebar-right	{width: 166px;
	float: right}

div.info	{border: solid 1px #84c2ff;
	margin-bottom: 20px}

div#sidebar-right h2	{background-color: #c6e3ff;
	border-bottom: solid 1px #84c2ff;
	color: #3399CC;
	font-size: 0.9em;
	text-align: center;
	padding: 5px;
	margin-top: 0;
	margin-bottom: 3px}

div#sidebar-right p.photo	{text-align: center}

div#sidebar-right p	{font-size: 0.9em;
	margin: 10px 5px}

div#sidebar-right ul	{font-size: 0.9em;
	margin: 5px;
	padding: 0}

div#sidebar-right ul li 	{background-image: url(images4/maru-green.png);
	background-repeat: no-repeat;
	background-position: 0 4px;
	padding-left: 13px;
	list-style-type: none}

div#sidebar-right ul li a 	{display: block;
    background-color: transparent;
	color: #0000CC;
	border-bottom: solid 1px #aacfff;
}

div#sidebar-right ul li a:visited {
	background-color: #FFFFFF;
	color: #00CCFF;
	text-decoration: none;
}

div#sidebar-right ul li a:hover 	{
    background-color: #FF99FF;
    color: #0000FF;
    text-decoration: none;
}

div#sidebar-right ul li a:active {
	color: #000000;
    text-decoration: none;
}




/* フッター */
div#footer	{background-image: url(images4/line-blue.png);
	background-repeat: repeat-x;
	width: 760px;
	font-size: 1em;
    margin-top: 0;
	padding-top: 8px;
	clear: both}

address	{font-size: 1em;
	font-style: normal;
	text-align: center}

a:link {
	color: #0000CC;
	text-decoration: none;
}

a:visited {
	color: #00CCFF;
	text-decoration: none;
}
    
a:hover {
	color: #FF00FF;
	text-decoration: none;
}

a:active {
	color: #000000;
	text-decoration: none;
}


/* テーブル
-----------------------------------------*/
table {
border-spacing: 0;
border-collapse: collapse;
margin: 2em 3% 10px;
}
table caption {
text-align:left;
font-size: 16px;
}
td, th {
border: 1px #998675 solid;
padding: 20px 5px 10px;
}
th {
text-align:left;
white-space: nowrap;
width: 1%;
font-weight:normal;
background-color: #FFFF33;
color: #000000;
}


/* PageTopへのリンクテキスト　ここから */

#gotoTop {
  clear: both;
  font-size: 1em;
  text-align: right;
  text-transform: uppercase; 
  height: 30px; 
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  padding-top: 0px;
  padding-right: 0px;
  padding-bottom: 0px;
  padding-left: 0px;  
}

/* PageTopへのリンクテキスト　ここまで */


/* スマートフォンサイトへ */
#gotosmart {
	height: 70px;
	width: 100%;
	margin-top: 10px;
	display: none;
	clear: both;
}
#gotosmart p {
	text-align: center;
	font-size: 200%;
}
#gotosmart p a {
	color: #FF0066;
	height: 50px;
	width: 100%;
	display: block;
	padding-top: 20px;
	text-decoration: underline;
}
