header {
        padding-bottom: 60px;
}
main, .wrap {
    padding-top: 0;
}
main {
    padding-top: 60px;
}
main p {
    font-size: 16px;
    line-height: 32px;
}

h1 {
    font-size: 40px;
    line-height: 60px;
    font-weight: 500;
    letter-spacing: 3px;
    text-align: center;
}
h1 span {
    font-size: 48px;
    color: #e71626;
}
.midashi {
    display: inline-block;
    vertical-align: top;
    padding: 20px;
}
.midashi p {
    padding: 0 !important;
    font-size: 24px;
    line-height: 36px;
    text-align: center;
    letter-spacing: 2px;
}
.underline {
    display: block;
    background: #000;
    width: 60%;
    height: 2px;
    margin: 0 auto;
}

@media screen and (max-width: 1365px) {
    
    header {
        padding-bottom: 40px;
    }
    mainp {
        font-size: 14px;
        line-height: 28px;
    }
    h1 {
        font-size: 20px;
        line-height: 30px;
        letter-spacing: 2px;
    }
    h1 span {
        font-size: 24px;
        color: #e71626;
    }
}



/* ==========================================
CONTACT
========================================== */
form#mailformpro {width: 100%;}

.contact h3,
.contact .wrap > p {
    max-width: 1140px; 
    text-align: left;
    font-weight: normal;
    padding: 10px 0;
}
.contact table {
    width: calc(100% - 40px);
    max-width: 1140px;
    margin: 10px auto;
    border: solid 1px #ccc;
}
.contact tr {
}
.contact th,
.contact td {
    text-align: left;
    padding: 10px;
    border: solid 1px #ccc;
}
.contact th {
    background: #008000;
    color: #fff;
    font-weight: normal;
    width: 250px;
}
.contact td input {
    width: 30%;
}
.contact tr:nth-of-type(n+3) input {
    width: 90%;
}
.contact tr:last-of-type input {
    width: auto;
}
.contact td textarea {
    width: 90%;
}
.contact_button {
    text-align: center;
    margin: 100px auto;
}
.contact label {
    width: 90%;
    white-space: normal !important;
}
.button1 {
    display       : inline-block;
    font-size     : 24px;        /* 文字サイズ */
    text-align    : center;      /* 文字位置   */
    cursor        : pointer;     /* カーソル   */
    padding       : 12px 18px;   /* 余白       */
    background    : #008000;     /* 背景色     */
    color         : #ffffff;     /* 文字色     */
    line-height   : 1em;         /* 1行の高さ  */
    transition    : .3s;         /* なめらか変化 */
    border        : 2px solid #008000;    /* 枠の指定 */
}
.button1:hover {
    color         : #008000;     /* 背景色     */
    background    : #ffffff;     /* 文字色     */
}
.button2 {
    display       : inline-block;
    font-size     : 24px;        /* 文字サイズ */
    text-align    : center;      /* 文字位置   */
    cursor        : pointer;     /* カーソル   */
    padding       : 12px 18px;   /* 余白       */
    background    : #999999;     /* 背景色     */
    color         : #ffffff;     /* 文字色     */
    line-height   : 1em;         /* 1行の高さ  */
    transition    : .3s;         /* なめらか変化 */
    border        : 2px solid #999999;    /* 枠の指定 */
}
.button2:hover {
    color         : #999999;     /* 背景色     */
    background    : #ffffff;     /* 文字色     */
}

@media screen and (max-width: 767px) {

    .contact table,
    .contact th,
    .contact td {
        border: none;
    }
    .contact th,
    .contact tr,
    .contact td {
        display: block;
        width: 100vw;
    }

    .contact table {
        background: #fff;
        width: 100vw;
        margin: 0;
    }

    .contact tr:nth-of-type(odd) {
        background: #f5f5f5;
    }
    .contact th {
        background-color: transparent;
        color: #000;
        vertical-align: middle;
    }
    .must {
        padding: 0 5px !important;
    }
    .button1, .button2 {
        display: block;
        margin: 0 auto;
        font-size: 16px;
        padding: 4px 50px;
    }
}