/*

 航空券スタイル

*/

@charset "utf-8";

/* ホームページのメインビジュアル */
.wrapper-home-main .home-main-posts{
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    
    -webkit-box-align: stretch;
    -moz-box-align: stretch;
    -ms-flex-align: stretch;
    -webkit-align-items: stretch;
    align-items: stretch;
    
    -webkit-justify-content: center;
    justify-content: center;
}

.wrapper-home-main .home-main-posts .col{
    width: 50%;
}

.wrapper-home-main .home-main-posts .col:first-child{
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    
    -webkit-box-align: stretch;
    -moz-box-align: stretch;
    -ms-flex-align: stretch;
    -webkit-align-items: stretch;
    align-items: stretch;
    
    -webkit-justify-content: center;
    justify-content: center;
    
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

.wrapper-home-main .home-main-posts .col .item{
    padding: 1px;
}

.wrapper-home-main .home-main-posts .col .item:hover{
    opacity: 0.8;
}

.wrapper-home-main .home-main-posts .col:first-child .item{
    width: 50%;
    height: 0;
    padding-bottom: 50%;
}

.wrapper-home-main .home-main-posts .col:first-child .item:last-child{
    width: 100%;
    padding-bottom: 50%;
}

.wrapper-home-main .home-main-posts .col .item .item-post{
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.wrapper-home-main .home-main-posts .col:first-child .item:last-child .item-post{
    padding-bottom: 50%;
}

.wrapper-home-main .home-main-posts .item-post .photo{
    display: block;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    overflow: hidden;
    position: relative;
}

.wrapper-home-main .home-main-posts .item-post .photo a{
    display: block;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    overflow: hidden;
    position: relative;
}

.wrapper-home-main .home-main-posts .col:first-child .item:last-child .item-post .photo a{
    padding-bottom: 50%;
}

.wrapper-home-main .home-main-posts .item-post .photo img{
    height: 100%;
    width: auto;
    max-width: none;
    
    position: absolute;
    margin: auto;
    top: -100%;
    bottom: -100%;
    left: -100%;
    right: -100%;
    
    border-radius: 0;
}

.wrapper-home-main .home-main-posts .col .item .item-post h5 a{
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
    font-size: 14px;
    font-weight: bold;
}

.wrapper-home-main .home-main-posts .col .item .item-post h5 a .sub{
    font-size: 12px;
    font-weight: normal;
    display: block;
    line-height: 1.4;
}



.wrapper-home-main .flex-caption{
    margin-bottom: 0;
}


.sls-post-cat{
    margin-bottom: 0;
    display: none; /* ピンクのカテゴリ名の枠非表示 */
}

.wrapper-home-main .home-main-posts .col .item .item-post .post-categories{
    margin-bottom: 10px;
}

.wrapper-home-main .home-main-posts .col .item .item-post .post-categories li{
    display: inline-block;
    margin-bottom: 5px;
}

.wrapper-home-main .home-main-posts .col .item .item-post .post-categories li a{
    display: block;
    background-color: #d88397;
    color: #fff;
    margin-right: 5px;
    border-radius: 4px;
    line-height: 1;
    padding: 5px 7px!important;
}

@media only screen and (max-width: 768px){
    .wrapper-home-main .home-main-posts{
        display: block;
        padding: 0 10px;
    }

    .wrapper-home-main .home-main-posts .col{
        width: 100%;
    }

    .wrapper-home-main .home-main-posts .col:first-child{
        display: block;
    }
    
    .wrapper-home-main .home-main-posts .col .item{
        width: 100%;
        height: 0;
        padding: 0;
        padding-bottom: 70%;
        margin-bottom: 10px;
    }
 
    .wrapper-home-main .home-main-posts .col:first-child .item:last-child,
    .wrapper-home-main .home-main-posts .col:first-child .item:last-child .item-post .photo a,
    .wrapper-home-main .home-main-posts .col:first-child .item,
    .wrapper-home-main .home-main-posts .col:first-child .item:last-child .item-post,
    .wrapper-home-main .home-main-posts .col .item .item-post,
    .wrapper-home-main .home-main-posts .item-post .photo,
    .wrapper-home-main .home-main-posts .item-post .photo a{
        width: 100%;
        padding-bottom: 70%;
    }
    
    .wrapper-home-main .home-main-posts .item-post .photo.large-ratio img{
        width: 100%;
        height: auto;
    }
    
    .wrapper-home-main .home-main-posts .col:first-child .item:last-child .photo img{
        width: auto;
        height: 100%;
    }
    
    .wrapper-home-main .flex-caption.caption-info{
        padding: 0 20px;
    }
    
    
    .wrapper-home-main .home-main-posts .col .item .item-post .post-categories{
        margin-bottom: 0;
    }
    
    .wrapper-home-main .home-main-posts .col .item .item-post .post-categories li a{
        font-size: 10px;
    }
    
    
    
}




/* 航空券一覧 */
.flight-data img,
.wrapper-listing-flights img{
    border-radius: 0;
}

.wrapper-listing-flights li{
    display: block;
    margin-bottom: 5px;
    box-shadow: 1px 1px 2px #ddd;
    border-radius: 5px;
}

.wrapper-listing-flights a{
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    
    font-size: 108%;
    color: #000;
    border-radius: 5px;
    background-color: #2B83A8;
}


.wrapper-listing-flights a:hover{
    background-color: #fcfcfc;
}

.wrapper-listing-flights .airline{
    width: 20%;
    border-radius: 5px 0 0 5px;
    background-color: #fff;
    
}

.wrapper-listing-flights .airline .image{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 10px;
}

.wrapper-listing-flights .airline img{
    width: 100%;
}

.wrapper-listing-flights .airline .ratio-large img{
    max-height: 40px;
    width: auto;
    margin: 0 auto;
}

.wrapper-listing-flights .info{
    flex: 1;
    
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #3fafd4;
    padding: 10px 10px;
    background-color: #2B83A8;
    border-radius: 0 5px 5px 0;
}

.wrapper-listing-flights a:hover .info{
    opacity: .8;
    
}

.wrapper-listing-flights .info .title{
    width: 75%;
    display: block;
    font-size: 15px;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 1px 1px #014a69;
}

.wrapper-listing-flights .info .sub{
    display: block;
    width: auto;
    font-weight: normal;
    font-size: 11px;
    margin-top: 5px;
    color: #fff;
    
    text-shadow: none;
}

.wrapper-listing-flights .price{
    flex: 1;
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    color: #FFF3B0;
    background-color: #2B83A8;
    text-shadow: 0 1px 1px #014a69;
}


.wrapper-listing-flights .price:after{
    display: inline-block;
    content: '\f105';
    font-family: 'FontAwesome';
    
    line-height: 1;
    padding-left: 10px;
    color: #fff;
}

.ico-special,
.ico-new{
    display: inline-block;
    font-size: 9px;
    font-family: sans-serif;
    line-height: 1;
    font-weight: bold;
    color: #fff;
    
    padding: 3px 5px;
    border-radius: 3px;
    background-color: #d88397;
    
    margin: 0 3px;
}

.ico-special{
    background-color: #58B9DA;
}


@media only screen and (max-width: 768px){
    
    .wrapper-listing-flights .airline {
        width: 30%;
    }

    .wrapper-listing-flights .info{
        display: block;
    }
    
    .wrapper-listing-flights .info .title {
        width: 100%;
        font-size: 14px;
    }
    
    .wrapper-listing-flights .price {
        text-align: right;
        font-size: 20px;
    }
}


/* 詳細 */
.flight-data table{
    line-height: 1.4;
}

.flight-data table td p{
    margin-bottom: 10px;
}

.flight-data table td p:last-child{
    margin-bottom: 0;
}

.flight-data .flights-period{
    text-align: center;
}

.flight-data th{
    font-weight: bold;
}

.flight-data td.period{
    text-align: left;
}

.flight-data .flights-period .not-match th,
.flight-data .flights-period .not-match td{
    /*background-color: #ccc;
    color: #999;*/
    opacity: .2;
}


.flight-data .flight-header{
    display: flex;
    background-color: #2B83A8;
    
    margin-bottom: 20px;
}

.flight-data .flight-header .airline{
    width: 20%;
    background-color: #fff;
    border: 1px solid #2B83A8;
    padding: 20px;
    text-align: center;
    
    display: flex;
    align-items: center;
    justify-content: center;
}

.flight-data .flight-header .airline .name{
    font-size: 12px;
    line-height: 1;
}

.flight-data .flight-header .airline .logo, 
.flight-data .flight-header .airline .image{
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.flight-data .flight-header .airline .image a{
    display: block;
    width: 100%;
    
}

.flight-data .flight-header .airline .image img{
    display: block;
    max-width: 100%;
    height: auto;
    
}

.flight-data .flight-header .info{
    padding: 20px 20px;
    flex: 1;
}


.flight-data .flight-header .info .title{
    color: #fff;
}


.flight-data .flight-header .info h1{
    line-height: 1.2;
    margin: 0;
    font-size: 20px;
    text-shadow: 0 1px 1px #014a69;
}

.flight-data .flight-header .info .label{
    display: inline-block;
    border-radius: 3px;
    background-color: #fff;
    color: #000;
    line-height: 1;
    padding: 5px 10px;
    font-size: 12px;
    margin-bottom: 10px;
    margin-right: 10px;
    
}

.flight-data .flight-header .info a.label{
    background-color: #58B9DA;
    color: #fff;
    text-shadow: 0 1px 1px #014a69;
}

.flight-data .flight-header .info a.label:hover{
    text-decoration: none;
    background-color: #4CADC9;
}

@media only screen and (max-width: 768px){

    .flight-data .flight-header {
        display: block;
    }

    .flight-data .flight-header .airline {
        width: 100%;
    }
    
}

.box-flights-period{
    margin-bottom: 30px;
}

.flights-period{
    border: none;
    text-align: left;
}

.flights-period tr:nth-child(even){
    background: #fff;
}

.flights-period tr td{
    border-left: none;
    border-top: 1px solid #efefef;
}

.flights-period tr:last-child{
    border-bottom: 1px solid #efefef;
}

.flight-data .date-period{
    display: flex;
    font-family: sans-serif;
}

.flight-data .date-period .date{
    flex: 1;
    font-size: 13px;
    font-weight: bold;
}

.flight-data .date-period .icons{
    display: block;
    width: 35%;
    margin-left: 3%;
    text-align: right;
}


@media only screen and (max-width: 768px){
    
    .the-content{
        margin-left: 0!important;
        margin-right: 0!important;
        padding-left: 10px;
        padding-right: 10px;
    }

    .flight-data .date-period {
        display: block;
    }
    
    .flight-data .date-period .date{
        font-size: 12px;
    }

    .flight-data .date-period .icons {
        width: 100%;
        text-align: center;
        margin: 0;
    }
    
    .flight-data .date-period .icons span{
        display: block;
        margin: 2px 0;
    }

}


.flight-detail .delimiter{
    display: inline-block;
    padding: 0 10px;
}

.flight-detail th{
    width: 20%;
}

.flight-data .note{
    text-align: right;
    font-size: 10px;
    margin-bottom: 30px;
}

.link-contact{
    text-align: center;
}

a.btn{
    display: inline-block;
    border-radius: 5px;
    padding: 10px 20px;
    margin: 0 10px;
    
    background-color: #F7BE68;
    color: #fff!important;
    font-size: 16px;
    font-weight: bold;
    line-height: 1;
    
    background-image: linear-gradient(to bottom,rgba(255,255,255,.2) 0,rgba(255,255,255,.01) 100%);
    background-repeat: repeat-x;
}

a.btn:hover{
    text-decoration: none!important;
    background-color: #f5b14b;
}

.link-contact a:after{
    font-family: "FontAwesome";
    content: "\f105";
    padding-left: 10px;
    
}

.link-contact .btn-back{
    background-color: #4CADC9;
}


.link-contact .btn-back:hover{
    background-color: #39a0bd;
}


@media only screen and (max-width: 768px){
    .flight-detail th{
        width: 30%;
    }
    
    
    .link-contact a{
        display: block;
        width: 100%;
        margin: 0 0 20px;
    }
}


/* アーカイブ */
body .flight-data h1 a{
    color: #fff;
}

body .flight-data h1 a:hover{
    color: #F7BE68;
}

.flight-data .flight-header .desc{
    color: #fff;
}

.flight-data .flight-row{
    padding: 20px;
    margin-bottom: 40px;
}

.flight-data .link-detail{
    text-align: right;
    margin-top: 10px;
}

.flight-data .btn-detail{
    font-size: 15px;
    padding: 8px 10px;
}

.flight-data .box-flights-period{
    margin-bottom: 0;
}

.flight-data .flights-period{
    margin-bottom: 10px;
}



/* 検索 */

.search-flight{
    background-color: #2B83A8;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 30px;
    line-height: 1.4;
    color: #fff;
}


.search-flight input[type=text], 
.search-flight input[type=email], 
.search-flight textarea, 
.search-flight select{
    width: auto;
    padding: 3px 10px;
    margin-bottom: 0;
    margin-left: 10px;
}

.search-flight input[type=radio]{
    margin-left: 10px;
}

.ui-widget{
    z-index: 0;
}


.search-flight .row{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0 !important;
    padding-bottom: 10px;
}

.search-flight .row:first-child{
    align-items: center;
}

.search-flight .row-airline{
    justify-content: flex-start;
}

.search-flight .row > *{
    width: 50%;
    padding: 0 20px;
}

.search-flight #text-price{
    width: auto;
    margin-left: 10px;
}

.search-flight .col-price{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search-flight #slider-price{
    width: 50%;
}

.search-flight .row-submit{
    margin-top: 20px;
}

.search-flight .row-submit input[type="button"]{
    background-color: #ccc;
    width: 30%;
    margin-right: 3%;
}

.search-flight input[type="submit"]{
    width: 100%;
}

.search-flight .search-airport-departure select,
.search-flight .search-airport-arrival select{
    display: none;
}


@media only screen and (max-width: 768px){
    .search-flight .row{
        display: block;
    }
    
    .search-flight .row > *{
        width: 100%;
        padding: 0;
        margin-bottom: 10px;
    }
    
    .search-flight .row-submit{
        display: flex;
    }
    
    search-flight .row-submit input[type="submit"]{
        flex: 1;
    } 
}


/* 航空会社一覧 */
.page .listing .flight-header,
.page .listing .flight-row{
    margin-bottom: 0;
}

.page .listing .flight-row:first-child{
    padding-top: 0;
}


/* フッタ固定問い合わせ */
#footer-contact-us{
    background-color: #e8ece9;
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

#footer-contact-us .hidden{
    opacity: 1!important;
}
    
#footer-contact-us .tel-email{ 
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

#footer-contact-us h3{
    font-weight: bold;
    font-size: 13px;
    margin: 0 5px;
    color: #000;
    line-height: 1;
}

#footer-contact-us h3 span{
    font-size: 13px;
    background-color: #e8ece9;
    display: inline-block;
    padding-right: 10px;
    line-height: 1;
}

#footer-contact-us a{
    display: inline-block;
    color: #000;
    font-weight: bold;
    line-height: 1;
    font-size: 13px;
    margin: 0 10px;
    padding: 8px 10px;
}

#footer-contact-us a.btn,
#footer-contact-us a.btn .fa{
    color: #000!important;
}


#footer-contact-us p{
    color: #000;
}

#footer-contact-us .fa{
    padding-right: 5px;
}

.footer-bottom {
    padding-bottom: 60px;
}

#menu-footer > ul > li > a:hover{
    color: #fafafa;
}

.content-large{
    display: inline-block!important;
}

/* chrome スクロールでフェードイン表示できないので最初から表示しておく */
.postAnimated.hidden,
.postAnimated .hidden{
    opacity: 1!important;
}



@media only screen and (max-width: 768px){

    /* スマホ表示の横幅指定無効 */
    .sls-two-cont .main-side, .sls-two-cont .SELASIH_container .main-side {
        width: 100%!important;
    }
    
    .tophead.Custom .header-mask{
        display: none;
    }
    
    #footer-contact-us h3{
        font-size: 12px;
        margin-bottom: 5px;
    }
    
    #footer-contact-us a{
        font-size: 12px;
    }
    
    #menu-footer{
        margin-bottom: 30px;
    }
    
    #menu-footer > ul > li{
        display: block;
    }
    
    #menu-footer > ul > li > a, #menu-footer > ul > li > a > i > span{
        padding: 5px 10px!important;
    }
    
    .content-large{
        display: none!important;
    }
}


/* 支払いページ */

.mw_wp_form p{
    line-height: 1.4;
}

.mw_wp_form tbody:after{
    content: "";
    display: block;
    margin-bottom: 60px;
}


.mw_wp_form thead th{
    background-color: powderblue;
    color: #000;
    font-weight: bold;
}

.mw_wp_form tbody th{
    width: 20%;
    padding: 10px;
    background-color: #fafafa;
    vertical-align: top;
}

.mw_wp_form tbody td{
    background-color: #fff;
}

.mw_wp_form tbody th .attention{
    padding-left: 5px;
}

.mw_wp_form tbody .code input{
    width: 80px;
}

.mw_wp_form .note{
    display: block;
    padding-top: 5px;
    font-size: 85%;
}

.mw_wp_form .col2{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.mw_wp_form .col2 .error{
    width: 50%;
}

.mw_wp_form .col2 input{
    width: 48%;
}

.mw_wp_form .col2 input:first-child{
    margin-right: 2%;
}



.mw_wp_form input[type=text],
.mw_wp_form input[type=email],
.mw_wp_form textarea,
.mw_wp_form select{
    margin-bottom: 0;
}

.mw_wp_form .price{
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.mw_wp_form .price .mark{
    margin-right: 5px;
}

.mw_wp_form .price input{
    width: 100px;
}

.mw_wp_form .btn-submit,
.mw_wp_form .row-privacy{
    text-align: center;
}

.mw_wp_form input[type=submit]{
    width: 200px;
    font-size: 16px;
}