@charset "utf-8";

/* ==========================================
   お問い合わせフォーム追加CSS
========================================== */

.form-error-lead {
    color: #d30000;
    font-weight: bold;
    margin-bottom: 1em;
}

.error {
    color: #d30000;
    font-size: 0.9em;
}

/* ------------------------------
   入力欄サイズ
------------------------------ */

input[name="name"],
input[name="kana"]{
    width:100%;
    max-width:360px;
}

input[name="tel"],
input[name="email"]{
    width:100%;
    max-width:600px;
}

input[name="post"]{
    width:100%;
    max-width:180px;
}

input[name="address"]{
    width:100%;
    max-width:740px;
}

textarea[name="comment"]{
    width:100%;
    max-width:740px;
    min-height:180px;
    resize:vertical;
}

/* ------------------------------
   必須ラベル
------------------------------ */

.contact th span{
    display:inline-block;
    margin-left:8px;
    padding:2px 6px;
    background:#d30000;
    color:#fff;
    font-size:12px;
    line-height:1.2;
    border-radius:2px;
    vertical-align:middle;
}

/* ------------------------------
   個人情報保護方針
------------------------------ */

.policy{
    margin-top:2em;
}

.policy>p{
    font-weight:bold;
}

.policy>div{
    max-height:240px;
    overflow-y:auto;
    padding:1.5em;
    border:1px solid #ddd;
    background:#fafafa;
    text-align:left;
}

/* ------------------------------
   ボタン周り
------------------------------ */

.inlineC{
    text-align:center;
}

.inlineC p{
    margin:1em 0;
}

.mt_2em{
    margin-top:2em;
}

input.submit,
input.return,
input[type="submit"],
.button{
    cursor:pointer;
}

/* ------------------------------
   スマホ
------------------------------ */

@media (max-width:800px){

    input[name="name"],
    input[name="kana"],
    input[name="tel"],
    input[name="email"],
    input[name="post"],
    input[name="address"],
    textarea[name="comment"]{
        max-width:100%;
    }

    .contact input[type="text"],
    .contact input[type="email"],
    .contact input[type="tel"],
    .contact textarea{
        font-size:16px;
        padding:12px;
        line-height:1.6;
    }

    .contact input[type="text"],
    .contact input[type="email"],
    .contact input[type="tel"]{
        min-height:46px;
    }

    .contact textarea[name="comment"]{
        min-height:220px;
    }

    .contact th{
        padding:10px;
        font-size:15px;
    }

    .contact td{
        padding:10px;
    }

    .contact th span{
        font-size:12px;
        padding:3px 7px;
    }    


}