@charset "shift_jis";

/* ここからスマホ用のCSS */
@media screen and (max-width:767px){

img{
max-width: 100%;
height: auto;
width /***/:auto;
}

/* ここから通常のCSS */
a:link{
	color:#0000ff;
	background-color:transparent;}
a:visited{
	color:#800080;
	background-color:transparent;}
a:hover{
	color:#ff0000;
	background-color:#ffff00;}
a:active{
	color:#ff0000;
	background-color:transparent;}

body{
	font-family:sans-serif;
	text-align:left;
	font-size:19px;
	background-color:#ffffff;
	color:#000000;
	line-height:1.7;
	max-width:100%;
	}

.left{
	float: none;
	text-align:right;
	}

h1{
	color:#003880;
	background-color:#ffffff;
	border-color:#003880;
	border-width:0px 0px 2px 0px;
	border-style:dotted;
	font-size:120%;
	text-indent:0;
	margin-top:0.2em;
	margin-bottom:0.4em;
	}

/*	記事ページ点数	*/
.title2{
	color:#000000;
	font-size:80%;
	font-weight:normal;
	}

	
h2{
	color:#003880;
	font-size:100%;
	}

h3{
	color:#ff6600;
	font-size:100%;
	background-color:#ffdcc4;
	text-indent:0.5em;
	max-width:580px;
	}

h4{
	font-size:90%;
	margin-left:2em;
	}

p{
	margin-bottom:2em;
	text-indent:1em;
	}


dt{	margin-top:1.2em;
	font-weight:bold;
	}

dd{	margin-left:0;
	}

ul{
	padding-left:1.2em;
	padding-bottom:1.2em;
	}

li{	margin-bottom:1em;
	}

/*	左メニュー	*/
.menu{
	width:100%;
	float: none;
	}

/*	中央画面	*/
.main{
	max-width:100%;
	}

.main2{
	margin-left:178px;
	}

.sub{
	line-height:1.5;
	width:250px;
	float:right;
	margin-right:0;
	}

.sub2{
	width:125px;
	float:right;
	margin-right:0;
	}

.sub3{
	width:162px;
	float:right;
	text-align:right;
	margin-right:0;
	}

.subloka{
	line-height:1.5;
	width:265px;
	float:right;
	font-size:80%;
	margin-right:0;
	}

.r{
	text-align:right;}

.f-r{
	float: none;}

.f-r2{
	float: none;
	margin-left:0.5em;
	}

.f-l{
	float: none;}

.bk1{
	background-image: url("../img/bk1.gif");
	}

.smaller{
	font-size:90%;}

.red{
	color:#FF0000;}

.right{
	text-align:right;}

.center{
	text-align:center;}

.box{
	padding:0.5em;
	background-color:#ffdcc4;
	border-color:#999999;
	border-width:1px;
	border-style:solid;
	}

.tbox{
	padding:0.5em;
	background-color:#ffdcc4;
	border-color:#999999;
	border-width:1px;
	border-style:solid;
	margin-bottom:1em;
	}

.form{
	margin-left:2em;
	}

.no{
	border-width:0;}

.main3{
	margin-right:260px;
	}

.topimg{
	float:left;
	margin-right:20px;}

.topama{
	margin-bottom:3px;}

.bottom_ad{
	margin-top:1em;}

.ad{
	background-color:#ffffff;
	border-color:#ff6600;
	border-width:1px;
	border-style:solid;
	margin-bottom:1em;
	padding:0.3em;
	}

.ad2{
	max-width:600px;
	background-color:#ffffff;
	border-color:#ff6600;
	border-width:2px;
	border-style:solid;
	margin-bottom:1em;
	padding:0.5em;
	}

.ad3{
	background-color:#ffffff;
	margin:1em;
	}

.ad4{
	height:100%;
	background-color:#ffffff;
	border-color:#cccccc;
	border-width:1px;
	border-style:solid;
	font-size:smaller;
	}

div#header{
	font-size:90%;
	text-align:right;}

div#footer{
	font-size:100%;}

/* CSSの一番最後に記述 */
}

/* ここからタブレット以上のCSS */

@media print, screen and (min-width: 768px) {

/* ここから通常のCSS */
a:link{
	color:#0000ff;
	background-color:transparent;}
a:visited{
	color:#800080;
	background-color:transparent;}
a:hover{
	color:#ff0000;
	background-color:#ffff00;}
a:active{
	color:#ff0000;
	background-color:transparent;}

body{
	font-family:sans-serif;
	text-align:left;
	background-color:#ffffff;
	color:#000000;
	line-height:1.6;
	max-width:1024px;
	}

.left{
	float:left;
	text-align:right;
	}

h1{
	color:#003880;
	background-color:#ffffff;
	border-color:#003880;
	border-width:0px 0px 2px 0px;
	border-style:dotted;
	font-size:130%;
	text-indent:0;
	margin-top:0.2em;
	margin-bottom:0.4em;
	}


/*	記事ページ点数	*/
.title2{
	color:#000000;
	font-size:80%;
	font-weight:normal;
	}

h2{
	color:#003880;
	font-size:100%;
	}

h3{
	color:#ff6600;
	font-size:90%;
	background-color:#ffdcc4;
	text-indent:0.5em;
	max-width:580px;
	}

h4{
	font-size:90%;
	margin-left:2em;
	text-indent:1em;
	}

p{	text-indent:1em;
	}


dt{	margin-top:1.2em;
	font-weight:bold;
	}

/*	左メニュー	*/
.menu{
	width:310px;
	float:left;
	}

/*	中央画面	*/
.main{
	margin-left:310px;
	max-width:700px;
	}

.main2{
	margin-left:178px;
	}

.sub{
	line-height:1.5;
	width:250px;
	float:right;
	margin-right:0;
	}

.sub2{
	width:125px;
	float:right;
	margin-right:0;
	}

.sub3{
	width:162px;
	float:right;
	text-align:right;
	margin-right:0;
	}

.subloka{
	line-height:1.5;
	width:265px;
	float:right;
	font-size:80%;
	margin-right:0;
	}

.r{
	text-align:right;}

.f-r{
	float:right;}

.f-r2{
	float:right;
	margin-left:0.5em;
	}

.f-l{
	float:left;}

.bk1{
	background-image: url("../img/bk1.gif");
	}

.smaller{
	font-size:80%;}

.red{
	color:#FF0000;}

.right{
	text-align:right;}

.center{
	text-align:center;}

.box{
	padding:0.5em;
	background-color:#ffdcc4;
	border-color:#999999;
	border-width:1px;
	border-style:solid;
	}

.tbox{
	padding:0.5em;
	background-color:#ffdcc4;
	border-color:#999999;
	border-width:1px;
	border-style:solid;
	margin-bottom:1em;
}

.form{
	margin-left:2em;
}

.no{
	border-width:0;}

.main3{
	margin-right:260px;
}

.topimg{
	float:left;
	margin-right:20px;}

.topama{
	margin-bottom:3px;}

.bottom_ad{
	margin-top:1em;}

.ad{
	background-color:#ffffff;
	border-color:#ff6600;
	border-width:1px;
	border-style:solid;
	margin-bottom:1em;
	padding-left:1em;
	}

.ad2{
	width:600px;
	background-color:#ffffff;
	border-color:#ff6600;
	border-width:2px;
	border-style:solid;
	margin:1em;
	padding:1em;
	}

.ad3{
	background-color:#ffffff;
	margin:1em;
	}

.ad4{
	height:100%;
	background-color:#ffffff;
	border-color:#cccccc;
	border-width:1px;
	border-style:solid;
	font-size:smaller;
	}

div#header{
	font-size:90%;
	text-align:right;}

div#footer{
	font-size:90%;}

/* CSSの一番最後に記述 */
}
