@media screen and (min-width:640px) {
.smp {
	display: none;
}
br.smp {
	display: none;
}

#mainNav {
	clear: both;
	overflow: hidden;
	position: relative;
	border-top: 1px solid #BFBFBF;
	border-bottom: 1px solid #BFBFBF;
	margin-bottom:8px;
}
#mainNav ul{margin:0;}
#mainNav ul li {
	float: left;
	position: relative;
	list-style: none;
}
#mainNav ul li a {
	display: block;
	text-align: center;
	_float: left;
	width:79px;
	font-size: 18px;
	padding: 20px 0;
	border-right: 1px solid #BFBFBF;
	color:#000;
	text-decoration:none;
	font-weight:bold;
	transition: ease-in-out .3s;
}
#mainNav ul li:first-child a{width:116px;}
#mainNav ul li:nth-child(5) a{width:140px;}
#mainNav ul li:nth-child(6) a{width:135px;}
#mainNav ul li:last-child a {width:195px;	border:0;}
#mainNav div.panel {
	display: block !important;
	float: left;
}
a#menu {
	display: none;
}
#mainNav ul li:hover,#mainNav li.active a, #mainNav li a:hover {
	color:#fff;
	background:#3e68ff;
}

}
@media screen and (max-width:640px) {
.pc {
	display: none;
}
br.pc {
	display: none;
}
#greywaku {
	width:98%;
}
#container {
	width: auto;
	overflow: hidden;
}
#header {
	width: auto;
}
#contents {
	float: none;
	width: auto;
}
#main {
	float: none;
	width: auto;
	margin: 0px;
}
.area_soto {
	width: auto;
	line-height: 1.4em;
	margin: 0px;
	padding: 0px;
	background-color: #fff;
	border: none;
}
.area_uti {
	width:auto;
	font-size:1.2em;
	line-height: 1.4em;
	margin: 0px;
	padding:0px;
	background-color: #FFFFFF;
	border: none;
}

#footer {
	width:auto;
	background: #E5E1DD;
	margin: 0px;
	font-size: 10pt;
	border-bottom: 5px solid #666666;
	border-top: 10px solid #fff;
}
#midashi {
	width:auto;
	height:auto;
	background-image: none;
	border-top: #365eff 3px solid;
	border-right: #365eff 2px solid;
	border-left: #365eff 2px solid;
	margin: 0px 0px 15px 0px;
	background-color: #365eff;
	padding:2px;
}
#midashi h1 {
	font-size:24px !important;
	background-image: none;
	background-repeat: no-repeat;
	background-color: #fff;
	text-indent: 0px;
	line-height: 1.3;
	height:50%;
	vertical-align: middle;
	padding:5px 5px 5px 5px !important;
	margin:2px !important;
	display:block;
}
#midashi h2 {
	background-image: none;
	background-repeat: no-repeat;
	font-size: 12px;
	height: 50%;
	line-height: 1.3;
	vertical-align: middle;
	padding: 5px 10px 6px 8px;
}
h2.komidasi {
	background-image: none;
	background-repeat: no-repeat;
	padding: 5px 0px 5px 8px;
	margin: 0px 0px 15px 0px;
	text-indent: 0px;
	background-color: #fff;
	border-left: #365eff 8px solid;
	line-height: 1.6;
	display: block;
	vertical-align: middle;
	height: 50%;
	font-size:1.3em;
}
h3 {
	font-size: 15px;
	color: #333333;
	margin: 0px;
	padding: 7px 7px 3px 7px;
	line-height: 1.6em;
	background-image: none;
	background-color: #dfdfdf;
	text-align: left;
	text-indent: 0px;
	margin-top: 10px;
	margin-bottom: 15px;
	height: 50%;
	font-size:1.3em;
}
h3.komidasi {
	background-image: none;
	background-repeat: no-repeat;
	padding: 5px 0px 5px 8px;
	margin: 0px 0px 15px 0px;
	text-indent: 0px;
	background-color: #fff;
	border-left: #365eff 8px solid;
	line-height: 1.6;
	display: block;
	vertical-align: middle;
	height: 50%;
	font-size:1.3em;
}
}

img {
	max-width: 100%;
	height:auto;
	margin-bottom:15px;
}

@media screen and (max-width:640px) {
	
.mawarikomi {
	float: none;
	margin: 5px auto;
	clear: both;
	display: block;
}
.img-kirikae {
	height: 0;
	padding-top: 16%; /* 445px÷640px×100=69.531...% */
	background: url(bana-/toptaitoru-rwd.gif) no-repeat;
	background-size: contain;
}
.img-kirikae img {
	display: none; /* PC用画像を非表示にする */
}
/* ----------------ページ下部リスト-------------------- */

.read-page {
	width:auto;
	height: 50%;
	padding:0;
	margin:0;
	background-image: none;
	background-repeat: no-repeat;
	padding: 0px;
	margin: 0px;
	text-indent: 0px;
	background-color: #fff;
	border:none;
	line-height: 1.4;
	display: block;
	vertical-align: middle;
	font-size:1.2em;
	margin: 0 0 10px 0;
}

.read-page p{
	width:auto;
	height: 50%;
	padding:0;
	margin:0;
	margin-top:10px;
	background-color: #0033FF;
	color:#fff;
	padding:5px 5px 2px 10px;
	font-size:1.2em;
	border:0;
}

.read-page p a{
	color: #FFF000;
	text-decoration:underline;
}

.read-page p a:hover{
	color: #FFFCCC;
}

.read-page ul{
	margin:0;
}

.read-page ol{
	margin:0;
}

.read-page li{
	font-size:1.2em;
	margin:10px 10px 10px 0px;
	padding:15px 0px 15px 15px ;
	border-left:6px solid #F90;
	list-style:none;
}

.read-page a {
	color: #333;
	text-decoration:none;
}
.read-page a:hover {
	color: #F30;
}
ul {
	padding: 0px;
	margin: 0px;
}
.list_cate {
	padding: 0px;
	margin: 0px;
	text-indent: 0px;
	background: none;
	background-color: #FFF;
	border: none;
}
.list_cate li {
	background-image: none;
	background-repeat: no-repeat;
	padding: 0px;
	margin: 0px;
	text-indent: 0px;
	background-color: #FFC;
	width: 96%;
	border-left: #F90 5px solid;
	line-height: 1.4;
	display: block;
	height: 50%;
	font-size:1.2em;
	padding: 20px 0 20px 8px;
	margin: 0 0 10px 0px;
}
.list_cate li a {
	color: #333;
}
.list_cate li a:hover {
	color: #F30;
}
/* ---------------------------------- */

#raretukei-dt dt {
	width: 98%;
}
.raretukei-dt dt {
	width: 98%;
}
.hoken-midasi {
	background-image: none;
	background-repeat: no-repeat;
	padding: 0px;
	margin: 0px;
	text-indent: 0px;
	background-color: #FFC;
	width: 90%;
	border-left: #F90 10px solid;
	line-height: 1.4;
	display: block;
	height: 50%;
	vertical-align: middle;
	padding: 7px 0 7px 10px;
	margin: 0 0 7px 0;
}
table {
	width:auto;
}
.inner-pankuzu {
	padding: 7px 5px 4px 5px;
	background: #FFF;
}
/* ----------------左メニュー-------------------- */

.menu1 {
	width:auto;
		background-image: none;
	color: #FFFFFF;
	font-weight: bold;
	background-image: none;
	background-repeat: no-repeat;
	text-indent: 0px;
	background-color: #365eff;
	line-height: 1.6;
	display: block;
	vertical-align: middle;
	height: 50%;
	padding: 7px 5px 1px 8px;
	margin: 0 0 5px 0;
}
.menu2 {
	background-image: none;
	color: #FFFFFF;
	font-weight: bold;
	background-image: none;
	background-repeat: no-repeat;
	text-indent: 0px;
	background-color: #365eff;
	line-height: 1.6;
	display: block;
	vertical-align: middle;
	height: 50%;
	padding: 7px 5px 1px 8px;
	margin: 3px 0 5px 0;
}
.menu3 {
	background-image: none;
	color: #FFFFFF;
	font-weight: bold;
	background-image: none;
	background-repeat: no-repeat;
	text-indent: 0px;
	background-color: #365eff;
	line-height: 1.6;
	display: block;
	vertical-align: middle;
	height: 50%;
	padding: 5px 5px 2px 8px;
	margin: 3px 0 5px 0;
}
.menu4 {
	background-image: none;
	color: #FFFFFF;
	font-weight: bold;
	background-image: none;
	background-repeat: no-repeat;
	text-indent: 0px;
	background-color: #365eff;
	line-height: 1.6;
	display: block;
	vertical-align: middle;
	height: 50%;
	padding: 7px 5px 1px 8px;
	margin: 4px 0 5px 0;
}
.menu5 {
	background-image: none;
	color: #FFFFFF;
	font-weight: bold;
	background-image: none;
	background-repeat: no-repeat;
	text-indent: 0px;
	background-color: #365eff;
	line-height: 1.6;
	display: block;
	vertical-align: middle;
	height: 50%;
	padding: 7px 5px 1px 8px;
	margin: 4px 0 5px 0;
}
.menu6 {
	background-image: none;
	color: #FFFFFF;
	font-weight: bold;
	background-image: none;
	background-repeat: no-repeat;
	text-indent: 0px;
	background-color: #365eff;
	line-height: 1.6;
	display: block;
	vertical-align: middle;
	height: 50%;
	padding: 7px 5px 1px 8px;
	margin: 4px 0 5px 0;
}
.inner3 {
	margin: 0px;
	padding: 0px;
	background: #FFF;
	border: none;
	text-indent: 0px;
	width:auto;
}
#sub{
	margin: 0px;
	padding: 0px;
	background: #FFF;
	border: none;
	text-indent: 0px;
	width:98%;
}
#sub li{
	margin: 0px;
	padding: 0px;
	background: #FFF;
	border: none;
	text-indent: 0px;
	width:auto;
	height:50%;
}
.inner {
	width:auto;
	margin: 0px;
	padding: 0px;
	background: #FFF;
	border: none;
	text-indent: 0px;
}

#menu_area {
	background-color: #FFF;
	background-image: none;
	background-repeat: no-repeat;
	padding: 0px;
	margin: 0px;
	width:auto;
}

#menu_area ul{
	width:auto;
}
#menu_area li {
	background-image: none;
	background-repeat: no-repeat;
	padding: 0px;
	margin: 0px;
	text-indent: 0px;
	font-size: 1.2em;
	border-bottom: 2px solid #CCCCCC;
	margin: 3px 0px 6px 0px;
	padding: 0px 0px 0px 0px;
	border-left: #09F 5px solid;
	display: block;
	vertical-align: middle;
	height: 50%;
	background: #FFFFCC;
	padding: 7px 0 4px 8px;
	width:auto;
}
#menu_area li a, #menu_area li a:link, #menu_area li a:visited {
	background-image: none;
	background-repeat: no-repeat;
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
	vertical-align: middle;
	height: 50%;
	text-indent: 0px;
	width:auto;
}
#menu_area li a:hover {
	background-image: none;
	background-repeat: no-repeat;
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
	text-indent: 0px;
	width:auto;
}
/* ------------------------------------ */

.list_point{
	width:auto;
	padding:50px 10px 10px 25px ;}
	
.bunsyoutyuubox{
	width:auto;
	}	
	
.list_syokisyoujyou	{
	width:auto;
	padding:50px 10px 10px 25px ;}
	
.list_syoujyou	{
	width:auto;
	padding:50px 10px 10px 25px ;}
	
.list-mokuji	{
	width:auto;}
	
table.sitemap {
	width: 100%;
	margin: 0px;
	padding: 0px;
	border-top: 1px #ddd solid;
	border-left: 1px #ddd solid;
	border-right: 1px #ddd solid;
	border-bottom: 1px #ddd solid;
	margin-bottom: 15px;
}
table.sitemap th {
	display: inline-block;
	margin: 0px;
	padding: 5px;
	border: none;
	width: 100%;
}
table.sitemap td {
	display: inline-block;
	margin: 0px;
	height:50%;
	padding: 5px;
	border: none;
	border-bottom: 1px #ddd solid;
	width: 96%;
	font-size:1.2em;
	clear:both;
}
table.sitemap td br{
	margin:15px 5px 15px 5px;
}

.simple-list{
	width:auto;
	padding:5px;
	}

.simple-list li{
	margin:0;
	height:50%;
	}
.kijityuu{
	width:auto;
	padding:5px;
	}	
.kijityuu p{
	width:auto;
	height:50%;
	}	
.kijityuu ul{
	width:auto;
	padding:0;
	}	
	
#mainNav {
	clear: both;
	width: 100%;
	margin: 0 auto;
	padding: 0;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(1, #f5f5f5), color-stop(0.5, #f0f0f0), color-stop(0.00, #f7f7f7));
	background: -webkit-linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
	background: -moz-linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
	background: -o-linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
	background: -ms-linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
	background: linear-gradient(top, #f7f7f7 0%, #f0f0f0 50%, #f5f5f5 100%);
	border: 1px solid #e4e4e4;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}
#mainNav a.menu {
	width: 100%;
	display: block;
	height: 40px;
	line-height: 40px;
	font-weight: bold;
	text-align: left;
	position:relative;
}
#mainNav a#menu span {margin-left:40px;}
#mainNav a.menu span:before {
  position:absolute;
	left:0;
	content: url(img/menu.png);
	
}
#mainNav a.menuOpen span:before {
	content: url(img/menuClose.png);
}
#mainNav a#menu:hover {
	cursor: pointer;
}

#mainNav .panel {
	display: none;
	width: 100%;
	position: relative;
	right: 0;
	top: 0;
	z-index: 1;
}
#mainNav ul li {
	float: none;
	clear: both;
	width: 100%;
	height: auto;
	line-height: 1.2;
}
#mainNav ul li a, #mainNav ul li.current-menu-item li a {
	display: block;
	padding: 15px 10px;
	text-align: left;
	border-bottom: 1px dashed #ccc;
	text-decoration:none;
}
#mainNav ul li a span {
	padding-left: 10px;
}
#mainNav ul li:first-child a {
	border-top: 1px solid #e4e4e4;
}
#mainNav ul li:last-child a {
	border: 0;
}
#mainNav ul li.active a {
	color: #488fdd;
}

.mokuji{
	width:auto;
    font-size: 12pt;
    font-weight: bold;
	color: #000;
	border:1px #0066FF solid;
	margin-top:25px;
	padding-top: 10px;
	padding-right: 10px;
	padding-left: 10px;
	padding-bottom: 10px;
	background-color: #FFFFFF;

}
.mokuji p{
	margin:0 0 20px 0;
	padding:0px 0px 0px 10px;
	}
}

/*アドセンスサイズ指定してレクタングルを表示させる*/

@media screen and (max-width: 640px) {
.ad-size {
	margin: 0 auto 15px;
	width: 300px;
	height: 250px;
}
}
 @media screen and (min-width: 641px) {
.ad-size {
	margin: 0 auto 15px;
	width: 336px;
	height: 280px;
}
}