/*
Theme Name: OKEGAWA FC
Theme URI: https://okegawa-fc.jp/
Author: OKEGAWA FC
Author URI: https://okegawa-fc.jp/
Description: OKEGAWA FC 公式サイト用WordPressテーマ。ヒーロースライダー・試合スケジュール(公式戦/トレーニングマッチ切替)・カテゴリータブ(U-13/U-14/U-15)機能を搭載。
Version: 2.5.27
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: okegawafc
*/

/* Basic Reset */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
}

a {
  color: #000000; /* Replace with color1 from your color scheme */
  text-decoration: none;
  cursor: pointer;
}

a:hover {
  color: #3898BE; /* Replace with color2 from your color scheme */
}

/* Header */
.header-top .header-top-container,
.header-bottom .header-container,
.sns-buttons-container {
  width: 100%;
  max-width: 1400px; /* ここで最大幅を指定 */
  margin: 0 auto; /* 中央揃え */
  padding: 0 20px; /* 両側のパディングを追加 */
}
.sns-buttons-container {
  text-align: right;
}

.header-top .header-top-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top, .header-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #fff;
}
.header-top {
  padding: 5px 0px;
}

.header-bottom {
  padding: 14px 0px;
}

.site-logo a img {
  height: 50px;
  width: auto;
}

footer .site-logo a img {

}

#primary-navigation .nav-menu a {
  color: #fff;
}

.header-bottom {
  background: #242424;
  transition: top 0.3s;
}

.header-bottom.fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.header-bottom nav {
  width: 100%;
}

.site-branding {
  flex-grow: 1;
}

.secondary-nav-menu, .nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.secondary-nav-menu li, .nav-menu li {
  margin-right: 20px;
}

.secondary-nav-menu li:last-child, .nav-menu li:last-child {
  margin-right: 0;
}

.secondary-nav-menu a, .nav-menu a {
  text-decoration: none;
  color: #242424;
  font-weight: normal;
}

.secondary-nav-menu a {
  padding: 14px 40px;
  background: #3A7F4A;
  color: #fff;
  border-radius: 9999px;
  transition: all 0.3s ease;
  border: 2px solid #3A7F4A;
}

.secondary-nav-menu a:hover, .secondary-nav-menu .current-menu-item a,
.nav-menu a:hover, .nav-menu .current-menu-item a {
  font-weight: bold;
}

.secondary-nav-menu a:hover {
	border: 2px #3A7F4A solid;
	color: #3A7F4A;
	font-weight: unset;
	background: #fff;
	transition: all 0.3s ease;
	cursor: pointer;
}

#primary-menu {
  justify-content: space-between;
}

/* SNSボタンのスタイル */
.sns-buttons {
  background-color: #3A7F4A;
  border-bottom: 1px solid #ddd;
  display: flex;
  align-items: center;
}

.header-text {
  width: 60%;
}

.header-text p {
  color: #fff;
}

.sns-buttons-container {
  text-align: right;
  display: flex;
  justify-content: end;
  align-items: center;
  padding: 5px 0;
  width: 40%;
}

.sns-buttons a {
  display: flex;
  align-items: center; /* 上下センタリング */
  margin: 0 10px; /* 左右にスペースを追加 */
  color: #fff;
  font-size: 12px;
  line-height: 0;
}

.sns-buttons a img {
  width: 18px;
  height: 18px;
  margin-left: 5px; /* アイコンとテキストの間にスペースを追加 */
}

.sns-buttons a:hover {
  color: #fff; /* Replace with color1 from your color scheme */
}


/* ハンバーガーメニュー用スタイル */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .secondary-nav-menu, .nav-menu {
      display: none;
      flex-direction: column;
      width: 100%;
  }

  .secondary-nav-menu.open, .nav-menu.open {
      display: flex;
  }

  .secondary-nav-menu li, .nav-menu li {
      margin: 10px 0;
  }

  .menu-toggle {
      display: block;
	  color: #fff;
  }

  .header-top, .header-bottom {
      flex-direction: column;
  }

  .sns-buttons {
      justify-content: center;
  }
}

/* コンテンツのマージン調整 */
.site-content {

}
.front-page-sections {
  background: #242424;
}
/* Front Page Sections */
.front-page-sections-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.slider-section {
  width: 100%; /* 画面の3分の2 */
}

.match-results-section {
  width: 420px; /* 画面の3分の1 */
  background-color: #242424;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  height: 660px;
  overflow-y: scroll;
}


.match-results-section h2 {
  margin-bottom: 10px;
  color: #fff;
  text-align: center;
  font-size: 1.2em;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .front-page-sections {
      flex-direction: column;
  }

  .slider-section,
  .match-results-section {
      width: 100%;
  }

  .match-results-section {
      margin-top: 20px;
  }
}

/* 画像リストのスタイル */
.top-pick-up {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 0;
}
.top-pick-up__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.top-pick-up__list {
  display: flex;
  justify-content: space-between;
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
}

.top-pick-up__item {
  flex: 1 1 calc(25% - 10px); /* 4つの画像を等間隔で並べる */
  margin: 5px;
}

.top-pick-up__link {
  display: block;
  width: 100%;
}

.img-cover {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .top-pick-up__item {
      flex: 1 1 calc(50% - 10px); /* 画面幅が狭い場合は2列に並べる */
  }
}

@media (max-width: 480px) {
  .top-pick-up__item {
      flex: 1 1 100%; /* 画面幅が非常に狭い場合は1列に並べる */
  }
}

.section_inner_title {
  text-align: center;
}

.FrontPageSection_body {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

/* トピックスセクションのスタイル */
.section_inner_title {
  text-align: center;
  margin-bottom: 50px;
  padding-top: 150px;
}

.section_inner_title h2 {
  font-size: 2em;
  margin-bottom: 10px;
}

.section_inner_title p {
  font-size: 1em;
  color: #999;
}

.topics-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.topics-item {
  width: calc(25% - 20px); /* 4列表示で間隔を調整 */
  background-color: #fff;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
}

.topics-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 20px 20px 0 0;
}

.topics-category {
  margin: 10px;
  font-size: 0.9em;
  color: #000000; /* カテゴリー色 */
}

.topics-title {
  font-size: 1.2em;
  margin-bottom: 10px;
  margin-right: 10px;
  margin-left: 10px;
}

.topics-title a {
  text-decoration: none;
  color: #333;
}

.topics-title a:hover {
  color: #000000; /* リンクのホバー色 */
}

.topics-excerpt {
  font-size: 1em;
  color: #666;
  margin: 0 10px 20px 10px;
}
.topics-category span {
  background-color: #3A7F4A;
  color: #fff;
  padding: 3px 10px;
  border-radius: 100vh;
  margin-right: 5px;
}
/* レスポンシブデザイン */
@media (max-width: 1024px) {
  .topics-item {
      width: calc(50% - 20px); /* 2列表示に変更 */
  }
}

@media (max-width: 768px) {
  .topics-item {
      width: 100%; /* 1列表示に変更 */
  }
}

/* スケジュールセクションのスタイル */
#schedule {
  padding: 40px 20px;
  background-color: #f5f5f5;
}

.section_inner_title h2 {
  font-size: 2em;
  margin-bottom: 10px;
}

.section_inner_title p {
  font-size: 1em;
  color: #999;
}

#schedule-calendar {
  max-width: 100%;
  margin: 0 auto;
}

#schedule-calendar {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 10px;
}
#vison .FrontPageSection_body {
  max-width: unset;
  margin: unset;
}
.visin_mes {
  position: relative;
  z-index: 1; /* 確実にテキストが上に表示されるようにする */
  overflow: hidden; /* 子要素がはみ出さないようにする */
  padding: 40px 0;
}
#vison .visin_mes p {
  text-align: center;
  font-size: 24px;
  line-height: 2em;
}
#vison .visin_mes .main_mes {
  font-size: 48px;
  font-weight: 600;
}
.visin_mes::before {
  content: "enjoy football";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-5deg); /* 左下から右上にかけて斜めに表示 */
  font-size: 15vw; /* 横幅いっぱいにするために相対フォントサイズを使用 */
  font-weight: bold;
  color: rgba(0, 0, 0, 0.1); /* 薄いグレー */
  z-index: 0; /* 背景として表示されるようにする */
  white-space: nowrap; /* テキストが折り返されないようにする */
  pointer-events: none; /* 背景テキストがクリックなどのイベントに影響を与えないようにする */
  width: 100vw;
  text-align: center;
}
.partner_logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 15px;
}

.partner_logo {
  width: auto;
  height: 70PX;
}
.match-results-section {
  padding: 10px;
}

.match-details {
  color: #fff;
  margin-bottom: 40px;
}

.teams {
  display: flex;
  justify-content: space-between;
  align-items: normal;
}

.team {
  flex: 1;
  text-align: center;
}

.team img {
  height: 60px;
  padding: 10px 20px 0px;
}

.score {
  flex: 1;
  text-align: center;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

.match-details .game_title {
  text-align: center;
  background-color: #3A7F4A;
  border-radius: 4px;
  font-weight: 600;
  margin-bottom: 4px;
}
.game_place {
  flex: 1;
  text-align: center;
}
.match-details .game_date {
  text-align: center;
  line-height: 1.3;
  font-size: 14px;
}

.match-details .game_kickofftime {
  text-align: center;
  line-height: 1.3;
  font-size: 14px;
  margin-bottom: 4px;
}

.team_name {
  font-size: 10px;
  font-weight: 600;
}

.game_place {
  font-size: 10px;
}

.highlight p {
  background-color: red;
  color: white;
  flex-direction: column;
  display: flex;
  align-items: center; /* 縦方向に中央揃え */
  justify-content: center; /* 横方向に中央揃え */
  height: 100%;
  margin: 0; /* p要素のデフォルトのマージンをリセット */
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  margin: 0px 10px;
}

.lightgray p {
  background-color: lightgray;
  color: black;
  flex-direction: column;
  display: flex;
  align-items: center; /* 縦方向に中央揃え */
  justify-content: center; /* 横方向に中央揃え */
  height: 100%;
  margin: 0; /* p要素のデフォルトのマージンをリセット */
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  margin: 0px 10px;
}

.game_place p {
  background: #fff;
  color: #000;
  font-weight: 600;
  display: flex;
  align-items: center; /* 縦方向に中央揃え */
  justify-content: center; /* 横方向に中央揃え */
  height: 100%;
  margin: 0; /* p要素のデフォルトのマージンをリセット */
  line-height: 1.1;
  margin: 0 7px;
  border-radius: 4px;
  padding: 1px 0;
}
.match-details .game_kickofftime
.score p {
  margin: 0;
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.score .score_inner {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  line-height: normal;
  width: 100%;
}

.score p span {
  font-size: 40px;
  font-weight: 600;
}

.score p strong {
  font-size: 40px;
  font-weight: 600;
  margin: 0 6px;
}

.score p:first-child {
  align-self: flex-end; /* 下揃え */
}

.score p:last-child {
  align-self: flex-start; /* 上揃え */
}

/* 勝敗に応じたスタイル */
.score .win {
  background-color: red;
  border-radius: 5px;
  width: 60px;
  font-weight: 600;
  font-size: 14px;
}

.score .lose {
  background-color: blue;
  border-radius: 5px;
  width: 60px;
  font-weight: 600;
  font-size: 14px;
}

.score .draw {
  background-color: lightslategrey;
  border-radius: 5px;
  width: 60px;
  font-weight: 600;
  font-size: 14px;
}

.score .schedule {
  background-color: lightslategrey;
  border-radius: 5px;
  width: 60px;
  font-weight: 600;
  font-size: 14px;
}

/*footer*/
footer {
  background-color: #e6002d;
}
.footer-copyright {
  background-color: #000;
  text-align: center;
  padding: 10px 0;
}

.footer-copyright p {
  color: #fff;
  font-size: 12px;
}

.section_inner_title h2{
  color: #3A7F4A;
  font-family: "Permanent Marker", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 52px;
  line-height: 1;
}

/* チーム構成ののスタイル */
.composition-list {
  display: flex;
  justify-content: space-between; /* 要素の間にスペースを均等に配置 */
  list-style: none;
  padding: 0;
  margin: 0;
}

.composition-item {
  flex: 1;
}

.composition-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%; /* 正方形を維持するためのトリック */
  height: 300px;
  position: relative;
  background-color: #D32F2F; /* 初期の赤色 */
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
}

.composition-item:nth-child(1) a {
  background-color: #D32F2F; /* 深い赤 */
  background-image: url(https://okegawared.jp/wp-content/uploads/2024/07/junior.jpg);
  background-size: cover;
}
.composition-item:nth-child(1) a span {
  background-color: #D32F2F;
}

.composition-item:nth-child(2) a {
  background-color: #E57373; /* 明るい赤 */
  background-image: url(https://okegawared.jp/wp-content/uploads/2024/07/school.png);
  background-size: cover;
}
.composition-item:nth-child(2) a span {
  background-color: #E57373;
}

.composition-item:nth-child(3) a {
  background-color: #F44336; /* 鮮やかな赤 */
  background-image: url(https://okegawared.jp/wp-content/uploads/2024/07/jy.png);
  background-size: cover;
}
.composition-item:nth-child(3) a span {
  background-color: #F44336;
}

.composition-item:nth-child(4) a {
  background-color: #EF5350;
  background-image: url(https://okegawared.jp/wp-content/uploads/2024/07/ore.jpg);
  background-size: cover;
}
.composition-item:nth-child(4) a span {
  background-color: #EF5350;
}

.composition-item a::before {
  content: "";
  background-color: rgba(211, 211, 211, 0.5); /* ライトグレーを50%透過 */
  width: 100%;
  height: 100%;
}

.composition-item a span {
  width: 200px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  padding: 10px 0px;
  border-radius: 10px;
}

.composition-item a span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2; /* テキストが前面に来るように設定 */
}

.coach-slider {
  margin: 0 0 50px;
}

.coach-slider .slick-list .coach-slide {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.coach-photo {
  width: 50%;
}

.coach-photo img {
  max-width: 100%;
  border-radius: 10px;
}

.coach-info {
  width: 50%;
}

.coach-info h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.coach-info p {
  margin-bottom: 5px;
  font-size: 16px;
}
#staff_inner {
  position: relative;
  z-index: 1;
  color: #fff;
  background-color: #3A7F4A;
  overflow: hidden;
}
#staff_inner:before {
  content: "";
  width: 100%;
  height: 330px;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
  background-color: #000000;
}
#staff_inner:after {
  content: "";
  width: 100%;
  height: 330px;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
  background-color: #000000;
  -webkit-transform: skewY(-8deg);
  transform: skewY(-8deg);
  -webkit-transform-origin: left;
  transform-origin: left;
}

#staff_inner .section_inner_title h2 {
  color: #ffffff;
}



#staff .slick-slide img {
  height: 450px;
  margin: 0 auto;
}

#staff .section_inner_title {
  padding-top: 75px;
}

#partner {
  margin-bottom: 75px;
}

.site-footer {
  background-color: #3A7F4A;
  color: #fff;
  text-align: center;
  padding-top: 120px;
  margin-top: 100px;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-nav-menu {
  list-style: none;
  padding: 0;
  margin: 10px 0;
  display: flex;
  gap: 15px;
}

.footer-nav-menu li {
  display: inline;
}

.footer-nav-menu a {
  color: #fff;
  text-decoration: none;
}

.footer-nav-menu a:hover {
  text-decoration: underline;
}

.footer-social {
  margin: 75px 0;
}

.footer-social .social-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 15px;
}

.footer-social .social-links li {
  display: inline;
}

.footer-social .social-links a img {
  width: 18px;
  height: 18px;
}

.footer-copyright {
  margin-top: 20px;
}

.footer-primary-menu {
  margin-top: 80px;
}

.archive-content,
.single-content,
.page-content {
  display: flex;
  flex-wrap: wrap;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

.archive-content .archive-main .archive-posts article:nth-child(odd) {
  margin-right: 10px;
}

.archive-content .archive-main .archive-posts article:nth-child(even) {
  margin-left: 10px;
}

.archive-main,
.single-main,
.page-main {
  flex: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0 20px;
}

.archive-posts {
  display: flex;
  flex-wrap: wrap;
}

.archive-posts article {
  margin-bottom: 20px;
  width: 48%;
  background-color: #ffffff;
  border-radius: 20px;
}
.archive-posts article a img {
  width: 100%;
  height: auto;
  border-radius: 20px 20px 0 0;
}
.archive-sidebar {
  flex: 1;
  padding: 0 20px;
}

.sort_section ul {
  display: flex;
  width: 100%;
  border: 1px solid #3A7F4A;
  border-radius: 100vh;
}

.sort_section ul li {
  width: 50%;
  text-align: center;
}

.sort_section ul li:first-child a:hover {
  width: 100%;
  height: 100%;
  background-color: #3A7F4A;
  border-radius: 20px 0 0 20px;
  color: #fff;
}
.sort_section ul li:last-child a:hover {
  width: 100%;
  height: 100%;
  background-color: #3A7F4A;
  border-radius: 0 20px 20px 0;
  color: #fff;
}

.sort_section ul li a {
  color: #3A7F4A;
  width: 100%;
  height: 30px;
  display: block;
  line-height: 30px;
}

.sort_section ul li:first-child {
  border-right: 1px solid #3A7F4A;
}

.archive-sidebar #secondary .widget h2 {
  margin-bottom: 20px;
  padding: 50px 0 16px;
  border-bottom-width: 3px;
  font-size: 1.06rem;
  border-bottom: 2px solid #222;
  font-weight: bold;
}
.archive-sidebar #secondary .widget:first-child h2 {
  padding-top: 0;
}

.post-thumbnail {
  margin-bottom: 10px;
}

.entry-header {
  margin-bottom: 10px;
  margin-left: 20px;
  margin-right: 20px;
}

.entry-title {
  font-size: 1.5em;
}

.entry-title a {

}

.single-containar {
	width: 100%;
	position: relative;
}

.single-containar .entry-title {
	position: relative;
	display: table;
    padding-bottom: .1em;
    margin: 2em auto 3em;
    border: 0;
    font-size: 2rem;
}

.single-containar .entry-title:before {
	content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 2px;
    background-color: #3A7F4A;
}
.single-main .entry-meta {
	display: flex;
    justify-content: space-between;
    align-items: center;
	font-size: 1.0rem;
}

.single-main .entry-meta time {
	color: #000;
	font-weight: 600;
}

.single-main .entry-content,
.single-main .post-navigation{
	margin: 10px 20px;
}

.single-main .post-navigation{
	margin: 10px 20px;
	display: flex;
    align-items: center;
    justify-content: space-between;
}

.entry-meta {
  font-size: 0.875em;
  color: #555;
}

.entry-meta ul {
  display: flex;
  margin-left: 5px;
}

.entry-meta ul li {
  list-style: none;
}

.entry-meta a {
  background-color: #3A7F4A;
  color: #fff;
  padding: 3px 10px;
  border-radius: 100vh;
  margin-right: 5px;
}

.entry-summary {
  font-size: 1em;
  margin: 0 20px 20px 20px;
}

aside ul li {
  list-style: none;
}

.search-form {
  display: flex;
  align-items: center;
}

.search-form label {
  flex: 3;
}

.search-field {
  flex: 1;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 3px 0 0 3px;
  border-right: none;
  width: 100%;
}

.search-submit {
  padding: 0.5rem 1rem;
  border: 1px solid #3A7F4A;
  background-color: #3A7F4A;
  color: white;
  border-radius: 0 3px 3px 0;
  cursor: pointer;
}

.search-submit:hover {
  background-color: #3A7F4A; /* カスタムカラー */
}

.page-header {
  margin-bottom: 40px;
  padding: 90px 0;
  text-align: center;
  background-color: #3A7F4A;
  color: #ffffff;
}

.widget .current-cat a,
.year_section ul li a {
  display: block;
  width: 100%;
  border: 1px solid #3A7F4A;
  border-radius: 5px;
  text-align: center;
  color: #3A7F4A;
  padding: 10px 0;
  margin-bottom: 10px;
}

.widget .current-cat .children .li:last-child a {
  margin-bottom: 0;
}

.tag_section a {
  font-size: 12px !important;
  border: 1px solid #3A7F4A;
  border-radius: 100vh;
  padding: 5px 10px;
  color: #3A7F4A;
}

/* タブのスタイル */
#calendar-tabs {
  margin: 20px 0;
}

#calendar-tabs ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  border-bottom: 2px solid #ddd;
}

#calendar-tabs ul li {
  margin: 0;
  padding: 0;
}

#calendar-tabs ul li a {
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  color: #333;
  border: 1px solid #ddd;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  background-color: #f9f9f9;
  margin-right: 2px;
}

#calendar-tabs ul li a:hover {
  background-color: #eee;
}

#calendar-tabs ul li.ui-tabs-active a {
  background-color: #fff;
  color: #000;
  border-bottom: 2px solid #fff;
}

.calendar-tab-content {
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 0 4px 4px 4px;
  background-color: #fff;
}

/* モーダルウィンドウのスタイル */
#event-modal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 600px;
  border-radius: 4px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.sp_sns_menu {
	display: none;
}
.access-inner {
    margin-bottom: 70px;	
}

#access table {
	border-collapse: collapse;
}

#access table tbody th,
#access table tbody td {
	border: 1px solid #000;
	padding: 8px 10px;
}

/* スマホ下部固定ボタン */
.fixed-bottom-buttons {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  z-index: 9999;
}

.fixed-bottom-buttons .fixed-btn {
  flex: 1;
  text-align: center;
  padding: 12px 0;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}

.fixed-btn.btn-contact {
  background-color: #3A7F4A; /* 青系：お問い合わせ */
}

.fixed-btn.btn-sponsor {
  background-color: #EAB601; /* 黄系：スポンサー募集 */
}

.page-main h3 {
	width: 100%;
	text-align: center;
}

.page-main .player-list {
	display: ruby;
	flex-wrap: unset;
}

.player-card .player-img-wapper {
	position: relative;
}

.player-card .player-img-wapper .player-img img {
	display: block;
	width: 100%;
    height: auto;
}

.player-card .player-img-wapper p {
	position: absolute;
	top: 0;
	right: 0;
	color: #3A7F4A;
	font-family: "Permanent Marker", cursive;
    font-weight: 400;
    font-style: normal;
	font-size: 3.2rem;
    line-height: 1;
	padding: 5px 10px;
}

.player-card .player-info {
	background: #3A7F4A;
    color: #fff;
    text-align: center;
	padding: 10px 0;
}

.player-card .player-info h2 {
	font-size: 18px;
	line-height: 1.2;
}

.player-card .player-info p {
    font-size: 13px;
}

.player-list .player-card {
	width: 24%;
    padding-right: 10px;
    padding-bottom: 20px;
}

/* スマホだけに表示 */
@media screen and (min-width: 769px) {
  .fixed-bottom-buttons {
    display: none;
  }
}

/*タブレット*/
@media screen and (min-width: 768px) and (max-width: 1280px) {
	.player-list .player-card {
		width: 32%;
	}
}

/*スマホ*/
@media screen and (max-width: 767px) {
	.header-text p {
		padding: 5px;
        font-size: 14px;
	}
	.site-logo {
		display: flex;
        justify-content: center;
        padding: 5px 0;
	}
	.site-logo a {
		display: inline-flex;
	}
	.site-logo a img {
		height: 35px;
	}
	.sns-buttons .pc_sns_menu {
		display: none;
	}
	.sp_sns_menu {
		display: block;
	}
	.sp_sns_menu a {
		display: inline-flex;
        margin-left: 16px;
	}
	.front-page-sections-container {
		display: block;
	}
	.sns-buttons-container {
		display: inline-flex;
		margin: 0;
	}
	.header-bottom {
		display: block;
	}
	.sns-buttons {
		display: block;
	}
	.header-text {
		width: 100%;
	}
	.site-logo {
		text-align: center;
	}
	.header-bottom nav {
		display: flex;
        align-items: center;
        justify-content: space-between;
	}
	.menu-toggle .hamburger {
        display: inline-block;
        width: 25px;
        height: 18px;
        position: relative;
    }
    .menu-toggle .hamburger span {
        background: #fff;
        height: 3px;
        width: 100%;
        position: absolute;
        left: 0;
        transition: 0.3s;
    }
    .menu-toggle .hamburger span:nth-child(1) {
        top: 0;
    }
    .menu-toggle .hamburger span:nth-child(2) {
        top: 7px;
    }
    .menu-toggle .hamburger span:nth-child(3) {
        top: 14px;
    }
	.match-results-section {
		height: auto;
	}
	.match-details {
		margin-bottom: 0;
	}
	.match-scroll-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
}

.match-scroll-inner {
  display: flex;
  gap: 20px; /* スクロール間隔 */
  width: max-content;
}

.match-details {
  min-width: 300px; /* 必要に応じて調整 */
  flex-shrink: 0;
  background: #f9f9f9;
  border-radius: 8px;
  padding: 10px;
  scroll-snap-align: start;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
	.game_place p {
		background: #000;
        color: #fff;
	}
	.match-details .game_date {
		color: #000;
	}
	.match-details .game_kickofftime {
		color: #000;
	}
	.teams {
		color: #000;
	}
	.score .lose,
	.score .win,
    .score .drow {
		color: #fff;
	}
	.top-pick-up__list {
		flex-wrap: wrap;
	}
	.top-pick-up__list li {
		flex: 1 1 calc(50% - 10px);
	}
	.topics-item {
		flex: 1 1 calc(50% - 10px);
        margin: 5px 5px;
	}
	.topics-category span {
		display: inline-block;
        text-align: center;
        font-size: 10px;
	}
	.coach-slider .slick-list .coach-slide {
		display: block;
	}
	.coach-photo {
		width: 100%;
		margin-bottom: 20px;
	}
	.coach-info {
		margin: 0 auto;
        width: 80%;
	}
	.topics-category {
		margin: 5px;
	}
	.topics-thumbnail img {
		display: block;
	}
	.topics-excerpt p {
	    display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;	
	}
	.section_inner_title {
		padding-top: 50px;
	}
	.site-footer {
		padding-top: 50px;
		margin-top: 50px;
		margin-bottom: 48px;
	}
	.footer-primary-menu {
		margin-top: 50px;
	}
	.footer-logo {
		margin-bottom: 0;
	}
	.footer-nav-menu {
		flex-wrap: wrap;
	}
	.footer-nav-menu li {
		width: 100%;
	}
	#vison .visin_mes .main_mes {
		line-height: 1.3em;
	}
	#vison .visin_mes .sub_mes {
		line-height: 1.3em;
        font-size: 20px;
		padding: 5px 15px;
	}
	.section_inner_title {

	}
	.archive-content {
		display: grid;
        grid-template-areas:
            "item2"
            "item1";
	}
	.archive-main {
		order: 2;
	}
	.archive-sidebar {
		order: 1;
	}
	.archive-content .archive-main .archive-posts article:nth-child(odd) {
		margin-right: 0;
	}
	.archive-posts article {
		flex: 1 1 calc(50% - 10px);
	}
	.single-content {
		display: block;
	}
	.single-main .post-navigation {
		position: unset;
	}
	.archive-content .entry-meta ul {
		margin-left: 0;
	}
	.archive-content .entry-meta ul li a{
    	padding: 2px 5px;	
		font-size: 10px;
	}
	.single-content .single-main .entry-header .post-thumbnail img {
		width: 100%;
		height: auto;
	}
	.single-containar .entry-title {
		margin: 1em auto;
	}
	.page-header {
		padding: 50px 0;
	}
	.archive-sidebar {
		margin: 50px 0;
	}
	.archive-main,
	.single-main {
		padding: 0 16px;
	}
	.single-main .entry-content, .single-main .post-navigation {
		margin: 10px 0;
	}
	.single-main .post-navigation {
		margin: 40px 0 10px;
	}
	.archive-posts .entry-header {
		margin-left: 20px;
        margin-right: 20px;
	}
	.entry-header {
		margin-left: 0;
        margin-right: 0;
	}
	.single-containar .entry-title {
		line-height: 1.3em;
	}
	.player-list .player-card {
		width: 48%;
	}
	#main .page-content {
		grid-template-areas: unset;
	}
	#main .page-content .page-main {
		order: unset;
		flex: unset;
	}
	#main .page-content .archive-sidebar {
		order: unset;
	}
	.player-list .player-card {
		padding-right: 0;
		padding-bottom: 0;
	}
	.page-main .player-list {
		display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
		gap: 10px;
	}
}
.slick-dots li.slick-active button:before {
	color: #fff !important;
}
.slick-dots li button:before {
	color: #fff !important;
}
.slick-prev
{
    left: 50px !important;
}
.slick-next
{
    right: 50px !important;
}
.simcal-calendar-grid {
	margin: 0 auto;
}
/* ========================================================

/* ========================================================
 * v2.1 追加スタイル：
 *   - ファーストビュー PC 3fr:1fr / SP縦積み+横スライド
 *   - ヒーロースライダー
 *   - タブ / 試合カード（メイン用）
 *   - ミニ試合カード（右カラム＆SP用）
 *   - パートナー & Instagram フォールバック
 *   - 選手カード
 * ※ 元テーマの Vision / Staff / Partner_logos 等のスタイルは
 *   1710行目までにそのまま残しており、上書きしません。
 * ======================================================== */

/* ---------- ファーストビュー：レイアウト ---------- */
.hero-section {
    width: 100%;
    background: #f5f5f5;
    padding: 0;
}
.hero-layout {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 16px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px;
    align-items: stretch;
}
.hero-layout__slider {
    min-width: 0; /* grid overflow 対策 */
}
.hero-layout__matches {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* SP レイアウト（スライダー→試合結果を縦積み） */
@media (max-width: 900px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 8px;
    }
}

/* ---------- ヒーロースライダー ---------- */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 320px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #111;
    border-radius: 8px;
}
.hero-slider--empty {
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eee;
}
.hero-slider__placeholder { text-align: center; padding: 40px; }
.hero-slider__placeholder .btn-primary {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 20px;
    background: #3A7F4A;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
}
.hero-slider__track { position: relative; width: 100%; height: 100%; }
.hero-slider__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .6s ease-in-out;
    pointer-events: none;
}
.hero-slider__slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}
.hero-slider__link { display: block; width: 100%; height: 100%; }
.hero-slider__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-slider__caption {
    position: absolute;
    bottom: 24px;
    left: 24px;
    padding: 10px 18px;
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: 1.1rem;
    border-left: 4px solid #3A7F4A;
    max-width: 60%;
}
.hero-slider__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,.4);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.6rem;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background .2s;
}
.hero-slider__nav:hover { background: rgba(0,0,0,.7); }
.hero-slider__nav--prev { left: 12px; }
.hero-slider__nav--next { right: 12px; }
.hero-slider__dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}
.hero-slider__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.5);
    cursor: pointer;
    padding: 0;
    transition: background .2s, transform .2s;
}
.hero-slider__dot.is-active {
    background: #fff;
    transform: scale(1.3);
}
@media (max-width: 900px) {
    .hero-slider { aspect-ratio: 16 / 10; border-radius: 6px; }
    .hero-slider__caption { font-size: .9rem; bottom: 14px; left: 14px; max-width: 80%; padding: 6px 12px; }
    .hero-slider__nav { width: 32px; height: 32px; font-size: 1.3rem; }
}
@media (max-width: 600px) {
    .hero-slider { aspect-ratio: 4 / 3; }
}

/* ---------- ヒーロー右カラム：試合結果 ---------- */
.hero-matches {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.hero-matches__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid #3A7F4A;
}
.hero-matches__title {
    font-family: 'Permanent Marker', sans-serif;
    font-size: 1.4rem;
    margin: 0;
    color: #242424;
    letter-spacing: .04em;
}
.hero-matches__more {
    font-size: .75rem;
    color: #3A7F4A;
    text-decoration: none;
    font-weight: 700;
}
.hero-matches__more:hover { text-decoration: underline; }
.hero-matches__list {
    /* PC: 縦2.5件見せる。約 100px * 2.5 + gap */
    max-height: 320px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    scroll-behavior: smooth;
    padding-right: 4px;
}
.hero-matches__list::-webkit-scrollbar { width: 4px; }
.hero-matches__list::-webkit-scrollbar-thumb { background: #ccc; border-radius: 2px; }
.hero-matches__empty {
    padding: 20px;
    color: #999;
    text-align: center;
    font-size: .85rem;
}

/* SP: 横スクロール */
@media (max-width: 900px) {
    .hero-matches {
        padding: 10px;
    }
    .hero-matches__list {
        flex-direction: row;
        max-height: none;
        overflow-x: auto;
        overflow-y: visible;
        padding-bottom: 6px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    .hero-matches__list > .mini-match-card {
        flex: 0 0 260px;
        scroll-snap-align: start;
    }
}

/* ---------- ミニ試合カード ---------- */
.mini-match-card {
    background: #fafafa;
    border-left: 3px solid #999;
    padding: 10px 12px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: background .2s;
}
/* タブ切替での非表示を確実にする（[hidden] 属性は display:none 相当） */
.mini-match-card[hidden] { display: none !important; }
.hero-matches__empty--filtered[hidden] { display: none !important; }
.mini-match-card:hover { background: #f0f0f0; }
.mini-match-card.win  { border-left-color: #2e7d32; }
.mini-match-card.lose { border-left-color: #c62828; }
.mini-match-card.draw { border-left-color: #f9a825; }
.mini-match-card.schedule { border-left-color: #757575; }

.mini-match-card__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .7rem;
    flex-wrap: wrap;
}
.mini-match-card__date {
    font-weight: 700;
    color: #242424;
    font-size: .8rem;
}
.mini-match-card__cat {
    background: #3A7F4A;
    color: #fff;
    padding: 1px 6px;
    border-radius: 2px;
    font-size: .65rem;
    font-weight: 700;
}
.mini-match-card__result {
    margin-left: auto;
    padding: 1px 8px;
    border-radius: 2px;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .04em;
}
.mini-match-card__result.win      { background: #2e7d32; color: #fff; }
.mini-match-card__result.lose     { background: #c62828; color: #fff; }
.mini-match-card__result.draw     { background: #f9a825; color: #fff; }
.mini-match-card__result.schedule { background: #eee; color: #666; }

.mini-match-card__teams {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
}
/* ロゴを上、チーム名を下に縦積み */
.mini-match-card__team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 0;
    text-align: center;
}
.mini-match-card__team:last-child { justify-content: center; }
.mini-match-card__logo {
    width: 40px;                     /* ロゴをもう少し大きく */
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}
.mini-match-card__name {
    font-size: .75rem;
    font-weight: 600;
    color: #242424;
    line-height: 1.3;
    word-break: break-word;          /* 長い名前は折り返す */
    min-width: 0;
    max-width: 100px;
}
.mini-match-card__score {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 900;
    color: #242424;
    flex-shrink: 0;
}
.mini-match-card__num { font-size: 1.1rem; }
.mini-match-card__sep { color: #999; }
.mini-match-card__vs {
    font-family: 'Permanent Marker', sans-serif;
    color: #999;
    font-size: .9rem;
}
.mini-match-card__title {
    font-size: .7rem;
    color: #666;
    margin: 0;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---------- タブ (試合スケジュール / 選手一覧) ---------- */
.match-tabs {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}
.match-tabs__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 24px;
}
.match-tabs__btn {
    background: transparent;
    border: none;
    padding: 12px 22px;
    font-size: 1rem;
    font-weight: 700;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: color .2s;
    letter-spacing: .04em;
    font-family: 'Permanent Marker', sans-serif;
}
.match-tabs__btn:hover { color: #3A7F4A; }
.match-tabs__btn.is-active { color: #3A7F4A; }
.match-tabs__btn.is-active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 3px;
    background: #3A7F4A;
    border-radius: 2px;
}
.match-tabs__panel { display: none; }
.match-tabs__panel.is-active { display: block; }

/* ---------- メイン試合スケジュール：試合カード ---------- */
/* 元テーマの .match-scroll-container / .match-scroll-inner を上書きせず、
   新しい .match-card クラスにのみスタイルを適用 */
.match-schedule-section .match-scroll-container {
    overflow-x: auto;
    padding: 4px 0 12px;
    -webkit-overflow-scrolling: touch;
}
.match-schedule-section .match-scroll-inner {
    display: flex;
    gap: 16px;
    padding: 4px;
    min-width: min-content;
}
.match-card {
    flex: 0 0 320px;
    background: #fff;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    border-top: 4px solid #3A7F4A;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.match-card.win  { border-top-color: #2e7d32; }
.match-card.lose { border-top-color: #c62828; }
.match-card.draw { border-top-color: #f9a825; }
.match-card.schedule { border-top-color: #757575; }
.match-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.match-card__cats { display: flex; gap: 4px; flex-wrap: wrap; }
.match-card__cat {
    display: inline-block;
    padding: 2px 8px;
    background: #3A7F4A;
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    border-radius: 3px;
    letter-spacing: .04em;
}
.match-card__format {
    font-size: .7rem;
    color: #666;
    background: #f0f0f0;
    padding: 3px 8px;
    border-radius: 3px;
}
.match-card__format--training { background: #fff3e0; color: #e65100; }
.match-card__format--official { background: #e8f5e9; color: #2e7d32; }
.match-card__title { font-weight: 700; font-size: .95rem; margin: 0; color: #242424; line-height: 1.4; }
.match-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    font-size: .8rem;
    color: #666;
}
.match-card__date { font-weight: 700; color: #242424; }
/* v2.5.17: ::before のピンを削除（HTMLの <i> タグと二重になっていたため） */
.match-card__venue::before { content: none; }
.match-card__teams {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}
.match-card__team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
}
.match-card__team-label { font-size: .7rem; color: #999; font-weight: 700; letter-spacing: .06em; }
.match-card__team-logo { width: 48px; height: 48px; object-fit: contain; }
.match-card__team-name { font-size: .85rem; font-weight: 600; color: #242424; line-height: 1.3; }
.match-card__score { display: flex; flex-direction: column; align-items: center; min-width: 90px; }
.match-card__score-total {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1;
    color: #242424;
    margin: 0;
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.match-card__score-total strong { font-size: 1.2rem; color: #999; }
.match-card__score-vs {
    font-size: 1.4rem;
    font-weight: 900;
    color: #999;
    margin: 0;
    font-family: 'Permanent Marker', sans-serif;
}
.match-card__result {
    margin-top: 4px;
    font-size: .8rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 3px;
    letter-spacing: .04em;
}
.match-card__result.win      { background: #2e7d32; color: #fff; }
.match-card__result.lose     { background: #c62828; color: #fff; }
.match-card__result.draw     { background: #f9a825; color: #fff; }
.match-card__result.schedule { background: #eee; color: #666; }
.match-card__sets { font-size: .85rem; border-top: 1px dashed #e0e0e0; padding-top: 8px; }
.match-card__sets summary { cursor: pointer; color: #3A7F4A; font-weight: 700; outline: none; }
.match-card__sets-table { width: 100%; margin-top: 8px; border-collapse: collapse; font-size: .8rem; }
.match-card__sets-table th, .match-card__sets-table td {
    padding: 6px 8px; text-align: center; border-bottom: 1px solid #f0f0f0;
}
.match-card__sets-table th { background: #fafafa; color: #666; font-weight: 700; }
.match-empty, .player-empty {
    text-align: center; padding: 40px 20px; color: #999; background: #fafafa; border-radius: 6px;
}
@media (max-width: 768px) {
    .match-card { flex: 0 0 280px; padding: 12px; }
    .match-card__score-total { font-size: 1.5rem; }
    .match-tabs__btn { padding: 10px 16px; font-size: .9rem; }
}

/* ---------- Instagram フォールバック ---------- */
.instagram-fallback {
    text-align: center;
    padding: 40px 20px;
    background: #fafafa;
    border-radius: 6px;
}
.instagram-fallback .btn-primary {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 24px;
    background: #E1306C;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
}

/* ---------- パートナー空表示 ---------- */
.partner_empty {
    text-align: center;
    color: #999;
    padding: 20px;
    grid-column: 1 / -1;
}
.partner_logo--text {
    display: inline-block;
    padding: 20px;
    background: #f0f0f0;
    color: #666;
    border-radius: 4px;
    font-weight: 700;
}

/* ---------- 選手カード（v2 上書き） ---------- */
.player-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}
.player-card {
    background: #fff;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 2px 6px rgba(0,0,0,.06);
    text-align: center;
    transition: transform .2s;
}
.player-card:hover { transform: translateY(-4px); }
.player-img-wapper { position: relative; margin-bottom: 12px; }
.player-img img {
    width: 100%;
    height: auto;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 4px;
}
.player-number {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #3A7F4A;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 900;
    padding: 4px 10px;
    border-radius: 4px;
    font-family: 'Permanent Marker', sans-serif;
}
.player-info h2 { font-size: 1rem; margin: 6px 0; }
.player-en { font-size: .8rem; color: #999; }
.player-previous { font-size: .75rem; color: #666; margin-top: 6px; }

/* ========================================================
 * v2.2 追加スタイル
 *   - ファーストビュー右カラムのタブ
 *   - TOPICSに投稿日を追加
 *   - Staffの強弱を強化（元テーマの<p>構造は尊重）
 * ======================================================== */

/* ---------- hero-matches のタブ ---------- */
.hero-matches__tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
}
.hero-matches__tabs::-webkit-scrollbar { height: 3px; }
.hero-matches__tabs::-webkit-scrollbar-thumb { background: #ccc; border-radius: 2px; }
.hero-matches__tab {
    flex-shrink: 0;
    background: transparent;
    border: 1px solid #ddd;
    padding: 4px 12px;
    font-size: .72rem;
    font-weight: 700;
    color: #666;
    cursor: pointer;
    border-radius: 999px;
    transition: all .2s;
    letter-spacing: .04em;
    line-height: 1.2;
}
.hero-matches__tab:hover {
    color: #3A7F4A;
    border-color: #3A7F4A;
}
.hero-matches__tab.is-active {
    background: #3A7F4A;
    color: #fff;
    border-color: #3A7F4A;
}
.hero-matches__empty--filtered {
    padding: 20px;
    color: #999;
    text-align: center;
    font-size: .85rem;
}
@media (max-width: 900px) {
    .hero-matches__tabs { margin-bottom: 6px; }
}

/* ---------- TOPICS 投稿日 ---------- */
/* TOPICS meta ブロック: 元テーマの .topics-title / .topics-excerpt と同じ 10px の左右余白を揃える */
.topics-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 10px 6px;   /* ← 元CSSの他要素と左端を揃える */
    flex-wrap: wrap;
}
.topics-date {
    font-size: .85rem;
    font-weight: 700;
    color: #3A7F4A;
    letter-spacing: .04em;
    font-family: 'Permanent Marker', sans-serif;
}
/* 元テーマの .topics-category (margin: 10px) を .topics-meta 内では無効化 */
.topics-meta .topics-category {
    display: inline-flex;
    gap: 4px;
    margin: 0;
    font-size: inherit;
    color: inherit;
}
.topics-meta .topics-category span {
    display: inline-block;
    padding: 2px 8px;
    background: #f0f0f0;
    color: #666;
    font-size: .7rem;
    border-radius: 3px;
    font-weight: 700;
}



/* ========================================================
 * v2.3.3 追加: パートナー横並び + 白背景 + 高さ統一
 * ========================================================
 * 元CSSの .partner_logos (display:flex) と .partner_logo (height:70px) を
 * 活かしつつ、各ロゴを白背景ボックスで包んで統一感を出す。
 * これにより透過PNG/JPG混在でも背景色が揃う。
 */

/* パートナー全体コンテナを中央寄せ + 横並び最適化 */
.partner_logos {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 各ロゴを白背景ボックスで包む */
.partner_logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 20px 28px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,.06);
    height: 110px;              /* 白背景ボックスの高さ統一 */
    min-width: 180px;           /* 最小幅で見た目のバランス */
    box-sizing: border-box;
    transition: transform .2s, box-shadow .2s;
}
.partner_logo-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.partner_logo-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* ロゴ画像は白背景ボックス内でアスペクト比維持しつつ収まる */
.partner_logo-item .partner_logo {
    max-width: 100%;
    max-height: 70px;           /* 元CSSの70pxを踏襲 */
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* SP */
@media (max-width: 768px) {
    .partner_logos {
        gap: 12px;
        padding: 12px;
    }
    .partner_logo-item {
        height: 90px;
        min-width: 140px;
        padding: 14px 20px;
        flex: 1 1 calc(50% - 12px);   /* 2列 */
        max-width: calc(50% - 12px);
    }
    .partner_logo-item .partner_logo {
        max-height: 56px;
    }
}

/* ========================================================
 * v2.4.0 追加: Staff 画像アスペクト比の完全固定
 * ========================================================
 * DevToolsで確認したところ、元CSS `#staff .slick-slide img { height:450px }`
 * だけでは width が明示されず、Slick が .coach-photo (幅50%=700px前後) の中で
 * img を強制的に700pxまで引き伸ばしていた。
 *
 * 対策: img に width: auto を明示 + .coach-photo は写真の実サイズに合わせる
 *      + PC でレスポンシブに高さ400-500px、SP は自動縮小
 */

/* コーチ画像は必ずアスペクト比を保つ（!important で Slick / インラインstyle を撃退） */
#staff .slick-slide img,
.coach-slider .slick-slide img,
.coach-photo img {
    width: auto !important;
    max-width: 100% !important;
    height: 450px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
    border-radius: 10px;
}

/* .coach-slide 全体を中央寄せ + 画像とテキストの間に余白 */
.coach-slider .slick-list .coach-slide {
    justify-content: center;
    gap: 60px;                    /* 画像と情報の間の余白 */
    padding: 0 40px;              /* 左右の余白（矢印に重ならないよう） */
}

/* .coach-photo は幅を「画像に合わせる」形にして、伸縮させない */
.coach-slider .slick-list .coach-slide .coach-photo {
    width: auto;
    flex: 0 0 auto;
    max-width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* .coach-info も内容分の幅に収めて中央寄せを保つ */
.coach-slider .slick-list .coach-slide .coach-info {
    flex: 0 1 auto;               /* 内容に合わせ、幅いっぱいに伸ばさない */
    width: auto;
    max-width: 500px;             /* あまり幅広すぎないように */
}

/* レスポンシブ: PC小～タブレット */
@media (max-width: 1200px) {
    #staff .slick-slide img,
    .coach-slider .slick-slide img,
    .coach-photo img {
        height: 400px !important;
    }
}

/* タブレット: 余白を少し縮める */
@media (max-width: 1024px) {
    .coach-slider .slick-list .coach-slide {
        gap: 30px;
        padding: 0 30px;
    }
}

/* SP: 縦積み + 高さ自動縮小 */
@media (max-width: 768px) {
    .coach-slider .slick-list .coach-slide {
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
    }
    .coach-slider .slick-list .coach-slide .coach-photo,
    .coach-slider .slick-list .coach-slide .coach-info {
        max-width: 100%;
        width: 100%;
    }
    .coach-slider .slick-list .coach-slide .coach-info {
        text-align: center;
    }
    #staff .slick-slide img,
    .coach-slider .slick-slide img,
    .coach-photo img {
        height: auto !important;
        max-height: 400px !important;
        width: auto !important;
        max-width: 90% !important;
    }
}

/* ========================================================
 * v2.5.0 追加スタイル
 *   - mini-match-card を <a> にした対応（リンクデコレーション除去）
 *   - NO DATA バッジ
 *   - match-card トップ枠線色（unknown 対応）
 *   - 試合詳細ページ (single-match_schedule.php) のスタイル
 * ======================================================== */

/* mini-match-card を <a> にしたので、リンクの下線・色を無効化 */
a.mini-match-card {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
a.mini-match-card:hover {
    background: #f0f0f0;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    transition: all .15s;
}

/* NO DATA バッジ（戦績が「不明」の場合） */
.mini-match-card.nodata {
    border-left-color: #666;
    background: #f5f5f5;
}
.mini-match-card__result.nodata {
    background: #666;
    color: #fff;
}
.match-card.nodata {
    border-top-color: #666;
}
.match-card__result.nodata {
    background: #666;
    color: #fff;
}
.match-card__format--unknown {
    background: #eee;
    color: #666;
}
.match-card__format--official_training {
    background: #e3f2fd;
    color: #1565c0;
}

/* ===== 試合詳細ページ ===== */
.single-match {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}
.match-detail {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    border-top: 6px solid #3A7F4A;
}
.match-detail.win  { border-top-color: #2e7d32; }
.match-detail.lose { border-top-color: #c62828; }
.match-detail.draw { border-top-color: #f9a825; }
.match-detail.schedule { border-top-color: #757575; }
.match-detail.nodata { border-top-color: #666; }

.match-detail__nav a {
    display: inline-block;
    margin-bottom: 16px;
    color: #3A7F4A;
    font-weight: 700;
    text-decoration: none;
    font-size: .9rem;
}
.match-detail__nav a:hover { text-decoration: underline; }

.match-detail__header { text-align: center; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 2px solid #f0f0f0; }
.match-detail__badges {
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 10px;
}
.match-detail__cat {
    background: #3A7F4A;
    color: #fff;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: .75rem;
    font-weight: 700;
}
.match-detail__format {
    background: #f0f0f0;
    color: #666;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: .75rem;
    font-weight: 700;
}
.match-detail__format--training { background: #fff3e0; color: #e65100; }
.match-detail__format--official { background: #e8f5e9; color: #2e7d32; }
.match-detail__format--official_training { background: #e3f2fd; color: #1565c0; }
.match-detail__format--unknown { background: #eee; color: #666; }
.match-detail__result-badge {
    padding: 3px 12px;
    border-radius: 3px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .04em;
}
.match-detail__result-badge.win      { background: #2e7d32; color: #fff; }
.match-detail__result-badge.lose     { background: #c62828; color: #fff; }
.match-detail__result-badge.draw     { background: #f9a825; color: #fff; }
.match-detail__result-badge.schedule { background: #eee; color: #666; }
.match-detail__result-badge.nodata   { background: #666; color: #fff; }

.match-detail__title { font-size: 1.6rem; margin: 8px 0 12px; color: #242424; font-weight: 700; }
.match-detail__meta { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; color: #666; font-size: .95rem; }

.match-detail__scoreboard {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
    padding: 30px 0;
    margin-bottom: 20px;
}
.match-detail__team {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.match-detail__team-label {
    font-size: .8rem;
    color: #999;
    font-weight: 700;
    letter-spacing: .1em;
}
.match-detail__team-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
}
.match-detail__team-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #242424;
    margin: 0;
    line-height: 1.3;
}
a.match-detail__team-name {
    color: #3A7F4A;
    text-decoration: none;
}
a.match-detail__team-name:hover { text-decoration: underline; }

.match-detail__score-central { text-align: center; }
.match-detail__score {
    font-size: 3.5rem;
    font-weight: 900;
    color: #242424;
    margin: 0;
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: 15px;
    justify-content: center;
}
.match-detail__sep { color: #999; font-size: 2rem; }
.match-detail__vs {
    font-size: 2.5rem;
    color: #999;
    font-family: 'Permanent Marker', sans-serif;
    margin: 0;
    line-height: 1;
}
.match-detail__result-text {
    margin-top: 10px;
    font-size: 1rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 4px;
    display: inline-block;
    letter-spacing: .06em;
}
.match-detail__result-text.win      { background: #2e7d32; color: #fff; }
.match-detail__result-text.lose     { background: #c62828; color: #fff; }
.match-detail__result-text.draw     { background: #f9a825; color: #fff; }
.match-detail__result-text.schedule { background: #eee; color: #666; }
.match-detail__result-text.nodata   { background: #666; color: #fff; }

.match-detail__sets {
    margin: 30px 0;
    padding: 20px;
    background: #fafafa;
    border-radius: 8px;
}
.match-detail__sets h2 {
    font-size: 1.1rem;
    margin: 0 0 12px;
    color: #3A7F4A;
    border-bottom: 2px solid #3A7F4A;
    padding-bottom: 8px;
}
.match-detail__sets table { width: 100%; border-collapse: collapse; }
.match-detail__sets th,
.match-detail__sets td { padding: 10px; text-align: center; border-bottom: 1px solid #e0e0e0; }
.match-detail__sets th { background: #f0f0f0; font-weight: 700; color: #242424; }
.match-detail__sets-total td { background: #e8f5e9; border-top: 2px solid #3A7F4A; font-size: 1.1rem; }

.match-detail__comment,
.match-detail__venue,
.match-detail__share {
    margin: 30px 0;
    padding: 20px;
    background: #fafafa;
    border-radius: 8px;
}
.match-detail__comment h2,
.match-detail__venue h2,
.match-detail__share h2 {
    font-size: 1.1rem;
    margin: 0 0 12px;
    color: #3A7F4A;
    border-bottom: 2px solid #3A7F4A;
    padding-bottom: 8px;
}
.match-detail__content { line-height: 1.8; color: #333; }
.match-detail__content img { max-width: 100%; height: auto; border-radius: 6px; margin: 12px 0; }
.match-detail__content .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin: 15px 0; }

.match-detail__venue-name { font-size: 1.05rem; margin: 8px 0; }
.match-detail__venue-address { color: #666; margin: 6px 0; }
.match-detail__venue-access {
    margin-top: 12px;
    padding: 10px;
    background: #fff;
    border-left: 3px solid #3A7F4A;
    line-height: 1.6;
    font-size: .95rem;
}
.match-detail__venue-map {
    margin-top: 15px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.match-detail__venue-map iframe { display: block; border: 0; }

.match-detail__share-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.share-btn {
    display: inline-block;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
    font-size: .85rem;
    transition: opacity .2s;
}
.share-btn:hover { opacity: 0.85; }
.share-btn--twitter { background: #000; }
.share-btn--facebook { background: #1877f2; }
.share-btn--line { background: #06c755; }

/* SP */
@media (max-width: 768px) {
    .match-detail { padding: 20px 16px; }
    .match-detail__title { font-size: 1.3rem; }
    .match-detail__scoreboard { grid-template-columns: 1fr; gap: 20px; }
    .match-detail__team-logo { width: 70px; height: 70px; }
    .match-detail__score { font-size: 2.5rem; }
    .match-detail__vs { font-size: 2rem; }
    .match-detail__sets { padding: 12px; }
    .match-detail__sets th,
    .match-detail__sets td { padding: 6px; font-size: .85rem; }
    .match-detail__share-buttons .share-btn { flex: 1 1 100%; text-align: center; }
}

/* ========================================================
 * v2.5.1 追加: Simple Calendar カード風スタイリング
 *   - グリッドを均一に、余白広く、モダンな見た目に
 *   - イベントのキーワード自動色分け（calendar.js と連携）
 * ======================================================== */

/* カレンダー全体コンテナ（内部はプラグインに任せ、外見のカードスタイルのみ適用） */
#schedule_inner .simcal-calendar,
#schedule_inner .simcal-default-calendar-grid {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    max-width: 1200px;
    margin: 0 auto;
}
/* テーブル自体は全幅に */
#schedule_inner .simcal-calendar table,
#schedule_inner .simcal-default-calendar-grid table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 4px;
}

/* 月ナビゲーションのヘッダー（前月・次月・年月表示） */
/* ヘッダー（年月・前後ナビ）はプラグインのレイアウトを尊重し、テキスト装飾のみ制御する（display:flex はプラグインのDOMと衝突する場合があるため付けない） */
#schedule_inner .simcal-current,
#schedule_inner .simcal-calendar-current {
    font-size: 1.4rem;
    font-weight: 700;
    color: #242424;
    letter-spacing: .04em;
}

/* 曜日ヘッダー（字の色・サイズだけ制御し、レイアウトはプラグインに任せる） */
#schedule_inner .simcal-week-day,
#schedule_inner thead th {
    color: #666;
    font-weight: 700;
    font-size: .85rem;
    text-align: center;
}
/* 日曜=赤系、土曜=青系 */
#schedule_inner thead th:first-child,
#schedule_inner .simcal-week-day-0 {
    color: #d32f2f;
}
#schedule_inner thead th:last-child,
#schedule_inner .simcal-week-day-6 {
    color: #1976d2;
}

/* 日付セル：均一なカード風 */
#schedule_inner .simcal-day,
#schedule_inner .simcal-default-calendar-grid td {
    background: #fafafa !important;
    border: 1px solid #eee !important;
    border-radius: 6px !important;
    padding: 6px 6px 8px !important;
    vertical-align: top !important;
    min-height: 100px !important;
    height: auto !important;
    position: relative;
    transition: all .15s;
    box-shadow: none !important;
}
#schedule_inner .simcal-day:hover,
#schedule_inner .simcal-default-calendar-grid td:hover {
    background: #fff !important;
    border-color: #3A7F4A !important;
    box-shadow: 0 2px 8px rgba(58,127,74,.15) !important;
}

/* 前月・翌月の日付は薄く */
#schedule_inner .simcal-day-void,
#schedule_inner .simcal-day-outbound,
#schedule_inner .simcal-day.simcal-day-void,
#schedule_inner td.simcal-day-void {
    background: #f5f5f5 !important;
    border-color: #eee !important;
    opacity: 0.5;
}

/* 今日 */
#schedule_inner .simcal-day-today,
#schedule_inner .simcal-today {
    background: #e8f5e9 !important;
    border: 2px solid #3A7F4A !important;
    box-shadow: 0 2px 8px rgba(58,127,74,.2) !important;
}

/* 日付番号 */
#schedule_inner .simcal-day-number,
#schedule_inner .simcal-day .day-number,
#schedule_inner .simcal-day-label {
    display: inline-block;
    font-weight: 700;
    font-size: .95rem;
    color: #242424;
    padding: 2px 8px;
    border-radius: 12px;
    margin-bottom: 6px;
    background: transparent !important;
}
#schedule_inner .simcal-day-today .simcal-day-number,
#schedule_inner .simcal-day-today .simcal-day-label {
    background: #3A7F4A !important;
    color: #fff !important;
}

/* 日曜=赤、土曜=青の日付番号 */
#schedule_inner td:first-child .simcal-day-number,
#schedule_inner td:first-child .simcal-day-label {
    color: #d32f2f;
}
#schedule_inner td:last-child .simcal-day-number,
#schedule_inner td:last-child .simcal-day-label {
    color: #1976d2;
}

/* ============= イベント項目 ============= */
#schedule_inner .simcal-event,
#schedule_inner .simcal-events-list-item,
#schedule_inner .simcal-day .simcal-events li {
    display: block;
    padding: 3px 8px;
    margin: 2px 0 !important;
    background: #ccc;
    color: #fff !important;
    border-radius: 3px;
    font-size: .72rem;
    line-height: 1.35;
    font-weight: 600;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(0,0,0,.06);
    transition: all .15s;
}
#schedule_inner .simcal-event:hover,
#schedule_inner .simcal-events-list-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,.12);
}

/* Simple Calendar のイベントリンク */
#schedule_inner a.simcal-event,
#schedule_inner .simcal-event a {
    color: #fff !important;
    text-decoration: none !important;
}

/* イベントのカテゴリー別色分け（calendar.js が付与するクラス） */
.ofc-event--match,
#schedule_inner .ofc-event--match {
    background: linear-gradient(135deg, #e53935 0%, #c62828 100%) !important;
    color: #fff !important;
}
.ofc-event--training,
#schedule_inner .ofc-event--training {
    background: linear-gradient(135deg, #43a047 0%, #2e7d32 100%) !important;
    color: #fff !important;
}
.ofc-event--exam,
#schedule_inner .ofc-event--exam {
    background: linear-gradient(135deg, #fb8c00 0%, #e65100 100%) !important;
    color: #fff !important;
}
.ofc-event--holiday,
#schedule_inner .ofc-event--holiday {
    background: linear-gradient(135deg, #90a4ae 0%, #607d8b 100%) !important;
    color: #fff !important;
}
.ofc-event--school,
#schedule_inner .ofc-event--school {
    background: linear-gradient(135deg, #7b1fa2 0%, #6a1b9a 100%) !important;
    color: #fff !important;
}
.ofc-event--camp,
#schedule_inner .ofc-event--camp {
    background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%) !important;
    color: #fff !important;
}
.ofc-event--meeting,
#schedule_inner .ofc-event--meeting {
    background: linear-gradient(135deg, #8d6e63 0%, #5d4037 100%) !important;
    color: #fff !important;
}
.ofc-event--default,
#schedule_inner .ofc-event--default {
    background: #6b7280 !important;
    color: #fff !important;
}

/* ============= カレンダー凡例 ============= */
.ofc-calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    justify-content: center;
    margin: 16px 0 20px;
    padding: 12px 20px;
    background: #fff;
    border-radius: 8px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.ofc-calendar-legend__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .8rem;
    color: #666;
}
.ofc-calendar-legend__dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 3px;
}
.ofc-calendar-legend__dot--match    { background: linear-gradient(135deg, #e53935, #c62828); }
.ofc-calendar-legend__dot--training { background: linear-gradient(135deg, #43a047, #2e7d32); }
.ofc-calendar-legend__dot--exam     { background: linear-gradient(135deg, #fb8c00, #e65100); }
.ofc-calendar-legend__dot--holiday  { background: linear-gradient(135deg, #90a4ae, #607d8b); }
.ofc-calendar-legend__dot--school   { background: linear-gradient(135deg, #7b1fa2, #6a1b9a); }
.ofc-calendar-legend__dot--camp     { background: linear-gradient(135deg, #1e88e5, #1565c0); }

/* SP */
@media (max-width: 768px) {
    #schedule_inner .simcal-calendar,
    #schedule_inner .simcal-default-calendar-grid {
        padding: 10px;
    }
    #schedule_inner .simcal-day,
    #schedule_inner .simcal-default-calendar-grid td {
        min-height: 60px !important;
        padding: 3px !important;
    }
    #schedule_inner .simcal-day-number,
    #schedule_inner .simcal-day-label {
        font-size: .8rem;
        padding: 1px 6px;
    }
    #schedule_inner .simcal-event,
    #schedule_inner .simcal-events-list-item {
        font-size: .62rem;
        padding: 2px 4px;
    }
    #schedule_inner .simcal-current,
    #schedule_inner .simcal-calendar-current {
        font-size: 1.1rem;
    }
    .ofc-calendar-legend {
        gap: 6px 10px;
        padding: 8px 12px;
    }
    .ofc-calendar-legend__item {
        font-size: .7rem;
    }
}

/* v2.5.2: 非表示にしたいカテゴリー用（テスト・学校行事など） */
.ofc-event--hidden,
#schedule_inner .ofc-event--hidden {
    display: none !important;
}

/* ========================================================
 * v2.5.3 追加: スケジュール専用ページ (page-schedule.php)
 *   - サイドバー無しのフル幅レイアウト
 *   - フロントページと同じカレンダーデザインを継承
 * ======================================================== */

/* サイドバー無しのフル幅コンテンツ */
.content-area--full {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}
.content-area--full .site-main {
    width: 100%;
    max-width: 100%;
}

/* スケジュールページのヘッダー（緑背景バナー） */
.schedule-page__header {
    background: linear-gradient(135deg, #3A7F4A 0%, #2e6b3c 100%);
    color: #fff;
    padding: 60px 20px;
    text-align: center;
    margin: 0 0 30px;
}
.schedule-page__header .page-title {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: .04em;
}

/* スケジュールページのコンテンツ */
.schedule-page__content {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px 60px;
    display: block;    /* 元CSSの display: flex を無効化 */
}

/* 元CSS .page-content { display: flex } を打ち消してフル幅に */
.schedule-page .page-content {
    display: block !important;
}

/* 導入文（あれば） */
.schedule-page__intro {
    max-width: 1200px;
    margin: 0 auto 24px;
    padding: 16px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,.04);
    line-height: 1.8;
    color: #333;
}

/* カレンダーセクション本体（フロントページと同じスタイルを引き継ぐので追加は最小限） */
.schedule-page__calendar {
    margin-top: 20px;
}
.schedule-page__calendar #schedule_inner {
    padding: 0;
    background: transparent;
}

@media (max-width: 768px) {
    .schedule-page__header {
        padding: 40px 16px;
    }
    .schedule-page__header .page-title {
        font-size: 1.5rem;
    }
    .schedule-page__content {
        padding: 0 12px 40px;
    }
}

/* ========================================================
 * v2.5.4 追加: 新着情報・アーカイブ・カテゴリー・検索ページのデザイン刷新
 *   - 緑グラデーションのバナーヘッダー
 *   - カード全体クリック可能・ホバーで浮き上がり
 *   - グリーンデザインのページネーション
 *   - サイドバーのブラッシュアップ
 * ======================================================== */

/* ===== バナーヘッダー ===== */
.archive-hero {
    background: linear-gradient(135deg, #3A7F4A 0%, #2e6b3c 100%);
    color: #fff;
    padding: 60px 20px;
    text-align: center;
    margin: 0 0 40px;
}
.archive-hero__inner {
    max-width: 1200px;
    margin: 0 auto;
}
.archive-hero__title {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: .04em;
}
.archive-hero__title span {
    color: #fff9c4;   /* 検索キーワードのハイライト */
    font-weight: 900;
}
.archive-hero__desc {
    color: rgba(255,255,255,.9);
    margin-top: 10px;
    font-size: 1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ===== 全体レイアウト（メイン + サイドバー） ===== */
.archive-layout {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px 60px;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 40px;
    align-items: start;
}
@media (max-width: 900px) {
    .archive-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* 検索結果件数 */
.archive-count {
    color: #666;
    font-size: .95rem;
    margin: 0 0 20px;
    padding: 8px 14px;
    background: #f5f5f5;
    border-left: 3px solid #3A7F4A;
    border-radius: 4px;
}

/* 該当なし */
.archive-empty {
    background: #fafafa;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    color: #666;
}
.archive-empty p { margin: 8px 0; }
.archive-empty__search { max-width: 400px; margin: 20px auto 0; }

/* ===== ニュースカード（archive/search/index） ===== */
.archive-posts--grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

a.news-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    transition: transform .25s ease, box-shadow .25s ease;
}
a.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
}
.news-card__article {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.news-card__thumbnail {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f0f0f0;
}
.news-card__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}
a.news-card:hover .news-card__thumbnail img {
    transform: scale(1.05);
}
.news-card__body {
    padding: 16px 18px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.news-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.news-card__date {
    font-size: .85rem;
    font-weight: 700;
    color: #3A7F4A;
    letter-spacing: .04em;
    font-family: 'Permanent Marker', sans-serif;
}
.news-card__cat {
    display: inline-block;
    padding: 2px 10px;
    background: #f0f0f0;
    color: #666;
    font-size: .7rem;
    border-radius: 3px;
    font-weight: 700;
}
.news-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #242424;
    line-height: 1.5;
    margin: 4px 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card__excerpt {
    font-size: .85rem;
    color: #666;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.news-card__excerpt p { margin: 0; }
.news-card__more {
    margin-top: 10px;
    color: #3A7F4A;
    font-size: .85rem;
    font-weight: 700;
    transition: gap .2s;
}
a.news-card:hover .news-card__more {
    color: #2e6b3c;
    text-decoration: underline;
}

/* ===== ページネーション（グリーンデザイン） ===== */
.ofc-pagination {
    margin: 50px 0 20px;
    text-align: center;
}
.ofc-pagination .page-numbers {
    display: inline-flex !important;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}
.ofc-pagination li { display: inline-block; }
.ofc-pagination a,
.ofc-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    background: #fff;
    color: #3A7F4A;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.ofc-pagination a:hover {
    background: #3A7F4A;
    color: #fff;
    border-color: #3A7F4A;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(58,127,74,.25);
}
.ofc-pagination .current {
    background: #3A7F4A !important;
    color: #fff !important;
    border-color: #3A7F4A !important;
    box-shadow: 0 2px 6px rgba(58,127,74,.25);
}
.ofc-pagination .dots {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: #999;
}

/* ===== サイドバーのブラッシュアップ ===== */
.archive-sidebar {
    position: sticky;
    top: 20px;
}
.archive-sidebar .widget-area {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.archive-sidebar .widget {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.archive-sidebar .widget-title {
    font-size: 1rem;
    font-weight: 700;
    color: #242424;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3A7F4A;
    letter-spacing: .04em;
}

/* 並び替えトグル */
.widget-sort-toggle {
    display: flex;
    gap: 4px;
    background: #f5f5f5;
    padding: 4px;
    border-radius: 6px;
}
.widget-sort-btn {
    flex: 1;
    padding: 8px 12px;
    background: transparent;
    color: #666;
    border: none;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 700;
    transition: all .2s;
}
.widget-sort-btn:hover {
    background: rgba(58,127,74,.1);
    color: #3A7F4A;
}
.widget-sort-btn.is-active {
    background: #3A7F4A;
    color: #fff;
    box-shadow: 0 2px 4px rgba(58,127,74,.2);
}

/* 検索フォーム（サイドバー内） */
.archive-sidebar .search-form {
    display: flex;
    gap: 6px;
}
.archive-sidebar .search-form label {
    flex: 1;
}
.archive-sidebar .search-field {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: .9rem;
    box-sizing: border-box;
}
.archive-sidebar .search-field:focus {
    outline: none;
    border-color: #3A7F4A;
    box-shadow: 0 0 0 2px rgba(58,127,74,.15);
}
.archive-sidebar .search-submit {
    padding: 8px 16px;
    background: #3A7F4A;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: .85rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
}
.archive-sidebar .search-submit:hover {
    background: #2e6b3c;
}

/* カテゴリー・月別リスト */
.widget-cat-list,
.widget-archive-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.widget-cat-list li,
.widget-archive-list li {
    padding: 0;
}
.widget-cat-list a,
.widget-archive-list a {
    display: block;
    padding: 8px 12px;
    color: #444;
    text-decoration: none;
    border-radius: 4px;
    font-size: .9rem;
    transition: all .15s;
    position: relative;
}
.widget-cat-list a:hover,
.widget-archive-list a:hover {
    background: rgba(58,127,74,.08);
    color: #3A7F4A;
    padding-left: 16px;
}
.widget-cat-list li.current-cat > a {
    background: rgba(58,127,74,.12);
    color: #3A7F4A;
    font-weight: 700;
}
/* 記事数のカウント表示（デフォルトの (n) 表記を綺麗に） */
.widget-cat-list a::after,
.widget-archive-list a::after {
    /* 記事数はテキストとしてそのまま含まれるのでスタイル調整のみ */
}

/* 子カテゴリー */
.widget-cat-list .children {
    list-style: none;
    padding-left: 16px;
    margin-top: 4px;
    border-left: 2px solid #eee;
}
.widget-cat-list .children a {
    font-size: .85rem;
    color: #666;
    padding: 6px 10px;
}

/* タグクラウド */
.widget-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.widget-tag-cloud a {
    display: inline-block;
    padding: 4px 10px;
    background: #f0f0f0;
    color: #666;
    border-radius: 999px;
    text-decoration: none;
    font-size: .8rem !important;
    transition: all .15s;
}
.widget-tag-cloud a:hover {
    background: #3A7F4A;
    color: #fff;
}

/* SP */
@media (max-width: 900px) {
    .archive-sidebar {
        position: static;
    }
}
@media (max-width: 768px) {
    .archive-hero {
        padding: 40px 16px;
        margin-bottom: 30px;
    }
    .archive-hero__title { font-size: 1.5rem; }
    .archive-layout { padding: 0 16px 40px; }
    .archive-posts--grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 16px;
    }
    .news-card__body { padding: 12px 14px 16px; }
    .news-card__title { font-size: .95rem; }
    .ofc-pagination a,
    .ofc-pagination span {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: .85rem;
    }
}

/* =========================================================
 * v2.5.5 追加: 新着情報カード & サイドバー 余白バグ修正
 * ========================================================= */

/* --- サイドバー: 既存の .archive-sidebar #secondary .widget h2 の
   padding:50px 0 16px を無効化。widget-title のスタイルを優先 --- */
.archive-sidebar #secondary .widget h2,
.archive-sidebar #secondary .widget .widget-title {
    margin: 0 0 14px !important;
    padding: 0 0 10px !important;
    border-bottom: 2px solid #3A7F4A !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #242424 !important;
    letter-spacing: .04em !important;
}
.archive-sidebar #secondary .widget:first-child h2 {
    padding-top: 0 !important;
}

/* --- 新着カード: 既存の .entry-header / .entry-summary の
   左右20pxマージンをカード内でリセット --- */
.news-card .entry-header,
.news-card .entry-summary,
.news-card__article .entry-header,
.news-card__article .entry-summary {
    margin: 0 !important;
    padding: 0 !important;
}

/* --- 新着カード: サムネイル下と本文の間の余分な余白を除去 --- */
.news-card__thumbnail {
    margin: 0 !important;
    padding: 0 !important;
    display: block;
    line-height: 0; /* 画像下の baseline 隙間を除去 */
}
.news-card__thumbnail img {
    margin: 0 !important;
    padding: 0 !important;
    vertical-align: top;
}
.news-card__body {
    margin: 0 !important;
    padding: 16px 18px 20px !important;
}
.news-card__article {
    margin: 0 !important;
    padding: 0 !important;
}
.news-card__meta {
    margin: 0 0 8px !important;
}
.news-card__title {
    margin: 0 0 8px !important;
    padding: 0 !important;
}
.news-card__excerpt {
    margin: 0 0 10px !important;
    padding: 0 !important;
}
.news-card__excerpt p {
    margin: 0 !important;
    padding: 0 !important;
}
.news-card__more {
    margin-top: auto !important;
    padding: 0 !important;
}

/* --- .post-thumbnail の既存 margin-bottom:10px を打ち消す --- */
.news-card .post-thumbnail,
.news-card__article .post-thumbnail {
    margin: 0 !important;
    padding: 0 !important;
}

/* --- 検索フォーム内の余白調整 --- */
.widget--search .search-form {
    display: flex;
    gap: 6px;
    margin: 0;
    padding: 0;
}
.widget--search .search-form label {
    flex: 1;
    margin: 0;
}
.widget--search .search-form input[type="search"],
.widget--search .search-form .search-field {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: .85rem;
    box-sizing: border-box;
}
.widget--search .search-form input[type="submit"],
.widget--search .search-form .search-submit {
    padding: 8px 14px;
    background: #3A7F4A;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    font-size: .85rem;
    white-space: nowrap;
}
.widget--search .search-form input[type="submit"]:hover,
.widget--search .search-form .search-submit:hover {
    background: #2e6b3c;
}

/* --- カテゴリー・アーカイブリストの余白 --- */
.archive-sidebar #secondary .widget ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.archive-sidebar #secondary .widget ul li {
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
    list-style: none;
}
.archive-sidebar #secondary .widget ul li:last-child {
    border-bottom: none;
}
.archive-sidebar #secondary .widget ul li a {
    color: #444;
    text-decoration: none;
    font-size: .9rem;
    transition: color .2s;
}
.archive-sidebar #secondary .widget ul li a:hover {
    color: #3A7F4A;
}
.archive-sidebar #secondary .widget ul li ul {
    padding-left: 14px;
    margin-top: 4px;
    border-top: 1px solid #f0f0f0;
    padding-top: 4px;
}

/* =========================================================
 * v2.5.6 追加: archive-posts--grid の古いCSS干渉を無効化
 * ========================================================= */

/* 既存の .archive-posts article { width:48% } 等を打ち消し */
.archive-posts--grid,
.archive-posts--grid .news-card,
.archive-posts--grid article,
.archive-posts--grid .news-card__article {
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
}

/* news-card 自身の背景・角丸を戻す */
.archive-posts--grid a.news-card {
    background: #fff !important;
    border-radius: 10px !important;
    overflow: hidden !important;
}

/* nth-child(odd)/(even) の margin-right/left も無効化 */
.archive-posts--grid article:nth-child(odd),
.archive-posts--grid article:nth-child(even) {
    margin: 0 !important;
}

/* .archive-main が既存で flex + gap + padding: 0 20px になっているのを archive-layout 内では解除 */
.archive-layout .archive-main {
    display: block !important;
    padding: 0 !important;
    gap: 0 !important;
    flex: none !important;
    width: auto !important;
}

/* .archive-posts の flex 設定を打ち消し（grid を優先） */
.archive-main .archive-posts--grid {
    display: grid !important;
    flex-wrap: initial !important;
}

/* card 内画像の角丸を再設定（archive-posts article a img の border-radius:20px 20px 0 0 を打ち消し） */
.news-card__thumbnail img,
.archive-posts--grid .news-card__thumbnail img {
    border-radius: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

/* =========================================================
 * v2.5.7 追加: カテゴリー・月別アーカイブの件数を横並びに
 * ========================================================= */

/* li を横並び flex にして、a とカウントテキストを同じ行に配置 */
.widget-cat-list li,
.widget-archive-list li {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    padding: 4px 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
    list-style: none !important;
}
.widget-cat-list li:last-child,
.widget-archive-list li:last-child {
    border-bottom: none !important;
}

/* a はボタン風のまま、幅を必要分だけに */
.widget-cat-list li > a,
.widget-archive-list li > a {
    display: inline-block !important;
    flex: 1 1 auto !important;
    padding: 8px 12px !important;
    margin: 0 !important;
    color: #444 !important;
    text-decoration: none !important;
    border-radius: 4px !important;
    font-size: .9rem !important;
    background: transparent !important;
    border: 1px solid #e5e5e5 !important;
    text-align: center !important;
    transition: all .15s !important;
}
.widget-cat-list li > a:hover,
.widget-archive-list li > a:hover {
    background: #3A7F4A !important;
    color: #fff !important;
    border-color: #3A7F4A !important;
    padding-left: 12px !important; /* hover 時に padding-left を増やさない（元CSS打ち消し） */
}

/* カウントテキスト (9) を右側に */
.widget-cat-list li,
.widget-archive-list li {
    font-size: .8rem !important;
    color: #999 !important;
    font-weight: 700 !important;
}

/* 子カテゴリーのリスト（.children）は独立ブロック配置 */
.widget-cat-list .children {
    flex: 1 0 100% !important;
    margin-top: 6px !important;
    padding-left: 14px !important;
    border-left: 2px solid #f0f0f0 !important;
    list-style: none !important;
}
.widget-cat-list .children li {
    border-bottom: 1px dashed #f5f5f5 !important;
    padding: 2px 0 !important;
}
.widget-cat-list .children li:last-child {
    border-bottom: none !important;
}
.widget-cat-list .children li > a {
    font-size: .82rem !important;
    padding: 5px 10px !important;
}

/* 現在ページのハイライト */
.widget-cat-list li.current-cat > a {
    background: rgba(58,127,74,.12) !important;
    color: #3A7F4A !important;
    border-color: #3A7F4A !important;
    font-weight: 700 !important;
}

/* =========================================================
 * v2.5.7 追記: 新HTML構造 (a内に cat-name + cat-count) 用スタイル
 * ========================================================= */

/* リスト全体リセット */
.widget-cat-list,
.widget-archive-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

/* li は縦積み・区切り線なし（a がボタン風になる） */
.widget-cat-list li,
.widget-archive-list li {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    border-bottom: none !important;
    list-style: none !important;
    background: transparent !important;
}

/* a はボタン枠。中に cat-name + cat-count を横並びで入れる */
.widget-cat-list li > a,
.widget-archive-list li > a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding: 8px 14px !important;
    margin: 0 !important;
    color: #444 !important;
    text-decoration: none !important;
    background: #fff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 6px !important;
    font-size: .9rem !important;
    line-height: 1.3 !important;
    transition: all .15s ease !important;
    text-align: left !important;
}

/* カテゴリー/月 名 */
.widget-cat-list .cat-name,
.widget-archive-list .cat-name {
    flex: 1 1 auto;
    color: inherit;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* カウント (n) */
.widget-cat-list .cat-count,
.widget-archive-list .cat-count {
    flex: 0 0 auto;
    font-size: .78rem;
    color: #999;
    font-weight: 700;
    letter-spacing: .02em;
}

/* ホバー */
.widget-cat-list li > a:hover,
.widget-archive-list li > a:hover {
    background: #3A7F4A !important;
    color: #fff !important;
    border-color: #3A7F4A !important;
    padding-left: 14px !important;
    transform: translateX(2px);
}
.widget-cat-list li > a:hover .cat-count,
.widget-archive-list li > a:hover .cat-count {
    color: rgba(255,255,255,.9);
}

/* 現在ページ */
.widget-cat-list li.current-cat > a {
    background: rgba(58,127,74,.10) !important;
    color: #3A7F4A !important;
    border-color: #3A7F4A !important;
    font-weight: 700 !important;
}
.widget-cat-list li.current-cat > a .cat-count {
    color: #3A7F4A;
}

/* 子カテゴリー */
.widget-cat-list .cat-item--child > a {
    background: #f9f9f9 !important;
    font-size: .85rem !important;
    padding: 6px 14px 6px 20px !important;
}

/* 空 */
.widget-cat-list .cat-item--empty,
.widget-archive-list .cat-item--empty {
    padding: 12px !important;
    color: #999 !important;
    font-size: .85rem !important;
    text-align: center !important;
    background: #f9f9f9 !important;
    border-radius: 6px !important;
}

/* =========================================================
 * v2.5.8 追加: 選手一覧ページ (archive-player.php) 専用スタイル
 * ========================================================= */

/* U-13/U-14/U-15 切替タブ */
.player-tabs-wrap {
    max-width: 1200px;
    margin: 30px auto 20px;
    padding: 0 20px;
}
.player-tabs {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    background: #fff;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.player-tabs__btn {
    padding: 12px 32px;
    background: transparent;
    color: #666;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: .04em;
    transition: all .2s ease;
    cursor: pointer;
    min-width: 100px;
    text-align: center;
}
.player-tabs__btn:hover {
    background: rgba(58,127,74,.08);
    color: #3A7F4A;
}
.player-tabs__btn.is-active {
    background: #3A7F4A;
    color: #fff;
    box-shadow: 0 2px 6px rgba(58,127,74,.3);
}

/* 選手グリッド */
.player-archive-container {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}
.player-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

/* 選手カード */
.player-card {
    position: relative;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    transition: transform .25s ease, box-shadow .25s ease;
}
.player-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
}

/* チームバッジ（U-13 等） */
.player-card__team-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: #3A7F4A;
    color: #fff;
    padding: 4px 10px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .05em;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,.15);
}

/* サムネイル（正方形にトリミング） */
.player-card__thumbnail {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f5f5f5;
    line-height: 0;
}
.player-card__thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    max-width: none !important;
}
.player-card:hover .player-card__thumbnail img {
    transform: scale(1.05);
}

/* カード本文 */
.player-card__body {
    padding: 16px 18px 20px;
    text-align: center;
    position: relative;
}

/* 背番号 */
.player-card__number {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    background: #f8f8f8;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
    font-family: 'Permanent Marker', sans-serif;
}
.player-card__number-label {
    font-size: .7rem;
    color: #999;
    font-weight: 700;
}
.player-card__number-value {
    font-size: 1.1rem;
    color: #3A7F4A;
    font-weight: 900;
}

/* 選手名 */
.player-card__name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #242424;
    margin: 0 0 4px !important;
    padding: 0 !important;
    line-height: 1.3;
    letter-spacing: .02em;
}

/* アルファベット表記 */
.player-card__name-en {
    font-size: .75rem;
    color: #999;
    font-weight: 500;
    letter-spacing: .1em;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-family: 'Permanent Marker', 'Noto Sans JP', sans-serif;
}

/* 出身チーム */
.player-card__previous {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}
.player-card__previous-label {
    font-size: .65rem;
    color: #999;
    font-weight: 700;
    letter-spacing: .1em;
}
.player-card__previous-value {
    font-size: .85rem;
    color: #444;
    font-weight: 500;
    line-height: 1.3;
}

/* レスポンシブ: タブレット */
@media (max-width: 900px) {
    .player-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 16px;
    }
    .player-tabs__btn {
        padding: 10px 20px;
        min-width: 70px;
        font-size: .9rem;
    }
}

/* レスポンシブ: スマホ */
@media (max-width: 600px) {
    .player-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .player-tabs {
        padding: 6px;
    }
    .player-tabs__btn {
        padding: 8px 12px;
        min-width: 60px;
        font-size: .85rem;
    }
    .player-card__body {
        padding: 12px 10px 14px;
    }
    .player-card__name {
        font-size: 1rem;
    }
    .player-card__name-en {
        font-size: .68rem;
    }
    .player-card__previous-value {
        font-size: .78rem;
    }
}

/* =========================================================
 * v2.5.9 追加: スタッフ一覧 (archive-coach.php)
 * ========================================================= */

.coach-archive-container {
    max-width: 1200px;
    margin: 40px auto 60px;
    padding: 0 20px;
}
.coach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.coach-card {
    position: relative;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
    transition: transform .25s ease, box-shadow .25s ease;
}
.coach-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,.12);
}

.coach-card__position-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: #3A7F4A;
    color: #fff;
    padding: 6px 14px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .05em;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,.2);
}

.coach-card__thumbnail {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f5f5f5;
    line-height: 0;
}
.coach-card__thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    max-width: none !important;
    transition: transform .3s ease;
}
.coach-card:hover .coach-card__thumbnail img {
    transform: scale(1.05);
}

.coach-card__body {
    padding: 20px 22px 24px;
}
.coach-card__name {
    font-size: 1.35rem;
    font-weight: 700;
    color: #242424;
    margin: 0 0 4px !important;
    padding: 0 !important;
    line-height: 1.3;
    letter-spacing: .02em;
}
.coach-card__name-en {
    font-size: .78rem;
    color: #999;
    font-weight: 500;
    letter-spacing: .1em;
    margin-bottom: 14px;
    text-transform: uppercase;
    font-family: 'Permanent Marker', 'Noto Sans JP', sans-serif;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}
.coach-card__row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 12px;
}
.coach-card__row-label {
    font-size: .68rem;
    color: #3A7F4A;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.coach-card__row-value {
    font-size: .88rem;
    color: #444;
    line-height: 1.5;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .coach-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }
    .coach-card__name { font-size: 1.2rem; }
}
@media (max-width: 480px) {
    .coach-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* =========================================================
 * v2.5.9 追加: 試合結果一覧 (archive-match_schedule.php)
 * ========================================================= */

.match-tabs-wrap {
    max-width: 1200px;
    margin: 30px auto 20px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

/* メイン: U-13/U-14/U-15 タブ（アーカイブページ限定にスコープ） */
.match-tabs-wrap .match-tabs {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    background: #fff;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
}
.match-tabs-wrap .match-tabs__btn {
    flex: 1;
    padding: 12px 24px;
    background: transparent;
    color: #666;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: .04em;
    transition: all .2s ease;
    text-align: center;
    min-width: 80px;
    font-family: inherit;
}
.match-tabs-wrap .match-tabs__btn:hover {
    background: rgba(58,127,74,.08);
    color: #3A7F4A;
}
.match-tabs-wrap .match-tabs__btn.is-active {
    background: #3A7F4A;
    color: #fff;
    box-shadow: 0 2px 6px rgba(58,127,74,.3);
}
.match-tabs-wrap .match-tabs__btn.is-active::after {
    display: none; /* フロントページの下線を無効化 */
}

/* サブ: 全て/結果/予定 */
.match-status-tabs {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
}
.match-status-tabs__btn {
    padding: 6px 18px;
    background: #fff;
    color: #666;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: .04em;
    transition: all .15s;
}
.match-status-tabs__btn:hover {
    border-color: #3A7F4A;
    color: #3A7F4A;
}
.match-status-tabs__btn.is-active {
    background: #3A7F4A;
    color: #fff;
    border-color: #3A7F4A;
}

/* 試合カードグリッド */
.match-archive-container {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}
.match-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
}

/* 試合カード */
a.match-card {
    display: block;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    text-decoration: none;
    color: inherit;
    border-top: 5px solid #999;
    transition: transform .25s ease, box-shadow .25s ease;
}
a.match-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,.14);
}
.match-card--win      { border-top-color: #2e7d32; }
.match-card--lose     { border-top-color: #c62828; }
.match-card--draw     { border-top-color: #f9a825; }
.match-card--schedule { border-top-color: #757575; }
.match-card--nodata   { border-top-color: #bdbdbd; }

/* ヘッダー */
.match-card__header {
    padding: 12px 16px 8px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    border-bottom: 1px solid #f0f0f0;
}
.match-card__date-block {
    display: flex;
    align-items: baseline;
    gap: 4px;
}
.match-card__date {
    font-size: 1rem;
    font-weight: 700;
    color: #242424;
    font-family: 'Permanent Marker', sans-serif;
    letter-spacing: .04em;
}
.match-card__dow {
    font-size: .78rem;
    color: #999;
    font-weight: 700;
}
.match-card__badges {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.match-card__team-badge {
    background: #3A7F4A;
    color: #fff;
    padding: 3px 8px;
    font-size: .68rem;
    font-weight: 700;
    border-radius: 3px;
    letter-spacing: .04em;
}
.match-card__format-badge {
    padding: 3px 8px;
    font-size: .66rem;
    font-weight: 700;
    border-radius: 3px;
    background: #eee;
    color: #666;
    letter-spacing: .04em;
}
.match-card__format-badge--training { background: #fef3e2; color: #d97706; }
.match-card__format-badge--both     { background: #e0e7ff; color: #4338ca; }
.match-card__format-badge--unknown  { background: #f5f5f5; color: #999; }

/* 大会名 */
.match-card__competition {
    padding: 8px 16px 0;
    font-size: .78rem;
    color: #666;
    font-weight: 500;
    text-align: center;
    line-height: 1.4;
}

/* スコアボード */
.match-card__scoreboard {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 8px;
    align-items: center;
    padding: 16px 12px;
}
.match-card__team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    min-width: 0;
}
.match-card__team-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #f0f0f0;
    padding: 3px;
}
.match-card__team-logo--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    color: #999;
    font-weight: 900;
    font-size: 1.2rem;
    border: none;
    padding: 0;
}
.match-card__team-name {
    font-size: .78rem;
    color: #242424;
    font-weight: 700;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    padding: 0 4px;
}

/* スコア */
.match-card__score-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 80px;
}
.match-card__score {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-family: 'Permanent Marker', sans-serif;
}
.match-card__score-num {
    font-size: 2rem;
    font-weight: 900;
    color: #242424;
    line-height: 1;
}
.match-card__score-sep {
    font-size: 1.2rem;
    color: #999;
}
.match-card__score-vs {
    font-size: 1.4rem;
    font-weight: 900;
    color: #999;
    font-family: 'Permanent Marker', sans-serif;
    letter-spacing: .1em;
}
.match-card__result-label {
    font-size: .68rem;
    font-weight: 900;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: #eee;
    color: #666;
}
.match-card--win .match-card__result-label    { background: #2e7d32; color: #fff; }
.match-card--lose .match-card__result-label   { background: #c62828; color: #fff; }
.match-card--draw .match-card__result-label   { background: #f9a825; color: #fff; }
.match-card--nodata .match-card__result-label { background: #bdbdbd; color: #fff; }

/* フッター */
.match-card__footer {
    padding: 10px 16px;
    background: #fafafa;
    border-top: 1px solid #f0f0f0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: .75rem;
    color: #666;
}
.match-card__venue,
.match-card__kickoff {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* レスポンシブ */
@media (max-width: 600px) {
    .match-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .match-card__team-logo { width: 40px; height: 40px; }
    .match-card__team-name { font-size: .72rem; }
    .match-card__score-num { font-size: 1.7rem; }
    .match-card__score-vs { font-size: 1.2rem; }
    .match-tabs-wrap .match-tabs__btn {
        padding: 10px 16px;
        min-width: 60px;
        font-size: .9rem;
    }
}

/* =========================================================
 * v2.5.10 追加: スタッフ一覧 4列固定 + 画像小さく
 * ========================================================= */

/* PC: 4列固定 */
.coach-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
}

/* サムネイル: 1:1 正方形（縦長→正方形にして小さく） */
.coach-card__thumbnail {
    aspect-ratio: 1 / 1 !important;
}

/* カード全体の縮小 */
.coach-card__body {
    padding: 14px 16px 18px !important;
}
.coach-card__position-badge {
    top: 8px !important;
    left: 8px !important;
    padding: 4px 10px !important;
    font-size: .68rem !important;
}
.coach-card__name {
    font-size: 1.1rem !important;
}
.coach-card__name-en {
    font-size: .7rem !important;
    margin-bottom: 10px !important;
    padding-bottom: 10px !important;
}
.coach-card__row {
    margin-top: 8px !important;
}
.coach-card__row-label {
    font-size: .62rem !important;
}
.coach-card__row-value {
    font-size: .8rem !important;
    line-height: 1.4 !important;
}

/* タブレット: 3列 */
@media (max-width: 1024px) {
    .coach-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 16px !important;
    }
}

/* スマホ横: 2列 */
@media (max-width: 700px) {
    .coach-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .coach-card__name { font-size: 1rem !important; }
    .coach-card__body { padding: 10px 12px 14px !important; }
}

/* スマホ縦: 2列維持 */
@media (max-width: 480px) {
    .coach-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .coach-card__position-badge {
        font-size: .6rem !important;
        padding: 3px 7px !important;
    }
    .coach-card__name { font-size: .9rem !important; }
    .coach-card__row-value { font-size: .72rem !important; }
}

/* =========================================================
 * v2.5.12 追加: 4点調整
 * ========================================================= */

/* ①.match-tabs の max-width を 1400px に */
.match-tabs {
    max-width: 1400px !important;
}

/* ③.section_inner_title の padding-top を 100px に */
.section_inner_title {
    padding-top: 100px !important;
}

/* ④ ファーストビュー: 余白と border-radius をなくす */
.hero-layout {
    gap: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
}
.hero-slider {
    border-radius: 0 !important;
}
.hero-matches {
    border-radius: 0 !important;
    box-shadow: none !important;
    height: 100% !important;
}
/* 右カラムの高さをスライダーに合わせる */
.hero-layout__matches {
    height: 100%;
}

/* v2.5.12: フッターロゴの新画像用 */
.footer-logo__link {
    display: inline-block;
    text-decoration: none;
}
.footer-logo__img {
    max-width: 240px;
    width: 100%;
    height: auto;
    display: block;
}
@media (max-width: 768px) {
    .footer-logo__img { max-width: 180px; }
}

/* =========================================================
 * v2.5.13 追加: TOPICS 一覧ページボタン
 * ========================================================= */

.topics-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.topics-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 42px;
    background: transparent;
    color: #3A7F4A;
    border: 2px solid #3A7F4A;
    border-radius: 30px;
    font-size: .95rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: .08em;
    transition: all .25s ease;
    position: relative;
    overflow: hidden;
    min-width: 220px;
    justify-content: center;
}

.topics-more-btn__text {
    position: relative;
    z-index: 2;
    transition: color .25s ease;
}

.topics-more-btn__arrow {
    display: inline-block;
    font-size: 1.2rem;
    line-height: 1;
    transition: transform .25s ease;
    position: relative;
    z-index: 2;
}

.topics-more-btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: #3A7F4A;
    transform: translateX(-100%);
    transition: transform .3s ease;
    z-index: 1;
}

.topics-more-btn:hover {
    color: #fff;
    text-decoration: none;
}

.topics-more-btn:hover::before {
    transform: translateX(0);
}

.topics-more-btn:hover .topics-more-btn__arrow {
    transform: translateX(4px);
}

/* レスポンシブ */
@media (max-width: 600px) {
    .topics-more-wrap {
        margin-top: 30px;
    }
    .topics-more-btn {
        padding: 12px 32px;
        min-width: 180px;
        font-size: .88rem;
    }
}

/* =========================================================
 * v2.5.14 追加: SCHEDULE/STAFF セクションの一覧ボタン
 * ========================================================= */

/* スタッフセクション（緑背景）用の白ボタンバリエーション */
.topics-more-btn--white {
    color: #fff !important;
    border-color: #fff !important;
}
.topics-more-btn--white::before {
    background: #fff !important;
}
.topics-more-btn--white:hover {
    color: #3A7F4A !important;
}

/* スタッフセクション内のボタン配置調整 */
.topics-more-wrap--staff {
    margin-top: 30px;
    padding-bottom: 40px;
}

/* SCHEDULE セクション末尾のボタンにも同じ余白 */
.match-schedule-section .topics-more-wrap {
    margin-top: 30px;
}

/* =========================================================
 * v2.5.15 追加: match-card__score-vs 中央寄せ
 * ========================================================= */

.match-card__score-vs {
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
}

/* .match-card__score-wrap の中で VS が中央に来るように */
.match-card__score-wrap {
    justify-content: center !important;
    text-align: center;
}

/* =========================================================
 * v2.5.15 追加: アクセスページ (page-access.php) 全面リニューアル
 * ========================================================= */

/* イントロ（本文があれば表示） */
.access-intro {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 0 20px;
}
.access-intro__inner {
    background: #fff;
    padding: 24px 32px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    line-height: 1.8;
    color: #444;
}
.access-intro__inner p { margin: 0 0 12px; }
.access-intro__inner p:last-child { margin-bottom: 0; }

/* 会場カード一覧 */
.access-container {
    max-width: 1200px;
    margin: 40px auto 60px;
    padding: 0 20px;
}
.access-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
@media (min-width: 900px) {
    .access-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* 各会場カード */
.access-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
    display: flex;
    flex-direction: column;
    transition: transform .25s, box-shadow .25s;
}
.access-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
}

.access-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #3A7F4A 0%, #2e6b3c 100%);
    color: #fff;
}
.access-card__icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}
.access-card__name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.4;
    letter-spacing: .02em;
}

/* インフォメーション本文 */
.access-card__info {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.access-card__row {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 12px;
    align-items: flex-start;
    padding-bottom: 10px;
    border-bottom: 1px dashed #f0f0f0;
}
.access-card__row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.access-card__label {
    font-size: .72rem;
    color: #3A7F4A;
    font-weight: 700;
    letter-spacing: .1em;
    padding-top: 3px;
    text-transform: uppercase;
}
.access-card__value {
    font-size: .92rem;
    color: #333;
    line-height: 1.6;
    word-break: break-word;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.access-card__url {
    color: #3A7F4A;
    text-decoration: none;
    font-weight: 500;
    word-break: break-all;
    transition: color .15s;
}
.access-card__url:hover {
    color: #2e6b3c;
    text-decoration: underline;
}

.access-card__map-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #3A7F4A;
    text-decoration: none;
    font-size: .78rem;
    font-weight: 700;
    padding: 4px 10px;
    background: rgba(58,127,74,.08);
    border-radius: 20px;
    align-self: flex-start;
    transition: all .2s;
}
.access-card__map-link:hover {
    background: #3A7F4A;
    color: #fff;
    text-decoration: none;
}

/* マップ埋め込み */
.access-card__map {
    width: 100%;
    line-height: 0;
    background: #f0f0f0;
}
.access-card__map iframe {
    width: 100%;
    height: 320px;
    border: 0;
    display: block;
}

/* レスポンシブ調整 */
@media (max-width: 600px) {
    .access-container {
        margin-top: 24px;
        padding: 0 12px;
    }
    .access-card__header {
        padding: 16px 18px;
    }
    .access-card__name {
        font-size: 1rem;
    }
    .access-card__info {
        padding: 16px 18px;
        gap: 10px;
    }
    .access-card__row {
        grid-template-columns: 70px 1fr;
        gap: 8px;
    }
    .access-card__label {
        font-size: .65rem;
    }
    .access-card__value {
        font-size: .85rem;
    }
    .access-card__map iframe {
        height: 250px;
    }
}

/* 旧デザイン（.access-wrapper 等）は非表示 */
.page-template-page-access .access-wrapper {
    display: none;
}

/* =========================================================
 * v2.5.16 追加: 絵文字撤去 → FontAwesome アイコン用調整
 * ========================================================= */

/* アクセスカードのアイコン */
.access-card__icon {
    font-size: 1.2rem;
    color: #fff;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.access-card__icon i {
    color: #fff;
}

/* Google Maps で開く リンクのアイコン */
.access-card__map-link i {
    font-size: .78rem;
}
.access-card__map-link .fa-arrow-up-right-from-square {
    font-size: .68rem;
    opacity: .8;
}

/* 試合カード・詳細ページ内のアイコン共通 */
.match-card__venue i,
.match-card__kickoff i,
.match-detail__date i,
.match-detail__venue-address i {
    color: #3A7F4A;
    margin-right: 4px;
    font-size: .95em;
}

/* =========================================================
 * v2.5.18 追加: 練習会申込ページ (page-entry.php)
 * ========================================================= */

.entry-container {
    max-width: 1000px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

/* -------- チームコンセプト -------- */
.entry-concept {
    margin: 50px 0;
    text-align: center;
    padding: 40px 20px;
}
.entry-concept__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .75rem;
    letter-spacing: .3em;
    color: #3A7F4A;
    font-weight: 700;
    margin-bottom: 16px;
    padding: 6px 20px;
    border: 1px solid #3A7F4A;
    border-radius: 30px;
    background: rgba(58,127,74,.05);
}
.entry-concept__catch {
    font-size: 3rem;
    font-weight: 900;
    color: #242424;
    margin: 0 0 20px !important;
    padding: 0 !important;
    letter-spacing: .05em;
    line-height: 1.2;
}
.entry-concept__lead {
    font-size: 1rem;
    color: #555;
    line-height: 1.9;
    margin: 0 auto 40px;
    max-width: 700px;
}

.entry-concept__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 30px;
    text-align: left;
}
.entry-concept__card {
    background: #fff;
    border-radius: 12px;
    padding: 32px 28px;
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
    position: relative;
    border-top: 4px solid #3A7F4A;
}
.entry-concept__card-num {
    position: absolute;
    top: -18px;
    right: 20px;
    background: #3A7F4A;
    color: #fff;
    font-family: 'Permanent Marker', sans-serif;
    font-size: 1.1rem;
    padding: 6px 14px;
    border-radius: 4px;
    letter-spacing: .06em;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
.entry-concept__card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #242424;
    margin: 0 0 16px !important;
    padding: 0 0 12px !important;
    border-bottom: 2px solid #3A7F4A;
    display: inline-block;
    letter-spacing: .04em;
}
.entry-concept__card-body {
    font-size: 1rem;
    color: #444;
    line-height: 1.8;
    margin: 0 0 12px;
}
.entry-concept__card-body strong {
    color: #3A7F4A;
    font-weight: 900;
    background: linear-gradient(transparent 60%, rgba(58,127,74,.15) 60%);
    padding: 0 2px;
}
.entry-concept__card-note {
    font-size: .82rem;
    color: #888;
    background: #f5f5f5;
    padding: 8px 12px;
    border-radius: 6px;
    border-left: 3px solid #3A7F4A;
    margin-top: 14px;
}
.entry-concept__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.entry-concept__list li {
    padding: 8px 0 8px 24px;
    font-size: .92rem;
    color: #444;
    border-bottom: 1px dashed #f0f0f0;
    position: relative;
}
.entry-concept__list li:last-child { border-bottom: none; }
.entry-concept__list li::before {
    content: '\f00c'; /* fa-check */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #3A7F4A;
    position: absolute;
    left: 0;
    top: 8px;
    font-size: .8rem;
}

/* -------- セクションタイトル共通 -------- */
.entry-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #242424;
    text-align: center;
    margin: 0 0 30px !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.entry-section-title i {
    color: #3A7F4A;
    font-size: 1.3rem;
}

/* -------- 練習会のご案内 -------- */
.entry-info {
    margin: 60px 0;
    background: #fff;
    padding: 40px 20px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.entry-info__grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 800px;
    margin: 0 auto;
}
.entry-info__row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: flex-start;
}
.entry-info__row:first-child { padding-top: 0; }
.entry-info__row:last-child { border-bottom: none; padding-bottom: 0; }
.entry-info__label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .9rem;
    font-weight: 700;
    color: #3A7F4A;
    letter-spacing: .04em;
    padding-top: 2px;
}
.entry-info__label i {
    font-size: .95rem;
    width: 20px;
    text-align: center;
}
.entry-info__value {
    font-size: .95rem;
    color: #333;
    line-height: 1.7;
}
.entry-info__value small {
    display: block;
    margin-top: 4px;
    font-size: .78rem;
    color: #888;
}
.entry-info__value strong {
    color: #3A7F4A;
    font-size: 1.05rem;
    font-weight: 900;
}
.entry-info__value a {
    color: #3A7F4A;
    text-decoration: underline;
}
.entry-info__list {
    list-style: none;
    padding: 0;
    margin: 4px 0 0;
}
.entry-info__list li {
    padding: 4px 0 4px 20px;
    position: relative;
    font-size: .92rem;
}
.entry-info__list li::before {
    content: '\f111'; /* fa-circle */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #3A7F4A;
    position: absolute;
    left: 4px;
    top: 8px;
    font-size: .35rem;
}

/* -------- 申込ボタン CTA -------- */
.entry-cta {
    margin: 60px 0;
}
.entry-cta__inner {
    background: linear-gradient(135deg, #3A7F4A 0%, #2e6b3c 100%);
    padding: 60px 30px;
    border-radius: 16px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(58,127,74,.25);
}
.entry-cta__inner::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,.08);
    border-radius: 50%;
}
.entry-cta__inner::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 250px;
    height: 250px;
    background: rgba(255,255,255,.05);
    border-radius: 50%;
}
.entry-cta__badge {
    position: relative;
    z-index: 2;
    display: inline-block;
    background: rgba(255,255,255,.2);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: .75rem;
    letter-spacing: .15em;
    font-weight: 700;
    margin-bottom: 16px;
    backdrop-filter: blur(4px);
}
.entry-cta__title {
    position: relative;
    z-index: 2;
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
    margin: 0 0 12px !important;
    padding: 0 !important;
    letter-spacing: .04em;
}
.entry-cta__desc {
    position: relative;
    z-index: 2;
    font-size: 1rem;
    color: rgba(255,255,255,.9);
    margin: 0 0 32px;
    line-height: 1.7;
}
.entry-cta__btn {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    color: #3A7F4A;
    padding: 18px 48px;
    border-radius: 50px;
    font-size: 1.15rem;
    font-weight: 900;
    text-decoration: none;
    letter-spacing: .06em;
    box-shadow: 0 6px 16px rgba(0,0,0,.15);
    transition: all .25s ease;
}
.entry-cta__btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0,0,0,.25);
    color: #2e6b3c;
    text-decoration: none;
}
.entry-cta__btn i:first-child {
    font-size: 1.2rem;
    color: #3A7F4A;
}
.entry-cta__btn-ext {
    font-size: .85rem;
    opacity: .7;
}
.entry-cta__note {
    position: relative;
    z-index: 2;
    margin-top: 20px;
    font-size: .82rem;
    color: rgba(255,255,255,.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* -------- お問い合わせ -------- */
.entry-contact {
    margin: 60px 0;
    text-align: center;
    padding: 40px 20px;
}
.entry-contact__body {
    font-size: .95rem;
    color: #555;
    line-height: 1.8;
    margin: 0 auto 30px;
    max-width: 600px;
}
.entry-contact__links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.entry-contact__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: #fff;
    color: #3A7F4A;
    border: 2px solid #3A7F4A;
    border-radius: 30px;
    font-size: .95rem;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s ease;
    letter-spacing: .04em;
}
.entry-contact__link:hover {
    background: #3A7F4A;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}
.entry-contact__link i {
    font-size: 1.1rem;
}
.entry-contact__link--ig:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); border-color: transparent; }
.entry-contact__link--x:hover { background: #000; border-color: #000; }
.entry-contact__link--line:hover { background: #06C755; border-color: #06C755; }

/* -------- レスポンシブ -------- */
@media (max-width: 768px) {
    .entry-container {
        padding: 0 16px;
        margin-bottom: 60px;
    }
    .entry-concept {
        margin: 30px 0;
        padding: 20px 0;
    }
    .entry-concept__catch {
        font-size: 2.2rem;
    }
    .entry-concept__cards {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .entry-concept__card {
        padding: 24px 20px;
    }
    .entry-info {
        padding: 24px 16px;
        margin: 40px 0;
    }
    .entry-info__row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 16px 0;
    }
    .entry-info__label {
        font-size: .82rem;
        padding-top: 0;
    }
    .entry-cta {
        margin: 40px 0;
    }
    .entry-cta__inner {
        padding: 40px 20px;
    }
    .entry-cta__title {
        font-size: 1.6rem;
    }
    .entry-cta__btn {
        padding: 16px 32px;
        font-size: 1rem;
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
    .entry-section-title {
        font-size: 1.25rem;
    }
    .entry-contact__links {
        flex-direction: column;
        align-items: center;
    }
    .entry-contact__link {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* =========================================================
 * v2.5.19 追加: 練習会申込ページ 内容更新
 * ========================================================= */

/* 持ち物リスト（各項目に補足付き） */
.entry-info__items {
    list-style: none;
    padding: 0;
    margin: 4px 0 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.entry-info__items li {
    padding: 12px 14px 12px 36px;
    background: #f9f9f9;
    border-radius: 6px;
    border-left: 3px solid #3A7F4A;
    position: relative;
    line-height: 1.6;
}
.entry-info__items li::before {
    content: '\f00c'; /* fa-check */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #3A7F4A;
    position: absolute;
    left: 14px;
    top: 14px;
    font-size: .85rem;
}
.entry-info__items li strong {
    display: block;
    color: #242424;
    font-size: 1rem;
    font-weight: 700;
    font-size: .98rem;
    letter-spacing: .02em;
    margin-bottom: 2px;
}
.entry-info__items li small {
    display: block;
    color: #666;
    font-size: .82rem;
    line-height: 1.5;
    margin-top: 2px;
}

/* -------- 主催者メッセージ -------- */
.entry-message {
    margin: 60px 0;
}
.entry-message__inner {
    background: #fff;
    border-radius: 16px;
    padding: 50px 40px;
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}
.entry-message__icon {
    position: absolute;
    top: -25px;
    left: 40px;
    width: 50px;
    height: 50px;
    background: #3A7F4A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(58,127,74,.3);
}
.entry-message__title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #242424;
    margin: 0 0 24px !important;
    padding: 0 0 16px !important;
    border-bottom: 2px solid #3A7F4A;
    letter-spacing: .04em;
    padding-left: 60px !important;
}
.entry-message__body {
    padding: 0 8px;
    margin-bottom: 30px;
}
.entry-message__body p {
    font-size: .95rem;
    color: #444;
    line-height: 1.9;
    margin: 0 0 14px;
}
.entry-message__body p:last-child { margin-bottom: 0; }

/* 天候注意ボックス */
.entry-message__notice {
    background: #fef3e2;
    border-radius: 10px;
    padding: 22px 26px;
    margin-bottom: 24px;
    border-left: 4px solid #d97706;
}
.entry-message__notice-head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .95rem;
    font-weight: 700;
    color: #b45309;
    margin-bottom: 12px;
    letter-spacing: .04em;
}
.entry-message__notice-head i {
    color: #d97706;
    font-size: 1.1rem;
}
.entry-message__notice p {
    font-size: .9rem;
    color: #78350f;
    line-height: 1.8;
    margin: 0 0 10px;
}
.entry-message__notice p:last-child { margin-bottom: 0; }

/* 初回ハイライトボックス */
.entry-message__highlight {
    background: linear-gradient(135deg, rgba(58,127,74,.08) 0%, rgba(58,127,74,.03) 100%);
    border-radius: 10px;
    padding: 22px 26px;
    border-left: 4px solid #3A7F4A;
}
.entry-message__highlight-head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .95rem;
    font-weight: 700;
    color: #3A7F4A;
    margin-bottom: 12px;
    letter-spacing: .04em;
}
.entry-message__highlight-head i {
    font-size: 1.1rem;
}
.entry-message__highlight p {
    font-size: .95rem;
    color: #333;
    line-height: 1.8;
    margin: 0;
}
.entry-message__highlight strong {
    color: #3A7F4A;
    font-weight: 900;
    background: linear-gradient(transparent 60%, rgba(58,127,74,.2) 60%);
    padding: 0 2px;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .entry-message__inner {
        padding: 40px 20px 30px;
    }
    .entry-message__icon {
        left: 20px;
        top: -22px;
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
    .entry-message__title {
        padding-left: 50px !important;
        font-size: 1.15rem;
    }
    .entry-message__notice,
    .entry-message__highlight {
        padding: 18px 18px;
    }
    .entry-info__items li {
        padding: 12px 14px 12px 34px;
    }
}

/* =========================================================
 * v2.5.20 追加: 注意事項に統合したメッセージブロック
 * ========================================================= */

/* 注意事項の中の追加メッセージブロック（共通） */
.entry-notice-block {
    margin-top: 20px;
    padding: 18px 22px;
    background: #f5f5f5;
    border-radius: 8px;
    border-left: 4px solid #999;
}
.entry-notice-block:first-of-type {
    margin-top: 24px;
}
.entry-notice-block p {
    font-size: .9rem;
    color: #444;
    line-height: 1.8;
    margin: 0 0 10px;
}
.entry-notice-block p:last-child { margin-bottom: 0; }
.entry-notice-block__head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .92rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: .04em;
}
.entry-notice-block__head i {
    font-size: 1.05rem;
}

/* 天候注意（オレンジ） */
.entry-notice-block--warn {
    background: #fef3e2;
    border-left-color: #d97706;
}
.entry-notice-block--warn .entry-notice-block__head {
    color: #b45309;
}
.entry-notice-block--warn .entry-notice-block__head i {
    color: #d97706;
}
.entry-notice-block--warn p {
    color: #78350f;
}

/* 初回案内（緑ハイライト） */
.entry-notice-block--info {
    background: linear-gradient(135deg, rgba(58,127,74,.10) 0%, rgba(58,127,74,.04) 100%);
    border-left-color: #3A7F4A;
}
.entry-notice-block--info .entry-notice-block__head {
    color: #3A7F4A;
}
.entry-notice-block--info p {
    color: #2d5c3a;
}
.entry-notice-block--info strong {
    color: #3A7F4A;
    font-weight: 900;
    background: linear-gradient(transparent 60%, rgba(58,127,74,.2) 60%);
    padding: 0 2px;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .entry-notice-block {
        padding: 14px 16px;
    }
}

/* =========================================================
 * v2.5.23 追加: スタッフカード 画像切れ修正 + 役職位置変更
 * ========================================================= */

/* 画像の位置を上部に固定（頭部が切れないように） */
.coach-card__thumbnail img {
    object-position: top center !important;
}

/* 役職バッジをカード外→カード内（名前の上）に移動 */
/* 旧: 絶対配置の緑バッジを非表示 */
.coach-card__position-badge {
    display: none !important;
}

/* 新: 名前の上に配置される役職ラベル */
.coach-card__position {
    display: inline-block;
    background: #3A7F4A;
    color: #fff;
    padding: 4px 12px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .05em;
    border-radius: 4px;
    margin-bottom: 8px;
    line-height: 1.3;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* スマホでは少し小さめ */
@media (max-width: 700px) {
    .coach-card__position {
        font-size: .65rem !important;
        padding: 3px 8px !important;
        margin-bottom: 6px !important;
    }
}

/* =========================================================
 * v2.5.24 追加: クラブフィロソフィーページ (page-philosophy.php)
 * ========================================================= */

.philosophy-container {
    max-width: 1100px;
    margin: 0 auto 100px;
    padding: 0 20px;
}

/* 共通セクション */
.philosophy-section {
    margin: 80px 0;
    text-align: center;
}
.philosophy-section:first-child {
    margin-top: 60px;
}

.philosophy-section__label {
    display: inline-flex;
    align-items: baseline;
    gap: 12px;
    padding: 8px 24px;
    border-radius: 30px;
    background: rgba(58,127,74,.08);
    margin-bottom: 30px;
}
.philosophy-section__label-en {
    font-size: .85rem;
    font-weight: 900;
    color: #3A7F4A;
    letter-spacing: .3em;
    font-family: 'Permanent Marker', sans-serif;
}
.philosophy-section__label-ja {
    font-size: .72rem;
    color: #666;
    letter-spacing: .1em;
}

.sp-only { display: none; }

/* -------- PURPOSE -------- */
.philosophy-purpose {
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(58,127,74,.03) 0%, rgba(58,127,74,.08) 100%);
    border-radius: 20px;
    margin-top: 40px !important;
}
.philosophy-purpose__catch {
    font-size: 3.6rem;
    font-weight: 900;
    color: #242424;
    margin: 0 0 24px !important;
    padding: 0 !important;
    line-height: 1.3;
    letter-spacing: .05em;
}
.philosophy-purpose__catch::first-letter { color: #3A7F4A; }
.philosophy-purpose__desc {
    font-size: 1rem;
    color: #555;
    line-height: 1.9;
    max-width: 640px;
    margin: 0 auto;
}

/* -------- MISSION -------- */
.philosophy-mission__box {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 40px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
    border-top: 4px solid #3A7F4A;
}
.philosophy-mission__text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #242424;
    margin: 0;
    line-height: 1.8;
    letter-spacing: .04em;
}
.philosophy-mission__text strong {
    color: #3A7F4A;
    font-weight: 900;
    background: linear-gradient(transparent 60%, rgba(58,127,74,.15) 60%);
    padding: 0 2px;
}

/* -------- VISION -------- */
.philosophy-vision__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 20px;
}
.philosophy-vision__card {
    background: #fff;
    border-radius: 14px;
    padding: 40px 24px 32px;
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
    position: relative;
    transition: transform .25s, box-shadow .25s;
    text-align: center;
    border-top: 3px solid #3A7F4A;
}
.philosophy-vision__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,.1);
}
.philosophy-vision__card-tag {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #3A7F4A;
    color: #fff;
    padding: 5px 16px;
    font-size: .72rem;
    font-weight: 700;
    border-radius: 30px;
    letter-spacing: .1em;
    box-shadow: 0 2px 6px rgba(58,127,74,.3);
    white-space: nowrap;
}
.philosophy-vision__card-icon {
    width: 64px;
    height: 64px;
    margin: 8px auto 20px;
    background: rgba(58,127,74,.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3A7F4A;
    font-size: 1.8rem;
}
.philosophy-vision__card-text {
    font-size: 1rem;
    color: #242424;
    font-weight: 700;
    line-height: 1.7;
    margin: 0;
    letter-spacing: .02em;
}

/* -------- VALUES: SPARK -------- */
.philosophy-spark {
    margin: 30px 0 50px;
    padding: 40px 20px;
    background: linear-gradient(135deg, #3A7F4A 0%, #2e6b3c 100%);
    border-radius: 20px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.philosophy-spark::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 240px;
    height: 240px;
    background: rgba(255,255,255,.06);
    border-radius: 50%;
}
.philosophy-spark::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,.04);
    border-radius: 50%;
}
.philosophy-spark__letters {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}
.philosophy-spark__letter {
    display: inline-block;
    width: 72px;
    height: 72px;
    background: #fff;
    color: #3A7F4A;
    font-size: 2.8rem;
    font-weight: 900;
    font-family: 'Permanent Marker', sans-serif;
    line-height: 72px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    letter-spacing: 0;
}
.philosophy-spark__caption {
    font-size: 1rem;
    color: rgba(255,255,255,.95);
    margin: 0;
    letter-spacing: .04em;
    position: relative;
    z-index: 2;
    font-weight: 500;
}

/* VALUES 5 cards */
.philosophy-values__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: left;
}
.philosophy-values__card {
    background: #fff;
    border-radius: 12px;
    padding: 24px 22px;
    box-shadow: 0 3px 10px rgba(0,0,0,.06);
    position: relative;
    transition: transform .2s, box-shadow .2s;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-left: 4px solid #3A7F4A;
}
.philosophy-values__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,.1);
}
.philosophy-values__letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: #3A7F4A;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 900;
    font-family: 'Permanent Marker', sans-serif;
    border-radius: 8px;
    line-height: 1;
    flex-shrink: 0;
}
.philosophy-values__title {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.philosophy-values__ja {
    font-size: 1.05rem;
    font-weight: 700;
    color: #242424;
    letter-spacing: .02em;
}
.philosophy-values__en {
    font-size: .72rem;
    color: #3A7F4A;
    font-weight: 700;
    letter-spacing: .12em;
    font-family: 'Permanent Marker', sans-serif;
}
.philosophy-values__desc {
    font-size: .88rem;
    color: #555;
    line-height: 1.65;
    margin: 0;
}

/* -------- レスポンシブ -------- */
@media (max-width: 900px) {
    .philosophy-vision__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .philosophy-purpose__catch { font-size: 2.4rem; }
    .philosophy-mission__text { font-size: 1.2rem; }
    .philosophy-spark__letter {
        width: 56px;
        height: 56px;
        font-size: 2.1rem;
        line-height: 56px;
    }
}

@media (max-width: 600px) {
    .sp-only { display: inline; }
    .philosophy-container {
        padding: 0 14px;
        margin-bottom: 60px;
    }
    .philosophy-section {
        margin: 50px 0;
    }
    .philosophy-purpose {
        padding: 40px 16px;
    }
    .philosophy-purpose__catch {
        font-size: 1.9rem;
    }
    .philosophy-mission__box {
        padding: 30px 20px;
    }
    .philosophy-mission__text {
        font-size: 1.05rem;
    }
    .philosophy-vision__card {
        padding: 30px 18px 24px;
    }
    .philosophy-spark {
        padding: 30px 14px;
        margin: 20px 0 40px;
    }
    .philosophy-spark__letters {
        gap: 8px;
    }
    .philosophy-spark__letter {
        width: 48px;
        height: 48px;
        font-size: 1.7rem;
        line-height: 48px;
        border-radius: 8px;
    }
    .philosophy-spark__caption {
        font-size: .85rem;
    }
    .philosophy-values__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .philosophy-values__card {
        padding: 20px 18px;
    }
    .philosophy-section__label {
        padding: 6px 18px;
    }
    .philosophy-section__label-en { font-size: .78rem; }
    .philosophy-section__label-ja { font-size: .68rem; }
}

/* =========================================================
 * v2.5.25 追加: SPARK 5列固定に調整
 * ========================================================= */

.philosophy-values__grid {
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 16px !important;
}

/* タブレット: 3列 */
@media (max-width: 1024px) {
    .philosophy-values__grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* スマホ横向き〜狭タブレット: 2列 */
@media (max-width: 700px) {
    .philosophy-values__grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
}

/* スマホ縦向き: 1列 */
@media (max-width: 480px) {
    .philosophy-values__grid {
        grid-template-columns: 1fr !important;
    }
}

/* 5列の狭さ対応：文字サイズを微調整 */
@media (min-width: 1025px) {
    .philosophy-values__card {
        padding: 20px 16px !important;
    }
    .philosophy-values__ja {
        font-size: .98rem !important;
    }
    .philosophy-values__en {
        font-size: .66rem !important;
    }
    .philosophy-values__desc {
        font-size: .82rem !important;
        line-height: 1.6 !important;
    }
    .philosophy-values__letter {
        width: 38px !important;
        height: 38px !important;
        font-size: 1.35rem !important;
    }
}

/* =========================================================
 * v2.5.26 追加: MISSION ブロックを PURPOSE/VISION と同じ幅に
 * ========================================================= */

.philosophy-mission__box {
    max-width: 100% !important; /* コンテナ幅（1100px）いっぱいに広げる */
    width: 100% !important;
}
