/* ===== レイアウト ===== */
.exchange-wrap {
  max-width: 720px;
  margin: 40px auto;
  padding: 0 16px;
}
.exchange-hero {
  display: flex;
  gap: 35px;
  align-items: flex-start;
}
.exchange-image img {
  width: 360px;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}
.exchange-side h1 {
  font-size: 32px;
  margin: 0 0 8px;
  text-align: center;
}
.exchange-stock {
  margin: 8px 0;
  font-size: 18px;
}
.exchange-stock .num {
  color: #d90000;
  font-weight: 700;
  font-size: 22px;
}
.exchange-point {
  font-size: 22px;
  font-weight: 700;
  margin: 10px 0 18px;
}
.exchange-btn {
  display: inline-block;
  padding: 12px 24px;
  background: #4a79d8;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  min-width: 325px;
  max-width: 325px;
  text-align: center;
  width: 100%;
}
.exchange-btn.is-disabled {
  background: #c7cbd1;
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.8;
}
.exchange-table {
  margin-top: 26px;
}
.exchange-table h3 {
  border-bottom: 1px solid #000;
  text-align: center;
}
.exchange-table table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}
.exchange-table th,
.exchange-table td {
  padding: 10px 8px;
  text-align: center;
}
.exchange-note-title {
  border-bottom: 1px solid #000;
  text-align: center;
}
.exchange-note {
  color: #666;
  margin-top: 18px;
  font-size: 14px;
}
.exchange-info {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

/* SP */
@media (max-width: 860px) {
  .exchange-hero {
    flex-direction: column;
    gap: 20px;
  }
  .exchange-image img {
    width: 100%;
  }
  .exchange-info {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .exchange-btn {
    min-width: 0;
    max-width: none;
    width: 85%;
  }
  .exchange-side h1 {
    font-size: 26px;
  }
}

/* ===== モーダル ===== */
.exchange-ov {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
    sans-serif;
}
.exchange-ov[hidden] {
  display: none;
}
.exchange-ov__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px) saturate(120%);
}
.exchange-ov__panel {
  position: relative;
  z-index: 1;
  width: min(92vw, 640px);
  border-radius: 16px;
  background: #0a0f24;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  padding: 20px 18px;
  overflow: hidden;
}
.exchange-ov__body {
  max-width: 560px;
  margin: 0 auto;
}
.exchange-ov__title {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: 0.06em;
}
.exchange-ov__code {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.08em;
}
.exchange-ov__codeimg {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-top: 12px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.exchange-ov__actions {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.exchange-ov__close {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: #10b981;
  color: #062d27;
  padding: 8px 14px;
  font-weight: 700;
  cursor: pointer;
}
.exchange-ov__copy {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: #38bdf8;
  color: #041014;
  padding: 6px 12px;
  font-weight: 700;
  cursor: pointer;
  margin-left: 8px;
}
.exchange-ov__contact {
  display: inline-block;
  text-decoration: none;
  background: #fbbf24;
  color: #3b2f06;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
}
