@charset "UTF-8";
/*---------------------------------------------------------
Theme Name: niaty Theme
Theme URI: http://niaty.com
Description:
Author: m.taniguchi
Author URI: http://niaty.com
Tags: custom-header, custom-menu
Version: 20161224
---------------------------------------------------------*/
body{ overflow-x: hidden; }

.contact #breadcrumb{ min-height: 35px; }
#content.contact article{
    margin: 0 auto;
    max-width: 980px;
    padding: 30px 50px 0;
}

#content.contact h2{
    color: #fff;
    font-size: 180%;
    text-align: center;
    font-weight: bold;
    background:rgb(211, 199, 199)
}

#mw_wp_form_mw-wp-form-54 {
    border: 15px solid rgb(241, 241, 241);
    padding: 2% 4%;
}

/*----------------------------------------------------
form
----------------------------------------------------*/
.detail_box.mwform dl{
    margin-top: 15px;
}
.detail_box.mwform dt {
    display: inline;
    position: absolute;
    line-height: 31px;
    font-size: 14px;
    text-align: right;
    width: 120px;
}

.detail_box.mwform dd {
    padding-left: 170px;
    min-height: 45px;
    border: none;
}

.detail_box.mwform dd span.rq{
    position: absolute;
    margin: 4px 0 0 -42px;
    padding: 0 4px;
    height: 20px;
    line-height: 21px;
    font-size: 13px;
    font-weight: 600;
    background: #d65946;
    color: #fff;
}
.detail_box.mwform dd span.pd{
    background: #5DA058;
}

.detail_box.mwform .tx_box {
    border: 7px solid rgb(241, 241, 241);
    padding: 10px 15px;
    height: 120px;
    overflow-y: auto;
    margin: 25px auto;
    max-width: 850px;
}

.detail_box.mwform .tx_box span.ttl{
    font-size: 110%;
    color: #676767;
}
.detail_box.mwform .tx_box p{ font-size: 75%; color: #707070; line-height: 1.6; }

#wrapper.page_aside #content .tx_box p{
    line-height: 20px;
    font-size: 12px;
}
.mw_wp_form_confirm .tx_box,
.mw_wp_form_confirm .pvc{
    display: none;
}

.detail_box.mwform p.pvc{
    margin-top: 20px;
    width: auto;
}
.detail_box.mwform input,
.detail_box.mwform select,
.detail_box.mwform textarea{
    font-size: 100%;
    line-height: 28px;
    padding: 0 10px;
    border: 1px solid #AECFAB;
}
.detail_box.mwform input[type=text],
.detail_box.mwform input[type=email]{
    min-width: 350px;
    max-width: 400px;
    width: 60%;
}
.detail_box.mwform .short select{
    min-width: 165px;
}
.detail_box.mwform textarea{
    height: 250px;
}

.detail_box.mwform .pvc{ height: auto; }

.detail_box.mwform .submit{
    margin: 0 0 25px;
    text-align: center;
    font-weight: 600;
}
.detail_box.mwform .submit input{
    width: 84%;
    height: 3em;
    font-size: 20px;
    color: #fff;
    background: #46d659;
    border: none;
}
.detail_box.mwform input[name=submitConfirm]{
    width: 100%;
    background: rgb(255, 140, 39);
}

.detail_box.mwform input[name=submitBack]{
    width: 70px;
    background: #aaa;
}
.detail_box .mwform-checkbox-field{ margin-left: 50px; }
.detail_box input[type=checkbox] {
    position: absolute;
    margin: 0 0 0 -30px;
    width: 24px;
    height: 24px;
    -moz-transform:     scale(1.4);
    -webkit-transform:  scale(1.4);
    transform:      scale(1.4);
}

.detail_box.mwform .submit input:hover{
    opacity: 0.7;
}

.detail_box.mwform dd.short .error{
    width: 152px;
}

.detail_box.mwform .pvc .error{ margin: 0 auto; }
.detail_box.mwform .error{
    max-width: 350px;
    font-size: 93%;
    color: #B70000;
    display: block;
    background: #fff1f1;
    position: relative;
    padding: 0 0 0 10px;
    border-radius: 0 0 10px 10px;
    margin: -1px 0 10px;
    border: 1px solid #f3bfbf;
    border-top-style: dashed;
    animation: Flash 2s infinite;
}


@keyframes Flash{
  50%{
    box-shadow: 0 4px 15px -8px #F55757;
  }
}


@media only screen and (max-width: 767px) {
    /* お問合せ */
    #content.contact article{
        margin: 0 auto;
        max-width: 980px;
        padding: 30px 5px 0;
    }

    #content.contact h2{
        color: #fff;
        font-size: 150%;
        text-align: center;
        font-weight: bold;
        background:rgb(211, 199, 199)
    }

    #mw_wp_form_mw-wp-form-54 {
        border: 5px solid rgb(241, 241, 241);
        padding: 2% 4% 2em;
    }

    .detail_box.mwform input[type=text],
    .detail_box.mwform input[type=email]{
        min-width: 0;
    }
    .detail_box.mwform dt{
        display: block;
        line-height: 31px;
        width: auto;
        margin-top: 5px;
        position: inherit;
        text-align: left;
        font-weight: bold;
        font-size: 110%;
        color: #777;
    }
    .detail_box.mwform dd{ padding-left: 33px; min-height: 40px; }
    .detail_box.mwform input[type="text"], .detail_box.mwform input[type="email"],.detail_box.mwform textarea{ width: 93%; }
    .detail_box.mwform .submit{ margin: 25px 0 0; }

    .detail_box.mwform input[name="submitBack"]{ margin-top: 25px; }

    .detail_box.mwform .mw_wp_form_confirm .rq{ display: none; }
    .detail_box.mwform .mw_wp_form_confirm dd{
        font-size: 120%;
        color: rgb(49, 49, 49);
        border-bottom: 1px solid #ccc;
    }
    .mw_wp_form_confirm .detail_box.mwform dt{ padding: 5px 5px; background: #f1f1f1; }

}