/* General */
* {
    margin: 0;
    padding: 0;
    font-size: 15px;
    font-family: "メイリオ", Meiryo, Hiragino Kaku Gothic ProN, sans-serif;
}

html {
    min-height: 100vh;
    position: relative;
}

.red-text {
    color: #f00;
}

.center-text {
    text-align: center;
}

.mt40 {
    margin-top: 40px !important;
}

.mb10 {
    margin-bottom: 10px !important;
}

.mb20 {
    margin-bottom: 20px !important;
}

.pl10 {
    padding-left: 10px !important;
}

.pl20 {
    padding-left: 20px !important;
}

.hide {
    display: none !important;
}

.w80per {
    width: 80% !important;
}

header section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 20px 0;
}

header .login-btn {
    width: 60px;
    display: none;
    padding: 10px;
    font-size: 16px;
    outline: none;
    border: none;
    border-radius: 5px;
    color: #fff;
    background-color: #53aa3e;
    line-height: 1;
    text-decoration: none;
    text-align: center;
}

header .user-name {
    display: none;
}

header .user-operation {
    display: none;
}

header .user-operation div {
    text-decoration: underline;
}

#barcode-dealer,
#barcode-frame {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100;
    background-color: #000;
}

.close-camera {
    width: 30px;
    margin: 20px;
}

.zoom-range {
    display: none;
    position: absolute;
    top: calc(70vh + 100px);
    z-index: 100;
    margin: 0 10vw;
    width: 80vw;
    outline: 0;
    -webkit-appearance: none;
    appearance: none;
    background-color: transparent;
}

.zoom-range::-webkit-slider-runnable-track {
    height: 4px;
    background: #ccc;
}

.zoom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid transparent;
    margin-top: -8px;
}

.barcode[data-barcode] video,
.barcode:not([data-barcode]) canvas {
    display: none;
}

.barcode video,
.barcode canvas {
    object-fit: fill;
    width: 100%;
    height: 70vh;
    outline: solid 1px #808080;
}

.layui-layer-dialog .layui-layer-content {
    word-break: break-word !important;
}

.err-tips .layui-layer-content {
    background-color: #DF4D49;
    color: #fff;
    font-size: 12px;
    padding: 10px;
}

.succ-tips .layui-layer-content {
    background-color: #53AA3E;
    color: #fff;
    font-size: 12px;
    padding: 10px;
}


/* Header */
header,
section {
    width: 90%;
    margin: 0 auto 30px;
}

header {
    padding: 15px 0 0;
}

header .logo-img {
    width: 109px;
    height: 37px;
}


/* Form */
input[type="text"],
input[type="number"],
input[type="tel"],
select {
    width: 100%;
    padding: 5px 12px;
    font-size: 16px;
    color: #555;
    background-color: #ebf2fa;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    -webkit-appearance: textfield;
    appearance: textfield;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

select {
    padding-left: 8px;
}

input[type="radio"],
input[type="checkbox"] {
    margin-right: 5px;
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2);
    vertical-align: -1px;
}

input[type="submit"] {
    width: 50%;
    display: block;
    padding: 20px 0;
    margin: 0 auto 90px;
    font-size: 18px;
    outline: none;
    border: none;
    border-radius: 5px;
    color: #fff;
    background-color: #53aa3e;
    line-height: 1;
    text-decoration: none;
}

input[type="submit"]:disabled {
    background-color: #747474;
}

.input-container {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: solid 1px #c2bfb3;
}

.input-container div {
    margin-bottom: 10px;
}

.icon {
    width: 32px;
    vertical-align: middle;
    margin-left: 6px;
}

.policy {
    color: #53aa3e;
}

#ui-datepicker-div {
    width: 82%;
}


/* Code Input */
.code-input-box {
    position: relative;
    width: 80%;
    margin: 40px auto 0;
}

.code-input-box .code-input-show {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.code-input-box .code-input-show span {
    display: inline-block;
    text-align: center;
    width: 28px;
    height: 24px;
    border-bottom: 2px solid #c2bfb3;
    font-size: 16px;
    font-weight: bold;
}

.code-input-box .code-input-show .active {
    border-bottom: 2px solid rgba(17, 169, 240, .5);
}

.code-input-box .code-input-hide {
    position: absolute;
    top: 0;
    opacity: 0;
    caret-color: transparent;
}

.other-link {
    width: 54%;
}

.other-link a {
    color: #000;
    text-decoration: none;
}

.back-link {
    text-align: center;
    width: 50%;
    margin-top: 150px;
}

.back-link a {
    color: #000;
    text-decoration: none;
}


/* Footer */
footer {
    position: absolute;
    bottom: 0;
    text-align: center;
    width: 100%;
    padding: 20px 0;
    color: #fff;
    background-color: #3b3b3b;
}