@charset "UTF-8"; /* mailform pro用 追加css */
.contact-contents {
    padding: 30px 3%;
}

.contact__form {
    display: block;
}

form#mailformpro {
    width: 100%;
}

.contact__form table {
    width: 100%;
}

.contact__form tbody {
}

.contact__form tr {
}

.entry-contents .contact__form th {
    width: 280px;
    text-align: left;
    font-weight: bold;
    padding: 35px 0 20px 50px;
    font-size: 14px;
    position: relative;
    vertical-align: top;
    border: none;
    vertical-align: top;
    color: #000;
}

.entry-contents .contact-block .must {
    display: inline-block;
    background: #dc1432;
    color: #fff;
    font-size: 10px;
    padding: 7px 7px;
    position: absolute;
    left: 0;
    line-height: 1;
    top: 28px;
    /* bottom: 0; */
    border-radius: 4px;
    margin: auto;
    float: none;
}

.entry-contents .contact-block .must.hidden {
    opacity: 0;
}

.contact__form td {
    padding: 23px 0;
    border: none;
    vertical-align: middle;
}

.contact__form td ul {
    padding: 0;
    margin: 0;
    /* display: flex; */
    /* flex-direction: row; */
    /* flex-wrap: wrap; */
    /* justify-content: space-between; */
}

.contact__form td ul li {
    list-style: none;
    margin: 0 0 10px;
    /* width: 50%; */
}

textarea {
    width: 100% !important;
    padding: 10px 10px;
    font-size: 20px;
    border: 1px solid #ddd;
    min-height: 100px !important;
}

.contact__form p {
    text-align: center;
    margin: 40px 0;
}

input[type="text"] {
    width: 100%;
    padding: 10px 10px;
    font-size: 16px;
    border: 1px solid #ddd;
}

.contact__form p a {
    color: #1730ac;
    text-decoration: underline;
}

/* iOSでのデフォルトスタイルをリセット */
input[type="submit"], input[type="button"] {
    border-radius: 0;
    -webkit-box-sizing: content-box;
    -webkit-appearance: button;
    appearance: button;
    border: none;
    box-sizing: border-box;
    cursor: pointer;
}

input[type="submit"]::-webkit-search-decoration, input[type="button"]::-webkit-search-decoration {
    display: none;
}

input[type="submit"]::focus, input[type="button"]::focus {
    outline-offset: -2px;
}

.contact__form .btn {
    padding: 20px 40px;
    background: #1730ac;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    text-shadow: none;
}

.contact__form .btn:hover {
    opacity: 0.6;
}

.contact__form .btn::before {
}

.contact-block {
    margin: 40px 0;
    padding: 0 3%;
}

.contact-block .container {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.contact-block p {
    line-height: 1.6;
    font-size: 16px;
    color: #000;
}

.contact-block p span {
    display: inline-block;
    position: relative;
    float: none;
    padding: 2px 6px;
}

.has-text-align-center {
    text-align: center;
}

form#mailformpro label {
    color: #000;
    font-weight: 600;
}

@media screen and (max-width: 768px) {
    .entry-contents .contact__form th {
        width: 100%;
        float: none;
        display: block;
        border: none;
        padding: 6px 0 30px 47px;
    }

    .entry-contents .contact__form th .must {
        left: 0px;
        top: 0;
    }

    .contact__form td {
        width: 100%;
        float: none;
        display: block;
        padding: 0 0 30px;
    }

    .entry-contents .contact-block .must.hidden {
        display: none;
    }
}
