/* ----- リスポンシブル用 ---------- */
@media
only screen and (max-width : 640px){
	body {
		position:relative;}
#sb-site {/*wrap代わり*/ 
margin-top: 40px;
background-color: #ffffff;
}
img {
max-width:100%;
height:auto;
}
.wrap {
width: 100%!important;
min-width: 100%!important;
}
.wrap_in {
width: 100%!important;
min-width: 100%!important;
}
input#s {
background: url(images/search.png) #fff no-repeat 5px 6px;
-moz-border-radius: 2px;
border-radius: 2px;
font-size: 14px;
height: 22px;
line-height: 1.2em;
padding: 4px 10px 4px 28px;
width:85% !important;
}
.sp_search {
	margin:20px;
	width:80%;
}
.sp_search p {
	font-size:0.9em;
	
}
/*--------------------------------------------------------
背景画像
--------------------------------------------------------*/
.pc_bg {
display:none;
}
.sp_bg {
display:block;
margin-top:80px;}
/*--------------------------------------------------------
ヘッダー
--------------------------------------------------------*/
#header {
display:block;
position:fixed;
top:0;
height:40px;
background:#fff;
box-shadow:1px 1px  5px rgba(0, 0, 0, 0.4);
width: 100%;
z-index: 4;
}
.logo {/*スマホ用*/
padding-top:3px;
width:112px;
margin-left:5px;
float:left;
}
.logo img {
width:100%;
}
#logo {display:none;}/*PC用*/
/*--------------------------------------------------------
為替レート
--------------------------------------------------------*/
.exchange {
	position:relative;
	margin:-50px auto 50px;
	width:90%;
	clear:both;
}
/*--------------------------------------------------------
グローバルナビ
--------------------------------------------------------*/
.main_navi{display:none;}

/*--------------------------------------------------------
サイドバー
--------------------------------------------------------*/
#side {
display:block;
clear:both;
width:100%;
margin-right:0;
}
.widget_title {
width:95%;
margin:25px 10px 15px;
}
.widget input#s {
margin:0 2%;
width:95%;
}
.widget ul li {
margin-left:35px;
}
.widget ol li:before {
		left:8px;
}
.latestentry {
	width:95% !important;
	margin:auto;
	float:none;
	clear:both;
}
/*--------------------------------------------------------
メイン
--------------------------------------------------------*/
#content_frontpage, #content{
width:100%;
}
#content_frontpage ul.content_in, ul.content_in {
max-width:85%/*280px*/;
width:auto;
margin:0 auto;
}
ul.content_in li {
float:left;
margin:10px 0 10px;
width:100%;
}
.entry_thumbnail ,.entry_thumbnail img{
	width:100%;

}
.entry_thumbnail a img, .entry_thumbnail a:hover img {
	border:none !important;
}
.entry_thumbnail {
	border:3px solid #ccc !important;
	min-width:291px;
}
.entry_title_index {
	margin-bottom:0;
}
a.label{
	font-size:1em;
}
.twocol_in {
	width:96%;
}
.twocol_entrytitle {
	font-size:0.9em;
	line-height:1.3;
}
.fourcol_in {
	width:46%;
}
/*個別ページ*/
.entry_content {
margin:0 15px 0 10px;
}
.entry_content ul {
margin-left:25px;
}
.page_box {
width:150px;
}
.page_box .pagination{
margin-top:10px;
}
.page_thum {
width:80px;
float:left;
}
/*関連記事*/
ul.related {
	margin-left:0 !important;
}
.related li{
	width:50%;
}
/*--------------------------------------------------------
トップページ　slider部分含む
--------------------------------------------------------*/
.frontpage .widget {
width:100%;
margin-left:0;
margin-bottom:0;
}
.frontpage .widget_wide {
float:left;
width:100%;
margin-left:0;
}
.frontpage .widget_wide li {
float:none;
}
.frontpage .widget_title {
width:85%;
margin:25px 10px 15px;
}
.website_link {
width:320px;
margin:20px auto 0;
}
.website_link_in {
width:310px;
float:none;
}
/*--------------------------------------------------------
404
--------------------------------------------------------*/
.notfound {font-size:1.4em;}
/*--------------------------------------------------------
フッター
--------------------------------------------------------*/
#footer {
width: 100%!important;
min-width: 100%!important;
}
#footer_in {
width:100% !important;
}
.widget_footer {
	width:40%;
}
.widget_footer li {
/*	margin-left:35px;*/
}
.widget_footer ul li.cat-item {
	width:100%;
	float:left;
}
.copyright {
text-align:center;
clear:both;
padding-top:50px;
color:#fff;
font-size:12px;
}
/*--------------------------------------------------------
Contact Form7
--------------------------------------------------------*/
.wpcf7-form-control-wrap input, .wpcf7-form-control-wrap textarea{
width:100%;
}
/*--------------------------------------------------------
SNS シェアボタン
--------------------------------------------------------*/
#line {
	   display:block;
}
.button-whole {
   float: left;
   width: 15.6%;
   margin: 0 0.5% 0 0.5%;
   box-sizing: border-box;
}
}
