/* =========================
   Jun Sports Hokkaido - NEWS
   Unified CSS (RB-style base + Mobile SNS option)
   - Base: Bright (RB-like)
   - List: Card grid / Detail: Article card
   - Mobile: IG-like list + X-like detail (at bottom)
   ========================= */

:root{
  --bg: #f3f4f6;                 /* page bg */
  --panel: #ffffff;              /* card bg */
  --line: rgba(0,0,0,.12);       /* border */
  --text: #111827;               /* text */
  --muted: rgba(17,24,39,.65);   /* sub text */

  --navy: #071a3a;
  --navy2:#020714;
  --gold1:#C9A24D;
  --gold2:#F5E1A4;

  --shadow: 0 14px 32px rgba(0,0,0,.12);
  --shadow2: 0 22px 42px rgba(0,0,0,.16);

  --radius: 18px;
  --radius2: 22px;

  --container: 1200px;
  --gap: 28px;

  --header-h: 0px;              /* fixed header height if needed */
}

/* =========================
   Page / Layout
   ========================= */
.event-page{
  background: linear-gradient(180deg, #F5F7FB 0%, #EDF1F7 100%);
}

.event-container{
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 255px;
  gap: 24px;
}

/* =========================
   Hero
   ========================= */
.event-hero{
  background:
    radial-gradient(1200px 420px at 50% 0%, rgba(201,162,77,.22), transparent 55%),
    linear-gradient(180deg, var(--navy), var(--navy2));
  color: #fff;
  text-align: center;
  padding: calc(42px + var(--header-h)) 0 27px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  margin-top: 40px;
}

.event-hero--thin{
  padding: calc(32px + var(--header-h)) 0 22px;
}

.event-hero__inner{
  width: min(var(--container), 92vw);
  margin: 0 auto;
}

.event-hero__title{
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: .10em;
  font-weight: 900;
  margin: 0;
}

.event-hero__lead{
  margin: 10px 0 10px;
  opacity: .85;
  letter-spacing: .06em;
  font-weight: 700;
  color: rgba(17, 24, 39, .72);
}

/* =========================
   List (news_list)
   ========================= */

/* grid wrapper you are using */
.event-main-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

/* card */
.event-card{
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

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

.event-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

/* thumb */
.event-card__thumb{
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--navy2));
  position: relative;
}

.event-card__thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.event-card__noimg{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  letter-spacing: .18em;
  color: rgba(255,255,255,.92);
}

/* optional badge on image */
.event-badge{
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;

  padding: 8px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .10em;

  color: #111;
  background: linear-gradient(135deg, var(--gold1), var(--gold2));
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 10px 26px rgba(0,0,0,.28);
}

/* body */
.event-card__body{
  padding: 16px 16px 18px;
}

.event-card__date{
  font-size: 12px;
  color: rgba(17,24,39,.55);
  font-weight: 800;
  letter-spacing: .06em;
  margin: 0;
}

.event-card__category{
  margin-left: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  display: inline-block;
  vertical-align: middle;
  padding-left: 0;
}

/* category colors */
.event-card__category.cat-team{
  background: rgba(10,95,255,.18);
  color: #0a5fff;
}
.event-card__category.cat-top{
  background: rgba(120,120,120,.18);
  color: #444;
}
.event-card__category.cat-goods{
  background: linear-gradient(135deg, #C9A24D, #F5E1A4);
  color: #1a1a1a;
}
.event-card__category.cat-event{
  background: rgba(27,167,166,.18);
  color: #1ba7a6;
}

.event-card__title{
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
  margin: 10px 0 0;
  color: var(--text);

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* =========================
   Sidebar (shared)
   ========================= */
.event-side{
  position: sticky;
  top: calc(200px + var(--header-h));
  align-self: start;
}

.side-box{
  background: #fff;
  border: 1px solid var(--line);
  padding: 16px 16px 10px;
  margin-bottom: 18px;
}

.side-box h3{
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .18em;
  color: var(--text);
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(7,26,58,.15);
}

.side-box ul{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.side-box a{
  display: block;
  padding: 10px 10px;
  border-radius: 5px;
  text-decoration: none;
  color: rgba(17,24,39,.78);
  font-weight: 600;
  letter-spacing: .04em;
  border: 1px solid rgba(0,0,0,.06);
  background: rgba(0,0,0,.02);
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
  font-size: 0.85rem;
}

.side-box a:hover{
  transform: translateY(-1px);
  background: rgba(7,26,58,.06);
  border-color: rgba(7,26,58,.14);
  color: rgba(17,24,39,.92);
}

/* =========================
   Filter row (optional)
   ========================= */
.event-filter{
  grid-column: 1 / -1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 12px;
}

.event-filter__row{
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.event-filter__chips{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip{
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  color: rgba(17,24,39,.72);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .06em;
  background: rgba(0,0,0,.02);
}

.chip.is-active{
  border-color: rgba(201,162,77,.55);
  background: linear-gradient(135deg, rgba(201,162,77,.20), rgba(245,225,164,.18));
  color: rgba(17,24,39,.92);
}

.event-filter__search{
  display: flex;
  gap: 8px;
  align-items: center;
}

.search{
  width: min(360px, 60vw);
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255,255,255,.9);
  color: var(--text);
}

/* =========================
   Detail (news_detail)
   ========================= */
.event-wrap{
  padding: 28px 0 80px;
  background: linear-gradient(180deg, #F5F7FB 0%, #EDF1F7 100%);
}

/* detail grid wrapper you use */
.event-grid{
  width: min(var(--container), 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 255px;
  gap: 24px;
}

/* aside wrapper for detail (if exists) */
.event-detail_aside{
  margin-top: 37.6px;
}

/* breadcrumbs */
.breadcrumbs{
  color: rgba(17,24,39,.70);
  font-weight: 800;
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 12px;
}
.breadcrumbs a{
  color: rgba(17,24,39,.70);
  text-decoration: none;
}
.breadcrumbs a:hover{
  color: rgba(17,24,39,.92);
}

/* article */
.event-article {
  background: transparent;
  padding: 0;
  color: var(--text);
  border-radius: 0;
}
@media (min-width: 641px) {
  .event-article {
    background: var(--panel);
    border: 1px solid var(--line);
    padding: 20px 40px;
    /*border-radius: var(--radius);*/
  }
}


.event-article__meta{
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
  color: rgba(17,24,39,.70);
  font-weight: 800;
}

.event-article__title{
  color: var(--text);
  font-weight: 900;
  margin: 0 0 14px;
  line-height: 1.25;
}

.event-article__body{
  color: var(--text);
  line-height: 1.9;
  border-top: 1px solid rgba(7, 26, 58, .15);
  padding-top: 14px;
}

.event-article__body h2,
.event-article__body h3{
  margin-top: 1.4em;
}

.event-article__body a{
  color: #0a5fff;
  font-weight: 800;
}

.event-article__actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* list marker custom (▶) */
.event-article__body ul{
  list-style: none;
  padding-left: 0;
}
.event-article__body li{
  position: relative;
  padding-left: 1.2em;
}
.event-article__body li::before{
  content: "▶";
  position: absolute;
  left: 0;
  top: .1em;
  font-size: .8em;
  color: var(--gold1);
}


/* =========================
   Responsive (Tablet)
   ========================= */
@media (max-width: 1100px){
  .event-container{
    grid-template-columns: 1fr 300px;
    gap: 34px;
  }
  .event-main-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px){
  .event-container{
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .event-side{
    position: static;
  }
}

@media (max-width: 980px){
  .event-grid{
    grid-template-columns: 1fr;
  }
}

/* =========================
   Mobile (ONLY) - keep at bottom
   - List: IG-like (3 columns) + meta overlay
   - Detail: X-like (compact + fixed action bar)
   ========================= */
@media (max-width: 640px){

  /* page */
  .event-page{
    padding: var(--header-h);
    min-height: 325px;
  }
  .event-container{
    padding: 0;
  }
  .event-main-grid {
    height: auto;
  }

  /* hero compact */
  .event-hero{
    margin-top: 40px;
    padding: calc(24px + var(--header-h)) 0 14px;
  }
  .event-hero__title{
    font-size: 20px;
    letter-spacing: .10em;
  }
  .event-hero__lead{
    display: none;
  }

  /* hide sidebars for mobile SNS feel */
  .event-side,
  .event-aside,
  .event-detail_aside{
    display: none;
  }

  /* =====================
     LIST: 3-column grid
     ===================== */
  .event-main-grid,
  .event-cards{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
  }

  .event-card{
    position: relative;          /* ★ overlay基準 */
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    transform: none;
    overflow: hidden;            /* ★ はみ出し防止 */
  }
  .event-card:hover{
    transform: none;
    box-shadow: none;
  }

  /* thumb */
  .event-card__thumb{
    aspect-ratio: 4 / 5;
    border-radius: 0;
  }

  /* meta overlay (date + category only) */
  .event-card__body{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;

    display: block;
    padding: 10px 8px 10px;

    background: linear-gradient(
      180deg,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,.55) 70%,
      rgba(0,0,0,.78) 100%
    );
  }

  .event-card__date{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    margin: 0;
    line-height: 1.2;
    color: rgba(255,255,255,.92);
  }

  .event-card__category{
    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 10px;
    padding: 2px 8px;
    border-radius: 999px;
    margin-left: 0;
    white-space: nowrap;
  }

  /* IG感を維持してテキストは隠す */
  .event-card__title,
  .event-card__excerpt,
  .event-card__meta{
    display: none;
  }

  /* =====================
     DETAIL: X-like post
     ===================== */
  .breadcrumbs{
    font-size: 12px;
    opacity: .85;
    margin: 0 0 8px;
  }

  .event-article{
    padding: 0 0 8px;
    border-radius: 0;
    box-shadow: none;
    border-top: 1px solid rgba(0,0,0,.12);
    border-bottom: 1px solid rgba(0,0,0,.12);
    background: linear-gradient(180deg, #F5F7FB 0%, #EDF1F7 100%);
  }

  .event-article__meta{
    font-size: 12px;
    gap: 8px;
    flex-wrap: wrap;
    margin: 8px 0;
  }

  .event-article__title{
    font-size: 19px;
    line-height: 1.35;
    margin: 6px 0 10px;
  }

  .event-article__body{
    font-size: 15px;
  }

  .event-article__body img{
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    margin: 12px 0;
  }

  /* fixed action bar */
  .event-article__actions{
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;

    padding: 10px 12px 12px;
    background: rgba(255,255,255,.90);
    border-top: 1px solid rgba(0,0,0,.10);
    backdrop-filter: blur(10px);

    margin: 0;
  }

  .event-article__actions .btn{
    width: 100%;
    padding: 10px 0;
    border-radius: 12px;
    font-size: 13px;
  }

  .event-wrap{
    padding-bottom: 0px; /* fixed bar space */
  }

/* =========================
   Improve readability (mobile list overlay)
   ========================= */

/* 下部オーバーレイを強化 */
.event-card__body{
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,.55) 55%,
    rgba(0,0,0,.88) 100%
  );
  padding: 12px 8px 10px;
}

/* 日付：白＋影で可読性UP */
.event-card__date{
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  text-shadow: 0 2px 6px rgba(0,0,0,.6);
}

/* カテゴリ：必ず読める“黒帯バッジ” */
.event-card__category{
  background: rgba(0,0,0,.75) !important;
  color: #ffffff !important;
  font-size: 10px;
  font-weight: 900;
  padding: 3px 9px;
  border-radius: 999px;
  text-shadow: none;
}

/* カテゴリ色は「縁 or 下線」で表現（色は残す） */
.event-card__category.cat-team{
  box-shadow: inset 0 -2px 0 #0a5fff;
}
.event-card__category.cat-top{
  box-shadow: inset 0 -2px 0 #999;
}
.event-card__category.cat-goods{
  box-shadow: inset 0 -2px 0 #C9A24D;
}
.event-card__category.cat-event{
  box-shadow: inset 0 -2px 0 #1ba7a6;
}




}

/* extra small */
@media (max-width: 390px){
  .event-main-grid,
  .event-cards{
    grid-template-columns: repeat(2, 1fr);
  }
}

/* share-box only for detail */
.event-article .share-box{
  margin: 10px 0 14px;
}

.event-article .share-box__list{
  list-style: none;
  padding: 0;
  margin: 0;

  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.event-article .share-box__btn{
  width: 40px;
  height: 40px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;
}

.event-article .share-box__btn i{
  font-size: 30px;
  line-height: 1;
}

.event-article .share-box__btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(0,0,0,.14);
}

/* sr-only */
.sr-only{
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}


.ttl-share{
  text-align: center;
  font-weight: 900;
  letter-spacing: .18em;
  font-size: 14px;
  margin: 24px 0 14px;
}

.share-list{
  display: flex;
  justify-content: center;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.share-list a{
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid rgba(0,0,0,.12);
  color: #111;
  font-size: 18px;
  transition: transform .15s ease, box-shadow .15s ease;
}

.share-list a:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
}
.ttl-share{
  display: flex;
  align-items: center;
  gap: 12px;
}
.ttl-share::before,
.ttl-share::after{
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(0,0,0,.2);
}


.event-article__title {
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.02em;

  /* ここが肝 */
  max-width: 18em;        /* 行幅を制限して自然改行 */
  word-break: keep-all;  /* 日本語を変な位置で切らない */
  overflow-wrap: break-word;
}




.event-article__content{
  line-height: 1.95;
  letter-spacing: .02em;
}

/* 本文内画像 */
.event-article__content img{
  max-width: 100%;
  height: auto;
  display: block;
  margin: 18px auto;
  border-radius: 16px;
}

/* 画像＋キャプション運用（CKEditorでfigure/figcaptionを入れる想定） */
.event-article__content figure{
  margin: 22px 0;
}
.event-article__content figcaption{
  margin-top: 8px;
  font-size: .92em;
  opacity: .72;
  text-align: center;
}

/* 引用（Numberっぽい） */
.event-article__content blockquote{
  margin: 22px 0;
  padding: 16px 18px;
  border-left: 4px solid rgba(0,0,0,.85);
  background: rgba(0,0,0,.04);
}
.event-article__content blockquote p{
  margin: 0;
  font-weight: 800;
  letter-spacing: .08em;
}



/* KPI */
.kpi-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
}
.kpi-card{
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  padding: 14px 14px 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,.08);
}
.kpi-label{
  margin: 0 0 6px;
  font-size: 12px;
  color: rgba(0,0,0,.55);
  letter-spacing: .08em;
}
.kpi-value{
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .02em;
}
.kpi-note{
  margin: 6px 0 0;
  font-size: 12px;
  color: rgba(0,0,0,.55);
}

/* ========== Body Grid ========== */
.event-body{
  max-width: 1200px;
  margin: 18px auto 0;
}
.event-grid{
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 18px;
}

/* ========== Section Head ========== */
.section-head{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 6px 0 10px;
}
.section-title{
  margin: 0;
  font-size: 16px;
  letter-spacing: .14em;
  font-weight: 900;
  color: rgba(0,0,0,.85);
  min-width: 30%;
}

/* Segmented */
.segmented{
  display: inline-flex;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
  box-shadow: 0 14px 32px rgba(0,0,0,.06);
}
.segmented__item{
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 12px;
  border-radius: 999px;
  color: rgba(0,0,0,.75);
}
.segmented__item.is-active{
  color: #fff;
  background: linear-gradient(135deg, #0A5FFF, #1FA2FF);
}

/* ========== Card ========== */
.card{
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 18px 44px rgba(0,0,0,.08);
}
.card__head{
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}
.card__title{
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .06em;
  color: rgba(0,0,0,.8);
}
.card__sub{
  padding-left: 10px;
  font-size: 12px;
  color: rgba(0,0,0,.6);
}
.card__foot{ margin-top: 12px; }

/* Highlight media */
.media-16x9{
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
}
.media-16x9 img,
.media-16x9 video,
.media-16x9 iframe{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.btn-link{
  font-weight: 900;
  text-decoration: none;
  color: rgba(10,95,255,.95);
}

/* Tabs */
.event-tabs{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 12px;
  justify-content: space-between;
  flex-wrap: nowrap;
}
.tab{
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  color: rgba(0,0,0,.75);
  background: #fff;
  width: 14%;
  text-align: center;
}
.tab.is-active{
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #0A5FFF, #1FA2FF);
  width: 14%;
  text-align: center;
}

/* Table */
.table-wrap{ overflow:auto; border-radius: 14px; border:1px solid rgba(0,0,0,.08); }
.score-table{
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
.score-table thead th{
  position: sticky;
  top: 0;
  background: #f3f5f8;
  color: rgba(0,0,0,.75);
  font-size: 12px;
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.score-table td{
  padding: 12px 10px;
  border-bottom: 1px solid rgba(0,0,0,.06);
  font-size: 13px;
}
.score-table .num{ text-align: center; font-variant-numeric: tabular-nums; }
.score-table tbody tr:hover{ background: rgba(10,95,255,.04); }

.is-jsh{
  background: rgba(201,162,77,.10);
}
.is-jsh .badge{
  display: inline-flex;
  margin-left: 8px;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  color: #0b1020;
  background: linear-gradient(135deg, #F5E1A4, #C9A24D);
  align-items: center;     /* ← これを追加 */
  justify-content: center; /* 念のため（左右も中央） */
}

/* Side */
.side-card{
  position: sticky;
  top: 0;
  margin-bottom: 18px;
}
.info-list{ margin: 0; }
.info-row{
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.info-row:last-child{ border-bottom: none; }
.info-row dt{ font-size: 12px; color: rgba(0,0,0,.55); font-weight: 800; }
.info-row dd{ margin: 0; font-size: 13px; font-weight: 800; color: rgba(0,0,0,.85); }

.share-row{ display:flex; gap:8px; }
.share-btn{
  flex: 1;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.10);
  text-decoration: none;
  font-weight: 900;
  color: rgba(0,0,0,.8);
}

/* Responsive */
@media (max-width: 980px){
  .event-hero__inner{ grid-template-columns: 1fr; }
  .event-grid{ grid-template-columns: 1fr; }
  .side-card{ position: static; }
}



/* PCのみ適用 */
@media screen and (min-width: 1024px) {
  .event-name__long {
    font-size: 10px!important;
  }
}



/* event-grid の直下の子は必ず縮められるようにする */
.event-grid > * {
  min-width: 0;
}

/* 念のため main 側も */
.event-main {
  min-width: 0;
}

.event-hero__sub{
  margin-bottom: 10px;
}

.t-summary{
  color: rgba(17, 24, 39, .72);
  margin-bottom: 20px;
}

.event-hero__meta{
  padding: 0 16px;
}

/* 出場選手グリッド */
.athlete-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 15%));
  gap: 20px;
  align-items: center;
}

/* 選手画像 */
.athlete-grid img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 5;   /* 正方形 */
  object-fit: cover;
  border-radius: 10px;
}

@media (max-width: 641px){
  .athlete-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(80px, 1fr));
    gap: 14px;
    align-items: center;
  }
}

.scorebord{
  color: rgba(17, 24, 39, .72);
}

.round-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.round-tab {
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  color: rgba(0,0,0,.75);
  background: #fff;
  text-align: center;

}

.round-tab.is-active {
  background: linear-gradient(135deg, #0A5FFF, #1FA2FF);
  color: #fff;
  font-weight: 700;
}


.comment {
  margin-bottom: 20px;
}

.aa-section{
  margin-top: 28px;
}

.score-section--aa{
  padding-top: 0;
}

/* ベース（スマホ想定：縦積み） */
.section-head.section-head--split{
  display: flex;
  flex-direction: column;   /* ←スマホは下に落とす */
  align-items: flex-start;
  gap: 10px;
}

/* タブが折り返せるように */
.event-tabs{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  width: 100%;
}

/* PC（例：768px以上）では横並び */
@media (min-width: 768px){
  .section-head.section-head--split{
    flex-direction: row;     /* ←PCは横並び */
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
  }

  .event-tabs{
    justify-content: flex-end; /* 右寄せ */
  }
}

.music-card {
  padding: 0;
  height: 353px;
  margin-bottom: 28px;
  background: linear-gradient(180deg, #F5F7FB 0%, #EDF1F7 100%);
}

.athlete-name{
  font-size: 11px;
  padding-top: 5px;
  text-align: center;
}

.card {
  border: none!important;
  background: none!important;
}
