@charset "utf-8";
body:has(form.sent) .waitMsg {
    display: none !important;
}

/* contact form7のメッセージを隠す */
span.wpcf7-not-valid-tip
/* ,.wpcf7-response-output */
    {
    display: none !important;
}

/* recaptchの位置*/
.grecaptcha-badge {
    bottom: 100px !important;
}


.inner form {
    width: 100%;
}
section {
    align-items: center;
    /* formBase.cssが要るようなページは文字数が少ないことが多いので。 */
}
label {
    display: block;
}

.required_notice {
    color: red;
}

.inner {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 32px;
    padding-top: 32px;
    display: flex;
    flex-direction: column;
}
.inner .topNotice {
    margin-bottom: 32px;
}
.inner dl {
    margin-bottom: 32px;
}
.inner dt {
    font-weight: bold;
}
textarea {
    width: 100%;
    height: 104px;
}

.inner .required::before {
    content: "*";
    color: red;
}
.inner .required.example {
    font-weight: normal;
    font-size: 14px;
    margin-bottom: 16px;
    display: block;
}
.confirm .inner .required::before,
.confirm .inner .required::after {
    content: none;
}
input[type=text],
input[type=email],
input[type=date],
input[type=number],
input[type=password],
textarea {
    padding: 10px 0 10px 20px;
    font-size: 16px;
    color: #444;
}
input[type=text].inputError,
input[type=date].inputError,
input[type=number].inputError,
input[type=password].inputError {
    background-color: #f3b4b4;
}
input[type=text],
input[type=email],
input[type=date],
input[type=number],
input[type=password] {
    width: 300px;
    margin: 0 0 16px;
}
/*
input:read-only{
    color: #000;
    border: none;
    padding: 0;
    margin: 0;
}
*/
input:read-only:disabled {
    background-color: transparent;
}
.marshalBox {
    display: flex;
}
.inputNotice {
    display: block;
    font-size: 14px;
    font-weight: normal;
    text-indent: -14px;
    margin-left: 14px;
}
.inputNotice::before {
    content: "※";
}
.inputNotice.postcode a {
    text-decoration: underline;
}

.formError .formErrorContent.formErrorContent {
    position: relative;
    border: none;
    box-shadow: none;
    border-radius: 0;
    top: -12px;
}
.formError .formErrorContent::after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 8px 0 8px;
    border-color: #ee0101 transparent transparent transparent;
    position: absolute;
    bottom: -8px;
    left: 8px;
}
.formError .formErrorArrow div {
    display: none !important;
}
.formError .formErrorArrowBottom {
    display: none;
}
.greenPopup .formErrorContent {
    display: none;
}
/*
.inputAndLabelDIV,
.confirmContentWrap{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
*/
.label_line_break {
    display: block;
}
.confirm .confirm_dn {
    display: none !important;
}

/* form装飾 */
/* select */
.decorated_select {
    position: relative;
    display: flex;
    align-items: center;
    width: 300px;
    margin-bottom: 16px;
}
.decorated_select::before {
    font-family: "Font Awesome 5 Free";
    font-weight: bold;
    font-size: 24px;
    content: "\f107";
    z-index: 1;
    position: absolute;
    /*top: 10px;*/
    right: 16px;
    color: #1375ba;
    pointer-events: none;
}
.decorated_select select {
    width: 100%;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    padding: 6px 40px 8px 20px;
    font-size: 16px;
    background-color: #fff;
    border: 1px solid #999;
    color: #444;
}
.decorated_select select::-ms-expand {
    display: none;
}
.decorated_select select:disabled {
    background-color: #aaa;
}
select.decorated_select option {
    background-color: #fff;
    color: #333;
}
/* //select */

/* radioとcheckbox */
input[type="checkbox"],
input[type="radio"] {
    /* とにかく消す */
    visibility: hidden;
    width: 0;
    margin: 0;
    opacity: 0;
    -webkit-appearance: none;
    appearance: none;
    position: absolute;
}
label {
    cursor: pointer;
}
input + .decorate {
    display: flex;
    align-items: center;
}
input + .decorate::before {
    font-family: "Font Awesome 5 Free";
    font-weight: normal;
    margin-right: 2px;
    font-size: 24px;
    color: #555;
    line-height: 1;
    width: 24px;
}
input:disabled + .decorate {
    color: #595959;
    cursor: not-allowed;
}
input:checked + .decorate::before {
    color: #1375ba;
}
input[type="checkbox"] + .decorate::before {
    content: "\f0c8";
}
input[type="checkbox"]:checked + .decorate::before {
    content: "\f14a";
}
input[type="checkbox"]:disabled + .decorate::before {
    content: "\f146";
    color: #aaa;
}
.disabled input[type="checkbox"] {
    color: #aaa;
}
.disabled input[type="checkbox"] + .decorate::before {
    content: "\f146";
}
input[type="radio"] + .decorate::before {
    content: "\f111";
    font-weight: normal;
}
input[type="radio"]:checked + .decorate::before {
    content: "\f111";
    font-weight: bold;
}
input[type="radio"]:disabled + .decorate::before {
    color: #aaa;
    content: "\f05e";
    font-weight: bold;
}
/* //radioとcheckbox */
/* //form装飾 */

/* input[type="submit"] はmain.cssに */
.redNotice {
    color: red;
    font-weight: bold;
    display: block;
}
.redNotice.confirm {
    margin: -6px 0 10px;
}
.redNotice.noticeSmall {
    font-size: 12px;
    margin: -12px 0 16px;
}
.redNotice.noticeSmall.confirm {
    font-size: 12px;
    margin: -6px 0 10px;
}

.confirm_text {
    margin-left: 16px;
}

/* datepicker */
input.datePickerInput:read-only {
    color: #444;
    border: 1px solid #767676;
    /* input:read-onlyに消されたborderをさらに打ち消してるので変な記述&chrome以外だと変かも */
    padding: 10px 0 10px 20px;
    margin: 0 0 16px;
}
.ui-datepicker-trigger {
    width: 24px;
    margin: -16px 0 0 8px;
    cursor: pointer;
}
.ui-datepicker {
    z-index: 20 !important;
}
.ui-datepicker table {
    table-layout: fixed;
}
/* //datepicker */

/* スマホ以下 */
@media only screen and (max-width: 767px) {
    .formError {
        right: 0 !important;
        left: auto !important;
    }
    th,
    input[type=text],
    input[type=email],
    input[type=password],
    input[type=date],
    .decorated_select,
    input[type="submit"],
    input[type="button"] {
        width: 100%;
    }
    .inputAndLabelDIV {
        flex-direction: column;
        align-items: flex-start;
    }
    .inputAndLabelDIV input[type=text],
    .inputAndLabelDIV input[type=email],
    .inputAndLabelDIV input[type=date],
    .inputAndLabelDIV input[type=number],
    .inputAndLabelDIV input[type=password] {
        margin-top: 0;
    }
    .formWrap {
        width: 100%;
        background-color: #fff;
        padding: 16px;
    }
    .marshalBox {
        flex-direction: column;
    }
    input[type=text]:first-child {
        /*margin: 0 0 16px;*/
    }
    .decorated_select {
        margin: 0 0 16px 0;
    }
}
/* このとじカッコは消さないこと */