@charset "utf-8";
/* style.css
 * ======================================
 *  PC
 * ====================================== */

/* contact */
table {
    margin: 40px 0 0 0;
    width: 100%;
}

table tr th,
table tr td {
    padding: 15px 0;
    text-align: left;
    vertical-align: top;
}

table tr th {
    line-height: 55px;
    position: relative;
    width: 250px;
}

.formConfirm table tr th {
    line-height: 2;
}

table tr th .require {
    background-color: #CB0000;
    border-radius: 10px;
    color: #ffffff;
    display: inline-block;
    font-size: 12px;
    height: 20px;
    line-height: 20px;
    padding: 0 10px;
    position: absolute;
    top: 32px;
    right: 15px;
}

table tr td small {
    display: block;
    font-size: 14px;
    margin: 10px 0 0 0;
}

input[type="text"] {
    background-color: #EFEFEF;
    border: none;
    display: inline-block;
    height: 55px;
    outline: none;
    padding: 0 1em;
    width: 100%;
}

input[type="text"]+input[type="text"] {
    margin-top: 15px;
}

input[type="text"].zip {
    margin: 0 10px;
    width: 190px;
}

input[type="checkbox"],
input[type="radio"] {
    display: none;
}

label {
    cursor: pointer;
    display: inline-block;
}

.checkbox,
.radio {
    margin: 10px 5px;
    padding: 0 20px 0 46px;
    position: relative;
}

.checkboxTxt::before,
.radioTxt::before {
    background-color: #EFEFEF;
    content: "";
    display: block;
    height: 38px;
    margin-top: -19px;
    position: absolute;
    top: 50%;
    left: 0;
    width: 38px;
}

.radioTxt::before {
    border-radius: 100%;
}

input[type="checkbox"]:checked+.checkboxTxt::after,
input[type="radio"]:checked+.radioTxt::after {
    content: "";
    display: block;
    position: absolute;
}

input[type="checkbox"]:checked+.checkboxTxt::after {
    border-bottom: 2px solid #333333;
    border-right: 2px solid #333333;
    height: 15px;
    margin-top: -11px;
    top: 50%;
    left: 13px;
    width: 10px;
    transform: rotate(40deg);
}

input[type="radio"]:checked+.radioTxt::after {
    background-color: #333333;
    border-radius: 100%;
    height: 20px;
    margin-top: -10px;
    top: 50%;
    left: 9px;
    width: 20px;
}

textarea {
    background-color: #EFEFEF;
    border: none;
    height: 250px;
    line-height: 1.6;
    outline: none;
    padding: 0.5em 1em;
    width: 100%;
}

::placeholder {
    color: #989898;
}

.privacy {
    border-top: 1px solid #707070;
    border-bottom: 1px solid #707070;
    margin: 60px 0;
    padding: 24px 32px;
}

.privacy dl dt {
    font-weight: 700;
}

.privacy dl dd {
    line-height: 2;
    margin: 15px 0 0 0;
}

.privacy dl dd a {
    text-decoration: underline;
}

.agreement {
    text-align: center;
}

.button {
    text-align: center;
}

.formConfirm .button {
    width: auto;
}

.formConfirm .button form {
    display: inline-block;
}

.button input[type="submit"] {
    background-color: #D12A03;
    border: none;
    border-radius: 30px;
    color: #ffffff;
    cursor: pointer;
    display: inline-block;
    font-weight: 700;
    height: 60px;
    line-height: 60px;
    transition: .3s;
    width: 400px;
}

.formConfirm .button input[value="入力画面に戻る"] {
    background-color: #EFEFEF;
    color: inherit;
}

.button input[type="submit"]:hover {
    opacity: 0.8;
}

.errorMessage {
    border: 1px solid #CB0000;
    font-size: 14px;
    color: #CB0000;
    padding: 24px 32px;
    margin: 0 0 25px;
}

.errorMessage ul li::before {
    content: '・';
}

.error {
    color: #CB0000;
    font-size: 14px;
    margin: 10px 0 0 0;
}

.error+.error {
    margin-top: 0;
}

/*
 * ======================================
 * SP
 * ======================================
 */

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

    /* contact */
    table {
        margin-top: 20px;
    }

    table tr th,
    table tr td {
        display: block;
        padding: 15px 0;
    }

    table tr th {
        line-height: 1;
        width: 100%;
    }

    table tr th .require {
        top: 15px;
        right: 0;
    }

    table tr td {
        padding-top: 0;
    }

    textarea {
        height: 200px;
    }

    .privacy {
        margin: 30px 0;
        padding: 30px 5px 24px;
    }

    .button {
        margin-top: 35px;
    }

    .formConfirm .button form {
        display: block;
    }

    .button input[type="submit"] {
        width: 100%;
    }
}