.fair-page strong{
    font-weight: bold !important;
}

.fair-page #content{
    height: 100vh;
}

.fair-page #main_visual{
    height: 100vh;
}

.fair-page #main{
    width: 560px;
    min-height: 330px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translateY(-50%) translateX(-50%);
    transform: translateY(-50%) translateX(-50%);
    background-color: #fff;
    -webkit-box-shadow: 1px 1px 5px rgba(126, 142, 159, 0.1);
    box-shadow: 1px 1px 5px rgba(126, 142, 159, 0.1);
    margin-bottom: 10px;
    border: none;
    border-radius: 20px;
    border: 4px solid #5cbdbf;
}

.fair-page .content-header{
    text-align: center;
    border-bottom: 1px dashed #5cbdbf;
}

.fair-page .content-header .header-title{
    color: #419d9f;
    padding: 20px 20px 12px 20px;
    line-height: 30px;
    font-size: 26px;
    font-weight: 600;
    background-color: #fffdf1;
    margin: 0;
    border-radius: 20px 20px 0px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.fair-page .content-header .header-title small {
    font-size: 14px;
    font-family: "M PLUS 1", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", sans-serif;
}

.fair-page .block-content{
    padding: 30px 50px;
    min-height: 260px;
}

.fair-page .block-content #qrcode{
    width: 300px;
    height: 300px;
}

.fair-page .block-content p {
    font-size: 14px;
}

.fair-page .block-content .btn-back{
    background-image: none;
    border-radius: 6px;
    margin-bottom: 5px;
    line-height: 1.2;
    display: block;
    width: 100%;
    font-size: 1.25rem;
    font-weight: normal;
    text-align: center;
    white-space: nowrap;
    user-select: none;
    border: 1px solid transparent;
    transition: all 0.15s ease-in-out;
    background-color: #fff;
    border-color: #d7dde4;
    color: #111;
    padding: 8px 16px;
}

.fair-page .block-content .btn-back:hover{
    color: #4f5f6f;
    background-color: #ececec;
    border-color: #b9cbcf;
}

/* Login */
.fair-page .login-page label{
    font-weight: 600;
    display: inline-block;
    margin-bottom: .5rem;
}

.fair-page.login-page .form-group{
    margin-bottom: 1rem;
}

.fair-page.login-page .form-control {
    display: block;
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    line-height: 1.25;
    color: #495057;
    background-color: #fff;
    background-image: none;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    margin: 1px;
    white-space: pre;
    outline: none;
}

.fair-page.login-page .radio, .checkbox {
    display: none;
}

.fair-page.login-page .radio + span:before, .checkbox + span:before {
    letter-spacing: 5px;
}

.fair-page.login-page .checkbox + span:before {
    content: "\f0c8";
}

.fair-page.login-page .radio + span:before, .checkbox + span:before {
    font-family: FontAwesome;
    font-size: 21px;
    display: inline-block;
    vertical-align: middle;
    letter-spacing: 10px;
    color: #c8d0da;
    letter-spacing: 5px;
}

.fair-page.login-page .checkbox:checked + span:before {
    content: "\f14a";
}

.fair-page.login-page .radio:checked + span:before, .fair-page.login-page .checkbox:checked + span:before {
    color: #5cbdbf;
}

.fair-page .btn-submit{
    font-weight: normal;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    transition: all 0.15s ease-in-out;
    background-color: #5cbdbf;
    border-color: #5cbdbf;
    color: #fff;
    background-image: none;
    border-radius: 6px;
    margin-bottom: 5px;
    line-height: 1.2;
    display: block;
    width: 100%;
    font-family: "M PLUS 1p", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", sans-serif;
    cursor: pointer;
}

.fair-page .btn-submit:hover{
    background-color: #45a0a2;
    border-color: #45a0a2;
}

.fair-page .btn-group{
    display: flex;
    align-items: center;
    gap: 20px;
    flex-direction: row;
    margin-top: 20px;
    justify-content: space-around;
}

.fair-page .btn-href{
    text-align: center;
    white-space: nowrap;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    transition: all 0.15s ease-in-out;
    background-color: #fff;
    border-color: #d7dde4;
    color: #4f5f6f;
    background-image: none;
    border-radius: 6px;
    margin-bottom: 5px;
    line-height: 1.2;
    font-family: "M PLUS 1p", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", sans-serif;
    display: block;
    width: 215px;
}

.fair-page .btn-href:hover{
    color: #4f5f6f;
    background-color: #ececec;
    border-color: #b9cbcf;
}

.fair-page .error{
    color: #F00;
    font-weight: bold;
    margin-bottom: 10px;
}
/* Login */

@media screen and (max-width: 768px){
    .fair-page #main{
        width: 100%;
        position: relative;
        left: 0;
        top: 0;
        -webkit-transform: inherit;
        transform: inherit;
        margin: 0;
        border-radius: 0;
        border: 0;
    }

    .fair-page .content-header .header-title{
        border-radius: 0;
    }

    .fair-page .block-content {
        padding: 30px 25px;
    }

    .fair-page .btn-group{
        flex-direction: column;
        width: 100%;
        gap: 5px;
    }

    .fair-page .btn-href{
        width: 100%;
    }
}

@media screen and (max-width: 640px){
    
}