@charset "utf-8";
/* CSS Document */

@media screen and (min-width:769px) {
  .tour-list li:empty{
    display: none;
  }
  .tour-list .depart::before,
  .tour-list .depart::after{
    content: none
  }
  .tour-list .depart .dep-port{
    position: relative
  }
  .tour-list .depart .dep-port::before{
    content: "【";
    display: inline-block
  }
  .tour-list .depart .dep-port::after{
    content: "発着】";
    display: inline-block;
  }
  .depart .dep-port:last-child,
  .depart .dep-port:empty{
    display: none;
  }
  .depart .dep-port:empty + .dep-port:last-child{
    display: block;
  }
  .depart .dep-port.train::after{
    content: "発】";
    display: inline-block;
  }
  
  .tour-price .air_tour_code:nth-child(2)/*,
  .tour-price .air_tour_code:first-child:empty*/{
    display: none;
  }
  .tour-price .air_tour_code:first-child:empty + .air_tour_code:nth-child(2){
    display: block;
  }
  .tour-price .price__detail:nth-child(4),
  .tour-price .price__detail.js-split-room:empty{
    display: none;
  }
  .tour-price .price__detail.js-split-room:empty + .price__detail:nth-child(4){
    display: block;
  }
  
  .tour-date .dep-date:first-child:empty,
  span[id*="dep_"]{
    display: none;
  }
  .tour-date .dep-date:first-child:empty + span[id*="dep_"]{
    display: block
  }
  .tour-date:after,
  .tour-date .dep-date:after{
    content: none;
  }
  
 
  .port::after{
    content: "発着"
  }
  .tour-card li:empty{
    display: none;
  }
  .tour-card  .card-photo img {
    object-fit: cover;
    width: 100%;
    height: 180px;
    object-position: center;
    position: relative;
    transform: none;
    top: 0;
    left: 0;
  }
  .tour-card .card-photo .port:last-child,
  .tour-card .card-photo .port.js-split-airport:empty{
    display: none;
  }
  .tour-card .card-photo .port.js-split-airport:empty + .port:last-child{
    display: block
  }
  .tour-card .card-photo .port.dp-airport{
    display: block!important
  }
 
  .tour-card .air_tour_code:nth-child(2):not(.js-split-price){
    display: none
  }
  .tour-card .air_tour_code.js-split-price:empty + .air_tour_code:nth-child(2){
    display: block
  }
  .tour-card .card-price__detail:last-child,
  .tour-card .card-price__detail.js-split-room:empty{
    display: none
  }
  .tour-card .card-price__detail.js-split-room:empty + .card-price__detail:last-child{
    display: block
  }
  .tour-card .card-dap .dep-date:first-child:empty,
  .tour-card .card-dap span[id*="dep_"]{
    display: none
  }
  .tour-card .card-dap .dep-date:first-child:empty + span[id*="dep_"]{
    display: block
  }
  .card-dap:after,
  .card-dap .dep-date:after{
    content: none;
  }
  .js-split-departure.dep-date,
  span[id*="dep_A"].dep-date,
  span[id*="dep_B"].dep-date,
  span[id*="dep_D"].dep-date,
  span[id*="dep_E"].dep-date{
    position: relative
  }
  .js-split-departure.dep-date::after,
  .js-split-departure::after,
  span[id*="dep_A"].dep-date::after,
  span[id*="dep_B"].dep-date::after,
  span[id*="dep_D"].dep-date::after,
  span[id*="dep_E"].dep-date::after{
    content: "出発"
  }
}

@media screen and (max-width:768px) {
  .tour-list li:empty{
    display: none;
  }
  .tour-list .depart::before,
  .tour-list .depart::after{
    content: none
  }
  .tour-list .depart .dep-port{
    position: relative
  }
  .tour-list .depart .dep-port::before{
    content: "【";
    display: inline-block
  }
  .tour-list .depart .dep-port::after{
    content: "発着】";
    display: inline-block;
  }
  .depart .dep-port:last-child,
  .depart .dep-port:empty{
    display: none;
  }
  .depart .dep-port:empty + .dep-port:last-child{
    display: block;
  }
  .depart .dep-port.train::after{
    content: "発】";
    display: inline-block;
  }
  .tour-list>li .icon span:empty{
    display: none
  }
  .tour-price .air_tour_code:nth-child(2),
  .tour-price .air_tour_code:first-child:empty{
    display: none;
  }
  .tour-price .air_tour_code:first-child:empty + .air_tour_code:nth-child(2){
    display: block;
  }
  .tour-price .price__detail:last-child,
  .tour-price .price__detail:nth-child(3):empty{
    display: none;
  }
  .tour-price .price__detail:nth-child(3):empty + .price__detail:last-child{
    display: block;
  }
  .tour-date .dep-date:first-child:empty,
  span[id*="dep_"]{
    display: none;
  }
  .tour-date .dep-date:first-child:empty + span[id*="dep_"]{
    display: block
  }
  .tour-date:after,
  .tour-date .dep-date:after{
    content: none;
  }
  
  .port::after{
    content: "発着"
  }
  .tour-card li:empty{
    display: none;
  }
  .tour-card  .card-photo img {
    object-fit: cover;
    width: 100%;
    height: calc(400vw / (750 / 100));
    object-position: center;
    position: relative;
    transform: none;
    top: 0;
    left: 0;
  }
  .tour-card .card-photo .port:last-child,
  .tour-card .card-photo .port.js-split-airport:empty{
    display: none;
  }
  .tour-card .card-photo .port.js-split-airport:empty + .port:last-child{
    display: block
  }
  .tour-card .icon span:empty{
    display: none
  }
  .tour-card .air_tour_code:nth-child(2):not(.js-split-price){
    display: none
  }
  .tour-card .air_tour_code.js-split-price:empty + .air_tour_code:nth-child(2){
    display: block
  }
  .tour-card .card-price__detail:last-child,
  .tour-card .card-price__detail.js-split-room:empty{
    display: none
  }
  .tour-card .card-price__detail.js-split-room:empty + .card-price__detail:last-child{
    display: block
  }
  .tour-card .card-dap .dep-date:first-child:empty,
  .tour-card .card-dap span[id*="dep_"]{
    display: none
  }
  .tour-card .card-dap .dep-date:first-child:empty + span[id*="dep_"]{
    display: block
  }
  .card-dap:after,
  .card-dap .dep-date:after{
    content: none;
  }
  .js-split-departure.dep-date,
  span[id*="dep_A"].dep-date,
  span[id*="dep_B"].dep-date,
  span[id*="dep_D"].dep-date,
  span[id*="dep_E"].dep-date{
    position: relative
  }
  .js-split-departure.dep-date::after,
  .js-split-departure::after,
  span[id*="dep_A"].dep-date::after,
  span[id*="dep_B"].dep-date::after,
  span[id*="dep_D"].dep-date::after,
  span[id*="dep_E"].dep-date::after{
    content: "出発"
  }
  
}