/* Contest 2026 Result Page — contest-2026.css（エントリーページ）の上に重ねる */

.result_page { padding-bottom: 0; }

/* ---------- HERO ---------- */
.result_hero {
  background: radial-gradient(circle at 80% 15%, #3c2141 0, #111 32%, #050505 70%);
  color: #fff;
  overflow: hidden;
  padding: 112px 0 64px;
  position: relative;
}
.result_hero::after {
  background: radial-gradient(circle, rgba(32,143,255,.35) 0, rgba(32,143,255,0) 65%);
  bottom: -220px;
  content: "";
  height: 520px;
  left: -180px;
  position: absolute;
  width: 520px;
}
.result_hero .contest2026_inner { position: relative; z-index: 1; }
.result_hero_grid { align-items: center; display: grid; gap: 40px; }
.result_hero h1 {
  font-size: clamp(44px, 12vw, 96px);
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: 1.02;
  margin: 0 0 24px;
}
.result_hero h1 span { color: var(--contest-pink); }
.result_hero_lead { color: rgba(255,255,255,.85); font-size: 17px; font-weight: 700; line-height: 1.9; margin: 0 0 28px; }
.result_hero_lead strong { color: #fff; }
.result_hero_visual { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; margin: 0; position: relative; }
.result_hero_visual::before {
  background: var(--contest-pink);
  content: "";
  filter: blur(60px);
  inset: 15% 10%;
  opacity: .25;
  position: absolute;
}
.result_hero_visual figure { margin: 0; position: relative; }
.result_hero_visual figure:nth-child(2) { transform: translateY(36px); }
.result_hero_visual img {
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  box-shadow: 0 25px 70px rgba(0,0,0,.55);
  display: block;
  object-fit: cover;
  width: 100%;
}
.result_hero_visual figcaption {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  margin-top: 10px;
}
.result_hero_visual .is_creative figcaption { color: var(--contest-pink); }
.result_hero_visual .is_trend figcaption { color: var(--contest-blue); }
.result_scroll { color: rgba(255,255,255,.6); display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-decoration: none; }
.result_scroll:hover { color: #fff; }

/* ---------- 数字の帯 ---------- */
.result_stats { background: var(--contest-pink); color: #fff; padding: 56px 0; }
.result_stats_badge {
  background: #fff;
  border-radius: 999px;
  color: var(--contest-pink);
  display: inline-block;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  margin: 0 0 24px;
  padding: 8px 18px;
}
.result_stats_grid { display: grid; gap: 28px 16px; grid-template-columns: 1fr 1fr; }
.result_stat { border-left: 3px solid rgba(255,255,255,.55); padding-left: 16px; }
.result_stat dt { font-size: 12px; font-weight: 900; letter-spacing: .1em; margin: 0 0 6px; opacity: .85; }
.result_stat dd { font-size: 15px; font-weight: 900; margin: 0; }
.result_stat dd strong { display: inline-block; font-size: clamp(56px, 16vw, 104px); letter-spacing: -.05em; line-height: .95; margin-right: 4px; }
.result_stat dd small { display: block; font-size: 12px; font-weight: 700; margin-top: 8px; opacity: .85; }
.result_stats_note { font-size: 14px; font-weight: 700; line-height: 1.9; margin: 32px 0 0; }

/* ---------- セクション共通 ---------- */
.result_section { padding: 80px 0; }
.result_section h2 {
  font-size: clamp(30px, 8vw, 52px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.2;
  margin: 0 0 16px;
}
.result_section_lead { color: #666; line-height: 1.9; margin: 0 0 40px; }
.result_dark { background: var(--contest-black); color: #fff; }
.result_dark .result_section_lead { color: #aaa; }
.result_gray { background: #f6f6f6; }

/* ---------- 部門ごとのトップ3 ---------- */
.division { margin-bottom: 72px; }
.division:last-child { margin-bottom: 0; }
.division_head { align-items: baseline; display: flex; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 24px; }
.division_head p { font-size: 12px; font-weight: 900; letter-spacing: .16em; margin: 0; }
.division_head h3 { font-size: clamp(24px, 6vw, 34px); font-weight: 900; margin: 0; }
.division_creative .division_head p { color: var(--contest-pink); }
.division_trend .division_head p { color: var(--contest-blue); }

.podium { display: grid; gap: 18px; }
.podium_card {
  background: #151515;
  border-radius: 18px;
  border-top: 4px solid var(--accent);
  overflow: hidden;
}
.division_creative { --accent: var(--contest-pink); }
.division_trend { --accent: var(--contest-blue); }
.podium_card { display: flex; flex-direction: column; }
/* 写真枠は4:5で固定。ネイル写真がある作品は上下に分ける */
.podium_images { aspect-ratio: 4 / 5; background: #000; display: grid; gap: 2px; grid-template-rows: minmax(0, 1fr); overflow: hidden; }
.podium_images.has_two { grid-template-rows: minmax(0, 2fr) minmax(0, 1fr); }
.podium_images img { display: block; height: 100%; min-height: 0; object-fit: cover; width: 100%; }
.podium_images:not(.has_two) img.is_wide { object-fit: contain; }
.podium_body { padding: 24px 24px 28px; }
.podium_rank { color: var(--accent); font-size: 13px; font-weight: 900; letter-spacing: .14em; margin: 0 0 10px; }
.podium_title { font-size: 24px; font-weight: 900; line-height: 1.4; margin: 0 0 14px; }
.podium_person { font-size: 15px; font-weight: 700; margin: 0; }
.podium_person span { color: #999; display: block; font-size: 12px; font-weight: 400; margin-top: 4px; }
.podium_prize { color: #bbb; font-size: 12px; margin: 16px 0 0; }
/* 順位: メダル色（金・銀・銅）で示す */
.podium_gold { --medal: #e8c15a; --medal-dark: #8a6a14; }
.podium_silver { --medal: #d3d8df; --medal-dark: #5d6570; }
.podium_bronze { --medal: #d39561; --medal-dark: #6e3f17; }
.podium_card { border-top-color: var(--medal); }
.podium_images { position: relative; }
.podium_badge {
  align-items: center;
  background: var(--medal);
  border-radius: 0 0 16px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  color: #111;
  display: flex;
  gap: 10px;
  left: 0;
  padding: 10px 16px 10px 14px;
  pointer-events: none;
  position: absolute;
  top: 0;
}
.podium_badge b { font-size: 38px; font-weight: 900; letter-spacing: -.04em; line-height: 1; }
.podium_badge small { font-size: 11px; font-weight: 900; letter-spacing: .14em; line-height: 1.3; }
.podium_rank { color: var(--medal); font-size: 20px; letter-spacing: .04em; }
.podium_gp .podium_rank { font-size: 24px; }
.podium_gp .podium_badge b { font-size: 48px; }
.podium_gp .podium_title { font-size: 28px; }
.podium_card { box-shadow: 0 0 0 2px var(--medal), 0 18px 50px rgba(0,0,0,.45); }

/* ---------- 賞のカード（審査員賞・特別賞） ---------- */
.award_cards { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.award_card { background: #fff; border-radius: 14px; box-shadow: 0 8px 30px rgba(0,0,0,.06); overflow: hidden; }
.result_dark .award_card { background: #151515; box-shadow: none; }
.award_card_image { aspect-ratio: 4 / 5; background: #111; }
.award_card_image img { display: block; height: 100%; object-fit: cover; width: 100%; }
.award_card_image img.is_wide { object-fit: contain; }
.award_card_body { padding: 16px 14px; }
.award_card_name { color: var(--contest-pink); font-size: 15px; font-weight: 900; line-height: 1.45; margin: 0 0 10px; }
.award_card_body h3 { font-size: 15px; font-weight: 700; line-height: 1.45; margin: 0 0 8px; }
.award_card_person { font-size: 16px; font-weight: 900; line-height: 1.4; margin: 0; }
.award_card_person span { color: #888; display: block; font-size: 12px; font-weight: 400; line-height: 1.6; margin-top: 4px; }
.award_card_tag { border-radius: 999px; display: inline-block; font-size: 10px; font-weight: 900; letter-spacing: .06em; margin-top: 10px; padding: 3px 10px; }
.award_card_tag.is_creative { background: rgba(242,0,139,.12); color: var(--contest-pink); }
.award_card_tag.is_trend { background: rgba(32,143,255,.14); color: var(--contest-blue); }

/* ---------- 入賞一覧 ---------- */
.ranking_cols { display: grid; gap: 18px; }
.ranking_col { background: #fff; border-radius: 16px; box-shadow: 0 8px 30px rgba(0,0,0,.05); padding: 24px 22px; }
.ranking_col h3 { font-size: 18px; font-weight: 900; margin: 0 0 8px; }
.ranking_col.is_creative h3 { color: var(--contest-pink); }
.ranking_col.is_trend h3 { color: var(--contest-blue); }
.ranking_col ol { list-style: none; margin: 0; padding: 0; }
.ranking_col li { border-bottom: 1px solid #eee; display: flex; gap: 14px; padding: 12px 0; }
.ranking_col li:last-child { border-bottom: none; }
.ranking_col li > b { flex: 0 0 40px; font-size: 15px; font-weight: 900; }
.ranking_col li > span { min-width: 0; }
.ranking_col li strong { display: block; font-size: 15px; font-weight: 900; line-height: 1.5; }
.ranking_col li small { color: #777; display: block; font-size: 12px; line-height: 1.6; }

/* ---------- 審査員 ---------- */
.result_judges .judge_grid { gap: 12px; grid-template-columns: repeat(2, 1fr); }
.result_judges .judge_card { border-radius: 12px; padding: 0; }
.result_judges .judge_photo { margin: 0; width: 100%; }
.judges_label { color: var(--contest-pink); font-size: 12px; font-weight: 900; letter-spacing: .16em; margin: 40px 0 14px; }
.judges_label:first-of-type { margin-top: 0; }

/* ---------- 最後の案内 ---------- */
.result_final { background: linear-gradient(135deg, #111, #2c0920); color: #fff; padding: 80px 0 96px; text-align: center; }
.result_final p.label { color: var(--contest-pink); font-size: 12px; font-weight: 900; letter-spacing: .18em; margin: 0 0 12px; }
.result_final h2 { font-size: clamp(28px, 7vw, 44px); font-weight: 900; letter-spacing: -.03em; line-height: 1.35; margin: 0 0 18px; }
.result_final .lead { color: #ccc; line-height: 1.9; margin: 0 auto 32px; max-width: 640px; }
.result_final_ctas { display: grid; gap: 14px; justify-items: center; }
.result_final .line_cta { margin: 0 auto; }
.result_final .line_cta strong, .ig_cta strong { font-size: clamp(17px, 4.8vw, 22px); white-space: nowrap; }
.ig_cta {
  align-items: center;
  background: linear-gradient(90deg, #f58529, #dd2a7b 45%, #8134af 75%, #515bd4);
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(221,42,123,.3);
  color: #fff;
  display: inline-flex;
  gap: 16px;
  justify-content: center;
  max-width: 520px;
  padding: 20px 24px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
  width: 100%;
}
.ig_cta:hover { box-shadow: 0 16px 34px rgba(221,42,123,.38); color: #fff; transform: translateY(-2px); }
.ig_cta strong { display: block; font-weight: 900; }
.ig_cta > span { text-align: center; }
.ig_cta small { display: block; font-size: 12px; font-weight: 700; opacity: .9; }
@media (max-width: 360px) {
  .ig_cta { gap: 12px; padding: 18px 16px; }
}

@media (min-width: 768px) {
  .result_hero { padding: 132px 0 96px; }
  .result_hero_grid { grid-template-columns: 1fr 1fr; }
  .result_stats { padding: 72px 0; }
  .result_stats_grid { grid-template-columns: repeat(4, 1fr); }
  .result_section { padding: 110px 0; }
  .podium { gap: 28px; justify-items: center; }
  .podium_card { max-width: 640px; width: 100%; }
  .award_cards { gap: 18px; grid-template-columns: repeat(4, 1fr); }
  .award_card_body { padding: 18px; }
  .award_card_name { font-size: 17px; }
  .award_card_person { font-size: 19px; }
  .ranking_cols { grid-template-columns: 1fr 1fr; }
  .result_judges .judge_grid { gap: 16px; grid-template-columns: repeat(4, 1fr); }
}

/* ---------- 画像モーダル ---------- */
.is_zoomable { cursor: zoom-in; }
.lightbox {
  align-items: center;
  background: rgba(0,0,0,.92);
  display: flex;
  flex-direction: column;
  inset: 0;
  justify-content: center;
  padding: 56px 16px 24px;
  position: fixed;
  z-index: 10000;
}
.lightbox[hidden] { display: none; }
.lightbox_img { border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.6); display: block; max-height: calc(100vh - 120px); max-width: min(100%, 960px); object-fit: contain; }
.lightbox_caption { color: #ddd; font-size: 13px; margin: 14px 0 0; text-align: center; }
.lightbox_close {
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-size: 40px;
  line-height: 1;
  padding: 8px 14px;
  position: absolute;
  right: 8px;
  top: 8px;
}
