/* ─────────────────────────────────────────
   グルメマーケット 出店募集要項ページ
   entry.css（style.css のトークンを継承）
   ───────────────────────────────────────── */

/* ─── DRAFT NOTICE ─── */
.draft-notice {
  background: var(--gold-dk);
  color: #fff;
  text-align: center;
  font-size: clamp(11px, 2.6vw, 13px);
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 10px 16px;
  line-height: 1.6;
}

/* ─── LAYOUT ─── */
.entry-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 22px 40px;
}

/* ─── HEADER ─── */
.entry-header {
  text-align: center;
  padding: 48px 0 36px;
  border-bottom: 1px solid rgba(196, 26, 14, 0.25);
  margin-bottom: 8px;
}

.entry-kicker {
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 16px;
}

.entry-title {
  font-family: 'Shippori Mincho', serif;
  font-weight: 800;
  font-size: clamp(30px, 8vw, 52px);
  line-height: 1.2;
  color: var(--white);
  letter-spacing: 0.02em;
}

.entry-sub {
  margin-top: 16px;
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(13px, 3.2vw, 16px);
  color: var(--cream-dim);
  letter-spacing: 0.06em;
}

/* ─── SECTION ─── */
.entry-section {
  padding: 28px 0;
  border-bottom: 1px solid rgba(196, 26, 14, 0.15);
}

.entry-h2 {
  font-family: 'Shippori Mincho', serif;
  font-weight: 700;
  font-size: clamp(17px, 4.2vw, 22px);
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  padding-left: 12px;
  border-left: 4px solid var(--red);
}

.entry-text {
  font-size: clamp(13px, 3vw, 15px);
  line-height: 1.9;
  color: var(--cream);
  letter-spacing: 0.03em;
}

.entry-fine {
  font-size: clamp(11px, 2.6vw, 13px);
  line-height: 1.8;
  color: var(--cream-dim);
  margin-top: 14px;
}

.entry-link {
  color: var(--gold-lt);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.entry-link:hover { opacity: 0.8; }

.tentative {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: var(--gold-lt);
  border: 1px solid var(--gold-dk);
  border-radius: 3px;
  padding: 1px 5px;
  margin-left: 4px;
  vertical-align: middle;
  letter-spacing: 0.05em;
}

/* ─── SPEC LIST（定義リスト） ─── */
.spec-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.spec-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
}

.spec-row dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.spec-row dd {
  font-size: clamp(13px, 3vw, 15px);
  line-height: 1.8;
  color: var(--cream);
  letter-spacing: 0.02em;
}

@media (min-width: 600px) {
  .spec-row {
    flex-direction: row;
    align-items: baseline;
    gap: 16px;
  }
  .spec-row dt { flex: 0 0 96px; }
  .spec-row dd { flex: 1; }
}

/* ─── TIER LIST（協賛広告サイズ・料金） ─── */
.tier-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tier-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
}

.tier-swatch {
  flex: 0 0 auto;
  display: block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--red-lt);
  border-radius: 2px;
}

.tier-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.tier-name {
  font-size: clamp(13px, 3vw, 15px);
  font-weight: 700;
  color: var(--cream);
}

.tier-size {
  font-size: 11px;
  color: var(--cream-dim);
  letter-spacing: 0.03em;
}

.tier-price {
  flex: 0 0 auto;
  font-family: 'Shippori Mincho', serif;
  font-weight: 700;
  font-size: clamp(15px, 3.6vw, 18px);
  color: var(--gold-lt);
  white-space: nowrap;
}

/* ─── UL ─── */
.entry-ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.entry-ul li {
  position: relative;
  padding-left: 20px;
  font-size: clamp(13px, 3vw, 15px);
  line-height: 1.8;
  color: var(--cream);
  letter-spacing: 0.02em;
}

.entry-ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red-lt);
}

/* ─── 募集期間カード ─── */
.period-card {
  background: rgba(196, 26, 14, 0.08);
  border: 1px solid rgba(196, 26, 14, 0.4);
  border-radius: 12px;
  padding: 22px 24px;
}

.period-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  padding: 8px 0;
}
.period-row + .period-row { border-top: 1px dashed rgba(196,26,14,0.25); }

.period-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  flex: 0 0 96px;
}

.period-value {
  font-family: 'Shippori Mincho', serif;
  font-weight: 700;
  font-size: clamp(15px, 3.6vw, 19px);
  color: var(--white);
}

.period-note {
  margin-top: 12px;
  font-size: clamp(11px, 2.6vw, 13px);
  line-height: 1.8;
  color: var(--cream-dim);
}

/* ─── 申込ブロック ─── */
.apply-block {
  margin-top: 32px;
  padding: 32px 24px;
  background: var(--bg2);
  border: 1px solid rgba(196, 26, 14, 0.4);
  border-radius: 14px;
}

.apply-block .entry-h2 { margin-bottom: 22px; }

.agree-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(245, 238, 234, 0.18);
  border-radius: 10px;
  padding: 18px 20px;
  transition: border-color 0.2s, background 0.2s;
}

.agree-box.checked {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.1);
}

.agree-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

#agree-check {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border: 2px solid var(--cream-dim);
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s, background 0.2s;
}

#agree-check:checked {
  border-color: var(--gold);
  background: var(--gold);
}

#agree-check:checked::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 2px;
  width: 6px;
  height: 12px;
  border: solid var(--bg);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

#agree-check:focus-visible {
  outline: 2px solid var(--gold-lt);
  outline-offset: 2px;
}

.agree-text {
  font-size: clamp(13px, 3.2vw, 15px);
  line-height: 1.7;
  color: var(--cream);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.apply-guide {
  margin: 20px 2px 18px;
  font-size: clamp(12px, 2.9vw, 14px);
  line-height: 1.9;
  color: var(--cream-dim);
}
.apply-guide strong { color: var(--cream); }

/* ボタン */
.apply-btn {
  display: block;
  width: 100%;
  font-family: 'Shippori Mincho', serif;
  font-weight: 700;
  font-size: clamp(15px, 3.8vw, 18px);
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--red);
  border: none;
  border-radius: 10px;
  padding: 18px 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  box-shadow: 0 6px 18px rgba(196, 26, 14, 0.35);
}

.apply-btn:hover:not(:disabled) { background: var(--red-lt); }
.apply-btn:active:not(:disabled) { transform: translateY(1px); }

.apply-btn:disabled {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(245, 238, 234, 0.35);
  cursor: not-allowed;
  box-shadow: none;
}

.apply-btn.secondary {
  background: transparent;
  border: 1px solid var(--red-lt);
  color: var(--cream);
  box-shadow: none;
  text-align: center;
  text-decoration: none;
}
.apply-btn.secondary:hover:not(:disabled) { background: rgba(255, 255, 255, 0.06); }

.choice-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.choice-buttons .apply-btn { flex: 0 1 200px; width: auto; }

.apply-btn:focus-visible {
  outline: 2px solid var(--gold-lt);
  outline-offset: 3px;
}

/* ダウンロード完了表示 */
.download-status {
  margin-top: 22px;
  padding: 20px 22px;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid var(--gold);
  border-radius: 10px;
  animation: dl-appear 0.35s ease;
}

@keyframes dl-appear {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.download-done {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: 'Shippori Mincho', serif;
  font-weight: 700;
  font-size: clamp(14px, 3.4vw, 17px);
  color: var(--gold-lt);
}

.check-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--bg);
  font-size: 15px;
  font-weight: 700;
}

.download-file {
  flex-basis: 100%;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: var(--cream-dim);
  letter-spacing: 0.02em;
}

.download-note {
  margin-top: 12px;
  font-size: clamp(12px, 2.9vw, 14px);
  line-height: 1.8;
  color: var(--cream);
}

.download-relink {
  margin-top: 12px;
  font-size: clamp(11px, 2.7vw, 13px);
  line-height: 1.9;
  color: var(--cream-dim);
}

/* 戻るリンク */
.entry-back {
  margin-top: 36px;
  text-align: center;
  font-size: 13px;
}
