/* =========================
   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
   ========================= */
.team-page{
  background: linear-gradient(180deg, #F5F7FB 0%, #EDF1F7 100%);
  padding: calc(64px + var(--header-h)) 0 84px;
}

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

/* =========================
   Hero
   ========================= */
.team-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;
}

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

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

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

.team-hero__lead{
  margin: 10px 0 0;
  opacity: .85;
  letter-spacing: .06em;
  font-weight: 700;
}

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

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

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

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

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

/* thumb */
.team-card__thumb{
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--navy2));
  position: relative;
  background-size: 100% auto;   /* 横100% */
  background-position: top center;
  background-repeat: no-repeat;
}

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

.team-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 */
.team-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 */
.team-card__body{
  padding: 16px 16px 18px;
}

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

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

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

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

/* =========================
   Sidebar (shared)
   ========================= */
.team-side{
  position: sticky;
  top: calc(16px + 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)
   ========================= */
.team-filter{
  grid-column: 1 / -1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 12px;
}

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

.team-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);
}

.team-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)
   ========================= */
.team-wrap{
  padding: 28px 0 80px;
  background: linear-gradient(180deg, #F5F7FB 0%, #EDF1F7 100%);
}

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

/* aside wrapper for detail (if exists) */
.team-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 */
.team-article {
  background: transparent;
  padding: 0;
  color: var(--text);
  border-radius: 0;
}
@media (min-width: 641px) {
  .team-article {
    background: var(--panel);
    border: 1px solid var(--line);
    padding: 20px 40px;
    /*border-radius: var(--radius);*/
  }
}


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

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

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

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

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

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

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


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

@media (max-width: 900px){
  .team-container{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  .team-side{
    position: static;
  }
}

@media (max-width: 980px){
  .team-grid{
    grid-template-columns: repeat(2, minmax(0, 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 */
  .team-page{
    padding: var(--header-h);
    min-height: 325px;
  }
  .team-container{
    padding: 0;
  }
  .team-main-grid {
    height: auto;
  }

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

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

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

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

  /* thumb */
  .team-card__thumb{
    aspect-ratio: 4 / 5;
 　 background-size: 100% auto;   /* 横100% */
    background-position: top center;
    background-repeat: no-repeat;
    border-radius: 0;
  }

  .label_title{
    padding-left:18px;
  }

  .team-card__body {
    padding: 5px 0px 18px;
  }

  .team-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);
  }

  .team-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感を維持してテキストは隠す */
  .team-card__title,
  .team-card__excerpt,
  .team-card__meta{
    display: block;
    font-size: 11px;
    padding: 0;
    text-align: center;
    }

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

  .team-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%);
  }

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

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

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

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

  /* fixed action bar */
  .team-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;
  }

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

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

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


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

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




}

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

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

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

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

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

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

  text-decoration: none;
}

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

.team-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);
}


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

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




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

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

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

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


.team_container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.team-section__title{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  letter-spacing: .24em;
}


.label-title{
  max-width: 1120px;
  margin: 0 auto 18px;
  padding: 0 28px;
}


/* 左に縦バー（色だけ変える） */
.team-section__title::before{
  content:"";
  width: 5px;
  height: 22px;
  border-radius: 999px;
  background: currentColor;
  opacity: .95;
}

/* ラベル別カラー */
.team-section__title.label-diamond  { color: #bfe9ff; }
.team-section__title.label-platinum { color: #d6d6d6; }
.team-section__title.label-gold     { color: #d6b24c; }
.team-section__title.label-silver   { color: #b8c0cc; }
.team-section__title.label-bronze   { color: #b97845; }
.team-section__title.label-coach    { color: #8fb3ff; }






.player-container{
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}

.player-hero{
  background: radial-gradient(ellipse at center, rgba(255,255,255,.08), rgba(0,0,0,0) 55%),
              linear-gradient(180deg, #061229, #020814);
  color: #fff;
  padding: 42px 0;
}

.player-hero__inner{
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: center;
}

.player-hero__num{
  font-size: 34px;
  font-weight: 900;
  letter-spacing: .06em;
  margin: 0 0 8px;
}

.player-hero__en{
  opacity: .75;
  margin: 0 0 10px;
}

.player-hero__name{
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.15;
  margin: 0 0 8px;
  font-weight: 900;
}

.player-hero__sub{
  margin: 0 0 14px;
  opacity: .9;
}

.player-hero__sns{
  display: flex;
  gap: 10px;
}

.player-hero__sns a{
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(0,0,0,.55);
  color: #fff;
  display: grid;
  place-items: center;
}

.player-hero__image img{
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.player-section{
  padding: 28px 0;
}

.player-section__title{
  font-weight: 900;
  letter-spacing: .06em;
  margin: 0 0 14px;
}

.profile-dl{
  background: #fff;
  border-radius: 14px;
  padding: 16px;
}

.profile-dl__row{
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.profile-dl__row:last-child{ border-bottom: 0; }

.player-tabs{
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}
.player-tab{
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(0,0,0,.06);
  text-decoration: none;
  color: inherit;
  font-weight: 800;
}
.player-tab.is-active{
  background: rgba(0,0,0,.12);
}

.player-rich{
  background: #fff;
  border-radius: 14px;
  padding: 16px;
}

/* SP */
@media (max-width: 768px){
  .player-hero__inner{
    grid-template-columns: 1fr;
  }
}

