@charset "UTF-8"; /* mailform pro用 追加css */
.contact-contents {
    padding: 30px 3%;
}

.contact__form {
}

.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: 20px 0 20px 50px;
    font-size: 14px;
    position: relative;
    vertical-align: top;
    border: none;
    border-bottom: 1px solid #ddd;
    vertical-align: middle;
}

.contact__form .must {
    display: inline-block;
    background: #dc1432;
    color: #FFF;
    font-size: 10px;
    padding: 1px 7px;
    margin: auto;
    position: absolute;
    /* position: relative; */
    left: 0;
    top: 0;
    bottom: 0;
    height: 23px;
    /* float: none; */
}

.contact__form td {
    padding: 20px 0;
    border: none;
    border-bottom: 1px solid #ddd;
    vertical-align: middle;
}

.contact__form td ul {
    padding: 0;
}

.contact__form td ul li {
    list-style: none;
}

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: 20px;
    border: 1px solid #ddd;
}

.contact__form p a {
    color: #e7161b;
    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 {
    /* border: 1px solid #000; */
    padding: 20px;
    background: #e7161b;
    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;
}

.contact__form .btn:hover {
    opacity: 0.6;
}

.contact__form .btn::before {
}

@media screen and (max-width: 768px) {
    .entry-contents .contact__form th {
        width: 100%;
    }

    .entry-contents .contact__form th .must {
        left: 10px;
    }
}
