/* ==============================
   Reset & Base
============================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: #000;
  color: #fff;
  font-family: "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  overflow-x: hidden;
}

/* ページ内リンクをなめらかスクロールに */
html {
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

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

@media (min-width: 960px) {
  .pc-only { display: block; }
  .sp-only { display: none; }
}

/* ==============================
   Main content wrapper
============================== */
.main-content {
  margin-left: 0;
  padding-top: 90px; /* SPヘッダー分 */
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "游明朝体",
               "Times New Roman", serif;
}

@media (min-width: 960px) {
  .main-content {
    margin-left: 260px;
    padding-top: 0;
  }
}

/* 段落 */
.main-content p {
  font-size: 16px;
  line-height: 2;
  margin: 0 0 1.4em;
}
@media (min-width: 960px) {
  .main-content p {
    font-size: 17px;
  }
}

/* ==============================
   SP Header
============================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 78px;
  background: #000;
  border-bottom: 1px solid #222;
  z-index: 800;
}

.site-header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
}

/* 左：ロゴ */
.header-logo-link {
  display: inline-flex;
  align-items: center;
}

.header-logo {
  height: 40px;
  width: auto;
  margin: 8px 0 0 0;
}

/* 右：Q&amp;A / CONTACT / ハンバーガー */
.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
}

.header-icon-img {
  display: block;
  width: 32px;
  height: 32px;
}

.header-icon-w {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 42px;
}

.header-icon-img-w {
  display: block;
  width: 60px;
  height: 32px;
}

/* ==============================
   ハンバーガー（三本線 → ×）
============================== */

.nav-toggle {
  position: relative;
  width: 44px;
  height: 44px;
  border: none;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

/* 3本線：中央に置いて transform だけで制御 */
.nav-toggle-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 3px;
  background: #fff;
  border-radius: 999px;
  transform-origin: center center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-line:nth-child(1) {
  transform: translate(-50%, -50%) translateY(-7px);
}
.nav-toggle-line:nth-child(2) {
  transform: translate(-50%, -50%);
}
.nav-toggle-line:nth-child(3) {
  transform: translate(-50%, -50%) translateY(7px);
}

/* 開いているとき：× */
.nav-toggle.is-open .nav-toggle-line:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}
.nav-toggle.is-open .nav-toggle-line:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open .nav-toggle-line:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

@media (min-width: 960px) {
  .site-header {
    display: none;
  }
}

/* ==============================
   Nav Backdrop（SP ナビ表示時）
============================== */
.nav-backdrop {
  position: fixed;
  inset: 78px 0 0;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  z-index: 850;
}

.nav-backdrop.is-active {
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 960px) {
  .nav-backdrop {
    display: none;
  }
}

/* ==============================
   Sidebar
============================== */
.sidebar {
  position: fixed;
  top: 78px;
  left: 0;
  width: 100vw;
  height: calc(100vh - 78px);
  background: #000;
  border-left: 1px solid #222;
  padding: 20px 20px 32px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  z-index: 900;
}

/* スクロールバー */
.sidebar {
  scrollbar-width: thin;
  scrollbar-color: #555 #000;
}
.sidebar::-webkit-scrollbar {
  width: 8px;
}
.sidebar::-webkit-scrollbar-track {
  background: #000;
}
.sidebar::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 4px;
}
.sidebar::-webkit-scrollbar-thumb:hover {
  background: #666;
}

/* SP：開閉 */
.sidebar.open {
  transform: translateX(0);
}

/* PC：左ナビ固定 */
@media (min-width: 960px) {
  .sidebar {
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    border-left: none;
    border-right: 1px solid #222;
    transform: none;
  }
}

/* PC ロゴ */
.sidebar-brand {
  display: none;
}
@media (min-width: 960px) {
  .sidebar-brand {
    display: block;
    margin-bottom: 18px;
    text-align: center;
  }
  .sidebar-logo {
    display: inline-block;
    width: 140px;
    height: auto;
  }
}

/* ==============================
   Navigation
============================== */
.nav {
  padding-bottom: 20px;
  overflow: visible;
}

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 第一階層 */
.nav-level-1 > li {
  border-bottom: 1px solid #333;
  font-family: "Times New Roman", "Hiragino Mincho ProN",
               "Yu Mincho", "游明朝体", serif;
}

.nav-level-1 > li > .nav-link,
.nav-level-1 > li > .nav-parent > .nav-link,
.nav-level-1 > li > .nav-parent > span.nav-link {
  display: block;
  padding: 13px 2px;
  font-size: 17px;
  letter-spacing: 0.12em;
}

/* SP では HOME 行を非表示 */
@media (max-width: 959px) {
  .nav-level-1 > li.nav-home {
    display: none;
  }
}

.nav-parent {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.nav-arrow {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.nav-arrow.open {
  transform: rotate(180deg);
}

/* 第二・第三階層コンテナ */
.nav-level-2,
.nav-level-3 {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  margin-left: 0;
  border-left: none;
}
.nav-level-2.open,
.nav-level-3.open {
  max-height: 500px;
}

/* 第二階層リンク */
.nav-sublink {
  position: relative;
  display: block;
  padding: 11px 2px 11px 2.2em;
  font-size: 16px;
  font-family: "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  border-bottom: 1px dashed #444;
}

/* 第二階層：山吹色の ● */
.nav-sublink::before {
  content: "";
  position: absolute;
  left: 1.0em;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c00001;
  transform: translateY(-50%);
}

/* 第三階層を持つ第二階層：行全体に波線 */
.nav-level-2 > li.has-children > .nav-parent {
  border-bottom: 1px dashed #444;
}
.nav-level-2 > li.has-children > .nav-parent > .nav-sublink {
  border-bottom: none;
  padding-right: 32px;
}

/* Hover：山吹色 */
.nav-link:hover,
.nav-parent:hover .nav-link,
.nav-sublink:hover {
  color: #c00001;
}

.nav-parent:hover .nav-arrow path {
  fill: #c00001;
}

@media (hover: hover) {
  .nav-link:hover,
  .nav-sublink:hover {
    background: rgba(255,183,0,0.10);
  }
}

/* 第三階層：▶ マーカー（山吹色） */
.nav-level-2 li li > a {
  position: relative;
  display: block;
  padding: 10px 2px 10px 2.6em;
  font-size: 15px;
  font-family: "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  border-bottom: 1px dashed #444;
}

.nav-level-2 li li > a::before {
  content: "▶";
  position: absolute;
  top: 50%;
  left: 2.3em;
  transform: translateY(-50%);
  font-size: 0.55em;
  color: #c00001;
}

/* ==============================
   Sidebar Footer（SNS＋3ボタン）
============================== */
.sidebar-footer {
  flex: 0 0 auto;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #222;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: #000;
}

@media (min-width: 960px) {
  .sidebar-footer {
    position: static;
  }
}
@media (max-width: 959px) {
  .sidebar-footer {
    padding-bottom: 30px;
  }
}

/* SNS アイコン行 */
.sidebar-sns {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 10px;
}

.sns-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
}

.sns-svg {
  display: block;
  width: 30px;
  height: 30px;
}

@media (hover: hover) {
  .sns-icon:hover .sns-svg {
    opacity: 0.75;
  }
}

/* 白ボタン（SPORTS ENTRY / Moshicom / IBUKI） */
.sidebar-links {
  width: 100%;
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  /*max-width: 200px;*/
  margin: 0 auto;
  background: #fff;
  color: #000;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 7px 12px;
  box-sizing: border-box;
  min-height: 40px;
  transition: background 0.2s, border-color 0.2s;
}

.icon-btn-logo {
  display: block;
  width: auto;
  height: 22px;
  object-fit: contain;
}

.cont-box .sidebar-links {
  width: 50%;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}


.cont-box .sidebar-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  /*max-width: 200px;*/
  margin: 0 auto;
  background: #fff;
  color: #000;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 20px 12px;
  box-sizing: border-box;
  min-height: 40px;
  transition: background 0.2s, border-color 0.2s;
}

.cont-box .icon-btn-logo {
  display: block;
  width: auto;
  height: 30px;
  object-fit: contain;
}

.cont-box ul.inlineli {
  display: flex;
  gap: 60px;   /* li同士の間隔 */
  padding: 0;
  margin: 0;
  list-style: none;
}

.cont-box .sidebar-btn.icon-btn img[alt="SPORTS ENTRY"] {
  height: 30px;
}

.cont-box a {
border-bottom : 1px dotted #c00001;
}
.cont-box a:hover {
border-bottom : none;
}

@media (max-width: 959px) {

.cont-box .sidebar-links {
  width: 100%;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cont-box .icon-btn-logo {
  height: 20px;
}

.cont-box .sidebar-btn.icon-btn img[alt="SPORTS ENTRY"] {
  height: 20px;
}


}


.sidebar-btn.icon-btn img[alt="SPORTS ENTRY"] {
  height: 18px;
}

.icon-ibuki {
  height: 20px;
}

@media (hover: hover) {
  .sidebar-btn:hover {
    background: #f5f5f5;
    border-color: #ccc;
  }
}

/* 白ボタン（MORE） */
.more-links {
  width: 100%;
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.more-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  /*max-width: 200px;*/
  margin: 0 auto;
  background: #fff;
  color: #000;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 7px 12px;
  box-sizing: border-box;
  min-height: 40px;
  transition: background 0.2s, border-color 0.2s;
}


@media (hover: hover) {
  .more-btn:hover {
    background: #f5f5f5;
    border-color: #ccc;
  }
}


/* ==============================
   PAGE TOP ボタン
============================== */
.page-top-btn {
  position: fixed;
  right: 18px;
  bottom: 24px;
  width: 52px;
  height: 52px;
  background: rgba(0,0,0,0.85);
  border-radius: 50%;
  border: 3px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s ease, visibility .3s ease;
  z-index: 999;
}

.page-top-btn img.page-top-icon {
  width: 26px;
  height: 26px;
  transform: rotate(180deg); /* ▼ → ▲ */
  filter: brightness(0) invert(1);
}

.page-top-btn.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (max-width: 959px) {
  .page-top-btn {
    width: 46px;
    height: 46px;
    right: 14px;
    bottom: 20px;
    border-width: 2px;
  }
  .page-top-btn img.page-top-icon {
    width: 22px;
    height: 22px;
  }
}

/* ==============================
   HERO：背景・メインコンテンツ
============================== */
.hero {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 78px);
  padding: 90px 6vw 60px;
  box-sizing: border-box;
  overflow: hidden;
  background: #000;
}

/* 背景スライド */
.hero-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

/* PC：縦方向にゆっくりパン */
@keyframes heroPanDown {
  0%   { background-position: center top; }
  100% { background-position: center bottom; }
}

@media (min-width: 960px) {
  .hero-slide {
    animation-duration: 30s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-play-state: paused;
  }
  .hero-slide.pan-down {
    animation-name: heroPanDown;
  }
}

.hero-slide.is-active {
  opacity: 1;
  animation-play-state: running;
}

/* オーバーレイ（黒はかけない） */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
}

/* 内側コンテンツ */
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* 大きなロゴ */
.hero-logo {
  text-align: center;
  margin-bottom: 170px;
}
.hero-id-logo {
  width: min(980px, 98vw);
  height: auto;
}

/* ロゴ下〜バナーまで */
.hero-layout {
  width: 100%;
  /*max-width: 900px;*/
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 縦長バナー（エントリー／ボランティア） */
.hero-banners-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-banner-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
}

/* 正方形3バナー：SPでも3カラム */
.hero-banners-grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}


/* 正方形3バナー：SPでも3カラム */
.hero-banners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.grid-banner-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
}

/* PC時、メインはヘッダーの下からスタート */
@media (min-width: 960px) {
  .hero {
    min-height: 100vh;
    padding-top: 60px;
  }
  .main-content {
    padding-top: 0;
  }
}

/* 画像バナー Hover（PCのみ） */
@media (hover: hover) and (min-width: 960px) {
  .hero-banner-img,
  .grid-banner-img {
    transition: transform 0.25s ease-out,
                opacity 0.25s ease-out,
                box-shadow 0.25s ease-out;
    cursor: pointer;
  }
  .hero-banner-img:hover,
  .grid-banner-img:hover {
    transform: scale(1.04);
    opacity: 0.92;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  }
}

/* ==============================
   HOT NEWS
============================== */
.hot-news {
  background: rgba(0,0,0,0.8);
  border-radius: 0;
  padding: 18px 18px 14px;
  border: 1px solid rgba(255,255,255,0.08);
}

.hot-news-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.hot-news-title {
  font-size: 18px;
  letter-spacing: 0.2em;
  margin: 0;
}

.hot-news-more {
  font-size: 12px;
  letter-spacing: 0.1em;
}

/* NEWS リスト */
.hot-news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hot-news-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  padding: 6px 0;
  border-bottom: 1px dotted rgba(255,255,255,0.25);
  font-size: 18px;
}

.hot-news-list li:last-child {
  border-bottom: none;
}

.hot-news-date {
  opacity: 0.8;
  min-width: 84px;
}

.hot-news-text {
  flex: 1 1 auto;
}

/* HOT NEWS 内リンク：山吹色＋下線 */
.hot-news-list a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.hot-news-list a:hover {
  color: #c00001;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.hot-news-more {
  text-decoration: none;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.hot-news-more:hover {
  color: #c00001;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

/* ==============================
   Footer Text
============================== */
.site-footer {
  margin-top: 24px;
  text-align: center;
  font-size: 11px;
  line-height: 1.7;
  opacity: 0.9;
  /*background: rgba(0,0,0,0.55);*/
}

.site-footer-text {
  margin: 0 0 6px;
}

.footer-organizer,
.footer-support {
  display: inline;
}

@media (max-width: 959px) {
  .footer-organizer,
  .footer-support {
    display: block;
  }
}

.site-footer-copy {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.12em;
}

/* ==============================
   Content Pages 見出し
============================== */

/* h1：ページタイトル + 右側にサブ情報 */
.main-content h1 {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "游明朝体",
               "Times New Roman", serif;
  font-size: clamp(26px, 4vw, 32px);
  letter-spacing: 0.16em;
  margin: 0 0 2.0em;
  padding: 0.8em;
  border-top: 2px solid #c00001;
  border-bottom: 3px solid #c00001;
  color:#c00001;
  background: rgba(0,0,0,0.55);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1em;
}

.main-content h1 span {
  font-size: 0.6em;
  letter-spacing: 0.1em;
  opacity: 0.8;
  text-align: right;
}

/* ===== SP：h1 を2行構成にする ===== */
@media (max-width: 768px) {

  .main-content h1 {
    flex-direction: column;        /* 横並び → 縦並び */
    align-items: flex-start;       /* 左揃え */
    gap: 0.4em;
    letter-spacing: 0.12em;        /* 英字側はやや控えめに */
  }

  .main-content h1 span {
    display: block;
    width: 100%;
    text-align: left;

    /* 日本語用に欧文設定を解除 */
    letter-spacing: normal;
    font-size: 0.55em;
    opacity: 0.9;

    /* 日本語フォントを優先（任意だが推奨） */
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "游明朝体", serif;
  }
}


/* h2 */
.main-content h2 {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "游明朝体",
               "Times New Roman", serif;
  font-size: 22px;
  line-height:30px;
  letter-spacing: 0.14em;
  margin: 0 0 1.2em;
  padding-bottom: 0.4em;
  border-bottom: 1px solid #fff;
}

.main-content h2 span {
  font-size: 22px;
  line-height:30px;
  letter-spacing: 0.1em;
  opacity: 1.0;
  margin: 0 0 0 1em;
  padding: 0.5em;
  text-align: right;
  border-left: 2px #fff solid;
}

@media (max-width: 959px) {
.main-content h2 span,.main-content h2 span {font-size: 18px;line-height:20px;}
}


/* h3 */
.main-content h3 {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "游明朝体",
               "Times New Roman", serif;
  font-size: 19px;
  letter-spacing: 0.12em;
  margin: 2.2em 0 0.8em;
  padding-left: 0.8em;
  border-left: 3px solid #c00001;
}

/* h4 */
.main-content h4 {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "游明朝体",
               "Times New Roman", serif;
  font-size: 17px;
  letter-spacing: 0.08em;
  margin: 2em 0 0.6em;
}

/* h5 */
.main-content h5 {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "游明朝体",
               "Times New Roman", serif;
  font-size: 15px;
  letter-spacing: 0.06em;
  margin: 1.6em 0 0.4em;
  opacity: 0.9;
}

/* ==============================
   コンテンツブロック
============================== */

.cont-layout {
  margin: 3em 0;
}
@media (min-width: 960px) {
  .cont-layout {
    margin: 3.6em 0;
  }
}

.cont-box {
  margin: 1.4em 0;
  padding: 1.0em 0.8em;
  background: rgba(0,0,0,0.55);
}

.cont-box a {
}

.cont-box img{
  width: 100%;
}

.bgw{
  background: #FFF;
  color:#444;
}

.cont-mid{
  color:#000;
  font-size: 20px;
  margin: 0 auto;
  padding: 80px 110px 150px 110px;
}

@media (max-width: 960px) {
.cont-mid{
  font-size: 15px;
  margin: 0 auto;
  padding: 10px 10px;
  width: 80%;
}
}

.cont-layout .ctr,
.cont-box .ctr{
  text-align: center;
}

.cont-layout .rig,
.cont-box .rig{
  text-align: right;
}

.cont-layout .lig,
.cont-box .lig{
  text-align: left;
}


.cont-ctr {
 width: auto;
 margin:  0 auto;
 display: block
}

@media (max-width: 960px) {
.cont-ctr img{
 width: 80%;
 margin:  0 auto;
 display: block
}
}


/* ==============================
   サブコンテンツナビ（nav-subcont）
============================== */

/* ●を完全に消し、中央にボタンを並べる */
.nav-subcont,
.nav-subcont li {
  list-style: none !important;
  margin: 0;
  padding: 0;
}

.nav-subcont {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0px 10px;
  margin: 10px auto 20px;
}

/* ボタン */
.nav-subcont li a {
  display: inline-flex;
  align-items: center;
  margin: 0.5em 0 !important;
  padding:1.0em 1.5em 1.0em 1.0em !important;
  border-radius: 999px;
  border: 1px solid #999;
  font-family: "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  font-size: 16px;
  letter-spacing: 0.0em;
  text-decoration: none;
  color: #fff;
  background: rgba(0,0,0,0.6);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* 左の矢印（arrow01dw.svg を右向きで使用） */
.nav-subcont li a::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin: 0px 6px;
  background: url("../img/arrow01dw.svg") no-repeat center;
  background-size: contain;
  transform: rotate(0deg);  /* ▼ → ▶ */
}

/* hover */
.nav-subcont li a:hover {
  background: #c00001;
  border-color: #c00001;
  color: #000;
}

@media (max-width: 768px) {
  .nav-subcont li a {
    padding: 12px 26px;
    font-size: 14px;
	padding:0.5em 1.0em 0.5em 0.5em !important;
  }
  .nav-subcont li a::before {
    width: 18px;
    height: 18px;
  }
}

/* ==============================
   テーブル（モノトーン＋ゴシック）
============================== */

.cont-layout table,
.cont-box table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6em 0;
  font-family: "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  font-size: 14px;
}

.cont-layout th,
.cont-layout td,
.cont-box th,
.cont-box td {
  border: 1px solid #555;
  padding: 0.75em 0.9em;
  vertical-align: top;
}

/* th：折り返しなし・背景 #444 */
.cont-layout th,
.cont-box th {
  white-space: nowrap;
  background: #444;
  font-weight: 600;
}

/* 偶数行の背景変化 */
.cont-layout tr:nth-child(even) td,
.cont-box tr:nth-child(even) td {
  background: #080808;
}


/* テーブル内リンク */
.cont-layout table a,
.cont-box table a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.cont-layout table a:hover,
.cont-box table a:hover {
  color: #c00001;
}

/* ==============================
   汎用リスト（UL / OL）
   ― 折返し時のインデント調整
============================== */

/* UL（クラスなし）… 山吹色の小さな● */
main ul:not(.nav-level-1):not(.nav-level-2):not(.nav-level-3):not(.hot-news-list):not(.nav-subcont) {
  list-style: none;
  margin: 1.2em 0;
  padding: 0;
}

main ul:not(.nav-level-1):not(.nav-level-2):not(.nav-level-3):not(.hot-news-list):not(.nav-subcont) li {
  position: relative;
  padding-left: 1.6em;    /* ● の幅＋余白ぶん */
  margin: 0.5em 0;
  line-height: 1.8;
}

/* 山吹色 ●（小さめ） */
main ul:not(.nav-level-1):not(.nav-level-2):not(.nav-level-3):not(.hot-news-list):not(.nav-subcont) li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.45em;
  height: 0.45em;
  border-radius: 50%;
  background: #c00001;
}

/* OL（クラスなし）… 数字を山吹色に、折返しは数字より右へ */
main ol {
  list-style-type: decimal;
  list-style-position: outside;
  margin: 1.2em 0;
  padding-left: 2.4em;   /* 数字の位置＋余白ぶん */
}

main ol li {
  margin: 0.5em 0;
  line-height: 1.8;
}

/* 番号の色だけ山吹色 */
main ol li::marker {
  color: #c00001;
  font-weight: 600;
}


/* ==============================
   定義リスト dl / dt / dd
   dt と dd を横並び＋下に破線
============================== */

main dl {
  margin: 0.5em 0;
  display: grid;
  /* 左が項目(dt)、右が内容(dd) */
  grid-template-columns: minmax(100px, 250px) 1fr;
  column-gap: 0em;
}

main dt,
main dd {
  padding: 0.6em 0;
  border-bottom: 1px dotted #555;  /* 下部に破線 */
  line-height: 1.8;
}

/* 項目側（左） */
main dt {
  font-weight:bold;
  /* 右寄せが良ければ下を有効化
  text-align: right;
  */
}

/* 内容側（右） */
main dd {
  margin: 0;         /* ブラウザ既定の左マージンを消す */
}

/* ===== People box (override) ===== */

/* li の既存装飾解除（念押し） */
.peoplebox ul,
.peoplebox li {
  margin: 0;
  padding: 0;
  list-style: none;
}
.peoplebox li::before,
.peoplebox li::after {
  content: none !important;
}

/* 1行目：画像（左）＋右カラム（コメント/名前）を Grid で制御 */
.peoplebox ul {
  display: grid !important;
  grid-template-columns: 220px 1fr; /* 左：画像固定、右：可変 */
  column-gap: 20px;
  row-gap: 10px;
  align-items: start;
}

/* 既存CSSで li が横並びになる指定を潰す */
.peoplebox ul > li {
  float: none !important;
  display: block !important;
  width: auto !important;
}

/* 画像は左列・上段 */
.peoplebox li.img {
  grid-column: 1;
  grid-row: 1 / span 2; /* 右側(コメント+名前)の高さに合わせて伸びる */
}
.peoplebox li.img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* コメントは右列・上段 */
.peoplebox li.commnt {
  grid-column: 2;
  grid-row: 1;
  line-height: 1.8;
  font-size: 16px;
}

/* 名前は右列・下段（コメントの下）＋右揃え */
.peoplebox li.name {
  grid-column: 2;
  grid-row: 2;
  text-align: right;
  font-weight: 700;
  font-size: 16px;
  margin: 0; /* 余計なマージン干渉を避ける */
}

/* ===== SP：縦組み ===== */
@media (max-width: 768px) {
  .peoplebox ul {
    grid-template-columns: 1fr !important;
    column-gap: 0;
    row-gap: 12px;
  }

  .peoplebox li.img {
    grid-column: 1;
    grid-row: 1;
    max-width: 420px;
  }

  .peoplebox li.commnt {
    grid-column: 1;
    grid-row: 2;
    font-size: 15px;
  }

  .peoplebox li.name {
    grid-column: 1;
    grid-row: 3;
    font-size: 17px;
  }
}


/* =========================================
   スポンサーロゴ グリッド
   PC：4カラム
   SP：2カラム
========================================= */

.sponsor-logos {
  margin: 3em 0;
  width: 100%;
  background: #FFF;
}

.sponsor-logos ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);  /* SP 2カラム */
  gap: 1.5em;
  padding: 0;
  margin: 0 auto;
  list-style: none;
  max-width: 1000px;  /* PC表示時の横幅制限（必要に応じ調整） */
}

.sponsor-logos li {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sponsor-logos img {
  width: 100%;
  height: auto;
  max-width: 200px;    /* ロゴの最大横幅 */
  object-fit: contain;
  filter: brightness(1.0);
  transition: 0.3s;
}

.sponsor-logos img.outline {
  width: 100%;
  height: auto;
  max-width: 200px;    /* ロゴの最大横幅 */
  object-fit: contain;
  filter: brightness(1.0);
  transition: 0.3s;
  border:  #ddd solid 1px;
}

.sponsor-logos img:hover {
  filter: brightness(1.1);
}

/* PC：4カラム */
@media (min-width: 960px) {
  .sponsor-logos ul {
    grid-template-columns: repeat(4, 1fr);
    gap: 2em;
  }
}

/* ============================
   スポンサーロゴ：山吹色の●を打消し
   ※ 他の ul/li の丸には影響しない
============================ */
.sponsor-logos ul li {
  list-style: none !important;
  position: relative;
  padding-left: 0 !important;
}

.sponsor-logos ul li::before {
  content: none !important;  /* ●を完全無効化 */
}


/* ============================
   aタグによる余白・下線などの打ち消し
============================ */
.sponsor-logos a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 0 !important;
}

.sponsor-logos a img {
  display: block;     /* 画像下にできる隙間も解消 */
  margin: 0 auto !important;
  padding: 0 !important;
}


/* =========================================
   グリッド
   PC：2カラム
   SP：2カラム
========================================= */

.grid-box {
  margin: 0;
  width: 100%;
  /*background: #FFF;*/
}

.grid-box ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);  /* SP 2カラム */
  gap: 1.5em;
  padding: 0;
  margin: 0 auto !important;
  list-style: none;
  max-width: 1000px;  /* PC表示時の横幅制限（必要に応じ調整） */
}

.grid-box li {
  display: flex;
  align-items: center;
  justify-content: center;
  border: hidden !important;
}

.grid-box li a {
  border: hidden !important;
}

.grid-box img {
  width: 100%;
  height: auto;
  /*max-width: 200px;*/
  object-fit: contain;
  filter: brightness(1.0);
  transition: 0.3s;
}

.grid-box img:hover {
  filter: brightness(1.1);
}

/* PC：4カラム */
@media (min-width: 960px) {
  .grid-box ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 2em;
  }
}

.grid-box ul li {
  list-style: none !important;
  position: relative;
  padding-left: 0 !important;
}

.grid-box ul li::before {
  content: none !important;  /* ●を完全無効化 */
}


/* ============================
   aタグによる余白・下線などの打ち消し
============================ */
.sponsor-logos a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 0 !important;
}

.sponsor-logos a img {
  display: block;     /* 画像下にできる隙間も解消 */
  margin: 0 auto !important;
  padding: 0 !important;
}



/* ==============================
   ページ内リンク用のオフセット
   PC：ヘッダー分だけ少し上に余白
   SP：バーガーメニューぶん広めに余白
============================== */

/* 共通：スムーススクロール（まだなら） */
html {
  scroll-behavior: smooth;
}

/* PC（960px以上）：少し上に余裕を持たせる */
@media (min-width: 960px) {
  .scroll-target {
    scroll-margin-top: 80px;  /* お好みで 60〜100px 前後に調整可 */
  }
}

/* SP（959px以下）：大きめヘッダー＋アイコン分しっかり確保 */
@media (max-width: 959.98px) {
  .scroll-target {
    scroll-margin-top: 130px; /* 隠れるようなら 140〜150px に増やしてください */
  }
}

/* =========================================
   .cont-box 内の本文リンク
   通常：破線のアンダーライン
   hover：破線フェード＋山吹色に
========================================= */

/* 段落・リストなどの本文リンクのみ対象（テーブルは除外） */
.cont-box p a,
.cont-box li a,
.cont-box dd a,
.cont-box dt a {
  position: relative;
  color: #ffffff;
  text-decoration: none;                  /* 標準の下線は消す */
  border-bottom: 1px dashed rgba(255,255,255,0.7);  /* 破線アンダーライン */
  padding-bottom: 0.06em;
  transition:
    color 0.25s ease,
    border-color 0.25s ease;             /* 線の色もなめらかに変化 */
}

/* hover 時：線を消しつつ山吹色に */
.cont-box p a:hover,
.cont-box li a:hover,
.cont-box dd a:hover,
.cont-box dt a:hover {
  color: #c00001;                         /* 山吹色 */
  border-color: transparent;              /* 破線がふわっと消える */
}


/* =========================================
   SP版：.cont-box のテーブルを横スクロール可能に
========================================= */
@media (max-width: 959px) {

  /* テーブルを包む .cont-box がスクロール領域になる */
  .scroll-box {
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch; /* iOSでヌルッとスクロール */
  }

  /* テーブルが収まらない場合は横幅を最低600pxにしてスライド可能に */
  .scroll-box > table {
    display: block;         /* 横スクロール対象にするため block */
    min-width: 600px;       /* 必要なら 700px, 800px に調整可 */
    width: max-content;     /* 内容サイズに合わせる */
  }
}


/* ==========================
   faq Q / A 表示調整
========================== */

/* Q（質問） */
.faq-box .hq {
  position: relative;
  /* 共通 h3 の左線・余白を打ち消し */
  border-left: none;
  padding-left: 3.6em;              /* Q丸の分だけ右にオフセット */
  margin: 2em 0 0.6em;
  font-size: 20px;
  line-height: 1.7;
  color: #c00001;                   /* Q の本文を山吹色に */
}

.faq-box .hq::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 2.1em;
  height: 2.1em;
  border-radius: 50%;
  background: #c00001;              /* 山吹色の丸 */
  color: #000;                      /* 中の Q は黒 */
  font-weight: 700;
  font-size: 1.1em;
  font-family: "Hiragino Sans","Yu Gothic",sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;          /* 丸の中央に Q */
}

/* A（回答） */
.faq-box .ha {
  position: relative;
  /* Q の本文が始まる位置と揃える */
  padding-left: 3.6em;
  margin: 0.4em 0 2em;
  font-size: 17px;
  line-height: 1.9;
}

.faq-box .ha::before {
  content: "A";
  position: absolute;
  left: 0.3em;                      /* Q丸と少しだけずらしてもOKならここで調整 */
  top: 0.25em;                      /* Q と重ならないように少し下げる */
  width: 1.7em;
  height: 1.7em;
  border-radius: 50%;
  background: #000;                 /* 黒丸 */
  border: 2px solid #c00001;        /* 枠を山吹色 */
  color: #c00001;                   /* 中の A を山吹色 */
  font-weight: 600;
  font-size: 0.9em;
  font-family: "Hiragino Sans","Yu Gothic",sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;          /* 丸の中央に A */
}

.countdown-wrap {
    max-width: 800px;
    margin: 40px auto;
    padding: 24px 30px;
    text-align: center;
    border-radius: 12px;
    font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.countdown-wrap.before {
    background: #fff8e8;
    border: 2px solid #f0c14b;
    color: #7a4d00;
}

.countdown-wrap.during {
    background: #eaf7ea;
    border: 2px solid #4caf50;
    color: #1b5e20;
}

.countdown-wrap.after {
    background: #f3f3f3;
    border: 2px solid #bbbbbb;
    color: #555555;
}

.countdown-title {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
    letter-spacing: 0.08em;
}

.countdown-message {
    font-size: 34px;
    font-weight: bold;
    line-height: 1.5;
}

@media screen and (max-width: 640px) {
    .countdown-message {
        font-size: 24px;
    }
}


  .countdown-wrap{
    text-align:center;
    /*padding:10px 10px;*/
    /*background:#111;*/
    color:#fff;
    /*border-radius:12px;*/
    max-width:760px;
    /*margin:10px auto;*/
  }
  .countdown-title{
    font-size:20px;
    font-weight:bold;
    margin-bottom:10px;
  }
  .countdown-message{
    font-size:14px;
    margin-bottom:15px;
  }
  .countdown{
    display:flex;
    justify-content:center;
    gap:10px;
    flex-wrap:wrap;
  }
  .count-box{
    /*min-width:60px;*/
    background:#222;
    border-radius:5px;
    padding:5px 5px;
  }
  .count-num{
    font-size:30px;
    font-weight:bold;
    line-height:1.2;
  }
  .count-label{
    font-size:14px;
    color:#ccc;
    margin-top:5px;
  }