/* header menu */

nav.header-menu{
    background: linear-gradient(-135deg, #fffc00, #ffffff) !important;
    filter: drop-shadow(0px 2px 4px #aaa);
}

nav.header-menu .navbar-logo{
    height: 3rem;
}

nav.header-menu .navbar-brand{
    font-weight: bold;
}

nav.header-menu .navbar-nav a{
    color: #000000 !important;
    font-weight: bold;
}

nav.header-menu .navbar-nav a:hover{
    border-bottom: solid 1px #000;
}

/* container */

body {
    font-size: 14px;
/*    font-family: Helvetica , "游ゴシック", sans-serif;*/
}

.content_root {
    width: 90%;
    margin: 32px auto;
}


p.btn-like{
    display: inline-block;
    padding: 0.3rem 1.0rem;
}

ul{
    padding: 0;
}

ul li{
    list-style-type: none;
}

/* table */

table {
    text-align: center;
    width: 100%;
    border-spacing: 0;
    border-collapse: collapse;
}

td, th{
    vertical-align: middle !important;
}

table tr td,
table tr th {
    white-space: nowrap;
    position:relative;
}

table tr td{
/*    font-size: 1rem;*/
    vertical-align: middle;
}

thead tr{
    background-color: #e5e9f2;
    color: #000;
}

tfoot tr{
    background-color: #e5e9f2;
    font-weight: 700;
    vertical-align: middle;
}

.sticky-table {
    width: 100%;
    overflow: scroll;
    border: solid 1px #dee2e6;
}

.sticky-table table {
    table-layout: fixed;
    width: 100.1%; /* tableの右マージンにつく1pxでコンテナにフィットしないので拡大 */
    margin: 0 !important;
}

.sticky-table .sticky-header{
    filter: drop-shadow(0px 0.5px 3px #aaa);
}

.sticky-table table thead tr th {
    position: sticky;
    top: 0;
    z-index:1;
    background-color: #eee;
    color: #000;
    border: none;
}

.sticky-table table tbody tr th {
    position: sticky;
    left: 0;
}

.sticky-table table tbody tr td {
    z-index: -1;
}

.table-wrap-container{
    overflow: auto;
}

.table-wrap-container .table{
    margin: 0;
    width: 100.1%;
}

.scroll{
    overflow: scroll;
}

/* caption */

h1 {
    font-size: 16px;
}

.title{
    font-size: 1.2rem;
    font-weight: 700;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding: 0.5rem 0.5rem 0.5rem 0.2rem;
    margin-bottom: 1.2rem;
}

.title *{
    white-space: nowrap;
}

.title i{
    color: lightslategray;
    font-size: 2.0rem !important;
    margin-right: 0.8rem !important;
}

.title > * {
    vertical-align: text-bottom;
}

.subtitle{
    font-size: 1.0rem;
    font-weight: 700;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding: 0.5rem 0.5rem 0.5rem 0.2rem;
    margin: 2em 0 3em 0;
}

.subtitle > * {
    vertical-align: text-bottom;
}

.subtitle i{
    font-size: 1.4rem !important;
    margin-right: 0.6rem !important;
}

.table-title{
    font-size: 1.0rem;
    font-weight: 700;
    color: #212729;
    padding: 0.5rem 0.5rem 0.5rem 0.2rem;
    margin-bottom: 0.5rem;
}

.caption-large{
    font-size: 1.2rem;
}

.highlight{
    font-weight: normal;
    font-size: 1.0rem;
    margin: 0 1.0rem;
}

.highlight-text{
    font-weight: 600;
    font-size: 1.4em;
}

.btn-wrap{
    text-align: left;
}

.greeting{
    text-align: center;
    margin: 2rem;
}

.greeting__title{
    font-weight: bold;
    font-size: 1.25x;
}

.greeting__text{
}

.bold{
    font-weight: bold !important;
}

.suffix_days:after{
    content: " 日";
}
.suffix_money:after{
    content: " 円";
}
.suffix_ticket:after{
    content: " 枚";
}
/* float */

.float-container{
    overflow: auto;
}

.clearfix::after{
    content: "";
    display: block;
    clear: both;
}

.float-right{
    float: right;
}

/* flex */

.flex_box{
    display: flex;
    align-items: center;
}

/* 横配置 */

.flex_left{
    justify-content: flex-start;
}

.flex_right{
    justify-content: flex-end;
}

.flex_between{
    justify-content: space-between;
}

/* 縦配置 */

.flex_bottom{
    align-items: flex-end;
}

.flex_linebase{
    align-items: baseline;
}

/* フレックス間隔 */
.flex_gap--1em{
    gap: 1em;
}

.flex_gap--075em{
    gap: 0.75em;
}

.flex_gap--05em{
    gap: 0.5em;
}

/* flex container */

.flex_sequence_container{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    height: 100%;
    gap: 8px;
}

@media (max-width:428px) {
    .flex_sequence_container{
        justify-content: center;
    }
}


.flex_sequence_container > *{}

.data-boxy{
    width: 100px;
    height: 100px;
    text-align: center;
    display: flex;
    align-items: center;
    display: inline-block;
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: initial !important;
}

.data-boxy .header{
    height: 30px;
    background-color: #e5e9f2;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.data-boxy .body{
    height: 70px;
}

/* バッジ */

.badge-alert{
    border-radius: 2rem;
    padding: 0.3rem 1rem;
    color: #ffffff;
    background-color: #dc3545;
    font-weight: bold;
    font-size: 0.8rem !important;
}

.badge-alert.outline{
    color: #dc3545;
    background-color: #ffffff;
    border: 2px solid #dc3545;
}

.badge-active{
    border-radius: 2rem;
    padding: 0.3rem 1rem;
    color: #ffffff;
    background-color: #28a745;
    font-weight: bold;
    font-size: 0.8rem !important;
}

.badge-active.outline{
    color: #28a745;
    background-color: #ffffff;
    border: 2px solid #28a745;
}

.badge-info{
    border-radius: 2rem;
    padding: 0.3rem 1rem;
    color: #ffffff;
    background-color: #0088ff;
    font-weight: bold;
    font-size: 0.8rem !important;
}

.badge-info.outline{
    color: #0088ff;
    background-color: #ffffff;
    border: 2px solid #0088ff;
}

.badge-disable{
    border-radius: 2rem;
    padding: 0.3rem 1rem;
    color: #ffffff;
    background-color: #999999;
    font-weight: bold;
    font-size: 0.8rem !important;
}

.badge-disable.outline{
    color: #999999;
    background-color: #ffffff;
    border: 2px solid #999999;
}

/* form */

.form-label{
    font-size: 0.8rem;
/*    border-left: 4px solid #0088ff;*/
/*    padding-left: 0.5rem;*/
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.form-label.positive{
    border-left: 4px solid #28a745;
}

.form-label.negative{
    border-left: 4px solid red;
}

/* alignment */

.v-mid{
    vertical-align: middle;
}

.v-center{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* material */

.transition{
    transition: 0.3s;
}

.shadow-z5{
    box-shadow: 0 1px 10px 0 rgb(0 0 0 / 20%);
}

.shadow-z5.transition:hover{
    box-shadow: 0 1px 20px 0 rgb(0 0 0 / 30%);
}

.material-container-z0{
    border-radius: 5px;
    border: 1px solid #e5e9f2;
    background: #fff;
    overflow: auto;
}

.material-container-z5{
    border-radius: 5px;
    border: 1px solid #ced4da;
    background: #fff;
    overflow: auto;
    box-shadow: 0 1px 10px 0 rgb(0 0 0 / 20%);
}

.material-container-z5.transition:hover{
    box-shadow: 0 1px 20px 0 rgb(0 0 0 / 30%);
}

/* form */

.form-element-wrap{
    margin-bottom: 15px;
}

.form-element-wrap ul{
    padding: 0;
    text-align: right;
}

.form-element-wrap ul li{
    display: inline-block;
    width: 100px;
    margin-left: 10px;
}

/* custom control */

.floating_btn{
    position: fixed;
    bottom: 40px;
    right: 40px;
    font-size: 48px;
    color: #0088ff;
    border-radius: 50%;
    box-shadow: 0px 2px 10px 3px rgb(0 0 0 / 20%);
    background: #fff;
    border: none;
    width: 58px;
    height: 58px;
    overflow: hidden;
    text-align: center;
    cursor: pointer;
    opacity: 0.6;
    z-index: 99;
}

.floating_btn:hover{
    opacity: 1;
}

.floating_btn i{
    position: absolute;
    top: -2px;
    left: -2px;
    font-size: 62px;
}

.bordered{
    border-radius: 5px;
    border: 1px solid #ced4da;
}

/* general */

.ellipsis{
	width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}