/* ============================================================
  西武鉄道コラボ (seibutesudou) - おやこおでかけ応援隊
  Revised: 2026-02-18
============================================================ */

/* ----------------------------------------
  CSS Variables（Figmaより抽出）
---------------------------------------- */
:root {
  --sb-green:      #96d032;   /* rgb(150,208,50)  - カードラベル・ボタン */
  --sb-green-bg:   #cbe69e;   /* rgb(203,230,158) - Eventセクション背景 */
  --sb-green-dark: #92c43a;   /* rgb(146,196,58)  - フッター・協賛セクション */
  --sb-orange:     #ffae00;   /* rgb(255,174,0)   - セクション英字タイトル */
  --sb-blue:       #0d60a9;   /* rgb(13,96,169)   - 西武ブルーボタン */
  --sb-text:       #333333;
  --sb-text-gray:  #515151;
  --sb-inner:      1100px;
}

/* ----------------------------------------
  Reset / Base
---------------------------------------- */
.seibutesudou-page *,
.seibutesudou-page *::before,
.seibutesudou-page *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
.seibutesudou-page {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--sb-text);
  overflow-x: hidden;
  background: #fff;
  /* jstorkテーマの余白をリセット */
  padding: 0 !important;
}
.seibutesudou-page:before{
  content: none;
}
.seibutesudou-single:before,
.seibutesudou-archive:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #CBE69E;
  opacity: 0.18;
  z-index: 0;
  pointer-events: none;
}
.seibutesudou-page a { text-decoration: none; color: inherit; }
.seibutesudou-page img { max-width: 100%; height: auto; display: block; margin-left: auto; margin-right: auto; }
.seibutesudou-page ul  { list-style: none; }

.seibutesudou-page .pc-only { display: block; }
.seibutesudou-page .sp-only { display: none; }

@media (max-width: 767px) {
  .seibutesudou-page .pc-only { display: none !important; }
  .seibutesudou-page .sp-only { display: block !important; }
}

/* ----------------------------------------
  共通: セクション見出し
---------------------------------------- */
.sb-section-heading { margin-bottom: 36px; }

.sb-section-en {
  display: block;
  line-height: 1;
}
.sb-section-en svg { display: block; overflow: visible; }
.sb-section-ja {
  font-size: 14px;
  color: #888;
  margin-top: 6px;
  font-weight: 500;
}

/* ----------------------------------------
  共通: ボタン
---------------------------------------- */
.sb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--sb-green);
  color: #fff !important;
  font-size: 12px;
  font-weight: 600;
  padding: 0 18px 0 20px;
  height: 30px;
  border-radius: 33px;
  gap: 8px;
  transition: opacity 0.2s;
}
.sb-btn::after {
  content: '▶';
  font-size: 7px;
  color: #fff;
}
.sb-btn:hover { opacity: 0.82; }

.sb-btn-wrap { margin-top: 32px; text-align: left; }

.sb-link-arrow {
  font-size: 13px;
  color: var(--sb-green);
  border-bottom: 1px solid var(--sb-green);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}
.sb-link-arrow:hover { opacity: 0.75; }

/* ----------------------------------------
  KV: ヒーロー写真 + ヘッダー + About オーバーレイ
  Figma: header (y=0,h=232) と About (y=372-) が photo(y=0,h=931) 上に重なる
---------------------------------------- */
.sb-kv {
  position: relative;
}

.sb-kv__photo { line-height: 0; }
.sb-kv__img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* ヘッダー：写真上にオーバーレイ（1行構造） */
.sb-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
}
.sb-header__inner {
  max-width: var(--sb-inner);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 40px;
}
.sb-header__logo-area {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sb-header__title {
  font-family: 'Kaisei Opti', serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  white-space: nowrap;
}
.sb-header__brand {
  width: 95px;
}
.sb-header__nav {
  display: flex;
  align-items: center;
  gap: 40px;
}
.sb-header__nav a {
  font-size: 16px;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.sb-header__nav a:hover { opacity: 0.75; }

/* Burger: PC非表示 */
.sb-header__burger { display: none; }

/* ----------------------------------------
  ABOUT / プロジェクトについて（KV内オーバーレイ）
  Figma: y=372〜772 の位置に白パネルをオーバーレイ
  PC: position:absolute でヒーロー写真上
  SP: normal flow でヒーロー写真の下
---------------------------------------- */

/* PC: ヒーロー写真上のオーバーレイ
   Figma: hero 全高=931px、white panel top=y=373 → 373/931 = 40.06% */
.sb-kv__about {
  position: absolute;
  top: 40%;
  left: 0;
  right: 0;
  z-index: 5;
}

.sb-kv__about-inner {
  max-width: var(--sb-inner);
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}

/* 白背景パネル（Figma: x=285, y=373, w=777, h=400, opacity=0.9, radius=15px）
   text-align:center / font: Kaisei Opti */
.sb-about__panel {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  padding: 29px 59px 40px;
  max-width: 777px;
  margin-left: 113px;
  text-align: center;
}

/* タイトル: Kaisei Opti Bold 37px */
.sb-about__title {
  font-family: 'Kaisei Opti', serif;
  font-size: 37px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 8px;
}

/* mamanowaロゴ: 117×35px (2x=234×71) */
.sb-about__mamanowa {
  width: 117px;
  margin: 0 auto 24px;
}

/* 本文: Kaisei Opti Medium 18px, line-height:35px, center */
.sb-about__text {
  font-family: 'Kaisei Opti', serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 35px;
  color: #222;
}
.sb-about__text p + p { margin-top: 0; }
.sb-about__text strong { font-weight: 700;

}

.sb-about__text strong.line{
/* Line 6 */
padding-bottom: 4px;
border-bottom: 3px dashed #F6949E;
}

/* ピンクドット区切り線: 145×3px (2x=290×6) */
.sb-about__separator {
  width: 145px;
  margin: 14px auto 0;
}

/* キーワード色 */
.sb-c-orange { color: #ffae00; }
.sb-c-green  { color: #96d033; }
.sb-c-blue   { color: #4b9de8; }
.sb-c-pink   { color: #f67581; }

/* ico_c1: Aboutイラスト（擬似要素）
   Figma: x=243, y=552, rotate 3.45° */
.sb-kv__about-inner::before {
  content: '';
  position: absolute;
  left: 110px;
  top: 179px;
  width: 166px;
  height: 127px;
  background: url(images/ico_c1.svg) no-repeat center / contain;
  pointer-events: none;
  transform: rotate(3.45deg);
}

/* キャラクター装飾（共通: 残存img用） */
.sb-deco { position: absolute; pointer-events: none; }

/* ico_c2: Newsセクション上部の男の子キャラ（KV下辺に追従） */
.sb-news::after {
  content: '';
  position: absolute;
  left: calc(50% + 450px);
  top: -100px;
  width: 86px;
  height: 109px;
  background: url(images/ico_c2.svg) no-repeat center / contain;
  transform: rotate(4.93deg);
  pointer-events: none;
  z-index: 1;
}

/* ----------------------------------------
  波型セパレーター（KV→News間）
---------------------------------------- */
.sb-wave-separator {
  margin-top: -30px;
  position: relative;
  z-index: 6;
  line-height: 0;
}
.sb-wave-separator svg {
  width: 100%;
  display: block;
}
.sb-wave-separator--inverted {
  margin-top: 0;
  margin-bottom: 0;
  transform: rotate(180deg);
}

/* ----------------------------------------
  NEWS / お知らせ
---------------------------------------- */
.sb-news {
  background: #fff;
  padding: 0 40px 64px;
  position: relative;
}
/*
.sb-news::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #96daf0, rgba(150, 218, 240, 0));
  opacity: 0.18;
  z-index: 0;
  pointer-events: none;
}*/
.sb-news__inner {
  max-width: var(--sb-inner);
  margin: 0 auto;
  padding-top: 52px;
  position: relative;
  z-index: 1;
}
.sb-news__list {
  margin-top: 28px;
  border-top: 1px solid #e8e8e8;
}
.sb-news__item {
  display: flex;
  gap: 0;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid #e8e8e8;
  font-size: 14px;
  line-height: 1.6;
}
.sb-news__date {
  color: var(--sb-text-gray);
  white-space: nowrap;
  width: 128px;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
}
.sb-news__text { color: #000; }
.sb-news__contact {
  margin-top: 20px;
  text-align: right;
}
/* ico_c3: News本読み男の子（擬似要素） */
.sb-events .sb-events__inner::before {
  content: '';
  position: absolute;
  top: 75px;
  left: calc(50% - 145px);
  width: 71px;
  height: 117px;
  background: url(images/ico_c3.svg) no-repeat center / contain;
  pointer-events: none;
  z-index: 1;
}

/* ico_c8 + ico_c7: Seibuセクション装飾＋下部白波（擬似要素）
   背景レイヤー順: 1.家族歩く(最前面) → 2.三つ編み → 3.白波(最背面) */
.sb-seibu::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    url(images/wave-seibu-bottom.svg) center bottom / 100% 61px no-repeat;
}

.sb-seibu .sb-seibu__inner{
  position: relative;
  z-index: 20;
}
.sb-seibu .sb-seibu__inner::before {
  content: '';
  position: absolute;
  bottom: -135px;
  left: calc(50% - 543px);
  width: 242px;
  height: 132px;
  background: url(images/ico_c8.svg) no-repeat center / contain;
  pointer-events: none;
  z-index: 1;
}

.sb-seibu .sb-seibu__inner::after {
  content: '';
  position: absolute;
  bottom: -115px;
  left: calc(50% + 425px);
  width: 75px;
  height: 88px;
  background: url(images/ico_c7.svg) no-repeat center / contain;
  pointer-events: none;
  z-index: 1;
}

/* News見出し: Kaisei Opti Bold / SVGは2色(N=orange, ews=green) */
.sb-news .sb-section-ja,
.sb-events .sb-section-ja,
.sb-reports .sb-section-ja {
  font-family: 'Kaisei Opti', serif;
  font-size: 19px;
  font-weight: 700;
  color: #777;
}

/* ----------------------------------------
  EVENT & JOIN / 開催・参加募集
---------------------------------------- */
.sb-events {
  padding: 60px 40px 0;
  position: relative;
}
.sb-events::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #CBE69E;
  opacity: 0.18;
  z-index: -1;
}
.sb-events__inner {
  max-width: var(--sb-inner);
  margin: 0 auto;
  padding-bottom: 60px;
}

/* ico_c4: Eventsセクション装飾（擬似要素） */
.sb-events::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: url(images/ico_c4.svg) right 175px bottom 131px / 103px auto no-repeat;
}

/* 電車スライドアニメーション */
@keyframes train-slide-left {
  from  { transform: translateX(100vw) scaleX(-1); }
  to    { transform: translateX(calc(-100vw - 100%)) scaleX(-1); }
}
@keyframes train-slide-right {
  from  { transform: translateX(calc(-100vw - 100%)); }
  to    { transform: translateX(100vw); }
}

/* 電車ラッパー */
.sb-events__train-wrap {
  overflow: hidden;
  padding: 0;
  margin: 0 -40px;      /* セクションpaddingを打ち消して全幅に */
  line-height: 0;
}
.sb-deco--train {
  display: block;
  width: 380px;
  margin-bottom: -4px;
  animation: train-slide-right 40s linear infinite;
  animation-delay: -20s;
}

/* ----------------------------------------
  REPORT & COLUMN / 体験レポート・コラム
---------------------------------------- */
.sb-reports {
  background: #fff;
  padding: 60px 40px 80px;
  position: relative;
  overflow: hidden;
}
.sb-reports__inner {
  max-width: var(--sb-inner);
  margin: 0 auto;
}
.sb-reports .sb-btn-wrap { text-align: right; }

/* ico_c5 + ico_c6: Reportsセクション装飾（擬似要素） */
.sb-reports::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
  url(images/ico_c5.svg) left calc(50% - 60px) top 111px / 89px auto no-repeat,
  url(images/ico_c6.svg) left calc(50% + 145px) bottom 43px / 158px auto no-repeat
}

/* ----------------------------------------
  共通カードグリッド
---------------------------------------- */
.sb-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.sb-single article.sb-card,
.sb-card {
  padding: 0px;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 2px 2px 4px 1px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s, transform 0.2s;
}
.sb-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}
.sb-card__link { display: block; }
.sb-card__thumb { overflow: hidden; }
.sb-card__thumb figure {
  width: 100%;
  padding-top: 78%;
  background-size: cover;
  background-position: center;
  position: relative;
}
.sb-card__thumb figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}
.sb-card__body {
  display: flex;
  flex-direction: column;
  padding: 14px 16px 13px;
  min-height: 150px;
}
.sb-card__title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--sb-text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  order: -1;
}
.sb-card__cat {
  display: inline-block;
  font-size: 11px;
  color: var(--sb-green);
  border: 1px solid var(--sb-green);
  padding: 2px 8px;
  border-radius: 4px;
  line-height: 1.4;
  margin-top: auto;
  align-self: flex-start;
}
.sb-card__cat--event {
  color: #8ece21;
  border-color: #8ece21;
}
.sb-no-posts {
  grid-column: 1 / -1;
  text-align: center;
  color: #999;
  font-size: 14px;
  padding: 48px 0;
}

/* ----------------------------------------
  西武鉄道 INFO / 特別協賛
  Figma: 中央揃えレイアウト、青グラデーション背景
---------------------------------------- */
.sb-seibu {
  padding: 60px 40px 60px;
  position: relative;
  /*overflow: hidden;*/
  z-index: 20;
}
.sb-seibu::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, #96daf0, rgba(150, 218, 240, 0));
  opacity: 0.18;
  z-index: 0;
  pointer-events: none;
  height: 480px;
}
.sb-seibu__inner {
  max-width: var(--sb-inner);
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.sb-seibu__sponsor-label {
  font-family: 'Kaisei Opti', serif;
  font-size: 19px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 28px;
  color: #000;
  letter-spacing: 1.9px;
}
.sb-seibu__logo {
  width: 200px;
  margin: 0 auto 32px;
}
.sb-seibu__card {
  background: #fff;
  border-radius: 6px;
  padding: 28px 48px 32px;
  max-width: 730px;
  margin: 0 auto;
}
.sb-seibu__title {
  font-family: 'Kaisei Opti', serif;
  font-size: 18px;
  font-weight: 700;
  color: #0073bd;
  margin-bottom: 16px;
  line-height: 1.55;
}
.sb-seibu__title-sm {
  font-size: 16px;
}
.sb-seibu__desc {
  font-family: 'Kaisei Opti', serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 32px;
  color: #000;
}
.sb-c-kidsgreen {
  color: #82c70b;
  font-weight: 700;
  text-decoration: underline dotted #82c70b;
  text-underline-offset: 4px;
}
.sb-c-kidsorange {
  color: #ffbe00;
  font-weight: 700;
  text-decoration: underline dotted #ffbe00;
  text-underline-offset: 4px;
}
.sb-seibu__btn-wrap {
  margin-top: 28px;
  text-align: center;
}
.sb-seibu__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0d61aa;
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  width: 257px;
  height: 44px;
  border-radius: 33px;
  gap: 10px;
  transition: opacity 0.2s;
}
.sb-seibu__btn::after {
  content: '▶';
  font-size: 8px;
  color: #fff;
}
.sb-seibu__btn:hover { opacity: 0.82; }

/* ----------------------------------------
  協賛・協力 / スポンサーロゴ
  Figma: 4列×2行グリッド、右下に電車装飾
---------------------------------------- */
.sb-sponsors {
  background: var(--sb-green-dark);
  padding: 108px 40px 120px;
  position: relative;
  overflow: hidden;
}
.sb-sponsors::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 61px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1367 61' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h1367c-88.54 20.33-348.78 61-681.37 61C352.04 61 89.97 20.33 0 0z' fill='%23fff'/%3E%3C/svg%3E") no-repeat center top / 100% 100%;
  z-index: 2;
  pointer-events: none;
}
.sb-sponsors__inner {
  max-width: 930px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.sb-sponsors__label {
  font-family: 'Kaisei Opti', serif;
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 32px;
  letter-spacing: 1.9px;
}
.sb-sponsors__grid {
  display: flex;
  justify-content: center;
  gap: 28px 40px;
  flex-wrap: wrap;
}
.sb-sponsors__item {
  text-align: center;
}
.sb-sponsors__logo-img {
  width: 215px;
  height: auto;
}
.sb-sponsors__logo-box {
  background: #e8e8e8;
  height: 70px;
  width: 100%;
  border-radius: 2px;
}
.sb-sponsors__name {
  font-size: 13px;
  color: #fff;
  margin-top: 3px;
  letter-spacing: 1.3px;
}
/* 電車装飾: Sponsorsセクション下部スライド */
.sb-deco--train-sponsors {
  bottom: 0;
  left: 0;
  right: auto;
  width: 380px;
  animation: train-slide-left 40s linear infinite;
  animation-delay: -20s;
}

/* ----------------------------------------
  FOOTER
---------------------------------------- */
.sb-footer {
  background: var(--sb-green-dark);
}
.sb-footer__deco {
  position: relative;
  padding: 24px 40px 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  max-width: var(--sb-inner);
  margin: 0 auto;
  min-height: 120px;
}
.sb-footer__chars {
  width: 180px;
  flex-shrink: 0;
}
.sb-footer__train {
  width: 260px;
  flex-shrink: 0;
}
.sb-footer__copy {
  background: #000;
  text-align: center;
  padding: 12px 20px;
  margin-top: 0;
}
.sb-footer__copy p {
  color: #c0c0c0;
  font-size: 12px;
}

/* ============================================================
  SINGLE ARTICLE / 西武タグ付き記事ページ
============================================================ */
.sb-header--single {
  position: relative;
  background: rgba(150, 208, 50, 0.6);
  background-color: #fff;
  border: none;
  margin-bottom: 20px;
}
.sb-header--single .sb-header__logo-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
}
.sb-header--single .sb-header__nav a {
  color: #fff;
  color: #333;
}

.sb-single {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 0px 0px;
  position: relative;
  z-index: 100;

}
.sb-single article{
  background-color: #fff;
  margin: 0 auto;
  padding: 0 40px 80px;
}

.sb-single__eyecatch {
  margin: 0 -40px 32px;
  line-height: 0;
}
.sb-single__eyecatch img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.sb-single__inner {
  max-width: 720px;
  margin: 0 auto;
}

.sb-single__header {
  margin-bottom: 32px;
}
.sb-single__cat {
  display: inline-block;
  font-size: 12px;
  color: var(--sb-green);
  border: 1px solid var(--sb-green);
  padding: 2px 10px;
  border-radius: 4px;
  margin-right: 8px;
  line-height: 1.4;
}
.sb-single__date {
  font-size: 13px;
  color: #999;
}
.sb-single__title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--sb-text);
  margin-top: 12px;
}

.sb-single__content {
  font-size: 15px;
  line-height: 2;
  color: var(--sb-text);
}
/* entry-content: 既存テーマのスタイルをseibuカラーでオーバーライド */
.seibutesudou-single .entry-content img {
  max-width: 100%;
  height: auto;
}
.seibutesudou-single .entry-content .aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.seibutesudou-single .entry-content .alignleft {
  float: left;
  margin: 0 20px 12px 0;
}
.seibutesudou-single .entry-content .alignright {
  float: right;
  margin: 0 0 12px 20px;
}
.seibutesudou-single .entry-content h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 40px 0 16px;
  padding: 0 0 8px;
  border-bottom: 2px solid var(--sb-green);
  background: none;
  color: var(--sb-text);
}
.seibutesudou-single .entry-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 32px 0 12px;
  padding: 0;
  border-color: var(--sb-green);
  background: none;
  color: var(--sb-text);
}
.seibutesudou-single .entry-content h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 24px 0 10px;
  color: var(--sb-text);
}
.seibutesudou-single .entry-content p {
  margin-bottom: 1.5em;
}
.seibutesudou-single .entry-content a {
  color: var(--sb-green);
  text-decoration: underline;
}
.seibutesudou-single .entry-content ul,
.seibutesudou-single .entry-content ol {
  margin: 0 0 1.5em 1.5em;
  padding: 0;
}
.seibutesudou-single .entry-content ul li::before {
  background: var(--sb-green);
}
.seibutesudou-single .entry-content ol li::before {
  background: var(--sb-green);
}
.seibutesudou-single .entry-content blockquote {
  border-left: 4px solid var(--sb-green);
  margin: 1.5em 0;
  padding: 16px 20px;
  background: #f9f9f9;
}
.seibutesudou-single .entry-content .btn-wrap a {
  background: var(--sb-green);
  border-color: var(--sb-green);
}
.seibutesudou-single .entry-content .btn-wrap a:hover {
  opacity: 0.8;
}

/* SNSシェア */
.sb-single__share .sns {
  margin: 0;
}
.sb-single__share .sns-inner {
  text-align: center;
}
.sb-single__share .sns-inner p {
  display: none;
}
.sb-single__share .sns-inner ul {
  display: flex;
  justify-content: center;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.sb-single__share .sns-inner ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 13px;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s;
}
.sb-single__share .sns-inner ul li a:hover { opacity: 0.8; }
.sb-single__share .sns-inner ul li a.tw { background: #000; }
.sb-single__share .sns-inner ul li a.fb { background: #1877f2; }
.sb-single__share .sns-inner ul li a.line { background: #06c755; }

/* 年齢カテゴリ */
.sb-single__age-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}
.sb-single__age-cats a {
  font-size: 13px;
  color: var(--sb-orange);
}

/* 来場者数（終了）メッセージ */
.sb-single__closed {
  background: rgba(0,0,0,0.6);
  color: #fff;
  text-align: center;
  padding: 16px;
  font-size: 14px;
  line-height: 1.8;
}

.sb-single__moni-note {
  margin-top: 40px;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.8;
  color: #666;
}

.sb-single__footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #e0e0e0;
}
.sb-single__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.sb-single__tags a {
  font-size: 13px;
  color: var(--sb-green);
}

.sb-single__related {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px solid #eee;
}
.sb-single__related-title {
  font-family: 'Kaisei Opti', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--sb-text);
  margin-bottom: 24px;
}
.sb-single__related .sb-card-grid {
  grid-template-columns: repeat(3, 1fr);
}

.sb-single__back {
  text-align: center;
  margin-top: 48px;
  margin-bottom: 50px;
}

/* 記事フッター電車ラッパー */
.sb-single__train-wrap {
  overflow: hidden;
  padding: 0;
  margin: 0;
  line-height: 0;
}
.sb-single__train-wrap .sb-deco--train {
  margin-left: 0;
  margin-right: 0;
}

/* ============================================================
   Archive (tag-seibu)
============================================================ */
.sb-archive {
  max-width: 1100px;
  margin: 0 auto;
  padding: 120px 40px 0;
}
.sb-archive__inner {
  padding: 0;
}
.sb-archive__title {
  font-family: 'Kaisei Opti', serif;
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  color: var(--sb-green);
  margin-bottom: 40px;
  position: relative;
}
/* ico_c3: タイトル右の本読み男の子 */
.sb-archive__title::after {
  content: '';
  position: absolute;
  top: -20px;
  right: 0px;
  transform: translateY(0%);
  width: 71px;
  height: 117px;
  background: url(images/ico_c3.svg) no-repeat center / contain;
  pointer-events: none;
  z-index: 30;
}
/* ico_c5: カードグリッド下部のカメラマン */
.sb-archive__inner {
  position: relative;
}
.sb-archive__inner::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -30px;
  width: 89px;
  height: 88px;
  background: url(images/ico_c5.svg) no-repeat center / contain;
  pointer-events: none;
}
.sb-archive__back {
  text-align: center;
  margin-top: 48px;
  margin-bottom: 50px;
}
.sb-archive__empty {
  text-align: center;
  color: #999;
  padding: 60px 0;
}
.sb-archive__pagination {
  margin-top: 48px;
  text-align: center;
}
.sb-archive__pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.sb-archive__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 600;
  color: var(--sb-green);
  border: 2px solid var(--sb-green);
  transition: background 0.2s, color 0.2s;
}
.sb-archive__pagination .page-numbers.current,
.sb-archive__pagination .page-numbers:hover {
  background: var(--sb-green);
  color: #fff;
}
.sb-archive__pagination .page-numbers.prev,
.sb-archive__pagination .page-numbers.next {
  width: auto;
  padding: 0 14px;
  border-radius: 20px;
}

/* ============================================================
  RESPONSIVE: SP (max 767px)
============================================================ */
@media (max-width: 767px) {

  /* KV: SP は写真高さに合わせる（flexは不要）*/
  .sb-kv__about {
    position: absolute;
    top: auto;
    bottom: 0;           /* 写真の底部に合わせる */
    left: 0;
    right: 0;
    padding: 0 16px 54px;
  }
  .sb-kv__about-inner { padding: 0; }

  /* About panel: SP では半透明白背景でヒーロー底部オーバーレイ */
  .sb-about__panel {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 20px 20px 24px;
    max-width: none;
    margin-left: 0;
  }
  .sb-about__title { font-size: 24px; }
  .sb-about__mamanowa { width: 80px; margin-bottom: 16px; }
  .sb-about__text { font-size: 15px; line-height: 1.8; }
  .sb-about__separator { width: 100px; }

  .sb-about__text strong.line{
    padding-bottom: 2px;
    border-bottom: 2px dashed #F6949E;
  }
  /* ico_c1: SP位置調整 */
  .sb-kv__about-inner::before {
    left: -5px;
    top: auto;
    bottom: -50px;
    width: 100px;
    height: 77px;
  }

  /* Header */
  .sb-header__inner {
    padding: 10px 16px;
    flex-wrap: nowrap;
    gap: 0;
  }
  .sb-header__title { font-size: 16px; }
  .sb-header__brand { width: 70px; }

  /* Burger button */
  .sb-header__burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 6px;
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 110;
  }
  .sb-header__burger span {
    display: block;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    transition: transform 0.3s, opacity 0.3s;
  }
  .sb-header__burger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .sb-header__burger.is-open span:nth-child(2) {
    opacity: 0;
  }
  .sb-header__burger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Nav overlay */
  .sb-header__nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 260px;
    height: 100vh;
    background: #96d032;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 80px 24px 40px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 100;
  }
  .sb-header__nav.is-open {
    transform: translateX(0);
  }
  .sb-header__nav a {
    font-size: 15px;
    display: block;
    width: 100%;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
  }

  /* News */
  .sb-news { padding: 0 20px 48px; }
  .sb-section-heading {
    margin-bottom: 0px;
}
  .sb-news__item { flex-direction: column; gap: 4px; }

  /* Events */
  .sb-events { padding: 48px 20px 0; }
  .sb-events__train-wrap { margin: 0 -20px; }
  .sb-deco--train { width: 240px; }

  /* Reports */
  .sb-reports { padding: 48px 20px 60px; }
  .sb-seibu::after { content: none; }

  /* ico_c2: News上部 男の子 SP */
  .sb-news::after {
    left: auto;
    right: 10px;
    top: -50px;
    width: 55px;
    height: 70px;
  }

  /* ico_c3: Events 本読み男の子 SP */
  .sb-events .sb-events__inner::before {
    top: 30px;
    left: calc(50% + 59px);
    right: auto;
    width: 45px;
    height: 74px;
  }

  /* ico_c4: Events 女の子 SP */
  .sb-events::after {
    background-size: 65px auto;
    background-position: right 10px bottom 80px;
  }

  /* ico_c5 + ico_c6: Reports SP */
  .sb-reports::after {
    background:
    url(images/ico_c5.svg) right 10px top 53px / 55px auto no-repeat,
    url(images/ico_c6.svg) left 45px bottom 25px / 95px auto no-repeat
  }

  /* Cards */
  .sb-card-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Section heading: SVGで各サイズ制御するためSPオーバーライド不要 */

  /* Seibu info */
  .sb-seibu { padding: 48px 20px 80px; }

  /* ico_c8: 家族歩く SP */
  .sb-seibu .sb-seibu__inner::before {
    bottom: -110px;
    left: -10px;
    width: 150px;
    height: 82px;
  }

  /* ico_c7: 三つ編みの子 SP */
  .sb-seibu .sb-seibu__inner::after {
    bottom: -100px;
    left: auto;
    right: 5px;
    width: 50px;
    height: 58px;
  }
  .sb-seibu__card { padding: 20px 20px 24px; }
  .sb-seibu__logo { width: 160px; margin-bottom: 24px; }
  .sb-seibu__desc { font-size: 13px; line-height: 1.8; }
  .sb-seibu__btn { width: 220px; height: 40px; font-size: 13px; }

  /* Single article SP */
  .sb-single { padding: 0 16px 48px; }
  .sb-single__eyecatch { margin: 0 -16px 20px; }
  .sb-single__title { font-size: 20px; }
  .sb-single__content { font-size: 14px; }
  .sb-single__content h2 { font-size: 18px; }
  .sb-single__content h3 { font-size: 16px; }
  .sb-single__related .sb-card-grid { grid-template-columns: 1fr; }
  .sb-single__related-title { font-size: 18px; }
  .sb-single__train-wrap .sb-deco--train { width: 240px; }

  /* Archive SP */
  .sb-archive { padding: 90px 16px 0; }
  .sb-archive__title { font-size: 20px; margin-bottom: 24px; }
  .sb-archive__title::after {
    right: -10px;
    width: 45px;
    height: 74px;
  }
  .sb-archive__inner::after {
    left: -5px;
    width: 55px;
    height: 55px;
    bottom: 60px;
  }

  /* Sponsors */
  .sb-sponsors { padding: 36px 20px 60px; }
  .sb-sponsors::before { height: 30px; }
  .sb-sponsors__grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .sb-sponsors__logo-box { height: 50px; }
  .sb-sponsors__name { font-size: 11px; }
  .sb-deco--train-sponsors { display: none; }

  /* Footer */
  .sb-footer__deco {
    padding: 20px 16px 0;
    min-height: 90px;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
  .sb-footer__chars { width: 110px; }
  .sb-footer__train  { width: 160px; }
  .sb-section-en svg{
    height: 36px;
    width: auto;
  }
  .sb-news .sb-section-ja, .sb-events .sb-section-ja, .sb-reports .sb-section-ja{
    font-size: 14px;
    margin-top: 3px;
  }
  .sb-wave-separator--inverted{
    margin-bottom: 0;
  }
}

/* ============================================================
  RESPONSIVE: Tablet (768px - 1099px)
============================================================ */
@media (min-width: 768px) and (max-width: 1099px) {
  .sb-card-grid { grid-template-columns: repeat(2, 1fr); }

  .sb-about__panel { margin-left: 40px; }
  .sb-about__title { font-size: 30px; }
  .sb-kv__about-inner::before { left: 40px; top: 150px; width: 130px; height: 100px; }

  .sb-seibu__card { padding: 24px 32px 28px; }

  .sb-header__nav { gap: 20px; }
  .sb-header__nav a { font-size: 13px; }
  .sb-header__title { font-size: 18px; }

  .sb-header__inner,
  .sb-kv__about-inner,
  .sb-news__inner,
  .sb-events__inner,
  .sb-reports__inner,
  .sb-seibu__inner,
  .sb-sponsors__inner,
  .sb-footer__deco {
    padding-left: 28px;
    padding-right: 28px;
  }
  .sb-news, .sb-events, .sb-reports, .sb-seibu, .sb-sponsors {
    padding-left: 28px;
    padding-right: 28px;
  }
}
