@charset "UTF-8";
/*-- お問い合わせのページ -------------------------------*/
.contact-top img{
    margin: 150px auto 0;
    width: 100%;
}
.contact-top{
    width: 100%;
}

/*お問い合わせテーブル*/
.mail-form-wrap {
    width:80%; /*700px */
    margin-right: auto;
    margin-left: auto;
    font-size: 1em;
    margin-top: 60px;
}

#trust-form {
    width: 100%;
    height: auto;
}

#trust-form table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}



div#trust-form.contact-form table th{
    padding: 10px 0;
    border-bottom: 1px dashed rgb(242,145,0);
    text-align: left;
    vertical-align: top;
    font-weight: bold;
}

div#trust-form.contact-form table td {
    padding: 10px 0;
    border-bottom: 1px dashed rgb(242,145,0);
    text-align: left;
    vertical-align: middle;
}


div#trust-form.contact-form table div {
    padding: 0 30px;
}

div#trust-form.contact-form table {
    margin-bottom: 2em;
}

/*入力内容ボタン*/
div#trust-form #confirm-button {
    text-align: center;
}

input[type="submit"]{/*入力内容確認*/
    font-size: 95%; height:40px;
    background-color: rgb(255,233,174);
    color:rgb(242,145,0);
    margin-bottom: 10%;
    padding: 0 20px;
}

/*表枠線指示*/
input[name="element-0"],input[name="element-3"],input[name="element-4"],input[name="element-5"],input[name="element-6"]{
    height:30px;
    border: solid 1px #000;
    font-size: 100%;
}

textarea[name="element-7"]{/*お問い合わせ内容枠*/
    font-size: 100%;
    border: solid 1px #000;
}

/*スマートフォン向けCSS*/


/* 767px以下の場合 ===================================== */
  
@media screen and (max-width: 767px){
    

.contact-top img{
    margin: 100px auto 0;
    width: 100%;
}

    .wrapper{width: 100%;
}
.mail-form-wrap{
                width: 100%;
                justify-content: center;
}

 .contact3{/*th*/
             display: block;
             width: 100%;
            background-color: rgb(255,233,174);
 }

.contact2{/*td*/
 display: block;
 width: 100%;
 }

.contact-table,contact2{/*table,td*/
width:100%;
table-layout: fixed;
    word-break: break-word;
}

/*黒枠ボックス伸縮*/
input[name="element-0"],input[name="element-3"],input[name="element-4"],input[name="element-5"],input[name="element-6"],textarea[name="element-7"]
    {width:100%;
table-layout: fixed;
}
    
    input[type="submit"]{/*入力内容確認*/
-webkit-appearance: none;
}
}
/*  @media screen and (max-width: 767px)---------------------------- */
/* 767px以下の場合 ここまで ===================================== */