* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
}

body {
  max-width: 100%;
  height: 100%;
}

.bg-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("pic/background.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: -1;
}

/*ヘッダー*/

header {
  max-width: 100%;
  height: 80px;
  background: #00000098;
  display: flex;
  justify-content: center;
}

.logo img {
  height: 35px;
  width: 190px;
  margin-top: 20px;
  margin-right: 20px;
}

.nav {
  display: flex;
  justify-content: center;
  width: 100%;
}

nav ul {
  display: flex;
  justify-content: space-around;
  align-items: center;
  list-style: none;
  border-radius: 5px;
  margin-top: 12px;
  max-width: 100%;
  width: 940px;
  border: solid #003c1a 2px;
}

nav ul li {
  flex: 1;
  height: 50px;
  max-width: 100%;
  width: 940px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: linear-gradient(#00ff70, #000000);
  border-right: solid black 1px;
}

nav ul li:last-child {
  border-right: none;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
}

/* トップスライダー全体 */
/* トップスライダー全体 */

.top-slide {
  height: 260px;
  margin-top: 10px;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  overflow: hidden;
  max-width: 1980px;
  margin: 5px auto;
  padding-top: 7px;
}

.slider-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  overflow: visible;
}

.slider {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  flex: 0 0 90%;
  margin: 0 10px;
}

.slide.active {
  transform: scale(1.05);
  z-index: 2;
  filter: none;
}

.slide img {
  width: 100%;
  border-radius: 10px;
  transition: filter 0.35s ease;
  display: block;
  border: ridge 4px rgb(0, 216, 130);
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  font-size: 30px;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
  transition: background 0.3s;
}

.prev:hover,
.next:hover {
  background: rgba(0, 0, 0, 0.7);
}

.prev {
  left: 20px;
}
.next {
  right: 20px;
}

/*メインの枠*/
/*メインの枠*/

.container {
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  min-height: 970px;
}

/*メイントップ上*/
/*メイントップ上*/
.main-top {
  height: 190px;
  margin-bottom: 10px;
  justify-content: center;
}

.top-pic {
  border: 0.1px solid rgb(0, 211, 120);
}

.top-top {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
  gap: 8px;
}

.top-bottom {
  display: flex;
  gap: 8px;
}

/*重要なお知らせのところ*/
/*重要なお知らせのところ*/
.important-notice {
  background: linear-gradient(rgb(47, 46, 46), rgb(175, 179, 176));
  width: 100%;
  max-width: 750px;
  color: #fff;
  padding: 5px;
  margin: 15px 0;
  border-radius: 3px;
}

.notice-header h2 {
  font-size: 1rem;
  color: #ffffffec;
  border-bottom: 2px solid #ccc;
  padding-bottom: 5px;
  margin-bottom: 5px;
  display: flex;
  justify-content: center;
}

.notice-list {
  background-color: #111;
  padding: 2px;
  border-radius: 5px;
}

.notice-item {
  display: flex;
  justify-content: space-between;
  color: #ffeb3b;
}

.notice-item .date {
  font-size: 0.7rem;
  color: #ffeb3b;
}

.notice-item .message {
  font-size: 1rem;
}

/*全体のお知らせのところ*/
/*全体のお知らせのところ*/
.news-tabs {
  margin-top: 20px;
  width: 100%;
  max-width: 750px;
  margin: auto;
  background: rgb(241, 241, 182);
  padding-bottom: 15px;
  border-bottom: solid black 1px;
  border-right: solid black 1px;
  border-left: solid black 1px;
}

.tab-menu {
  display: flex;
  justify-content: space-between;
}

.tab-button {
  flex: 1 0 0;
  padding: 5px;
  background-color: #000000;
  border: 0.5px solid #000000;
  cursor: pointer;
  transition: background-color 0.3s ease;
  flex-grow: 1;
  border-radius: 1px;
  margin-right: -0.5px;
  color: #ffffff;
}

.tab-button.active {
  background-color: #007332;
  color: white;
}

.tab-content {
  border-top: 1px solid #ccc;
  padding-top: 10px;
  justify-content: center;
}

.osirase-image {
  height: 20px;
  margin-right: 5px;
}

.all {
  display: flex;
  align-items: center;
}

.news {
  display: flex;
  align-items: center;
}

.date {
  margin-right: 15px;
}

.tab-date {
  margin-right: 20px;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.tab-li {
  list-style: none;
  border-bottom: dotted black 0.2px;
  font-size: 0.8rem;
  padding: 2px 0px;
}

.btn-all,
.btn-notice,
.btn-news,
.btn-movie,
.btn-stream,
.btn-blog {
  display: inline-block;
  width: 70px;
  text-align: center;
  color: #fff;
  padding: 2px 0;
  font-size: 0.6rem;
  border-radius: 4px;
  border: solid 1px #fff;
  margin-right: 10px;
  margin-left: 5px;
  margin-bottom: 3px;
}

.btn-all {
  background: #007232;
  box-shadow: 0 0 0 2px #007232;
}

.btn-notice {
  background: #c50000;
  box-shadow: 0 0 0 2px #c50000;
}

.btn-news {
  background: #0004ff;
  box-shadow: 0 0 0 2px #0004ff;
}

.btn-movie {
  background: #9f0000;
  box-shadow: 0 0 0 2px #9f0000;
}

.btn-stream {
  background: #74019a;
  box-shadow: 0 0 0 2px #74019a;
}

.btn-blog {
  background: #000000;
  box-shadow: 0 0 0 2px #000000;
}

.pagination {
  text-align: center;
  margin-top: 10px;
}

.page-btn {
  background: #222;
  color: #fff;
  border: 1px solid #555;
  border-radius: 3px;
  margin: 0 3px;
  padding: 4px 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.page-btn:hover {
  background: #00a849;
  transform: scale(1.05);
}

.page-btn.active {
  background: #00a849;
  color: #fff;
  border-color: #00a849;
}

.page-btn.nav-btn {
  background: #444;
}

.page-btn.nav-btn:hover {
  background: #00a849;
}

/*左のカラム*/

.left {
  flex: 0 0 200px;
  margin-right: 16px;
  display: flex;
  justify-content: center;
}

.social-link {
  height: 195px;
  width: 180px;
  background-image: linear-gradient(#009943, #005b28);
  border: solid 4px #005b28;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  font-size: 18px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
}

.social-link-window {
  justify-content: center;
  height: 150px;
  width: 160px;
  background: #141313;
  margin-top: 5px;
}

.link-img {
  margin-top: 5px;
  width: 150px;
  height: 40px;
}

/*右のカラム*/

.right {
  flex: 0 0 204px;
  margin-left: 16px;
  display: flex;
  justify-content: center;
}

.ranking {
  height: 204px;
  width: 204px;
  background-image: linear-gradient(#009943, #005b28);
  border: solid 4px #005b28;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.ranking img {
  border: solid 2px #00ff70;
}

.ranking-2 {
  height: 25px;
  background: rgb(0, 0, 0);
  text-align: center;
  margin-top: 15px;
  color: white;
}

.ranking-3 {
  background-image: linear-gradient(#00ff70, #005b28);
  height: 700px;
  width: 204px;
}

.ranking-3 img {
  margin-top: 5px;
  width: 200px;
  height: 50px;
}

/*なにこれ*/

.center {
  flex: 1 1 auto;
}

/*コンテンツ表示部分*/

#slot img {
  max-width: 720px;
  width: 100%;
  height: auto;
  display: block;
  margin: 10px auto;
  border-radius: 6px;
}

#slot .slot-content .comic-pic img {
  max-width: 100px;
  width: 100%;
  height: auto;
  margin: 8px auto;
}

#slot[hidden] {
  display: none;
}

#slot {
  max-width: 750px;
  margin: 16px auto 24px;
  padding: 16px;
  background: #111;
  color: #fff;
  border: 2px solid #003c1a;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

#slot .slot-article h2 {
  font-size: 22px;
  margin-bottom: 8px;
  border-bottom: 1px solid #00ff70;
  padding-bottom: 6px;
}

/*フッター*/
footer {
  max-width: 100%;
  height: 150px;
  background: #000000;
  color: white;
}

/* ===== スマホ表示用900px */
.hamburger {
  display: none;
  margin-left: auto;
  font-size: 22px;
  line-height: 1;
  padding: 8px 10px;
  background: transparent;
  color: #fff;
  border: 1px solid #00ff70;
  border-radius: 6px;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 9999;
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
}

/* スクロールロック */
.menu-open,
.menu-open body {
  overflow: hidden;
}

/* メニュー内のリンク */
.mobile-nav-list li a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 14px 10px;
  border-bottom: 1px solid #222;
}
.mobile-sec-title {
  color: #00ff70;
  font-size: 0.95rem;
  margin: 12px 0 6px;
}
.mobile-sec-body img {
  max-width: 100%;
  height: auto;
  display: block;
}

@media screen and (max-width: 900px) {
  header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0 10px;
    height: 64px;
    align-items: center;
    gap: 8px;
  }
  header nav {
    display: none;
  }
  .hamburger {
    display: inline-block;
  }

  .left,
  .right {
    display: none !important;
  }
  .container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 10px;
    gap: 10px;
  }
  .center {
    width: 100% !important;
    max-width: 750px;
    margin: 0 auto;
  }

  /* トップスライダー*/
  .top-slide {
    height: auto;
    padding: 8px 0;
    margin: 10px auto;
    max-width: 100%;
  }
  .slider-container {
    max-width: 100%;
  }
  .slide {
    flex: 0 0 92%;
    margin: 0 4%;
  }
  .prev,
  .next {
    display: none;
  }

  .main-top {
    height: auto;
  }
  .top-top,
  .top-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }

  .top-top > a,
  .top-bottom > a,
  .top-top > img,
  .top-bottom > img {
    flex: 0 0 calc(50% - 8px); /* 横2枚でちょうど収まる幅 */
  }

  .top-top .top-pic,
  .top-bottom .top-pic {
    width: 100%;
    height: auto;
    max-width: 100%;
  }

  /* タブ*/
  .news-tabs {
    width: 100% !important;
    max-width: 750px;
    margin: 10px auto;
  }
  .tab-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
  }
  .tab-button {
    flex: 1 1 calc(50% - 6px);
    padding: 10px;
    font-size: 0.95rem;
  }
  .tab-li {
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 6px 10px;
    align-items: center;
    font-size: 0.85rem;
  }
  .tab-li .tab-date {
    grid-column: 1 / -1;
  }
  #slot {
    width: 100% !important;
    max-width: 750px;
    padding: 12px;
  }
  #slot img {
    max-width: 100%;
    height: auto;
  }
}
.lock-scroll,
.lock-scroll body {
  overflow: hidden;
}

#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.45);
}

/* ハンバーガーボタン*/
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  .hamburger {
    display: inline-block;
  }
}
@media (max-width: 900px) {
  .tab-menu {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    padding-bottom: 6px;
  }
  .tab-button {
    flex: 0 0 auto;
    font-size: 0.9rem;
    padding: 8px 10px;
  }
}
@media (max-width: 900px) {
  .tab-li {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    overflow: hidden;
  }
  .tab-li .btn-all,
  .tab-li .btn-notice,
  .tab-li .btn-news,
  .tab-li .btn-movie,
  .tab-li .btn-stream,
  .tab-li .btn-blog {
    flex: 0 0 auto;
  }
  .tab-li .tab-date {
    flex: 0 0 auto;
    opacity: 0.9;
    font-size: 0.85rem;
  }
  .tab-li .message {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
  }
  .tab-li .message a {
    display: block;
    text-overflow: ellipsis;
    overflow: hidden;
  }
}
#mobile-menu .mobile-section {
  position: static !important;
  width: auto !important;
  height: auto !important;
  transform: none !important;
  transition: none !important;
  padding: 0;
}

html.menu-open,
html.menu-open body {
  overflow: hidden;
}
.lock-scroll,
.lock-scroll body {
  overflow: hidden;
}

/* モバイルメニューコンテナ*/
#mobile-menu[hidden] {
  display: none;
}
#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.45);
}

#mobile-menu .mobile-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(82vw, 360px);
  height: 100%;
  background: #111;
  color: #fff;
  overflow: auto;
  padding: 16px;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}

#mobile-menu.open .mobile-panel {
  transform: translateX(0);
}

#mobile-menu .mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}
#mobile-menu .mobile-nav-list li a {
  display: block;
  padding: 12px 14px;
  text-decoration: none;
  color: inherit;
}

/* 画面幅で出し分け*/
@media (min-width: 901px) {
  #mobile-menu {
    display: none !important;
  }
}
@media (max-width: 900px) {
  header nav.pc-nav {
    display: none !important;
  }
}
#mobile-menu.open .mobile-panel {
  transform: translateX(0) !important;
}
#mobile-menu.open .mobile-panel {
  transform: translateX(0) !important;
  right: 0;
  visibility: visible;
  opacity: 1;
}

#mobile-menu.open .mobile-panel {
  transform: translateX(0) !important;
  right: 0;
  visibility: visible;
  opacity: 1;
}
@media (max-width: 900px) {
  #mobile-menu .mobile-nav-list,
  #mobile-menu .mobile-section,
  #mobile-menu .mobile-extra {
    transform: none !important;
    transition: none !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
  }

  #mobile-menu > .mobile-panel {
    right: 0 !important;
    transform: translateX(100%) !important;
    transition: transform 0.25s ease !important;
    will-change: transform;
    z-index: 1;
  }
  #mobile-menu.open > .mobile-panel {
    transform: translateX(0) !important;
  }

  #mobile-menu[hidden] {
    display: none !important;
  }
  #mobile-menu {
    position: fixed !important;
    inset: 0 !important;
    z-index: 9999 !important;
    background: rgba(0, 0, 0, 0.45) !important;
    padding: 0;
  }
}
#mobile-menu {
  display: block !important;
}
#mobile-menu[hidden] {
  display: none !important;
}

#slot .slot-content {
  --brand: #00ff70;
  --brand-bg: rgba(0, 255, 112, 0.12);
  --ink: #eaeaea;
}

/* 見出し共通の余白と字間 */
#slot .slot-content :where(h2, h3, h4) {
  color: var(--ink);
  margin: 1.6em 0 0.7em;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0.02em;
  scroll-margin-top: 84px;
}

/* サイズ：h2 > h3 > h4 */
#slot .slot-content h2 {
  font-size: clamp(22px, 2.2rem, 30px);
}
#slot .slot-content h3 {
  font-size: clamp(18px, 1.6rem, 24px);
}
#slot .slot-content h4 {
  font-size: clamp(16px, 1.35rem, 20px);
}

/*h2*/
#slot .slot-content h2 {
  position: relative;
  padding: 0.55em 0.7em 0.55em 0.9em;
  background: linear-gradient(90deg, var(--brand-bg), transparent 60%);
  border-left: 8px solid var(--brand);
  border-radius: 6px 0 0 6px;
}

/*h3*/
#slot .slot-content h3 {
  position: relative;
  padding-bottom: 0.45em;
  border-bottom: 2px solid var(--brand);
}
#slot .slot-content h3::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 64px;
  height: 2px;
  background: var(--brand);
}

/*h4*/
#slot .slot-content h4 {
  position: relative;
  padding: 0.35em 0.6em 0.35em 0.75em;
  border-left: 4px solid var(--brand);
}
#slot .slot-content h4::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 60%;
  background: var(--brand-bg);
  pointer-events: none;
  border-radius: 4px;
}

#slot .slot-article .slot-date {
  text-align: right;
  font-size: 0.85rem;
  color: #bcbcbc;
  margin: 4px 0 12px;
}
/*Lightbox*/
#slot .slot-content img {
  cursor: zoom-in;
}

/* オーバーレイ本体 */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.9);
}
.lightbox-backdrop.open {
  display: flex;
}

/* 拡大画像 */
.lightbox-img {
  max-width: 92vw;
  max-height: 92vh;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s ease;
}

/* 操作ボタン */
.lightbox-btn {
  position: absolute;
  top: 16px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 18px;
  line-height: 42px;
  text-align: center;
  cursor: pointer;
  user-select: none;
}
.lightbox-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lightbox-close {
  right: 16px;
}
.lightbox-prev {
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-next {
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

/* スクロールロック*/
body.lightbox-open {
  overflow: hidden;
}
/*Back-to-Top */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9800;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid #00ff70;
  background: rgba(0, 0, 0, 0.6);
  color: #00ff70;
  font-size: 18px;
  line-height: 46px;
  text-align: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, background 0.18s ease;
}
.to-top:hover {
  background: rgba(0, 0, 0, 0.75);
}
.to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* 共通のリンク表現*/
a {
  color: #22c55e;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1.5px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
a:hover {
  color: #2ee480;
}
a:focus-visible {
  outline: 2px solid #00ff70;
  outline-offset: 2px;
}
/* タブメニューリンク色 */
.tab-wrap a {
  color: var(--tab-link, #0b3d2e);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1.5px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
.tab-wrap a:hover {
  color: var(--tab-link-hover, #0f5132);
  text-decoration-color: currentColor;
}
.tab-wrap a:visited {
  color: var(--tab-link-visited, #0d3b2a);
}
.tab-wrap a:focus-visible {
  outline: 2px solid #0b3d2e;
  outline-offset: 2px;
}

/*#slotリンクカラー */
#slot .slot-content a {
  color: #00ff70;
  text-decoration-color: rgba(0, 255, 112, 0.5);
}
#slot .slot-content a:hover {
  color: #66ffb0;
  text-decoration-color: #66ffb0;
}
#slot .slot-content a:visited {
  color: #33cc88;
}
/* ====== Neon Tabs on Black (override) ====== */

/* タブセクション*/
.news-tabs {
  background: #0f0f10 !important;
  border: 1px solid #003c1a;
  box-shadow: 0 0 0 1px #003c1a inset, 0 8px 28px rgba(0, 255, 112, 0.08);
  padding-bottom: 14px;
}

.news-tabs .tab-menu {
  display: flex;
  gap: 8px;
  padding: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
  border-bottom: 1px solid #1a1a1a;
}

/* タブボタン*/
.tab-button {
  flex: 0 0 auto;
  min-width: 88px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #0b0b0c;
  color: #eaeaea;
  border: 1px solid rgba(0, 255, 112, 0.35);
  transition: border-color 0.18s ease, box-shadow 0.18s ease,
    background 0.18s ease, color 0.18s ease;
}
.tab-button:hover {
  border-color: rgba(0, 255, 112, 0.8);
  box-shadow: 0 0 0 2px rgba(0, 255, 112, 0.25),
    0 0 16px rgba(0, 255, 112, 0.25) inset;
}
.tab-button.active {
  background: #00ff70;
  color: #001b0e;
  border-color: #00ff70;
  box-shadow: 0 0 0 2px rgba(0, 255, 112, 0.45),
    0 0 30px rgba(0, 255, 112, 0.35);
}

/* タブ本文のリスト */
.news-tabs .tab-content {
  padding: 10px 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.news-tabs .tab-li {
  border-bottom: 1px dashed rgba(0, 255, 112, 0.25);
  padding: 6px 0;
  font-size: 0.9rem;
}

/* 日付＆リンク */
.news-tabs .tab-date {
  color: rgba(140, 255, 200, 0.9);
  font-variant-numeric: tabular-nums;
  margin-right: 14px;
}
.news-tabs .message a {
  color: #eaeaea;
  text-decoration-color: rgba(0, 255, 112, 0.45);
}
.news-tabs .message a:hover {
  color: #ffffff;
  text-decoration-color: #00ff70;
}

/* カテゴリバッジ：*/
.news-tabs .btn-all,
.news-tabs .btn-notice,
.news-tabs .btn-news,
.news-tabs .btn-movie,
.news-tabs .btn-stream,
.news-tabs .btn-blog {
  background: transparent !important;
  color: #eaeaea;
  border-width: 1px;
  box-shadow: 0 0 10px rgba(0, 255, 112, 0) inset;
}

.news-tabs .btn-all {
  border-color: #00ff70;
  color: #00ff70;
}
.news-tabs .btn-notice {
  border-color: #ff5252;
  color: #ff8a8a;
}
.news-tabs .btn-news {
  border-color: #4d7cff;
  color: #a9bdff;
}
.news-tabs .btn-movie {
  border-color: #ff6161;
  color: #ffb3b3;
}
.news-tabs .btn-stream {
  border-color: #b85cff;
  color: #dcb3ff;
}
.news-tabs .btn-blog {
  border-color: #cccccc;
  color: #e6e6e6;
}

@media (max-width: 900px) {
  .news-tabs {
    margin: 10px auto;
  }
  .news-tabs .tab-button {
    padding: 8px 10px;
  }
}

/* 共通：タブボタンの基本 */
.news-tabs .tab-menu {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
}
.tab-button {
  flex: 0 0 auto;
  min-width: 86px;
  padding: 8px 12px;
  font-size: 0.95rem;
  white-space: nowrap;
}

/* === Mobile（～900px）*/
@media (max-width: 900px) {
  .news-tabs .tab-menu {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding: 6px 8px;
    gap: 6px;
  }
  .tab-button {
    padding: 7px 10px;
    font-size: 0.9rem;
  }

  @media (max-width: 360px) {
    .tab-button {
      min-width: 78px;
      font-size: 0.85rem;
      padding: 6px 9px;
    }
  }
}

/* === PC（901px～）=== */
@media (min-width: 901px) {
  .news-tabs .tab-menu {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    border: 1px solid rgba(0, 255, 112, 0.35);
    border-radius: 12px;
    overflow: hidden;
  }
  .tab-button {
    width: 100%;
    border-radius: 0;
    border: 0;
    padding: 10px 12px;
  }

  .tab-button:not(.active):hover {
    background: rgba(0, 255, 112, 0.08);
    box-shadow: inset 0 -2px 0 rgba(0, 255, 112, 0.25);
  }
  .tab-button.active {
    background: #00ff70;
    color: #001b0e;
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.15);
  }

  .tab-button + .tab-button {
    box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.06);
  }
}

@media (max-width: 900px) {
  .news-tabs .tab-menu {
    display: flex;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 6px;
    padding: 6px 10px;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
  }

  .news-tabs .tab-menu::after {
    content: "";
    flex: 0 0 10px;
  }
  .tab-button {
    flex: 0 0 auto;
    min-width: 78px;
    padding: 8px 10px;
    font-size: 0.7rem;
    white-space: nowrap;
    scroll-snap-align: start;
  }
}
/* ==== Mobile Tabs: ==== */
@media (max-width: 900px) {
  .news-tabs .tab-menu {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: clip !important;
    padding: 6px 8px !important;
    gap: 4px !important;
  }

  .news-tabs .tab-button {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    padding: 7px 6px !important;
    border-radius: 8px !important;
    font-size: clamp(12px, 3.6vw, 14px) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  /* アクティブ状態・ホバーもそのまま等分幅でOK */
  .news-tabs .tab-button.active {
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.18);
  }
}
