/**
 *
 * Banner Section
 *
 */

.banner-section {
  aspect-ratio: 1 / 1;

  @media (1024px <= width) {
    margin-inline: 40px;
    aspect-ratio: 184 / 80;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 2 / 1;
    margin-top: 40px;
  }
}

.banner-section img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/**
 *
 * Introduction Section
 *
 */

.introduction-section {
  padding-top: 40px;

  @media (1024px <= width) {
    padding-top: 80px;
  }
}

.routes-and-map-container {
  display: grid;
  gap: 16px;
  margin-top: 16px;
  grid-template-columns: repeat(6, 1fr);

  @media (1024px <= width) {
    gap: 30px;
    margin-top: 31px;
    grid-template-columns: repeat(12, 1fr);
  }
}

.routes-container {
  grid-column: 1 / -1;
  display: flex;
  gap: 30px;

  @media (1024px <= width) {
    grid-column: span 6;
  }
}

.routes-list-and-motorcycle-icon-container {
  flex: 1;
  width: 100%;
  overflow: auto;
}

.motorcycle-icon-track {
  width: 100%;
  height: 60px;
}

.motorcycle-icon-container {
  width: 40px;
  height: 40px;

  @media (1024px <= width) {
    width: 60px;
    height: 60px;
  }
}

.routes-list {
  display: flex;
  justify-content: space-between;
  gap: 16px;

  @media (1024px <= width) {
    gap: 30px;
  }
}

.routes-and-location-container {
  display: flex;
  flex-direction: column;
  align-items: center;

  &:has(input[name="route"]:not(:checked)) {
    .motorcycle-icon-container {
      opacity: 0;
    }

    .motorcycle-dot {
      background-color: transparent;
    }

    .day-index {
      background-color: #eaeaea;
    }

    .day {
      color: var(--text-color);
    }

    .location-name {
      background-color: #F8F8F8;
      color: #859389;
    }
  }

  &:has(input[name="route"]:checked) {
    .motorcycle-icon-container {
      opacity: 1;
    }

    .motorcycle-dot {
      background-color: var(--primary-color);
    }

    .day-index {
      background-color: var(--primary-color);
    }

    .day {
      color: var(--secondary-color);
    }

    .location-name {
      background-color: #254441;
      color: var(--secondary-color);
    }
  }
}

.motorcycle-icon-container {
  transition: all 0.3s;
  width: 40px;
  height: 40px;

  @media (1024px <= width) {
    width: 60px;
    height: 60px;
  }
}

.motorcycle-icon-container svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.motorcycle-dot {
  width: 10px;
  height: 10px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  transition: all 0.3s;

  @media (1024px <= width) {
    width: 16px;
    height: 16px;
  }
}

input[name="route"] {
  display: none;
}

.day-index {
  margin-top: 10px;
  padding: 8px 30px;
  border-radius: 5px;
  transition: all 0.3s;

  @media (1024px <= width) {
    margin-top: 20px;
    padding: 13.5px 60px;
    border-radius: 10px;
  }
}

.day {
  font-weight: 700;
  line-height: 1;
  transition: all 0.3s;
  white-space: nowrap;
}

.distance {
  margin-block: 5px;
  font-weight: 700;
  color: var(--text-color);

  @media (1024px <= width) {
    margin-block: 10px;
  }
}

.locations-list {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.location-name-container {
  display: flex;
  flex-direction: column;
  align-items: center;

  &:not(:first-child)::before {
    content: '';
    display: block;
    width: 2px;
    height: 10px;
    border-left: 1px dashed #859389;
    border-right: 1px dashed #859389;
    margin-block: 5px;

    @media (1024px <= width) {
      height: 40px;
    }
  }
}

.location-name {
  line-height: 1;
  width: 100%;
  text-align: center;
  padding: 8px;
  border-radius: 10px;
  transition: all 0.3s;
  font-size: 14px;

  @media (1024px <= width) {
    font-size: 16px;
  }
}

.routes-button-container {
  display: none;
  width: 36px;
  padding-top: 100px;

  @media (1024px <= width) {
    display: block;
  }
}

.routes-button {
  width: 36px;
  height: 36px;
  background-color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0px 1px 2px rgba(60, 64, 67, 0.3), 0px 2px 6px 2px rgba(60, 64, 67, 0.15);

  &::before {
    content: '';
    width: 36px;
    height: 36px;
    background-size: 10px 16px;
    background-repeat: no-repeat;
    background-position: center;
  }
}

.routes-previous-button::before {
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='16' viewBox='0 0 10 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.000102294 8.10366L8.3156 -8.30218e-08L9.25757 0.969014L1.95165 8.09014L9.25306 15.0175L8.3201 16L0.000102294 8.10366Z' fill='%231A1E1C'/%3E%3C/svg%3E%0A");
}

.routes-next-button::before {
  background-image: url("data:image/svg+xml,%3Csvg width='9' height='16' viewBox='0 0 9 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 7.89634L0.915774 16L8.16913e-08 15.031L7.10273 7.90986L0.00438306 0.982535L0.911394 8.26245e-08L9 7.89634Z' fill='%231A1E1C'/%3E%3C/svg%3E%0A");
}

.map-container {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;

  @media (1024px <= width) {
    grid-column: span 6;
  }
}

.map {
  border-radius: 15px;
  width: 100%;
  aspect-ratio: 675 / 450;
}

/**
 *
 * Media Section
 *
 */

.media-section {
  padding-top: 40px;

  @media (1024px <= width) {
    padding-top: 80px;
  }
}

.medias-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;

  @media (1024px <= width) {
    gap: 20px;
    grid-template-columns: repeat(12, 1fr);
  }
}

.media-container {
  display: var(--display);
  grid-column: var(--col-span);
  grid-row: var(--row-span);
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: var(--aspect);

  &:hover {
    .media-image {
      transform: scale(1.1);
    }
  }
}

.media-link {
  display: block;
  width: 100%;
  height: 100%;
}

.media-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s;
}

.trip-detail-section {
  padding-top: 40px;

  @media (1024px <= width) {
    padding-top: 80px;
  }
}

.trip-detail-section .container hgroup {
  text-align: center;
}

.trip-detail-list {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
  gap: 10px;

  @media (1024px <= width) {
    margin-top: 30px;
    gap: 30px;
  }
}

.trip-detail-container {
  padding-bottom: 10px;
  border-bottom: 1px solid #eaeaea;

  @media (1024px <= width) {
    padding-bottom: 0px;
    padding-bottom: 30px;
  }
}

.trip-detail-header {
  cursor: pointer;
  display: flex;
  align-items: center;
}

.trip-detail-icon-container {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trip-detail-icon-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trip-detail-title {
  font-weight: 900;
  color: var(--text-color);
  margin-left: 8px;
  font-size: 16px;

  @media (1024px <= width) {
    margin-left: 10px;
    font-size: 24px;
  }
}

.trip-detail-chevron-icon-container {
  transition: all 0.3s;
  margin-left: auto;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;

  @media (1024px <= width) {
    width: 36px;
    height: 36px;
  }
}

.trip-detail-chevron-icon-container svg {
  width: 100%;
  height: 100%;
}

.trip-detail-toggle {
  display: none;
}

.trip-detail-toggle:not(:checked) + .trip-detail-content {
  overflow: hidden;
  opacity: 0;
  max-height: 0;
}

.trip-detail-toggle:checked + .trip-detail-content {
  overflow: visible;
  opacity: 1;
  max-height: 100%;
}

.trip-detail-content {
  transition: all 0.3s;
  display: flex;
  /* grid-template-columns: repeat(2, 1fr); */
  margin-top: 10px;
  flex-direction: column-reverse;
  gap: 16px;

  @media (1024px <= width) {
    margin-top: 20px;
    flex-direction: row;
    gap: 30px;
  }
}

.trip-detail-meeting-point-toggles-list {
  grid-column: span 2;
  display: none;
}

.trip-detail-meeting-point-toggle {
  display: none;
}

.trip-detail-descriptions-container {
  display: flex;
  gap: 16px;

  @media (1024px <= width) {
    width: 50%;
    gap: 20px;
  }
}

.trip-detail-decoration-container {
  border-left: 1px solid #ff6f59;
  display: flex;
  gap: 20px;
  position: relative;

  &::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ff6f59;
  }
}

.trip-detail-descriptions-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.trip-detail-meeting-points-container {
  display: flex;
  flex-direction: column;
  gap: 8px;

  @media (1024px <= width) {
    width: 50%;
    gap: 15px;
  }
}

.trip-detail-meeting-points-list {
  display: flex;
  overflow: auto;
  gap: 6px;
  align-items: center;
  padding-bottom: 10px;

  @media (1024px <= width) {
    gap: 12px;
  }
}

.trip-detail-meeting-point-toggle-label {
  border: 1px solid #c1c1c1;
  border-radius: 5px;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;

  @media (1024px <= width) {
    padding: 6px 12px;
  }
}

.trip-detail-meeting-point-icon-container {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.trip-detail-meeting-point-icon-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trip-detail-meeting-point-title {
  font-weight: 600;
  font-size: 12px;
  white-space: nowrap;
  transition: all 0.3s;
  line-height: 1;

  @media (1024px <= width) {
    font-size: 14px;
  }
}

.trip-detail-meeting-point-images-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.trip-detail-meeting-point-image-informations-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.trip-detail-meeting-point-images-note {
  margin-top: 8px;
  font-weight: 600;
  font-size: 13px;
  padding: 5px 7px;
  border-radius: 5px;
  background: rgba(255, 111, 89, 0.1);
  color: var(--primary-color);
  line-height: 1.5;

  @media (1024px <= width) {
    margin-top: 15px;
    padding: 9.5px 14px;
  }
}

.trip-detail-images-swiper-container {
  position: relative;
  width: 100%;
}

.trip-detail-images-swiper-container .swiper-wrapper {
  /* width: 100%; */
}

.trip-detail-images-swiper-container .swiper-slide {
  aspect-ratio: 386 / 257;
}

.trip-detail-images-swiper-container .swiper-slide a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 10px;

  &:hover {
    img {
      transform: scale(1.1);
    }
  }
}

.trip-detail-images-swiper-container .swiper-slide a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s;
}

.trip-detail-images-swiper {
  width: 100%;
}

.trip-detail-description-item-title {
  font-weight: 700;
  font-size: 16px;
  color: var(--text-color);

  @media (1024px <= width) {
    font-size: 18px;
  }
}

.trip-detail-description-item-content {
  margin-top: 10px;
  color: var(--text-color);

  @media (1024px <= width) {
    margin-top: 20px;
  }
}

/**
 *
 * Different Section
 *
 */

.different-section {
  padding-top: 40px;

  @media (1024px <= width) {
    padding-top: 80px;
  }
}

.different-section .container hgroup {
  text-align: center;
}

.differents-list {
  display: grid;
  margin-top: 20px;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;

  @media (1024px <= width) {
    margin-top: 30px;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
  }
}

.different-item {
  padding: 20px 10px;
  border-radius: 5px;
  background: linear-gradient(180deg, #FFF1EE 0%, rgba(255, 241, 238, 0.2) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;

  @media (1024px <= width) {
    padding: 40px 20px;
    border-radius: 10px;
  }
}

.different-item-icon-container {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;

  @media (1024px <= width) {
    width: 80px;
    height: 80px;
  }
}

.different-item-icon-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.different-item-title {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-color);
  text-align: center;

  @media (1024px <= width) {
    margin-top: 20px;
    font-size: 18px;
  }
}

.different-item-content {
  margin-top: 5px;
  text-align: center;
  color: var(--text-color);
  line-height: 1.5;
  font-size: 14px;

  @media (1024px <= width) {
    font-size: 16px;
    margin-top: 10px;
  }
}

/**
 *
 * What to Bring Section
 *
 */

.what-to-bring-section {
  padding-top: 40px;

  @media (1024px <= width) {
    padding-top: 80px;
  }
}

.what-to-bring-section .container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  padding-bottom: 20px;
  border-bottom: 1px solid #859389;

  @media (1024px <= width) {
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
    padding-bottom: 40px;
  }
}

.what-to-bring-header-content {
  grid-column: 1 / -1;
  gap: 10px;
  display: flex;
  flex-direction: column;

  @media (1024px <= width) {
    grid-column: span 4;
    gap: 30px;
  }
}

.icon-header {
  display: flex;
  align-items: center;
  gap: 10px;

  @media (1024px <= width) {
    gap: 20px;
  }
}

.icon-header-icon-container {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;

  @media (1024px <= width) {
    width: 80px;
    height: 80px;
  }
}

.what-to-bring-content {
  grid-column: 1 / -1;

  @media (1024px <= width) {
    grid-column: span 8;
  }
}

.what-to-bring-list {
  display: grid;
  row-gap: 8px;
  column-gap: 10px;
  grid-template-columns: repeat(2, 1fr);

  @media (1024px <= width) {
    row-gap: 15px;
    column-gap: 30px;
    grid-template-columns: repeat(2, 1fr);
  }
}

.what-to-bring-item {
  display: flex;
  border: 1px solid #eaeaea;
  border-radius: 5px;
  overflow: hidden;
}

.what-to-bring-item-image-container {
  width: 60px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;

  @media (1024px <= width) {
    width: 80px;
    height: 80px;
  }
}

.what-to-bring-item-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.what-to-bring-item-title {
  padding-inline: 10px;
  padding-block: 5px;
  display: flex;
  align-items: center;
  color: var(--text-color);
  line-height: 1.5;
  font-size: 14px;

  @media (1024px <= width) {
    padding-inline: 20px;
    font-size: 16px;
  }
}

/**
 *
 * Additional Informations Section
 *
 */

.additional-informations-section {
  padding-top: 20px;

  @media (1024px <= width) {
    padding-top: 40px;
  }
}

.additional-informations-section .container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  padding-bottom: 20px;
  border-bottom: 1px solid #859389;

  @media (1024px <= width) {
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
    padding-bottom: 40px;
  }
}

.additional-informations-header-content {
  grid-column: 1 / -1;

  @media (1024px <= width) {
    grid-column: span 4;
  }
}

.additional-informations-content {
  grid-column: 1 / -1;

  @media (1024px <= width) {
    grid-column: span 8;
  }
}

.additional-informations-list {
  column-count: 1;
  column-gap: 30px;
  /* list-style-type: disc; */

  @media (1024px <= width) {
    column-count: 2;
    column-gap: 30px;
  }
}

.additional-informations-item {
  margin-bottom: 10px;
  /* margin-left: 15px; */
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;

  @media (1024px <= width) {
    padding-left: 0;
  }
}

/**
 *
 * Booking Condition Section
 *
 */

.booking-condition-section {
  padding-top: 20px;
  padding-bottom: 20px;

  @media (1024px <= width) {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

.booking-condition-section .container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;

  @media (1024px <= width) {
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
  }
}

.booking-condition-header-content {
  grid-column: 1 / -1;

  @media (1024px <= width) {
    grid-column: span 4;
  }
}

.booking-condition-content {
  grid-column: 1 / -1;

  @media (1024px <= width) {
    grid-column: span 8;
  }
}

.booking-condition-list {
  column-count: 1;
  column-gap: 10px;

  @media (1024px <= width) {
    column-count: 2;
    column-gap: 30px;
  }
}

.booking-condition-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 10px;

  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;

  @media (1024px <= width) {
    margin-bottom: 30px;
  }
}

.booking-condition-item-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.booking-condition-item-header-icon-container {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;

  @media (1024px <= width) {
    width: 24px;
    height: 24px;
  }
}

.booking-condition-item-header-icon-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.booking-condition-item-header-title {
  font-weight: 700;
  line-height: 1.5;
  font-size: 12px;
  color: var(--text-color);

  @media (1024px <= width) {
    font-size: 14px;
  }
}

.tour-swiper-navigation-prev {
  position: absolute;
  display: flex;
  left: 0;
  transform: translateY(-50%) translateX(calc(-50% + 10px)) !important;

  @media (1024px <= width) {
    transform: translateY(-50%) translateX(calc(-50%)) !important;
  }
}

.tour-swiper-navigation-next {
  position: absolute;
  display: flex;
  right: 0;
  transform: translateY(-50%) translateX(calc(50% - 10px)) !important;

  @media (1024px <= width) {
    transform: translateY(-50%) translateX(calc(50%)) !important;
  }
}

.what-to-bring-description {
  font-size: 14px;
  line-height: 1.5;

  @media (1024px <= width) {
    font-size: 16px;
  }
}

.entry-post-content-2 {
  p, li {
    line-height: 1.5;
    font-size: 14px;
  }

  ul {
    list-style: disc;
    padding-left: 16px;
    margin-bottom: 20px;
  }
}

/**
 *
 * Question Section
 *
**/

.question-section {
  padding-block: 40px;

  @media (1024px <= width) {
    padding-block: 80px;
  }
}

.question-list {
  margin-top: 20px;

  @media (1024px <= width) {
    margin-top: 30px;
  }
}

.question-list li {
  & label {
    cursor: pointer;
    padding-top: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    @media (1024px <= width) {
      padding-top: 10px;
    }
  }

  & label div {
    display: flex;
  }

  & label div svg:first-child {
    margin-right: -24px;
  }

  & label svg {
    transition: all 0.3s;
  }

  &:not(:last-child) label {
    padding-bottom: 10px;
    margin-bottom: 5px;
    border-bottom: 1px solid #eaeaea;

    @media (1024px <= width) {
      padding-bottom: 20px;
      margin-bottom: 10px;
    }
  }

  &:has(input:checked) label div svg {
    transform: rotate(180deg);
  }

  &:has(input:not(:checked)) label div svg:first-child {
    opacity: 1;
  }

  &:has(input:checked) label div svg:first-child {
    opacity: 0;
  }

  &:has(input:not(:checked)) label div svg:nth-child(2) {
    opacity: 0;
  }

  &:has(input:checked) label div svg:nth-child(2) {
    opacity: 1;
  }
}

.question-list li label p {
  font-size: 14px;
  font-weight: 500;

  @media (1024px <= width) {
    font-size: 16px;
  }
}

.question-list li input {
  display: none;
}

.question-list li div {
  transition: all 0.3s;
  font-size: 14px;

  @media (1024px <= width) {
    font-size: 16px;
  }
}

.question-list li input:not(:checked) + div {
  overflow: hidden;
  opacity: 0;
  max-height: 0;
}

.question-list li input:checked + div {
  overflow: visible;
  opacity: 1;
  max-height: 9999vh;
  margin-top: 10px;
}