/* ==========================================================
   決勝大会 結果発表 2026（result2026）
   既存の style.css には手を入れず、このファイルだけで完結させる
   トーン：深い海のネイビー × ゴールド。明朝の見出しで格調を出す
   ========================================================== */
.r26 {
  --r26-deep: #050f26;
  --r26-navy: #0a1c44;
  --r26-navy-2: #10295e;
  --r26-line: rgba(214, 178, 94, 0.35);
  --r26-gold: #d6b25e;
  --r26-gold-2: #f4e2a8;
  --r26-gold-3: #9c7a2c;
  --r26-ice: #e8eef7;
  --r26-mute: #a9b6cf;
  --r26-blue: #3fb6f0;
  --r26-coral: #f0857f;
  --r26-mincho: "Shippori Mincho B1", "Hiragino Mincho ProN", serif;
  --r26-serif-en: "Cormorant Garamond", "Times New Roman", serif;
  --r26-en: "Outfit", sans-serif;
  position: relative;
  color: var(--r26-ice);
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.9;
  background:
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(63, 182, 240, 0.18), transparent 70%),
    linear-gradient(180deg, var(--r26-deep) 0%, var(--r26-navy) 30%, var(--r26-navy) 70%, var(--r26-deep) 100%);
  overflow: hidden;
}
.r26 img,
.r26 video {
  display: block;
  width: 100%;
  height: auto;
}
.r26 figure {
  margin: 0;
}
.r26-sp {
  display: inline;
}

/* ゴールドの文字（共通） */
.r26-goldtext {
  background: linear-gradient(100deg, var(--r26-gold-3), var(--r26-gold-2) 35%, var(--r26-gold) 55%, var(--r26-gold-2) 75%, var(--r26-gold-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- ヘッダー ---------- */
.r26__hero {
  position: relative;
  padding: 96px 0 160px;
  text-align: center;
}
.r26__hero::before {
  /* 細い金の罫線フレーム */
  content: "";
  position: absolute;
  inset: 24px 16px auto;
  height: calc(100% - 80px);
  border: 1px solid var(--r26-line);
  border-radius: 4px;
  pointer-events: none;
}
.r26__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--r26-serif-en);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(16px, 2vw, 22px);
  letter-spacing: 0.12em;
  color: var(--r26-gold);
}
.r26__eyebrow::before,
.r26__eyebrow::after {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--r26-gold);
}
.r26__ttl {
  margin-top: 14px;
  font-family: var(--r26-mincho);
  font-weight: 800;
  font-size: clamp(34px, 7vw, 76px);
  line-height: 1.25;
  letter-spacing: 0.08em;
  color: #fff;
}
.r26__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 22px;
  margin-top: 18px;
  font-family: var(--r26-en);
  font-weight: 500;
  font-size: clamp(13px, 1.5vw, 15px);
  letter-spacing: 0.14em;
  color: var(--r26-mute);
}
.r26__lead {
  max-width: 680px;
  margin: 32px auto 0;
  padding: 0 8px;
  font-size: clamp(14px, 1.7vw, 16px);
  text-align: left;
  color: var(--r26-ice);
}
.r26__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 760px;
  margin: 48px auto 0;
  padding: 0;
  list-style: none;
}
.r26__stats li {
  padding: 4px 8px;
}
.r26__stats li + li {
  border-left: 1px solid var(--r26-line);
}
.r26__stats b {
  display: block;
  font-family: var(--r26-serif-en);
  font-weight: 600;
  font-size: clamp(48px, 9vw, 96px);
  line-height: 1;
  background: linear-gradient(180deg, var(--r26-gold-2), var(--r26-gold) 60%, var(--r26-gold-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.r26__stats span {
  display: block;
  margin-top: 10px;
  font-size: clamp(11px, 1.3vw, 13px);
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: var(--r26-mute);
}

/* ---------- ダイジェスト動画 ---------- */
.r26__movie {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: -96px auto 0;
  padding: 0 16px;
}
.r26__movie-frame {
  position: relative;
  overflow: hidden;
  padding: 1px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--r26-gold-2), var(--r26-gold-3) 40%, var(--r26-gold) 70%, var(--r26-gold-2));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.r26__movie-frame video {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 5px;
  background: #000;
}
.r26__play {
  position: absolute;
  inset: 1px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: calc(100% - 2px);
  border: 0;
  border-radius: 5px;
  color: #fff;
  font-family: var(--r26-mincho);
  font-weight: 600;
  font-size: clamp(14px, 2vw, 20px);
  letter-spacing: 0.12em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  background: radial-gradient(circle at 50% 50%, rgba(5, 15, 38, 0.2), rgba(5, 15, 38, 0.7));
  cursor: pointer;
}
.r26__play-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(68px, 10vw, 104px);
  aspect-ratio: 1;
  border: 1px solid var(--r26-gold-2);
  border-radius: 50%;
  background: rgba(5, 15, 38, 0.45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: transform 0.4s, background 0.4s;
}
.r26__play-icon::after {
  content: "";
  position: absolute;
  inset: -10px;
  border: 1px solid var(--r26-line);
  border-radius: 50%;
  animation: r26-ring 2.4s ease-out infinite;
}
.r26__play:hover .r26__play-icon {
  transform: scale(1.06);
  background: rgba(214, 178, 94, 0.35);
}
.r26__play-icon::before {
  content: "";
  margin-left: 10%;
  border-style: solid;
  border-width: 13px 0 13px 22px;
  border-color: transparent transparent transparent var(--r26-gold-2);
}
.r26__play[hidden] {
  display: none;
}
.r26__movie-cap {
  margin-top: 16px;
  font-size: 13px;
  text-align: center;
  color: var(--r26-mute);
}
@keyframes r26-ring {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* ---------- セクション共通見出し ---------- */
.r26__block {
  max-width: 1080px;
  margin: 0 auto;
  padding: 96px 16px 0;
}
.r26__h3 {
  text-align: center;
  font-family: var(--r26-mincho);
  font-weight: 800;
  font-size: clamp(24px, 3.6vw, 38px);
  line-height: 1.45;
  letter-spacing: 0.08em;
  color: #fff;
}
.r26__h3 small {
  display: block;
  margin-bottom: 6px;
  font-family: var(--r26-serif-en);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(15px, 1.8vw, 19px);
  letter-spacing: 0.14em;
  color: var(--r26-gold);
}
.r26__h3::after {
  content: "";
  display: block;
  width: 56px;
  height: 1px;
  margin: 18px auto 0;
  background: var(--r26-gold);
}

/* ---------- 最優秀賞 ---------- */
.r26-gp {
  position: relative;
  margin-top: 44px;
  padding: 1px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--r26-gold-2), var(--r26-gold-3) 35%, var(--r26-gold) 65%, var(--r26-gold-2));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 120px rgba(214, 178, 94, 0.12);
}
.r26-gp__inner {
  display: grid;
  overflow: hidden;
  border-radius: 5px;
  background: linear-gradient(160deg, #0f2659, var(--r26-deep));
}
.r26-gp__photo {
  position: relative;
}
.r26-gp__photo > img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.r26-gp__product {
  position: absolute;
  right: 14px;
  bottom: -44px;
  width: 32%;
  max-width: 190px;
  overflow: hidden;
  padding: 1px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--r26-gold-2), var(--r26-gold-3));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}
.r26-gp__product img {
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 55%;
  border-radius: 5px;
  transform: scale(1.45);
}
.r26-gp__body {
  padding: 56px 24px 36px;
}
.r26-gp__badge {
  font-family: var(--r26-mincho);
  font-weight: 800;
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.2;
  letter-spacing: 0.1em;
}
.r26-gp__badge span {
  display: block;
  margin-top: 6px;
  font-family: var(--r26-serif-en);
  font-style: italic;
  font-weight: 500;
  font-size: 0.45em;
  letter-spacing: 0.2em;
}
.r26-gp__school {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--r26-line);
  font-family: var(--r26-mincho);
  font-weight: 800;
  font-size: clamp(20px, 2.6vw, 26px);
  line-height: 1.5;
  color: #fff;
}
.r26-gp__product-name {
  margin-top: 8px;
  font-weight: 700;
  font-size: clamp(16px, 2vw, 19px);
  color: var(--r26-gold-2);
}
.r26-gp__text {
  margin-top: 16px;
  font-size: 14px;
  text-align: justify;
  color: var(--r26-ice);
}

/* 課題魚ラベル（共通） */
.r26-fish {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 1px 12px;
  border: 1px solid var(--r26-line);
  border-radius: 2px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--r26-ice);
}
.r26-fish::before {
  content: "課題魚";
  font-size: 10px;
  color: var(--r26-gold);
}

/* ---------- 各賞 ---------- */
.r26-awards {
  display: grid;
  gap: 28px;
  margin-top: 44px;
}
.r26-award {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--r26-line);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(16, 41, 94, 0.9), rgba(5, 15, 38, 0.9));
  transition: transform 0.5s, box-shadow 0.5s;
}
.r26-award:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.r26-award__photo {
  position: relative;
}
.r26-award__photo > img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.r26-award__product {
  position: absolute;
  right: 12px;
  bottom: -30px;
  width: 26%;
  overflow: hidden;
  padding: 1px;
  border-radius: 5px;
  background: var(--r26-gold);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.45);
}
.r26-award__product img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
  transform: scale(1.45);
}
.r26-award__body {
  flex: 1;
  padding: 24px 22px 28px;
}
.r26-award__name {
  font-family: var(--r26-mincho);
  font-weight: 800;
  font-size: clamp(19px, 2.2vw, 23px);
  letter-spacing: 0.08em;
  color: var(--r26-gold-2);
}
.r26-award__criteria {
  margin-top: 2px;
  font-size: 12px;
  color: var(--r26-mute);
}
.r26-award__school {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--r26-line);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.6;
  color: #fff;
}
.r26-award__product-name {
  font-weight: 500;
  color: var(--r26-gold);
}
.r26-award__text {
  margin-top: 12px;
  font-size: 13.5px;
  text-align: justify;
  color: var(--r26-ice);
}

/* ---------- 全員の集合写真（全幅） ---------- */
.r26-panorama {
  position: relative;
  margin-top: 110px;
}
.r26-panorama img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.r26-panorama::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--r26-navy) 0%, transparent 18%, transparent 55%, rgba(5, 15, 38, 0.92) 100%);
  pointer-events: none;
}
.r26-panorama figcaption {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 22px;
  padding: 0 16px;
  text-align: center;
}
.r26-panorama__copy {
  font-family: var(--r26-mincho);
  font-weight: 800;
  font-size: clamp(20px, 3.6vw, 40px);
  line-height: 1.5;
  letter-spacing: 0.1em;
  color: #fff;
}
.r26-panorama__note {
  margin-top: 4px;
  font-size: 12px;
  color: var(--r26-mute);
}

/* ---------- 決勝進出9チームの商品 ---------- */
.r26-teams {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 44px;
  padding: 0;
  list-style: none;
}
.r26-team {
  overflow: hidden;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.r26-team__img {
  position: relative;
  overflow: hidden;
  background: #dfe3e8;
}
.r26-team__img img {
  aspect-ratio: 1;
  object-fit: cover;
  transform: scale(1.3);
  transition: transform 0.8s;
}
.r26-team:hover .r26-team__img img {
  transform: scale(1.42);
}
.r26-team__no {
  position: absolute;
  top: 8px;
  left: 10px;
  font-family: var(--r26-serif-en);
  font-weight: 600;
  font-size: 26px;
  line-height: 1;
  color: var(--r26-navy);
}
.r26-team__award {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 3px 8px;
  background: linear-gradient(90deg, var(--r26-gold-3), var(--r26-gold) 50%, var(--r26-gold-3));
  color: var(--r26-deep);
  font-family: var(--r26-mincho);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-align: center;
}
.r26-team__body {
  padding: 12px 12px 16px;
}
.r26-team__product {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.5;
  color: #fff;
}
.r26-team__school {
  margin-top: 4px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--r26-mute);
}
.r26-team .r26-fish {
  margin-top: 10px;
  font-size: 11px;
}

/* ---------- 大会概要 ---------- */
.r26-outline {
  margin-top: 44px;
  padding: 8px 22px;
  border: 1px solid var(--r26-line);
  border-radius: 6px;
}
.r26-outline div {
  display: grid;
  gap: 2px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(214, 178, 94, 0.18);
}
.r26-outline div:last-child {
  border-bottom: 0;
}
.r26-outline dt {
  font-family: var(--r26-mincho);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--r26-gold);
}
.r26-outline dd {
  margin: 0;
  font-size: 15px;
}
.r26-outline dd small {
  display: block;
  font-size: 12.5px;
  color: var(--r26-mute);
}
.r26__closing {
  max-width: 760px;
  margin: 0 auto;
  padding: 100px 16px 110px;
  text-align: center;
  font-family: var(--r26-mincho);
  font-weight: 800;
  font-size: clamp(18px, 2.6vw, 28px);
  line-height: 1.9;
  letter-spacing: 0.08em;
  color: #fff;
}
.r26__closing span {
  color: var(--r26-gold-2);
}

/* スマホ：集合写真のキャプションは写真の下に置き、顔にかからないようにする */
@media screen and (max-width: 767px) {
  .r26-panorama::after {
    background: linear-gradient(180deg, var(--r26-navy) 0%, transparent 15%);
  }
  .r26-panorama figcaption {
    position: static;
    padding-top: 18px;
  }
}

/* ---------- スクロールで表示 ---------- */
.js-r26 .r26-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1s ease, transform 1s ease;
}
.js-r26 .r26-reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js-r26 .r26-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .r26__play-icon::after {
    animation: none;
  }
}

/* ---------- タブレット以上 ---------- */
@media screen and (min-width: 768px) {
  .r26-sp {
    display: none;
  }
  .r26__hero {
    padding: 130px 0 200px;
  }
  .r26__hero::before {
    inset: 40px 40px auto;
    height: calc(100% - 120px);
  }
  .r26__movie {
    margin-top: -130px;
    padding: 0 24px;
  }
  .r26__block {
    padding: 130px 24px 0;
  }
  .r26-gp__inner {
    grid-template-columns: 1.2fr 1fr;
  }
  .r26-gp__photo > img {
    height: 100%;
    min-height: 480px;
    aspect-ratio: auto;
  }
  .r26-gp__product {
    right: -36px;
    bottom: 32px;
    width: 30%;
  }
  .r26-gp__body {
    align-self: center;
    padding: 48px 44px 48px 64px;
  }
  .r26-awards {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .r26-panorama {
    margin-top: 140px;
  }
  .r26-panorama img {
    aspect-ratio: 21 / 9;
    object-position: center 40%;
  }
  .r26-panorama figcaption {
    bottom: 40px;
  }
  .r26-teams {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .r26-team__product {
    font-size: 15px;
  }
  .r26-outline {
    padding: 12px 44px;
  }
  .r26-outline div {
    grid-template-columns: 130px 1fr;
    gap: 24px;
  }
}
