/* ============================================================
   style.css — DUAL ONEMAN LIVE COMMIT. -THE FINAL-
   黒基調のロックライブ告知デザイン
   ============================================================ */

/* ---------- リセット & ベース ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black:       #0a0a0a;
  --black-card:  #141414;
  --black-mid:   #1c1c1c;
  --gold:        #e8c840;    /* メインアクセント：ゴールド */
  --gold-dim:    #b89e28;
  --red:         #c0392b;    /* "THE FINAL" 強調色 */
  --white:       #f0f0f0;
  --gray:        #888888;
  --gray-light:  #555555;
  --font-en:     'Oswald', sans-serif;
  --font-ja:     'Noto Sans JP', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-ja);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ---------- コンテナ ---------- */
.container {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--black);
  padding: 60px 20px 56px;
  text-align: center;
  border-bottom: 1px solid #2a2a2a;
  overflow: hidden;
}

/* 背景のノイズテクスチャ感 */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255,255,255,0.012) 2px,
      rgba(255,255,255,0.012) 4px
    );
  pointer-events: none;
}

/* ゴールドの横ラインアクセント（上下） */
.hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-label {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 10px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
}

.hero-logo {
  width: min(260px, 65vw);
  height: auto;
  display: block;
  margin: 0 auto;
}

.title-main {
  font-family: var(--font-en);
  font-size: clamp(64px, 20vw, 96px);
  font-weight: 700;
  letter-spacing: 12px;
  color: var(--white);
  line-height: 1;
  text-transform: uppercase;
}

.title-sub {
  font-family: var(--font-en);
  font-size: clamp(16px, 5vw, 22px);
  font-weight: 400;
  letter-spacing: 4px;
  color: var(--gray);
  text-transform: uppercase;
}

/* "THE FINAL" を赤で強調 — 最後のライブであることを刻む */
.title-sub em {
  font-style: normal;
  color: var(--red);
  font-weight: 600;
  position: relative;
}
.title-sub em::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -3px;
  height: 1px;
  background: var(--red);
  opacity: 0.6;
}

.hero-date-block {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  border: 1px solid #2a2a2a;
  padding: 16px 32px;
  background: rgba(255,255,255,0.02);
}

.hero-date {
  font-family: var(--font-en);
  font-size: clamp(22px, 6vw, 28px);
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--white);
}
.hero-date span {
  font-size: 14px;
  font-weight: 400;
  color: var(--gold);
  margin-left: 6px;
  letter-spacing: 2px;
}

.hero-time {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--gray);
  text-transform: uppercase;
}

/* ============================================================
   INFO SECTION
   ============================================================ */
.info-section {
  padding: 56px 0;
}

.info-section .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  background: var(--black-card);
  border: 1px solid #242424;
  padding: 28px 28px 24px;
  position: relative;
}

/* ゴールドの左ボーダーアクセント */
.info-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--gold);
}

.section-label {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 5px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* アーティスト */
.artist-name {
  font-family: var(--font-en);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 6px;
  color: var(--white);
  margin-bottom: 16px;
}

.member-block {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}

.member-title {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--gray);
  white-space: nowrap;
  min-width: 56px;
}

.member-names {
  font-size: 14px;
  color: var(--white);
  letter-spacing: 1px;
}

/* 会場 */
.venue-name {
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--white);
  margin-bottom: 8px;
}

.venue-address {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 14px;
  line-height: 1.6;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(232,200,64,0.3);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.map-link:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}

/* チケット */
.ticket-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 10px;
}

.ticket-type {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gray);
  text-transform: uppercase;
}

.ticket-price {
  font-family: var(--font-en);
  font-size: 36px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 2px;
}

.ticket-note {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 4px;
}

/* ============================================================
   FORM SECTION
   ============================================================ */
.form-section {
  padding: 0 0 80px;
}

.form-heading {
  font-family: var(--font-en);
  font-size: clamp(22px, 6vw, 28px);
  font-weight: 600;
  letter-spacing: 6px;
  color: var(--white);
  text-align: center;
  margin-bottom: 8px;
  text-transform: uppercase;
}

/* フォーム見出しの下のゴールドライン */
.form-heading::after {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 12px auto 0;
}

.form-desc {
  text-align: center;
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 28px;
  letter-spacing: 0.5px;
}

/* フォームカード */
.form-card {
  background: var(--black-card);
  border: 1px solid #242424;
  padding: 36px 28px 0;
}

/* フィールド共通 */
.field {
  margin-bottom: 22px;
}

.field-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.required {
  font-size: 10px;
  font-weight: 400;
  background: var(--red);
  color: #fff;
  padding: 2px 6px;
  border-radius: 2px;
  letter-spacing: 0;
}

.optional {
  font-size: 10px;
  font-weight: 400;
  background: var(--gray-light);
  color: #ccc;
  padding: 2px 6px;
  border-radius: 2px;
  letter-spacing: 0;
}

/* input / textarea / select 共通 */
.field input,
.field textarea,
.field select {
  width: 100%;
  background: var(--black-mid);
  border: 1px solid #333;
  color: var(--white);
  font-family: var(--font-ja);
  font-size: 16px; /* iOSズーム防止のため16px固定 */
  padding: 12px 14px;
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #555;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--gold);
}

.field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23888' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.field textarea {
  resize: vertical;
  min-height: 100px;
}

/* エラーメッセージ */
.error-msg {
  font-size: 12px;
  color: #e74c3c;
  margin-top: 5px;
  min-height: 16px;
}

/* バリデーション失敗時のボーダー */
.field input.is-error,
.field textarea.is-error,
.field select.is-error {
  border-color: #e74c3c;
}

/* チケット料金プレビュー */
.price-preview {
  background: var(--black-mid);
  border: 1px solid var(--gold);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  margin: -8px 0 22px;
}

.price-label {
  font-size: 13px;
  color: var(--gray);
  letter-spacing: 0.5px;
}

.price-value {
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 2px;
}

/* 送信ボタン（スクロールしても常に下部に表示） */
.sticky-btn-wrap {
  position: sticky;
  bottom: 0;
  background: #141414;
  border-top: 1px solid #2a2a2a;
  padding: 16px 24px 20px;
  margin: 0 -24px;
}

.submit-btn {
  display: block;
  width: 100%;
  background-color: #e8c840 !important; /* 常にゴールド表示 */
  color: #000000 !important;
  border: none;
  font-family: var(--font-en);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  padding: 18px;
  cursor: pointer;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  opacity: 1 !important;
  transition: background-color 0.2s, transform 0.1s;
}
.submit-btn:hover {
  background-color: #b89e28 !important;
}
.submit-btn:active {
  transform: scale(0.98);
}
.submit-btn:disabled {
  background-color: #444 !important;
  color: #888 !important;
  cursor: not-allowed;
}

/* ============================================================
   完了メッセージ
   ============================================================ */
.complete-msg {
  text-align: center;
  padding: 20px 0;
}

.complete-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--black);
  font-size: 32px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.complete-title {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.complete-text {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.9;
  margin-bottom: 24px;
}

.complete-detail {
  background: var(--black-mid);
  border: 1px solid #2a2a2a;
  padding: 18px 20px;
  text-align: left;
  font-size: 13px;
  color: var(--gray);
  line-height: 2;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid #1e1e1e;
  padding: 48px 20px 40px;
  text-align: center;
}

.footer-title {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.7;
}
.footer-title span {
  color: var(--gray);
  font-size: 12px;
}

.footer-copy {
  font-size: 11px;
  color: #444;
  letter-spacing: 1px;
  margin-top: 16px;
}

/* ============================================================
   レスポンシブ（スマホ最適化）
   ============================================================ */
@media (max-width: 480px) {
  .hero {
    padding: 48px 16px 44px;
  }

  .info-card {
    padding: 22px 18px 20px;
  }

  .form-card {
    padding: 28px 16px;
  }

  .artist-name {
    font-size: 28px;
  }

  .venue-name {
    font-size: 22px;
  }

  .ticket-price {
    font-size: 28px;
  }

  .price-preview {
    padding: 12px 14px;
  }
}

/* アニメーション軽減設定 */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
