@charset "utf-8";
/* CSS Document */

@media screen and (min-width: 769px) and (max-width: 1024px) {
#wrapper {
width: 100%;
height: auto;
/*height:100%;*/
text-align: left;
margin: 0 auto;
/*background:url(img/body_bg.jpg) repeat-x;*/
background-color: #fff;
overflow: hidden
}
}

/* ================================
/////コンテンツ
================================ */

/* #homeCtsについてはcontets.cssに記載 */
@media screen and (min-width: 769px) and (max-width: 1024px) {
#contents {
	width: 95%;
	height: auto;
	margin: 0px 0px 0px 0px;
	padding: 0px 10px 0px 10px;
	/*display:block;*/
	clear: both;
	}
}

@media screen and (max-width: 390px) {
#contents {
	width: 95%;
	height: auto;
	margin: 0px 0px 0px 0px;
	padding: 0px 10px 0px 10px;
	/*display:block;*/
	clear: both;
	}
}

/* ================================
/////ヘッダー
================================ */

@media screen and (max-width: 1054px) {
#header {
width: 100%;
height: 0px;
background: url(img/header_bg.jpg) repeat-x;
margin: 0;
padding: 0px 10px 0px 10px;
	}
}

/* ============================== */
/* ========== メイン */
@media screen and (max-width: 390px) {
#main {
	width: 95%;
	height: auto;
	margin: 0px 0px 0px 10px;
	padding: 0;
	display: block;
	float: left;
	/*background-color:#FFC;*/
  }
}

@media screen and (min-width: 769px) and (max-width: 1024px){
#main {
	width: 95%;
	height: auto;
	margin: 0px 0px 0px 10px;
	padding: 0;
	display: block;
	float: left;
	/*background-color:#FFC;*/
  }
}

/* ================================
/////SP＿サイドバー
================================ */
@media screen and (max-width: 1054px) {
#sideBar {
	width: 100%;
	height: auto;
	margin: 0;
	padding: 20px 0px 10px 0px;
	background: none;
	float: left;
}

div#sideBnr {
	width: 100%;
	height: auto;
	margin: 0px 0px 15px 0px;
	padding: 0;
}
	
#sideBnr ul{
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
	background: none;
	clear: both;
}
	
#sideBnr ul li {
	margin: 0px 0px 5px 0px;
	padding: 0;
	list-style-type: none;
}
	}

/* ================================
/////SP_フッター
================================ */
@media screen and (max-width: 1054px) {
#footer {
	/*font-size: 10px;*/
	/*text-indent: -9999px;*/
	width: 100%;
	height: auto;
	background: url(img/footer_bg.gif) repeat-x;
	margin: 0;
	padding: 0;
	clear: both;
}
#footerBox {
	width: 100%;
	margin: 0 auto;
	padding: 0px 0px 10px 0px;
	background-color: #FFF;
	clear: both;
}

#f_linkBox {
	width: 960px;
	margin: 0 10px;
	padding: 19px 0px 0px 0px;
	border-top: #999 solid 1px;
	clear: both;
}

/* ========== フッタートップリンク */
#f_topLink {
	font-size: 10px;
	background: url(img/m/b_f_toplink_on.gif) no-repeat;
	text-indent: -9999px;
	display: block;
	width: 75px;
	height: 15px;
	margin: 0px 90px 20px 10px;
	padding: 0;
	float: left;
}
* html #f_topLink { margin: 0px 125px 20px 10px; } /* // IE6以下のみ適用 */
*:first-child+html #f_topLink { margin: 0px 135px 20px 10px; } /* // IE7のみ適用 */
#f_topLink a{
	background: url(img/m/b_f_toplink.jpg) no-repeat;
	text-indent: -9999px;
	display: block;
	width: 75px;
	height: 15px;
}
#f_topLink a:hover{
	background-image: url(img/m/b_f_toplink_on.jpg);
}

/* ========== フッターメニューリンク */
#f_link {
	font-size: 10px;
	text-align: right;
	width: 780px;
/*	height: auto;*/
	margin: 0;
	padding: 0;
	float: left;
}
#f_link a {
	color: #333;
}

/* ========== コピーライト */
#f_copy {
	width: 100%;
	height: 10px;
	margin: 0;
	padding: 20px 0px;
	border-top: #999 solid 1px;
}
#f_copy img {
	margin: 0 auto;
}
}

/* ================================
/////見出し設定
================================ */

/* ========== コンテンツタイトル */
@media screen and (max-width: 390px) {
h2 {
font-size: 12px;
font-weight: bold;
letter-spacing: 0.15em;
color: #17184b;
width: auto;
height: 50px;
margin: 5px 0px 0px 0px;
padding: 0px 0px 0px 20px;
background: url(img/t/t_h2_bg.jpg) no-repeat;
background-size: 100% auto;
line-height: 4;
  }
}


@media screen and (min-width: 391px) {
h2 {
font-size: 20px;
font-weight: bold;
letter-spacing: 0.15em;
color: #17184b;
width: auto;
height: 50px;
margin: 5px 0px 0px 0px;
padding: 10px 0px 40px 40px;
background: url(img/t/t_h2_bg.jpg) no-repeat;
background-size: 100% auto;
line-height: 4;
  }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
h2 {
font-size: 20px;
font-weight: bold;
letter-spacing: 0.15em;
color: #17184b;
width: auto;
/*! height: 5pc; */
margin: 5px 0px 10px 0px;
padding: 15px 0px 35px 30px;
background: url(img/t/t_h2_bg.jpg) no-repeat;
background-size: 100% auto;
line-height: 4;
  }
}

/* ========== コンテンツサブタイトル */
@media screen and (max-width: 390px) {
h3 {
font-size: 12px;
font-weight: bold;
letter-spacing: 0.2em;
color: #444;
margin: 0px 10px 20px 3px;
padding: 3px 5px 1px 15px;
border: #ccc solid 1px;
border-left: #19448e solid 10px;
background-color: #f7fcfe;
clear: none;
	}
}


@media screen and (min-width: 769px) and (max-width: 1024px) {
h3 {
font-size: 12px;
font-weight: bold;
letter-spacing: 0.2em;
color: #444;
margin: 0px 10px 20px 3px;
padding: 3px 5px 1px 15px;
border: #ccc solid 1px;
border-left: #19448e solid 10px;
background-color: #f7fcfe;
clear: none;
	}
}


@media screen and (max-width: 390px) {
.nintei {
  width: 100%;
  float: left;
}

.nintei_img {
  display: block;
  width: 120px;
  margin: 0 30% 20px;
}
	}

@media screen and (min-width: 769px) and (max-width: 1024px){
.nintei {
  width: 100%;
  float: left;
}

.nintei_img {
  display: block;
  width: 120px;
  margin: 0 40% 20px;
}
	}

/* テーブル */
@media screen and (max-width: 390px) {
table {
	height: auto;
	margin: 0;
	padding: 0;
	border: #ccc solid 1px;
	clear: both;
}
table th {
	font-weight: bold;
	text-align: center;
	line-height: 1.4em;
	letter-spacing: 0.15em;
	padding: 5px 2px;
	border-right: #aaa solid 1px;
	border-bottom: #aaa solid 1px;
	background-color: #f6f6f6;
}
table td {
	line-height: 1.4em;
	padding: 2px;
	border-right: #aaa solid 1px;
	border-bottom: #aaa solid 1px;
}
table td ul {
list-style: disc;
font-size: small;
line-height: 1.4em;
margin: 0px 0px 0px 20px;
padding: 0px 10px 0px 0px;
}
table td ol {
list-style: decimal;
font-size: small;
line-height: 1.4em;
margin: 0px 0px 0px 27px;
}
}

@media screen and (min-width: 750px) and (max-width: 1024px) {
table {
	height: auto;
	margin: 0 auto;
	padding: 0;
	border: #ccc solid 1px;
	clear: both;
}
table th {
	font-weight: bold;
	text-align: center;
	line-height: 1.4em;
	letter-spacing: 0.15em;
	padding: 5px 2px;
	border-right: #aaa solid 1px;
	border-bottom: #aaa solid 1px;
	background-color: #f6f6f6;
}
table td {
	line-height: 1.4em;
	padding: 2px;
	border-right: #aaa solid 1px;
	border-bottom: #aaa solid 1px;
}
table td ul {
list-style: disc;
font-size: small;
line-height: 1.4em;
margin: 0px 0px 0px 20px;
padding: 0px 10px 0px 0px;
}
table td ol {
list-style: decimal;
font-size: small;
line-height: 1.4em;
margin: 0px 0px 0px 27px;
}
}