/* Prices page */

.page-prices h2,
.page-prices h3 {
  color: var(--brand-ink);
}

.page-prices .page-hero-copy h1,
.page-prices .page-hero-subtitle {
  white-space: normal;
}

.prices-hero-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 540px;
  margin-top: 18px;
  color: #8a8176;
  font-size: 0.82rem;
  line-height: 1.55;
}

.prices-info-icon {
  flex: 0 0 auto;
  width: 1.35rem;
  height: 1.35rem;
  display: grid;
  place-items: center;
  border: 1.5px solid #c89554;
  border-radius: 50%;
  color: #af7430;
  font-family: Georgia, serif;
  font-size: 0.72rem;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
}

.prices-handwriting-en {
  right: 5%;
  top: 108px;
  font-size: clamp(1rem, 1.45vw, 1.28rem);
  line-height: 1.3;
  text-align: right;
  white-space: nowrap;
  transform: rotate(-8deg);
}

.prices-handwriting {
  right: 3%;
  bottom: 68px;
  top: auto;
  font-size: 1.02rem;
  line-height: 1.45;
  text-align: right;
  transform: rotate(-8deg);
}

.prices-section {
  padding-block: 34px;
}

.prices-section-head {
  margin-bottom: 20px;
}

.prices-section-head .prices-heading {
  margin-bottom: 0;
}

.prices-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.prices-heading-aside {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.prices-heading-note {
  margin: 0;
  color: #8a7358;
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
}

.prices-section-head .prices-lead {
  margin-top: 12px;
}

.prices-heading .home-icon {
  width: 1.55rem;
  height: 1.55rem;
  color: #d08a3a;
}

.prices-heading h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 1.95rem);
  line-height: 1.2;
}

.prices-heading > span {
  width: 42px;
  height: 2px;
  background: var(--brand-green);
  flex: 0 0 auto;
}

.prices-lead {
  margin: 0;
  color: #8a8176;
  font-size: 0.82rem;
  line-height: 1.55;
}

/* Ticket strip panel */
.prices-strip-section {
  padding-top: 0;
  margin-top: -42px;
  position: relative;
  z-index: 5;
}

.prices-strip-panel {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  padding: 22px 24px;
  background: rgba(255, 253, 248, 0.98);
  border: 1px solid rgba(119, 82, 39, 0.08);
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(79, 53, 28, 0.1);
}

.prices-strip-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding-right: 14px;
  border-right: 1px solid rgba(108, 74, 35, 0.08);
  white-space: nowrap;
}

.prices-strip-intro-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.prices-tag-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  color: #c68228;
}

.prices-strip-intro h2 {
  margin: 0;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
}

.prices-strip-note,
.prices-strip-hint {
  margin: 0;
  color: #8a8176;
  font-size: 0.74rem;
  line-height: 1.5;
  white-space: nowrap;
}

.prices-strip-cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.prices-strip-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 108px;
  padding: 12px 10px;
  background: #fff;
  border: 1px solid rgba(108, 74, 35, 0.06);
  border-radius: 12px;
}

.prices-strip-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.prices-strip-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f1dcb8;
  color: #ad6b1c;
}

.prices-strip-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

.prices-strip-icon svg {
  width: 18px;
  height: 18px;
}

.prices-strip-card h3 {
  margin: 0;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--brand-ink);
}

.prices-strip-price {
  display: flex;
  align-items: baseline;
  gap: 1px;
  margin: 4px 0 0;
  line-height: 1;
}

.prices-strip-yen {
  color: #c04c2c;
  font-family: Georgia, "Songti SC", serif;
  font-size: 0.95rem;
  font-weight: 700;
}

.prices-strip-amount {
  color: #c04c2c;
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(1.35rem, 1.6vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.prices-strip-unit {
  margin: 0;
  color: #8a7358;
  font-size: 0.68rem;
  font-weight: 600;
}

/* Detail table + side art */
.prices-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 20px 16px;
  align-items: stretch;
  overflow: visible;
  padding-right: 52px;
}

.prices-table-wrap {
  overflow: auto;
  background: #fffdf8;
  border: 1px solid rgba(108, 74, 35, 0.06);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(90, 55, 25, 0.06);
}

.prices-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.prices-table th,
.prices-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #efe4d6;
  vertical-align: top;
  font-size: 0.82rem;
  line-height: 1.5;
}

.prices-table thead th {
  background: #f4e6d2;
  color: #8a5a28;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.prices-table tbody th {
  color: var(--brand-ink);
  font-weight: 700;
  white-space: nowrap;
}

.prices-table .prices-deal {
  color: #c04c2c;
  font-weight: 800;
  white-space: nowrap;
}

.prices-table-yen {
  font-size: 0.78rem;
  font-weight: 700;
  vertical-align: baseline;
}

.prices-table-amount {
  font-family: Georgia, "Songti SC", serif;
  font-size: 1.05rem;
  font-weight: 800;
}

.prices-table .prices-origin {
  color: #9a9086;
}

.prices-table tbody tr:last-child th,
.prices-table tbody tr:last-child td {
  border-bottom: 0;
}

/* Side art: asset has baked rounded card + transparent ear overhang */
.prices-side {
  position: relative;
  z-index: 3;
  align-self: stretch;
  height: 100%;
  min-height: 0;
  overflow: visible;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  pointer-events: none;
}

.prices-side .prices-side-media,
.prices-side .home-content-media,
.prices-side .home-media-placeholder {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  display: block;
  width: auto;
  height: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 16px 0 0 16px;
  background: transparent;
  overflow: hidden;
}

.prices-side .prices-side-media img,
.prices-side .home-content-media img,
.prices-side picture,
.prices-side img {
  display: block;
  width: auto;
  height: 100%;
  max-width: none;
  margin: 0;
  border: 0;
  border-radius: 16px 0 0 16px;
  object-fit: contain;
  object-position: left center;
}

/* Includes */
.prices-includes {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.prices-include-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 12px;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(108, 74, 35, 0.06);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(73, 47, 21, 0.05);
}

.prices-include-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #b56a28;
  background: #f1dcb8;
}

.prices-include-icon svg {
  width: 28px;
  height: 28px;
}

.prices-include-card h3 {
  margin: 0;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
}

.prices-include-card p {
  margin: 0;
  color: #6f655b;
  font-size: 0.74rem;
  line-height: 1.55;
}

/* Steps — match design/prices-desktop.png */
.prices-steps-block {
  position: relative;
  min-height: 220px;
  padding: 4px 0 20px;
  overflow: visible;
}

.prices-steps-block[data-media-state="ready"]::before {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -18px;
  z-index: 0;
  width: min(380px, 44%);
  height: 100%;
  min-height: 240px;
  background-image: var(--home-background);
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: contain;
  pointer-events: none;
}

.prices-steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: start;
  gap: 36px;
  width: calc(100% - 150px);
  margin: 50px 0 0;
  padding: 0;
  list-style: none;
}

.prices-steps li {
  position: relative;
  padding-left: 30px;
}

.prices-steps li:not(:last-child)::after {
  content: "›";
  position: absolute;
  right: -24px;
  top: 42px;
  color: #c07b27;
  font-family: Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
}

.prices-steps em {
  position: absolute;
  left: 0;
  top: 24px;
  color: #c78330;
  font-family: Georgia, serif;
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
}

.prices-step-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  background: #f1dcb8;
  border: 4px solid rgba(255, 255, 255, 0.9);
  outline: 1px solid #deb97d;
  border-radius: 50%;
  color: #ad6b1c;
  box-sizing: border-box;
}

.prices-step-icon svg {
  width: 26px;
  height: 26px;
}

.prices-steps h3 {
  margin: 0 0 4px;
  color: var(--home-green);
  font-family: inherit;
  font-size: 0.91rem;
  font-weight: 700;
  line-height: 1.3;
}

.prices-steps p {
  margin: 0;
  color: #7b7166;
  font-size: 0.7rem;
  line-height: 1.45;
  max-width: 13em;
}

/* Rules */
.prices-rules {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.prices-rule-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 108px;
  padding: 16px 14px;
  background: #fffdf8;
  border: 1px solid rgba(108, 74, 35, 0.06);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(73, 47, 21, 0.05);
}

.prices-rule-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f1dcb8;
  color: #ad6b1c;
}

.prices-rule-icon svg {
  width: 22px;
  height: 22px;
}

.prices-rule-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.prices-rule-card h3 {
  margin: 0;
  color: var(--brand-ink);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.35;
}

.prices-rule-body {
  margin: 0;
  color: #6f655b;
  font-size: 0.74rem;
  line-height: 1.5;
}

.prices-rule-body .placeholder {
  color: #c45a1c;
  background: transparent;
  font-weight: 600;
}

.prices-rule-hint {
  display: block;
  margin: 0;
  color: #9a9086;
  font-size: 0.66rem;
  line-height: 1.45;
}

/* Buy */
.prices-buy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.prices-buy-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 168px;
  padding: 18px 16px;
  background: #fffdf8;
  border: 1px solid rgba(108, 74, 35, 0.08);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(73, 47, 21, 0.05);
}

.prices-buy-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.prices-buy-logo {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
}

.prices-buy-mark {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #f1dcb8;
  color: #ad6b1c;
}

.prices-buy-mark svg {
  width: 24px;
  height: 24px;
}

.prices-buy-copy {
  min-width: 0;
}

.prices-buy-copy h3 {
  margin: 0 0 6px;
  color: var(--brand-ink);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
}

.prices-buy-copy p,
.prices-buy-stores {
  margin: 0;
  color: #6f655b;
  font-size: 0.74rem;
  line-height: 1.5;
}

.prices-buy-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  margin-top: auto;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
}

.prices-buy-cta.is-green {
  background: var(--brand-green) !important;
  border-color: var(--brand-green) !important;
  color: #fff !important;
}

.prices-buy-cta.is-gold {
  background: #c68228 !important;
  border-color: #c68228 !important;
  color: #fff !important;
}

.prices-buy-cta.is-coral {
  background: #c68228 !important;
  border-color: #c68228 !important;
  color: #fff !important;
}

.prices-buy-cta.is-outline {
  background: #fff !important;
  border: 1.5px solid var(--brand-green) !important;
  color: var(--brand-green) !important;
}

.prices-buy-card.is-store {
  min-height: 220px;
}

.prices-buy-platforms {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.prices-buy-platforms .store-platform-btn {
  min-height: 44px;
  font-size: 0.8rem;
}

.prices-buy-note {
  margin: 16px 0 0;
  color: #8a8076;
  font-size: 0.78rem;
  line-height: 1.6;
  text-align: center;
}

/* FAQ */
.prices-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.prices-faq-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 18px 20px;
  background: #fffdf8;
  border: 1px solid rgba(108, 74, 35, 0.08);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(73, 47, 21, 0.05);
}

.prices-faq-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f1dcb8;
  color: #c68228;
}

.prices-faq-chat {
  width: 20px;
  height: 20px;
}

.prices-faq-copy {
  min-width: 0;
}

.prices-faq-q {
  margin: 0 0 6px;
  color: var(--brand-ink);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.4;
}

.prices-faq-a {
  margin: 0;
  color: #6f655b;
  font-size: 0.76rem;
  line-height: 1.55;
}

.prices-faq-plus {
  color: #c68228;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1;
}

/* Closing */
.prices-closing {
  position: relative;
  overflow: hidden;
  background: #f3e7d4;
  background-image: var(--home-background);
  background-size: cover;
  background-position: center;
}

.prices-closing-inner {
  position: relative;
  min-height: 150px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  padding-block: 28px;
}

.prices-closing[data-media-state="ready"] .prices-closing-inner {
  grid-template-columns: 36% 34% 30%;
  padding-block: 0;
  min-height: 220px;
}

.prices-closing .home-background-note {
  display: none;
}

.prices-closing-copy {
  grid-column: 1;
  max-width: 420px;
}

.prices-closing[data-media-state="ready"] .prices-closing-copy {
  grid-column: 2;
  max-width: none;
}

.prices-closing-copy h2 {
  margin: 0 0 8px;
  color: var(--brand-ink);
  font-size: clamp(1.55rem, 2.2vw, 2rem);
}

.prices-closing-copy p {
  margin: 0;
  color: #685f56;
  font-size: 0.9rem;
  line-height: 1.7;
}

.prices-closing-actions {
  grid-column: 2;
  display: flex;
  justify-content: flex-end;
}

.prices-closing[data-media-state="ready"] .prices-closing-actions {
  grid-column: 3;
}

@media (max-width: 1439px) and (min-width: 961px) {
  .prices-strip-panel {
    grid-template-columns: 1fr;
  }

  .prices-strip-intro {
    padding-right: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(108, 74, 35, 0.08);
    padding-bottom: 12px;
  }

  .prices-strip-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .prices-includes {
    grid-template-columns: repeat(3, 1fr);
  }

  .prices-buy-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .prices-strip-section {
    margin-top: -28px;
  }

  .prices-strip-panel {
    grid-template-columns: 1fr;
    padding: 18px 16px;
  }

  .prices-strip-intro {
    border-right: 0;
    padding-right: 0;
    white-space: normal;
  }

  .prices-strip-intro h2,
  .prices-strip-note,
  .prices-strip-hint {
    white-space: normal;
  }

  .prices-strip-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .prices-detail {
    grid-template-columns: 1fr;
  }

  .prices-heading-aside {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }

  .prices-heading-note {
    width: 100%;
    justify-self: auto;
    margin-left: auto;
    white-space: normal;
  }

  .prices-detail {
    padding-right: 0;
    justify-items: center;
  }

  .prices-table-wrap {
    width: 100%;
  }

  .prices-side {
    position: relative;
    width: min(280px, 78%);
    height: auto;
    aspect-ratio: 336 / 520;
    margin-top: 8px;
  }

  .prices-side .prices-side-media,
  .prices-side .home-content-media,
  .prices-side .home-media-placeholder,
  .prices-side .prices-side-media img,
  .prices-side .home-content-media img,
  .prices-side img {
    position: static;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .prices-includes {
    grid-template-columns: repeat(2, 1fr);
  }

  .prices-steps-block {
    min-height: 0;
    padding: 8px 0 130px;
  }

  .prices-steps-block[data-media-state="ready"]::before {
    right: 0;
    bottom: 0;
    width: min(200px, 52vw);
    height: 130px;
  }

  .prices-steps {
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
  }

  .prices-steps li {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 0 14px;
    padding-left: 0;
  }

  .prices-steps li:not(:last-child)::after {
    content: "↓";
    left: 20px;
    right: auto;
    top: auto;
    bottom: -18px;
    font-size: 1.35rem;
  }

  .prices-steps em {
    position: static;
    grid-row: 1 / 3;
    align-self: center;
  }

  .prices-step-icon {
    width: 48px;
    height: 48px;
    grid-column: 1;
    grid-row: 1 / 3;
    margin: 0 0 0 36px;
  }

  .prices-steps h3,
  .prices-steps p {
    grid-column: 2;
    max-width: none;
  }

  .prices-rules {
    grid-template-columns: 1fr 1fr;
  }

  .prices-buy-grid,
  .prices-faq-grid {
    grid-template-columns: 1fr;
  }

  .prices-closing-inner,
  .prices-closing[data-media-state="ready"] .prices-closing-inner {
    grid-template-columns: 1fr;
    padding-block: 28px;
  }

  .prices-closing-copy,
  .prices-closing-actions,
  .prices-closing[data-media-state="ready"] .prices-closing-copy,
  .prices-closing[data-media-state="ready"] .prices-closing-actions {
    grid-column: 1;
  }

  .prices-closing-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .prices-strip-cards,
  .prices-includes,
  .prices-rules {
    grid-template-columns: 1fr;
  }
}
