@charset "UTF-8";
@import url('https://fonts.googleapis.com/css?family=Open+Sans:700');

.contents{
    width: 800px;
    margin: 0 auto;
}

.title{
    font-size: 35px;
    margin: 80px 0 30px 0;
    text-align: center;
}

.contents > p{
    text-align: center;
}

.table{
    text-align: center;
    position: relative;
}

.table > li{
    margin-top: 30px;
}

.table > li > span{
    color: #FF9900;
}

.table > li > label{
    margin-right: 10px;
}

.table > li > input{
    border: solid  1px #FF9900;
    border-radius: 5px;
    font-size: 16px;
    width: 500px;
    line-height: 35px;
    padding-left: 5px;
}

.table > .mail{
    padding-right: 110px;
}

.table > .company{
    padding-right: 67px;
}

.table > .content{
    text-align: left;
    padding-left: 50px;
}

.content > span{
    float: left;
}

.content > label{
    height: 125px;
    float: left;
}

.content > .number{
    display: inline-block;
}

.content > .numbers{
    display: block;
    
}

.content > p{
    font-size: 15px;
}

.content > input{
    margin-top: 10px;
}

.table > .meseage > textarea{
    border: solid  1px #FF9900;
    border-radius: 5px;
    font-size: 16px;
    width: 500px;
    height: 150px;
    padding: 5px;
    margin-left: 70px;
    resize: none;
}

.table > .meseage > label{
    position: absolute;
    left: 100px;
}

.table > .meseage > span{
    position: absolute;
    left: 85px;
}

.inquiry{
    margin: 0 auto;
    width: 132px;
    height:42px;
}

.inquiry_button{
    text-align: center;
    width: 132px;
    height:42px;
    font-size: 14px;
    font-weight: bold;
    margin: 60px auto 0 auto;
    text-decoration: none;
    border-radius: 4px;
    background-color: #6cb42c;
    color: #FFFFFF;
}

.inquiry_button:active{
    transform: translateY(4px);
    box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.2);
    border-bottom: none;
}

.inquiry_button:hover{
    opacity: 0.9;
    cursor: pointer;
}

.inquiry_button >  a > h2{
    color: white;
    text-align: center;
}

.mail_form_active{
    text-decoration: underline;
}

@media (max-width: 480px) {
    .contents{
        width: 90%;
    }

    .table{
        text-align: left;
    }

    .table > li > input{
        width: 100%;
    }

    .table > .mail{
        padding-right: 0px;
    }
    
    .table > .company{
        padding-right: 0px;
    }
    
    .table > .content{
        position: static;
        padding-left: 0px;
    }

    .content > span{
        float: none;
    }
    
    .content > label{
        height: auto;
        float: none;
    }
    
    .content > .number{
        display: block;
    }
    
    .content > .numbers{
        display: block;
    }

    .table > .meseage > textarea{
        width: 100%;
        margin-left: 0; 
    }
    
    .table > .meseage > label{
        position: static;
        left: 0;
    }
    
    .table > .meseage > span{
        position: static;
        left: 0;
    }

    .page_top{
        margin-top: 150px;
    }

}
@media screen and (min-width:600px) and (max-width:959px) {
    .contents{
        width: 90%;
    }

    .table{
        text-align: left;
    }

    .table > li > input{
        width: 100%;
    }

    .table > .mail{
        padding-right: 0px;
    }
    
    .table > .company{
        padding-right: 0px;
    }
    
    .table > .content{
        position: static;
        padding-left: 0px;
    }
    .content > span{
        float: none;
    }
    
    .content > label{
        height: auto;
        float: none;
    }
    
    .content > .number{
        display: block;
    }
    
    .content > .numbers{
        display: block;
    }
    

    .table > .meseage > textarea{
        width: 100%;
        margin-left: 0; 
    }
    
    .table > .meseage > label{
        position: static;
        left: 0;
    }
    
    .table > .meseage > span{
        position: static;
        left: 0;
    }

    .page_top{
        margin-top: 200px;
    }
}