@charset "UTF-8";
/*******************************

contact.Css

*******************************/

/*-----------------------------
ページタイトル
-----------------------------*/
.page-ttl {
    background: url(../img/ttl-back.jpg) left 50% no-repeat;
    background-size: cover;
}


/*-----------------------------
section
-----------------------------*/
p.maintxt {
    font-size: 200%;
    margin-top: 100px;
    margin-bottom: 50px;
}

section {
    margin-bottom: 100px;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
    max-width: 1366px;
    margin-left: auto;
    margin-right: auto;
}

section .inner {
    width: 90%;
    max-width: 1115px;
}

section h3 {
    color: #fff;
    font-size: 170%;
    text-align: left;
    line-height: 1.3;
    background: #007ae4;
    padding: 5px 5px 5px 70px;
    -webkit-clip-path: polygon(5% 0, 100% 0, 100% 100%, 0 100%);
    clip-path: polygon(5% 0, 100% 0, 100% 100%, 0 100%);

    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

section h3 span {
    padding-left: 20px;
}


section .txtWrap {
    max-width: 980px;
    padding: 20px 0 0 50px;
}

section p.tel {
    text-align: center;
    color: #0079e0;
    font-weight: bold;
    font-size: 350%;
}

section span.req {
    display: inline-block;
    background: #cb3737;
    color: #fff;
    border-radius: 5px;
    font-size: 12px;
    padding: 0 10px;
    margin: 0 10px;
}

section .contact-tb {
    width: 100%;
    margin: 30px 0;
}

section .contact-tb tr {
    border-bottom: 2px solid #fff;
}

section .contact-tb th {
    font-size: 120%;
    padding: 30px 20px;
    background: #e5f1fc;
}

section .contact-tb td {
    padding: 30px 20px;
    font-size: 110%;
}

section .contact-tb .red {
    color: #cb3737;
}

section p.privacy {
    font-size: 120%;
    margin-bottom: 60px;
}

section p.privacy span {
    display: block;
    text-align: center;
    margin-top: 70px;
}

section .privacy a {
    color: #007ae4;
    text-decoration: underline;
    text-align: center;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    background-color: #fff;
    color: #333;
    width: 95%;
    border: 1px solid #ddd;
    font-size: 100%;
    padding: 0.5em 2%;
    border-radius: 4px;
    -webkit-box-shadow: 1px 1px 3px rgba(0, 0, 0, .1) inset;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, .1) inset;
}

/*送信ボタン*/
input[type="button"],
input[type="submit"] {
    display: block;
    -webkit-appearance: none;
    width: 100% !important;
    max-width: 315px !important;
    padding: 20px 0;
    margin: 0 auto 20px auto;
    font-weight: bold;
    background: #0079e0;
    color: #fff;
    border-radius: 0!important;
    cursor: pointer;
    border: none;
}

/*==== mobile スマフォ横〜用css ===*/
@media screen and (max-width: 768px) {
    p.maintxt {
        font-size: 170%;
        margin-top: 50px;
        margin-bottom: 30px;
        text-align: center;
    }

    section {
        margin-bottom: 50px;
    }

    section .inner {
        width: 95%;
    }

    section h3 {
        font-size: 130%;
        padding: 5px 5px 5px 40px;
    }

    section h3 span {
        padding-left: 10px;
    }

    section .txtWrap {
        padding: 20px 0 0 0;
    }

    section p.tel {
        font-size: 250%;
    }
    section p.privacy span {
        margin-top: 50px;
    }
}

/*==== mobile スマフォ縦用css ===*/
@media screen and (max-width: 480px) {
    p.maintxt {
        margin-top: 30px;
    }

    .wrap-common {
        margin: 30px auto;
    }

    section {
        margin-bottom: 50px;
    }

    section h3 {
        font-size: 110%;
        padding: 5px 5px 5px 30px;
    }

    section .txtWrap {
        width: 95%;
        padding: 20px 0 0 0;
    }

    section .contact-tb,
    section tbody,
    section tr,
    section th,
    section td {
        display: block;
    }

    section .contact-tb th {
        padding: 10px 20px;
    }
}

.alert{
    margin-top: 20px;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ff0000;
    color: #ff0000;
    font-weight: bold;
}