.espass-intro {
  color: #272929;
  font-family: inherit;
}
.espass-intro {
  position: relative;
  z-index: 1;
  isolation: isolate;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(80px, 9vw, 130px) 24px;
  text-align: center;
  background: #e8e9e8;
  border-radius: 24px;
}
.espass-intro__inner { position: relative; z-index: 1; width: min(100%, 1040px); margin: 0 auto; }
/* Decorative ES PASS ticket in the bottom-right corner (image only, no text) */
.espass-intro::after {
  position: absolute;
  right: clamp(-28px, -2vw, -12px);
  bottom: clamp(-56px, -4vw, -36px);
  z-index: 0;
  width: clamp(300px, 30vw, 380px);
  aspect-ratio: 900 / 406;
  background: url(../images/espass-ticket-20261126-900.webp) center / contain no-repeat;
  transform: rotate(-8deg);
  pointer-events: none;
  content: '';
}
.espass-kicker {
  margin: 0 0 20px;
  color: #a08252;
  font-size: 13px;
  letter-spacing: .2em;
}
.espass-intro h2 { margin: 0; font-size: clamp(25px, 3vw, 38px); font-weight: 500; line-height: 1.6; }
.espass-intro h2 span { color: #a08252; }
.espass-intro__inner > p:not(.espass-kicker) { margin: 24px 0 0; font-size: 16px; line-height: 2; }
.espass-button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  min-height: 56px;
  max-width: 100%;
  margin-top: 30px;
  padding: 15px 26px;
  border: 1px solid #242b2a;
  border-radius: 40px;
  color: #fff;
  background: #242b2a;
  text-decoration: none;
  font-size: 15px;
}
.espass-button:hover { background: #4d514b; }
.espass-button:focus-visible { outline: 3px solid #a08252; outline-offset: 3px; }
.espass-hero-copy { position: absolute; z-index: 2; left: calc(834px + var(--top-hero-shift) + var(--top-hero-narrow-shift) - max(0px, calc((var(--top-viewport-width) - 1400px) / 2))); bottom: 165px; font-size: 14px; line-height: 1.8; white-space: nowrap; }
.top-hero__scroll { bottom: 85px; }
@media (max-width: 360px) {
  .espass-button { gap: 14px; padding: 15px 20px; font-size: 14px; }
}
/* Tablet + SP: the ticket sits centred on the top edge of the card, half outside */
@media (max-width: 1023px) {
  .espass-intro { margin-top: 24px; padding-top: 132px; }
  .espass-intro::after { top: -96px; right: auto; bottom: auto; left: 50%; width: 380px; transform: translateX(-50%) rotate(-5deg); }
}
@media (max-width: 767px) {
  .espass-intro { width: calc(100% - 30px); padding: 68px 20px; }
  .espass-intro { margin-top: 16px; padding-top: 100px; }
  .espass-intro::after { top: -62px; width: min(250px, 72vw); }
  .espass-intro h2 { font-size: 23px; }
  .espass-intro__inner > p:not(.espass-kicker) { font-size: 14px; }
  .espass-intro__inner > p br { display: none; }
  .espass-hero-copy { top: calc(17.18% + 103px); bottom: auto; left: 24px; right: 24px; margin: 0; font-size: 12px; white-space: normal; line-height: 1.7; }
  .top-hero__scroll { top: 45%; bottom: auto; }
  .top-hero__scroll::before { height: 18px; }
}
@media (max-width: 360px) {
  .espass-intro h2 { font-size: 21px; }
}

/* =====================================================================
   /price/ #espass — monthly course "ES PASS" (2026-11-25)
   Shared with ESTEX: section heading/number, lead, colours, type, white
   12px surfaces, outlined 18px cards, pill button.
   Unique to ES PASS: ticket rows (stub | parts | kind), set capsule vs
   pick chips, FIRST STEP block.
   ===================================================================== */
.subpage-page--price .espass {
  --espass-stub: calc((100% - 14px) / 3);
  --espass-page: #f2f2f2;
  --espass-line: #c8c8c8;
  --espass-perf: #b4b4b4;
  scroll-margin-top: 100px;
}
.subpage-page--price .espass-anchor { position: absolute; scroll-margin-top: 100px; }
.subpage-page--price .espass .subpage-section__title { line-height: 1.45; }
.subpage-page--price .espass__en {
  display: block;
  margin-bottom: 10px;
  color: var(--subpage-accent);
  font-family: var(--top-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .24em;
  line-height: 1;
}
.subpage-page--price .espass .subpage-section__lead { margin-bottom: 0; }
.subpage-page--price .espass__ttl { display: inline-block; }
.subpage-page--price .espass :is(.subpage-section__lead, .espass__note, .espass-first h3, .espass-first__lead, .espass-first__points li, .espass-first__flow p) { word-break: auto-phrase; }


/* Menu: two groups (SET / CHOOSE ONE), each introduced by a ruled head */
.subpage-page--price .espass__menu { display: grid; gap: 56px; margin-top: 56px; }
.subpage-page--price .espass__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
  color: var(--subpage-ink);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .06em;
  line-height: 1.5;
}
.subpage-page--price .espass__head-en { color: var(--subpage-accent); font-family: var(--top-en); font-size: 12px; font-weight: 700; letter-spacing: .22em; white-space: nowrap; }
.subpage-page--price .espass__head::after { flex: 1 1 auto; min-width: 24px; height: 1px; background: var(--espass-line); content: ''; }
.subpage-page--price .espass-tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 12px;
  border: 1px solid var(--subpage-ink);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1;
  white-space: nowrap;
}
.subpage-page--price .espass-tag--set { color: #fff; background: var(--subpage-ink); }
.subpage-page--price .espass-tag--pick { color: var(--subpage-ink); background: #fff; }

/* Ticket (shared) */
.subpage-page--price .espass-pass { position: relative; margin: 0; background: #fff; border-radius: 12px; }
.subpage-page--price .espass-pass::before,
.subpage-page--price .espass-pass::after { position: absolute; content: ''; pointer-events: none; }
.subpage-page--price .espass-pass__stub { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px 20px; }
.subpage-page--price .espass-pass__price {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  justify-content: center;
  margin: 0;
  color: var(--subpage-accent);
  line-height: 1;
  white-space: nowrap;
}
.subpage-page--price .espass-pass__month { grid-column: 1 / -1; margin-bottom: 10px; color: var(--subpage-copy); font-size: 12px; letter-spacing: .3em; text-align: center; }
.subpage-page--price .espass-pass__price strong { font-family: var(--top-en); font-size: 38px; font-weight: 500; letter-spacing: .02em; }
.subpage-page--price .espass-pass__yen { margin-left: 3px; font-size: 17px; font-weight: 500; }
.subpage-page--price .espass-pass__kind { margin: 0; line-height: 1; }

/* Parts */
.subpage-page--price .espass-parts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0; padding: 0; list-style: none; }
.subpage-page--price .espass-part {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 10px;
  min-height: 40px;
  margin: 0;
  padding: 6px 18px;
  border: 1px solid var(--espass-line);
  border-radius: 999px;
  background: #fff;
  color: var(--subpage-ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}
.subpage-page--price .espass-part small { color: var(--subpage-copy); font-size: 12px; font-weight: 400; }
.subpage-page--price .espass-parts--set .espass-part::before,
.subpage-page--price .espass-parts--pick .espass-part::before { flex: 0 0 auto; width: 12px; height: 12px; border: 1px solid var(--subpage-ink); border-radius: 50%; content: ''; }
/* set = one band joined by "+" */
.subpage-page--price .espass-parts--set { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; width: 100%; max-width: 520px; min-height: 46px; margin-inline: auto; padding: 8px 20px; border: 1px solid var(--espass-line); border-radius: 999px; background: #fff; }
.subpage-page--price .espass-parts--set .espass-part { justify-content: center; min-height: 0; padding: 0; border: 0; background: none; white-space: nowrap; }
.subpage-page--price .espass-plus { display: flex; flex: 0 0 auto; align-items: center; margin: 0; color: var(--subpage-accent); font-family: var(--top-en); font-size: 16px; line-height: 1; }

/* PC: SET = wide ticket, stub on the left */
.subpage-page--price .espass-pass--set { display: grid; grid-template-columns: var(--espass-stub) minmax(0, 1fr); align-items: center; min-height: 152px; }
.subpage-page--price .espass-pass--set::before { top: 18px; bottom: 18px; left: var(--espass-stub); border-left: 1px dashed var(--espass-perf); }
.subpage-page--price .espass-pass--set::after {
  inset: -9px auto -9px calc(var(--espass-stub) - 9px);
  width: 18px;
  background:
    radial-gradient(circle at 50% 9px, var(--espass-page) 9px, transparent 9.5px),
    radial-gradient(circle at 50% calc(100% - 9px), var(--espass-page) 9px, transparent 9.5px);
}
.subpage-page--price .espass-pass--set .espass-pass__body { padding: 28px 48px; }

/* PC: CHOOSE ONE = three upright tickets, same grid as the ranking cards */
.subpage-page--price .espass__picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; }
.subpage-page--price .espass-pass--pick { --espass-cut: 152px; display: grid; grid-template-rows: var(--espass-cut) 1fr; }
.subpage-page--price .espass-pass--pick::before { top: var(--espass-cut); right: 18px; left: 18px; border-top: 1px dashed var(--espass-perf); }
.subpage-page--price .espass-pass--pick::after {
  top: calc(var(--espass-cut) - 9px);
  right: -9px;
  left: -9px;
  height: 18px;
  background:
    radial-gradient(circle at 9px 50%, var(--espass-page) 9px, transparent 9.5px),
    radial-gradient(circle at calc(100% - 9px) 50%, var(--espass-page) 9px, transparent 9.5px);
}
.subpage-page--price .espass-pass--pick .espass-pass__body { padding: 28px 28px 32px; }
.subpage-page--price .espass-parts--pick { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
.subpage-page--price .espass-pass--pick .espass-part { min-height: 46px; padding: 8px 20px; }
.subpage-page--price .espass__note { max-width: 740px; margin: 24px 0 0; color: var(--subpage-copy); font-size: 13px; line-height: 1.9; }

/* FIRST STEP — dashed outline, same as the ranking cards */
.subpage-page--price .espass-first {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 64px;
  margin-top: 88px;
  padding: 56px 64px 48px;
  border: 1px dashed #9a9b9b;
  border-radius: 18px;
}
.subpage-page--price .espass-first__en {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--subpage-accent);
  font-family: var(--top-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2em;
  line-height: 1;
}
.subpage-page--price .espass-first__en::after { width: 40px; height: 1px; background: currentColor; content: ''; }
.subpage-page--price .espass-first h3 { margin: 16px 0 0; font-size: 26px; font-weight: 500; letter-spacing: .04em; line-height: 1.6; }
.subpage-page--price .espass-first__lead { margin: 16px 0 0; color: var(--subpage-copy); font-size: 15px; line-height: 2; }
.subpage-page--price .espass-first__points { display: grid; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.subpage-page--price .espass-first__points li { display: flex; align-items: baseline; gap: 12px; font-size: 15px; font-weight: 500; }
.subpage-page--price .espass-first__points li::before { flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: var(--subpage-accent); transform: translateY(-2px); content: ''; }
.subpage-page--price .espass-first__points li:last-child { display: block; padding-left: 19px; text-indent: -19px; text-decoration: underline wavy var(--subpage-accent); text-underline-offset: 4px; }
.subpage-page--price .espass-first__points li:last-child::before { display: inline-block; margin-right: 12px; }
.subpage-page--price .espass-first__flow { display: grid; margin: 0; padding: 8px 0 0; list-style: none; }
.subpage-page--price .espass-first__flow li { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 16px; margin: 0; padding: 0 0 24px; }
.subpage-page--price .espass-first__flow li:last-child { padding-bottom: 0; }
.subpage-page--price .espass-first__flow li:not(:last-child)::after { position: absolute; top: 46px; bottom: 6px; left: 21px; border-left: 1px solid var(--espass-line); content: ''; }
.subpage-page--price .espass-first__step { position: relative; z-index: 0; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; font-family: var(--top-en); font-size: 20px; font-weight: 300; line-height: 1; }
.subpage-page--price .espass-first__step::before { position: absolute; top: 50%; left: 50%; z-index: -1; width: 30px; height: 30px; border: 1px solid var(--subpage-accent); border-radius: 50%; background: #fff; transform: translate(-50%, -50%); content: ''; }
.subpage-page--price .espass-first__flow strong { display: block; font-size: 16px; font-weight: 500; line-height: 1.6; }
.subpage-page--price .espass-first__flow p { margin: 2px 0 0; color: var(--subpage-copy); font-size: 14px; line-height: 1.85; }
.subpage-page--price .espass-first__free { display: inline-block; margin-left: 8px; padding: 0 8px; border: 1px solid var(--subpage-accent); border-radius: 999px; color: var(--subpage-accent); font-size: 11px; font-weight: 700; line-height: 1.7; vertical-align: 2px; }
.subpage-page--price .espass-first__action { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 36px; border-top: 1px dashed #9a9b9b; }
.subpage-page--price .espass-first__action p { margin: 0; color: var(--subpage-copy); font-size: 12px; }
.subpage-page--price .espass-first__button { gap: 14px; min-width: 340px; min-height: 60px; color: #fff; background: var(--subpage-ink); font-size: 16px; letter-spacing: .06em; }
.subpage-page--price .espass-first__button:is(:hover, :focus-visible) { color: #fff; background: #4d514b; }


/* Tablet + SP: every ticket becomes a horizontal stub row over a parts row */
@media (max-width: 1023px) {
  .subpage-page--price .espass__menu { gap: 44px; margin-top: 44px; }
  .subpage-page--price .espass__picks { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .subpage-page--price :is(.espass-pass--set, .espass-pass--pick) { --espass-cut: 76px; display: block; min-height: 0; }
  .subpage-page--price :is(.espass-pass--set, .espass-pass--pick)::before { top: var(--espass-cut); right: 16px; bottom: auto; left: 16px; border-top: 1px dashed var(--espass-perf); border-left: 0; }
  .subpage-page--price :is(.espass-pass--set, .espass-pass--pick)::after {
    inset: calc(var(--espass-cut) - 8px) -8px auto -8px;
    width: auto;
    height: 16px;
    background:
      radial-gradient(circle at 8px 50%, var(--espass-page) 8px, transparent 8.5px),
      radial-gradient(circle at calc(100% - 8px) 50%, var(--espass-page) 8px, transparent 8.5px);
  }
  .subpage-page--price .espass-pass__stub { flex-direction: row; justify-content: space-between; gap: 12px; height: var(--espass-cut); padding: 0 18px 0 20px; }
  .subpage-page--price .espass-pass__price { grid-template-columns: auto auto auto; }
  .subpage-page--price .espass-pass__month { grid-column: auto; margin: 0 8px 0 0; font-size: 11px; letter-spacing: .2em; }
  .subpage-page--price .espass-pass__price strong { font-size: 30px; }
  .subpage-page--price .espass-pass__yen { font-size: 15px; }
  .subpage-page--price :is(.espass-pass--set, .espass-pass--pick) .espass-pass__body { padding: 18px 18px 20px; }
  .subpage-page--price .espass-parts--pick { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .subpage-page--price .espass-pass--pick .espass-part { min-height: 40px; padding: 6px 16px; }
  .subpage-page--price .espass-parts--set { min-height: 40px; padding: 6px 16px; }
  .subpage-page--price .espass-first { grid-template-columns: 1fr; gap: 32px; margin-top: 72px; padding: 44px 48px 40px; }
  .subpage-page--price .espass-first__flow { padding-top: 0; }
}

@media (max-width: 767px) {
  .subpage-page--price .espass__en { margin-bottom: 8px; font-size: 11px; }
  .subpage-page--price .espass__menu { gap: 36px; margin-top: 32px; }
  .subpage-page--price .espass__head { gap: 10px; margin-bottom: 14px; font-size: 13px; }
  .subpage-page--price .espass__head-en { font-size: 11px; letter-spacing: .18em; }
  .subpage-page--price :is(.espass-pass--set, .espass-pass--pick) .espass-pass__body { padding: 16px 16px 18px; }
  .subpage-page--price .espass-part,
  .subpage-page--price .espass-pass--pick .espass-part { min-height: 36px; padding: 5px 13px; font-size: 15px; }
  .subpage-page--price .espass-parts--set { gap: 4px; min-height: 36px; padding: 5px 13px; }
  .subpage-page--price .espass-parts--set .espass-part { padding: 0; }
  .subpage-page--price .espass-plus { font-size: 15px; }
  .subpage-page--price .espass__note { font-size: 12px; }
  .subpage-page--price .espass-first { gap: 28px; margin-top: 56px; padding: 32px 20px 28px; border-radius: 14px; }
  .subpage-page--price .espass-first h3 { font-size: 21px; }
  .subpage-page--price .espass-first__lead { font-size: 14px; }
  .subpage-page--price .espass-first__points li { font-size: 14px; }
  .subpage-page--price .espass-first__flow li { grid-template-columns: 44px 1fr; gap: 12px; padding-bottom: 20px; }
  .subpage-page--price .espass-first__flow strong { font-size: 15px; }
  .subpage-page--price .espass-first__flow p { font-size: 13px; }
  .subpage-page--price .espass-first__action { padding-top: 24px; }
  .subpage-page--price .espass-first__button { width: 100%; min-width: 0; min-height: 56px; padding: 0 20px; }
}

@media (max-width: 360px) {
  .subpage-page--price .espass-pass__stub { padding: 0 14px 0 16px; }
  .subpage-page--price .espass-pass__price strong { font-size: 26px; }
  .subpage-page--price .espass-tag { padding: 0 9px; font-size: 11px; }
  .subpage-page--price .espass-parts--set { gap: 4px; padding: 5px 13px; }
  .subpage-page--price .espass-parts--set .espass-part { flex-wrap: nowrap; gap: 4px; font-size: 14px; }
  .subpage-page--price .espass-parts--set .espass-part::before { width: 10px; height: 10px; }
  .subpage-page--price .espass-first h3 { font-size: 19px; }
  .subpage-page--price .espass-first__points li { font-size: 13px; }
}

/* Lead: one sentence per line, wrap only between phrases */
.subpage-page--price .espass__sentence { display: block; }
.subpage-page--price .espass__phrase { display: inline-block; }

/* Price: tax-excluded main price + tax-included total (総額表示) on a sub line */
.subpage-page--price .espass-pass__sub { display: flex; grid-column: 1 / -1; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; color: var(--subpage-copy); font-size: 12px; font-weight: 500; letter-spacing: .04em; line-height: 1; }
.subpage-page--price .espass-pass__tax { display: inline-flex; align-items: center; gap: 8px; }
.subpage-page--price .espass-pass__tax::after { width: 1px; height: 10px; background: var(--espass-line); content: ''; }
.subpage-page--price .espass-pass--set { min-height: 176px; }
.subpage-page--price .espass-pass--pick { --espass-cut: 176px; }
@media (max-width: 1023px) {
  .subpage-page--price :is(.espass-pass--set, .espass-pass--pick) { --espass-cut: 92px; min-height: 0; }
  .subpage-page--price .espass-pass__sub { grid-column: 2 / -1; justify-content: flex-start; margin-top: 7px; font-size: 11px; }
}
