@charset "utf-8";

/* CSS Document */
/*------------ 問診票スタイル ------------*/
.terms_YES,
.terms_NO,
.history_YES,
.allergy_YES,
.medicine_YES,
.exchange_address_YES{
    display: none;
}

.disp {
    display: block !important;
}

section .feature dd .pcbig {
    width: 50%;
}

section .feature dt.attention {
    background-color: #f00;
}

.brSP {
    display: none;
}

.brPC {
    display: block;
}

/*#err_msg {
    display: none;
}*/

.err_msg {
    background-color: #f00;
    color: #fff;
    padding: 0 20px;
    margin: 0 2%;
}

.err_msg_detail {
    background-color: #f00;
    color: #fff;
    padding: 0 20px;
}

/*ラジオボタン
-------------------------------------*/
.rollradio {
    text-align: left;
}

.rollradio ul {
    padding: 0.5rem 1rem;
    list-style: none;
    border: 1px solid #cccccc;
}

.rollradio .list_item {
    margin: 0 0 1rem 0;
    padding: 0;
}

.rollradio .list_item:last-child {
    margin: 0;
}

.rollradio label {
    font-family: Arial, sans-serif;
    line-height: 135%;
    position: relative;
    margin-bottom: 1rem;
    cursor: pointer;
    font-size: 120%;
}

.rollradio .radioinput {
    position: relative;
    margin: 0 1rem 0 0;
    cursor: pointer;
}

.rollradio .radioinput:before,
.rollradio .radioinput:after {
    position: absolute;
    z-index: 1;
    top: -0.1125rem;
    left: -0.125rem;
    width: 1rem;
    height: 1rem;
    content: '';
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    border: 2px solid #8e8e8e;
    border-radius: 50%;
    background: #ffffff;
}

.rollradio .radioinput:after {
    z-index: 0;
    top: -0.0625rem;
    border: none;
}

.rollradio .radioinput:checked:before {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
    background: #363636;
}

.rollradio ul.rollradio_np {
    padding: 0;
    border: none;
}

/*テーブルデザイン
-------------------------------------*/
table.ta1{
    margin-top: 1rem;
}
.ta1,
.ta1 td,
.ta1 th {
    border: 1px solid #ccc;
    padding: 10px;
    word-break: break-all;
}

.ta1 th {
    width: 35%;
    text-align: center;
    font-weight: normal;
    font-size: 80%;
}

.ta1 th.slim {
    width: 20%;
}

.ta1 td {
    font-size: 0.9rem;
    font-weight: normal;
}

.detailchk {
    text-align: center;
}


/*カレンダーデザイン
-------------------------------------*/
.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
    opacity: .35;
    background-color: #333;
}

.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    width: 0;
    height: 0;
    margin-top: -10px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.ui-datepicker .ui-datepicker-prev span {
    border-right: 10px solid #fff;
    margin-left: -6px;
}

.ui-datepicker .ui-datepicker-next span {
    border-left: 10px solid #fff;
    margin-left: -4px;
}

.sbmit_btn {
    /*display: none;*/
    text-align: center;
    margin-top: 10px;
}

.sbmit_btn a {
    width: 35%;
    padding-top: 5px;
    display: block;
    margin: 0 auto;
    text-decoration: none;
    color:#fff;
    font-family: var(--font-type);
    background-color: #3e9ffe;
    border-radius: 30px;
    box-shadow: 0 4px 0 0 #33a;
    padding: 12px 18px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    position: relative;
    transition: var(--all-moving);
    cursor: pointer;
    max-width: 90vw;
    top: 0;
    font-weight: 700;
}


/*チェックボックスデザイン
-------------------------------------*/
#consent_area{
    text-align: center;
}
#consent_area input[type=checkbox] {
    display: none;
}
#consent_area .consent_checkbox {
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    padding: 5px 30px;
    position: relative;
    width: auto;
}
#consent_area .consent_checkbox::before {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 3px;
    content: '';
    display: block;
    height: 16px;
    left: 5px;
    margin-top: -8px;
    position: absolute;
    top: 50%;
    width: 16px;
}
#consent_area .consent_checkbox::after {
    border-right: 6px solid #fe0000;
    border-bottom: 3px solid #fe0000;
    content: '';
    display: block;
    height: 20px;
    left: 7px;
    margin-top: -16px;
    opacity: 0;
    position: absolute;
    top: 50%;
    transform: rotate(45deg) translate3d(0,2px,0) scale3d(.7,.7,1);
    transition: transform .2s ease-in-out, opacity .2s ease-in-out;
    width: 9px;
}
#consent_area input[type=checkbox]:checked + .consent_checkbox::before {
    border-color: #666;
}
#consent_area input[type=checkbox]:checked + .consent_checkbox::after {
    opacity: 1;
    transform: rotate(45deg) scale3d(1,1,1);
}


/*確認書類画像ファイル
-------------------------------------*/
#preview{
    max-width:200px;
    height: 0;
}
#preview.height_auto{
    height: auto;
}

@media screen and (max-width:800px) {
    section .feature {
        margin: 0;
        padding: 0;
        width: 100%;
    }

    section .feature dd {
        padding: 5px 10px;
    }

    section .feature dd .pcbig {
        width: 100%;
    }

    .brSP {
        display: block;
    }

    .brPC {
        display: none;
    }

    .rollradio .radioinput {
        width: 10px;
    }

    .ta1 {
        margin: 0 auto 30px auto;
    }

    .ta1 th,
    .ta1 td {
        display: block;
        width: auto;
        text-align: center;
    }
    .ta1 th{
        font-size: 120%;
        padding: 5px;
    }
    
    .ta1 th.slim {
        width: auto;
    }

    td.chk_q {
        text-align: left;
        padding: 0 0 0 10px;
    }

    textarea:focus {
        height: 400px;
    }

    .ta1 td {
        font-size: 0.6rem;
    }

    .rollradio .radioinput {
        width: 10px;
    }

    input {
        width: 95%;
    }

    input[type="checkbox"] {
        width: 5%;
    }

    input[type="text"].ws {
        font-size: 200%;
    }

    input.text_center {
        text-align: center;
        width: 50%;
    }

    .sbmit_btn{
        height: 52px;
    }
    .sbmit_btn a {
        width: 50%;
    }
}
