/* Tablet Devices Resizing */
@media screen and (min-width:750px) and (max-width: 970px) {
#horizontal-ad {
	display:none;
}
#vertical-ad {
	display:block;
}
div#wrap {
	width:740px
}
div#sidebar {
	width:175px /*200px*/;
}
ul#navigation {
	width:175px /*205px*/;
}
div#container {
	width:535px
}
input {
	padding:5px;
	font-size:90%
}
textarea {
	width:300px !important;
	padding:5px;
	font-size:90%
}
button {
	padding:5px 10px;
	font-size:85%
}
fieldset#contact_form textarea {
	width:98.5%;
	height:150px
}
.page_title {
	margin-left:25px;
}
ul li {
	font-size:90%
}
div.map iframe {
	width:90.5%;
	height:220px
}
div.social_icons a {
	margin-left:4px !important
}
h2.enmode2 span {
	font-weight:normal;
	color:#0e335f;
	font-size:16px !important;
	text-indent:0.9em;
	display:block;
	}
h3.member_name {
	font-size:90%
}
div#members img {
	width:87.5%
}
img.featured_image {
	max-width:96% !important
}
div#works {
	width:535px
}
div#works img {
	width:25.8%;
	min-height:100px
}
div.image_gallery {
	width:535px
}
div.page_content img {
	max-width:92%
}
.social_icons {
	text-align:center
}
.social_icons a {
	background-size:25px;
	width:25px;
	height:25px
}
#skills .one_fourth {
	width:250px;
}
}

/* Phone Devices Resizing */
@media screen and (max-width:750px) {
#horizontal-ad {
	display:none;
}
#vertical-ad {
	display:block;
}
#bsads {
	margin-top:20px;
	padding-left:100px;
}
#logo {
	display:block;
	width:100%;
	position:relative;
	height:112px;
	background:url(../images/header_e_sp.png) top center no-repeat;
	text-indent:-9987px;
}
div#wrap {
	width:320px;
	font-size:11px !important;
}
div#sidebar {
	width:320px;
	position:relative;
	border:none;
	float:none;
	clear:both;
	padding: 0;
}
ul#navigation li.menu6 a {
	background:url(../images/emenu/jp.png) center top no-repeat !important;
	width:auto;
	height:42px;
	display: block;
	cursor:pointer;
	padding:0px;
	text-align:center;
}
ul#navigation li.menu6 a:hover {
	background:url(../images/emenu/jp.png) center top no-repeat!important;
}
div#container {
	float:none;
	width:320px;
	clear:both;
	background:none #fff;
}
a#logo {
	position:relative;
	border-right:none;
	width:auto
}
a#logo:hover {
	border-right:none
}
#logo2 {
	display:none;
}
ul#navigation {
	position:relative;
	width:320px;
	margin:0;
}

div#container {
	left:0;
	width:300px;
	padding: 10px;
}
h1{
	font-weight:bold !important;
	color:#003366 !important;
	font-size:15px !important;
	font-weight:normal !important;
	margin:10px 0;
}
h2.enmode2 {
	color:#0e335f !important;
	font-size:24px !important;
	background:url(../images/h2_bg.jpg) left top no-repeat;
	height:60px;
	width:auto;
	text-indent:0.7em;
	padding-top:43px;
}
h2.enmode2 span {
	font-weight:normal;
	color:#0e335f;
	font-size:13px !important;
	letter-spacing:-1px;
	text-indent:0em;
	display:block;
	}
h3 {
	font-size:15px !important;
	color:#333 !important;
	background:url(../images/h3_bg.jpg) left top no-repeat;
	padding-left:1em;
	margin-bottom:5px;
}
div.page_content {
	width:300px;
	padding:5px 0 20px 0
}
div.page_content p {
	font-size:11px;
	padding:0 !important;
	margin:0 !important;
}
div.page {
	width:300px;
	padding-top:10px;
}
div#members img {
	border-width:5px;
	width:92.5%
}
div.footer {
	margin-top:25px
}
h1 {
	font-size:18px
}
h2 {
	font-size:16px
}
h3 {
	font-size:14px
}
h4 {
	font-size:12px
}
h5 {
	font-size:10px
}
h3.member_name {
	font-size:12px
}
div#members span.role {
	font-size:9px
}
div.blogpost div.misc p.post_info {
	font-size:9px
}
div.blogpost div.misc p.comments {
	font-size:9px
}
img.featured_image {
	max-width:93.5% !important
}

textarea {
	width:285px !important;
	height:150px;
}

fieldset#contact_form {
	width:100%;
	float:none
}
div.map {
	float:none;
	width:100%;
	margin-top:10px
}
div.map iframe {
	width:auto
}

div.page_content img {
	max-width:87%
}
div.post_content {
	padding-left:15px
}
#switcher {
	height:15px;
	position:relative;
	text-align:center
}
#switcher a {
	display:inline
}

.flex-direction-nav {
	display:none !important
}
.flex-control-nav {
	bottom:10px !important;
	top:auto !important
}
.gf-slider {
	border:none !important
}
.flex-caption {
	display:none !important
}
.social_icons a {
	background:none;
	font-size:12px;
	width:auto;
	height:auto
}
.column_content p {
	margin-left:0px;
}

h2 {
	color:#0e335f !important;
	font-size:18px !important;
	background:url(../images/h2_bg.jpg) left bottom no-repeat;
	height:27px;
	width:auto;
	text-indent:0.7em;
	padding-top:10px;
}
#skills .one_fourth {
	width:280px;
}
.flex-control-nav {
	display:block;
}
.one_half {
	float:left;
	width:100%
}
.one_half > .column_content, .one_half > div {
	padding-right:0px;
	background:none;
}
.last > .column_content, .last > div {
	padding-right:0;
	background:none !important;
}
.one_half.last > .column_content, .one_half.last > div {
	padding-left:0px !important;
}
div.space {
	display:none;
}
.column_content {
	margin-top:20px;
}

.maru tr td:first-child {
    border-right:none;
}

.maru2 th {
	white-space:nowrap !important;
	background:none !important;
	border-right:1px dashed #2387be;
}
.rinenwrap h3 {
	background:none;
	font-size:14px !important;
	color:#0e335f !important;
	padding:15px 0 0 0;
}
form#mailformpro dl {
	width:98%;
}
form#mailformpro dl dt {
	width: 98% !important;
	heigh:30px;
	clear: both;
	font-size: 12px;
	padding: 10px 10px 5px 0 !important;
	text-align: left !important;
	border-top: solid 1px #CCC;
	margin: 0px;
	float:left;
}
form#mailformpro dl dd {
	width: 98% !important;
	heigh:30px;
	border-top: none !important;
	margin: 0px;
	padding: 5px 0px 8px 0 !important;
	font-size: 12px;
	line-height: 1.5em;
}
form#mailformpro dl dt p {
	margin:0 !important;
	padding:0 !important;
	font-size:9px !important;
	color:#999;
	display:inline-block;
	text-indent:1em;
}

}
