@charset "utf-8";

/* ===== form.css ===== */
/* -- redTxt -- */
.redTxt {
    font-size: 14px;
    font-weight: bold;
    color: #D6401B;
    display: block;
    margin-top: 16px;
}
@media screen and ( max-width: 900px ) {
    .redTxt {
        font-size: 12px;
        margin-top: 9px;
    }
}

/* -- input -- */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"] {
    color: #000;
    line-height: 47px;
    display: block;
    padding: 0 20px;
    height: 47px;
    width: 100%;
    border: 1px solid #DEDEDE;
    border-radius: 5px;
    background: #fff;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus {
    outline: none;
}
input[type="text"]::-webkit-input-placeholder,
input[type="email"]::-webkit-input-placeholder,
input[type="tel"]::-webkit-input-placeholder,
input[type="number"]::-webkit-input-placeholder { color: #9F9F9F; }
input[type="text"]:-moz-placeholder,
input[type="email"]:-moz-placeholder,
input[type="tel"]:-moz-placeholder,
input[type="number"]:-moz-placeholder {
    color: #9F9F9F;
    opacity: 1;
}
input[type="text"]::-moz-placeholder,
input[type="email"]::-moz-placeholder,
input[type="tel"]::-moz-placeholder,
input[type="number"]::-moz-placeholder {
    color: #9F9F9F;
    opacity: 1;
}
input[type="text"]:-ms-input-placeholder,
input[type="email"]:-ms-input-placeholder,
input[type="tel"]:-ms-input-placeholder,
input[type="number"]:-ms-input-placeholder { color: #9F9F9F; }
input[type="text"]::-ms-input-placeholder,
input[type="email"]::-ms-input-placeholder,
input[type="tel"]::-ms-input-placeholder,
input[type="number"]::-ms-input-placeholder { color: #9F9F9F; }
@media screen and ( max-width: 900px ) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"] {
        font-size: 16px;
    }
}

/* -- checkbox -- */
.checkbox {
    margin-bottom: -18px;
}
.checkbox label {
    user-select: none;
    display: inline-block;
    margin-bottom: 18px;
}
.checkbox label:not(:last-child) {
    margin-right: 24px;
}
.checkbox input[type="checkbox"],
.checkbox input[type="radio"] {
    cursor: pointer;
    position: relative;
    top: -3px;
    margin: 0 10px 0 1px;
    width: 24px;
    height: 24px;
    background: #FFF;
    border: 1px solid #DEDEDE;
    border-radius: 50%;
}
.checkbox input[type="checkbox"]:checked,
.checkbox input[type="radio"]:checked {
    background: #0000EE url(../img/common/checkbox_checked.svg) no-repeat center/ 100% auto;
    border-color: #0000EE;
}
/* - formCheck - */
.formCheck {
    text-align: center;
    margin-top: 39px;
}
.formCheck label:not(:last-child) {
    margin-right: 24px;
}
.formCheck input[type="checkbox"] {
    top: -1px;
    margin: 0 6px 0 0;
    border-radius: 5px;
}
.formCheck input[type="checkbox"]:checked {
    background: #25387C url(../img/common/formCheck_checked.svg) no-repeat center/ 100% auto;
    border-color: #25387C;
}
.formCheck a[target="_blank"]::after {
    display: inline-block;
    margin: 0 6px 0 4px;
    width: 10px;
    height: 10px;
    background: url(../img/common/blank.svg) no-repeat center/ 100% auto;
    content: "";
}
@media screen and ( max-width: 900px ) {
    .checkbox {
        margin-bottom: -20px;
    }
    .checkbox label {
        margin-bottom: 20px;
    }
    .checkbox input[type="checkbox"],
    .checkbox input[type="radio"] {
        top: -1px;
    }
    /* - formCheck - */
    .formCheck {
        text-align: left;
        font-size: 16px;
    }
    .formCheck label {
        position: relative;
        padding-left: 34px;
    }
    .formCheck input[type="checkbox"] {
        position: absolute;
        top: 0;
        left: 0;
        margin: 0;
    }
}

/* -- textarea -- */
textarea {
    color: #000;
    display: block;
    padding: 15px 20px;
    height: 149px;
    width: 100%;
    border: 1px solid #DEDEDE;
    border-radius: 5px;
    background: #fff;
}
textarea::-webkit-input-placeholder { color: #9F9F9F; }
textarea:-moz-placeholder {
    color: #9F9F9F;
    opacity: 1;
}
textarea::-moz-placeholder {
    color: #9F9F9F;
    opacity: 1;
}
textarea:-ms-input-placeholder { color: #9F9F9F; }

/* -- form -- */
#form {
    line-height: 1.5;
    margin-top: 69px;
}
#form dt {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 16px;
}
#form dt.required::after {
    color: #D6401B;
    margin-left: 6px;
    content: "*";
}
#form dd:not(:last-child) {
    margin-bottom: 27px;
}
#form dd .checkbox {
    margin-bottom: -20px;
    padding-top: 1px;
}
#form .redTxt {
    font-size: 70%;
    margin-top: 10px;
}
/* - contact_comfirm - */
#contact_comfirm #form dd {
    pointer-events: none;
}
@media screen and ( min-width: 901px ) {
    /* - contact_comfirm - */
    #contact_comfirm #form dd {
        margin-top: 27px;
    }
    #contact_comfirm #form dd:not(:last-child) {
        margin-bottom: 39px;
    }
}
@media screen and ( max-width: 900px ) {
    #form {
        margin-top: 52px;
    }
    #form dt.required::after {
        margin-left: 5px;
    }
    #form dd .checkbox {
        margin-bottom: -20px;
    }
}

/* -- formBtn -- */
.formBtn {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 49px;
}
.formBtn > * {
    width: 208px;
}
.formBtn button {
    text-align: center;
    font-weight: bold;
    line-height: 1.5;
    color: #25387C;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0 0 2px 2px;
    width: 100%;
    height: 68px;
    border: 2px solid #25387C;
    border-radius: 5px;
    transition: color .6s, border .6s;
}
.formBtn button svg {
    margin-left: 10px;
    fill: #25387c;
    transition: fill .3s;
}
/* back */
.formBtn .back button {
    color: #909090;
}
.formBtn .back button span {
    border-color: #909090;
}
.formBtn .back button svg {
    margin: 0 10px 0 0;
    fill: #909090;
}
/* - contact_comfirm - */
#contact_comfirm .formBtn {
    margin-top: 70px;
}
#contact_comfirm .formBtn > * {
    width: 128px;
}
#contact_comfirm .formBtn > *:not(:last-child) {
    margin-right: 30px;
}
@media screen and ( min-width: 901px ) {
    /* hover */
    .formBtn button:hover {
        color: #009DE2;
        border-color: #009DE2;
        opacity: 1;
    }
    .formBtn button:hover svg {
        fill: #009DE2;
    }
}
@media screen and ( max-width: 900px ) {
    .formBtn button {
        padding: 0;
    }
    /* - contact_comfirm - */
    #contact_comfirm .formBtn {
        margin-top: 40px;
    }
    #contact_comfirm .formBtn > *:not(:last-child) {
        margin-right: 20px;
    }
}