@charset "utf-8";

/*===============================================
●smart.css  画面の横幅が640pxまで
===============================================*/
@media screen and (max-width:640px){
img{
    max-width: 100%;
    height: auto;
    width /***/:auto;　
}
#wrapper {
    width:100%;
}
.pc {
    display:none;
}
.wrapper_s {
    width: 90%;
    margin: 0 auto;
    padding: 20px 10px;
    background-color: rgba(249, 249, 249, 0.8);
}

/* logo */
h1 {
    margin: 10px;
}

/*nav*/
nav {
    font-size: 12px;
}
header {
    position:fixed;
    width:100%;
    top:0;
    left:0;
    z-index:100;
    background-color: rgba(255, 255, 255, 0.9);
}
.spmenu_btn {
    display:block;
    position:absolute;
    top:14px;
    right:15px;
    width:30px;
    height:22px;
    background:#000;
    border-top:10px solid #fff;
    border-bottom:10px solid #fff;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    box-sizing:border-box;
    -moz-transition:all 0.3s;
    -webkit-transition:all 0.3s;
    transition:all 0.3s;
}
.spmenu_btn:before {
    content:'';
    position:absolute;
    width:30px;
    height:2px;
    background:#000;
    top:-9px;
    right:0;
    -moz-transition:all 0.3s;
    -webkit-transition:all 0.3s;
    transition:all 0.3s;
}
.spmenu_btn:after {
    content:'';
    position:absolute;
    width:30px;
    height:2px;
    background:#000;
    bottom:-9px;
    right:0;
    -moz-transition:all 0.3s;
    -webkit-transition:all 0.3s;
    transition:all 0.3s;
}
.spmenu_btn.active {
    background:#FFF;
}
.spmenu_btn.active:before {
    -moz-transform:rotate(-135deg);
    -webkit-transform:rotate(-135deg);
    transform:rotate(-135deg);
    top:0;
    right:0;
}
.spmenu_btn.active:after {
    -moz-transform:rotate(135deg);
    -webkit-transform:rotate(135deg);
    transform:rotate(135deg);
    bottom:0;
    right:0;
}
.spmenu {
    display:none;
    position:absolute;
    top: 65px;
    left:0;
    width:100%;
    background-color: rgba(0, 0, 0, 0.9);
}
nav {
    display:block;
    width:100%;
    margin:0 auto;
}
nav li a {
    max-width: 300px;
    margin: 0 auto;
    display:block;
    width:100%;
    color:#FFF;
    padding:15px;
    -webkit-box-sizing:border-box;
    box-sizing:border-box;
    position:relative;
}
nav li {
    border-bottom:1px solid #999;
}
nav span {
    display: inline-block;
    font-size: 16px;
    width: 120px;
}
}

@media screen and (max-width: 640px){
.slide {
    max-width: 60%;
    position: relative;
    top: 50%;
    left: 40%;
}
.slide ul li {
    font-family: "Rounded Mplus 1c";
    font-size: 18px;
    height: 120px;
    padding: 20px;
    color: #ffffff;
    font-weight: bold;
}
#main_visual {
    background-image: url(../images/main-sp.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    border-bottom: solid 7px #ffffff;
    height: 450px;
}

/*各タイトル*/
h2 {
    padding: 70px 0 20px;
    width: 95%;
    margin: 0 auto;
}
h2 span {
    font-size:26px;
}
}
/*サービス内容*/
@media screen and (max-width:640px){
.cont_txt dl dt {
    font-size: 18px;
    font-family: "Rounded Mplus 1c";
}
.cont_txt dl dt:before {
    height: 90px;
}
.cont_txt dl dd {
    font-size: 16px;
}
}

/*会社概要*/
@media screen and (max-width:640px){
table.about-tab,
table.about-tab tbody,
table.about-tab tr,
table.about-tab th,
table.about-tab td {
    display: block;
}
table.about-tab th {
  	text-align: center;
    background-color: #0074c547;
}
table.about-tab th,
table.about-tab td {
    border: solid 1px #0074c547;
}
table.about-tab td {
    padding: 10px;
}
}
/*お問い合わせ*/
@media screen and (max-width:640px){
table.formTable,
table.formTable tbody,
table.formTable tr,
table.formTable th,
table.formTable td {
    display: block;
}
#formWrap,
.formTable {
    width: 95%;
}
p.tel_n,
#contact .cont_right span {
  font-size: 22px;
}
#contact .cont_right,
#contact .cont_left {
    margin-right: 0;
    float: none;
    margin-bottom: 15px;
}
#contact .cont_right p,
#contact .cont_left p {
    margin-bottom: 0;
}
#contact p {
    font-weight: normal;
}
.form_text {
    width: 95%;
}
}
/*施工事例*/
@media screen and (max-width:640px){
ul.other-p {
    max-width: 290px;
    margin: 0 auto;
}
ul.other-p li {
    max-width: 285px;
    margin: 30px 0;
}
}
