* {
    box-sizing: border-box;
    
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", "verdana", sans-serif;
}

input, select {
    -webkit-appearance: none;
    appearance: none;
}

.wrap {
    padding: 20px 20px 20px 20px;
    background-color: #fff;
}

.main.wrap {
    height: calc(100vh - 40px);
    height: calc(100dvh - 40px);
    width: 100vw;
    position: fixed;
    overflow-y: scroll;
    top: 40px;
}

header {
    background-color: #333;
    height: 40px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
}

header input[type=checkbox] {
    display: none;
}

header i {
    position: absolute;
    right: 20px;
    top: 8px;
    color: #fff;
    font-size: 24px;
}

input[type=text], input[type=password]{
    padding: 5px 10px;
    width: 100%;
    height: 40px;
    font-size: 20px;
    font-weight: bold;
    color: #516a99;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.queries input[type=text] {
    padding: 5px 60px 5px 50px;
}

input[type=text].id, input[type=password].id {
    text-align: left;
    padding: 5px 10px;
}

input[type=radio] {
    display: none;
}


input[type=radio] + label {
    background-color: #eee;
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
    margin-right: 10px;
}


input[type=radio]:checked + label {
    background-color: yellow;
}

select {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 5px 10px;
    font-size: 24px;
    width: 100%;
    height: 40px;
}

.queries select {
    padding: 5px 10px 5px 50px;
}


button.submit {
    margin-top: 10px;
    width: 100%;
    font-size: 20px;
    font-weight: bold;
    border: 0;
    background-color: #3b55e1;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
}

h1 {
    color: #97886b;
    font-size: 20px;
    font-weight: bold;

}

header h1 p {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    margin: 0;

}

h3 {
    color: #777;
    font-size: 14px;
    margin-bottom: 0;
}

h4 {
    margin: 0;
    font-size: 14px;
}

.now {
    margin-top: 10px;
}

.now h2 {
    margin: 0;
    color:#6e6e80;
}

.now span {
	font-size: 14px;
	display: inline-block;
	vertical-align: middle;
	font-weight: bold;
	color: #aea8a8;
}

.order {
    font-size: 18px;
}

#message {

    position: fixed;
    color: #fff;
    width: 80%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #555;
    opacity: 1;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 20px;
    text-align: left;
}

#message p {
    margin: auto;
    display: table;
}

#loading {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px;
    border-radius: 5px;
    background-color: #555;
    font-size: 0;
}

.card_picker {
    position: fixed;
    padding: 20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100vw - 60px);
    background-color: #fff;
    border: 5px solid #aaa;
    font-size: 30px;
    border-radius: 5px;
}

.card_picker i.close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #aaa;
}

.card_picker .mark {
    padding: 20px 10px 0 10px;
    display: flex;
    justify-content: space-between;
}

.card_picker .mark div {
    width: 25%;
    text-align: center;
    font-size: 0;
}

.card_picker .mark img {
    height: 46px;
}

.card_picker .number {
    padding-top: 10px;
    flex-wrap: wrap;
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.card_picker .number i {
    color: rgb(81, 136, 240);
    font-weight: bold"
}

.card_picker .number div {
    width: 20%;
    padding: 5px 0 5px 0;
    text-align: center;
}

.card_picker .order {
    padding-top: 10px;
    flex-wrap: wrap;
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.card_picker .order div {
    width: 20%;
    padding: 5px 0 5px 0;
    text-align: center;

}

.card_picker .order div p {
    padding: 0;
    display: inline-block;
    margin: 0;
    background-color: #2b71af;
    color: #fff;
    width: 40px;
    font-size: 20px;
}

.card_picker .cardInfo {
    font-size: 14px;
    padding: 6px 0 10px 10px;
}

.card_picker .cardInfo span {
    display: inline-block;
    text-align: center;
    width: 30px;
    font-weight: bold;
    font-size: 18px;
}

#services {
    margin: 0;
    padding: 0;
}

#services li {
    list-style-type: none;
    display: inline-block;
}

.queries {
    position: relative;
    margin-bottom: 10px;
}

.queries .handle {
    position: absolute;
    top: 0;
    height: 40px;
    left: 0;
    width: 40px;
    background-color: #3b55e1;
    color: #fff;
    font-size: 26px;
    text-align: center;
    border-radius: 5px 0 0 5px;
    display: table-cell;
}

.queries .handle span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.queries .check {
    position: absolute;
    right: 5px;
    top: 5px;
    background-color: #089df7;
    color: #fff;
    padding: 2px 5px;
    border-radius: 5px;
    height: 30px;
    width: 50px;
    font-size: 10px;
}

.queries .check span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.operation_check {
    display: block;
    background-color: #2a97f8;
    color: #fff;
    text-decoration: none;
    padding: 10px;
    margin-top: 10px;
    font-size: 20px;
    border: 0;
    border-radius: 5px;
    text-align: center;
}

.performance {
    display: block;
    background-color: #089df7;
    color: #fff;
    text-decoration: none;
    padding: 10px;
    margin: 10px 0 10px 0;
    font-size: 20px;
    font-weight: bold;
    border: 0;
    width: 100%;
    border-radius: 5px;
    text-align: center;
}

.performance.permanent {
    background-color: #fc0707;
}

#performance_box {
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    padding: 20px;
}

#performance_box .message {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    position: absolute;
    width: 100%;
    top: 45%;
    left: 50%;
    padding: 20px;
    transform: translate(-50%, -50%);
}

#performance_box .permanent {
    margin-top: 10px;
    font-size: 14px;
}

#performance_box .message button {
    border: 0;
    background-color: #fc0707;
    color: #fff;
    font-size: 18px;
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 20px;
}

.counter {
    font-size: 10px;
    display: inline-block;
    vertical-align: middle;
}

.orders {
    margin: 10px 0 0 0;
    padding: 0;
    line-height: 14px;
}

.orders li {
    display: inline-block;
    font-size: 16px;
    margin: 0 12px 12px 0; 
}

.orders li:last-child {
    margin-right: 0;
}

.orders .noitem {
    color: #999;
}

img.logo {
    height: 32px;
    vertical-align: middle;
    display: inline-block;
}

#app_id_box {
    position: relative;
}

#app_id_box label {
    position: absolute;
    top: 0;
    right: 0;
    height: 40px;
    width: 40px;

    font-size: 24px;
    border-radius: 0 5px 5px 0;
    background-color: #3b55e1;
}

#app_id_box i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
}

#app_id_box input {
    padding: 5px 50px 5px 10px;
}

#modal_menu {
    position: fixed;
    left: 100%;
    width: 100vw;
    top: 40px;
    height: calc(100vh - 40px);
    background-color: rgba(70, 70, 70, 0.98);
    transition: all 0.3s 0s ease;
    overflow-y: scroll;
    /* text-align: center; */
}

#modal_menu h3 {
    color: #aaa;
    margin: 10px 0 5px 0;
}

#modal_menu h3:first-child {
    color: #aaa;
    margin: 0 0 5px 0;
}

#modal_menu .user_id {
    font-size: 24px;
    font-weight: bold;
}

#modal_menu p {
    font-size: 14px;
}

#modal_menu.open {
    transition: all 0.3s 0s ease;
    left: 0%;
}

#modal_menu ul {
    margin: 0;
    padding: 0;
}

#modal_menu li {
    list-style-type: none;
    margin: 0;
    padding: 20px 20px;
    font-size: 20px;
    border-bottom: 1px solid #999;
    color: #fff;
}

.center {
    text-align: center;
}

#modal_menu button {
    margin-top: 10px;
    width: 100%;
    height: 40px;
    border-radius: 5px;
    border: 0;
    background-color: #3b55e1;
    color: #fff;
    font-size: 16px;
    padding: 5px;
    text-align: center;
}

/* カスタムセレクタ */
#selector {
    border-radius: 5px;
    background-color: #eee;
    border: 1px solid #ddd;
    width: calc(100vw - 40px);
    display: block;
    position: absolute;
    color: #516a99;
    opacity: 0;
    top: 60px;
    left: 20px;
    /* padding: 10px; */
    overflow-y: scroll;
    /* box-shadow: 10px 10px 10px rgba(0,0,0,0.2); */
}

#selector.transition {
    transition: all 0.2s 0s ease;
}

#selector::-webkit-scrollbar {
    background:#ccc;
    width:10px;
}
#selector::-webkit-scrollbar-thumb {
    background:#aaa;
    border-radius: 50px;
    height: 50px;
}

#selector ul, #selector li {
    list-style-type: none;
    font-size: 16px;
    font-weight: bold;
    margin: 0;
    padding: 0;
    min-height: 34px;
}

#selector li {
    padding: 5px 15px;
    border-bottom: 1px solid #ddd;
}

#selector li.selected {
    background-color: #ddd;
}

#selector li.mouseover {
    background-color: rgb(163, 163, 163);
    color: #fff;
}

#selector li.mouseover.touched {
    opacity: 1;
    background-color: rgb(163, 163, 163);
    animation: blink 0.3s linear 0s infinite alternate;
}

@keyframes blink {
    0% {
        /* opacity: 1; */
        background-color: rgb(163, 163, 163);
    }
    100% {
        /* opacity: 0; */
        background-color: rgb(255, 255, 255);
    }
}

#selector li:last-child {
    border-bottom: 0;
}

.select_title {
    font-size: 20px;
    font-weight: bold;
    /* border: 1px solid #ddd; */
    border-radius: 5px;
    /* padding: 5px 10px; */
    color: #516a99;
    /* background-color: #eee; */
    user-select: none;
    height: 42px;
    position: relative;
}

.select_title input {
    color: #516a99;
    font-weight: bold;
}

.select_title i {
    pointer-events: none;
    font-size: 24px;
    position: absolute;
    right: 10px;
    transform: translateY(-50%);
    top: 50%;
}

.select_title span {
    pointer-events: none;
    transform: translateY(-50%);
    top: 50%;
    display: block;
    position: absolute;
}