﻿input {
    padding : 10px;
}

input[type="radio"] {
    transform: scale(1.5)
}

i {
    margin-top: 7px;
    margin-right: 5px;
}

.in-stock {
    color: #6dbe14;
}

.out-of-stock {
    color: #FF4C4C;
}

.m10 {
    margin: 10px;
}

.mtb20 {
    margin: 20px 0;
}

.mb10 {
    margin-bottom: 10px;
}

.mr10 {
    margin-right: 10px;
}

.ml10 {
    margin-left: 10px;
}

.bold {
    font-weight:bold;
}

.d-flex {
    display: flex;
}

.flex-left {
    display: flex;
    justify-content: flex-start;
}
.flex-right {
    display: flex;
    justify-content: flex-end;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

select {
    /* styling */
    background-color: #F2F2F2;
    border: 2px solid #F2F2F2;
    border-radius: 4px;
    display: inline-block;
    font: inherit;
    line-height: 1.5em;
    padding: 0.5em 3.5em 0.5em 1em;
    /* reset */
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
}

select {
    background-image: linear-gradient(45deg, transparent 50%, gray 50%), linear-gradient(135deg, gray 50%, transparent 50%), linear-gradient(to right, #ccc, #ccc);
    background-position: calc(100% - 20px) calc(1em + 2px), calc(100% - 15px) calc(1em + 2px), calc(100% - 2.5em) 0.5em;
    background-size: 5px 5px, 5px 5px, 1px 1.5em;
    background-repeat: no-repeat;
}

select:focus {
    background-image: linear-gradient(45deg, gray 50%, transparent 50%), linear-gradient(135deg, transparent 50%, gray 50%), linear-gradient(to right, #ccc, #ccc);
    background-position: calc(100% - 15px) 1em, calc(100% - 20px) 1em, calc(100% - 2.5em) 0.5em;
    background-size: 5px 5px, 5px 5px, 1px 1.5em;
    background-repeat: no-repeat;
    border-color: black;
    outline: 0;
}

select:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #000;
}

.products_btn {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #808080;
}

.products_btn:hover {
    background-color: #565656;
    transition: 0.2s;
    color: #fff;
}

.link_text {
    color: #666;
}

.err_msg {
    color: #FF0000;
}

.success_msg {
    color: #0000cd;
}

.btn_area_center {
    display: flex;
    justify-content: center;
}

.btn_area_right {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-top: 100px;
}

.back_button {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #000;
    padding: 10px 0;
    max-width: 240px;
    width: 100%;
    font-size: 22px;
    box-shadow: 10px 10px #EEE;
}

.back_button p {
    margin-right: 20px;
}

.back_button:hover {
    background-color: #565656;
    transition: 0.2s;
    color: #fff;
    box-shadow: 0px 0px #EEE;
}

.back_button:hover .arrow-left {
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
}


.cnt_area {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.purchase_table {
    width: 100%;
}

.info_text_wrap_area {
    text-align: center;
    margin: 20px auto;
    padding: 20px;
    border: 2px solid #ccc;
    background-color : #ddd;
}

.info_text_wrap_area {
    max-width: 1200px;
    text-align: left;
}

.purchasehistory_td {
    text-align: left; /* 文字の揃え位置指定 */
    margin-left: 10px;
}

.modal-backdrop {
    background-color: rgba(0,0,0,0.7);
}

.modal-dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    width:300px;
}

.line-gray {
    background: #f5f5f5;
    color: #696969;
}

/* ボタン */
.qr_btn {
    display: inline-block;
    padding: 3px 7px ;
    border: 1px solid #808080;
    background-color: dodgerblue;
    color: white;
}
.qr_btn:hover {
    background-color: white;
    color:darkblue;
}

/* 購入履歴へ戻るボタン */
.bk_icon {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #000;
    padding: 15px 0;
    max-width: 350px;
    width: 100%;
    font-size: 24px;
    margin-right: 50px;
}

.error-message {
    color: #fff;
    background-color: #dc3545;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 20px;
    display: block;
}

