@charset "UTF-8";
/*---------- ページ全体の指定 ----------*/

html, body, header, section, article, nav, footer,
div, span, p, h1, h2, h3, h4,
ul, ol, li, dl, dt, dd,
table, tr, th, td, tbody, thead, tfoot {
  margin: 0;
  padding: 0;
}

@media screen and (max-width: 768px) {
  p{
    background-color: black;
    color:green;
   }
}

@media screen and (max-width: 480px) {
  p{
    background-color: black;
    color:red;
   }
}

img {border: 0;}

body {
  width: 100%;
  background-color: #ffffff;
  font-size:14px;-webkit-text-size-adjust:none;
  line-height: 1.7;
}

a:link {
  color: #005ebb;
}

a:hover {
  color: #004080;
}

a:visited {
  color: #005ebb;
}


/*---------- ヘッダー ----------*/

header {
  width: 100%;
  background-color: #005ebb;
}

header h1 {
  padding: 2px 0 2px 0;
  text-align: center;
  color: #333333;
  font-size: 18px;
}

header h1 a {
  color: #ffffff !important;
  text-decoration: none;
  font-size: 18px;
}

header h1 a:hover {
  color: #cccccc !important;
  text-decoration: underline;
  font-size: 18px;
}

.headline1 {
  width:auto;
  padding:3px 0 3px 10px;
  color:#fff;
  background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(0.48, #337fcc), color-stop(0.52, #225588));
  text-shadow:0px -1px 1px #000;
}

.headline2 {
  width:auto;
  padding:3px 0 3px 10px;
  border-top:1px solid #bbb;
  border-bottom:1px solid #999;
  background:-webkit-gradient(linear, 0% 0%, 0% 80%, from(#fff), to(#bbb));
  text-shadow:1px 1px 1px #fff;
}

header img.title_img {
  width: 100%;
  height: auto;
}

#page_top {
  margin: 0;
  padding: 0;
}


/*---------- コンテンツ ----------*/

#content {
  padding: 6px;
}

section {
  margin: 0 0 8px 0;
}

section h2 {
  margin: 0 0 8px 0;
  padding: 5px 0 3px 14px;
  font-size: 14px;
  color: #ffffff;
  border-bottom: solid 1px;
  border-bottom-color: #cccccc;
  background: url(img/h_bg.gif) center repeat-x;
}

section p {
  margin: 0 0 12px 0;
  padding: 3px 0;
  line-height: 1.8;
}

section .gray_bg {
  margin: 8px 0 8px 0;
  padding: 2px 8px 2px 8px;
  line-height: 1.7;
  letter-spacing: 1px;
  border-top: solid 1px #dddddd;
  border-right: solid 1px #dddddd;
  border-bottom: solid 1px #dddddd;
  border-left: solid 1px #dddddd;
  background-color: #eeeeee;
}

section .gray_bg p {
  padding: 3px;
  line-height: 1.7;
  letter-spacing: 1px;
}

section img.picture {
  margin: 0 10px 10px 0;
  float: left;
}

section img.picture_r {
  margin: 0 0 10px 10px;
  float: right;
}

section table.table_line {
  width: 100%;
  border-collapse: collapse;
  border: solid 1px #bbbbbb;
  margin : 8px  0 8px 0;
}

section td.table_line {
  border-collapse: collapse;
  border: solid 1px #bbbbbb;
  padding : 8px 10px 8px 10px;
}

section table.table_2 {
  width: 100%;
  border: none;
  margin : 10px 0 0 0;
}

section td.table_2 {
  border-collapse: collapse;
  border: none;
  padding : 0 0 0 0;
}

section table.table_3 {
  width: 100%;
  border: solid 1px #bbbbbb;
  margin : 10px 0 0 0;
  padding : 3px 3px 3px 3px;
}

section td.table_3 {
  border-collapse: collapse;
  border: none;
  text-align:center;
}

hr {
  display:block;
  width: 100%;
  border: 0;
  border-top: 1px dashed #b0b0b0;
  margin : 1px 0 1px 0;
}

.btn{
  width: 100%;
  font-size: 16px;
}

.p8{	font-size: 8px;	}
.p9{	font-size: 9px;	}
.p10{	font-size: 10px;	}
.p12{	font-size: 12px;	}
.p14{	font-size: 14px;	}
.p16{	font-size: 16px;	}
.p18{	font-size: 18px;	}
.p20{	font-size: 20px;	}
.p24{	font-size: 24px;	}

.lst1{
	margin-left : 22px;
}

.ol1{
	list-style-type : decimal;
	text-align:left;
	margin-left : 20px;
}
.ol2{
	list-style-type : upper-alpha;
	text-align:left;
	margin-left : 10px;
}

.imgright{
	float : right;
	margin-left : 15px;
	margin-right : 0px;
}

/*---------- ナビ ----------*/

nav {
  width: 100%;
  text-decoration: none;
  margin: 0 0 10px 0;
  background: url(img/nav_bg.gif) repeat-x;
}

nav h1 {
  padding: 2px 0 2px 0;
  font-size: 18px;
  color: #000000;
}

nav h2 {
  padding: 5px 0 3px 12px;
  font-size: 14px;
  color: #ffffff;
  border-bottom: solid 1px;
  border-bottom-color: #cccccc;
  background: url(img/h_bg_gray.gif) center repeat-x;
}

nav ul {
  width: 100%;
  border-top: solid 1px;
  border-top-color: #cccccc;
}

nav li {
  width: 100%;
  list-style: none;
  text-align: center;
}

nav li a {
  padding: 10px;
  display: block;
  color: #005bba;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  border-bottom: solid 2px;
  border-bottom-color: #cccccc;
  background: url(img/nav_bg.gif) repeat-x;
}

nav li a:hover {
  color: #003896;
  display: block;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  border-bottom: solid 2px;
  border-bottom-color: #cccccc;
  background: url(img/nav_bg_hover.gif) repeat-x;
}

/*---------- トップに戻る ----------*/

#page_back {
  margin: 0 0 8px 0;
  padding: 0 6px 0 0;
  text-align: right;
}


/*---------- フッター ----------*/

footer {
  width: 100%;
  padding: 1px 0 1px 0;
  color: #333333;
  text-align: center;
  border-top: solid 1px;
  border-top-color: #cccccc;
  background-color: #005ebb;
}

footer p {
  padding: 2px;
  color: #555555;
}

footer a {
  color: #cccccc !important;
}

footer a:hover {
  color: #ffffff !important;
}

footer a:visited {
  color: #cccccc;
}

footer p.copy {
  padding: 2px;
  font-size: 12px;
  color: #ffffff;
}

footer p.copy a {
  color: #cccccc !important;
  text-decoration: none;
}

footer p.copy a:hover {
  color: #ffffff !important;
  text-decoration: underline;
}

footer p.copy a:visited {
  color: #cccccc;
  text-decoration: none;
}
