@charset "UTF-8";
/*
Theme Name: Cocoon Child
Template: cocoon-master
Version: 4.0.0
Description: 四條畷市テニス連盟（ポップ＆やわらかデザイン）
Author: Shijonawate Tennis Federation
Text Domain: cocoon-child
*/

/* Google Fonts 読み込み */
@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;500;700;900&family=Quicksand:wght@500;700&display=swap');

/* ════════════════════════════════════════
   レスポンシブ
════════════════════════════════════════ */
.pc {
  display: block;
}

@media (max-width:600px) {
  .pc {
  display: none;
}
} 

.sp {
  display: none;
}

@media (max-width:600px) {
  .sp {
  display: block;
}
} 



/* ════════════════════════════════════════
   カラーシステム & ベース
════════════════════════════════════════ */
:root {
  --tn-bg: #fdfaf3;
  --tn-bg-soft: #f4ede0;
  --tn-green: #6db17a;
  --tn-green-d: #4a8d57;
  --tn-green-l: #d8ebd0;
  --tn-orange: #f7a253;
  --tn-yellow: #f7d96a;
  --tn-pink: #f5a7a7;
  --tn-blue: #8bbed1;
  --tn-txt: #4a3f2f;
  --tn-txt-mute: #8a7e6c;
  --tn-line: #e8dec9;
}

/* サイト全体ベース（Cocoon上書き） */
body {
  font-family: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', 'メイリオ', sans-serif !important;
  background: var(--tn-bg) !important;
  color: var(--tn-txt) !important;
  font-size: 18px !important;
  line-height: 1.85 !important;
  -webkit-font-smoothing: antialiased;
}

/* Cocoon背景 */
#body,
.body {
  background: var(--tn-bg) !important;
}

.wrap {
  max-width: 1240px;
}

/* ════════════════════════════════════════
   ヘッダー（Cocoon上書き）
════════════════════════════════════════ */
.header,
#header {
  background: #fff !important;
  border-bottom: 3px solid var(--tn-green-l) !important;
  box-shadow: 0 2px 6px rgba(74, 141, 87, 0.04);
}

.header-container-in.hlt-top-menu {
  padding: 14px 24px;
}

/* ロゴ */
.logo,
.logo-image,
.logo-header {
  display: flex !important;
  align-items: center;
}

.logo img,
.logo-header img {
  max-height: 60px !important;
  width: auto !important;
  display: block;
}

/* グローバルナビ（ポップ風ピル） */
#navi .navi-in>ul>li>a,
.navi .item-label {
  font-family: 'Zen Maru Gothic', sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  color: var(--tn-txt) !important;
  border-radius: 999px;
  padding: 10px 18px !important;
  transition: all .2s;
}

#navi .navi-in>ul>li>a:hover {
  background: var(--tn-green-l) !important;
  color: var(--tn-green-d) !important;
}

#navi {
  background: #fff !important;
  border-top: none !important;
  border-bottom: none !important;
}

#navi .navi-in>ul>li {
  border: none !important;
}

/* ════════════════════════════════════════
   ヒーロー スライドショー
════════════════════════════════════════ */
.front-hero {
  position: relative;
  margin: 24px 24px 0;
  border-radius: 32px;
  overflow: hidden;
  height: 420px;
}

.front-hero-slides {
  position: absolute;
  inset: 0;
}

.front-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.front-hero-slide.active {
  opacity: 1;
}

.front-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(95deg, rgba(74, 141, 87, 0.7) 0%, rgba(74, 141, 87, 0.35) 50%, rgba(74, 141, 87, 0.1) 100%);
}

.front-hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 0 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.front-hero-label {
  font-size: 13px;
  letter-spacing: .3em;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.25);
  padding: 6px 16px;
  border-radius: 999px;
  display: inline-block;
  width: fit-content;
  margin-bottom: 18px;
  backdrop-filter: blur(4px);
}

.front-hero-title {
  font-size: 54px !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
  margin: 0 0 18px !important;
  color: #fff !important;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
  border: none !important;
  padding: 0 !important;
}

.front-hero-text {
  font-size: 19px;
  line-height: 1.95;
  margin-bottom: 32px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.front-hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-hero-primary,
.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none !important;
  transition: all .25s;
}

.btn-hero-primary {
  background: var(--tn-orange);
  color: #fff !important;
  box-shadow: 0 5px 18px rgba(247, 162, 83, 0.4);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(247, 162, 83, 0.5);
}

.btn-hero-outline {
  border: 2px solid #fff;
  color: #fff !important;
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.18);
}

.front-hero-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.front-hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all .3s;
}

.front-hero-dot.active {
  background: #fff;
  transform: scale(1.3);
}

.front-accent-bar {
  display: none;
}

/* ════════════════════════════════════════
   セクション見出し共通
════════════════════════════════════════ */
.front-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
  gap: 20px;
}

.front-section-label {
  display: block;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .25em;
  color: var(--tn-txt-mute);
  margin-bottom: 4px;
}

.front-section-title {
  font-size: 30px !important;
  font-weight: 700 !important;
  color: var(--tn-txt) !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

.front-section-more {
  font-size: 15px;
  font-weight: 500;
  background: #fff;
  padding: 10px 22px;
  border-radius: 999px;
  border: 2px solid var(--tn-line);
  color: var(--tn-txt) !important;
  text-decoration: none !important;
  transition: all .2s;
  white-space: nowrap;
}

.front-section-more:hover {
  border-color: var(--tn-green);
  color: var(--tn-green-d) !important;
  background: var(--tn-bg-soft);
}

/* ════════════════════════════════════════
   2カラム：お知らせ + 大会情報
════════════════════════════════════════ */
.front-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: 60px 40px 30px;
  max-width: 1240px;
  margin: 0 auto;
}

.front-info-col {
  background: #fff;
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 4px 20px rgba(74, 141, 87, 0.06);
}

/* お知らせリスト */
.front-news-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.front-news-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px dashed var(--tn-line);
  list-style: none !important;
}

.front-news-item:last-child {
  border-bottom: none;
}

.front-news-date {
  font-size: 14px;
  color: var(--tn-txt-mute);
  font-family: 'Quicksand', sans-serif;
  font-weight: 500;
  white-space: nowrap;
  padding-top: 4px;
  flex-shrink: 0;
}

.front-news-cat {
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.front-news-cat.cat-news {
  background: #ffe3e3;
  color: #c95757;
}

.front-news-cat.cat-info {
  background: #deeef5;
  color: #3a7891;
}

.front-news-cat.cat-result {
  background: #fff3d4;
  color: #a87e1c;
}

.front-news-title {
  font-size: 17px;
  line-height: 1.7;
}

.front-news-title a {
  color: var(--tn-txt) !important;
  text-decoration: none !important;
}

.front-news-title a:hover {
  color: var(--tn-green-d) !important;
}

/* 大会情報リスト */
.front-tournament-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.front-tournament-item {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px dashed var(--tn-line);
  list-style: none !important;
}

.front-tournament-item:last-child {
  border-bottom: none;
}

.front-tournament-month {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--tn-green) 0%, var(--tn-green-d) 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(74, 141, 87, 0.25);
}

.front-tournament-info-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.front-tournament-info-title a {
  color: var(--tn-txt) !important;
  text-decoration: none !important;
}

.front-tournament-info-title a:hover {
  color: var(--tn-green-d) !important;
}

.front-tournament-meta {
  font-size: 15px;
  color: var(--tn-txt-mute);
}

.front-tournament-cat {
  display: inline-block;
  font-size: 13px;
  color: var(--tn-green-d);
  background: var(--tn-green-l);
  padding: 2px 12px;
  border-radius: 999px;
  margin-top: 6px;
  font-weight: 500;
}

/* 募集ステータスバッジ */
.tn-entry-badge{
  display:inline-block;
  font-size:12px; font-weight:700;
  padding:3px 12px; border-radius:999px;
  margin-right:8px; vertical-align:2px;
  line-height:1.5;
}
.tn-entry-open{
  background:var(--tn-green); color:#fff;
  box-shadow:0 2px 8px rgba(74,141,87,0.3);
  animation:tn-pulse 2s ease-in-out infinite;
}
.tn-entry-before{
  background:var(--tn-bg-soft); color:var(--tn-txt-mute);
  border:1px solid var(--tn-line);
}
.tn-entry-closed{
  background:#f0eee9; color:#a89e8c;
}
@keyframes tn-pulse{
  0%,100%{ box-shadow:0 2px 8px rgba(74,141,87,0.3); }
  50%{ box-shadow:0 2px 14px rgba(109,177,122,0.65); }
}

/* ════════════════════════════════════════
   大会結果（3カード横並び）
════════════════════════════════════════ */
.front-result-section {
  padding: 30px 40px;
  max-width: 1240px;
  margin: 0 auto;
}

.front-result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.front-result-card {
  background: #fff;
  border-radius: 24px;
  padding: 30px;
  border: 2px solid transparent;
  transition: all .25s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(74, 141, 87, 0.06);
}

.front-result-card::before {
  content: '🏆';
  position: absolute;
  top: -10px;
  right: -5px;
  font-size: 64px;
  opacity: .07;
  transform: rotate(15deg);
}

.front-result-card:hover {
  border-color: var(--tn-yellow);
  transform: translateY(-3px);
}

.front-result-date {
  font-size: 14px;
  color: var(--tn-txt-mute);
  margin-bottom: 6px;
  font-family: 'Quicksand', sans-serif;
}

.front-result-name {
  font-size: 19px;
  font-weight: 700;
  color: var(--tn-green-d);
  margin-bottom: 18px;
  line-height: 1.4;
}

.front-result-name a {
  color: var(--tn-green-d) !important;
  text-decoration: none !important;
}

.front-result-winners {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.front-result-winners>div {
  background: var(--tn-bg-soft);
  padding: 10px 16px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.front-result-winner-label {
  font-size: 12px;
  color: var(--tn-txt-mute);
  font-weight: 500;
}

.front-result-winner-label::before {
  content: '🎾 ';
}

.front-result-winner-name {
  font-size: 16px;
  font-weight: 700;
}

/* ════════════════════════════════════════
   体育協会リンクバナー
════════════════════════════════════════ */
.front-assoc-section {
  padding: 30px 40px 60px;
  max-width: 1240px;
  margin: 0 auto;
}

.front-assoc-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  background: linear-gradient(135deg, var(--tn-green-l) 0%, #ecf5e3 100%);
  border-radius: 32px;
  overflow: hidden;
  text-decoration: none !important;
  transition: all .25s;
}

.front-assoc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(74, 141, 87, 0.15);
}

.front-assoc-img {
  background: linear-gradient(135deg, var(--tn-green) 0%, var(--tn-green-d) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  padding: 30px;
  text-align: center;
  color: #fff;
}

.front-assoc-img img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.front-assoc-img-placeholder {
  font-size: 13px;
  opacity: .9;
}

.front-assoc-body {
  padding: 32px 36px;
}

.front-assoc-label {
  display: block;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .25em;
  color: var(--tn-green-d);
  margin-bottom: 6px;
}

.front-assoc-title {
  font-size: 26px !important;
  font-weight: 700 !important;
  margin: 0 0 10px !important;
  color: var(--tn-txt) !important;
  border: none !important;
  padding: 0 !important;
}

.front-assoc-desc {
  font-size: 16px;
  line-height: 1.95;
  margin-bottom: 20px;
  color: var(--tn-txt);
}

.front-assoc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--tn-green-d) !important;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 4px 14px rgba(74, 141, 87, 0.15);
  transition: all .2s;
}

.front-assoc-card:hover .front-assoc-btn {
  background: var(--tn-orange);
  color: #fff !important;
}

/* ════════════════════════════════════════
   役員一覧 + 加盟団体（縦並び・狭幅）
════════════════════════════════════════ */
.front-sub-grid-officers {
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 820px;
  margin: 0 auto;
  padding: 30px 40px;
}

.front-sub-col {
  width: 100%;
}

/* 役員テーブル 横スクロールラッパー */
.front-officers-scroll {
  position: relative;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 20px;
}

.front-officers-scroll-hint {
  display: none;
  font-size: 13px;
  color: var(--tn-green-d);
  background: var(--tn-green-l);
  padding: 6px 14px;
  border-radius: 999px;
  text-align: center;
  margin-bottom: 10px;
  font-weight: 700;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.front-officers-table {
  width: 100%;
  border-collapse: separate !important;
  border-spacing: 0;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(74, 141, 87, 0.07);
}

.front-officers-table thead th {
  background: linear-gradient(135deg, var(--tn-green) 0%, var(--tn-green-d) 100%);
  color: #fff;
  padding: 14px 20px;
  font-weight: 700;
  font-size: 16px;
  text-align: left;
  border: none !important;
}

.front-officers-table thead th:first-child {
  width: 130px;
}

.front-officers-table thead th:nth-child(2) {
  width: 140px;
}

.front-officers-table tbody td {
  padding: 13px 20px;
  border-bottom: 1px solid var(--tn-line) !important;
  border-left: none !important;
  border-right: none !important;
  border-top: none !important;
  font-size: 16px;
  background: #fff;
}

.front-officers-table tbody tr:nth-child(even) td {
  background: var(--tn-bg-soft);
}

.front-officers-table tbody tr:last-child td {
  border-bottom: none !important;
}

.front-officers-table tbody td:first-child {
  color: var(--tn-green-d);
  font-weight: 700;
}

/* 加盟団体テーブル */
.front-members-wrap {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(74, 141, 87, 0.07);
}

.front-members-caption {
  background: linear-gradient(135deg, var(--tn-green) 0%, var(--tn-green-d) 100%);
  color: #fff;
  padding: 14px 20px;
  font-weight: 700;
  font-size: 17px;
  text-align: center;
  letter-spacing: .05em;
}

.front-members-table {
  width: 100%;
  border-collapse: separate !important;
  border-spacing: 0;
  margin-bottom: 0 !important;
}

.front-members-table thead th {
  background: var(--tn-bg-soft);
  color: var(--tn-txt);
  padding: 13px 20px;
  font-weight: 700;
  font-size: 15px;
  text-align: left;
  border: none !important;
  border-bottom: 1px solid var(--tn-line) !important;
}

.front-members-table thead th:first-child {
  width: 50%;
}

.front-members-table tbody td {
  padding: 14px 20px;
  border: none !important;
  border-bottom: 1px solid var(--tn-line) !important;
  font-size: 17px;
  background: #fff;
}

.front-members-table tbody tr:nth-child(even) td {
  background: var(--tn-bg-soft);
}

.front-members-table tbody tr:last-child td {
  border-bottom: none !important;
}

.front-members-table tbody td:first-child {
  color: var(--tn-green-d);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}

.front-members-ball {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #e8f5b3 0%, #c9e065 70%, #b5d34a 100%);
  position: relative;
}

.front-members-ball::before {
  content: '';
  position: absolute;
  inset: 4px 16px 16px 4px;
  border: 1.5px solid #fff;
  border-right: none;
  border-bottom: none;
  border-radius: 50%;
  transform: rotate(-30deg);
}

/* ════════════════════════════════════════
   規約・規定
════════════════════════════════════════ */
.front-rules-wrapper {
  max-width: 820px;
  margin: 0 auto;
  padding: 30px 40px;
}

.front-rules-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.front-rules-list>li {
  list-style: none !important;
}

.front-rules-item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border-radius: 18px;
  padding: 22px 26px;
  text-decoration: none !important;
  transition: all .25s;
  border: 2px solid transparent;
  box-shadow: 0 2px 10px rgba(74, 141, 87, 0.05);
}

.front-rules-item:hover {
  border-color: var(--tn-green);
  transform: translateX(4px);
}

.front-rules-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--tn-green-l);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.front-rules-icon svg {
  width: 26px;
  height: 26px;
}

.front-rules-icon svg rect,
.front-rules-icon svg line {
  stroke: var(--tn-green-d) !important;
}

.front-rules-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--tn-txt);
}

.front-rules-desc {
  font-size: 15px;
  color: var(--tn-txt-mute);
}

.front-rules-arrow {
  margin-left: auto;
  width: auto;
  min-width: 38px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--tn-green-l);
  color: var(--tn-green-d) !important;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  flex-shrink: 0;
}

.front-rules-item:hover .front-rules-arrow {
  background: var(--tn-green);
  color: #fff !important;
}

/* ════════════════════════════════════════
   ギャラリー誘導セクション（トップページ）
════════════════════════════════════════ */
.front-gallery-section{
  max-width:1240px; margin:0 auto;
  padding:30px 40px 60px;
}
.front-gallery-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:20px;
}
.front-gallery-card{
  background:#fff; border-radius:20px; overflow:hidden;
  text-decoration:none !important; color:var(--tn-txt) !important;
  box-shadow:0 4px 16px rgba(74,141,87,0.07);
  transition:all .25s;
  display:flex; flex-direction:column;
}
.front-gallery-card:hover{
  transform:translateY(-4px);
  box-shadow:0 12px 26px rgba(74,141,87,0.18);
}
.front-gallery-card-img{
  position:relative; aspect-ratio:4/3; overflow:hidden;
  background:var(--tn-green-l);
}
.front-gallery-card-img img{
  width:100%; height:100%; object-fit:cover;
  transition:transform .5s;
}
.front-gallery-card:hover .front-gallery-card-img img{ transform:scale(1.08); }
.front-gallery-card-placeholder{
  width:100%; height:100%;
}
.front-gallery-card-placeholder img{
  width:100%; height:100%; object-fit:cover; display:block;
}
.front-gallery-card-count{
  position:absolute; bottom:10px; right:10px;
  background:rgba(0,0,0,0.65); color:#fff;
  padding:4px 12px; border-radius:999px;
  font-size:12px; font-weight:700;
  backdrop-filter:blur(4px);
}
.front-gallery-card-body{ padding:16px 18px; }
.front-gallery-card-date{
  font-size:13px; color:var(--tn-txt-mute);
  font-family:'Quicksand',sans-serif; font-weight:500;
  margin-bottom:4px;
}
.front-gallery-card-title{
  font-size:16px; font-weight:700; line-height:1.45;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical;
  overflow:hidden;
}

/* ギャラリー未投稿時 CTA */
.front-gallery-cta{
  display:grid; grid-template-columns:auto 1fr; gap:30px; align-items:center;
  background:linear-gradient(135deg, #fff5e9 0%, #ffe9d3 100%);
  border-radius:24px; padding:36px 40px;
  text-decoration:none !important; color:var(--tn-txt) !important;
  transition:all .25s;
}
.front-gallery-cta:hover{
  transform:translateY(-3px);
  box-shadow:0 10px 28px rgba(247,162,83,0.18);
}
.front-gallery-cta-icon{
  font-size:64px; line-height:1;
  width:90px; height:90px; border-radius:50%;
  background:#fff; display:flex; align-items:center; justify-content:center;
  box-shadow:0 4px 14px rgba(247,162,83,0.18);
}
.front-gallery-cta-title{
  font-size:22px; font-weight:700; margin-bottom:8px; color:var(--tn-txt);
}
.front-gallery-cta-desc{
  font-size:16px; line-height:1.85; margin-bottom:16px; color:var(--tn-txt);
}
.front-gallery-cta-btn{
  display:inline-flex; align-items:center; gap:8px;
  background:var(--tn-orange); color:#fff !important;
  padding:11px 26px; border-radius:999px;
  font-weight:700; font-size:15px;
  box-shadow:0 4px 14px rgba(247,162,83,0.3);
}

@media (max-width:1023px){
  .front-gallery-section{ padding-left:20px; padding-right:20px; }
  .front-gallery-grid{ grid-template-columns:repeat(2,1fr); gap:14px; }
  .front-gallery-cta{ grid-template-columns:1fr; text-align:center; padding:30px 24px; }
  .front-gallery-cta-icon{ margin:0 auto; }
}
@media (max-width:600px){
  .front-gallery-grid{ grid-template-columns:1fr 1fr; gap:10px; }
  .front-gallery-card-title{ font-size:14px; }
}

/* ════════════════════════════════════════
   ギャラリー（一覧 archive-gallery.php）
════════════════════════════════════════ */
.gallery-archive-wrap{
  max-width:1240px; margin:0 auto; padding:60px 40px;
}
.gallery-archive-head{ text-align:center; margin-bottom:40px; }
.gallery-archive-title{
  font-size:38px !important; font-weight:700 !important;
  color:var(--tn-txt) !important; margin:6px 0 10px !important;
  border:none !important; padding:0 !important;
}
.gallery-archive-desc{
  font-size:17px; color:var(--tn-txt-mute); margin:0;
}

/* 年別ナビ */
.gallery-year-nav{
  display:flex; flex-wrap:wrap; gap:10px; justify-content:center;
  margin-bottom:40px;
}
.gallery-year-btn{
  display:inline-flex; align-items:center; gap:6px;
  background:#fff; border:2px solid var(--tn-line);
  color:var(--tn-txt) !important; text-decoration:none !important;
  padding:10px 22px; border-radius:999px;
  font-weight:700; font-size:16px;
  font-family:'Quicksand','Zen Maru Gothic',sans-serif;
  transition:all .2s;
}
.gallery-year-btn:hover{
  background:var(--tn-bg-soft); border-color:var(--tn-green);
}
.gallery-year-btn.is-active{
  background:linear-gradient(135deg,var(--tn-green) 0%,var(--tn-green-d) 100%) !important;
  color:#fff !important; border-color:transparent;
  box-shadow:0 4px 14px rgba(74,141,87,0.25);
}
.gallery-year-count{
  font-size:13px; opacity:.85;
  background:rgba(255,255,255,0.2);
  padding:1px 8px; border-radius:999px;
}
.gallery-year-btn:not(.is-active) .gallery-year-count{
  background:var(--tn-green-l); color:var(--tn-green-d);
}

/* グリッド */
.gallery-archive-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:30px;
  margin-bottom:40px;
}
.gallery-card{
  background:#fff; border-radius:24px; overflow:hidden;
  text-decoration:none !important; color:var(--tn-txt) !important;
  box-shadow:0 4px 18px rgba(74,141,87,0.07);
  transition:all .25s;
  display:flex; flex-direction:column;
}
.gallery-card:hover{
  transform:translateY(-4px);
  box-shadow:0 12px 28px rgba(74,141,87,0.18);
}
.gallery-card-img{
  position:relative; aspect-ratio:4/3; overflow:hidden;
  background:var(--tn-green-l);
}
.gallery-card-img img{
  width:100%; height:100%; object-fit:cover;
  transition:transform .5s;
}
.gallery-card:hover .gallery-card-img img{ transform:scale(1.06); }
.gallery-card-placeholder{
  width:100%; height:100%;
}
.gallery-card-placeholder img{
  width:100%; height:100%; object-fit:cover; display:block;
}
.gallery-card-count{
  position:absolute; bottom:12px; right:12px;
  background:rgba(0,0,0,0.65); color:#fff;
  padding:6px 14px; border-radius:999px;
  font-size:13px; font-weight:700;
  backdrop-filter:blur(4px);
}
.gallery-card-body{ padding:22px 24px; }
.gallery-card-date{
  font-size:14px; color:var(--tn-txt-mute);
  font-family:'Quicksand',sans-serif; font-weight:500;
  margin-bottom:6px;
}
.gallery-card-title{
  font-size:20px !important; font-weight:700 !important;
  margin:0 0 8px !important; line-height:1.4 !important;
  color:var(--tn-txt) !important; border:none !important; padding:0 !important;
}
.gallery-card-venue{ font-size:14px; color:var(--tn-txt-mute); }

/* ページネーション */
.gallery-pagination{
  display:flex; justify-content:center; gap:8px; flex-wrap:wrap;
  margin-top:30px;
}
.gallery-pagination a, .gallery-pagination span{
  min-width:44px; height:44px;
  display:inline-flex; align-items:center; justify-content:center;
  padding:0 16px; border-radius:999px;
  background:#fff; border:2px solid var(--tn-line);
  color:var(--tn-txt) !important; text-decoration:none !important;
  font-weight:700; font-size:15px;
  font-family:'Quicksand','Zen Maru Gothic',sans-serif;
  transition:all .2s;
}
.gallery-pagination a:hover{
  border-color:var(--tn-green); background:var(--tn-bg-soft);
}
.gallery-pagination .current{
  background:linear-gradient(135deg,var(--tn-green) 0%,var(--tn-green-d) 100%) !important;
  color:#fff !important; border-color:transparent;
}
.gallery-empty{
  text-align:center; padding:80px 20px; font-size:17px;
  color:var(--tn-txt-mute);
}

/* ════════════════════════════════════════
   ギャラリー（個別 single-gallery.php）
════════════════════════════════════════ */
.gallery-single-wrap{
  max-width:1240px; margin:0 auto; padding:40px 40px 60px;
}
.gallery-back-link{
  display:inline-flex; align-items:center;
  background:#fff; border:2px solid var(--tn-line);
  color:var(--tn-txt) !important; text-decoration:none !important;
  padding:10px 22px; border-radius:999px;
  font-weight:700; font-size:15px;
  margin-bottom:30px; transition:all .2s;
}
.gallery-back-link:hover{
  border-color:var(--tn-green); background:var(--tn-bg-soft);
}
.gallery-back-link--bottom{ margin-top:40px; margin-bottom:0; }

.gallery-single-head{
  text-align:center; padding:30px 20px 40px;
  border-bottom:2px dashed var(--tn-line); margin-bottom:40px;
}
.gallery-single-title{
  font-size:36px !important; font-weight:700 !important;
  margin:6px 0 14px !important; color:var(--tn-txt) !important;
  border:none !important; padding:0 !important; line-height:1.3 !important;
}
.gallery-single-meta{
  display:flex; gap:20px; justify-content:center; flex-wrap:wrap;
  font-size:16px; color:var(--tn-txt-mute);
}
.gallery-single-meta span{
  background:var(--tn-bg-soft);
  padding:6px 18px; border-radius:999px;
}
.gallery-single-intro{
  max-width:800px; margin:0 auto 30px;
  text-align:center; font-size:17px; line-height:1.95;
}

/* 写真グリッド */
.gallery-photo-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:14px;
}
.gallery-photo-item{
  all:unset; cursor:pointer; display:block;
  aspect-ratio:1/1; overflow:hidden; border-radius:16px;
  background:var(--tn-green-l);
  transition:all .25s;
}
.gallery-photo-item img{
  width:100%; height:100%; object-fit:cover;
  display:block; transition:transform .4s;
}
.gallery-photo-item:hover{ transform:scale(0.98); box-shadow:0 8px 20px rgba(74,141,87,0.2); }
.gallery-photo-item:hover img{ transform:scale(1.08); }

/* ライトボックス */
.gallery-lightbox{
  position:fixed; inset:0; z-index:9999;
  background:rgba(20,30,22,0.92);
  display:none; align-items:center; justify-content:center;
  backdrop-filter:blur(4px);
}
.gallery-lightbox.is-open{ display:flex; }
.gallery-lb-figure{
  margin:0; max-width:90vw; max-height:85vh;
  display:flex; flex-direction:column; align-items:center; gap:14px;
}
.gallery-lb-img{
  max-width:90vw; max-height:80vh; object-fit:contain;
  border-radius:12px; box-shadow:0 20px 60px rgba(0,0,0,0.5);
}
.gallery-lb-caption{
  color:#fff; font-size:15px; text-align:center;
  background:rgba(255,255,255,0.1); padding:6px 18px;
  border-radius:999px; backdrop-filter:blur(8px);
}
.gallery-lb-close, .gallery-lb-prev, .gallery-lb-next{
  position:absolute; background:rgba(255,255,255,0.15);
  color:#fff; border:none; cursor:pointer;
  width:54px; height:54px; border-radius:50%;
  font-size:30px; line-height:1;
  display:flex; align-items:center; justify-content:center;
  transition:all .2s; backdrop-filter:blur(8px);
}
.gallery-lb-close:hover, .gallery-lb-prev:hover, .gallery-lb-next:hover{
  background:rgba(255,255,255,0.3); transform:scale(1.05);
}
.gallery-lb-close{ top:24px; right:24px; font-size:28px; }
.gallery-lb-prev{ left:24px; top:50%; transform:translateY(-50%); }
.gallery-lb-next{ right:24px; top:50%; transform:translateY(-50%); }
.gallery-lb-prev:hover{ transform:translateY(-50%) scale(1.05); }
.gallery-lb-next:hover{ transform:translateY(-50%) scale(1.05); }
.gallery-lb-counter{
  position:absolute; bottom:24px; left:50%; transform:translateX(-50%);
  color:#fff; font-size:14px; font-family:'Quicksand',sans-serif; font-weight:700;
  background:rgba(0,0,0,0.4); padding:6px 18px; border-radius:999px;
}

/* ════════════════════════════════════════
   ギャラリー — レスポンシブ
════════════════════════════════════════ */
@media (max-width:1023px){
  .gallery-archive-grid{ grid-template-columns:repeat(2,1fr); gap:20px; }
  .gallery-archive-wrap, .gallery-single-wrap{ padding:40px 20px; }
}
@media (max-width:600px){
  .gallery-archive-grid{ grid-template-columns:1fr; }
  .gallery-photo-grid{ grid-template-columns:repeat(2,1fr); gap:10px; }
  .gallery-archive-title{ font-size:30px !important; }
  .gallery-single-title{ font-size:26px !important; }
  .gallery-single-meta{ flex-direction:column; gap:10px; align-items:center; }
  .gallery-lb-close{ top:14px; right:14px; width:46px; height:46px; }
  .gallery-lb-prev{ left:10px; width:46px; height:46px; }
  .gallery-lb-next{ right:10px; width:46px; height:46px; }
}

/* ════════════════════════════════════════
   フッター（Cocoon上書き）
════════════════════════════════════════ */
.footer,
#footer {
  margin-top: 60px !important;
  background: linear-gradient(135deg, var(--tn-green) 0%, var(--tn-green-d) 100%) !important;
  color: #fff !important;
  border-radius: 32px 32px 0 0;
  padding: 40px !important;
  text-align: center;
}

.footer a,
#footer a {
  color: rgba(255, 255, 255, 0.9) !important;
}

.footer a:hover,
#footer a:hover {
  color: #fff !important;
}

.copyright {
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 13px !important;
}

/* ════════════════════════════════════════
   投稿・固定ページ：本文の文字大きめ
════════════════════════════════════════ */
.entry-content,
.article {
  font-size: 18px !important;
  line-height: 1.95 !important;
  color: var(--tn-txt) !important;
}

.entry-content h2,
.article h2 {
  font-size: 28px !important;
  font-weight: 700 !important;
  background: var(--tn-green-l) !important;
  border: none !important;
  border-left: 6px solid var(--tn-green) !important;
  padding: 14px 22px !important;
  border-radius: 0 16px 16px 0 !important;
  color: var(--tn-green-d) !important;
}

.entry-content h3,
.article h3 {
  font-size: 22px !important;
  font-weight: 700 !important;
  border: none !important;
  border-bottom: 3px dotted var(--tn-green) !important;
  padding: 8px 0 !important;
  color: var(--tn-txt) !important;
}

.entry-content a,
.article a {
  color: var(--tn-green-d);
}

.entry-title,
.post-title,
.article-title {
  font-size: 30px !important;
  font-weight: 700 !important;
  color: var(--tn-txt) !important;
}

/* パンくず */
.breadcrumb {
  font-size: 14px !important;
  color: var(--tn-txt-mute) !important;
  background: transparent !important;
}

/* サイドバー */
.sidebar h3 {
  font-size: 20px !important;
  font-weight: 700 !important;
  background: var(--tn-green-l) !important;
  color: var(--tn-green-d) !important;
  border: none !important;
  border-radius: 14px !important;
  padding: 12px 18px !important;
}

.sidebar {
  font-size: 16px;
}

/* ボタン全般（Cocoon汎用） */
.btn,
button,
input[type="submit"] {
  border-radius: 999px !important;
  font-family: 'Zen Maru Gothic', sans-serif !important;
  font-weight: 700 !important;
}

/* ════════════════════════════════════════
   レスポンシブ
════════════════════════════════════════ */
@media (max-width:1023px) {
  .front-info-grid {
    grid-template-columns: 1fr;
    padding: 40px 20px 20px;
  }

  .front-result-grid {
    grid-template-columns: 1fr;
  }

  .front-result-section,
  .front-assoc-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .front-sub-grid-officers,
  .front-rules-wrapper {
    padding: 30px 20px;
  }

  .front-assoc-card {
    grid-template-columns: 1fr;
  }

  .front-members-table thead th,
  .front-members-table tbody td {
    padding: 12px 14px;
    font-size: 15px;
  }

  .front-hero {
    margin: 16px;
    height: 380px;
  }

  .front-hero-inner {
    padding: 0 15px;
  }

  .front-hero-title {
    font-size: 38px !important;
  }

  .front-hero-text {
    font-size: 17px;
  }
}

@media (max-width:600px) {
  body {
    font-size: 17px !important;
  }

  .front-hero {
    height: 450px;
    border-radius: 24px;
  }

  .front-hero-title {
    font-size: 30px !important;
  }

  .front-info-col,
  .front-result-card {
    padding: 24px;
  }

  .front-section-title {
    font-size: 24px !important;
  }

  .front-section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .front-news-item {
    flex-wrap: wrap;
  }

  .front-rules-item {
    flex-wrap: wrap;
  }

  .front-rules-arrow {
    margin-left: 0;
  }
}





@media (max-width:600px){

  body{}

  .wrap{}

  /* =========================
     ヘッダー
  ========================= */
  .header,
  #header{}

  .header-container-in.hlt-top-menu{}

  .logo img,
  .logo-header img{}

  #navi{}

  #navi .navi-in > ul > li > a{}

  /* =========================
     ヒーロー
  ========================= */
  .front-hero{}

  .front-hero-inner{}

  .front-hero-label{}

  .front-hero-title{}

  .front-hero-text{
    margin-bottom: 20px;
    font-size: 15px;
}

  .front-hero-btns{}

  .btn-hero-primary,
  .btn-hero-outline{
    padding: 12px 25px;
    min-width: 200px;
    text-align: center;
    justify-content: center;
}

  .front-hero-dots{}

  /* =========================
     セクション共通
  ========================= */
  .front-section-head{
    flex-direction: row;
}

  .front-section-label{}

  .front-section-title{}

  .front-section-more{}

  /* =========================
     お知らせ・大会情報
  ========================= */
  .front-info-grid{}

  .front-info-col{}

  .front-news-item{}

  .front-news-date{}

  .front-news-cat{}

  .front-news-title{}

  .front-tournament-item{}

  .front-tournament-month{}

  .front-tournament-info-title{}

  .front-tournament-meta{}

  .front-tournament-cat{}

  /* =========================
     大会結果
  ========================= */
  .front-result-section{}

  .front-result-grid{}

  .front-result-card{}

  .front-result-date{}

  .front-result-name{}

  .front-result-winners{}

  .front-result-winner-label{}

  .front-result-winner-name{}

  /* =========================
     体育協会リンク
  ========================= */
  .front-assoc-section{}

  .front-assoc-card{}

  .front-assoc-img{}

  .front-assoc-body{}

  .front-assoc-title{}

  .front-assoc-desc{}

  .front-assoc-btn{}

  /* =========================
     役員一覧（横スクロール対応）
  ========================= */
  .front-sub-grid-officers{}

  .front-officers-scroll{
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 20px;
    box-shadow: 0 4px 18px rgba(74, 141, 87, 0.07);
    /* 右端のフェードでスクロール可能を示唆 */
    background:
      linear-gradient(to right, #fff 30%, rgba(255,255,255,0)) left center / 40px 100% no-repeat,
      linear-gradient(to left,  #fff 30%, rgba(255,255,255,0)) right center / 40px 100% no-repeat,
      linear-gradient(to right, rgba(74,141,87,0.18), rgba(74,141,87,0)) left center / 14px 100% no-repeat,
      linear-gradient(to left,  rgba(74,141,87,0.18), rgba(74,141,87,0)) right center / 14px 100% no-repeat,
      #fff;
    background-attachment: local, local, scroll, scroll, local;
  }

  .front-officers-scroll-hint{
    display: block;
  }

  .front-officers-table{
    min-width: 540px;
    box-shadow: none;
    border-radius: 0;
  }

  .front-officers-table thead th{
    padding: 12px 16px;
    font-size: 15px;
    white-space: nowrap;
  }

  .front-officers-table thead th:first-child{
    width: 110px;
  }

  .front-officers-table thead th:nth-child(2){
    width: 130px;
  }

  .front-officers-table tbody td{
    padding: 12px 16px;
    font-size: 15px;
    white-space: nowrap;
  }

  /* =========================
     加盟団体
  ========================= */
  .front-members-wrap{}

  .front-members-caption{}

  .front-members-table{}

  .front-members-table thead th{}

  .front-members-table tbody td{}

  .front-members-ball{}

  /* =========================
     規約・規定
  ========================= */
  .front-rules-wrapper{}

  .front-rules-list{}

  .front-rules-item{}

  .front-rules-icon{}

  .front-rules-name{}

  .front-rules-desc{}

  .front-rules-arrow{}

  /* =========================
     投稿ページ
  ========================= */
  .entry-content{}

  .entry-content h2{}

  .entry-content h3{}

  .entry-title,
  .post-title,
  .article-title{}

  /* =========================
     サイドバー
  ========================= */
  .sidebar{}

  .sidebar h3{}

  /* =========================
     フッター
  ========================= */
  .footer,
  #footer{}

  .copyright{}

}

.banner-wrap {
display:flex;
	gap: 0 30px;
	justify-content:center;
}
.banner-wrap img {
	width:50%;
	height: auto;
	display: block;
}
@media (max-width:600px)  {
	.banner-wrap {
display:block;
	gap: 0 0px;
}
.banner-wrap img {
	width:100%;
	height: auto;
	display: block;
	margin-bottom: 30px;
}
}
