.toyooka-contact-form #fmail {
    font-family: "Noto Sans JP", sans-serif;
}

/* Safariで電話アイコンと番号が別行にならないよう、一つの折返し不可要素として扱う。 */
.under #content .under_bnrcontact .bnrcontact_r {
    min-width: 0;
}

.under #content .under_bnrcontact .bnrcontact_tel {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    white-space: nowrap;
    word-break: keep-all;
    overflow-wrap: normal;
    letter-spacing: 0;
    font-family: Arial, "Helvetica Neue", sans-serif;
    font-weight: 700;
    font-synthesis: none;
    font-variant-numeric: tabular-nums;
    -webkit-text-size-adjust: 100%;
}

.under #content .under_bnrcontact .bnrcontact_tel::before {
    flex: 0 0 auto;
}

.under #content .under_bnrcontact .bnrcontact_note {
    display: block;
    word-break: keep-all;
    line-break: strict;
}

.toyooka-contact-form .screen-reader-response {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.toyooka-contact-form .flex {
    display: flex;
}

.toyooka-contact-form .step_title01,
.toyooka-contact-form .step_title02 {
    display: inline-block;
    margin: 0 0 40px;
    font-size: 32px;
    line-height: 1.45;
    font-weight: bold;
    text-align: left;
    background-image: repeating-linear-gradient(0deg, transparent 0, transparent 7%, #f8e352 7%, #f8e352 25px, transparent 25px, transparent 100%);
}

.toyooka-contact-form .step_title01 span,
.toyooka-contact-form .step_title02 span {
    display: table-cell;
    padding-bottom: 7px;
    font-size: 21px;
}

.toyooka-contact-form #satei_step01 dl {
    width: 100%;
    margin: 5px 0 20px;
    border: 5px solid #ffa112;
    border-radius: 10px;
    font-weight: bold;
}

.toyooka-contact-form #satei_step01 dt {
    width: 120px;
    margin: 0 10px 0 0;
    padding: 10px;
    flex: 0 0 120px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background: #ffa112;
    color: #fff;
    font-size: 24px;
    line-height: 1.2;
    text-align: center;
}

.toyooka-contact-form #satei_step01 dt span {
    display: block;
    width: 100%;
}

.toyooka-contact-form #satei_step01 dd {
    width: calc(100% - 130px);
    margin: 0;
    padding: 24px 5px;
    font-size: 21px;
    line-height: 1.2;
    text-align: left;
    display: flex;
    align-items: center;
}

.toyooka-contact-form #satei_step01 dl:nth-of-type(2) dd {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.toyooka-contact-form #satei_step01 dd>p,
.toyooka-contact-form #satei_step01 .w100>p {
    margin: 0;
    line-height: 1.2;
}

.toyooka-contact-form #satei_step01 .w100 {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    width: 100%;
    line-height: 42px;
}

.toyooka-contact-form #satei_step01 .w100 .wpcf7-form-control-wrap {
    flex: 0 0 auto;
    line-height: normal;
}

.toyooka-contact-form #satei_step01 .wpcf7-form-control-wrap {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    vertical-align: middle;
}

.toyooka-contact-form #satei_step01 dd>p {
    width: 100%;
}

.toyooka-contact-form #satei_step01 .wpcf7-radio {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 10px;
    row-gap: 8px;
}

.toyooka-contact-form .wpcf7-list-item {
    display: block;
    margin: 0 0 7px;
}

.toyooka-contact-form #satei_step01 .wpcf7-list-item {
    display: inline-block;
    margin: 0;
    white-space: nowrap;
}

.toyooka-contact-form #satei_step01 .wpcf7-list-item label {
    display: inline-flex;
    align-items: center;
}

.toyooka-contact-form input[type="radio"] {
    width: auto;
    margin: 0 5px 0 0;
    position: relative;
    top: -1px;
}

.toyooka-contact-form [data-name="property-status"] input[type="checkbox"] {
    width: 15px;
    height: 15px;
    margin: 0 5px 0 0;
    border: 1px solid #777;
    border-radius: 50%;
    background: #fff;
    vertical-align: -2px;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.toyooka-contact-form [data-name="property-status"] input[type="checkbox"]:checked {
    background: #333;
    box-shadow: inset 0 0 0 3px #fff;
}

.toyooka-contact-form #satei_step01 input[type="text"] {
    width: 100px;
    height: 32px;
    margin: 5px;
    padding: 5px 3px;
    border: 2px solid #c3c3c3;
    border-radius: 5px;
    background: #fff;
    font-size: 14px;
    box-sizing: border-box;
}

.toyooka-contact-form #satei_step01 input.property-address[type="text"] {
    width: 480px;
    max-width: calc(100% - 10px);
    height: 32px;
    margin: 30px 5px 5px;
    border-width: 1px;
}

.toyooka-contact-form .w100 {
    text-align: left;
}

.toyooka-contact-form #satei_step01 input[name="postal-code"] {
    width: 180px;
    max-width: calc(100% - 10px);
    letter-spacing: .08em;
}

.toyooka-contact-form .postal-lookup-button {
    flex: 0 0 auto;
    margin: 5px 0 0 10px;
    padding: 6px 16px 5px;
    border: 0;
    border-radius: 4px;
    background: #ff9f12;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.4;
    cursor: pointer;
}

.toyooka-contact-form .postal-lookup-button:hover {
    opacity: .85;
}

.toyooka-contact-form .postal-lookup-button:disabled {
    opacity: .55;
    cursor: wait;
}

.toyooka-contact-form .postal-lookup-status {
    display: inline-block;
    margin-left: 8px;
    color: #666;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.4;
    vertical-align: middle;
    position: relative;
    top: 11px;
}

.toyooka-contact-form .satei_btn {
    display: block;
    width: 100%;
    margin: 20px auto;
    padding: 30px;
    border: 0;
    border-radius: 10px;
    background: #ffa112;
    box-shadow: inset -4px -4px 18px #9c7539;
    color: #001b60;
    font-family: inherit;
    font-size: 37px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition: .3s;
    text-shadow: -2px -2px 0 #fff, 0 -2px 0 #fff, 2px -2px 0 #fff, 2px 0 0 #fff, 2px 2px 0 #fff, 0 2px 0 #fff, -2px 2px 0 #fff, -2px 0 0 #fff;
}

.toyooka-contact-form .satei_btn:hover {
    transform: scale(.98);
}

.toyooka-contact-form .satei_step02 {
    display: none;
    margin-top: 80px;
}

.toyooka-contact-form .satei_step02.is-open {
    display: block;
}

.toyooka-contact-form .tb01 {
    width: 100%;
    border-collapse: collapse;
}

.toyooka-contact-form .tb01 th,
.toyooka-contact-form .tb01 td {
    padding: 15px !important;
    border: 1px solid #c3c3c3 !important;
    background: none !important;
    vertical-align: middle;
}

.toyooka-contact-form .tb01 th {
    width: 30%;
    position: relative;
}

.toyooka-contact-form .tb01 th .name,
.toyooka-contact-form .tb01 input[type="tel"] {
    white-space: nowrap;
    word-break: keep-all;
    overflow-wrap: normal;
}

.toyooka-contact-form .tb01 td {
    font-weight: bold;
}

.toyooka-contact-form .tb01 tr:nth-child(2n) {
    background: #f3fdff;
}

.toyooka-contact-form .tb01 .wpcf7-form-control-wrap {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
}

.toyooka-contact-form .fmail_must {
    display: inline-block;
    float: none;
    width: 30px;
    height: 16px;
    overflow: hidden;
    margin: 0;
    background: url(../images/mfp_must.gif) center center / 30px 16px no-repeat;
    text-indent: -9999px;
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
}

.toyooka-contact-form .tb01 input[type="text"],
.toyooka-contact-form .tb01 input[type="email"],
.toyooka-contact-form .tb01 input[type="tel"] {
    width: 258px;
    max-width: 100%;
    height: 32px;
    padding: 4px 7px;
    border: 1px solid #707070;
    border-radius: 5px;
    background: #fff;
}

.toyooka-contact-form .tb01 .input03 input {
    width: 480px;
}

.toyooka-contact-form textarea {
    width: 100%;
    height: 145px;
    padding: 8px;
    border: 1px solid #707070;
    background: #fff;
    box-sizing: border-box;
}

.toyooka-contact-form .contact-acceptance {
    margin: 28px 0 20px;
    text-align: center;
    font-size: 16px;
    line-height: 1.875;
}

.toyooka-contact-form .contact-acceptance>p {
    margin: 0 !important;
    line-height: 1.875;
}

.toyooka-contact-form .contact-acceptance .wpcf7-form-control-wrap {
    display: inline;
}

.toyooka-contact-form .contact-acceptance .wpcf7-list-item {
    display: inline-block;
    margin: 0 6px 0 0;
    vertical-align: middle;
}

.toyooka-contact-form .contact-acceptance input[type="checkbox"] {
    position: relative;
    top: -5px;
    width: 18px;
    height: 18px;
    margin: 0;
    vertical-align: middle;
}

.toyooka-contact-form .contact-submit {
    text-align: center;
}

.toyooka-contact-form .contact-submit input {
    display: inline-block;
    min-width: 360px;
    height: 64px;
    padding: 0 35px;
    border: 0;
    border-radius: 6px;
    background: #ffa112;
    box-shadow: inset -3px -3px 12px #9c7539;
    color: #001b60;
    font-family: inherit;
    font-size: 22px;
    font-weight: 700;
    line-height: 64px;
    vertical-align: middle;
    cursor: pointer;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    text-shadow: -1px -1px 0 #fff, 0 -1px 0 #fff, 1px -1px 0 #fff,
        1px 0 0 #fff, 1px 1px 0 #fff, 0 1px 0 #fff,
        -1px 1px 0 #fff, -1px 0 0 #fff;
}

.toyooka-contact-form .wpcf7-not-valid-tip {
    display: block;
    width: 100%;
    margin: 6px 0 0;
    color: #d00;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.4;
    text-align: left;
    white-space: normal;
}

.toyooka-contact-form .wpcf7-response-output {
    margin: 25px 0 0 !important;
    padding: 18px 22px !important;
    border: 2px solid #d9a300 !important;
    background: #fff9dc;
    color: #333;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.7;
}

.toyooka-contact-form .wpcf7-response-output:empty,
.toyooka-contact-form .wpcf7-response-output[aria-hidden="true"]:empty {
    display: none;
}

.toyooka-contact-form form.invalid .wpcf7-response-output,
.toyooka-contact-form form.unaccepted .wpcf7-response-output,
.toyooka-contact-form form.payment-required .wpcf7-response-output {
    border-color: #d9a300 !important;
}

.toyooka-confirm-form .confirm-table th {
    width: 30%;
}

.toyooka-confirm-form .confirm-table td {
    width: 70%;
    font-weight: normal;
}

.toyooka-confirm-form .confirm-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 35px;
}

.toyooka-confirm-form .confirm-buttons input {
    min-width: 250px;
    padding: 16px 25px;
    border: 0;
    border-radius: 6px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}

.toyooka-confirm-form .confirm-buttons .wpcf7-previous {
    background: #777;
    color: #fff;
}

.toyooka-confirm-form .confirm-buttons .wpcf7-submit {
    background: #ffa112;
    color: #001b60;
    font-weight: 700;
}

.toyooka-thanks-box {
    max-width: 820px;
    margin: 10px auto 40px;
    padding: 55px 60px;
    border: 4px solid #ffa112;
    border-radius: 12px;
    background: #fffdf8;
    text-align: center;
    box-sizing: border-box;
}

.toyooka-thanks-icon {
    display: flex;
    width: 76px;
    height: 76px;
    margin: 0 auto 22px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: #ffa112;
    color: #fff;
    font-size: 48px;
    font-weight: bold;
    line-height: 1;
}

.toyooka-thanks-box p {
    margin: 0 0 20px;
    font-size: 17px;
    line-height: 2;
}

.toyooka-thanks-box .toyooka-thanks-lead {
    color: #001b60;
    font-size: 26px;
    font-weight: bold;
    line-height: 1.5;
}

.toyooka-thanks-note {
    padding: 14px 18px;
    background: #fff3d8;
    font-size: 15px !important;
}

.toyooka-thanks-tel span,
.toyooka-thanks-tel small {
    display: block;
}

.toyooka-thanks-tel a {
    display: inline-block;
    color: #001b60;
    font-size: 32px;
    font-weight: bold;
    line-height: 1.4;
    text-decoration: none;
}

.toyooka-thanks-tel small {
    font-size: 13px;
}

.toyooka-thanks-return {
    margin: 35px 0 0 !important;
}

.toyooka-thanks-return a {
    display: inline-block;
    min-width: 320px;
    padding: 16px 30px;
    border-radius: 6px;
    background: #ffa112;
    color: #001b60;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    box-sizing: border-box;
    transition: opacity .2s;
}

.toyooka-confirm-form .confirm-buttons .wpcf7-submit,
.toyooka-thanks-return a {
    text-shadow: -1px -1px 0 #fff, 0 -1px 0 #fff, 1px -1px 0 #fff,
        1px 0 0 #fff, 1px 1px 0 #fff, 0 1px 0 #fff,
        -1px 1px 0 #fff, -1px 0 0 #fff;
}

.toyooka-contact-form .contact-submit input,
.toyooka-confirm-form .confirm-buttons .wpcf7-submit,
.toyooka-thanks-return a {
    transition: opacity .2s;
}

.toyooka-contact-form .contact-submit input:hover,
.toyooka-confirm-form .confirm-buttons .wpcf7-submit:hover,
.toyooka-thanks-return a:hover {
    opacity: .8;
}

@media screen and (max-width: 750px) {
    body#contact #top_info h2 {
        font-size: 22px;
    }

    body#contact #content .contin>.inner>h3 {
        font-size: 19px;
    }

    body#contact #content .contin>.inner>h4 {
        margin-bottom: 18px;
        font-size: 16px;
        line-height: 1.7;
    }

    body#contact #content .contin>.inner>h4>span {
        padding: 0 2px 2px;
        background: linear-gradient(transparent 68%, #f8e352 68%, #f8e352 92%, transparent 92%);
        -webkit-box-decoration-break: clone;
        box-decoration-break: clone;
    }

    .toyooka-contact-form .step_title01,
    .toyooka-contact-form .step_title02 {
        display: block;
        margin: 15px 0 32px;
        padding: 0;
        background: none;
        font-size: 20px;
        line-height: 1.45;
    }

    .toyooka-contact-form .step_title01 span,
    .toyooka-contact-form .step_title02 span {
        display: inline;
        padding: 0 2px 2px;
        background: linear-gradient(transparent 68%, #f8e352 68%, #f8e352 92%, transparent 92%);
        font-size: 13px;
        line-height: 1.7;
        -webkit-box-decoration-break: clone;
        box-decoration-break: clone;
    }

    .toyooka-contact-form #satei_step01 dl {
        flex-wrap: wrap;
    }

    .toyooka-contact-form #satei_step01 dt {
        width: 100%;
        flex-basis: 100%;
        margin: 0;
        padding: 6px;
        font-size: 20px;
    }

    .toyooka-contact-form #satei_step01 dd {
        width: 100%;
        padding: 15px 10px;
        font-size: 15px;
        box-sizing: border-box;
    }

    .toyooka-contact-form #satei_step01 .wpcf7-form-control-wrap {
        flex-direction: column;
        align-items: flex-start;
        vertical-align: top;
    }

    .toyooka-contact-form #satei_step01 [data-name="property-type"],
    .toyooka-contact-form #satei_step01 [data-name="property-address"] {
        width: 100%;
    }

    .toyooka-contact-form #satei_step01 [data-name="postal-code"] {
        width: 180px;
        max-width: 100%;
    }

    .toyooka-contact-form #satei_step01 .wpcf7-not-valid-tip {
        display: block;
        width: 100%;
        margin: 6px 0 0;
        font-size: 12px;
        font-weight: 700;
        line-height: 1.4;
        text-align: left;
        white-space: normal;
    }

    .toyooka-contact-form #satei_step01 .wpcf7-radio {
        column-gap: 20px;
        row-gap: 10px;
    }

    .toyooka-contact-form #satei_step01 input[type="text"] {
        height: auto;
        font-size: 14px;
    }

    .toyooka-contact-form #satei_step01 input.property-address[type="text"] {
        width: 100%;
        max-width: 100%;
        height: auto;
        margin: 20px 0 0;
    }

    .toyooka-contact-form #satei_step01 input[name="postal-code"] {
        width: 180px;
    }

    .toyooka-contact-form .postal-lookup-button {
        margin-left: 6px;
        padding: 7px 10px;
        font-size: 14px;
    }

    .toyooka-contact-form .postal-lookup-status {
        display: block;
        flex-basis: 100%;
        margin: 4px 0 0 5px;
        top: 0;
    }

    .toyooka-contact-form .satei_btn {
        padding: 18px 10px;
        font-size: 22px;
    }

    .toyooka-contact-form .tb01 {
        table-layout: fixed;
        border: 1px solid #c3c3c3 !important;
        border-bottom: 0 !important;
    }

    .toyooka-contact-form .tb01 tbody,
    .toyooka-contact-form .tb01 tr {
        display: block;
        width: 100%;
    }

    .toyooka-contact-form .tb01 th,
    .toyooka-contact-form .tb01 td {
        display: block;
        width: 100%;
        border: 0 !important;
        border-bottom: 1px solid #c3c3c3 !important;
        box-sizing: border-box;
        font-size: 14px;
        line-height: 1.6 !important;
    }

    .toyooka-contact-form .tb01 th {
        padding: 10px 12px !important;
        text-align: left;
    }

    .toyooka-contact-form .tb01 td {
        padding: 12px 14px !important;
    }

    .toyooka-contact-form .tb01 .wpcf7-list-item {
        margin-bottom: 5px;
        line-height: 1.6;
    }

    .toyooka-contact-form .tb01 input[type="text"],
    .toyooka-contact-form .tb01 input[type="email"],
    .toyooka-contact-form .tb01 input[type="tel"],
    .toyooka-contact-form .tb01 .input03 input {
        width: 100%;
        height: 40px;
    }

    .toyooka-contact-form textarea {
        height: 120px;
    }

    .toyooka-contact-form .fmail_must {
        float: none;
        margin: 0;
    }

    .toyooka-contact-form .contact-acceptance {
        font-size: 14px;
    }

    .toyooka-contact-form .contact-submit input {
        width: 100%;
        min-width: 0;
        font-size: 18px;
    }

    .toyooka-confirm-form .confirm-buttons {
        flex-direction: column-reverse;
    }

    .toyooka-confirm-form .confirm-buttons input {
        width: 100%;
        min-width: 0;
    }

    .toyooka-contact-form .wpcf7-response-output {
        padding: 14px 16px !important;
        font-size: 16px;
    }

    .toyooka-thanks-box {
        margin: 0 auto 25px;
        padding: 35px 18px;
        border-width: 3px;
    }

    .toyooka-thanks-icon {
        width: 62px;
        height: 62px;
        margin-bottom: 18px;
        font-size: 38px;
    }

    .toyooka-thanks-box p {
        font-size: 15px;
        line-height: 1.8;
    }

    .toyooka-thanks-box .toyooka-thanks-lead {
        font-size: 21px;
    }

    .toyooka-thanks-note {
        padding: 12px;
        font-size: 14px !important;
    }

    .toyooka-thanks-tel a {
        font-size: 28px;
    }

    .toyooka-thanks-return a {
        width: 100%;
        min-width: 0;
    }
}
