/* 長崎さくらレジェンズオープン 公式サイト（Wix版の再現） */
:root {
  --pink: #f7808a;
  --pink-deep: #f47e88;
  --pink-light: #fcc5cc;
  --pink-pale: #fde5e8;
  --beige: #f7efea;
  --text: #111;
  --sub: #333;
  --container: min(820px, 92%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--pink);
  height: 70px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px 0 20px;
}
.site-header .logo img { height: 56px; width: auto; }
.gnav { display: flex; align-items: center; gap: 28px; }
.gnav ul { display: flex; gap: 28px; list-style: none; }
.gnav a { color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .02em; }
.gnav a:hover { opacity: .75; }
.gnav .ig { display: flex; margin-left: 24px; }
.gnav .ig svg { width: 26px; height: 26px; }
.menu-btn { display: none; background: none; border: 0; color: #fff; cursor: pointer; }
.menu-btn svg { width: 32px; height: 32px; }

/* ---------- 見出し ---------- */
.sec-title {
  text-align: center; font-size: 24px; font-weight: 700;
  margin-bottom: 38px;
}
.sec-title::after {
  content: ""; display: block;
  width: 200px; max-width: 60%; height: 4px;
  background: var(--pink); margin: 14px auto 0;
}
.sec-title.thin { font-weight: 500; font-size: 24px; }
.sec-title.thin::after { width: 180px; height: 3px; }

section { padding: 64px 0; }
.bg-beige { background: var(--beige); }
.container { width: var(--container); margin: 0 auto; }

/* ---------- ファーストビュー ---------- */
.hero { position: relative; padding: 0; text-align: center; }
.hero .main-logo { width: min(640px, 76%); margin: 0 auto; padding: 110px 0 80px; }
.hero .badges { position: absolute; top: 36px; right: 30px; display: flex; align-items: center; }
.hero .jlpga { width: 170px; }
.volunteer-badge {
  width: 150px; height: 150px; border-radius: 50%;
  background: #3fae59; color: #fff;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: 20px; font-weight: 700; line-height: 1.5;
  margin-left: 14px; position: relative;
  transition: transform .2s;
}
.volunteer-badge:hover { transform: scale(1.05); }

.date-bar {
  background: var(--pink-deep);
  display: flex; align-items: center; justify-content: center; gap: 44px;
  padding: 40px 20px; flex-wrap: wrap;
}
.date-bar .date {
  white-space: nowrap; color: #fff; font-family: "Shippori Mincho", "Noto Serif JP", serif;
  font-weight: 700; font-size: clamp(28px, 3.6vw, 52px); line-height: 1.1; letter-spacing: .01em;
}
.date-bar .free {
  background: #fff; color: var(--pink-deep);
  font-family: "Shippori Mincho", "Noto Serif JP", serif; font-weight: 700;
  font-size: clamp(28px, 3.6vw, 52px); line-height: 1; padding: 8px 28px 11px;
}

/* ---------- 大会概要 ---------- */
.overview-lead { text-align: center; font-size: 22px; font-weight: 500; line-height: 1.5; margin-bottom: 50px; }
.prize {
  background: var(--pink); color: #fff;
  display: flex; align-items: center; justify-content: center; gap: 30px;
  padding: 18px 20px; flex-wrap: wrap;
}
.prize .item { display: flex; align-items: baseline; gap: 10px; }
.prize .label {
  background: #111; color: #fff; border-radius: 30px;
  font-size: 15px; font-weight: 700; padding: 5px 20px; align-self: center;
}
.prize .num { font-family: "Roboto", sans-serif; font-weight: 900; font-size: 72px; line-height: 1; margin-left: 10px; }
.prize .unit { font-size: 28px; font-weight: 700; }

.info-table {
  width: 100%; border-collapse: collapse; margin-top: 34px;
  background: #fff; border-radius: 10px; overflow: hidden;
  font-size: 16px;
}
.info-table th {
  background: var(--pink-light); width: 21%;
  font-weight: 500; padding: 17px 10px; text-align: center; vertical-align: top;
  white-space: nowrap;
}
.info-table td { padding: 17px 22px; border-left: 1px solid var(--pink-light); }
.info-table tr + tr th, .info-table tr + tr td { border-top: 1px solid #222; }
.info-table .note { font-size: 14px; color: var(--sub); margin-top: 26px; line-height: 1.5; padding-bottom: 30px; }

/* ---------- Instagram ---------- */
.ig-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  width: min(780px, 92%); margin: 0 auto;
}
.ig-grid a { position: relative; aspect-ratio: 1; overflow: hidden; display: block; }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ig-grid .cap {
  position: absolute; inset: 0; background: rgba(0,0,0,.55); color: #fff;
  font-size: 14px; line-height: 1.6; padding: 18px; white-space: pre-line;
  opacity: 0; transition: opacity .3s; overflow: hidden;
}
.ig-grid a:hover .cap { opacity: 1; }
.ig-grid a:hover img { transform: scale(1.04); }
.ig-follow {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  margin-top: 30px; font-weight: 700; font-size: 16px; line-height: 1.5;
}
.ig-follow img { width: 44px; height: 44px; }

/* ---------- 大会情報カード ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; width: min(960px, 92%); margin: 0 auto; }
.card { background: #fff; display: block; }
.card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.card .body { padding: 14px 16px 36px; }
.card h3 {
  color: var(--pink); font-size: 18px; font-weight: 700;
  border-bottom: 2px solid var(--pink); padding: 0 12px 4px; display: inline-block; min-width: 78%;
}
.card p { font-size: 14px; margin-top: 18px; line-height: 1.55; }
.card:hover h3 { opacity: .75; }

/* ---------- 優勝者 ---------- */
.winner { display: flex; align-items: center; gap: 44px; justify-content: center; margin-bottom: 56px; }
.winner .photo { width: 400px; max-width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.winner .photo.wide { aspect-ratio: 1.5; }
.winner .year { font-size: 19px; font-weight: 500; }
.winner .name { font-size: 28px; font-weight: 700; margin: 6px 0 20px; }
.winner .name a:hover { text-decoration: underline; }
.btn {
  display: block; width: 300px; max-width: 100%;
  background: var(--pink); color: #fff; text-align: center;
  font-size: 17px; font-weight: 700; padding: 10px; border-radius: 40px;
  margin-bottom: 14px; transition: opacity .2s;
}
.btn:hover { opacity: .8; }
.past-title { text-align: center; font-size: 24px; font-weight: 700; margin: 84px 0 48px; }
.winner.reverse { flex-direction: row-reverse; }

/* ---------- アクセス ---------- */
.access { display: flex; gap: 32px; align-items: center; width: min(1040px, 92%); margin: 0 auto; }
.access .map { flex: 1; }
.access iframe { width: 100%; height: 360px; border: 0; display: block; }
.map-link { display: inline-block; margin-top: 8px; color: var(--pink); font-weight: 700; font-size: 14px; }
.map-link:hover { text-decoration: underline; }
.access .box { background: #fff; border-radius: 10px; padding: 28px 32px; width: 320px; flex-shrink: 0; font-size: 15px; }
.access .box h3 { color: var(--pink); font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.access .box .em { font-size: 17px; font-weight: 500; margin-bottom: 30px; }
.access .box p + p { margin-top: 24px; }

/* ---------- 協賛企業 ---------- */
.sponsor-top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 60px; width: min(1000px, 92%); margin: 0 auto; align-items: center; }
.sponsor-top a:nth-child(3) { grid-column: 1 / -1; justify-self: center; width: 42%; }
.sponsor-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 32px 44px; width: min(1100px, 96%); margin: 48px auto 0; }
.sponsor-logos a { display: block; }
.sponsor-logos img { width: auto; height: auto; object-fit: contain; }
.sponsor-logos.l img { max-width: 260px; max-height: 64px; }
.sponsor-logos.m img { max-width: 300px; max-height: 96px; }
.sponsor-logos.s img { max-width: 240px; max-height: 40px; }
.sponsor-logos.xs img { max-width: 200px; max-height: 48px; }
.sponsor-top img { max-height: 120px; width: auto; margin: 0 auto; }
.sponsor-text { text-align: center; width: min(1060px, 94%); margin: 48px auto 0; font-size: 18px; line-height: 1.85; }
.sponsor-text span { display: inline-block; margin: 0 11px; }
.sponsor-text.small { font-size: 14px; margin-top: 30px; }
.sponsor-text a:hover { color: var(--pink); }

/* ---------- フッター ---------- */
.site-footer { border-top: 7px solid var(--pink); text-align: center; padding: 20px 0 40px; }
.site-footer img { width: 160px; margin: 0 auto 4px; }
.site-footer small { font-size: 12px; }

/* ---------- 下層ページ ---------- */
.page { padding: 70px 0 96px; }
.page .sec-title { font-weight: 500; }
.link-block { width: min(560px, 92%); margin: 0 auto 96px; font-size: 16px; }
.link-block a { color: #e00; font-weight: 500; word-break: break-all; display: inline-block; margin-top: 6px; }
.link-block a:hover { text-decoration: underline; }

/* ギャラリー */
.gallery { columns: 3 300px; column-gap: 12px; width: min(1200px, 94%); margin: 0 auto; }
.gallery button { display: block; width: 100%; margin-bottom: 12px; border: 0; padding: 0; background: none; cursor: zoom-in; }
.gallery img { width: 100%; }
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,.88); z-index: 100;
  display: none; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; }
.lightbox button {
  position: absolute; background: none; border: 0; color: #fff; font-size: 44px; cursor: pointer; padding: 10px 18px; line-height: 1;
}
.lightbox .close { top: 10px; right: 14px; }
.lightbox .prev { left: 6px; top: 50%; transform: translateY(-50%); }
.lightbox .next { right: 6px; top: 50%; transform: translateY(-50%); }

/* ボランティア */
.notice {
  width: min(820px, 92%); margin: 0 auto 72px; background: var(--pink-pale);
  border: 5px solid #111; padding: 24px 70px 40px; font-size: 18px; font-weight: 500;
}
.notice h2 { text-align: center; font-size: 24px; font-weight: 700; margin-bottom: 24px; }
.notice h2::after { content: ""; display: block; width: 160px; height: 3px; background: var(--pink); margin: 6px auto 0; }
.notice p { margin-bottom: 6px; }
.lead { text-align: center; font-size: 15px; line-height: 1.7; margin-bottom: 64px; }
.recruit-table { width: min(760px, 92%); margin: 0 auto; border: 1px solid #333; border-radius: 10px; border-collapse: separate; border-spacing: 0; overflow: hidden; font-size: 15px; font-weight: 500; }
.recruit-table th { background: var(--pink-light); width: 19%; padding: 24px 10px; vertical-align: top; }
.recruit-table td { padding: 24px 20px; border-left: 1px solid #333; line-height: 2.1; }
.recruit-table tr + tr th, .recruit-table tr + tr td { border-top: 1px solid #333; }
.full { color: #f00; font-weight: 700; font-size: 15px; width: min(760px, 92%); margin: 22px auto 0; }

.form { width: min(610px, 92%); margin: 0 auto; font-size: 13px; }
.form label.f { display: block; margin: 14px 0 4px; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form select, .form textarea {
  width: 100%; border: 1px solid #555; padding: 8px 10px; font: inherit; font-size: 15px; background: #fff;
}
.form textarea { height: 76px; resize: vertical; }
.form .opt { display: flex; align-items: center; gap: 8px; margin: 8px 0; font-size: 13px; }
.form .birth { display: grid; grid-template-columns: 1fr 2fr 1fr; }
.form .birth span { display: block; font-size: 12px; }
.form .req::after { content: " *"; }
.form button {
  width: 100%; margin-top: 12px; background: var(--pink); color: #fff; border: 0;
  border-radius: 30px; padding: 9px; font-size: 14px; cursor: pointer;
}

/* ---------- スマホ ---------- */
@media (max-width: 960px) {
  .site-header { height: 70px; padding: 0 16px; }
  .site-header .logo img { height: 56px; }
  .menu-btn { display: block; }
  .gnav {
    position: fixed; inset: 70px 0 auto 0; background: var(--pink);
    flex-direction: column; padding: 20px 0 30px; display: none;
  }
  .gnav.open { display: flex; }
  .gnav ul { flex-direction: column; align-items: center; gap: 18px; }
  .gnav a { font-size: 18px; }
  .gnav .ig { margin: 14px 0 0; }

  section { padding: 56px 0; }
  .sec-title { font-size: 24px; margin-bottom: 32px; }
  .hero .main-logo { padding: 150px 0 50px; width: 92%; }
  .hero .badges { top: 18px; right: 12px; }
  .hero .jlpga { width: 120px; }
  .volunteer-badge { width: 120px; height: 120px; font-size: 16px; margin-left: 8px; }
  .date-bar { gap: 18px; padding: 30px 16px; }
  .date-bar .date { font-size: 26px; white-space: normal; text-align: center; }
  .date-bar .free { font-size: 32px; padding: 8px 20px 10px; }

  .overview-lead { font-size: 19px; }
  .prize { gap: 10px 20px; }
  .prize .num { font-size: 52px; }
  .prize .unit { font-size: 22px; }
  .prize .label { font-size: 14px; padding: 4px 14px; }
  .info-table { font-size: 15px; }
  .info-table th { width: 28%; padding: 16px 6px; }
  .info-table td { padding: 16px 14px; }

  .ig-grid { gap: 4px; }
  .ig-grid .cap { display: none; }
  .ig-follow { font-size: 15px; }

  .cards { grid-template-columns: 1fr; gap: 28px; }
  .winner, .winner.reverse { flex-direction: column; gap: 20px; margin-bottom: 56px; }
  .winner .name { font-size: 28px; }
  .btn { font-size: 18px; width: 320px; }
  .past-title { font-size: 24px; margin: 60px 0 40px; }

  .access { flex-direction: column; }
  .access .map { width: 100%; flex: none; }
  .access iframe { height: 300px; }
  .access .box { width: 100%; padding: 26px; }

  .sponsor-top { grid-template-columns: 1fr; gap: 30px; }
  .sponsor-top a:nth-child(3) { width: 70%; }
  .sponsor-logos { gap: 24px 26px; }
  .sponsor-logos.l img, .sponsor-logos.m img { max-width: 42vw; max-height: 70px; }
  .sponsor-logos.s img, .sponsor-logos.xs img { max-width: 40vw; max-height: 40px; }
  .sponsor-top img { max-height: 90px; }
  .sponsor-text { font-size: 16px; }
  .sponsor-text.small { font-size: 13px; }
  .sponsor-text span { margin: 0 8px; }

  .notice { padding: 24px 20px 30px; font-size: 16px; border-width: 4px; }
  .notice h2 { font-size: 22px; }
  .lead { font-size: 15px; text-align: left; width: 92%; margin: 0 auto 50px; }
  .recruit-table { font-size: 14px; }
  .recruit-table th { width: 26%; padding: 16px 6px; }
  .recruit-table td { padding: 16px 12px; line-height: 1.8; }
}

/* スマホの細かい調整 */
@media (max-width: 960px) {
  .sec-title, .sec-title.thin { font-size: 22px; word-break: keep-all; padding: 0 12px; }
  .date-bar .date span { display: inline-block; }
  .ig-follow { padding: 0 16px; }
}

/* スマホを少し小さく（2026-11-02） */
@media (max-width: 960px) {
  .site-header { height: 60px; }
  .site-header .logo img { height: 48px; }
  .gnav { inset: 60px 0 auto 0; }
  section { padding: 44px 0; }
  .sec-title, .sec-title.thin { font-size: 20px; margin-bottom: 26px; }
  .sec-title::after { width: 150px; height: 3px; margin-top: 10px; }
  .hero .main-logo { padding: 120px 0 36px; width: 88%; }
  .hero .jlpga { width: 96px; }
  .volunteer-badge { width: 100px; height: 100px; font-size: 13px; }
  .date-bar { padding: 22px 12px; gap: 12px; }
  .date-bar .date { font-size: 19px; white-space: nowrap; }
  .date-bar .free { font-size: 24px; padding: 6px 16px 8px; }
  .overview-lead { font-size: 16px; margin-bottom: 28px; }
  .prize { padding: 12px; }
  .prize .num { font-size: 40px; }
  .prize .unit { font-size: 17px; }
  .prize .label { font-size: 12px; padding: 3px 12px; }
  .info-table { font-size: 14px; margin-top: 22px; }
  .info-table th { padding: 12px 6px; }
  .info-table td { padding: 12px 12px; }
  .info-table .note { font-size: 12px; margin-top: 12px; padding-bottom: 12px; }
  .ig-follow { font-size: 13px; gap: 10px; margin-top: 22px; }
  .ig-follow img { width: 36px; height: 36px; }
  .cards { gap: 18px; }
  .card img { aspect-ratio: 16/9; }
  .card .body { padding: 10px 14px 18px; }
  .card h3 { font-size: 16px; }
  .card p { font-size: 13px; margin-top: 10px; }
  .winner, .winner.reverse { gap: 14px; margin-bottom: 40px; }
  .winner .year { font-size: 15px; }
  .winner .name { font-size: 22px; margin: 2px 0 14px; }
  .btn { font-size: 15px; width: 280px; padding: 9px; margin-bottom: 10px; }
  .past-title { font-size: 20px; margin: 44px 0 28px; }
  .access .box { font-size: 14px; padding: 20px; }
  .access .box h3 { font-size: 16px; }
  .access .box .em { font-size: 15px; margin-bottom: 18px; }
  .access iframe { height: 260px; }
  .sponsor-text { font-size: 14px; }
  .sponsor-text.small { font-size: 12px; }
  .notice { font-size: 14px; }
  .notice h2 { font-size: 18px; }
  .lead { font-size: 13px; }
  .recruit-table { font-size: 13px; }
}

/* よくある質問 */
.hero h1 { margin: 0; }
.faq { width: min(820px, 92%); margin: 0 auto; }
.faq details { border-bottom: 1px solid #ddd; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative;
  font-weight: 700; font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; color: var(--pink); font-weight: 900; margin-right: 12px; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 14px; font-size: 22px; color: var(--pink); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 8px 20px 26px; font-size: 15px; line-height: 1.8; }
.faq details a { color: var(--pink); text-decoration: underline; }
@media (max-width: 960px) {
  .faq summary { font-size: 14px; padding: 14px 32px 14px 0; }
  .faq details p { font-size: 13px; padding-left: 22px; }
}

/* 語の途中で改行しない */
.nw { display: inline-block; }

/* 協賛企業をそろえて並べる（2026-11-02） */
.sponsor-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  width: min(1000px, 94%); margin: 56px auto 0;
  border-top: 1px solid #eee; border-left: 1px solid #eee;
}
.sponsor-grid > * {
  width: 25%; height: 110px; padding: 14px 22px;
  display: flex; align-items: center; justify-content: center;
  border-right: 1px solid #eee; border-bottom: 1px solid #eee;
  transition: background .2s;
}
.sponsor-grid > a:hover { background: #fdf3f4; }
.sponsor-grid img { max-width: 100%; max-height: 60px; width: auto; height: auto; object-fit: contain; }
.sponsor-names {
  display: grid; grid-template-columns: repeat(3, 1fr);
  width: min(1000px, 94%); margin: 48px auto 0; font-size: 15px;
  border-top: 1px solid #eee;
}
.sponsor-names.small { grid-template-columns: repeat(4, 1fr); font-size: 13px; margin-top: 32px; }
.sponsor-names span {
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 12px 8px; border-bottom: 1px solid #eee; line-height: 1.5; margin: 0;
}
.sponsor-names a:hover { color: var(--pink); }
@media (max-width: 960px) {
  .sponsor-grid { margin-top: 32px; }
  .sponsor-grid > * { width: 50%; height: 80px; padding: 10px 14px; }
  .sponsor-grid img { max-height: 44px; }
  .sponsor-names { grid-template-columns: repeat(2, 1fr); font-size: 12px; margin-top: 32px; }
  .sponsor-names.small { grid-template-columns: repeat(2, 1fr); font-size: 11px; }
  .sponsor-names span { padding: 9px 4px; }
}
.sponsor-grid { border: 0; }
.sponsor-grid > * { border: 0; outline: 1px solid #eee; }
/* 枠線なし */
.sponsor-grid > * { outline: 0; }
.sponsor-names, .sponsor-names span { border: 0; }
.sponsor-names span { padding: 8px; }

/* 協賛企業：区分ごとのまとまり（2026-11-02） */
.sponsor-tier {
  display: flex; flex-wrap: wrap; justify-content: center;
  width: min(1000px, 94%); margin: 0 auto;
}
.sponsor-tier + .sponsor-tier, .sponsor-top + .sponsor-tier { margin-top: 56px; }
.sponsor-tier > * { display: flex; align-items: center; justify-content: center; }
.sponsor-tier img { max-width: 100%; width: auto; height: auto; object-fit: contain; }
.sponsor-tier > a:hover { opacity: .7; }
.sponsor-tier.t2 > *, .sponsor-tier.t3 > * { width: 33.33%; height: 120px; padding: 10px 26px; }
.sponsor-tier.t2 img { max-height: 76px; }
.sponsor-tier.t3 img { max-height: 70px; }
.sponsor-tier.t4 > * { width: 25%; height: 80px; padding: 8px 18px; }
.sponsor-tier.t4 img { max-height: 44px; }
.sponsor-tier.t5 > * { width: 20%; height: 72px; padding: 8px 14px; }
.sponsor-tier.t5 img { max-height: 44px; }
@media (max-width: 960px) {
  .sponsor-tier + .sponsor-tier, .sponsor-top + .sponsor-tier { margin-top: 30px; }
  .sponsor-tier.t2 > *, .sponsor-tier.t3 > * { width: 50%; height: 76px; padding: 8px 14px; }
  .sponsor-tier.t2 img { max-height: 50px; }
  .sponsor-tier.t3 img { max-height: 46px; }
  .sponsor-tier.t4 > * { width: 50%; height: 56px; padding: 6px 12px; }
  .sponsor-tier.t4 img { max-height: 32px; }
  .sponsor-tier.t5 > * { width: 33.33%; height: 52px; padding: 6px 8px; }
  .sponsor-tier.t5 img { max-height: 30px; }
}

/* 写真ページ（元サイトに合わせる） */
.g-title { text-align: center; font-weight: 400; font-size: 22px; line-height: 1.4; margin-bottom: 70px; font-family: "Roboto", "Noto Sans JP", sans-serif; }
.g-title span { display: block; }
.g-title .d { display: inline-block; padding: 0 30px 2px; border-bottom: 3px solid var(--pink); }
.gallery.grid { columns: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; width: min(1056px, 92%); }
.gallery.grid button { margin: 0; aspect-ratio: 1; overflow: hidden; }
.gallery.grid img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.gallery.grid button:hover img { opacity: .85; }
.g-btn { margin: 70px auto 0; width: 430px; font-size: 18px; }
@media (max-width: 960px) {
  .g-title { font-size: 16px; margin-bottom: 36px; }
  .gallery.grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .g-btn { width: 300px; font-size: 15px; margin-top: 40px; }
}

/* テレビ放送の動画 */
.media-box { width: min(820px, 92%); margin: 0 auto; }
.media-box video { width: 100%; display: block; background: #000; aspect-ratio: 16/9; }
.media-cap { text-align: center; font-size: 14px; margin-top: 12px; color: var(--sub); }
@media (max-width: 960px) { .media-cap { font-size: 12px; } }

/* 過去の大会実績のYouTube（元サイトと同じ位置） */
.yt-list { width: min(760px, 100%); margin: 0 auto 70px; display: grid; gap: 50px; }
.yt iframe { width: 100%; aspect-ratio: 16/9; border: 0; display: block; }
@media (max-width: 960px) { .yt-list { gap: 24px; margin-bottom: 44px; } }

/* 過去の大会実績にも下線（元サイトと同じ） */
.past-title::after { content: ""; display: block; width: 200px; max-width: 60%; height: 4px; background: var(--pink); margin: 12px auto 0; }
.yt-list { width: min(910px, 92vw); position: relative; left: 50%; transform: translateX(-50%); }
@media (max-width: 960px) { .past-title::after { width: 150px; height: 3px; margin-top: 10px; } }

/* 2027版：賞金 未定 */
.prize .num.tbd { font-family: "Noto Sans JP", sans-serif; font-weight: 700; font-size: 48px; }
@media (max-width: 960px) { .prize .num.tbd { font-size: 36px; } }

/* 押せないカード */
.card.no-link { cursor: default; }
.card.no-link:hover h3 { opacity: 1; }
.volunteer-badge.no-link { cursor: default; }
.volunteer-badge.no-link:hover { transform: none; }

/* 協賛企業名は必ず1行（はみ出す名前は common.js で文字を小さくする） */
.sponsor-names span { white-space: nowrap; overflow: hidden; }
/* スマホ：今のサイトと同じく、企業名を左寄せで横に流す（名前の途中では折り返さない） */
@media (max-width: 960px) {
  .sponsor-names, .sponsor-names.small {
    display: flex; flex-wrap: wrap; justify-content: flex-start;
    column-gap: 1.1em; row-gap: 2px; width: 92%;
  }
  .sponsor-names { font-size: 14px; }
  .sponsor-names.small { font-size: 12px; margin-top: 20px; }
  .sponsor-names span { padding: 5px 0; justify-content: flex-start; text-align: left; }
}

/* スマホ：JLPGAロゴの下にボランティアの丸（今のサイトと同じ縦並び・2026-11-03） */
@media (max-width: 960px) {
  .hero .badges { top: 10px; right: 10px; flex-direction: column; align-items: center; }
  .hero .jlpga { width: 86px; }
  .volunteer-badge { width: 80px; height: 80px; font-size: 11px; margin: 0; }
  .hero .main-logo { padding: 150px 0 36px; }
}
/* スマホ：開催日と観戦無料を1行に（今のサイトと同じ） */
@media (max-width: 960px) {
  .date-bar { flex-wrap: nowrap; gap: 3vw; padding: 20px 3vw; }
  .date-bar .date { font-size: 4.2vw; white-space: nowrap; }
  .date-bar .free { font-size: 5vw; padding: 4px 2.5vw 6px; white-space: nowrap; flex-shrink: 0; }
}
/* 協賛：2027年版の注記 */
.sponsor-note { text-align: center; font-size: 15px; margin: -20px auto 40px; width: 92%; line-height: 1.7; }
.sponsor-note span { display: inline-block; }
@media (max-width: 960px) { .sponsor-note { font-size: 13px; margin: -10px auto 28px; } }
/* スマホ：トップの縦の伸びを今のサイトに合わせる（2026-11-03） */
@media (max-width: 960px) {
  .hero .main-logo { width: 74%; padding: 88px 0 64px; }
  .hero .badges { top: 12px; right: 12px; }
  .volunteer-badge { margin-top: -6px; }
}
/* スマホ：賞金総額・優勝賞金を1行に */
@media (max-width: 960px) {
  .prize { flex-wrap: nowrap; justify-content: center; gap: 4vw; }
  .prize .item { gap: 2vw; }
  .prize .label { font-size: 3.4vw; padding: 3px 3vw; white-space: nowrap; }
  .prize .num.tbd { font-size: 8vw; margin-left: 0; white-space: nowrap; }
}
/* スマホ：大会概要の表は言葉の途中で折り返さない */
.info-table .nw { display: inline-block; }
@media (max-width: 960px) {
  .info-table { font-size: 3.4vw; }
  .info-table th { width: 20%; }
}

/* Netlifyの「Powered by Netlify」バッジを出さない（ページ直下のiframeだけ。地図・YouTubeはsectionの中なので影響なし） */
body > iframe { display: none !important; }
/* 賞金：昨年実績の注記（2026-11-03） */
.prize-note { text-align: center; font-size: 14px; color: var(--sub); margin: 12px auto 0; line-height: 1.7; }
.prize-note span { display: inline-block; }
@media (max-width: 960px) {
  .prize-note { font-size: 12px; margin-top: 8px; }
  .prize .num { font-size: 9vw; margin-left: 0; }
  .prize .unit { font-size: 3.6vw; }
  .prize .item { gap: 1.5vw; }
}
@media (max-width: 960px) {
  .prize { gap: 3vw; padding: 14px 2vw; }
  .prize .label { font-size: 3vw; padding: 3px 2.2vw; }
  .prize .num { font-size: 8vw; }
  .prize .unit { font-size: 3.4vw; white-space: nowrap; }
  .prize .item { gap: 1.2vw; }
}
/* 協賛のお問い合わせバナー */
#contact { padding: 64px 0; }
.contact-banner { position: relative; display: block; overflow: hidden; width: min(960px, 92%); margin: 0 auto; padding: 40px 20px; background: var(--pink); color: #fff; text-align: center; border-radius: 14px; text-decoration: none; box-shadow: 0 8px 24px rgba(247,128,138,.3); transition: transform .25s, box-shadow .25s; }
.contact-banner:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(247,128,138,.4); }
.contact-banner .cb-sakura { position: absolute; top: 0; height: 100%; width: auto; aspect-ratio: 3 / 2; pointer-events: none; }
.contact-banner .cb-sakura.l { left: 0; }
.contact-banner .cb-sakura.r { right: 0; }
.contact-banner .sub, .contact-banner .main { position: relative; display: block; }
.contact-banner .sub { font-size: 15px; margin-bottom: 10px; letter-spacing: .05em; }
.contact-banner .main { font-size: 26px; font-weight: 700; letter-spacing: .06em; white-space: nowrap; }
.contact-banner .arrow { display: inline-block; margin-left: 14px; transition: transform .25s; }
.contact-banner:hover .arrow { transform: translateX(6px); }
@media (max-width: 600px) {
  #contact { padding: 44px 0; }
  .contact-banner { padding: 30px 12px; }
  .contact-banner .sub { font-size: 3.4vw; }
  .contact-banner .main { font-size: 5vw; }
  .contact-banner .arrow { margin-left: 8px; }
  .contact-banner .cb-sakura { opacity: .5; height: 85%; }
  .contact-banner .cb-sakura.r { top: auto; bottom: 0; }
}
.sp-lead span { display: inline-block; }
/* ボランティア募集バッジ（スクロールで追従） */
.volunteer-badge.volunteer-float { position: fixed; top: 86px; right: 20px; z-index: 40; width: 120px; height: 120px; font-size: 16px; margin: 0; box-shadow: 0 6px 16px rgba(0,0,0,.18); opacity: 0; visibility: hidden; transform: scale(.8); transition: opacity .3s, transform .3s, visibility .3s; }
.volunteer-badge.volunteer-float.show { opacity: 1; visibility: visible; transform: scale(1); }
.volunteer-badge.volunteer-float.show:hover { transform: scale(1.05); }
@media (max-width: 600px) {
  .volunteer-badge.volunteer-float { top: 80px; right: 10px; width: 76px; height: 76px; font-size: 11px; }
}
/* 賞金の枠：ラベルと金額の上下中央をそろえる */
.prize .item { align-items: center; }
.prize .amt { display: inline-flex; align-items: baseline; gap: inherit; }
.prize .label { line-height: 1.4; }

/* ボランティア表：欄内の注記（2026-11-04） */
.td-note { display: block; font-size: 14px; color: var(--sub); margin-top: 6px; line-height: 1.7; }
@media (max-width: 960px) { .td-note { font-size: 12px; } }
