@charset "utf-8";

#page-form {
    width: 1000px;
    margin: 0 auto 100px;
}
#page-form h1.title {
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    margin: 30px 0;
    font-family:-apple-system, BlinkMacSystemFont, "Helvetica Neue", "游ゴシック","Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro",  Verdana, Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
}
#page-form .description {
    padding-left: 100px;
}
#page-form .txt01 {
    margin-bottom: 10px;
}
#page-form .form-link {
    color: #C72A2A;
}
#page-form .description ul {
    list-style-type: disc;
    margin: 50px 0 50px 20px;
}
#page-form h3.ttl-img {
    text-align: center;
    margin: 0 0 20px;
}
#page-form #formbox .inner {
    background: #fff;
}
#page-form #formbox table {
    width: 100%;
    margin: 0 0 20px;
    font-size: 14px;
}
#page-form #formbox table tr {
    display: block;
    margin-bottom: 1px;
}
#page-form #formbox table th {
    background: #DCDCDC;
    border-bottom: 1px solid #C5C5C5;
    width: 300px;
    padding-left: 20px;
}
#page-form #formbox table th:last-of-type {
    vertical-align: middle;
}
#page-form #formbox table td {
    padding: 30px 20px;
    background: #E9E9E9;
    border-bottom: 1px solid #C5C5C5;
    width: 70%;
}
#page-form #formbox table td input,
#page-form #formbox table td textarea {
    width: 70%;
    padding: 10px;
    font-size: 16px !important;
    border: 1px solid #CFCFCF;
}
#page-form #formbox table td input::placeholder,
#page-form #formbox table td textarea::placeholder {
    color: #CFCFCF;
}
#page-form #formbox .red {
    color: #fff;
    font-size: 12px;
    padding: 5px 10px;
    margin-left: 1em;
    background: #C72A2A;
}
#page-form #formbox .confirm-btn {
    padding: 10px 150px;
    background: #222;
    color: #fff;
    border: none;
}
#page-form #formbox .confirm-btn:hover {
    background: #C72A2A;
}
#page-form .sp-br {
    display: none;
}

/* 確認画面 */

#page-form.page-confirm button {
    border: none;
    padding: 10px 0;
    margin: 40px 10px;
    width: 370px;
}
#page-form.page-confirm button[name="back"] {
    background: #222;
    color: #fff;
}
#page-form.page-confirm button[name="back"]:hover {
    background: #C72A2A;
}
#page-form.page-confirm button[name="send"] {
    background: #C72A2A;
    color: #fff;
}
#page-form.page-confirm button[name="send"]:hover {
    background: #E54545;
}

/* 完了画面 */

#page-form.page-thanks .completed {
    background-color: #efefef;
    font-weight: bold;
    text-align: center;
    padding: 10px;
    font-size: 20px;
    margin-bottom: 40px;
}
#page-form.page-thanks div {
    font-size: 14px;
    line-height: initial;
}
#page-form.page-thanks div a {
    width: 370px;
    font-size: 14px;
    margin: 40px auto;
}
#page-form.page-thanks div a:hover {
    background: #C72A2A;
}

@media screen and (max-width:767px){
    #page-form {
        width: 100%;
        padding-bottom: 100px;
        border-bottom: 1px solid #707070;
    }
    #page-form h1.title {
        font-size: 20px;
        line-height: 1.4;
    }
    #page-form .description {
        padding: 0;
        line-height: initial;
    }
    #page-form .description,
    #page-form #formbox {
        font-size: 14px;
        padding: 10px;
    }
    #page-form #formbox table th,
    #page-form #formbox table td {
        background: none;
        border: none;
        width: 100%;
        display: block;
        padding: 0;
    }
    #page-form #formbox table th {
        margin: 25px 0 10px;
    }
    #page-form #formbox .red {
        padding: 2px 10px;
    }
    #page-form #formbox table td input,
    #page-form #formbox table td textarea {
        width: 100%;
    }
    #page-form #formbox .confirm-btn {
        width: 100%;
        padding: 15px 0;
        font-size: 16px;
    }
    #page-form .sp-br {
        display: inline;
    }

    /* 確認画面 */

    #page-form.page-confirm table td {
        background: #EFEFEF !important;
        padding: 20px 10px !important;
    }
    #page-form.page-confirm button {
        width: 150px;
        padding: 15px 0px;
        font-size: 16px;
    }

    /* 完了画面 */

    #page-form.page-thanks .completed {
        font-size: 16px;
        margin: 0 10px 40px;
    }
    #page-form.page-thanks > div {
        padding: 10px;
    }
    #page-form.page-thanks div a {
        width: 100%;
        margin: 30px auto;
    }
}
