@charset "utf-8";

:root {
  --swiper-theme-color: #E4D395;
}

body {
  background-image: none;
}

#fv {
  background-image: url(../img/ticket_fv.webp);
}

@media (max-width: 519px) {
  #fv {
    background-image: url(../img/ticket_fv_sp.webp);
    height: 180px;
  }
}

#fare {
  max-width: 1000px;
}

#fare .ttl {
  font-size: 32px;
  color: #8A2222;
  text-align: center;
  margin-top: 80px;
  /* margin-bottom: 30px; */
  letter-spacing: 1.5px;
}

@media (max-width: 519px) {
  #fare {
    margin-bottom: 40px;
  }

  #price .ttl {
    margin-top: 40px;
  }
}

#fare .subttl {
  font-size: 24px;
  color: #000;
  margin-top: 32px;
  padding-bottom: 12px;
  border-bottom: 1px solid #D1CAC4;
  margin-bottom: 20px;
  letter-spacing: 1.5px;
}

#fare .ssttl {
  font-size: 18px;
  color: #8A2222;
  margin-top: 32px;
  margin-bottom: 16px;
  letter-spacing: 1.5px;
}

#fare .subttl + .ssttl {
  margin-top: 0;
}

#fare p {
  color: #000;
  font-size: 16px;
  line-height: 1.8;
}

#fare p + p {
  margin-top: 20px;
}

#fare .fare-table tfoot td {
  border: none;
  text-align: left;
  padding: 0;
}

#fare .fare-table tfoot p {
  color: #000;
  margin-top: 16px;
}

#fare .note {
  color: #000;
  margin-top: 16px;
}

#fare p a {
  color: #0042C3;
  text-decoration: underline;
}

#fare p a:hover {
  color: #8A2222;
  text-decoration: none;
}

#fare p a.btn {
  color: #fff;
  text-decoration: none;
}

#fare p a.btn:hover {
  color: #fff;
}

#fare .fare-table .tal {
  text-align: left;
}

#fare .fare-table.age {
  width: 100%;
  min-width: 960px;
}

.table-wrapper {
  overflow-x: auto;
  position: relative;
}

#fare .fare-swiper {
  overflow-x: hidden;
  padding: 32px 0;
  position: relative;
}

#fare .fare-swiper img {
  width: 300px;
  max-width: 100%;
}

#fare .fare-swiper-2 img {
  width: 299px;
}

#fare .swiper-slide {
  text-align: center;
  height: auto;
}

@media (min-width: 960px) {
  #fare .swiper-pagination {
    display: none;
  }
}

@media (max-width: 959px) {
  .table-wrapper::before {
    content: "左右にスクロールできます";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 40px;
    margin: auto;
    padding: 5px 10px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    color: #fff;
    font-size: 14px;
    opacity: 1;
    transition: all 0.3s ease;
    pointer-events: none;
  }

  .table-wrapper.scrolled::before {
    opacity: 0;
  }
}

@media (max-width: 519px) {
  #fare .ttl {
    font-size: 28px;
  }

  #fare .subttl {
    font-size: 20px;
  }
}

#fare .fare-table th,
#fare .fare-table td {
  min-width: 240px;
}

#fare .fare-table.age th,
#fare .fare-table.age td {
  min-width: 80px;
}

@media (max-width: 959px) {

  #fare .fare-table th,
  #fare .fare-table td {
    min-width: 90px;
    padding: 16px 10px;
  }

  .fare-table.age {
    margin: 0;
  }
}

@media (max-width: 519px) {

  #fare .fare-table th,
  #fare .fare-table td {
    min-width: 85px;
  }
}