@media screen and (max-width:640px){
img{
	max-width: 100%;
	height: auto;
	width /***/:auto;　
}
#wrapper{
	width:100%;
	padding:0;
	background-image:none;
}


header {
	width: auto;
	height:100%;
	text-align:center;
	padding: 0;
}

h1#logo {
    margin: 5px 0 5px 48px;
    float: none;
    background-size: contain;
}
h1#logo a {
    width: auto;
}


.header_rightbox {
    float: none;
    text-align: center;
	margin-left: 48px;
}
#h_inq_box li {
    margin: 0 2%;
    width: 46%;
}


#mv {
    width: 100%;
    height: 135px;
    background-size: auto 100%!important;
}



#contents{
	width:100%;
	margin:0 auto;
	background: none;
    padding: 0;
}
#main {
	width: 96%;
	float:none;
	padding: 0;
    box-shadow: none;
}


.breadcrumbs {
    margin: 20px 0 30px 10px;
}


h4 {
	padding-left:0;
}


#top_box {
    width: 98%;
}
#news_box {
    width: 100%;
    float: none;
    margin-bottom: 20px;
}
#news li {
    padding: 10px 0 10px 30px;
    line-height: 16px;
    background-position: 10px 15px;
}
#news li .date {
    display: block;
    line-height: 16px;
}
.banners {
    float: none;
}


.inq_box {
    width: 90%;
    margin: 0 auto 50px;
    padding: 15px 4% 1px;
    background: url(../images/inq_box_bg.jpg) repeat center center;
}
.inq_box h3 {
    font-size: 16px;
    line-height: 20px;
    margin: 0 0 10px;
	letter-spacing: -1px;
}
.inq_box dl {
    margin: 0 auto 15px;
    display: block;
}


.gmap {
    width: 100%;
    float: none;
    margin: 0 auto 20px;
}


.pagetop {
    width: 100%;
}
#footer_top {
    width: 98%;
    padding: 20px 0 0;
}
#footer_top .footer_menu {
    width: 100%;
    display: none;
    text-align: center;
}
#footer_top dl.footer_menu:last-child {
    display: block;
}
.footer_menu dt {
    display: none;
}
.footer_menu dd {
    margin: 0 10px;
    display: inline-block;
    text-align: center;
}
#footer_btm{
	width:100%;
}


#sitemap {
	width:auto;
	margin:0 auto 30px;
}
#sitemap .left {
	float:none;
	width:auto;
}
#sitemap .right {
	float:none;
	width:auto;
}
#sitemap h4 {
	margin-left:10%;
}


.alignleft {
    float: none;
    text-align: center;
}
.alignright {
    float: none;
    text-align: center;
}
.alignleft.mgr50.image {
    float: none;
    text-align: center;
    margin: 0 auto 20px;
    margin-bottom: 10px;
}


p {
    margin: 0 auto 10px;
	width: auto;
    text-align: left;
}


table th {
    text-align: left;
    padding: 5px;
    display: block;
    width: auto;
}
table td {
    padding: 5px;
    display: block;
    width: auto;
}


table#profile th {
    border-right: solid 1px #666666;
}
table#profile td {
    padding: 10px;
    text-align: center;
}


#main #trust-form.contact-form table th {
    padding: 10px 0;
    text-align: left;
}


.bg_a {
    text-align: center;
	margin-left:-2%;
	margin-right:-2%;
}
#top_reason {
    width: 98%;
}
#top_reason li {
    margin: 0 auto 20px;
}


.movie {
	position: relative;
    width: 98%;
	padding-top: 55.125%;
}
.movie iframe {
	position: absolute;
	top: 0;
	right: 0;
	width: 100% !important;
	height: 100% !important;
}


.bg_b {
    max-height: 100%;
	text-align:center;
	margin-left:-2%;
	margin-right:-2%;
}
.top_case_box {
    width: 88%;
    padding: 30px 5% 15px;
}
#top_case li {
    margin: 0 auto 5px;
}
#top_case .case_title {
	text-align:left;
}


ul.case_list {
    padding: 0;
}
ul.case_list li {
    margin: 0 1% 30px;
    width: 48%;
}
ul.case_list .case_title {
    font-size: 14px;
    padding: 0 0 0 25px;
    letter-spacing: -1px;
}


ul.equip_list {
    text-align: center;
}
ul.equip_list li {
    margin: 0 auto 30px;
}

/*/////////お問い合わせ///////////////*/
.contact table {
    border: 1px solid #ccc;
    border-bottom: 0;
    box-sizing: border-box;
}
.contact table th {
    text-align: left;
    background-color: #f4f4f4;
    border-bottom: 1px solid #ccc;
}
.contact table td {
    padding: 10px;
    border-bottom: 1px solid #ccc;
}
}
