@charset "UTF-8";

/*--------------------------------------------------------
モバイル用レイアウト（640px以下の解像度のスクリーン含む）
--------------------------------------------------------*/

@media
only screen and (max-width : 640px){


/*--------------------------------------------------------
サイト全体の共通設定
-------------------------------------------------------*/

html{
	overflow-y: scroll;
	overflow-x: hidden;
}

html,body{
	width: 100%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

textarea,input{ max-width: 95%; }

input[type="submit"],input[type="image"],
input[type="reset"],input[type="button"],
input[type="file"]{ max-width: none; }


/*●画像サイズの調整*/
img {
	height: auto;
	max-width: 100%;
}

a{
	color: #a38853;
	-webkit-tap-highlight-color: #a38853;
}


/*--------------------------------------------------------
エリアの設定
--------------------------------------------------------*/

#container{
	padding-top: 0;
	padding-bottom: 1.5em;
}


/*--------------------------------------------------------
トップ
--------------------------------------------------------*/

#top{ 
	position: relative;
	top: 0;
	height: auto;
	font-size: 1.2em;
}

#top-menu{
	float: none;
}

#top-menu li{
	text-align: left;
	display: block;
}


/*--------------------------------------------------------
ヘッダー
--------------------------------------------------------*/

/*●ヘッダの回り込み解除*/
#header #header-title,
#header-in #header-text{
	float: none;
	width: 100%;
}

#header .header-logo{ font-size: 2em; }


/*--------------------------------------------------------
グローバルナビ
--------------------------------------------------------*/

#global-nav{
	background: none;
	border-bottom: 0;
}

#global-nav dt{
	padding-left: 3em!important;
	background: url(./images/icon/icon-arrow07.png) 1em center no-repeat #000; /*グラデーションが適用されない場合 */
	background: url(./images/icon/icon-arrow07.png) 1em center no-repeat, -webkit-linear-gradient(top, #000, #333);
	background: url(./images/icon/icon-arrow07.png) 1em center no-repeat, -moz-linear-gradient(top, #000, #333);
	background: url(./images/icon/icon-arrow07.png) 1em center no-repeat, -o-linear-gradient(to bottom, #000, #333);
	background: url(./images/icon/icon-arrow07.png) 1em center no-repeat, -ms-linear-gradient(top, #000, #333);
	background: url(./images/icon/icon-arrow07.png) 1em center no-repeat, linear-gradient(to bottom, #000, #333);
	border-bottom: 2px solid #978155;
	color: #fff;
}

#global-nav #global-nav-in .menu-wrap{ display:none; }

#global-nav #global-nav-in #menu{ margin-bottom: 0; }

#global-nav #global-nav-in #menu,
#global-nav #global-nav-in #menu li{
	width: 100%;
	border: 0;
}

#global-nav #global-nav-in #menu li{
	background-color: #d2d2d2;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #434343;
	white-space: normal;
}

#global-nav #global-nav-in #menu li.first{ border-left: 0; }

#global-nav #global-nav-in #menu ul{
	position: static;
	width: auto;
	padding-left: 10%;
}

#global-nav #global-nav-in #menu ul li{ width: 100%; }

#global-nav #global-nav-in #menu ul li:last-child{ border-bottom: 0; }

/*メニューのデザイン*/
#global-nav #global-nav-in #menu li a:link,
#global-nav #global-nav-in #menu li a:visited,
#global-nav #global-nav-in #menu li a:hover,
#global-nav #global-nav-in #menu li a:active{
	padding: 0.8em 2em;
	background: url(./images/icon/icon-arrow04.png) 1em 1em no-repeat #d2d2d2;
	border: 0;
	color: #000;
}

#global-nav #global-nav-in #menu li ul{ border-top: 1px solid #434343; }

#global-nav #global-nav-in #menu ul li a{ width: auto; }

#global-nav .btn-gnav{
	display:block;
	padding: 1em;
	cursor: pointer;
}


/*--------------------------------------------------------
コンテンツ全体
--------------------------------------------------------*/

#main-image .catch-copy{
	top: 1em;
	font-size: 1.4em;
}


/*--------------------------------------------------------
メインコンテンツ（本文）
--------------------------------------------------------*/

/*●最新情報の回り込みを解除*/
#main-contents dl.news dt,
#main-contents dl.news dd.cat,
#main-contents dl.dl-style01 dt{ float: none; }

#main-contents dl.news dt{ margin-bottom: 0.4em; }

#main-contents dl.news dt,
#main-contents dl.dl-style01 dt{
	padding-right: 1em;
	padding-left: 1em;
}

#main-contents dl.news dd.cat{
	display: inline-block;
	width: auto;
	margin: 0 1em 0.5em;
	padding: 0.3em 1em;
}

#main-contents dl.news dd,
#main-contents dl.dl-style01 dd{ 
	margin: 0 0 10px 0;
	padding: 0 1em 0.8em 1em;
}

/*●Tableをブロック表示に*/
#main-contents .table-style01,
#main-contents .table-style01 thead,
#main-contents .table-style01 tbody,
#main-contents .table-style01 tfoot,
#main-contents .table-style01 tr,
#main-contents .table-style01 th,
#main-contents .table-style01 td{ display: block; }

#main-contents .table-style01 th,
#main-contents .table-style01 td{
	float: left;
	width: 100%!important;
	box-sizing: border-box;
	-moz-box-sizing: padding-box;
}

#main-contents .table-style01{ /zoom : 1; }
#main-contents .table-style01:after{ content : ''; display : block; clear : both; height:0; }

.box-wrap .box-l,
.box-wrap .box-r{
	float: none;
	width: 100%;
}


/*Youtube動画*/
#main-contents .v-wrap{
	position: relative;
	overflow: hidden;
	height: 0;
	padding-bottom: 56.25%;
	padding-top: 30px;
}

#main-contents .v-wrap iframe,
#main-contents .v-wrap object,
#main-contents .v-wrap embed{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}


/*--------------------------------------------------------
サブコンテンツ / サイドバー
--------------------------------------------------------*/

/*折り畳み*/
#sub-contents .sub-contents-btn,
#sidebar .sidebar-btn{
	display: block;
	margin-bottom: 1em;
	padding: 1em;
	padding-left: 3em!important;
	background: url(./images/icon/icon-arrow07.png) 1em center no-repeat #000; /*グラデーションが適用されない場合 */
	background: url(./images/icon/icon-arrow07.png) 1em center no-repeat, -webkit-linear-gradient(top, #000, #333);
	background: url(./images/icon/icon-arrow07.png) 1em center no-repeat, -moz-linear-gradient(top, #000, #333);
	background: url(./images/icon/icon-arrow07.png) 1em center no-repeat, -o-linear-gradient(to bottom, #000, #333);
	background: url(./images/icon/icon-arrow07.png) 1em center no-repeat, -ms-linear-gradient(top, #000, #333);
	background: url(./images/icon/icon-arrow07.png) 1em center no-repeat, linear-gradient(to bottom, #000, #333);
	border-bottom: 2px solid #aaa;
	color: #fff;
	cursor: pointer;
}

.sub-column #sub-contents-in,
.sub-column #sidebar-in{ display: none; }

.sub-column .showSubConts,
.sub-column .showSidebar{
	display: block!important;
}

.col1 .sub-column .ranking .item-img,
.col2 #sub-contents .ranking .item-img,
.col2r #sub-contents .ranking .item-img,
.col1 .sub-column .profile-img,
.col2 #sub-contents .profile-img,
.col2r #sub-contents .profile-img{
	float: none;
	padding-right: 0;
}

.col1 .sub-column .banner li,
.col2 #sub-contents .banner li,
.col2r #sub-contents .banner li{
	display: block;
	margin-right: 0;
}

.sub-column dl.search-box{ width: 100%; }

.sub-column dl.search-box dt{
	margin-right: 0;
	margin-bottom: 0.4em;;
	width: 100%;
}

.sub-column dl.search-box dt,
.sub-column dl.search-box dd{ float: none; }


/*--------------------------------------------------------
フッター
--------------------------------------------------------*/

#footer .footer-menu ul{
	float: none;
	width: 100%;
}

#footer .area01,
#footer .area02{
	float: none;
	width: 100%;
	margin-bottom: 2em;
}

.copyright{ padding-bottom: 40px; }

.copyright span{ display: block; }


/*------------------------------------------------------------
WordPress用
-------------------------------------------------------------*/

#main-contents .sb{
	text-align: left;
}

img.alignleft,
img.alignright{
	float: none;
	display: block;
	padding: 0;
	margin: auto;
}


/*--------------------------------------------------------
ページトップ
--------------------------------------------------------*/

.page-top{
	right: 0;
	bottom: 0;
	width: 100%;
	text-align: center;
}

.page-top a{
	display: block;
	border: 1px solid #000;
	border-top: 1px solid #535353;
	border-radius: 0;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
}

.page-top a:link,
.page-top a:visited,
.page-top a:hover,
.page-top a:active{
	background: url(./images/common/bg-pagetop.gif) 14px center no-repeat #313131;
	color: #fff;
}

.page-top:not(\*|*){ position: static; }/* Opera9以下 */

}

@media not screen and (1) { .page-top { position: static; } }/* Opera10以上 */


/*------------------------------------------------------------
　template created by web-rider
-------------------------------------------------------------*/

/*--------------------------------------------------------
  Custom Style
--------------------------------------------------------*/

@media only screen and (max-width : 640px) {

a {
	-webkit-tap-highlight-color: initial;
}

#main-contents .contents {
	padding: 0;
}

#main-contents h2,
#main-contents h3 {
	font-size: 100%;
	padding-left: 0.3em;
}
#main-contents h2:before,
#main-contents h3:before {
	margin-left: 3px;
}

#main-contents h4 {
	font-size: 100%;
	padding-left: 0.3em;
}
#main-contents h4:before {
	margin-left: 3px;
}

#sub-contents .sub-contents-btn,
#sidebar .sidebar-btn {
	display: none;
}

.sub-column #sub-contents-in,
.sub-column #sidebar-in {
	display: block;
}

.sub-column .widget-conts ul {
	border: 0;
	padding: 0;
	box-shadow: none;
}
.sub-column .widget-conts ul li {
	background: url('./images/icon/icon-arrow03.png') no-repeat 98% center !important;
	border: 1px solid #aaa;
	border-bottom: 0;
	padding: 0 !important;
	box-shadow: inset 1px 1px 0 #fff, 1px 1px 0 #dadada;
}
.sub-column .widget-conts ul li:last-child {
	border-bottom: 1px solid #aaa;
}
.sub-column .widget-conts ul li a {
	padding: 10px !important;
	display: block;
}

/* Copyright */
.copyright {
	padding-bottom: 15px;
}

/* Number List */
#main-contents dl.number-list dd a.phone {
	font-size: 0.8em;
}

/* Page Top */
.page-top {
	width: auto;
	right: 5px;
	bottom: 5px;
	opacity: 0.7;
	filter: alpha(opacity=80);
	-ms-filter: "alpha( opacity=80 )";
}
.page-top a {
	font-size: 0.6em;
	border: 1px solid #111;
	border-radius: 3px;
	box-shadow: inset 1px 1px 0 #333, 1px 1px 0 #444;
}
.page-top a:link,
.page-top a:visited,
.page-top a:hover,
.page-top a:active {
	background: #111;
}

/* Number List */
#main-contents dl.number-list dd {
	width: 50%;
}

/* Pref List */
#main-contents ul.pref-list li {
	margin-bottom: 5px;
}

/* dl table */
dl.dl-table dt {
	width: auto !important;
	margin-right: 0;
	border-right: 0;
	float: none;
}
dl.dl-table dd {
	margin: 0 !important;
	border-left: 0;
}

/* option table */
dl.option-table dt {
	width: 35%;
	font-size: 0.8em;
}
dl.option-table dd {
	width: 65%;
	font-size: 0.8em;
}

/* Thread */
#main-contents dl.log-thread dd {
	margin-left: 0;
}

/* Ad Overlay */
.ad-overlay {
	background: #aaa;
	width: 100%;
	height: 50px;
	position: fixed;
	bottom: 0;
	display: none;
}

/* Fixed */
.fixed-left {
	width: 75px;
	margin-right: 10px;
	margin-bottom: 0;
}
.fixed-right {
	width: 75px;
	margin-left: 10px;
	margin-bottom: 0;
}

/* Main Column Ad Button */
#main-contents a.ad-btn {
	font-size: 1.2em;
}

}