@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500&family=Noto+Sans+JP:wght@300;400;500;700&display=swap");

.one-x-form {
  --one-x-bg: #0b0b0c;
  --one-x-surface: #141417;
  --one-x-surface-2: #1b1b1f;
  --one-x-surface-3: #222228;
  --one-x-ink: #f2f1ee;
  --one-x-muted: #a7a39c;
  --one-x-soft: #d7d0c3;
  --one-x-line: #302f35;
  --one-x-line-strong: #4a453c;
  --one-x-accent: #c8aa6e;
  --one-x-accent-2: #e3cb8f;
  --one-x-red: #ef6f6c;
  --one-x-green: #78d58d;
  --one-x-yellow: #dec56f;
  --one-x-radius: 4px;
  color: var(--one-x-ink);
  background:
    linear-gradient(180deg, #121214 0, var(--one-x-bg) 360px),
    var(--one-x-bg);
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 15px;
  line-height: 1.75;
  min-height: 100vh;
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  margin-left: -50vw;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

.one-x-form * {
  box-sizing: border-box;
}

.one-x-form h1,
.one-x-form h2,
.one-x-form h3,
.one-x-form p {
  margin-top: 0;
}

.one-x-form h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 1.05;
  margin: 10px 0 8px;
}

.one-x-form h1 span {
  display: block;
  color: var(--one-x-muted);
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  margin-top: 8px;
}

.one-x-logo-title {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.one-x-logo-title img {
  display: block;
  width: min(460px, 88vw);
  height: auto;
  max-height: 86px;
  object-fit: contain;
}

.one-x-form h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 4px;
}

.one-x-form h3 {
  font-size: 17px;
  line-height: 1.45;
}

.one-x-form a {
  color: var(--one-x-accent-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.one-x-form button,
.one-x-form input,
.one-x-form select,
.one-x-form textarea {
  font: inherit;
}

.one-x-form input,
.one-x-form select,
.one-x-form textarea {
  width: 100%;
  border: 1px solid var(--one-x-line);
  border-radius: var(--one-x-radius);
  padding: 12px 14px;
  background: #0d0d0f;
  color: var(--one-x-ink);
  outline: none;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.one-x-form input:focus,
.one-x-form select:focus,
.one-x-form textarea:focus {
  border-color: var(--one-x-accent);
  background: #111114;
  box-shadow: 0 0 0 3px rgba(200, 170, 110, 0.12);
}

.one-x-form input::placeholder,
.one-x-form textarea::placeholder {
  color: #6f6b64;
}

.one-x-form input[type="checkbox"],
.one-x-form input[type="radio"] {
  width: auto;
  min-width: 16px;
  accent-color: var(--one-x-accent);
}

.one-x-form textarea {
  resize: vertical;
}

.one-x-form label {
  display: grid;
  gap: 7px;
  color: var(--one-x-muted);
  font-size: 12px;
  font-weight: 500;
}

.one-x-label-title {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.one-x-required {
  width: fit-content;
  border: 1px solid rgba(200, 170, 110, 0.65);
  border-radius: 999px;
  padding: 1px 7px;
  color: var(--one-x-accent-2);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.5;
}

.one-x-field-note {
  color: var(--one-x-muted);
  font-size: 11px;
  font-weight: 400;
}

.one-x-form label input,
.one-x-form label textarea,
.one-x-form label select {
  color: var(--one-x-ink);
  font-size: 14px;
  font-weight: 400;
}

.one-x-form button {
  border: 0;
  border-radius: var(--one-x-radius);
  padding: 12px 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.one-x-form button:hover {
  transform: translateY(-1px);
}

.one-x-form button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.one-x-form [hidden],
.one-x-nav [hidden] {
  display: none !important;
}

.one-x-primary {
  background: var(--one-x-accent);
  color: #0b0b0c;
  font-weight: 700;
}

.one-x-primary:hover {
  background: var(--one-x-accent-2);
}

.one-x-button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 46px;
  border-radius: var(--one-x-radius);
  padding: 12px 18px;
  background: var(--one-x-accent);
  color: #0b0b0c !important;
  font-weight: 700;
  text-decoration: none !important;
}

.one-x-button-link:hover {
  background: var(--one-x-accent-2);
}

.one-x-secondary {
  background: transparent;
  color: var(--one-x-ink);
  border: 1px solid var(--one-x-line-strong) !important;
}

.one-x-secondary:hover {
  border-color: var(--one-x-accent) !important;
  color: var(--one-x-accent-2);
}

.one-x-text-button {
  background: transparent;
  color: var(--one-x-red);
  padding: 4px 0;
  min-height: auto;
}

.one-x-topbar {
  padding: 42px 22px 30px;
  text-align: center;
  border-bottom: 1px solid var(--one-x-line);
  background: linear-gradient(180deg, #17171a 0, #0b0b0c 100%);
}

.one-x-brandline,
.one-x-eyebrow {
  color: var(--one-x-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.one-x-tagline {
  color: var(--one-x-muted);
  font-size: 13px;
  margin-bottom: 0;
}

.one-x-main {
  width: min(1080px, calc(100vw - 32px));
  margin: 34px auto 96px;
}

.one-x-event-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 26px;
  border: 1px solid var(--one-x-line);
  border-radius: var(--one-x-radius);
  background: rgba(20, 20, 23, 0.95);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

.one-x-event-bar div {
  min-width: 0;
  padding: 16px 18px;
  border-right: 1px solid var(--one-x-line);
}

.one-x-event-bar div:last-child {
  border-right: 0;
}

.one-x-event-bar span {
  display: block;
  color: var(--one-x-accent);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.one-x-event-bar strong {
  display: block;
  color: var(--one-x-soft);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.one-x-event-bar strong a {
  color: inherit;
  text-decoration-color: rgba(227, 203, 143, 0.65);
}

.one-x-layout {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  gap: 24px;
}

.one-x-side {
  display: grid;
  align-content: start;
  gap: 18px;
}

.one-x-panel,
.one-x-capacity {
  border: 1px solid var(--one-x-line);
  border-radius: var(--one-x-radius);
  background: rgba(20, 20, 23, 0.98);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.38);
}

.one-x-panel {
  padding: 34px 32px;
}

.one-x-capacity {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.one-x-capacity strong {
  color: var(--one-x-accent);
  font-size: 12px;
  text-transform: uppercase;
}

.one-x-capacity span {
  color: var(--one-x-muted);
  font-size: 13px;
}

.one-x-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.one-x-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--one-x-line);
  border-radius: var(--one-x-radius);
  background: rgba(20, 20, 23, 0.78);
  color: var(--one-x-muted);
}

.one-x-step-num {
  width: 30px;
  height: 30px;
  border: 1px solid var(--one-x-line-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--one-x-muted);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 14px;
  line-height: 1;
}

.one-x-step-label {
  color: inherit;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
}

.one-x-steps li.active {
  border-color: var(--one-x-accent);
  background: rgba(200, 170, 110, 0.09);
  color: var(--one-x-ink);
}

.one-x-steps li.active .one-x-step-num,
.one-x-steps li.done .one-x-step-num {
  border-color: var(--one-x-accent);
  background: var(--one-x-accent);
  color: #0b0b0c;
}

.one-x-steps li.done {
  color: var(--one-x-soft);
}

.one-x-step-screen {
  display: none;
}

.one-x-step-screen.active {
  display: grid;
  gap: 20px;
  animation: one-x-fade-in 0.32s ease;
}

@keyframes one-x-fade-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.one-x-info-grid,
.one-x-field-grid,
.one-x-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.one-x-info-grid div,
.one-x-detail-grid div {
  min-width: 0;
  border: 1px solid var(--one-x-line);
  border-radius: var(--one-x-radius);
  padding: 14px;
  background: #0d0d0f;
  display: grid;
  gap: 4px;
}

.one-x-info-grid strong,
.one-x-detail-grid strong {
  color: var(--one-x-accent);
  font-size: 12px;
  font-weight: 700;
}

.one-x-info-grid span,
.one-x-detail-grid span {
  color: var(--one-x-muted);
  overflow-wrap: anywhere;
}

.one-x-price-panel {
  border: 1px solid var(--one-x-line);
  border-radius: var(--one-x-radius);
  padding: 20px;
  background: rgba(15, 15, 18, 0.98);
}

.one-x-price-panel h3 {
  color: var(--one-x-soft);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 14px;
}

.one-x-notice {
  margin: 0;
  border-left: 3px solid var(--one-x-red);
  padding: 13px 15px;
  background: rgba(239, 111, 108, 0.1);
  color: #f0c4bf;
}

.one-x-terms-box {
  border: 1px solid var(--one-x-line);
  border-radius: var(--one-x-radius);
  padding: 18px;
  background: #0f0f12;
}

.one-x-terms-box h3 {
  color: var(--one-x-accent);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 23px;
  font-weight: 400;
  margin-bottom: 10px;
}

.one-x-terms-box ul {
  margin: 0;
  padding-left: 20px;
  color: var(--one-x-soft);
}

.one-x-terms-box li + li {
  margin-top: 6px;
}

.one-x-overview-main {
  display: grid;
  gap: 26px;
}

.one-x-overview-hero,
.one-x-overview-band {
  border: 1px solid var(--one-x-line);
  border-radius: var(--one-x-radius);
  background: rgba(20, 20, 23, 0.98);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
  padding: 30px;
}

.one-x-overview-hero p,
.one-x-overview-band p {
  color: var(--one-x-soft);
}

.one-x-overview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.one-x-overview-sections {
  display: grid;
  gap: 12px;
}

.one-x-overview-detail {
  border: 1px solid var(--one-x-line);
  border-radius: var(--one-x-radius);
  background: #0f0f12;
}

.one-x-overview-detail summary {
  cursor: pointer;
  padding: 16px 18px;
  color: var(--one-x-accent-2);
  font-size: 15px;
  font-weight: 700;
}

.one-x-overview-detail[open] summary {
  border-bottom: 1px solid var(--one-x-line);
}

.one-x-overview-body {
  display: grid;
  gap: 12px;
  padding: 18px;
  color: var(--one-x-soft);
}

.one-x-overview-body p,
.one-x-overview-body ul {
  margin: 0;
}

.one-x-overview-body ul {
  padding-left: 20px;
}

.one-x-hint,
.one-x-muted {
  color: var(--one-x-muted);
}

.one-x-checks {
  display: grid;
  gap: 10px;
}

.one-x-checks label,
.one-x-radio-row label,
.one-x-check-inline,
.one-x-warning-check,
.one-x-final-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--one-x-line);
  border-radius: var(--one-x-radius);
  padding: 12px 13px;
  background: rgba(13, 13, 15, 0.82);
  color: var(--one-x-soft);
  font-size: 13px;
  font-weight: 400;
}

.one-x-checks input,
.one-x-radio-row input,
.one-x-check-inline input,
.one-x-warning-check input,
.one-x-final-check input {
  width: auto;
  margin-top: 6px;
  accent-color: var(--one-x-accent);
}

.one-x-checks.inline,
.one-x-radio-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.one-x-subpanel,
.one-x-work-card,
.one-x-summary section {
  border: 1px solid var(--one-x-line);
  border-radius: var(--one-x-radius);
  background: #0f0f12;
}

.one-x-subpanel {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.one-x-awarded-block {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 14px;
  align-items: end;
}

.one-x-awarded-check {
  min-height: 46px;
  align-items: center;
}

.one-x-awarded-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.one-x-work-card {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
  padding: 18px;
}

.one-x-work-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--one-x-line);
}

.one-x-work-head h3 {
  margin: 0;
  color: var(--one-x-soft);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 23px;
  font-weight: 400;
}

.one-x-upload-box {
  position: relative;
  border: 1px dashed var(--one-x-accent);
  border-radius: var(--one-x-radius);
  padding: 16px;
  background: rgba(200, 170, 110, 0.08);
  cursor: pointer;
}

.one-x-upload-box span {
  color: var(--one-x-accent-2);
  font-weight: 700;
}

.one-x-upload-box strong {
  width: fit-content;
  border: 1px solid var(--one-x-line-strong);
  border-radius: var(--one-x-radius);
  padding: 8px 12px;
  color: var(--one-x-ink);
  font-size: 13px;
}

.one-x-upload-box input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.one-x-upload-status {
  margin: 0;
  color: var(--one-x-green);
  font-weight: 700;
}

.one-x-upload-status.warn {
  color: var(--one-x-yellow);
}

.one-x-upload-status.loading {
  color: var(--one-x-accent-2);
}

.one-x-upload-status.loading::before {
  content: "";
  width: 13px;
  height: 13px;
  display: inline-block;
  margin-right: 8px;
  border: 2px solid rgba(227, 203, 143, 0.25);
  border-top-color: var(--one-x-accent-2);
  border-radius: 50%;
  vertical-align: -2px;
  animation: one-x-spin 0.8s linear infinite;
}

@keyframes one-x-spin {
  to {
    transform: rotate(360deg);
  }
}

.one-x-warning-check {
  border-color: rgba(222, 197, 111, 0.65);
  background: rgba(222, 197, 111, 0.12);
  color: #efe3ae;
}

.one-x-summary {
  display: grid;
  gap: 14px;
}

.one-x-summary section {
  padding: 16px;
}

.one-x-summary ul {
  margin: 0;
  padding-left: 20px;
}

.one-x-price-box div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--one-x-line);
  padding: 8px 0;
}

.one-x-price-box .total {
  color: var(--one-x-accent-2);
  font-size: 20px;
  border-bottom: 0;
}

.one-x-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--one-x-line);
}

.one-x-alert {
  border: 1px solid rgba(239, 111, 108, 0.7);
  background: rgba(239, 111, 108, 0.12);
  color: #ffd1cc;
  border-radius: var(--one-x-radius);
  padding: 13px 15px;
  margin-bottom: 20px;
  font-weight: 700;
}

.one-x-status-line {
  border: 1px solid var(--one-x-line);
  border-radius: var(--one-x-radius);
  padding: 13px 15px;
  background: #0f0f12;
  color: var(--one-x-soft);
}

.one-x-complete {
  width: min(720px, calc(100vw - 32px));
  margin: 48px auto;
  background: rgba(20, 20, 23, 0.98);
  border: 1px solid var(--one-x-line);
  border-radius: var(--one-x-radius);
  padding: 32px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.38);
}

@media (max-width: 900px) {
  .one-x-main {
    width: min(100% - 24px, 720px);
    margin-top: 22px;
  }

  .one-x-event-bar,
  .one-x-layout {
    grid-template-columns: 1fr;
  }

  .one-x-event-bar div {
    border-right: 0;
    border-bottom: 1px solid var(--one-x-line);
  }

  .one-x-event-bar div:last-child {
    border-bottom: 0;
  }

  .one-x-panel {
    padding: 26px 20px;
  }

  .one-x-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .one-x-steps li {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .one-x-topbar {
    padding: 34px 18px 24px;
  }

  .one-x-form h1 {
    font-size: 34px;
  }

  .one-x-form h2 {
    font-size: 25px;
  }

  .one-x-info-grid,
  .one-x-field-grid,
  .one-x-detail-grid,
  .one-x-awarded-block,
  .one-x-checks.inline,
  .one-x-radio-row,
  .one-x-steps {
    grid-template-columns: 1fr;
  }

  .one-x-nav {
    display: grid;
  }

  .one-x-nav button,
  #oneXCheckout {
    width: 100%;
  }
}
