#mobile_fixed {
  position: static;
}

#under_fixed_area {
display:none;
width:0;
}

#main_content {
/*margin-top:0; */
z-index:0;
}

@media only screen and (max-width:640px) {

.mobile_fixed_mode #header {
box-sizing:border-box;
position:relative;
top:12px;
height:43px;
width:100%;
padding:0;
border:1px solid transparent;
z-index:1;
}

.mobile_fixed_mode #header * {
box-sizing:border-box;
}

.mobile_fixed_mode #mobile_fixed,
.mobile_fixed_mode #mobile_fixed2 {
  box-sizing:border-box;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  display: block;
  background-color: #fafafa;
  height: 43px;
  z-index: 100;
  padding-top:12px;
  width:100%;
/*  border:1px solid red; */
}  

.mobile_fixed_mode #mobile_fixed2.test {
  border:20px solid red;
  z-index:500;
}  

.mobile_fixed_mode #logo_area {
/*  width:40%; */	/* jQueryで幅を設定する */
}

.mobile_fixed_mode #logo_area h1#logo_image,
.mobile_fixed_mode #social_search_area {
  width:100%;
}

.mobile_fixed_mode #under_fixed_area {
display:block;
margin-top:43px;
height:0;
max-width:100%;
}


.mobile_fixed_mode #global_menu {
top:0px;
}


#logo_image a:before {
content:none;
}

#logo_image a img {
width:100%;
max-width:210px;
height:auto;
display:block;
}

#logo_image img {
display:block;
}

.single_post .image img {
display:none;
}

}









.divclass {
position:relative;
margin-bottom:40px;
}

#sentakushi_form {
position:absolute ;
	zoom:1.1;
	z-index: 1000;
	opacity: 0;
	border:0;
	width:200px;
	height:20px;
}

div#sentakushi_form2 {
	border:2px solid #f85;
	padding:0;
	padding-left:10px;
	position:relative;
	line-height:20px;
	width:200px;
	white-space:nowrap;
	overflow:hidden;
	-webkit-text-overflow:ellipsis;
	text-overflow:ellipsis;
	z-index: 1;
}
div#sentakushi_form2:before {
	content:"";
	display: block;
	width:20px;
	height:20px;
	background : #f85;
	border-radius: 0;
	padding:0;
	position: absolute;
	right:0;
	top:0;
}
div#sentakushi_form2:after {
	content:"";
	width:0;
	height:0;
	display: block;
	border:4px solid transparent;
	border-top:8px solid white;
	position: absolute;
	right:5px;
	top:6px;
}


#sentakushi2_form {
position: absolute;
	zoom:1.1;
	z-index: 1000;
	opacity: 0;
	border:0;
	width:200px;
	height:40px;
}



div#sentakushi2_form2 {
	border:2px solid #58f;
	border-radius:10px;
	background-color:#58f;
	color:white;
	padding:0;
	padding-left:10px;
	position: relative;
	line-height:40px;
	width:200px;
	white-space:nowrap;
	overflow:hidden;
	-webkit-text-overflow:ellipsis;
	text-overflow:ellipsis;
}
div#sentakushi2_form2:before {
	content:"";
	display: block;
	width:40px;
	height:40px;
	background : #000;
	border-radius: 0;
	border-left:2px solid white;
	padding:0;
	position: absolute;
	right:0;
	top:0;
}
div#sentakushi2_form2:after {
	content:"";
	width:0;
	height:0;
	display: block;
	border:15px solid transparent;
	border-top:20px solid white;
	position: absolute;
	right:5px;
	top:10px;
}