/* override */
.flight-board-table{
    height: auto;
}
.flight-board-table thead, .flight-board-table tfoot{
    background: #D9D9D9;
}
.flight-board-table th{
    color: #3E221C;
    border-right: 1px solid #fff;
    padding: 8px 12px;
}
.flight-board-table td{
    border-right: none;
    text-align: left;
}
.flight-block span{
    margin-left: 1em;
}
.flight-board-table tbody {
    scrollbar-color: #b8b8b8 #fff;
}
.flight-board-table tbody {
    scrollbar-width: auto;
    display: table-column-group;
    overflow: visible;
    max-height: none;
    min-height: 0;
}
.airline-name{
    font-size: 0.8vw;
    font-weight: normal;
    color: #3E221C;
}
.flight-code,
.status-text{
    font-size: 0.8vw;
}
.status-text{
    border-radius: 1000px;
}

.flight-block li{
    height: auto;
}

.airline-logo{
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.airline-logo-image{
    max-width: 6vw;
    max-height: 50px;
    width: auto !important;
}





.fi{
    position: relative;
    border: 0;
    width: 100%;
    height: calc(max(52vw, 75vh) - 6vw - 3vw);
    background: #FFECE8;
}
.fi-box{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-rows: 31% 67%;
    overflow: hidden;
    color: #3E221C;
}
.fi-box:before{
        content: "";
    position: absolute;
    top: 10px;
    right: 10px;
    width: 31vw;
    height: 14vw;
    background-size: cover;
    background-repeat: no-repeat;
}

.fi-box.-dep:before{
    background-image: url(../img/bg_dep.png);
}
.fi-box.-arr:before{
    background-image: url(../img/bg_arr.png);
}

.fi-title{
    position: relative;
    width: 97%;
    margin: 0 1.5%;
    padding: 2.5% 0;
}

.fi-title__top{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 1.5%;
}

.fi-h1{
    font-size: 3vw;
    font-weight: 700;
    padding: 0% 2% 0 1%;
    white-space: nowrap;
    display: flex;
    line-height: 1;
}
.fi-h1 .label{
    display: block;
    font-size: 1.0vw;
}
.fi-h1 .label span{
    background: #E17055;
    color: #fff;
    border-radius: 100px;
    line-height: 1;
    display: inline-block;
    padding: 4px 10px;
}
.fi-h1 img{
    vertical-align: -0.4em;
    line-height: 0;
    display: inline-block;
    width: 4vw;
    translate: -0.5vw 0;
}
.fi-time{
    background: #fff;
    border-radius: 100px;
    font-size: 1vw;
    color: #E17055;
    padding: 0.5em 1em 0.5em 0.5em;
}
.fi-time img{
    vertical-align: middle;
    width: 1.5vw;
}

.fi-title__bottom{
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.fi-notice{
    padding-top: 0.5vw;
    font-size: 0.6vw;
}

.fi-contents{
    position: relative;
    width: 97%;
    margin: 0 1.5%;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.fi-scroll{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    scrollbar-width: thin;            /* Firefox用 */
    scrollbar-color: #999 transparent; /* Firefox: thumb / track */
}
.fi-scroll::-webkit-scrollbar {
  width: 8px; /* スクロールバー幅（任意） */
}

.fi-toggle{
    border: solid 2px #E17055;
    background: #fff;
    border-radius: 0.8em;
    padding: 0.8em;
    display: flex;
}
.fi-toggle:first-of-type{
    margin-right: 2em;
}

.fi-toggle__button{
    font-size: 1.25vw;
    min-width: 7em;
    text-align: center;
    border: none;
    display: inline-block;
    padding: 0.2em 1em;
    margin: 0;
    background: #fff;
    border-radius: 0.2em;
    cursor: pointer;
    color: #3E221C;
    font-weight: bold;
    transition: .4s;
    line-height: 1.5;
}
.fi-toggle__button:hover{
    opacity: 0.7;
}
.fi-toggle__button.-active{
    background: #E17055;
    color: #fff;
}

/* table */
.flight-board-table thead{
    position: sticky;
    top: 0;
    z-index: 1;
}
.flight-board-table thead th{
    font-size: 0.8vw;
}
.flight-board-table .th-time,
.flight-board-table .td-time{
    width: 10%;
    text-align: center;
}
.flight-board-table .td-time{
    font-size: 1.25vw;
    font-weight: 700;
    text-align: center;
}
.flight-board-table .th-code,
.flight-board-table .td-code{
    width: 10%;
    text-align: center;
}
.flight-board-table .td-code{
    vertical-align: top;
}
.flight-board-table .th-status,
.flight-board-table .td-status{
    width: 10%;
    text-align: center;
}
.flight-board-table .th-airline,
.flight-board-table .td-airline{
    width: 20%;
}
.flight-board-table .td-airline{
    vertical-align: top;
}
.flight-board-table .td-destination{
    font-size: 1.25vw;
    font-weight: 700;
}
