/* CSS Document */

/*基本指定*/


html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    border: 0 none;
    font-size: 100%;
	font-family:"ＭＳ Ｐゴシック","平成角ゴシック",sans-serif;
    margin: 0;
    outline: 0 none;
    padding: 0;
    vertical-align: baseline;
}
	
/*画像指定*/

img{
　　border: none;
    max-width: 100%;
    height: auto;
}
a img {
    border: none;
}

/* リンク色（ページ全体） */
a { 
	color: #0000ff; 
	text-decoration: 
	underline; 
}

a:hover { 
	color: #ff0000; 
	text-decoration: none;
}

hr{
	border: 0;
    height: 1px;
    background-color: #CCCCCC;
	margin: 20px 10px;
}

/*文字装飾*/

/*文字色指定*/
.red { color: #ff0000; }
.blue { color: #0000cc; }
.orange { color: #FF9900; }
.green { color: #00CC33; }
.light_b { color: #33CCFF; }


/*太文字指定*/
.b { font-weight: bold; }

/*フォントの大きさ指定*/

.xx-small { font-size:58%; }
.x-small { font-size:69%; }
.small { font-size:83%; }
.large { font-size:120%; }
.x-large { font-size:144%; }
.xx-large { font-size:172%; }

/*文字装飾*/
.yline { 
    background: linear-gradient(transparent 60%, #ffff00 60%);
    font-weight: bold;
}

/*文字列右寄せ*/

.link_r {
	text-align: right;
	margin-right:10px;
}

#content .to-center {text-align:center;}
#content .to-right {text-align:right;}

.float-right {
  margin-bottom:10px;
  margin-left:15px;
  float:right;
  display:inline;
}

.float-left {
  margin-bottom:10px;
  margin-right:15px;
  float:left;
  display:inline;
}

/*コンテンツ指定*/

body {
	text-align: center;
	font-size:16px;
	font-family:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',	Meiryo,'ＭＳ Ｐゴシック', sans-serif;
	background-color: #F0F8FF; /* 既存の画像から少し明るい背景色に変更 */
	margin-right: auto;
	margin-left: auto;
    color: #333;
}

blockquote {
    margin: 15px;
    padding: 15px;
    background-color: #f9f9f9;
    border-left: 5px solid #336699;
}

@media screen and (min-width: 641px){

/*画像指定*/

.img_l{
	float:left;
	background:#fff;
	margin-top: 0;
	margin-right: 10px;
	margin-bottom: 0;
	margin-left: 15px;
	padding-top: 0px;
	padding-right: 10px;
	padding-bottom: 5px;
	padding-left: 15;
}

.img_r{
	float:right;
	padding-left:10px;
	margin-top: 0;
	margin-bottom: 0;
	margin-left: 10px;
	padding-right: 15px;
}

#wrapper{
	width:820px;
	background-color: #FFFFFF;
	margin-right: auto;
	margin-left: auto;
	padding: 0px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

/**▼ヘッダー*****/

#header{
	width:800px;
	margin:0 auto;
}

#head_img{
	height: 320px;
	background: url(img/top.jpg) no-repeat center center;
    background-size: cover;
	margin-bottom:30px;
	border-bottom:4px solid #336699;
}

h1{
	font-size:14px;
	font-weight:bold;
	margin: 0 auto;
	padding: 5px 0;
	width: 800px;
	background-color: #336699;
	text-align: center;
	color: #FFFFFF;
}

h1 a{
	text-decoration:none;
	color:#FFFFFF;
}


/*メイン記事指定*/

h2{
	background: #316497;
    border-radius: 5px 5px 0 0;
	line-height: 1.5;
	font-size: 22px;
	font-weight:bold;
	clear:both;
	color: #FFFFFF;
    padding: 12px 20px;
	margin: -1px -1px 20px -1px;
	text-align: left;
}

h3{
	font-size: 20px;
	font-weight:bold;
	border-bottom: 2px solid #316AC5;
    border-left: 8px solid #316AC5;
	margin: 30px 0 20px 0;
	padding: 8px 15px;
}

#content{
	width:760px;
	margin: 0px auto;
	padding: 0px 20px 20px 20px;
	text-align: left;
}

.inner{
	margin: 20px 0;
	border: 1px solid #336699;
	padding: 1px 1px 10px 1px;
    border-radius: 6px;
}

.inner p{
	padding: 0 15px;
	margin: 0 0 15px;
	font-size: 16px;
	line-height: 1.8;
	text-align:justify;
}

/*フッター*/

#footer{
	text-align: center;
	clear: both;
	overflow:hidden;
    padding-bottom: 10px;
}
#footer p {
	margin: 10px 30px;
	text-align: center;
    font-size: 12px;
}


address {
	font-style: normal;
	color: #FFFFFF;
	text-align: center;
	display: block;
	background: #336699;
	font-size: 12px;
	margin: 30px auto 0px auto;
	padding: 10px 0px;
	width: 800px;
}

/**▼フリースペース**/

#space{
	margin: 0 15px 15px;
	padding: 15px;
	font-size:14px;
	border-top:1px #ccc solid;
    border-bottom:1px #ccc solid;
	clear:both;
	text-align: left;
    background: #f8f8ff;
    line-height: 1.7;
}


/*ボタン指定*/

.bt_c{
	text-align:center;
	clear:both;
	margin: 20px auto;
	padding: 10px;
}

.bt_c a img {
    transition: transform 0.3s ease-in-out;
}
.bt_c a:hover img {
    transform: scale(1.05);
    opacity: 0.8;
}

/*回り込み解除*/
.c_both{ clear:both;}

}

@media screen and (max-width: 640px){

body {
    font-size: 15px;
}

.link_r {
	display: none;
}

/*画像指定*/

.img_l, .img_r, .float-left, .float-right {
    float: none;
    display: block;
    margin: 15px auto;
    text-align: center;
}

#wrapper {
    width: 100%;
}

#header {
	margin:0 auto;
	padding: 0;
}

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

#head_img{
	margin-bottom: 10px;
	border-bottom: 4px solid #336699;
	height: auto;
}

h1{
	font-size:12px;
	font-weight:bold;
	padding: 8px;
	background-color: #336699;
	text-align: center;
	color: #FFFFFF;
    width: auto;
}

/*メイン記事指定*/

h2{
	background: #316497;
	font-size: 18px;
	font-weight:bold;
	clear:both;
	color: #FFFFFF;
	padding: 10px 15px;
    margin: -1px -1px 15px -1px;
    border-radius: 5px 5px 0 0;
}

h3{
	font-size: 17px;
	font-weight:bold;
	border-bottom: 2px solid #316AC5;
    border-left: 6px solid #316AC5;
	padding: 8px 12px;
    margin: 25px 0 15px;
}

#content{
	margin: 0;
	padding: 10px;
	text-align: left;
}

#content img {
	width: 100%;
    max-width: 300px;
    display: block;
    margin: 10px auto;
}

.inner{
	background: #FFF;
	margin: 10px auto 20px;
	border: 1px solid #336699;
	padding: 1px 1px 10px 1px ;
    border-radius: 6px;
}

.inner p{
	margin: 10px;
	font-size: 15px;
	line-height: 1.8;
	text-align:justify;
}

.bt_c {
	text-align: center;
}

/*フッター*/

#footer{
	text-align: center;
	clear: both;
	overflow:hidden;
}

#footer p {
	margin: 0 10px 10px;
	text-align: center;
	font-size: 11px;
}


address {
	font-style: normal;
	color: #FFFFFF;
	text-align: center;
	display: block;
	background: #336699;
	font-size: 12px;
	margin: 20px auto 0px;
	padding: 10px 0px;
    width: auto;
}

#space {
    font-size: 13px;
    padding: 15px 10px;
    margin: 0 10px 15px;
}

}