/* ============================================
   Base styles migrated from style.css
   ============================================ */
h2.title, h3.title {
    text-align: center; margin: 50px 0 30px 0;
}

* {
    box-sizing: border-box;
}
body {
    font-family:'Avenir','Helvetica, Neue','Helvetica','Arial';
    padding-top: 63px;
}

/* ボタン */
a.btn--blue,
button.btn--blue {
    color: white;
    background-color: #007bff;
    border-color: #007bff;
}

a.btn--blue:hover,
button.btn--blue:hover {
    color: white;
    background-color: #006be3;
    border-color: #006be3;
}

a.btn--blue:disabled,
button.btn--blue:disabled {
    color: white;
    background-color: #007bff;
    border-color: #007bff;
    opacity: 0.65;
}

a.btn--blue.btn--cubic,
button.btn--blue.btn--cubic {
    border-bottom: 5px solid #0062cb;
}

a.btn--blue.btn--cubic:hover,
button.btn--blue.btn--cubic:hover {
    margin-top: 3px;
    border-bottom: 2px solid #0062cb;
}

a.btn--blue.btn--cubic:disabled,
button.btn--blue.btn--cubic:disabled {
    margin-top: 0;
    border-bottom: 5px solid #0062cb;
}

a.btn--blue.btn--cubic:active,
button.btn--blue.btn--cubic:active {
    color: gray;
    background-color: #007bff;
    border-color: #006be3;
}

a.btn-c,
button.btn-c {
    text-align: center;
    color: white;
    position: relative;
    padding: 1rem 6rem;
    border-radius: 100vh;
}

a.btn-c:before,
button.btn-c:before {
    font-size: 1.6rem;
    line-height: 1;
    position: absolute;
    top: calc(50% - .8rem);
    right: 1rem;
    margin: 0;
    padding: 0;
}

a.btn-c:disabled,
button.btn-c:disabled {
    pointer-events: none;
}

/* タブの境界線 */
.tab-content {
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 10px;
}

.nav-tabs {
    margin-bottom: 0;
}

a.nav-link {
    font-size: 16px;
    font-weight: bold;
}

.summary-card {
    min-width: 360px;
    margin-top : 5px;
    margin-bottom: 5px;
}
.summary-card > .card {
    height: 160px;
}
.summary-card > .card > .card-body {
    padding: 1rem;
}
.summary-card > .card > .card-body > span {
    font-size: large;
}
.row-m-t{
    padding : 5px;
}

.order-amount {
    font-size:large; margin: 10px 0; padding: 6px 12px;
}

/*
 * Fix unexpected behaviour : default html validation message is not displayed
 * https://github.com/twbs/bootstrap/issues/33757
 */
:root {
    scroll-behavior: auto !important;
}

/* --- 画像表示 --- */
.welding-image-box {
    margin: auto;
    /* ▼ floatで親要素の高さ取得 */
    overflow       : auto;                 /* floatで高さと取る為 */
}
.welding-image-box div {
    box-sizing     : border-box;           /* 罫線も含む長さ      */
    background     : #f5f5f5;              /* BOXの背景色         */
    border         : 2px solid #e6e6e6;    /* 枠線の指定          */
    width          : 280px;                 /* サンプルBOXの幅     */
    height         : 350px;                 /* サンプルBOXの幅     */
    margin         : 20px;                  /* サンプルBOXの間     */
    text-align: center;
    padding-top: 8px;
}

table.order-card {
    width: 320px;
}
table.order-card td {
    min-width: 100px;
}

.progress-box {
    width          : 100%;                /* BOXの幅             */
    /* ▼ floatで親要素の高さ取得 */
    overflow       : auto;                 /* floatで高さと取る為 */
}
.progress-box div {
    padding-left: 4px;
}
.progress-rate-container {
    background-color: #f5f5f5;
    height: 40px;
    width: 600px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    padding-right: 4px;
}
@media screen and (max-width: 768px) {
    .progress-rate-container {
        width: 240px;
    }
}

.rate-item {
    box-sizing: border-box;
    background-color: #00CCFF;
    padding: 8px;
    transition: width 1000ms 0s ease;
}

.td-progress {
    margin: auto;
}

.td-progress td {
    padding-top: 0;
    padding-bottom: 0;
    padding-right: 5px;
}

.card-status {
    height: 120px;
}
tr.welding-type-row > th {
    background-color: #d2d2d2;
}
tr.level-row > th {
    padding: 0;
    text-align: center;
    font-weight: bold;
    background-color: #d2d2d2;
}

.table-scroll{
    max-width: 1010px;
    margin: auto;
}

.additional-device-purchase h4 {
    font-size: 1.4rem;
}

/* 表を横スクロール対応させる */
.table-scroll th:first-child {
    /* 横スクロール時に固定する */
    position: -webkit-sticky;
    position: sticky;
    left: -1px;
    background-color: #d2d2d2;
}

.table-all-time td{
    padding-left: 8px;
}
.col-lg-auto h6{
    margin-top: 8px;
}

@media screen and (max-width: 992px){
    .table-scroll table{
        display: block;
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
        table-layout:fixed;
        width: 100%;
    }

    .table-all-time td{
        font-size: 13px;
    }
}

.table-play-count td{
    width: 55px;
}

tr.bottom-borderless > th,
tr.bottom-borderless > td {
    border-bottom: none;
}

.large-checkboxes input[type=checkbox], input[type=radio] {
    vertical-align: middle;
    position: relative;
    bottom: .2em;
}
