/* ============================================================
   H/MIX GALLERY — footprints.css
   旅人の足跡 : 楽曲詳細ページ
   ============================================================ */

/* ── セクション全体 ─────────────────────────────────────── */
.fp-section {
  padding: 0 0 4rem;
}

/* ── リード文 ───────────────────────────────────────────── */
.fp-lead {
  font-family: var(--font-serif-jp, serif);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: rgba(255, 250, 240, 0.45);
  margin: 0 0 1.6rem;
  text-align: center;
}

/* ── 投稿フォーム ───────────────────────────────────────── */
.fp-form {
  max-width: 560px;
  margin: 0 auto 3rem;
}

.fp-fields {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.fp-nickname {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  color: rgba(255, 250, 240, 0.75);
  font-family: var(--font-display, sans-serif);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  padding: 0.55rem 0.85rem;
  outline: none;
  transition: border-color 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.fp-nickname::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.fp-nickname:focus {
  border-color: rgba(209, 184, 122, 0.35);
}

.fp-textarea-wrap {
  position: relative;
}

.fp-body {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  color: rgba(255, 250, 240, 0.85);
  font-family: var(--font-serif-jp, serif);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  line-height: 1.7;
  padding: 0.75rem 0.85rem 1.8rem;
  resize: none;
  outline: none;
  transition: border-color 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.fp-body::placeholder {
  color: rgba(255, 255, 255, 0.18);
  font-style: italic;
}

.fp-body:focus {
  border-color: rgba(209, 184, 122, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

.fp-count {
  position: absolute;
  bottom: 0.45rem;
  right: 0.65rem;
  font-family: var(--font-display, sans-serif);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.22);
  pointer-events: none;
  letter-spacing: 0.05em;
}

/* ── フォームフッター ────────────────────────────────────── */
.fp-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.fp-note {
  font-family: var(--font-display, sans-serif);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  margin: 0;
  min-height: 1.2em;
  transition: color 0.3s ease;
}

.fp-note--error {
  color: rgba(220, 100, 80, 0.85);
}

.fp-note--success {
  color: rgba(140, 210, 160, 0.85);
}

.fp-submit {
  background: transparent;
  border: 1px solid rgba(209, 184, 122, 0.35);
  border-radius: 1px;
  color: rgba(209, 184, 122, 0.75);
  cursor: pointer;
  font-family: var(--font-serif-jp, serif);
  font-size: 0.82rem;
  letter-spacing: 0.25em;
  padding: 0.5rem 1.4rem;
  transition: all 0.35s ease;
  white-space: nowrap;
}

.fp-submit:hover {
  background: rgba(209, 184, 122, 0.08);
  border-color: rgba(209, 184, 122, 0.7);
  color: rgba(209, 184, 122, 1);
  letter-spacing: 0.3em;
}

.fp-submit:active {
  transform: scale(0.98);
}

/* ── 一覧 ───────────────────────────────────────────────── */
.fp-list-wrap {
  max-width: 560px;
  margin: 0 auto;
}

.fp-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* ── 足跡カード ─────────────────────────────────────────── */
.fp-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 2px;
  padding: 1rem 1.2rem 1.1rem;
  transition: border-color 0.3s ease;
}

.fp-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.fp-card__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.55rem;
}

.fp-card__name {
  font-family: var(--font-display, sans-serif);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: rgba(209, 184, 122, 0.6);
  text-transform: uppercase;
}

.fp-card__date {
  font-family: var(--font-display, sans-serif);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.2);
  white-space: nowrap;
}

.fp-card__body {
  font-family: var(--font-serif-jp, serif);
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: rgba(255, 250, 240, 0.72);
  margin: 0;
}

/* ── 空状態 ─────────────────────────────────────────────── */
.fp-empty {
  font-family: var(--font-serif-jp, serif);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.22);
  text-align: center;
  line-height: 1.9;
  padding: 2rem 0;
  margin: 0;
}

.fp-empty span {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}

/* ── レスポンシブ ───────────────────────────────────────── */
@media (max-width: 600px) {
  .fp-lead {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
  }

  .fp-form,
  .fp-list-wrap {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .fp-form-footer {
    flex-direction: column;
    align-items: flex-end;
  }

  .fp-card__body {
    font-size: 0.84rem;
  }
}
