@charset "UTF-8";
/* =========================================================================
   第31回 北九州将棋フェスティバル 特設サイト
   デザイン: 案C改「エディトリアル×チラシ」
   ========================================================================= */

:root {
  --navy: #2a3991;
  --navy-d: #1d2a6e;
  --ink: #221e1f;
  --paper: #fdfcf7;
  --aqua: #8fd7f2;
  --aqua-l: #e3f3fb;
  --red: #a52b4e;
  --blue: #2a72b8;
  --gold: #c9a24a;
  --gold-l: #fae0a8;
  --purple: #b7a7c5;
  --purple-d: #6c5a8f;
  --pink: #e79fa6;
  --pink-d: #b35664;
  --green: #aecb7f;
  --green-d: #5f7d33;
  --en: 'Oswald', sans-serif;
  --jp: 'YakuHanJP', 'Noto Sans JP', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

body {
  overflow-x: clip;
  font-family: var(--jp);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.85;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== header ===== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 252, 247, 0.96);
  backdrop-filter: blur(5px);
  border-bottom: 2px solid var(--ink);
}

.hd-in {
  max-width: 1240px;
  margin: auto;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 10px;
}

.brand {
  font-weight: 900;
  font-size: clamp(14px, 2vw, 17px);
  letter-spacing: 0.04em;
  padding: 13px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  /* 継承line-height(1.85)による上下余白の偏りを解消 */
  line-height: 1.2;
}

.brand .n31 {
  background: var(--navy);
  color: #fff;
  padding: 2px 9px;
  font-size: 0.82em;
  font-weight: 700;
}

nav.gnav {
  display: flex;
}

nav.gnav a {
  display: flex;
  align-items: center;
  padding: 0 clamp(10px, 1.6vw, 22px);
  border-left: 1px solid rgba(34, 30, 31, 0.35);
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition:
    background 0.2s,
    color 0.2s;
}

nav.gnav a:hover {
  background: var(--navy);
  color: #fff;
}

nav.gnav a.cta {
  background: var(--red);
  color: #fff;
}

nav.gnav a.cta:hover {
  background: var(--navy-d);
}

@media (max-width: 900px) {
  .hd-in {
    flex-direction: column;
    gap: 0;
  }
  .brand {
    justify-content: center;
    padding: 9px;
  }
  nav.gnav {
    border-top: 1px solid rgba(34, 30, 31, 0.35);
  }
  nav.gnav a {
    flex: 1;
    justify-content: center;
    padding: 9px 2px;
    font-size: 12px;
  }
  nav.gnav a:first-child {
    border-left: 0;
  }
}

/* ===== ticker（日本語・黒地） ===== */
.ticker {
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  /* stickyヘッダーとの間にズーム倍率由来のヘアラインが出ないよう1px重ねる */
  margin-top: -1px;
}

.ticker-in {
  display: inline-block;
  /* 狭い画面で間延びして大きく見えないよう可変に */
  font-size: clamp(10.5px, 2.8vw, 12.5px);
  font-weight: 700;
  letter-spacing: 0.22em;
  padding: 8px 0;
  animation: tick 30s linear infinite;
}

.ticker-in .sep {
  display: inline-block;
  width: 13px;
  height: 16px;
  margin: 0 clamp(13px, 3.4vw, 26px);
  background-color: var(--gold-l);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 120'%3E%3Cpath fill='black' d='M50 0 L87 24 L100 120 L0 120 L13 24 Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 120'%3E%3Cpath fill='black' d='M50 0 L87 24 L100 120 L0 120 L13 24 Z'/%3E%3C/svg%3E") center / contain no-repeat;
  vertical-align: -2px;
}

@keyframes tick {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ===== hero ===== */
.hero {
  position: relative;
  border-bottom: 2px solid var(--ink);
  background: linear-gradient(115deg, #cfe9f4 0%, #e4f2ec 55%, #f6ecd4 100%);
  overflow: hidden;
}

.hero .deco {
  position: absolute;
  z-index: 0;
  opacity: 0.85;
  pointer-events: none;
}

.hero .deco.tl {
  top: 0;
  left: 0;
  width: clamp(160px, 22vw, 430px);
  -webkit-mask-image: radial-gradient(120% 120% at 0 0, #000 45%, transparent 75%);
  mask-image: radial-gradient(120% 120% at 0 0, #000 45%, transparent 75%);
}

.hero .deco.tr {
  top: 0;
  right: 0;
  width: clamp(120px, 17vw, 290px);
  -webkit-mask-image: radial-gradient(120% 120% at 100% 0, #000 45%, transparent 75%);
  mask-image: radial-gradient(120% 120% at 100% 0, #000 45%, transparent 75%);
}

.hero-in {
  position: relative;
  max-width: 1400px;
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
}

.hero-txt {
  position: relative;
  z-index: 1;
  padding: clamp(34px, 5vw, 80px) clamp(20px, 4vw, 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-kicker {
  font-family: var(--en);
  font-size: clamp(14px, 1.9vw, 18px);
  letter-spacing: 0.35em;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 14px;
}

.hero-txt h1 {
  font-family: 'Shippori Mincho B1', serif;
  font-weight: 800;
  font-size: clamp(40px, 6.2vw, 78px);
  line-height: 1.16;
  letter-spacing: 0.05em;
  /* チラシロゴに寄せた金箔グラデ（縦方向の陰影） */
  background: linear-gradient(180deg, #d9b968 0%, #b8912f 42%, #8f6d23 72%, #c8a24a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.5));
}

.hero-txt h1 .line2 {
  background: none;
  -webkit-text-fill-color: var(--ink);
  color: var(--ink);
  letter-spacing: -0.1em;
}

.hero-txt h1 em {
  font-style: normal;
  /* 「将棋」はより濃い金で締める */
  background: linear-gradient(180deg, #b8912f 0%, #7a5c1c 60%, #a8832f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero-date {
  font-family: var(--en);
  font-weight: 600;
  font-size: clamp(38px, 4.9vw, 72px);
  line-height: 1.05;
  margin-top: 16px;
  letter-spacing: 0.02em;
  color: var(--ink);
  white-space: nowrap;
}

.hero-date .sm {
  font-size: 0.28em;
  vertical-align: 0.3em;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.hero-date .dash {
  margin: 0 0.04em;
  font-weight: 500;
  /* enダッシュより短く、両隣の数字と均等な間隔に */
  letter-spacing: -0.02em;
}

.hero-date .sat {
  color: #0066cc;
}

.hero-date .sun {
  color: #cc0000;
}

.hero-date .era {
  font-family: var(--jp);
  font-size: 0.3em;
  font-weight: 900;
  vertical-align: 0.3em;
  margin-right: 0.4em;
  letter-spacing: 0.05em;
}

.hero-venue {
  margin-top: 16px;
  /* 会場名の基準サイズ（住所はこれに対する相対で縮小） */
  font-size: clamp(19px, 2.4vw, 26px);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.hero-venue::before {
  content: '';
  width: 34px;
  height: 2px;
  background: var(--ink);
  flex-shrink: 0;
  margin-top: 0.62em;
}

.hero-venue .v-name {
  display: block;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.hero-venue .v-addr {
  display: block;
  font-size: 0.56em;
  font-weight: 500;
  color: #444;
  line-height: 1.3;
  letter-spacing: 0.02em;
  margin-top: 2px;
}

.hero-cta {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  align-self: flex-start;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  padding: 15px 28px;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.1em;
  border: 2px solid var(--navy);
  transition:
    background 0.25s,
    border-color 0.25s;
}

.hero-cta:hover {
  background: var(--red);
  border-color: var(--red);
}

.hero-cta small {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.85;
}

.hero-cta .ar {
  font-family: var(--en);
}

/* 狭い画面：申込ボタンを「ラベル＋矢印」／「補足」の2行に整える */
@media (max-width: 600px) {
  .hero-cta {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 3px;
  }
  .hero-cta small {
    order: 3;
    flex-basis: 100%;
    text-align: center;
  }
  .hero-cta .ar {
    order: 2;
  }
}

/* 右：対面写真＋中央に縦ロゴ（チラシの構図） */
.hero-vs {
  position: relative;
  border-left: 2px solid var(--ink);
  border-right: 2px solid var(--ink);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: clamp(380px, 42vw, 600px);
}

.hero-vs .p {
  position: relative;
  overflow: hidden;
}

.hero-vs .p img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 10%;
}

.hero-vs .p:first-child {
  border-right: 2px solid var(--ink);
}

.hero-vs .cap {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--navy);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 3px 14px;
  letter-spacing: 0.12em;
  z-index: 2;
}

.hero-vs .tbd-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(253, 252, 247, 0.95);
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  z-index: 3;
}

/* 縦ロゴ：分割線上（チラシの「両者の間にタイトル」構図） */
.logo-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(8px, 1.2vw, 14px);
}

.logo-wrap::before {
  content: '';
  position: absolute;
  inset: -14% -60%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, 0.9) 28%, rgba(255, 255, 255, 0) 72%);
  z-index: -1;
}

.no31-img {
  height: clamp(64px, 7vw, 100px);
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(255, 255, 255, 0.85));
}

.logo-wrap img.logo {
  margin-top: -10px !important;
  height: clamp(200px, 26vw, 380px);
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.95));
}

@media (max-width: 900px) {
  .hero-in {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-txt {
    padding: clamp(26px, 6vw, 40px) 20px;
    text-align: center;
    align-items: center;
  }
  .hero-venue {
    justify-content: center;
  }
  .hero-cta {
    align-self: center;
  }
  .hero-vs {
    border-left: 0;
    border-right: 0;
    border-top: 2px solid var(--ink);
    min-height: 320px;
  }
  .logo-wrap img.logo {
    height: 210px;
  }
  .hero-vs .cap {
    font-size: 10.5px;
    padding: 2px 8px;
  }
}

/* ===== section 共通 ===== */
section {
  border-bottom: 2px solid var(--ink);
}

section#news {
  border-bottom-color: var(--navy);
}

.sec-in {
  max-width: 1240px;
  margin: auto;
  padding: clamp(44px, 6vw, 80px) 20px;
}

.sec-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 12px;
  margin-bottom: clamp(24px, 4vw, 44px);
  flex-wrap: wrap;
}

.sec-head .idx {
  font-family: var(--en);
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 40px);
  color: var(--red);
}

.sec-head h2 {
  font-weight: 900;
  font-size: clamp(22px, 3.4vw, 32px);
  letter-spacing: 0.06em;
  color: var(--ink);
  /* 和欧混植の視覚補正: Noto日本語の字面はOswald数字より約.09em下に出る */
  transform: translateY(-0.09em);
}

.sec-head .en {
  font-family: var(--en);
  letter-spacing: 0.3em;
  font-size: 12px;
  color: var(--gold);
  margin-left: auto;
  font-weight: 600;
}

/* ===== news ===== */
.news dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 30px;
  font-size: 15px;
  max-width: 900px;
}

.news dt {
  font-family: var(--en);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--navy);
}

@media (max-width: 620px) {
  .news dl {
    grid-template-columns: 1fr;
  }
}

/* ===== players ===== */
.players {
  background: var(--paper);
}

.players-band {
  background: var(--navy);
  color: #fff;
  border-bottom: 2px solid var(--navy);
}

.players-band .sec-in {
  padding: 18px 20px;
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
}

.players-band .idx {
  font-family: var(--en);
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 40px);
  color: var(--gold-l);
}

.players-band h2 {
  font-weight: 900;
  font-size: clamp(22px, 3.4vw, 32px);
  letter-spacing: 0.14em;
  transform: translateY(-0.09em);
}

.players-band .en {
  font-family: var(--en);
  letter-spacing: 0.3em;
  font-size: 12px;
  color: var(--gold-l);
  margin-left: auto;
  font-weight: 600;
}

.players-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0;
  border: 1px solid #c9c5bc;
}

.pc-card {
  background: #fff;
  box-shadow: 1px 1px 0 0 #c9c5bc;
}

.pc-card a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.pc-card img {
  width: 100%;
  aspect-ratio: 400/520;
  object-fit: cover;
  transition: transform 0.3s;
}

.pc-card .ph {
  overflow: hidden;
}

.pc-card:hover img {
  transform: scale(1.05);
}

.pc-card .m {
  padding: 8px 10px 10px;
  border-top: 1px solid var(--gold);
}

.pc-card .nm {
  font-weight: 900;
  font-size: 14.5px;
  letter-spacing: 0.04em;
}

.pc-card .dan {
  font-size: 11.5px;
  color: var(--navy);
  font-weight: 700;
}

.pc-card .dan.lady {
  color: var(--red);
}

.players-note {
  margin-top: 16px;
  font-size: 12.5px;
  color: #666;
}

/* ===== program（チラシのカード配色） ===== */
.program {
  background: var(--aqua-l);
}

.day-label {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0 0 14px;
}

.day-label .d {
  font-family: var(--en);
  font-weight: 600;
  font-size: clamp(30px, 4vw, 44px);
  color: var(--ink);
  line-height: 1;
}

.day-label .sat {
  color: #0066cc;
}

.day-label .sun {
  color: #cc0000;
}

.day-label .w {
  font-size: 13px;
  font-weight: 900;
  color: #fff;
  background: var(--blue);
  border-radius: 4px;
  /* 背景の底をOswald数字の字面の底に揃える。
        バッジ内文字のdescent分はpaddingでは詰めきれないため、
        行高1で膨らみを取ったうえで残差をtranslateYで視覚補正する */
  line-height: 1;
  padding: 6px 14px 6px;
  transform: translateY(-0.23em);
}

.day-label .w.sun {
  background: var(--red);
}

.day-label .place {
  font-size: 13px;
  font-weight: 700;
  color: #444;
}

.ev-card {
  background: #fff;
  border-radius: 10px;
  border-left: 8px solid;
  box-shadow: 0 4px 14px rgba(29, 42, 110, 0.08);
  padding: 20px 24px;
  margin-bottom: 16px;
  position: relative;
}

.ev-card.purple {
  border-color: var(--purple);
  background: #fff;
  --spec-bg: #efe9f4;
  --spec-fg: var(--purple-d);
}

.ev-card.pink {
  border-color: var(--pink);
  background: #fff;
  --spec-bg: #f9e7ea;
  --spec-fg: var(--pink-d);
}

.ev-card.green {
  border-color: var(--green);
  background: #fff;
  --spec-bg: #eef3e0;
  --spec-fg: var(--green-d);
}

.ev-card.plain {
  border-color: var(--aqua);
  --spec-bg: #e3f3fb;
  --spec-fg: var(--navy);
}

.ev-card h3 {
  font-weight: 900;
  font-size: clamp(17px, 2.4vw, 21px);
  letter-spacing: 0.04em;
  padding-right: 56px;
}

.ev-card h3 > img {
  margin-top: 10px !important;
}

.ev-card.purple h3 {
  color: var(--purple-d);
}

.ev-card.pink h3 {
  color: var(--pink-d);
}

.ev-card.green h3 {
  color: var(--green-d);
}

.ev-card h3 .time {
  font-family: var(--en);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  background: var(--gold-l);
  padding: 1px 10px;
  border-radius: 4px;
}

.ev-card .fee-koma {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 44px;
}

/* プログラム見出し（チラシ由来のアウトラインSVG）
   幅の頭打ちで3枠の大小関係が崩れないよう、高さをvw連動のclampで管理する */
.ev-card h3 .prog-ttl {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
}

.ev-card.purple h3 .prog-ttl {
  max-height: clamp(44px, 6.4vw, 66px);
}

/* こども昇竜戦タイトル：PCは1行版、狭い画面は2行版に切り替え
   （.ev-card h3 .prog-ttl と同じ詳細度で確実に上書きする） */
.ev-card h3 .prog-ttl--1line {
  display: none;
}
.ev-card.purple h3 .prog-ttl--1line {
  max-height: clamp(26px, 3.6vw, 40px);
}
@media (min-width: 721px) {
  .ev-card h3 .prog-ttl--2line {
    display: none;
  }
  .ev-card h3 .prog-ttl--1line {
    display: block;
  }
}

.ev-card.pink h3 .prog-ttl {
  max-height: clamp(22px, 2.9vw, 30px);
}

.ev-card.green h3 .prog-ttl {
  max-height: clamp(18px, 2.3vw, 24px);
}

.ev-card .detail {
  font-size: 13.5px;
  margin-top: 8px;
  color: #333;
}

.ev-card .detail b {
  font-weight: 700;
}

/* リード文（プログラム内容の要約） */
.ev-card .lead {
  margin-top: 10px;
  font-weight: 700;
  font-size: clamp(14px, 1.9vw, 15.5px);
  color: var(--spec-fg);
  letter-spacing: 0.02em;
}

/* スペック表（ラベルピル＋値） */
.spec {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 10px 16px;
  align-items: start;
  margin-top: 14px;
  font-size: 13.5px;
  color: #333;
}

.spec dt {
  justify-self: start;
  width: 6em;
  background: var(--spec-bg);
  color: var(--spec-fg);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0;
  padding: 3px 12px;
  border-radius: 4px;
  line-height: 1.7;
  /* 2〜4文字のラベルを同じ幅で均等割り（両端揃え） */
  text-align: justify;
  text-align-last: justify;
  text-justify: inter-character;
}

.spec dd {
  line-height: 1.7;
}

.spec dd.tbd,
.spec dd .tbd {
  color: #999;
}

.spec .sub {
  font-size: 12px;
  color: #666;
}

/* クラス一覧（A/B/C バッジ） */
.cls-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 6px;
}

.cls-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cls-tag {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--spec-fg);
  color: #fff;
  font-family: var(--en);
  font-weight: 600;
  font-size: 15px;
  border-radius: 5px;
}

.cls-cap {
  font-size: 12px;
  color: #666;
}

/* こども昇竜戦：PCではスペックを2列にして右の余白を活用し、記念品はイラストで強調 */
.spec-wrap {
  margin-top: 14px;
}
.spec-wrap .spec {
  margin-top: 0;
}
.spec-2col > .spec + .spec {
  margin-top: 16px;
}
.spec-main {
  display: flex;
  flex-direction: column;
}
/* 段級・主管の注記（表彰の下・記念品バッジの上に枠付きで配置） */
.spec-note {
  margin-top: 14px;
  padding: 9px 14px;
  /* ※以降の折り返し2行目を字下げ（ぶら下げインデント） */
  padding-left: calc(14px + 1em);
  text-indent: -1em;
  background: var(--spec-bg);
  border: 1px solid rgba(108, 90, 143, 0.3);
  border-radius: 8px;
  font-size: 12px;
  color: #514a58;
  line-height: 1.6;
}
.gift-note {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1px;
  margin-top: 18px;
  padding: 20px 22px 18px;
  color: #fff;
  background: linear-gradient(150deg, #db6178 0%, #b3374f 55%, #7d2340 100%);
  border-radius: 16px;
  box-shadow: 0 12px 26px rgba(125, 35, 64, 0.4);
}
/* 斜めのコーナーリボン（あしらい） */
.gift-corner {
  position: absolute;
  top: 16px;
  left: -38px;
  width: 132px;
  transform: rotate(-45deg);
  background: linear-gradient(90deg, #e7bd6b, var(--gold));
  color: #3d2700;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  text-align: center;
  padding: 3px 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  z-index: 2;
}
.gift-note .gift-ico {
  width: 66px;
  height: 66px;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
  animation: giftBob 2.6s ease-in-out infinite;
}
/* タイポで遊ぶ：イタリックOswald＋明朝＋斜めゴシックの三段構え */
.gift-en {
  font-family: var(--en);
  font-style: italic;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-indent: 0.24em;
  color: var(--gold-l);
  margin-top: 7px;
}
.gift-txt {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.05;
  margin-top: 3px;
}
.gift-txt .g-jp {
  font-family: 'Shippori Mincho B1', var(--jp);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  color: var(--gold-l);
}
.gift-txt .g-big {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 3px;
  font-weight: 900;
  font-size: 21px;
  letter-spacing: 0.03em;
  color: #fff;
  transform: skewX(-7deg);
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
/* プレゼントの左右に「//」のスピード風あしらい */
.gift-txt .g-big::before,
.gift-txt .g-big::after {
  content: "//";
  font-family: var(--en);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -1px;
  color: var(--gold-l);
  opacity: 0.92;
  text-shadow: none;
}
/* きらめき（点滅アニメ） */
.gift-spark {
  position: absolute;
  color: var(--gold-l);
  pointer-events: none;
  line-height: 1;
  animation: giftTwinkle 1.9s ease-in-out infinite;
}
.gift-spark.s1 {
  top: 52px;
  left: 20px;
  font-size: 12px;
}
.gift-spark.s2 {
  top: 30px;
  right: 18px;
  font-size: 17px;
  animation-delay: 0.5s;
}
.gift-spark.s3 {
  bottom: 44px;
  right: 26px;
  font-size: 11px;
  animation-delay: 1s;
}
/* 光沢が横切るシャイン */
.gift-note::after {
  content: "";
  position: absolute;
  top: 0;
  left: -70%;
  width: 45%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-16deg);
  pointer-events: none;
  animation: giftShine 5s ease-in-out infinite;
}
@keyframes giftBob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}
@keyframes giftTwinkle {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.18);
  }
}
@keyframes giftShine {
  0% {
    left: -70%;
  }
  22%,
  100% {
    left: 135%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .gift-ico,
  .gift-spark {
    animation: none;
  }
  .gift-note::after {
    display: none;
  }
}

@media (min-width: 721px) {
  /* スペックは左詰め（列間の無駄な余白をなくす）、記念品は右端に寄せる */
  .spec-wrap {
    display: flex;
    align-items: center;
    gap: 24px;
    /* 中間幅で収まらない場合は記念品バッジを折り返してはみ出しを防ぐ */
    flex-wrap: wrap;
  }
  .spec-2col {
    display: grid;
    grid-template-columns: max-content max-content;
    align-items: start;
    gap: 12px 48px;
  }
  .spec-2col > .spec + .spec {
    margin-top: 0;
  }
  .gift-note {
    flex: 0 0 auto;
    margin-top: 0;
    margin-left: auto;
    width: 210px;
  }
}

@media (max-width: 480px) {
  .spec {
    grid-template-columns: 1fr;
    gap: 3px 0;
  }
  .spec dt {
    margin-top: 8px;
  }
}

.ev-card .tbd {
  color: #999;
}

.rows {
  margin-top: 10px;
  border-top: 1px dashed rgba(34, 30, 31, 0.25);
}

.rows .row {
  display: grid;
  grid-template-columns: max-content 1fr;
  align-items: start;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px dashed rgba(34, 30, 31, 0.25);
  font-size: 13.5px;
}

/* 時刻と見出しを上下中央でそろえる。両者を全く同じ高さ(30px)・line-height:1 の
   行ボックスに入れて中央寄せ→行は上そろえなので中心が必ず一致する */
@media (min-width: 561px) {
  .rows .row > .t,
  .rows .row > span:not(.t) {
    display: inline-flex;
    align-items: center;
    height: 30px;
    line-height: 1;
  }
  .rows .row .ev-name {
    height: 30px;
    min-height: 0;
    align-items: center;
    flex-wrap: nowrap;
    line-height: 1;
  }
  .rows .row .ev-name .ev-ttl {
    line-height: 1;
  }
}

.rows .row .t {
  font-family: var(--en);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.prog-note {
  font-size: 12px;
  color: #555;
  margin-top: 4px;
}

/* 出演者（顔写真つきチップ）。指導対局とステージ各演目で共用 */
.cast-wrap {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cast-group {
  display: grid;
  grid-template-columns: 5.5em 1fr;
  gap: 10px 12px;
  align-items: start;
}
.cast-role {
  justify-self: start;
  background: var(--spec-bg);
  color: var(--spec-fg);
  font-weight: 700;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  line-height: 1.6;
  white-space: nowrap;
  margin-top: 4px;
  text-align: center;
}
.cast-role small {
  font-size: 10px;
  font-weight: 700;
  opacity: 0.82;
  margin-left: 1px;
}
.cast {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cast .p {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  background: #fff;
  border: 1px solid var(--spec-bg);
  border-radius: 999px;
  padding: 5px 15px;
  box-shadow: 0 1px 4px rgba(29, 42, 110, 0.06);
}
.cast .p .nm {
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.cast .p .dan {
  font-size: 11px;
  color: var(--spec-fg);
  font-weight: 700;
  white-space: nowrap;
}

/* 一部・二部ブロック。カードは白地、ブロックは各カラーの薄い地色で区切る
   （指導対局＝薄ピンク／トークショー＝薄緑：--spec-bg を利用） */
.part-block {
  background: var(--spec-bg);
  border: 1px solid rgba(34, 30, 31, 0.08);
  border-radius: 10px;
  overflow: hidden;
}
.part-head {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--spec-fg);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.18em;
  padding: 10px 15px 0;
}
.part-head::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--spec-fg);
}
.part-block .cast {
  padding: 10px 14px 13px;
}

/* 対局者フィーチャー（この演目の主役として大きく見せる）
   ラベルは常にパネルの上に置き、狭い画面でも横あふれしないようにする */
.cast-group.cast-lead {
  display: block;
  /* 対局カードのオフセット影ぶん、次の「解説・聞き手」との間隔を確保 */
  margin-bottom: 9px;
}

/* ===== 注目対局カード（チラシ調のVS構図・ヒーローの世界観を踏襲） ===== */
.match {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  max-width: 480px;
  margin-top: 2px;
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: 7px 7px 0 rgba(34, 30, 31, 0.13);
}
.match .mp {
  position: relative;
  overflow: hidden;
  background: #e9e6de;
}
.match .mp:first-child {
  border-right: 2px solid var(--ink);
}
.match .mp img {
  display: block;
  width: 100%;
  aspect-ratio: 400/470;
  object-fit: cover;
  object-position: 50% 12%;
}
/* 名前プレート（ヒーローの .cap と同じ紺プレート） */
.match .mcap {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: clamp(12px, 1.7vw, 14.5px);
  letter-spacing: 0.06em;
  padding: 4px 12px;
}
.match .mcap small {
  font-size: 0.82em;
  font-weight: 700;
  color: var(--gold-l);
  margin-left: 4px;
  letter-spacing: 0.04em;
}
/* 中央VSロゴ（円なし・太いイタリック＋縁取り。分割線上に重ねる） */
.match .memblem {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
  z-index: 3;
  font-family: var(--en);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(34px, 6.2vw, 56px);
  line-height: 1;
  letter-spacing: 0.01em;
  color: #fff;
  /* stroke を fill の下に敷いて、太い縁取りでも文字がつぶれないようにする */
  -webkit-text-stroke: 3px var(--navy);
  text-stroke: 3px var(--navy);
  paint-order: stroke fill;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.5));
}

/* 記念対局＝本大会の目玉。ひとまわり大きく、金の枠でプレミアム感を */
.match.match--main {
  max-width: 560px;
  border-color: var(--navy-d);
  box-shadow: 7px 7px 0 var(--gold-l), 0 10px 26px rgba(29, 42, 110, 0.18);
}
.match.match--main .mp img {
  aspect-ratio: 400/500;
}

/* 演目名。セクション見出しと同じ「和文太字＋Oswaldの金ラベル」で統一感を出す */
.rows .row .ev-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.rows .row .ev-name {
  display: flex;
  align-items: center;
  gap: 10px 14px;
  flex-wrap: wrap;
  min-height: 30px;
}
.rows .row .ev-name .ev-ttl {
  font-weight: 900;
  font-size: clamp(16.5px, 2.2vw, 19px);
  color: var(--ink);
  letter-spacing: 0.08em;
}
.rows .row .ev-name .ev-en {
  font-family: var(--en);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.24em;
  color: var(--gold);
  align-self: center;
  transform: translateY(1px);
}
/* 記念対局は目玉。英字ラベルを金地の帯にして格を上げる */
.rows .row .ev-name.is-main .ev-en {
  color: #fff;
  background: var(--gold);
  padding: 3px 10px;
  border-radius: 3px;
  letter-spacing: 0.2em;
}
.rows .row .ev-body .cast-group {
  /* ラベルは内容幅に合わせて（前半）（後半）も1行で収める */
  grid-template-columns: max-content 1fr;
}
.cast-lead .cast-role {
  margin: 0 0 9px;
  font-size: 13px;
  padding: 5px 12px;
  display: block;
  width: fit-content;
}

@media (max-width: 560px) {
  /* ステージのスケジュールは縦積み。時刻はコントラストのあるピルにして
     見出しの真上・左端そろえで「この時間→この演目」を明確にする */
  .rows .row {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 11px 0;
  }
  .rows .row .t {
    justify-self: start;
    background: var(--spec-fg);
    color: #fff;
    font-family: var(--en);
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 4px;
    font-size: 13px;
    letter-spacing: 0.04em;
  }
  .rows .row .ev-body {
    gap: 12px;
  }
  .ev-card {
    padding: 16px 16px;
  }
  .ev-card h3 {
    padding-right: 48px;
  }
}

@media (max-width: 480px) {
  /* 役割ラベルを上に、チップを下に縦積み */
  .cast-group,
  .rows .row .ev-body .cast-group {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .cast-role {
    margin-top: 0;
  }
}

/* ===== entry ===== */
.entry-head-note {
  font-size: 15px;
  margin-bottom: 10px;
}

.entry-head-note .strong {
  /* 黒字・太字・少し大きめ＋明るい黄色の蛍光マーカー風 */
  color: var(--ink);
  font-weight: 900;
  font-size: 1.12em;
  background: linear-gradient(transparent 54%, #ffee00 54%);
  padding: 0 3px;
  margin: 0 2px;
}

.entry-period {
  display: inline-block;
  font-weight: 900;
  font-size: clamp(16px, 2.6vw, 22px);
  color: var(--red);
  border: 2px solid var(--red);
  background: #fff;
  padding: 8px 22px;
  margin: 4px 0 30px;
  letter-spacing: 0.04em;
  text-align: center;
}
.entry-period .ep-bar {
  margin: 0 8px;
  font-weight: 400;
  opacity: 0.55;
}
/* 狭い画面：「募集期間」と日付を2行に分けて中央寄せ */
@media (max-width: 560px) {
  .entry-period {
    display: block;
    padding: 11px 16px;
  }
  .entry-period .ep-bar {
    display: none;
  }
  .entry-period .ep-ttl,
  .entry-period .ep-date {
    display: block;
  }
  .entry-period .ep-date {
    margin-top: 4px;
  }
}

.e-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  border: 2px solid var(--ink);
  background: var(--ink);
  gap: 1px;
}

.e-card {
  background: #fff;
  padding: 24px 22px;
}

.e-card .no {
  font-family: var(--en);
  font-weight: 600;
  font-size: 26px;
  color: var(--red);
}

.e-card h3 {
  font-size: 16.5px;
  font-weight: 900;
  margin: 2px 0 12px;
  min-height: 2.6em;
}

.e-card table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.e-card th,
.e-card td {
  text-align: left;
  padding: 6px 2px;
  border-bottom: 1px solid #e2e0d8;
  vertical-align: top;
}

.e-card th {
  width: 4.5em;
  padding-right: 14px;
  color: var(--navy);
  /* 2〜3文字のラベルを同幅で均等割り（値との間隔を詰めて揃える） */
  text-align: justify;
  text-align-last: justify;
  text-justify: inter-character;
}

.chui {
  margin-top: 24px;
  font-size: 13px;
  border: 2px solid var(--ink);
  background: #fff;
  padding: 16px 20px;
}

.chui b {
  color: var(--red);
}
.chui-ttl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.chui-ico {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  transform: translateY(-1px);
}
.chui-list {
  margin: 9px 0 0;
  padding: 0;
  list-style: none;
}
.chui-list li {
  position: relative;
  padding-left: 17px;
  margin-top: 5px;
  line-height: 1.75;
}
.chui-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}
.chui-note {
  margin-top: 11px;
  padding-top: 9px;
  border-top: 1px dashed rgba(34, 30, 31, 0.2);
  line-height: 1.7;
}

.entry-cta {
  margin: 14px 0 38px;
  text-align: center;
}

/* 募集期間の上に置く大きめ申込ボタン */
.hero-cta.is-lg {
  margin-top: 0;
  justify-content: center;
  min-width: min(560px, 100%);
  padding: 22px 48px;
  font-size: clamp(16px, 2.4vw, 20px);
  gap: 16px;
}
.hero-cta.is-lg .ar {
  font-size: 1.25em;
}

/* ===== access ===== */
.access {
  background: var(--aqua-l);
}

.access-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 0;
  border: 2px solid var(--ink);
  background: #fff;
}

.access-info {
  padding: 26px 26px;
  border-right: 2px solid var(--ink);
}

.access-grid iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

.venue-nm {
  font-weight: 900;
  font-size: 19px;
}

.acc-way {
  margin-top: 12px;
  font-size: 14px;
}

.acc-way b {
  display: block;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--navy);
}

@media (max-width: 760px) {
  .access-grid {
    grid-template-columns: 1fr;
  }
  .access-info {
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }
}

/* ===== org / footer ===== */
.org {
  font-size: 14px;
}

.org .sec-in {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 700px) {
  .org .sec-in {
    grid-template-columns: 1fr;
  }
}

/* 協賛バナー（主催・協賛・運営事務局の上に全幅で配置） */
.sponsor-banner {
  grid-column: 1 / -1;
  display: block;
  max-width: 800px;
  margin: 0 auto clamp(16px, 2.5vw, 28px);
  border: 1px solid #e2e0d8;
}

.sponsor-banner img {
  width: 100%;
  height: auto;
}

.org h4 {
  letter-spacing: 0.25em;
  font-size: 12.5px;
  color: var(--navy);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 6px;
  margin-bottom: 8px;
  font-weight: 900;
}

footer {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 30px 10px;
}

footer .f-ttl {
  font-weight: 900;
  letter-spacing: 0.2em;
  font-size: 14px;
}

footer .f-line {
  width: 60px;
  height: 2px;
  background: var(--gold-l);
  margin: 10px auto;
}

footer p.c {
  font-size: 11.5px;
  opacity: 0.75;
}

.org-info,
.office-add {
  font-size: 0.85em;
}

/* ===== ページ上部へ戻るボタン ===== */
.to-top {
  position: fixed;
  right: clamp(16px, 2.6vw, 30px);
  bottom: clamp(16px, 2.6vw, 30px);
  z-index: 90;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: var(--navy);
  color: #fff;
  border: 2px solid var(--navy);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(29, 42, 110, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.3s,
    transform 0.3s,
    visibility 0.3s,
    background 0.25s,
    border-color 0.25s;
}
.to-top.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.to-top:hover {
  background: var(--red);
  border-color: var(--red);
}
.to-top svg {
  width: 22px;
  height: 22px;
}
@media (max-width: 600px) {
  .to-top {
    width: 46px;
    height: 46px;
  }
  .to-top svg {
    width: 20px;
    height: 20px;
  }
}
