
/* ナビゲーション */
.custom-navbar {
background-color: #fff;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
border-top: 3px solid #007bff;
border-bottom: 1px solid #ddd;
}

.navbar-toggler {
border: none;
outline: none;
}

.navbar-toggler-icon {
width: 25px;
height: 2px;
background-color: #333;
display: block;
position: relative;
transition: all 0.3s;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
content: '';
width: 25px;
height: 2px;
background-color: #333;
position: absolute;
left: 0;
transition: all 0.3s;
}

.navbar-toggler-icon::before {
top: -8px;
}

.navbar-toggler-icon::after {
top: 8px;
}

.nav-link {
color: #333;
font-weight: 500;
padding: 12px 15px;
position: relative;
transition: all 0.3s ease;
}

.nav-link:hover {
background-color: #f5f9ff;
color: #007bff;
text-decoration: none;
}

/* 縦線で区切り */
@media (min-width: 992px) {
.nav-item:not(:last-child) .nav-link::after {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background-color: #ccc;
}
}

/* モバイルでメニュー中央寄せ */
@media (max-width: 991.98px) {
.navbar-collapse {
  text-align: center;
}

.nav-link {
  border-bottom: 1px solid #eee;
}
}

/* タイトルデザイン */
.page-title-section {
  background: linear-gradient(to right, #fff, #fff);
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  position: relative;
  display: inline-block;
}

.page-title::after {
  content: "";
  display: block;
  width: 60%;
  height: 4px;
  margin: 8px auto 0;
  border-radius: 2px;
}

/* パンくずデザイン */
.breadcrumb-section {
  background-color: #f1f1f1;
  padding: 8px 0;
  font-size: 0.9rem;
}

.custom-breadcrumb {
  margin-bottom: 0;
  background-color: transparent;
  padding: 0;
}

.custom-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: #6c757d;
  padding: 0 0.5rem;
  font-weight: bold;
}

.custom-breadcrumb .breadcrumb-item a {
  text-decoration: none;
  color: #007bff;
}

.custom-breadcrumb .breadcrumb-item a:hover {
  text-decoration: underline;
}

.breadcrumb-icon {
  width: 16px;
  margin-right: 4px;
  vertical-align: middle;
}

@media (max-width: 576px) {
  .page-title {
  font-size: 1.4rem;
  }

  .page-title::after {
  width: 50%;
  }
}

.site-body-container {
  max-width: 900px;
  margin: 30px auto;
  text-align: left;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

table td {
  border: 1px solid #ccc;
  padding: 10px;
  vertical-align: top;
}

p a {
  color: #007bff;
  text-decoration: underline;
}

p a:hover {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}
.h2_left {
font-size: 1.5rem;
border-left: 6px solid #114b8b;
padding-left: 10px;
margin: 2rem 0 1rem;
}

.section {
padding: 0 1rem;
max-width: 960px;
margin: auto;
}

.results {
background: white;
padding: 1rem;
border-radius: 8px;
margin-bottom: 2rem;
box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.result-title {
font-weight: bold;
color: #114b8b;
margin-bottom: 0.5rem;
font-size: 1.15rem;
}

.match-list {
display: grid;
grid-template-columns: 1fr;
gap: 1rem;
}

.match {
background-color: #eaf1fb;
padding: 1rem;
border-radius: 6px;
}

.match a {
text-decoration: none;
color: #114b8b;
font-weight: 500;
}

.match a:hover {
text-decoration: underline;
}

.image-section img {
height: auto;
margin-bottom: 0.5rem;
border: 1px solid #ccc;
border-radius: 4px;
}

.back-link {
display: inline-block;
margin-top: 0.5rem;
padding: 0.3rem 0.7rem;
background-color: #114b8b;
color: white;
text-decoration: none;
border-radius: 4px;
font-size: 0.9rem;
}

@media (min-width: 600px) {
.match-list {
grid-template-columns: 1fr 1fr;
}
}

@media (min-width: 900px) {
.match-list {
grid-template-columns: 1fr 1fr 1fr;
}
}
/* === フッター全体 === */
.site-footer {
background-color: #222;
color: #fff;
padding: 40px 20px;
font-family: 'Helvetica Neue', sans-serif;
}

.footer-container {
max-width: 1000px;
margin: 0 auto;
text-align: center;
}

.footer-nav-list {
	list-style: none;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}

.footer-tab-link {
	text-decoration: none;
	color: #ffffff;
	background-color: #333;
	padding: 6px 12px;
	border-radius: 4px;
	transition: background-color 0.3s;
}

.footer-tab-link:hover,
.footer-tab-link.active {
	background-color: #555;
}

/* === タイトル === */
.footer-title {
font-size: 1.2rem;
margin-bottom: 20px;
letter-spacing: 1px;
text-transform: uppercase;
border-bottom: 1px solid #444;
display: inline-block;
padding-bottom: 5px;
}

/* === メニューリスト === */
.footer-nav-list {
list-style: none;
padding: 0;
margin: 0 0 20px 0;
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 10px 20px;
}

.footer-nav-list li a {
color: #ccc;
text-decoration: none;
padding: 8px 12px;
border-radius: 4px;
transition: all 0.3s ease;
}

.footer-nav-list li a:hover {
background-color: #444;
color: #fff;
}

/* === コピーライト === */
.footer-copy {
font-size: 0.9rem;
color: #aaa;
}

/* === レスポンシブ対応 === */
@media (max-width: 600px) {
.footer-nav-list {
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-nav-list li a {
  display: block;
  width: 100%;
  max-width: 300px;
}
}

.section-heading {
font-size: 1.4rem;
text-align: center;
color: #1a1a1a;
margin-bottom: 25px;
position: relative;
}

.section-heading::after {
content: '';
display: block;
width: 80px;
height: 3px;
background-color: #007bff;
margin: 10px auto 0;
border-radius: 2px;
}

/* スクロールバー */
.tournament-tabs-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 30px;
  margin-top: 20px;

  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
}

.tournament-tabs-wrapper::-webkit-scrollbar {
  height: 6px;
}

.tournament-tabs-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

.tournament-tabs-wrapper::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 3px;
}

/* タブ一覧 */
.tournament-tabs {
display: flex;
flex-wrap: nowrap;
gap: 12px;
list-style: none;
padding: 0;
margin: 0;
min-width: max-content;
}

.tab-link {
display: inline-block;
padding: 10px 18px;
background-color: #fff;
color: #333;
border: 1px solid #ddd;
border-radius: 30px;
text-decoration: none;
font-weight: 500;
white-space: nowrap;
transition: 0.3s;
min-width: 120px;
text-align: center;
}

.tab-link:hover {
background-color: #e6f2ff;
color: #007bff;
border-color: #007bff;
}

.tab-link.active {
background-color: #007bff;
color: #fff;
border-color: #007bff;
}

/* コンテンツ */
.tab-contents {
background: #fff;
border: 1px solid #eee;
padding: 30px;
border-radius: 8px;
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

.tab-pane {
display: none;
}

.tab-pane.active {
display: block;
}

/* スクロールバーのデザイン (オプション) */
.tournament-tabs-wrapper::-webkit-scrollbar {
height: 8px;
}
.tournament-tabs-wrapper::-webkit-scrollbar-thumb {
background-color: #ccc;
border-radius: 4px;
}
.stylish-tab {
background: #f9f9f9;
padding-top: 2rem;
padding-bottom: 2rem;
}

.content-box {
max-width: 800px;
margin: 0 auto;
padding: 2rem;
background-color: #ffffff;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
text-align: left;
font-family: "Helvetica Neue", sans-serif;
}

.section-title {
font-size: 1.8rem;
margin-bottom: 1.5rem;
border-bottom: 2px solid #ccc;
display: inline-block;
padding-bottom: 0.3rem;
color: #333;
}

.section-text {
font-size: 1rem;
line-height: 1.8;
color: #555;
}

.ayumi-tournament-list {
display: flex;
flex-direction: column;
align-items: center;
gap: 1.2rem;
margin-top: 2rem;
}

.ayumi-tournament-card {
display: block;
width: 100%;
max-width: 800px;
text-decoration: none;
background: #ffffff;
border: 1px solid #e0e0e0;
border-left: 5px solid #007bff;
border-radius: 8px;
padding: 1.2rem 1.5rem;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.ayumi-tournament-card:hover {
box-shadow: 0 6px 14px rgba(0, 123, 255, 0.15);
transform: translateY(-2px);
}

.ayumi-tournament-content {
color: inherit;
}

.ayumi-tournament-title {
font-size: 1.1rem;
font-weight: bold;
color: #007bff;
margin: 0 0 0.5rem;
}

.ayumi-tournament-description {
font-size: 0.95rem;
color: #333;
margin: 0;
line-height: 1.6;
}

/* ギャラリー全体 */
.ayumi-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 0;
}

/* 各アイテム（レスポンシブ対応） */
.ayumi-gallery-item {
  flex: 1 1 calc(33.333% - 1.5rem);
  max-width: calc(33.333% - 1.5rem);
  background: #fff8f0;
  padding: 1rem;
  border: 8px solid #e0d6c3;
  box-shadow: inset 0 0 0 2px #d1c4a8, 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

/* ホバー効果 */
.ayumi-gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 2px #c5b99e, 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* 画像部分 */
.ayumi-gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  display: block;
}

/* キャプション */
.ayumi-gallery-item figcaption {
  margin-top: 0.8rem;
  font-size: 0.95rem;
  color: #5a4c3c;
  font-weight: 500;
}

/* ▼ メディアクエリでレスポンシブ対応 */
@media screen and (max-width: 1024px) {
  .ayumi-gallery-item {
    flex: 1 1 calc(50% - 1.5rem);
    max-width: calc(50% - 1.5rem);
  }
}

@media screen and (max-width: 600px) {
  .ayumi-gallery-item {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .ayumi-gallery {
    gap: 1.2rem;
    padding: 1.5rem 0;
  }
}
/* アコーディオンボタンデザイン */
.gallery-accordion .accordion-header {
  width: 100%;
  padding: 1rem 1.5rem;
  background: linear-gradient(to right, #f9f9f9, #f0f0f0);
  border: 1px solid #ddd;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  position: relative;
  transition: background 0.3s, box-shadow 0.3s;
  margin-bottom: 0.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.gallery-accordion .accordion-header:hover {
  background: linear-gradient(to right, #ffffff, #f5f5f5);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.gallery-accordion .accordion-header::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  font-size: 1.2rem;
  color: #888;
  transition: transform 0.3s ease;
}

.gallery-accordion .accordion-header.active::after {
  content: '−';
  color: #007bff;
}

/* アコーディオン本文 */
.gallery-accordion .accordion-body {
  display: none;
  padding: 1rem 0.5rem;
  background-color: #fffdf9;
  border-radius: 0 0 8px 8px;
  margin-bottom: 1rem;
}

.gallery-accordion .accordion-body.open {
  display: block;
}

/* ギャラリー（1行3枚） */
.gallery-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1rem 0;
}

.gallery-row figure {
  background: #fff8f0;
  border: 8px solid #e0d6c3;
  box-shadow: inset 0 0 0 2px #d1c4a8, 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
}

.gallery-row figure:hover {
  transform: scale(1.02);
}

.gallery-row figure img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.gallery-row figcaption {
  padding: 0.5rem;
  font-size: 0.9rem;
  color: #5a4c3c;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
  .gallery-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-row {
    grid-template-columns: 1fr;
  }
}

.tab-pane {
	display: none;
}
.tab-pane.active {
	display: block;
}

@media (max-width: 600px) {
  .footer-list-pd li {
      padding: 0px;
  }
}