* {
  box-sizing: border-box;
}
html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

html { font-size: 62.5%; }
body {
  margin: 0;
  font: 1.6rem/1.6 sans-serif;
  overflow-x: hidden;
  background: #dbdbdb;
  font-family: 'Oswald', 'Noto Sans JP', sans-serif;
}
a {
  color: #1877F2;
  text-decoration: underline;
}
a:hover {
  text-decoration: none;
}
/* ロゴ */
.logo img {
  height: 65px; 
  width: auto;
  display: block;
}


/* ハンバーガーメニュー */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 0.4rem;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1002;
}
.hamburger span {
  display: block;
  width: 2.5rem;
  height: 0.3rem;
  background: #fff;
  border-radius: 0.2rem;
  transition: all 0.3s;
}

/* ハンバーガーアニメーション */
.hamburger.open span:nth-child(1) {
  transform: translateY(0.8rem) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-0.8rem) rotate(-45deg);
}

/* メインナビゲーション */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  box-sizing: border-box;
}

.main-nav ul {
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-nav ul li {
  font-size: 1.4rem;
}
.main-nav ul li a {
  color: #000;
  text-decoration: none;
}
.main-nav ul li.off {
  color: #a0a0a0;
}

.sns-icons {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.sns-icons .icon {
  display: inline-flex;
  width: 32px;
  height: 32px;
  color: inherit;
  transition: transform 0.2s ease, color 0.3s ease;
}

.sns-icons .icon svg {
  width: 100%;
  height: 100%;
  color: #000;
}
.sns-icons .icon.instagram svg {
  transform: scale(1.3); /* インスタだけ1.5倍に拡大 */
}
.sns-icons .icon.instagram:hover {
  color: #E1306C; /* Instagramピンク系 */
  transform: scale(1.1);
}

.sns-icons .icon.facebook:hover {
  color: #1877F2; /* Facebookブルー */
  transform: scale(1.1);
}

/* 共通ヘッダー */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.8); /* 白の80%透過 */
  z-index: 999;
  transition: background 0.3s, padding 0.3s;
  padding: 2rem 0;
  transform: translateZ(0); /* ←追加 */
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.8); /* 白の80%透過 */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* 影は軽めに */
  backdrop-filter: blur(8px); /* 背景ぼかしで透過感UP */
  -webkit-backdrop-filter: blur(8px); /* Safari用 */
  color: #111; /* 白背景なのでテキストは暗めに */
  padding: 0;
}
/* ヘッダー内のリンクなど色も調整 */
.site-header.scrolled .logo,
.site-header.scrolled .main-nav a {
  color: #111;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 120rem;
  margin: 0 auto;
}

/* フッター */
.site-footer {
  background-color: #dbdbdb; /* 薄いグレー */
  padding: 1.5rem 0;
  position: relative;  /* ← fixedをやめる */
  height: auto;
}
.site-footer .container {
  display: block;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}

.site-footer p {
  font-size: 1.2rem;
  color: #666;
  margin: 0;
}
main {
  background: #FFF;
  padding-bottom: 12rem;
  overflow: hidden;
}
.content_warp {
  width: 100%;
  max-width: 1100px;  /* 最大幅：PCサイズ */
  padding: 2rem 5rem 0;     /* サイド余白（スマホ対応） */
  margin: 0 auto;      /* 中央寄せ */
  box-sizing: border-box;
}

/* トップニュース一覧 */
.news_inr {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem; /* 要素の間隔 */
  padding-top: 6rem;
}
.newstitle_inr {
  flex: 0 0 200px; /* 左カラムの幅固定（調整可） */
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}
.title_inr {
  display: inline-block;
  position: relative;
}
.newstitle_inr h3 {
  font-size: 6rem;
  color: #d1d1d1;
  line-height: 1;
  margin: 0;
}

.newstitle_inr p {
  position: absolute;
  bottom: -1rem;
  right: 0;
  font-size: 2rem;
  color: #000;
  margin: 0;
  pointer-events: none;
  font-weight: bold;
}
.news-list {
  flex: 1; /* 右カラムは残りの幅 */
  border-left: 1px solid #ccc;
  padding-left: 3rem;
}

.news-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px dotted #aaa;
}

.news-item:last-child {
  border-bottom: none; /* 最後のアイテムだけ線を消す */
}

.news-date {
  font-size: 1.2rem;
  color: #666;
  white-space: nowrap;
  min-width: 6rem;
}

.news-title {
  font-size: 1.6rem;
  color: #000;
}

/* 下層ページタイトル */
.overlay_low {
  background-image: url("../images/page-title-bg.jpg"); /* お好きな画像に変更 */
  background-size: cover;
  background-position: center;
  height: 180px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 126px;
}

.page-title_inr h2 {
  color: white;
  font-size: 3.4rem; 
  text-align: center;
  text-shadow: 0 0 8px rgba(0,0,0,0.5);
  margin: 0;
  letter-spacing: 0.1em;
}

/* ABOUTページ */
.about_inr {
  display: block;
  gap: 2rem; /* 要素の間隔 */
  padding-top: 6rem;
}
.abouttitle_inr {
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #ccc;
}
.about_inr .title_inr {
  display: inline-block;
  position: relative;
}
.about_inr .title_inr h3 {
  font-size: 6rem;
  color: #d1d1d1;
  line-height: 1;
  margin: 0;
}
.about_inr .title_inr p {
  position: absolute;
  bottom: -1rem;
  right: 0;
  font-size: 2rem;
  color: #000;
  margin: 0;
  pointer-events: none;
  font-weight: bold;
}
.about_lead_inr {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  margin: 2rem 0;
}

.about_mainImg {
  flex: 1 1 40%;
  min-width: 280px;
}

.about_mainImg img {
  width: 100%;
  height: auto;
  display: block;
}

.about_txt_box {
  flex: 1 1 55%;
  min-width: 300px;
  padding-left: 2rem;
}

.about_txt_box h3 {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;  /* 700 = 太字 */
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.about_txt_box dl {
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}

.about_txt_box dt {
  font-weight: bold;
}

.about_txt_box dd {
  margin-left: 0;
}

.about_txt_box p {
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.champion_inr {
  display: block;
  gap: 2rem; /* 要素の間隔 */
  padding-top: 6rem;
}
.championtitle_inr {
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #ccc;
}
.champion_inr .title_inr {
  display: inline-block;
  position: relative;
}
.champion_inr .title_inr h3 {
  font-size: 6rem;
  color: #d1d1d1;
  line-height: 1;
  margin: 0;
}
.champion_inr .title_inr p {
  position: absolute;
  bottom: -1rem;
  right: 0;
  font-size: 2rem;
  color: #000;
  margin: 0;
  pointer-events: none;
  font-weight: bold;
}
.champion_heading {
  font-size: 2.6rem;
  margin-top: 24px;
  margin-bottom: 24px;
  border-left: 8px solid #000;
  padding-left: 1rem;
}
.champion_box_inr {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.champion_card {
  flex: 1 1 calc(50% - 20px);
  max-width: calc(50% - 20px); /* 2カラムと同じ幅を維持 */
  background: #fff;
  border: 1px solid #ddd;
  text-align: center;
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.champion_card img {
  max-width: 100%;
  height: auto;
}

.champion_info .title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-top: 10px;
}

.champion_info .name_en {
  font-size: 4rem;
  font-weight: bold;
  color: #ccc;
  margin: 5px 0;
}

.champion_info .name_ja {
  font-size: 1.6rem;
  margin: 0;
}

.champion_info .class,
.champion_info .date {
  font-size: 1.2rem;
  color: #666;
}

/* ランキング */
.ranking_inr {
  display: block;
  gap: 2rem; /* 要素の間隔 */
  padding-top: 6rem;
}
.rankingtitle_inr {
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #ccc;
}
.ranking_inr .title_inr {
  display: inline-block;
  position: relative;
}
.ranking_inr .title_inr h3 {
  font-size: 6rem;
  color: #d1d1d1;
  line-height: 1;
  margin: 0;
}
.ranking_inr .title_inr p {
  position: absolute;
  bottom: -1rem;
  right: 0;
  font-size: 2rem;
  color: #000;
  margin: 0;
  pointer-events: none;
  font-weight: bold;
}
.ranking_txt {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  padding: 2rem 0;
}

.ranking_txt h2 {
  font-size: 2rem;
  margin-top: 2rem;
  color: #222;
}

.ranking_txt p {
  margin-top: 1rem;
  font-size: 1.6rem;
  line-height: 3rem;
}

/* 各種書類 */
.document_inr {
  display: block;
  gap: 2rem; /* 要素の間隔 */
  padding-top: 6rem;
}
.documenttitle_inr {
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #ccc;
}
.document_inr .title_inr {
  display: inline-block;
  position: relative;
}
.document_inr .title_inr h3 {
  font-size: 6rem;
  color: #d1d1d1;
  line-height: 1;
  margin: 0;
}
.document_inr .title_inr p {
  position: absolute;
  bottom: -1rem;
  right: 0;
  font-size: 2rem;
  color: #000;
  margin: 0;
  pointer-events: none;
  font-weight: bold;
}
.document_list .pdf_dl_inr {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 60px;
  margin-top: 24px;
}
.document_list .pdf_dl_inr.last {
  margin-bottom: 24px;
}

.document_list .pdf_dl_inr a {
  flex: 0 0 490px; /* 常に300px幅 */
  max-width: 100%;
  padding: 16px 20px;
  border: 1px solid black;
  background: white;
  color: black;
  position: relative;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 背景ホバーエフェクト */
.document_list .pdf_dl_inr a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: black;
  transition: left 0.3s ease;
  z-index: 0;
}

.document_list .pdf_dl_inr a:hover::before {
  left: 0;
}

.document_list .pdf_dl_inr a span {
  position: relative;
  z-index: 1;
  color: inherit;
  transition: color 0.3s ease;
}

.document_list .pdf_dl_inr a:hover span {
  color: white;
}

/* 矢印 */
.document_list .pdf_dl_inr a::after {
  content: "↓";
  position: relative;
  z-index: 1;
  font-size: 20px;
  color: inherit; /* 通常時は本文と同じ色 */
  transition: color 0.3s ease;
}

/* ホバー時に矢印も白に */
.document_list .pdf_dl_inr a:hover::after {
  color: white;
}

/* ★テキストを前面に出す */
.document_list .pdf_dl_inr p {
  position: relative;
}
.document_list .pdf_dl_inr p span {
  position: relative;
  z-index: 1;
}

/* ホバーで背景と文字色変化 */
.document_list .pdf_dl_inr p:hover::before {
  width: 100%;
}

.document_list .pdf_dl_inr p:hover,
.document_list .pdf_dl_inr p:hover::after,
.document_list .pdf_dl_inr p:hover span {
  color: white !important;
}

/* ニュースページ */
.newslow_inr {
  display: block;
  gap: 2rem; /* 要素の間隔 */
  padding-top: 6rem;
}
.newslowtitle_inr {
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #ccc;
}
.newslow_inr .title_inr {
  display: inline-block;
  position: relative;
}
.newslow_inr .title_inr h3 {
  font-size: 6rem;
  color: #d1d1d1;
  line-height: 1;
  margin: 0;
}
.newslow_inr .title_inr p {
  position: absolute;
  bottom: -1rem;
  right: 0;
  font-size: 2rem;
  color: #000;
  margin: 0;
  pointer-events: none;
  font-weight: bold;
}
.news_article_inr {
  margin-bottom: 2rem;
}

.title_date {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddd;
  padding: 0.5rem 0;
  margin-bottom: 36px;
}

.title_date h3 {
  font-weight: bold;
  font-size: 1.8rem;
  margin: 0;
}

.title_date p {
  font-size: 1.2rem;
  color: #666;
  margin: 0;
}
.article_body {
  margin-top: 2rem;
  font-size: 1.6rem;
  line-height: 1.8;
  color: #333;
  padding-bottom: 3rem;
}
.article_body h3 {
  font-size: 1.8rem;
  text-align: center;
  text-decoration: underline;
  font-weight: bold;
  margin-bottom: 12px;
}
.article_body h4 {
  font-weight: bold;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  color: #111;
}
.article_body .note {
  text-align: right;
  font-size: 1.4rem;
  margin-bottom: 24px;
}
.article_body ul {
  margin: 0 0 1.5rem 1.2rem;
  padding: 0 2rem;
  list-style-type: none;
}

.article_body li {
  margin-bottom: 0.6rem;
}
.news_section {
  margin-bottom: 2rem;
}

.news_section h4 {
  font-weight: bold;
  margin-bottom: 0.5rem;
}
.indent-all {
  padding-left: 1.5em;  /* 全体を字下げ（1行目も含む） */
  text-indent: 0;       /* 念のため明示的に無効化 */
  line-height: 1.8;     /* 読みやすさのため任意指定 */
}

.article_navigation {
  display: flex;
  flex-wrap: wrap; /* 片方しかないとき崩れにくい */
  gap: 1rem;       /* 両方ある時の間隔用 */
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #ddd;
}

.article_navigation a {
  font-size: 1rem;
  color: #333;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.article_navigation a:hover {
  background: #f5f5f5;
}

.prev_article {
  margin-right: auto; /* 前の記事は左寄せ */
}

.next_article {
  margin-left: auto;  /* 次の記事は右寄せ */
}
.article_navigation a:empty {
  display: none;
}
/* ルール */
.rule_inr {
  display: block;
  gap: 2rem; /* 要素の間隔 */
  padding-top: 6rem;
}
.ruletitle_inr {
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #ccc;
}
.rule_inr .title_inr {
  display: inline-block;
  position: relative;
}
.rule_inr .title_inr h3 {
  font-size: 6rem;
  color: #d1d1d1;
  line-height: 1;
  margin: 0;
}
.rule_inr .title_inr p {
  position: absolute;
  bottom: -1rem;
  right: 0;
  font-size: 2rem;
  color: #000;
  margin: 0;
  pointer-events: none;
  font-weight: bold;
}

/* 試合結果 */
.result_inr {
  display: block;
  gap: 2rem; /* 要素の間隔 */
  padding-top: 6rem;
}
.resulttitle_inr {
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #ccc;
}
.result_inr .title_inr {
  display: inline-block;
  position: relative;
}
.result_inr .title_inr h3 {
  font-size: 6rem;
  color: #d1d1d1;
  line-height: 1;
  margin: 0;
}
.result_inr .title_inr p {
  position: absolute;
  bottom: -1rem;
  right: 0;
  font-size: 2rem;
  color: #000;
  margin: 0;
  pointer-events: none;
  font-weight: bold;
}
/* PCメインの2カラムレイアウト */
/* ===== 試合結果ページ 共通レイアウト ===== */
.results-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-top: 40px;
}

.main-result {
  width: 70%;
}

.past-matches {
  width: 30%;
}

.tournament-title {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.fight-meta p {
  margin-bottom: 5px;
  font-size: 1.4rem;
}

.fight-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.fight-table th,
.fight-table td {
  border: 1px solid #ccc;
  padding: 12px;
  text-align: left;
}

.fight-table th {
  background-color: #f5f5f5;
}

.fight-table .result {
  text-align: center;
  font-weight: bold;
  color: #d32f2f;
  background-color: #fff0f0;
}
/* 初期は透明＆少し下にずらして非表示 */
.fade-in-block {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* 表示時に透明度1＆位置戻す */
.fade-in-block.visible {
  opacity: 1;
  transform: translateY(0);
}

.past-matches h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.match-list {
  list-style: none;
  padding: 0 0 8px 0;
  margin: 0;
  border-bottom: 1px solid #eee;
}

.match-list li {
  padding: 8px 0;
}

.match-list .date {
  color: #666;
  font-size: 1.2rem;
}

.match-list .event {
  font-weight: bold;
  text-align: right;
}
.result_photo_inr img {
  margin-bottom: 24px;
}
/* モバイル対応 */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
  }

  .hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: #000; /* ←通常時は黒 */
    transition: background 0.3s ease;
  }

  /* メニューが開いたとき（クラス is-open が付いたら白に） */
  .hamburger.open span {
    background: #fff;
  }
  .site-header {
    padding: 0;
  }
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: #111;
    padding: 6rem 2rem;
    flex-direction: column;
    transition: right 0.3s ease;
    z-index: 1001;
  }
  .main-nav.open {
    right: 0;
    background: rgba(0, 0, 0, 0.9);
  }
  .main-nav ul {
    flex-direction: column;
    gap: 1.5rem;
  }
  .main-nav ul li {
    text-align: center;
    color: #FFF !important;
    border-bottom: 1px solid #ddd;
    font-size: 1.8rem;
    line-height: 3.6rem;
  }
  .main-nav ul li a {
    color: #FFF;
  }
  ul li.off {
    color: #626262 !important;
  }
  .sns-icons {
    justify-content: flex-start;
  }
  .sns-icons .icon svg {
    width: 100%;
    height: 100%;
    color: #FFF;
  }
  .content_warp {
    padding: 2rem 2.5rem 0;
  }
  .overlay {
    margin-top: 82px;
  }
  .news_inr {
    display: block;
  }
  .newstitle_inr {
    border-bottom: 1px solid #ccc;
  }
  .news-list {
    border-left: none;
    padding-left: 0;
  }
  /* 下層ページタイトル */
  .overlay_low {
    height: 100px;
    margin-top: 86px;
  }
  /* ABOUTページ */
  .about_txt_box {
    padding-left: 0;
  }
  .page-title_inr h2 {
    font-size: 2.8rem; 
  }
  .champion_card {
    flex: 1 1 100%;
  }
  /* 各種書類*/
  .document_list p {
    flex: 1 1 100%;
  }
  /* ニュース記事ページ */
  .title_date {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }
  /* 試合結果 */
  .results-wrapper {
    display: flex;
    flex-direction: column;
  }

  .past-matches {
    order: -1; /* ← これで上に表示される */
  }

  .main-result {
    order: 0;
  }

  .main-result,
  .past-matches {
    width: 100%;
  }

  .fight-table {
    font-size: 0.9rem;
  }

  .match-list li {
    flex-direction: column;
    align-items: flex-start;
  }

  .match-list .event {
    text-align: left;
    margin-top: 4px;
  }
  
}