@charset "utf-8";

@media screen and (max-width:640px){
	
body {
	background-image: none;
	word-wrap: break-word;
}

img {
	max-width: 100% !important;
	height: auto;
	width /***/:auto;
	margin-left:auto;
	margin-right:auto;
}

#container {
	background-image: none;
	width: 100%;
}

/*
ヘッダー
---------------------------------------------*/
#banner {
	height: auto;
	width: 100%;
	position: fixed;
	background-color: #FC0;
	z-index: 100;
}

#banner a.logo {
	height: 60px;
	width: 160px;
	background-image: url(img/logo_sp.gif);
}

#banner h1 {
	font-size: 9px;
	line-height: 16px;
	color: #EEE;
	background-color: #333;
	display: block;
	padding-right: 5px;
	padding-left: 5px;
}

#pankuzu {
	top: 85px;
	left: 5px;
}

/*
ヘッダーメニュー
---------------------------------------------*/

a.menu_btn {
	display: block;
	float: right;
	height: auto;
	font-weight: bold;
	color: #333;
	margin-right: 5px;
	padding: 10px;
	font-size: 30px;
	line-height: 30px;
	text-decoration: none;
}

#side {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0px;
	left: 100%;
	background-color: #EEE;
	overflow: auto;
}

#side nav:after,
#side div:after {
  content: "."; 
  display: block; 
  height: 0; 
  font-size:0;	
  clear: both; 
  visibility:hidden;
}

#side h2,
#side dl dt {
	font-size: 18px;
	color: #000;
	line-height: 22px;
	font-weight: normal;
	padding: 7px;
	display: block;
	margin-top: 5px;
	margin-bottom: 0px;
	clear: both;
}

#side h2 {
	background-color: #FC0;
}

#side ul,
#side dl {
	display: block;
	margin: 0px;
	padding: 0px;
}

#side dl.dl_2c {
	float: left;
	width: 50%;
}

#side dl dt a {
	background-image: url(img/side_dt_a_sp.png);
}

#side dl dd {
	list-style-type: none;
}

#side dl dd a {
	font-size: 15px;
	color: #333;
	text-decoration: none;
	display: block;
	padding-top: 5px;
	padding-right: 30px;
	padding-bottom: 5px;
	padding-left: 8px;
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #D6D6D6;
	background-color: #F9F9F9;
	border-top-width: 1px;
	border-right-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-left-style: solid;
	border-top-color: #FFF;
	border-right-color: #FFF;
	border-left-color: #FFF;
	background-image: url(img/li_01.gif);
	background-repeat: no-repeat;
	background-position: right center;
	line-height: 22px;
}

#side ul li a {
	font-size: 16px;
	color: #333;
	text-decoration: none;
	display: block;
	padding-top: 7px;
	padding-right: 30px;
	padding-bottom: 7px;
	padding-left: 5px;
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #D6D6D6;
	background-color: #F9F9F9;
	border-top-width: 1px;
	border-right-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-left-style: solid;
	border-top-color: #FFF;
	border-right-color: #FFF;
	border-left-color: #FFF;
	background-image: url(img/li_02.gif);
	background-repeat: no-repeat;
	background-position: right center;
	line-height: 22px;
}
#side ul li a:hover,
#side dl dd a:hover {
	color: #000;
	background-color: #FC0;
}

#side dl.dl2 dd a:hover {
	color: #FFF;
	background-color: #51B3B3;
}

#side dl.dl3 dd a:hover {
	color: #FFF;
	background-color: #E27070;
}

#side dl.dl4 dd a:hover {
	color: #FFF;
	background-color: #76AC55;
}


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

#content {
	width: 98%;
	margin-right: auto;
	margin-left: auto;
	padding-top: 110px;
}

#content p {
	margin-right: 10px;
	margin-left: 10px;
	font-size: 18px;
	padding-right: 0px;
	padding-left: 5px;
	line-height: 1.8;
	margin-bottom: 20px;
}

caption {
	padding-left: 10px;
	border-right-width: 1px;
	border-left-width: 1px;
	border-right-style: solid;
	border-left-style: solid;
	border-right-color: #CCCCCC;
	border-left-color: #CCCCCC;
	background-image: none;
	padding-top: 5px;
	padding-bottom: 3px;
	border-top-width: 5px;
	border-bottom-width: 7px;
	border-top-style: solid;
	border-bottom-style: solid;
	border-top-color: #E17B6C;
	border-bottom-color: #DB3211;
}

#content p.advice1 {
	margin-right: 5px;
	margin-left: 5px;
	background-image: none;
	padding-right: 5px;
	padding-left: 10px;
	font-size: 14px;
}

#content p.dot::before {
	top: 16px;
}

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

.foot_in {
	padding-top: 10px;
	padding-bottom: 40px;
	padding-right: 10px;
	padding-left: 10px;
}
footer address {
	font-size: 10px;
}
p.pagetop {
	position: fixed;
	bottom: 0px;
	right: 5px;
	z-index: 200;
	margin: 0px;
	padding: 0px;
}

/*
テーブル
---------------------------------------------*/

table {
	width: 96%;
	margin-left: auto;
	margin-right: auto;
	font-size: 12px;
	margin-top: 10px;
	margin-bottom: 15px;
}

.sp_yoko th,
.sp_yoko td {
	display: block;
	width: auto;
}

th {
	padding-top: 5px;
	padding-right: 2px;
	padding-bottom: 5px;
	padding-left: 2px;
}

img.sp_max280 {
	max-width: 280px !important;
}


#content ul.ul_arrow {
	width: 90%;
}

/*----PR用リスト追記----*/
#content ul.list_pr01 li a,
#content ul.list_pr02 li a,
#content ul.list_pr03 li a,
#content ul.list_pr2_01 li a,
#content ul.list_pr2_02 li a,
#content ul.list_pr2_03 li a {
	padding-right: 1%;
	padding-left: 9%;
	width: 90%;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #DDD;
}

/*-------トップ写真付き記事一覧-------*/

#content .topic article img {
	width: 30%;
}
#content .topic article h2 {
	margin-left: 32%;
}
#content .topic article p {
	margin-left: 32%;
}

#content .topic article .btn_more {
	font-size: 16px;
	line-height: 22px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 10px;
}

/*------検索フォーム-------*/

#container #side .g_search {
	margin-left: auto;
	margin-right: auto;
	width: 90%;
}
#container #side .g_search form input.g_form {
	width: 80%;
}

/*------170518追記-------*/
#content .bn_2c {
	text-align: center;
	width: 100%;
	margin-bottom: 10px;
}

#content p.img-l_center {
	background-color: #FFF;
	padding: 10px;
	text-align: center;
}

table.table_001 td,
table.table_001 th {
	display: block;
	width: 96%;
	margin-left: auto;
	margin-right: auto;
}

table.table_001 td.td_head {
	border-bottom-width: 4px;
	border-bottom-color: #FC0;
	font-size: 18px;
}

.no_sp {
	display: none !important;
}

}
/*---/max-640---*/
