@charset "utf-8";

/* cultural events
   -------------------------------------------------- */

.cultural-content {
  container-type: inline-size;
  margin-inline: auto;
  max-width: 1000px;
  padding-block: clamp(48px, 8vw, 80px);
  padding-inline: 20px;
}

.cultural-content h2 {
  border-bottom: 1px solid var(--bl);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 24px;
  padding-bottom: 12px;
}

.cultural-content .lead {
  margin-bottom: 32px;
}

.note {
  color: var(--bl);
  display: block;
  font-size: .8125rem;
  margin-top: 8px;
}

.em-red {
  color: #f00;
}

/* program table
   -------------------------------------------------- */

.table-scroll {
  margin-bottom: 48px;
  overflow-x: auto;
}

.program-table {
  border-collapse: collapse;
  font-size: .875rem;
  min-width: 640px;
  table-layout: fixed;
  width: 100%;
}

.program-table th,
.program-table td {
  border: 1px solid color-mix(in srgb, var(--bk) 20%, transparent);
  padding: 12px 10px;
  text-align: center;
  vertical-align: middle;
}

.program-table thead td {
  border-color: transparent;
  width: 15%;
}

.program-table thead th {
  background: var(--bl);
  color: var(--wh);
  font-weight: 700;
  letter-spacing: .02em;
}

.program-table .date {
  background: color-mix(in srgb, var(--bl) 10%, transparent);
  font-weight: 700;
  line-height: 1.4;
}

.program-table .name {
  font-weight: 700;
  line-height: 1.5;
}

/* tour item
   -------------------------------------------------- */

.cultural-content .flex-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 48px;
}

.cultural-content .flex-item:last-of-type {
  margin-bottom: 0;
}

.tour-image {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, 1fr);
  order: 1;
}

.tour-image img {
  aspect-ratio: 3 / 2;
  border-radius: 4px;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.tour-image figcaption {
  color: color-mix(in srgb, var(--bk) 60%, transparent);
  font-size: .6875rem;
  grid-column: 1 / -1;
  text-align: right;
}

.cultural-content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 8px;
}

.no {
  background: var(--or);
  border-radius: 3px;
  color: var(--bl);
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  margin-right: 8px;
  padding: 2px 8px;
  text-transform: uppercase;
  vertical-align: .1em;
}

.cultural-content .meta {
  color: var(--bl);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .02em;
  margin-bottom: 12px;
}

/* how to book
   -------------------------------------------------- */

.booking {
  background: color-mix(in srgb, var(--bl) 8%, transparent);
  container-type: inline-size;
  padding-block: clamp(48px, 8vw, 80px);
}

.booking-inner {
  display: grid;
  margin-inline: auto;
  max-width: 1000px;
  padding-inline: 20px;
}

.booking h2 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.booking .note {
  margin-block: 0 16px;
}

.booking ul li {
  line-height: 1.7;
  padding-left: 16px;
  position: relative;
}

.booking ul li + li {
  margin-top: 12px;
}

.booking ul li::before {
  background: var(--or);
  border-radius: 50%;
  content: "";
  height: 6px;
  left: 0;
  position: absolute;
  top: .8em;
  width: 6px;
}

.booking-image {
  margin-top: 24px;
  max-width: 180px;
}

.booking-image img {
  border-radius: 4px;
  height: auto;
  width: 100%;
}

/* pc
   -------------------------------------------------- */

@container (width > 768px) {
  .cultural-content h2 {
    font-size: 2rem;
  }

  .program-table {
    font-size: 1rem;
    min-width: 0;
  }

  .program-table th,
  .program-table td {
    padding: 16px 14px;
  }

  .cultural-content .flex-item {
    align-items: center;
    flex-direction: row;
    gap: 40px;
    margin-bottom: 72px;
  }

  .tour-image {
    order: 0;
  }

  .cultural-content .tour-image,
  .cultural-content .text-item {
    flex: 1 1 50%;
  }

  .cultural-content h3 {
    font-size: 1.375rem;
  }

  .booking-inner {
    column-gap: 40px;
    grid-template-columns: 1fr 200px;
  }

  .booking-image {
    grid-column: 2;
    grid-row: 1 / span 3;
    margin-top: 0;
    max-width: none;
  }
}