@charset "UTF-8";
/*-----FLIGHT-HERO-----*/
#flight-hero {
    background-image: url("../img/flight/hero-flight-01_pc.jpg");
    background-color: #0033a0;
    background-size: contain;
    background-repeat: no-repeat;
    height: 784px;
    background-position: center top;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    top: 90px;
}
.flight-hero__title {
    text-align: center;
    color: #fff;
    animation-duration: 1.5s;
    animation-name: fadein;
}
.flight-hero__title p {
    margin: 10px 0 0;
}
/*-----SCHEDULE-----*/
#schedule .wrapper {
    margin: 20px auto 0;
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    padding: 40px; 
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    box-sizing: border-box;
    position: relative;
}
#schedule h2 {
    width: 100%;
    text-align: center;
    margin: 0 0 20px;
}
.schedule__block {
    width: 46%;
    width: calc(50% - 10px);
    background: #f0f2f2;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}
.schedule__block--heading {
    font-size: 20px;
    font-weight: 600;
}
.schedule__block--line1, .schedule__block--line2 {
    display: flex;
    justify-content: space-between;
}
.schedule__block--line1 p {
    width: 33.33333%;
    width: -webkit-calc(100% / 3 - 2px);
    width: calc(100% / 3 - 2px);
    color: #fff;
    margin: 10px 0;
    padding: 4px 0;
}
.schedule__block--line2 p {
    width: 33.33333%;
    width: -webkit-calc(100% / 3 - 2px);
    width: calc(100% / 3 - 2px);
    padding: 8px 0;
}
.schedule__block--line1 p:nth-child(odd){
    background: #0c2340;
}
.schedule__block--line1 p:nth-child(even){
    background: #0033a0;
}
#schedule .caution {
    margin: 20px 0;
}
#schedule .button {
    width: 100%;
    text-align: center;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
    display: block;
    box-sizing: border-box;
}
/*-----CLASS-----*/
#class {
    margin: 40px 0 0;
    padding: 0 0 40px;
    background: rgb(105,179,231,.2); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(124,135,142,.1) 60%, rgba(255,255,255,1) 40%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(124,135,142,.1) 60%,rgba(255,255,255,1) 40%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(124,135,142,.1) 60%,rgba(255,255,255,1) 40%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#69b3e7', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
}
.class__tab {
    padding: 60px 20px 40px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.class__tab--title {
    opacity: .3;
}
.class__tab--title:hover{
    opacity: 1;
    cursor: pointer;

}
.class__tab--title.is-active {
    opacity: 1;
    padding: 0 0 10px;
    position: relative;
}
.class__tab--title.is-active::after{
    content: '';
    width: 100%;
    height: 4px;
    background: #0c2340;
    position: absolute;
    left: 0;
    bottom: 0;
    animation: scale .3s linear 0s;
}
@keyframes scale{
    from{
        transform: scale(0);
    }
    to{
        transform: scale(1);
    }
}
.class__panel {
   box-shadow: 0 5px 15px rgba(0,0,0,0.2); 
}
.class__panel--contents {
    display: none;
    animation: show .4s linear 0s;
    position: relative;
}
.class__panel--contents img {
    border-radius: 5px;
}
.class__panel--contents .button {
    margin: 10px 0 0;
    display: block;
    text-align: center;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}
.class__panel--contents.is-show {
    display: block;
    height: 594px;
}
.class__panel--txt {
    width: 100%;
    padding: 0 40px 40px;
    position: absolute;
    z-index: 4;
    bottom: 0;
    box-sizing: border-box;
}
.class__panel--txt p {
    margin: 5px 0;
}
.class__panel--contents::after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    border-radius: 5px;
    left: 0;
    bottom: 0;
    background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.54) 73%, rgba(0,0,0,0.54) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.54) 73%,rgba(0,0,0,0.54) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.54) 73%,rgba(0,0,0,0.54) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#8a000000',GradientType=0 ); /* IE6-9 */
}
.fade-img {
    position: relative;
    width: 100%;
    height: 594px;
}
.fade-img img {
    position: absolute;
    width: 100%;
}
#mileageplus-bnr {
    padding: 0 0 40px;
}
#mileageplus-bnr .wrapper {
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-radius: 5px;
}
#mileageplus-bnr .max-img {
    width: 50%;
    height: auto;
    object-fit: cover;
    border-radius: 5px 0 0 5px;
}
.bnr__text {
    width: 50%;
    padding: 20px 40px;
    box-sizing: border-box;
}
.bnr__text img {
    display: block;
    margin: 0 auto 16px;
    width: auto;
    height: 60px;
}
.bnr__text p {
    margin: 20px 0;
}
@media screen and (max-width: 1160px) {
    #flight-hero {
        height: 66vw;
    }   
}
@media screen and (max-width: 940px) {
    #flight-hero {
        height: 62vw;
    }
    .flight-hero__title img {
        width: 100%;
        height: auto;
    }
    .flight-hero__title p {
        margin: 0;
    }
    #schedule .wrapper {
        margin: 60px auto 0;
    }
    .max-img {
        width: 100%;
        object-fit: cover;
    }
}
@media screen and (max-width: 767px) {
    .max-img {
        width: 100%;
        height: 60vw;
        object-fit: cover;
    }
    #flight-hero {
        background-image: url("../img/flight/hero-flight-01_sp.jpg");
        height: 84vw;
    }
    #schedule .wrapper {
        display: block;
        padding: 20px;
    }
    #schedule h2 {
        margin: 0 0 10px;
    }
    .schedule__block {
        width: 100%;
        margin: 10px 0;
        padding: 10px;
        box-sizing: border-box;
    }
    .class__tab--title {
        width: calc(50% - 30px);
        margin: 10px 0;
    }
    #img-upbc,#img-upp,#img-uep,#img-ue {
        width: auto;
        height: 30px;
    }
    #txt-upbc,#txt-upp,#txt-uep,#txt-ue {
        width: auto;
        height: 60px;
    }
    .class__panel--contents.is-show {
        height: 460px;
    }
    .class__panel--txt {
        padding: 20px;
    }
    .class__panel--contents::after {
        background: -moz-linear-gradient(top, rgba(12,35,64,0) 0%, rgba(12,35,64,0) 26%, rgba(12,35,64,1) 48%, rgba(12,35,64,1) 100%); /* FF3.6-15 */
        background: -webkit-linear-gradient(top, rgba(12,35,64,0) 0%,rgba(12,35,64,0) 26%,rgba(12,35,64,1) 48%,rgba(12,35,64,1) 100%); /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to bottom, rgba(12,35,64,0) 0%,rgba(12,35,64,0) 26%,rgba(12,35,64,1) 48%,rgba(12,35,64,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000c2340', endColorstr='#0c2340',GradientType=0 ); /* IE6-9 */
    }
    #mileageplus-bnr .wrapper {
        display: block;
    }
    #mileageplus-bnr .max-img {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 5px 5px 0 0;
    }
    .bnr__text {
        width: 100%;
        padding: 20px;
    }
    .bnr__text .button {
        width: 100%;
        display: block;
        box-sizing: border-box;
    }
}
@media screen and (max-width: 640px) {
    h1 {
        line-height: 1;
    }
    .flight-hero__title img {
        width: 70%;
        height: auto;
    }
    .flight-hero__title p {
       font-size: 12px;
    }
    .schedule__block p img {
        width: 100%;
        height: auto;
    }
}