/*

@Author: t-tahara
@URL: https://www.amemiya.or.jp/
Project: Amemiya-hospital　お問い合わせページ用CSS

*/
.luxbar-checkbox {
    display: none!important;
}
.wpcf7 span.wpcf7-not-valid-tip {
    display: block;
    position: static;
    top: 0;
    left: 0;
    border: none;
    color: #C42D2D;
}
.input__text__box {
    padding: 0.9rem 4rem;
    border: 1px solid #939393;
    font-size: 16px;
    width: 200px;
}


.contact__entry{
    margin: 0 0 10px;
    color: #224D91;
    font-size: 16px;
    font-weight: bold;
}

/*ラジオボタン*/
input[type=radio]{
    display: none;
}

textarea{
    border: 1px solid #939393;
    height:160px;
    width: 60%;
}

.contact-blue_btn-text {
    margin: 2rem auto;
    padding: 1rem 5rem;
    background: #224D91;
    color: #fff !important;
    text-align: center;
}
*::-ms-backdrop,.contact-blue_btn-text {
    border: none;
}

/*ラジオボタン*/
input[type="radio"]{
    display: none;
}
.wpcf7-list-item-label{
    position: relative;
    padding-left: 2.5rem;
    color: #434343;
    font-size: 16px;
    font-weight: bold;
}

input[type=radio] + .wpcf7-list-item-label::before{
    content: "";
    display: block;
    position: absolute;
    top: 2px;
    left: 2px;
    width: 17px;
    height: 17px;
    border: 1px solid #999;
    border-radius: 50%;
}

input[type=radio]:checked + .wpcf7-list-item-label::after{
    content: "";
    display: block;
    position: absolute;
    top: 6px;
    left: 6px;
    width: 11px;
    height: 11px;
    background: #224D91;
    border-radius: 50%;

}

#wpcf7-f16-p4-o1 input[type=radio]:checked + .wpcf7-list-item-label:after {
    opacity: 1;
}

span.wpcf7-list-item{
    display: block;
}

/*チェックボックス*/

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

input[type="checkbox"] {
    display: inline-block;
    position: relative;
    margin-right: -20px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: button;
    width: 20px;
    height: 20px;
    border: 1px solid #939393;
    vertical-align: middle;
}

.wpcf7-f16-p4-o1 input[type=checkbox]:checked::after {
    position: absolute;
    content: "";
    top: 0;
    left: 5px;
    width: 7px;
    height: 14px;
    border-right: 3px solid #224D91;
    border-bottom: 3px solid #224D91;
    -webkit-transform: rotate(40deg);
    transform: rotate(40deg);
    opacity: 1;
}

input[type="checkbox"]:checked + .wpcf7-list-item-label:after {
    position: absolute;
    content: "";
    top: 3px;
    left: 5px;
    width: 7px;
    height: 14px;
    border-right: 3px solid #224D91;
    border-bottom: 3px solid #224D91;
    -webkit-transform: rotate(40deg);
    transform: rotate(40deg);
    opacity: 1;
}
div.wpcf7-mail-sent-ok {
    border: 2px solid #398f14;
}
div.screen-reader-response{
    display: none;
}
div.wpcf7-mail-sent-ng,
div.wpcf7-aborted {
    border: 2px solid #ff0000;
}

@media screen and (max-width: 768px) {
    .contact__entry{
        margin-top: 20px;
    }
    .contact__form-profile{
        display: block;
    }
    .input__text__box{
        width: 210px;
    }
    textarea{
        width: 100%;
    }
    input[type="checkbox"]:checked + .wpcf7-list-item-label:after {
        top: 5px;
        left: 5px;
    }
}



