.fc-red {
    color: #b90000;
}
.cf7-note {
    margin-bottom: 20px;
    font-size: 14px;
}
.place {
    color: #7c7a7a;
    padding-left: 10px;
}
.required {
    color: #fff;
    font-size: 12px;
    margin-left: 6px;
    background: #17a3b2;
    padding: 2px 10px;
}

.cf7-row {
    margin-bottom: 40px;
}

.cf7-row label {
    display: block;
    margin-bottom: 24px;
    font-weight: bold;
    background: #f4f4f4;
    padding: 8px 24px;
}

.cf7-row input,
.cf7-row textarea {
    padding: 6px 10px;
    border: 1px solid #ccc;
    @media screen and (max-width: 767px) {
        width: 100%;
    }
}
.cf7-row textarea {
    width: 100%;
}
.cf7-row input[name="your-address"] {
    width: 100%;
}
.cf7-row input[name="waste-amount"] {
    max-width: 200px;
}
.wpcf7-list-item input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0;
    width: 18px !important;
    height: 18px;
    border: 1px solid #000;
    background: #fff;
    position: relative;
    cursor: pointer;
    vertical-align: middle;
    margin-top: -5px;
}

.wpcf7-list-item input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
select[name="your-pref"] {
    -webkit-appearance: none;
    appearance: none;
    background: url("../img/common/contact-select.png") no-repeat 95% 50% / 16px
        auto;
    padding-right: 50px;
}
.w170 {
    width: 170px !important;
}
.wpcf7-select {
    padding: 10px;
    border: 1px solid #ccc;
}
.cf7-submit {
    text-align: center;
    margin-top: 40px;
}
.wpcf7-radio label,
.wpcf7-checkbox label {
    background: none;
    display: inline-block;
    font-weight: normal;
    padding: 0;
}
.wpcf7-radio label input,
.wpcf7-checkbox label input {
    display: inline-block;
    padding: 0;
    width: auto !important;
}
.cf7-submit input[type="submit"] {
    background: #007bc7;
    color: #fff;
    padding: 14px 40px;
    border: none;
    cursor: pointer;
}
.wpcf7-submit {
    color: #fff;
    padding: 30px 15px;
    display: block;
    width: 100%;
    max-width: 489px;
    margin: 0 auto;
    background: #0075c2 url(../img/common/ct_aarow.png) no-repeat 96% 50% / 11px
        22px;
    border: none;
    font-weight: bold;
    font-size: 20px;
    @media screen and (max-width: 767px) {
        font-size: 16px;
        padding: 20px 15px;
    }
}
form .msg_ttl {
    margin-bottom: 20px;
}
form hr {
    border: none;
    height: 110px;
    margin: 0;
    @media screen and (max-width: 767px) {
        height: 60px;
    }
}
/* form-nav */

.progressbar {
    display: flex;
    flex-wrap: wrap;
    margin: 37px 0 40px;
}
.progressbar .item {
    min-height: 49px;
    position: relative;
    width: 33%;
    text-align: center;
    position: relative;
    align-items: center;
    justify-content: center;
    padding: 28px 0;
    line-height: 1.5;
    background: #fff;
    color: #999999;
    font-size: 20px;
    font-weight: bold;
    border: 1px solid #b4b4b4;
}
.progressbar .item span {
    color: #5a5a5a;
    background: #fff;
    border-radius: 100%;
    width: 30px;
    height: 30px;
    display: inline-block;
    text-align: center;
    font-weight: normal;
    margin-right: 3px;
    border: 1px solid #b4b4b4;
    vertical-align: baseline;
    @media screen and (max-width: 767px) {
        width: 20px;
        height: 20px;
    }
}
.progressbar .item:not(:last-child)::before,
.progressbar .item:not(:last-child)::after {
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    left: 100%;
    content: "";
    border: 43px solid transparent;
    border-left: 20px solid #fff;
    margin: auto;
}
.progressbar .item:not(:last-child)::before {
    margin-left: 1px;
    border-left-color: #b4b4b4;
}

@media screen and (max-width: 767px) {
    .progressbar .item {
        font-size: 11px;
        line-height: 1.4;
        padding: 13px 0;
    }
    .progressbar .item:not(:last-child)::before,
    .progressbar .item:not(:last-child)::after {
        border-width: 25px;
        border-left-width: 12px;
    }
}

/* active */

.progressbar .item.active {
    z-index: 1;
    background: #027dc5;
    color: #fff;
}
.progressbar .item.active:not(:last-child)::after {
    border-left-color: #027dc5;
}
.progressbar .item.active:not(:last-child)::before {
    border-left: none;
}
.progressbar .item.active span {
    color: #027dc5;
    background: #fff;
    border: none;
}
.policy {
    margin-top: 120px;
    @media screen and (max-width: 767px) {
        margin-top: 60px;
    }
}
.policy_gray {
    background: #f4f4f4;
    padding: 10px;
    margin: 50px 0 20px;
    @media screen and (max-width: 767px) {
        margin: 25px 0 10px;
    }
}
.policy h3 {
    margin-bottom: 35px;
    @media screen and (max-width: 767px) {
        margin-bottom: 20px;
    }
}
.policy ol {
    margin-left: 27px;
    @media screen and (max-width: 767px) {
        margin-left: 17px;
    }
}
.policy ol li {
    list-style-type: square;
    margin-bottom: 20px;
    &::marker {
        font-size: 24px;
        @media screen and (max-width: 767px) {
            font-size: 20px;
        }
    }
}
.msg_ttl {
    border: 1px solid #c1c1c1;
    color: #027dc5;
    font-size: clamp(1.8rem, 2vw, 2rem);
    display: flex;
    align-items: center;
    padding: 1rem 2rem 1rem 5rem;
    position: relative;
    @media screen and (max-width: 767px) {
        font-size: 16px;
    }
    &::before {
        content: "";
        background: #027dc5;
        display: inline-block;
        width: 13px;
        height: 70%;
        left: 20px;
        position: absolute;
    }
}
h1 .contact-label span {
    color: #fff;
    font-size: 24px;
    background: #0075c2;
    text-align: center;
    padding: 10px 50px;
    @media screen and (max-width: 767px) {
        font-size: 16px;
    }
}
.wpcf7-not-valid-tip {
    display: none;
}

.wpcf7 form.invalid .wpcf7-not-valid-tip {
    display: block;
}
