@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: #39f;
	-webkit-tap-highlight-color: #fc6;
}


/*--------------------------------------------------------
エリアの設定
--------------------------------------------------------*/

#container{
	padding-top: 0;
	padding-bottom: 1.5em;
}


/*--------------------------------------------------------
トップ
--------------------------------------------------------*/

#top{
	position: relative;
	top: 0;
	height: auto;
	padding: 1em 0;
	border-top: 1px solid #555;
	border-bottom: 1px solid #000;
	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; 
    background: #ffa723;
    border-bottom: 1px solid #d0d0d0;
}


/*--------------------------------------------------------
グローバルナビ
--------------------------------------------------------*/

#global-nav { border-bottom: 0; }

#global-nav dt{
	padding-left: 2.5em!important;
	background: url(./images/icon/icon-arrow05.png) 1em center no-repeat;
	color: #fff;
}

#global-nav #global-nav-in .menu-wrap{ display:none; }

#global-nav #global-nav-in #menu{
	margin-bottom: 5px;
	background-color: #eaeaea;
}

#global-nav #global-nav-in #menu,
#global-nav #global-nav-in #menu li{
	width: 100%;
	border: 0;
}

#global-nav #global-nav-in #menu li{
	border-bottom: 1px solid #fff;
	background-color: #eaeaea;
	white-space: normal;
}

#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{
	background: url(./images/icon/icon-gnav.png) 1em center no-repeat #5a5a5a;
        color: #fff;
}

#global-nav #global-nav-in #menu ul li a{ width: auto; }

#global-nav .btn-gnav{
	display:block;
	padding: 1em;
	cursor: pointer;
}

#global-nav #menu li a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 9px 40px;
    text-align: left;
}

/*--------------------------------------------------------
コンテンツ全体
--------------------------------------------------------*/

#main-image .catch-copy{ 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%;
}

#header h1 {
margin-bottom: 1em;
font-size: 1.167em;
margin-left: 0px;
width: 100%;
color: #333;
}
/*--------------------------------------------------------
サブコンテンツ / サイドバー
--------------------------------------------------------*/

/*折り畳み*/
#sub-contents .sub-contents-btn,
#sidebar .sidebar-btn{
	display: block;
	margin-bottom: 1em;
	padding: 1em;
	padding-left: 2.5em!important;
	background: url(./images/icon/icon-arrow05.png) 1em center no-repeat #666;
	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,
#footer .area03{
	float: none;
	width: 98%;
        /* margin-bottom: 2em; */
        margin: 1px auto;
}

.copyright{ padding-bottom: 30px; }

.copyright span{ display: block; }


/*------------------------------------------------------------
WordPress用
-------------------------------------------------------------*/

img.alignleft,
img.alignright{
	float: none;
	display: block;
	padding: 0;
	margin: auto;
}

.wp-caption{
	max-width: 100%;
}

/*--------------------------------------------------------
ページトップ
--------------------------------------------------------*/

.page-top{
	right: 0;
	bottom: 0;
	width: 100%;
	text-align: center;
        margin: 0 auto;
        float: none;
}

.page-top a{
	display: block;
	border: 0;
	border-top: 1px solid #fff;
	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 #ffa723; */
    color: #fff;
    padding: 9px;
    background: #ffa723;
    border-top: 1px solid #909090;
    width: 100%;
}

.page-top:not(\*|*){ position: static; }/* Opera9以下 */


/*--------------------------------------------------------
オリジナル追加枠
--------------------------------------------------------*/
#main-image {
margin: 3px auto;
}

#main-in {
padding-top: 0em;
padding-bottom: 1em;
}

#main-contents .posts {
    width: 98%;
    margin: 5px auto;
    border: 1px solid #d6d6d6;
    border-radius: 5px;
    height: inherit;
    float: none;
}

.posts .left {
    width: 35%;
    float: left;
}

#main-contents .posts p.post-meta {
    float: none;
}

#main-contents .posts h2 {
    margin: 0 0 0.5em;
    padding: 10px 8px;
    border-left: 5px solid #ff9900;
    background: url(./images/common/bg-dot.png) #444444;
    color: #fff;
    font-size: 13px;
    height: inherit;
}

#footer .footer-menu {
    overflow: hidden;
    width: 92%;
    padding: 0;
    margin: 0px auto;
    text-align: center;
}

#main-contents .cont-menu-wp li.nav-next {
    padding: 10px;
    background: #575757;
    border: 2px solid #ff9900;
    border-radius: 5px;
    width: 25%;
    margin-top: 10px;
    margin-right: 8px;
    text-align: center;
}

#main-contents .cont-menu-wp li.nav-prev {
    padding: 10px;
    margin-top: 10px;
    border: 2px solid #ff9900;
    border-radius: 5px;
    background: url(./images/common/bg-dot.png) #444444;
    width: 25%;
    margin-left: 8px;
    text-align: center;
}

#main-contents .cont-menu-wp li.nav-prev a {
    padding: 3px;
    color: #fff;
    text-decoration: none;
}

#main-contents .cont-menu-wp li.nav-next a {
    padding: 3px;
    color: #fff;
    text-decoration: none;
}

.posts .sp_p {
    width: 63%;
    float: left;
}

#main-contents ul, #main-contents ol {
    margin: 0px 5px;
    padding: 0;
    list-style: none;
}

#main-contents .contents {
    margin-bottom: 0em;
    padding: 0 10px;
}

#main-contents p.archive-title {
    margin: 20px auto;
    padding: 5px 5px;
    background: url(./images/common/bg-dot.png) #9e9e9e;
    border: 1px solid #c1c1c1;
}

#sub-contents-in li.cat-item.odd {
    padding: 3px 10px 3px 20px;
    position: relative;
    border-bottom: 1px dashed #eaeaea;
}

#sub-contents-in li.cat-item.even {
    padding: 3px 10px 3px 20px;
    position: relative;
    border-bottom: 1px dashed #eaeaea;
}

#sub-contents-in li.cat-item.even::after {
    display: block;
    content: '';
    position: absolute;
    top: 10px;
    left: 5px;
    width: 6px;
    height: 6px;
    background-color: #bdbdbd;
    -webkit-transform: rotate(-45deg);
    /* transform: rotate(-45deg); */
}

#sub-contents-in li.cat-item.odd::after {
    display: block;
    content: '';
    position: absolute;
    top: 10px;
    left: 5px;
    width: 6px;
    height: 6px;
    background-color: #bdbdbd;
    -webkit-transform: rotate(-45deg);
    /* transform: rotate(-45deg); */
}

#header div#header-in {
    margin: 0px!important;
    width: 100%!important;
}

div#breadcrumbs {
    margin: 10px 13px;
}

div#header-form {
    float: right;
    margin-top: 3px;
}

.blog_link {
    width: 33%;
    float: left;
    margin: 1px auto;
}

#footer-in .foot_ad {
    margin: 15px auto;
    text-align: center;
}


}

@media not screen and (1) { .page-top { position: static; } }/* Opera10以上 */


/*------------------------------------------------------------
　template created by web-rider
-------------------------------------------------------------*/


