@charset "UTF-8";

/* ════════════════════════════════════════
   excursion.css — エクスカーションページ専用スタイル
════════════════════════════════════════ */

body.page-excursion {
  background: #fff;
  color: var(--color-text);
}

.page-excursion main {
  background: #fff;
}

/* ════ 追従ナビ ════ */
.excur-side-rail {
  position: fixed;
  top: 50%;
  right: 24px;
  width: clamp(38px, 4vw, 54px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(-50% + 18px));
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 290;
}

.excur-side-rail.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%);
}

.excur-side-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(10px, 1.6vh, 18px);
  width: clamp(38px, 4vw, 54px);
  height: fit-content;
  padding: clamp(18px, 3vh, 38px) 6px;
  background: transparent;
}

.excur-side-nav a {
  display: block;
  width: clamp(28px, 2.9vw, 40px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.excur-side-nav a:hover {
  opacity: 0.78;
  transform: scale(1.08);
}

.excur-side-nav img {
  width: 100%;
}

.excur-side-title {
  width: clamp(24px, 2.5vw, 34px);
  margin-bottom: clamp(12px, 2vh, 24px);
}

@media (min-width: 939px) and (max-height: 760px) {
  .excur-side-nav {
    gap: clamp(6px, 1vh, 10px);
    padding: clamp(8px, 1.4vh, 14px) 6px;
  }

  .excur-side-nav a {
    width: clamp(24px, 2.5vw, 32px);
  }

  .excur-side-title {
    width: clamp(20px, 2vw, 26px);
    margin-bottom: clamp(4px, 1vh, 8px);
  }
}

@media (min-width: 939px) and (max-height: 620px) {
  .excur-side-nav {
    gap: 5px;
    padding: 6px;
  }

  .excur-side-nav a {
    width: clamp(20px, 2.1vw, 26px);
  }

  .excur-side-title {
    width: clamp(18px, 1.8vw, 22px);
    margin-bottom: 2px;
  }
}

/* ════ 全体レイアウト ════ */
.excur-container {
  position: relative;
  width: min(1060px, calc(100% - 40px));
  margin: 0 auto;
  padding-top: 90px;
  padding-bottom: clamp(96px, 14vw, 180px);
}

.excur-content-shell {
  display: block;
}

.excur-content-main {
  min-width: 0;
}

/* ════ セッション ════ */
.excur-session {
  position: relative;
  display: flex;
  flex-flow: column nowrap;
  width: 100%;
  margin: 0 0 clamp(110px, 13vw, 170px);
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.excur-session-heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
}

.excur-session-title img {
  width: min(380px, 100%);
  height: auto;
  background: #fff;
}

.excur-venue {
  margin-top: 12px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.excur-fee-note {
  font-size: 0.85em;
}

.excur-heading-pdfs {
  display: flex;
  gap: 26px;
  width: min(336px, 100%);
}

.excur-heading-pdfs a {
  display: block;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.excur-heading-pdfs a:hover {
  opacity: 0.86;
  transform: translateY(-2px);
}

.excur-heading-pdfs img {
  width: 100%;
  background: transparent;
}

.excur-session-body {
  position: relative;
  width: 100%;
  min-width: 0;
  margin-top: 48px;
}

.excur-program-text {
  margin-bottom: 28px;
  color: #000;
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.excur-program-text h2 {
  margin-bottom: 28px;
  margin-left: -12px;
  font-size: clamp(19px, 1.8vw, 26px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.excur-program-text p {
  width: 100%;
  color: #111;
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
  word-break: normal;
  text-align: justify;
  margin-bottom: 24px;
}

.excur-program-text p + p {
  margin-top: 1.4em;
}

.excur-program-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 38%);
  gap: clamp(28px, 4vw, 54px);
  align-items: start;
}

.excur-program-left,
.excur-program-right {
  min-width: 0;
}

.excur-program-right img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.excur-image-caption,
.excur-program-text .excur-image-caption {
  margin-top: 8px;
  margin-bottom: 0;
  color: #111;
  font-size: clamp(11px, 0.95vw, 13px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.excur-photo-pair {
  display: grid;
  grid-template-columns: minmax(0, 400fr) minmax(0, 660fr);
  gap: 0;
  align-items: start;
  margin-top: 28px;
}

.excur-photo-item {
  margin: 0;
}

.excur-photo-item img {
  display: block;
  width: 100%;
  height: auto;
}

.excur-photo-item figcaption {
  margin-top: 8px;
  color: #111;
  font-size: clamp(11px, 0.95vw, 13px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.excur-program-part {
  margin-bottom: 18px;
  font-size: clamp(16px, 1.6vw, 30px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.04em;
}

.excur-speaker-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.excur-speaker-feature {
  display: flex;
  justify-content: center;
}

.excur-speaker-card {
  display: flex;
  flex-flow: row nowrap;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.excur-speaker-photo {
  position: relative;
  width: 40%;
  aspect-ratio: 1 / 1;
  margin: 0;
  overflow: hidden;
  background: #d9dddd;
  color: #000;
}

.excur-speaker-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.excur-speaker-info {
  width: 60%;
  color: #000;
}

.excur-speaker-info h3 {
  margin-bottom: 0;
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.excur-speaker-info h3 span {
  font-size: 0.72em;
  font-weight: 500;
}

.excur-speaker-info p {
  position: static;
  transform: none;
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  text-indent: 0;
  white-space: normal;
}

.excur-speaker-card-large {
  display: block;
  width: 100%;
  overflow: hidden;
}

.excur-speaker-card-large img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ════ フッター調整 ════ */
.page-excursion .site-footer {
  background: #fff;
  color: var(--color-text);
}

@media (max-width: 938px) {
  .excur-heading-pdfs {
    width: 50%;
    margin-top: 20px;
  }

  .excur-content-shell {
    display: block;
  }

  .excur-side-rail {
    position: static;
    width: min(520px, calc(100% - 40px));
    margin: 22px auto 0;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .excur-side-rail.is-visible {
    transform: none;
  }

  .excur-side-nav {
    flex-direction: row;
    justify-content: center;
    gap: clamp(8px, 2vw, 12px);
    width: 100%;
    padding: 0;
  }

  .excur-side-nav a {
    width: clamp(28px, 5vw, 34px);
  }

  .excur-side-title {
    display: none;
  }

  .excur-session {
    gap: 28px;
    scroll-margin-top: 120px;
  }

  .excur-session-heading {
    flex-direction: column;
    padding-top: 0;
  }

}

@media (max-width: 640px) {
  .excur-content-shell {
    display: block;
  }

  .excur-side-rail {
    width: min(360px, calc(100% - 28px));
    margin-top: 18px;
  }

  .excur-side-nav {
    gap: clamp(8px, 2.6vw, 12px);
  }

  .excur-side-nav a {
    width: clamp(28px, 7vw, 34px);
  }

  .excur-container {
    width: calc(100% - 28px);
    padding-top: 32px;
  }

  .excur-session {
    margin-bottom: 96px;
  }

  .excur-session-title img {
    max-width: 80%;
  }

  .excur-heading-pdfs {
    flex-direction: row;
    gap: 10px;
    width: 54%;
    margin-top: 20px;
  }

  .excur-heading-pdfs a {
    flex: 1 1 0;
  }

  .excur-session-body {
    margin-top: 28px;
  }

  .excur-program-text h2 {
    margin-bottom: 18px;
    margin-left: 0;
    letter-spacing: 0;
  }

  .excur-program-part {
    margin-bottom: 18px;
    letter-spacing: 0;
  }

  .excur-program-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .excur-program-right {
    order: -1;
    aspect-ratio: 1 / 1;
    overflow: hidden;
  }

  .excur-program-right img {
    height: 100%;
  }

  .excur-photo-pair {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .excur-photo-item img {
    height: auto;
  }

  .excur-speaker-grid {
    grid-template-columns: 1fr;
  }

  .excur-speaker-card {
    gap: 12px;
    margin-bottom: 0;
  }
}
