/* 読書感想文大会2026 結果発表ページ専用（news-detail.css の上に重ねる） */
.result-page { --gold1:#f6e3a1; --gold2:#c9982f; --gold3:#8a5f12; --silver1:#eef4fb; --silver2:#9db7d4; --silver3:#5b7a9c; --wood1:#f5cfa3; --wood2:#c97a3a; --wood3:#7a3f12; }

/* ヒーロー */
.result-hero { position: relative; overflow: hidden; }
.result-hero .confetti { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.result-hero .confetti span { position: absolute; top: -20px; display: block; opacity: .9; animation: confetti-fall linear infinite; transform: rotate(15deg); }
@keyframes confetti-fall { 0% { transform: translateY(-20px) rotate(0deg); opacity: 0; } 8% { opacity: .95; } 100% { transform: translateY(110vh) rotate(540deg); opacity: 0; } }
.result-hero .article-hero-inner { position: relative; z-index: 1; }
.result-kicker { display: block; font-family: "Zen Kaku Gothic New", sans-serif; font-weight: 700; font-size: clamp(14px, 1.6vw, 18px); letter-spacing: .3em; color: #e8604c; margin-bottom: 10px; }
.result-title-sub { display: inline-block; margin-top: 10px; padding: 4px 22px; background: #e8604c; color: #fff; border-radius: 999px; font-size: .78em; letter-spacing: .12em; transform: rotate(-2deg); box-shadow: 0 6px 18px rgba(232,96,76,.35); }
.result-visual { position: relative; }
.result-stamp { position: absolute; right: 4%; top: 6%; width: clamp(84px, 11vw, 140px); aspect-ratio: 1; display: grid; place-items: center; border: 4px double #e8604c; border-radius: 50%; color: #e8604c; font-family: "Zen Old Mincho", serif; font-weight: 900; font-size: clamp(18px, 2.6vw, 32px); line-height: 1.1; text-align: center; background: rgba(255,255,255,.82); transform: rotate(-12deg); box-shadow: 0 8px 24px rgba(18,54,94,.25); }

/* 挨拶 */
.p-greeting { font-family: "Zen Old Mincho", serif; font-weight: 700; font-size: 1.15em; color: #0a7fc4; }

.section-head { margin: clamp(40px, 6vw, 70px) auto 18px; }
.section-head h2 { margin: 0; font-size: clamp(24px, 3.4vw, 34px); }
.section-lead { margin: 8px 0 0; color: #456; }

/* 賞ブロック */
.award-block, .part-block { max-width: 1040px; margin: 0 auto clamp(48px, 7vw, 90px); padding: 0 16px; }
.award-block-grand { max-width: 1120px; }
.award-head { text-align: center; margin-bottom: 18px; }
.award-ribbon { display: inline-block; margin: 0 0 8px; padding: 8px 26px; background: linear-gradient(90deg, #0a7fc4, #4fc3ed); color: #fff; font-family: "Zen Old Mincho", serif; font-weight: 700; font-size: clamp(18px, 2.4vw, 26px); letter-spacing: .06em; border-radius: 6px; position: relative; box-shadow: 0 6px 16px rgba(10,127,196,.28); }
.award-ribbon::before, .award-ribbon::after { content: ""; position: absolute; top: 8px; width: 0; height: 0; border: 12px solid transparent; z-index: -1; }
.award-ribbon::before { left: -18px; border-right-color: #0a6aa3; border-left-width: 8px; }
.award-ribbon::after { right: -18px; border-left-color: #0a6aa3; border-right-width: 8px; }
.award-block-grand .award-ribbon { background: linear-gradient(90deg, #b8862e, #f0d27a, #b8862e); color: #3d2500; font-size: clamp(22px, 3vw, 32px); box-shadow: 0 8px 22px rgba(184,134,46,.4); }
.award-block-grand .award-ribbon::before { border-right-color: #8a5f12; }
.award-block-grand .award-ribbon::after { border-left-color: #8a5f12; }
.part-ribbon { background: linear-gradient(90deg, #c97a3a, #e8a06a); font-size: clamp(16px, 2vw, 21px); }
.part-ribbon::before { border-right-color: #9a5220; } .part-ribbon::after { border-left-color: #9a5220; }
.award-head .award-theme { margin: 0 0 10px; font-size: 13px; color: #5a7590; }
.entrant { margin: 0; font-size: 16px; }
.entrant-name { font-family: "Zen Old Mincho", serif; font-weight: 700; font-size: 1.25em; color: #12365e; }
.entrant a { color: #0a7fc4; text-decoration: none; margin-left: 6px; font-size: 14px; }
.entrant a:hover { text-decoration: underline; }
.entrant-sub { margin-left: 6px; font-size: 13px; color: #5a7590; }

.award-prize { margin: 10px auto 0; max-width: 720px; font-size: 13px; line-height: 1.7; color: #12365e; background: rgba(255,255,255,.7); border: 1px solid rgba(18,54,94,.15); border-radius: 999px; padding: 6px 16px; display: inline-block; }
.award-prize span { display: inline-block; margin-right: 8px; padding: 1px 8px; background: #e8604c; color: #fff; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .06em; }
@media (max-width: 640px) { .award-prize { border-radius: 14px; text-align: left; } }

/* 額縁 */
.frame { position: relative; padding: clamp(14px, 2.2vw, 24px); border-radius: 4px; box-shadow: 0 18px 40px rgba(18,54,94,.28), inset 0 0 0 1px rgba(255,255,255,.35); }
.frame::before { content: ""; position: absolute; inset: 7px; border: 2px solid rgba(255,255,255,.55); pointer-events: none; }
.frame::after { content: ""; position: absolute; inset: 11px; border: 1px solid rgba(0,0,0,.25); pointer-events: none; }
.frame-gold { background: linear-gradient(135deg, var(--gold3) 0%, var(--gold2) 18%, var(--gold1) 40%, var(--gold2) 62%, var(--gold3) 82%, var(--gold1) 100%); }
.frame-silver { background: linear-gradient(135deg, var(--silver3) 0%, var(--silver2) 22%, var(--silver1) 45%, var(--silver2) 68%, var(--silver3) 100%); }
.frame-wood { background: repeating-linear-gradient(95deg, var(--wood2) 0 6px, #b86a2e 6px 9px, var(--wood2) 9px 16px), linear-gradient(135deg, var(--wood3), var(--wood1)); background-blend-mode: multiply; }
.frame .c { position: absolute; width: clamp(26px, 3.6vw, 40px); height: clamp(26px, 3.6vw, 40px); background: radial-gradient(circle at 40% 40%, #fff8dc 0 22%, #c9982f 24% 46%, transparent 48%), radial-gradient(circle at 60% 60%, transparent 0 30%, rgba(0,0,0,.25) 32% 40%, transparent 42%); border-radius: 50%; filter: drop-shadow(0 2px 2px rgba(0,0,0,.3)); z-index: 2; }
.frame-silver .c { background: radial-gradient(circle at 40% 40%, #fff 0 22%, #7f9bbd 24% 46%, transparent 48%); }
.frame-wood .c { background: radial-gradient(circle at 40% 40%, #ffe7c7 0 22%, #8a4a1a 24% 46%, transparent 48%); }
.frame .c1 { top: -6px; left: -6px; } .frame .c2 { top: -6px; right: -6px; } .frame .c3 { bottom: -6px; left: -6px; } .frame .c4 { bottom: -6px; right: -6px; }
.frame-inner { position: relative; background: #fffdf6; padding: clamp(18px, 3vw, 36px); box-shadow: inset 0 0 0 6px #fff, inset 0 0 0 7px rgba(120,80,20,.3), inset 0 0 40px rgba(120,80,20,.08); }
.frame-silver .frame-inner { box-shadow: inset 0 0 0 6px #fff, inset 0 0 0 7px rgba(60,90,130,.3), inset 0 0 40px rgba(60,90,130,.08); }
.work-text { font-family: "Zen Old Mincho", serif; font-size: clamp(15px, 1.5vw, 17px); line-height: 2; color: #1d2b3a; }
.work-text p { margin: 0; }
.work-text p.blank { height: 1em; }
.work-more { margin-top: 18px; padding-top: 14px; border-top: 1px dashed rgba(120,80,20,.35); }
.work-more-label { font-family: "Zen Kaku Gothic New", sans-serif; font-size: 12px; color: #8a5f12; margin-bottom: 4px !important; }
.work-more-link { display: inline-block; margin-top: 6px; font-family: "Zen Kaku Gothic New", sans-serif; font-size: 12px; color: #0a7fc4; }
.work-figure { margin: 0 auto 18px; width: 50%; max-width: 480px; }
.work-figure img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: contain; background: #f2f2f2; border: 1px solid rgba(0,0,0,.08); }
.work-figures { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.work-figures .work-figure { flex: 0 1 50%; max-width: 480px; margin: 0; }
.work-figures .work-figure img { max-height: 420px; }
.plaque { margin: -6px auto 0; width: fit-content; max-width: 92%; padding: 8px 26px; background: linear-gradient(180deg, #3b2a12, #6b4a1c); color: #f6e3a1; font-family: "Zen Old Mincho", serif; font-weight: 700; font-size: clamp(13px, 1.6vw, 16px); letter-spacing: .08em; border-radius: 0 0 8px 8px; box-shadow: 0 8px 18px rgba(0,0,0,.25); text-align: center; position: relative; z-index: 1; }
.frame-silver + .plaque { background: linear-gradient(180deg, #2a3a50, #4d6482); color: #eef4fb; }
.frame-wood + .plaque { background: linear-gradient(180deg, #4a2810, #7a3f12); color: #ffe7c7; }

/* 山口Pコメント（吹き出し） */
.p-comment { position: relative; margin: 26px auto 0; max-width: 820px; padding: 20px 24px 18px; background: #fff; border: 2px solid #4fc3ed; border-radius: 16px; box-shadow: 0 8px 22px rgba(10,127,196,.12); }
.p-comment::before { content: ""; position: absolute; top: -14px; left: 40px; width: 24px; height: 24px; background: #fff; border-left: 2px solid #4fc3ed; border-top: 2px solid #4fc3ed; transform: rotate(45deg); }
.p-comment-label { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 13px; color: #0a7fc4; font-weight: 700; letter-spacing: .06em; }
.p-comment-label span { display: inline-block; padding: 2px 10px; background: #0a7fc4; color: #fff; border-radius: 999px; font-size: 12px; }
.p-comment p { margin: 0 0 8px; font-size: 15px; line-height: 1.9; }
.p-comment p:last-child { margin-bottom: 0; }

/* 参加賞は少し小ぶり */
.part-block .frame-inner { padding: clamp(16px, 2.4vw, 28px); }
.part-block .work-text { font-size: clamp(14px, 1.4vw, 16px); }

/* 賞品・連絡 */
.prize-note .rule-list li { line-height: 1.9; }
.missing-call { margin-top: 26px; padding: 18px 22px; border: 2px solid #e8604c; border-radius: 12px; background: rgba(232,96,76,.06); }
.missing-call p { margin: 0 0 6px; line-height: 1.9; }
.missing-call p:last-child { margin: 0; }
.missing-call strong { color: #e8604c; font-size: 1.05em; }
.closing-sign { text-align: right; font-size: 14px; color: #456; margin-top: 6px; }

@media (max-width: 640px) {
  .work-figure { width: 70%; }
  .work-figures .work-figure { flex-basis: 70%; }
  .award-block, .part-block { padding: 0 8px; }
  .frame { padding: 12px; }
  .frame-inner { padding: 14px; }
  .plaque { font-size: 12px; padding: 6px 16px; }
  .result-stamp { right: 2%; top: 4%; }
}

/* 掲載にあたっての注記 */
.work-note { margin: 10px auto 0; max-width: 92%; color: #6f7a86; font-size: clamp(11px, 1.3vw, 12.5px); text-align: right; line-height: 1.7; }
.result-disclaimer { margin-top: 18px; padding: 12px 16px; border-left: 3px solid #cfd8e0; background: #f7f9fb; color: #5d6a76; font-size: clamp(12px, 1.4vw, 13.5px); line-height: 1.8; border-radius: 0 6px 6px 0; }

/* 賞品ギャラリー */
.prize-gallery { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 4px 0 14px; }
.prize-item { margin: 0; }
.prize-item img { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 10px 26px rgba(18,54,94,.18); }
.prize-item-card img { max-width: 320px; margin: 0 auto; }
.prize-item-stands img { background: linear-gradient(180deg, #f4f8fc, #e3ecf4); padding: 14px 10px 6px; }
.prize-item figcaption { margin-top: 9px; text-align: center; font-size: clamp(12.5px, 1.5vw, 14px); color: #12365e; line-height: 1.7; }
.prize-item figcaption strong { font-weight: 700; }
.prize-item figcaption span { display: inline-block; margin-left: .5em; color: #6f7a86; font-size: .92em; }
.prize-gallery-note { margin: 0 0 18px; color: #6f7a86; font-size: clamp(11.5px, 1.35vw, 12.5px); line-height: 1.8; }
@media (min-width: 720px) { .prize-item-card img { max-width: 280px; } }

/* ---- 賞品を知らせるフロート（トップのシーサーと同じ仕組み） ---- */
.prize-float {
  position: fixed; z-index: 90;
  left: clamp(12px, 2vw, 28px); bottom: clamp(12px, 2vw, 28px);
  padding: 11px 11px 0 0;              /* ×が画面の外へ出ないぶんの余白 */
  filter: drop-shadow(0 10px 24px rgba(6,44,78,.28));
  opacity: 0; translate: 0 16px;
  transition: opacity .45s ease, translate .45s cubic-bezier(.2,.9,.3,1.2);
}
.prize-float.is-shown { opacity: 1; translate: 0 0; }
.prize-float[hidden] { display: none; }
.prize-float-body {
  display: block; width: clamp(200px, 23vw, 290px);
  padding: 10px 11px 9px; border-radius: 14px;
  background: #fff; color: #12365e; text-decoration: none;
  transition: transform .2s ease;
}
.prize-float-body:hover { transform: translateY(-3px); }
.prize-float-head { display: flex; align-items: center; gap: 7px; margin-bottom: 8px; font-family: "Zen Old Mincho", serif; font-weight: 900; font-size: clamp(12px, 1.35vw, 15px); line-height: 1.35; }
.prize-float-new { flex: none; padding: 2px 7px; border-radius: 999px; background: #e8604c; color: #fff; font-family: "Zen Kaku Gothic New", sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.prize-float-img { display: block; width: 100%; height: auto; }
.prize-float-more { display: block; margin-top: 7px; color: #0879bb; font-size: clamp(11px, 1.2vw, 12.5px); font-weight: 700; }
.prize-float-close {
  position: absolute; top: 0; right: 0; width: 22px; height: 22px; padding: 0;
  border: 2px solid #12365e; border-radius: 50%;
  color: #12365e; background: #fff; font-size: 13px; line-height: 1; cursor: pointer;
}
.prize-float-close:hover { color: #fff; background: #12365e; }
@media (max-width: 720px) {
  .prize-float-body { width: min(52vw, 220px); }
}
@media (prefers-reduced-motion: reduce) {
  .prize-float { transition: none; }
  .prize-float-body:hover { transform: none; }
}

/* W受賞（同じ賞を2人に贈るとき） */
.award-double { display: inline-block; margin-left: .5em; padding: 2px 10px; border-radius: 999px; background: #12365e; color: #fff; font-family: "Zen Kaku Gothic New", sans-serif; font-size: .62em; font-weight: 700; letter-spacing: .1em; vertical-align: middle; }
.award-second { margin: 34px auto 14px; padding-top: 26px; border-top: 2px dashed #cfd8e0; max-width: 760px; }
.award-second .entrant { margin-top: 0; }

/* 追記のお知らせ */
.result-added { margin-top: 18px; padding: 13px 16px; border-left: 3px solid #e8604c; background: rgba(232,96,76,.07); color: #12365e; font-size: clamp(12.5px, 1.45vw, 14px); line-height: 1.85; border-radius: 0 6px 6px 0; }
.result-added strong { color: #e8604c; }
