/* ==========================================================================
   Experience page (剣術体験)
   Source: _reference/pdf/PC_JP_sample_0911.pdf, Responsive_JP_sample_0911.pdf
   (page 2).
   ========================================================================== */

.experience-hero {
  /* SP ratio is a shared estimate across the four page-hero pages, not a
     pixel measurement per page like the TOP hero — see docs/todo.md. */
  aspect-ratio: 3 / 4;
}

@media (min-width: 768px) {
  .experience-hero {
    /* PC ratio from the supplied photo's native pixel size (1631x950),
       matching the measured 1631px PC canvas width — see docs/todo.md. */
    aspect-ratio: 1631 / 950;
  }
}

/* -- Lesson ---------------------------------------------------------- */

.lesson {
  padding-block: var(--space-8);
}

.lesson__table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 560px;
  margin-inline: auto;
  margin-top: var(--space-5);
  border: 1px solid var(--color-black);
}

.lesson__row {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-3) var(--space-4);
  border: 1px solid rgba(0, 0, 0, 0.15);
  text-align: center;
}

.lesson__row dt {
  font-family: var(--font-jp-sans);
  font-size: 0.8rem;
  color: rgba(0, 0, 0, 0.6);
}

.lesson__row dd {
  font-family: var(--font-en-serif);
  font-size: 1.1rem;
}

.lesson__text {
  margin-top: var(--space-6);
  text-align: center;
  line-height: 2;
}

.lesson__step {
  margin-top: var(--space-7);
}

.lesson__step h3 {
  font-family: var(--font-jp-sans);
  font-weight: var(--fw-bold);
  font-size: 1rem;
  text-align: center;
}

.lesson__step-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.lesson__step-photos img {
  width: 100%;
  height: auto;
}

.lesson__closing {
  margin-top: var(--space-7);
  text-align: center;
  line-height: 2;
}

/* -- Instructor -------------------------------------------------------- */

.instructors {
  background: var(--color-gold);
  padding-block: var(--space-8);
}

.instructor {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.instructor + .instructor {
  margin-top: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.instructor__name {
  font-family: var(--font-en-serif);
  font-weight: var(--fw-regular);
  font-size: 1.4rem;
}

.instructor__reading {
  margin-top: var(--space-1);
}

.instructor__primary-credential {
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(0, 0, 0, 0.3);
  font-size: 0.9rem;
  line-height: 1.8;
}

.instructor__photo img {
  width: 100%;
  height: auto;
  margin-top: var(--space-4);
}

.instructor__credentials {
  margin-top: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.instructor__credentials dt {
  font-family: var(--font-jp-sans);
  font-size: 0.85rem;
}

.instructor__credentials dd {
  font-family: var(--font-jp-sans);
  font-weight: var(--fw-bold);
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .instructor {
    flex-direction: row;
    gap: var(--space-7);
  }

  .instructor__intro,
  .instructor__detail {
    flex: 1 1 50%;
    min-width: 0;
  }
}

/* -- Contact ------------------------------------------------------------ */

.contact {
  padding-block: var(--space-8);
  text-align: center;
}

.contact__lead {
  margin-top: var(--space-4);
}

.contact__links {
  display: flex;
  justify-content: center;
  gap: var(--space-7);
  margin-top: var(--space-6);
}

.contact__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.contact__link > a {
  display: block;
  width: 56px;
}

.contact__link > a img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

.contact__qr {
  width: 72px;
  height: 72px;
}

.contact__label {
  font-family: var(--font-en-serif);
  font-size: 0.8rem;
}
