/*
Theme Name: oidon-league-2026
Theme URI: 
Author: 
Author URI: 
Description: おいどんリーグ2026公式サイト用ブロックテーマ
Requires at least: 6.9
Tested up to: 6.9
Requires PHP: 5.7
Version: 4.19.9
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oidon-league-2026
Tags: 
*/

/* =========================================
   1. 基本設定・リセット
   ========================================= */
:root {
    --primary-red: #c8102e;
    --dark-bg: #111111;
    --text-main: #333333;
    --text-light: #ffffff;
    --gray-bg: #f4f4f4;
    --nav-bg: #222222;
}

/* 重要: 全要素のサイズ計算を統一 */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
}

body {
    font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: var(--text-main);
    font-size: 15px; 
    line-height: 1.5;
    background-color: #fff;
}

/* WordPressのデフォルトマージン・パディングをリセット */
body > * {
    margin-top: 0 !important;
}

.wp-site-blocks {
    padding: 0 !important;
    margin: 0 !important;
}

:where(.wp-site-blocks) > * {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
}

:where(.wp-site-blocks) > :first-child {
    margin-block-start: 0 !important;
}

:where(.wp-site-blocks) > :last-child {
    margin-block-end: 0 !important;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.7;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   2. ヘッダー（PC用 Sticky Navigation）
   ========================================= */
.sticky-nav-container {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(180deg, #a40001 0%, #cd0001 50%, #850001 100%);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid #600000;
    height: 80px; 
    width: 100%;
    max-width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
}

.sticky-nav-container.wp-block-group {
    margin: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
}

.sticky-nav-container > * {
    margin: 0 !important;
}

.sticky-nav-container ul,
.sticky-nav-container ul li {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.sticky-nav-container a {
    text-decoration: none !important;
}

.sticky-logo {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.4s ease;
    margin: 0 !important;
    padding: 0 !important;
}

/* フロントページのみ最初は非表示 */
.home .sticky-logo {
    opacity: 0;
    pointer-events: none;
}

.sticky-logo .wp-block-image,
.sticky-logo figure {
    margin: 0 !important;
}

.sticky-logo .wp-block-image a {
    display: block;
    line-height: 0;
}

.sticky-logo img,
.sticky-logo .wp-block-site-logo img {
    height: 68px !important;
    width: auto !important;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.5));
    max-width: none !important;
}

.sticky-logo .wp-block-site-logo {
    margin: 0 !important;
}

.sticky-logo .wp-block-site-logo a {
    display: block;
    line-height: 0;
}

.nav-menu,
.nav-menu.wp-block-navigation {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 auto !important;
    background: transparent !important;
    height: 80px !important;
    align-items: center !important;
    flex: 1 !important;
    max-width: none !important;
}

.nav-menu .wp-block-navigation__container,
.nav-menu .wp-block-navigation__responsive-container-content,
.nav-menu ul {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 0 !important;
    align-items: center !important;
    height: 80px !important;
}

.nav-menu li,
.nav-menu .wp-block-navigation-item {
    margin: 0 !important;
    list-style: none !important;
    padding: 0 !important;
}

.nav-menu a,
.nav-menu .wp-block-navigation-item__content {
    display: block;
    padding: 0 15px !important;
    line-height: 80px !important;
    color: #fff !important;
    font-weight: bold;
    font-size: 15px !important;
    position: relative;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    text-decoration: none !important;
    background: transparent !important;
}

.nav-menu a::after,
.nav-menu .wp-block-navigation-item__content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background-color: #ffffff; 
    transition: width 0.3s;
}

.nav-menu a:hover,
.nav-menu .wp-block-navigation-item__content:hover {
    background-color: rgba(0, 0, 0, 0.2) !important;
}

.nav-menu a:hover::after,
.nav-menu .wp-block-navigation-item__content:hover::after {
    width: 100%;
}

.sticky-sns {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 15px !important;
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.4s ease;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* フロントページのみ最初は非表示 */
.home .sticky-sns {
    opacity: 0;
    pointer-events: none;
}

.sticky-sns .wp-block-social-links {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    gap: 15px !important;
}

.sticky-sns .wp-block-social-links .wp-social-link {
    background: transparent !important;
    padding: 0 !important;
}

.sticky-sns .wp-block-social-links .wp-social-link a {
    padding: 0 !important;
}

.sticky-sns .wp-block-social-links .wp-social-link svg {
    width: 20px !important;
    height: 20px !important;
    fill: #fff !important;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

.sticky-sns a {
    color: #fff !important;
    font-size: 20px;
    transition: color 0.3s;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.sticky-sns a:hover {
    color: #ffcccc !important;
}

.sticky-sns .wp-block-social-links .wp-social-link:hover svg {
    fill: #ffcccc !important;
}

/* フロントページでスクロール時に表示 */
.home .sticky-nav-container.is-stuck .sticky-logo,
.home .sticky-nav-container.is-stuck .sticky-sns {
    opacity: 1;
    pointer-events: auto;
}

/* =========================================
   3. ヘッダー（モバイル・タブレット）
   ========================================= */
.mobile-header {
    display: none !important;
}

.editor-styles-wrapper .mobile-header {
    display: none !important;
}

/* エディタ内でのリストスタイル表示 */
.editor-styles-wrapper .volunteer-notes {
    list-style: disc;
    padding-left: 20px;
}

.editor-styles-wrapper .volunteer-notes li {
    display: list-item;
    margin-bottom: 8px;
}

.hamburger {
    display: none; 
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 2002;
    position: relative;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-red);
    position: absolute;
    transition: 0.3s;
}

.hamburger span:nth-child(1) {
    top: 0; 
}

.hamburger span:nth-child(2) {
    top: 10px;
}

.hamburger span:nth-child(3) {
    top: 20px;
}

.hamburger.active span:nth-child(1) {
    top: 10px;
    transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    top: 10px;
    transform: rotate(-45deg);
}

.mobile-nav,
.mobile-nav.wp-block-group {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: 80% !important;
    height: 100vh !important;
    background-color: #fff !important;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    z-index: 1500 !important;
    transition: right 0.4s !important;
    padding-top: 100px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    max-width: 80% !important;
}

.mobile-nav.active {
    right: 0 !important;
}

.mobile-menu-list,
.mobile-menu-list.wp-block-group {
    overflow-y: auto !important;
    padding-bottom: 20px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

.mobile-menu-list .mobile-navigation,
.mobile-menu-list .wp-block-navigation {
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
}

.mobile-menu-list .wp-block-navigation__container,
.mobile-menu-list .wp-block-navigation ul {
    flex-direction: column !important;
    gap: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.mobile-menu-list li,
.mobile-menu-list .wp-block-navigation-item {
    border-bottom: 1px solid #eee !important;
    margin: 0 !important;
    width: 100% !important;
}

.mobile-menu-list a,
.mobile-menu-list .wp-block-navigation-item__content {
    display: block !important;
    padding: 15px 20px !important;
    color: #333 !important;
    font-weight: bold !important;
    text-decoration: none !important;
    line-height: 1.5 !important;
}

.mobile-sns-container,
.mobile-sns-container.wp-block-group {
    padding: 20px !important;
    background: #fff !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

.mobile-sns,
.mobile-sns.wp-block-social-links {
    display: flex !important;
    gap: 20px !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

.mobile-sns .wp-block-social-links,
.mobile-sns.wp-block-social-links {
    gap: 20px !important;
}

.mobile-sns .wp-social-link {
    background: transparent !important;
    padding: 0 !important;
}

.mobile-sns .wp-social-link svg {
    width: 24px !important;
    height: 24px !important;
    fill: #000 !important;
}

.mobile-sns .wp-social-link:hover svg {
    fill: var(--primary-red) !important;
}

.mobile-sns a {
    font-size: 24px;
    color: #000 !important;
}

.mobile-sns a:hover {
    color: var(--primary-red) !important;
}

/* =========================================
   4. ヒーローセクション
   ========================================= */
.hero {
    position: relative;
    width: 100%;
    background-color: var(--dark-bg);
    display: block;
    margin: 0 !important;
    padding: 0 !important;
}

.hero .wp-block-image,
.hero figure {
    margin: 0 !important;
}

.hero .wp-block-image img {
    display: block;
    width: 100%;
    height: auto;
}

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

.pc-hero-logo-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 20;
    display: block;
}

.pc-hero-logo-overlay .wp-block-image,
.pc-hero-logo-overlay figure {
    margin: 0 !important;
}

.pc-hero-logo-overlay img {
    height: 140px !important;
    width: auto !important;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.7));
}

/* =========================================
   5. コンテンツエリア・共通設定
   ========================================= */
.site-content {
    min-height: 50vh;
}

/* WordPressブロックエディター：通常のブロックに幅制限を適用 */
.site-content > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* WordPressブロックエディター：全幅ブロック（alignfull）は幅制限なし */
.site-content > .alignfull,
.site-content > .about-section {
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Newsセクションは1200pxに制限 */
.site-content > .news-section {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* WordPressブロックエディター：ワイド幅ブロック（alignwide） */
.site-content > .alignwide {
    max-width: 1400px !important;
}

/* コンテンツラッパー（エラーページなどで使用） */
.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-wrapper article {
    line-height: 1.8;
}

/* 共通タイトルデザイン */
.common-header {
    text-align: center;
    margin-bottom: 25px; 
}

.common-title-en {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem; 
    font-weight: 800;
    color: var(--dark-bg);
    line-height: 1;
    margin: 0 0 10px 0; 
    letter-spacing: 0.05em;
}

.common-line {
    width: 80px;
    height: 3px; 
    background: linear-gradient(90deg, var(--primary-red) 0%, #850001 100%);
    margin: 0 auto 10px; 
}

.common-title-jp {
    display: block;
    font-size: 0.75rem; 
    font-weight: bold;
    color: #666;
    letter-spacing: 0.05em;
    margin: 0;
}

/* =========================================
   6. Aboutセクション
   ========================================= */
#about,
.about-section {
    background-color: var(--gray-bg);
    width: 100%;
    max-width: 100%;
    padding: 100px 20px; 
    color: var(--text-main);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-bg-moving {
    position: absolute;
    top: 0;
    left: 0; 
    width: 150%; 
    height: 100%;
    background-image: url('https://ifx.jp/sub/oidon-league/img/swing.png');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: auto 90%; 
    opacity: 0.1; 
    z-index: 1;
    will-change: transform;
    transform: translateX(-150px); 
}

.about-section > .about-bg-moving {
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.about-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2; 
}

.about-section .wp-block-group.about-inner,
.about-section .wp-block-group.about-content {
    padding: 0 !important;
}

.about-content {
    text-align: left; 
}

.about-lead {
    font-size: 1.5rem; 
    font-weight: bold;
    line-height: 1.4; 
    margin: 0 auto 15px; 
    max-width: 860px;
    color: #333;
    text-align: center;
}

.about-highlight {
    color: #a40001;
}

.about-text {
    font-size: 1rem; 
    line-height: 1.6; 
    margin: 0 auto 10px;
    max-width: 860px;
    color: #444;
    text-align: justify;
    text-justify: inter-ideograph; 
}

.about-more {
    text-align: right;
    margin-top: 15px; 
}

.about-more a {
    font-family: 'Oswald', sans-serif;
    font-size: 13px; 
    font-weight: bold;
    color: #000;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}

.about-more a:hover {
    color: var(--primary-red);
}

/* =========================================
   7. Newsセクション
   ========================================= */
#news,
.news-section {
    max-width: 1200px; 
    margin: 0 auto;
    padding: 50px 20px 60px;
}

/* WordPressデフォルトクラスのリセット */
.news-section .common-header,
.news-section .news-list,
.news-section .news-more,
.news-section p {
    margin: 0 !important;
    padding: 0 !important;
}

.news-section .common-header {
    margin-bottom: 25px !important;
}

.news-section .news-list {
    margin-bottom: 20px !important;
}

.news-section .news-more {
    margin-top: 15px !important;
}

.news-section .news-more p {
    margin: 0 !important;
    line-height: 1;
}

.news-list {
    margin-bottom: 20px;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 12px 0; 
    border-bottom: 1px solid #e5e5e5;
    transition: opacity 0.3s;
    text-decoration: none;
}

.news-item:hover {
    opacity: 0.7;
}

.news-date {
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    color: #000;
    width: 90px; 
    font-size: 14px; 
    letter-spacing: 0.05em;
}

.news-cat {
    font-size: 10px; 
    font-weight: bold;
    color: #fff;
    background-color: #333;
    padding: 3px 8px; 
    margin-right: 15px; 
    min-width: 70px; 
    text-align: center;
    border-radius: 2px;
}

.cat-game {
    background-color: var(--primary-red);
}

.cat-event {
    background-color: #004098;
}

.news-title {
    flex: 1;
    font-size: 14px; 
    font-weight: 500;
    color: #333;
    line-height: 1.4; 
}

.news-more {
    text-align: right;
    margin-top: 15px;
}

.news-more a {
    font-family: 'Oswald', sans-serif;
    font-size: 13px; 
    font-weight: bold;
    color: #000;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}

.news-more a:hover {
    color: var(--primary-red);
}

/* =========================================
   8. ニュース個別ページ・アーカイブ
   ========================================= */
.news-single .content-wrapper,
.news-archive .content-wrapper {
    max-width: 900px;
    padding: 40px 20px;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 10px 0;
}

.page-title-jp {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
    font-family: 'Work Sans', sans-serif;
    margin-top: 10px;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.entry-title {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 30px;
    color: #333;
}

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

.post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.entry-content {
    line-height: 1.8;
    color: #444;
    margin-bottom: 40px;
}

.entry-content p {
    margin-bottom: 1.5em;
}

.entry-content h2,
.entry-content h3 {
    margin-top: 2em;
    margin-bottom: 1em;
}

.news-back {
    text-align: center;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #e5e5e5;
}

.news-back a {
    font-weight: bold;
    color: #000;
    text-decoration: none;
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #333;
    border-radius: 4px;
    transition: all 0.3s;
}

.news-back a:hover {
    background-color: var(--primary-red);
    color: #fff;
    border-color: var(--primary-red);
}

.news-list-archive {
    margin-bottom: 40px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination .page-numbers {
    padding: 8px 15px;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background-color: var(--primary-red);
    color: #fff;
    border-color: var(--primary-red);
}

/* =========================================
   9. Sponsorセクション
   ========================================= */

/* セクション全体 */
.sponsor-section {
    background-color: var(--gray-bg);
    width: 100%;
    max-width: 100%;
    padding: 60px 20px;
}

/* コンテンツ幅を制御するコンテナ */
.team-inner {
    max-width: 1100px;
    margin: 0 auto;
}

/* 共通ヘッダー */
.sponsor-section .common-header {
    text-align: center;
    margin-bottom: 25px;
}

.sponsor-section .common-header .common-title-en {
    margin: 0 0 10px 0;
}

.sponsor-section .common-header .common-line {
    margin: 0 auto 10px;
}

.sponsor-section .common-header .common-title-jp {
    margin: 0;
}

.sponsor-section .wp-block-image {
    margin: 0;
}

/* ランクごとのグリッド設定 */
.sponsor-grid {
    display: grid;
    gap: 15px; 
    margin-bottom: 30px; 
}

.tier-top {
    grid-template-columns: 1fr;
}

.tier-2 {
    grid-template-columns: repeat(2, 1fr);
}

.tier-3 {
    grid-template-columns: repeat(3, 1fr);
}

.tier-4 {
    grid-template-columns: repeat(4, 1fr);
}

.tier-5 {
    grid-template-columns: 1fr;
    margin-top: 15px;
}

/* カードのスタイル */
.sponsor-card {
    background: #fff; 
    padding: 15px; 
    text-align: center; 
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-decoration: none; 
    transition: opacity 0.3s;
}

.sponsor-card:hover {
    opacity: 0.7; 
}

/* Tier-Top のみ影を消す */
.tier-top .sponsor-card {
    box-shadow: none;
}

.sponsor-card img {
    max-width: 100%;
    height: auto;
    max-height: 90px; 
    object-fit: contain;
}

/* 最上位のみ画像の高さ制限を緩める */
.tier-top .sponsor-card img {
    max-height: 180px; 
}

/* グループ包括用のスタイル */
.group-box {
    background: #fff;
    padding: 25px; 
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    text-align: center;
    width: 100%;
}

.group-title-img {
    max-width: 100%;      
    height: auto;          
    max-height: 50px; 
    margin: 0 auto 20px; 
    display: block;        
}

.group-title-img img {
    max-width: 100%;
    height: auto;
    max-height: 50px;
    margin: 0 auto;
    display: block;
}

.group-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px; 
}

.group-grid .sponsor-card {
    box-shadow: none;
    border: 1px solid #eee;
    padding: 8px; 
    background: #fff; 
}

.group-grid .sponsor-card img {
    max-height: 70px; 
}

/* テキストスポンサー */
.text-sponsor-box {
    background: #fff;
    padding: 30px 20px; 
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.text-sponsor-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 25px; 
    margin-bottom: 20px; 
    padding: 0;
    list-style: none;
}

.text-sponsor-list:last-child {
    margin-bottom: 0;
}

.text-sponsor-list li {
    font-size: 14px; 
    font-weight: bold;
    color: #444;
}

.text-sponsor-list.small-list {
    margin-top: 40px; 
    gap: 8px 20px;
}

.text-sponsor-list.small-list li {
    font-size: 13px; 
    color: #777;
    font-weight: normal;
}

/* 運営協力 */
.cooperation-wrapper {
    margin-top: 40px; 
    text-align: center;
}

.cooperation-title,
span.cooperation-title {
    font-size: 0.9rem; 
    font-weight: normal; 
    color: #333;
    margin-bottom: 10px;
    display: block;
}

/* =========================================
   10. Tourismセクション
   ========================================= */
#tourism {
    background-color: #fdfbf7; 
    width: 100%;
    max-width: 100%;
    position: relative;
    overflow: hidden; 
    padding: 60px 20px 120px;
}

.tourism-bg-image {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://ifx.jp/sub/oidon-league/img/sakurajima.png');
    background-repeat: no-repeat;
    background-position: center bottom; 
    background-size: 60%; 
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

.tourism-inner {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.tourism-grid-main {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 50px; 
}

.tourism-grid-sub {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.tourism-card {
    background: transparent;
    padding: 0;
    box-shadow: none;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: opacity 0.3s;
}

.tourism-card:hover {
    opacity: 0.8;
}

.tourism-card img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 8px;
}

.tourism-name {
    font-size: 13px;
    font-weight: bold;
    color: #333;
    margin: 0;
    line-height: 1.4;
    text-align: center;
}

/* ブロックパターン用スタイル */
.tourism-card-wrapper {
    max-width: 100%;
    padding: 0;
}

.tourism-grid-main .tourism-card-wrapper {
    display: contents;
}

.tourism-grid-sub .tourism-card-wrapper {
    width: calc((100% - 45px) / 4);
}

.tourism-card-wrapper .wp-block-image {
    margin: 0 0 8px 0;
}

.tourism-card-wrapper .tourism-name {
    margin: 0;
}

/* WordPressブロックのリセット */
.tourism-inner > .wp-block-group {
    max-width: 100%;
    padding: 0;
}

.tourism-grid-main.wp-block-group,
.tourism-grid-sub.wp-block-group {
    max-width: 100%;
    padding: 0;
}

/* =========================================
   11. ページタイトルエリア（中ページ共通）
   ========================================= */
.page-title-area {
    width: 100%;
    background-color: #ffffff;
    padding: 90px 20px;
    text-align: center;
    color: var(--text-main);
    position: relative;
}

.page-title-en {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin: 0 0 15px 0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--dark-bg);
}

.page-title-line {
    width: 60px;
    height: 4px;
    background-color: var(--primary-red);
    margin: 0 auto 15px;
}

.page-title-jp {
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    color: #666;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}



/* =========================================
   12. メインコンテンツコンテナ（中ページ）
   ========================================= */
/* ブロックパターンで管理するため削除 */
/* ページタイトル以降のコンテンツ幅は各ブロックで制御 */

/* =========================================
   13. Newsアーカイブページ
   ========================================= */
.news-archive-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 80px;
}

/* フィルターエリア */
.news-filter-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 30px;
}

.news-tabs {
    display: flex;
    gap: 30px;
}

.news-tab-btn {
    font-size: 15px;
    font-weight: bold;
    color: #666;
    background: none;
    border: none;
    padding: 10px 0;
    cursor: pointer;
    transition: color 0.3s, border-bottom 0.3s;
    border-bottom: 3px solid transparent;
}

.news-tab-btn:hover {
    color: var(--primary-red);
}

.news-tab-btn.active {
    color: var(--primary-red);
    border-bottom-color: var(--primary-red);
}

/* 日付セレクト */
.news-date-select-wrapper {
    position: relative;
    min-width: 180px;
}

.news-date-select {
    width: 100%;
    padding: 8px 35px 8px 12px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    appearance: none;
    cursor: pointer;
    font-family: inherit;
}

.news-date-select:focus {
    outline: none;
    border-color: var(--primary-red);
}

.select-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #666;
    pointer-events: none;
}

/* ニュースリスト */
.news-list-full {
    margin-bottom: 50px;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e5e5e5;
    transition: opacity 0.3s, background-color 0.3s;
    text-decoration: none;
    color: inherit;
}

.news-item:hover {
    opacity: 1;
    background-color: #fafafa;
}

.news-date {
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    color: #000;
    width: 100px;
    font-size: 14px;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.news-cat {
    font-size: 11px;
    font-weight: bold;
    color: #fff;
    padding: 4px 10px;
    margin-right: 20px;
    border-radius: 3px;
    flex-shrink: 0;
    background-color: #333;
}

.news-cat.cat-game {
    background-color: var(--primary-red);
}

.news-cat.cat-event {
    background-color: #004098;
}

.news-title {
    flex: 1;
    font-size: 15px;
    font-weight: normal;
    color: #333;
}

.no-news {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 14px;
}

/* ページネーション */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination ul {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination a,
.pagination .page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: all 0.3s;
}

.pagination a:hover {
    background-color: var(--primary-red);
    color: #fff;
    border-color: var(--primary-red);
}

.pagination .current,
.pagination a.active {
    background-color: var(--primary-red);
    color: #fff;
    border-color: var(--primary-red);
}

.pagination .disabled {
    opacity: 0.3;
    pointer-events: none;
}

/* =========================================
   14. お問い合わせフォーム（MW WP Form）
   ========================================= */

/* リード文 */
.contact-lead {
    text-align: center;
    margin-bottom: 50px;
    font-size: 16px;
    line-height: 1.8;
}

/* フォーム全体 */
.form-block {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

/* 各入力項目（MW WP Formが生成するpタグ）を横並びに */
.form-block > p {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    border-bottom: 1px solid #eee;
    padding: 25px 0;
    margin: 0;
}

.form-block > p:first-of-type {
    border-top: 1px solid #eee;
}

/* ラジオボタンの最初のラベル - 左側に配置 */
.form-block > label:first-child {
    float: left;
    width: 320px;
    padding: 25px 20px 25px 0;
    margin: 0;
    font-weight: bold;
    color: #222;
    font-size: 15px;
    box-sizing: border-box;
    line-height: 1.5;
}

/* ラベルの後のbrを非表示 */
.form-block > label:first-child + br {
    display: none;
}

/* ラジオボタンエリア全体 - 上下にボーダーを持つコンテナとして扱う */
.form-block > .mwform-radio-field.horizontal-item:nth-child(3) {
    border-top: 1px solid #eee;
}

.form-block > .mwform-radio-field.horizontal-item {
    display: inline-block;
    margin-right: 20px;
    padding: 25px 0;
    vertical-align: top;
    line-height: 1.5;
}

/* 最後のラジオボタンにボーダー追加 */
.form-block > .mwform-radio-field.horizontal-item:nth-child(5) {
    border-bottom: 1px solid #eee;
    padding-right: 20px;
}

/* hidden inputsを非表示 */
.form-block > input[type="hidden"] {
    display: none;
}

/* 通常のpタグ */
.form-block > p {
    clear: both;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    border-bottom: 1px solid #eee;
    padding: 25px 0;
    margin: 0;
}

/* 最初のpタグにトップボーダー追加 */
.form-block > p:first-of-type {
    border-top: 1px solid #eee;
}

/* pタグ内のラベル - 左側固定幅 */
.form-block > p > label {
    width: 320px;
    padding-right: 20px;
    flex-shrink: 0;
    font-weight: bold;
    color: #222;
    font-size: 15px;
    margin-bottom: 0;
}

/* ラベル */
.form-block > p > label {
    width: 320px;
    padding-right: 20px;
    flex-shrink: 0;
    font-weight: bold;
    color: #222;
    font-size: 15px;
    margin-bottom: 0;
}

/* ラベルの後のbrを非表示 */
.form-block > p > label + br {
    display: none;
}

/* 必須・任意バッジ */
.form-block .required {
    background-color: var(--primary-red);
    color: #fff;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 2px;
    margin-left: 10px;
    font-weight: normal;
    white-space: nowrap;
    flex-shrink: 0;
}

.form-block .any {
    background-color: #999;
    color: #fff;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 2px;
    margin-left: 10px;
    font-weight: normal;
    white-space: nowrap;
    flex-shrink: 0;
}

/* 入力フィールド共通 */
.form-block input[type="text"],
.form-block input[type="email"],
.form-block textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    background-color: #fcfcfc;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-family: inherit;
    margin-bottom: 0;
}

.form-block input[type="text"]:focus,
.form-block input[type="email"]:focus,
.form-block textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    background-color: #fff;
    box-shadow: 0 0 5px rgba(200, 16, 46, 0.2);
}

.form-block textarea {
    height: 200px;
    resize: vertical;
}

/* 電話番号フィールド */
.form-block .mwform-tel-field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-block .mwform-tel-field input {
    width: auto;
    flex: 1;
    max-width: 120px;
}

/* ラジオボタン */
.form-block .mwform-radio-field.horizontal-item {
    display: inline-flex;
    margin-right: 20px;
}

.form-block .mwform-radio-field label {
    display: flex;
    align-items: center;
    font-weight: normal;
    margin-bottom: 0;
    cursor: pointer;
    width: auto;
}

.form-block .mwform-radio-field input[type="radio"] {
    margin-right: 8px;
    transform: scale(1.2);
    accent-color: var(--primary-red);
    cursor: pointer;
}

/* pタグ内のその他の要素をflexアイテムとして配置 */
.form-block > p > input[type="text"],
.form-block > p > input[type="email"],
.form-block > p > textarea,
.form-block > p > .mwform-tel-field {
    flex: 1;
}

/* チェックボックス（個人情報同意） */
.form-block .alert {
    background-color: transparent;
    border: none;
    padding: 0;
    margin: 60px 0 30px;
    text-align: center;
}

.form-block .alert .mwform-checkbox-field {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.form-block .alert input[type="checkbox"] {
    transform: scale(1.5);
    accent-color: var(--primary-red);
    cursor: pointer;
    margin: 0;
}

.form-block .alert label {
    display: inline;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
    margin: 0;
}

.form-block .alert a {
    color: var(--primary-red);
    text-decoration: underline;
}

.form-block .alert a:hover {
    text-decoration: none;
}

/* ボタンエリア */
.form-block > p:last-of-type {
    display: flex;
    text-align: center;
    border: none;
    padding-top: 0;
    justify-content: center;
    gap: 15px;
}

.form-block input[type="submit"],
.form-block button {
    background-color: #333;
    color: #fff;
    border: none;
    width: 300px;
    padding: 15px 0;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.1em;
    margin: 0;
    display: inline-block;
}

.form-block input[type="submit"]:hover,
.form-block button:hover {
    background-color: var(--primary-red);
    opacity: 1;
}

/* 戻るボタン（入力画面・確認画面の両方に対応） */
.form-block .mwform-bback-button,
.form-block button[name="submitBack"] {
    background-color: #666;
}

.form-block .mwform-bback-button:hover,
.form-block button[name="submitBack"]:hover {
    background-color: #999;
}

/* エラーメッセージ */
.form-block .error,
.form-block .mw_wp_form_error {
    color: var(--primary-red);
    font-size: 13px;
    margin-top: 5px;
    display: block;
    width: 100%;
}

/* 送信完了メッセージ */
.mw_wp_form_complete {
    text-align: center;
    padding: 60px 20px;
}

.mw_wp_form_complete p {
    font-size: 16px;
    line-height: 1.8;
}

/* カスタム完了画面 */
.contact-complete-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 20px;
    text-align: center;
}

.complete-icon {
    font-size: 80px;
    color: #28a745;
    margin-bottom: 30px;
    animation: fadeInScale 0.5s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.complete-title {
    font-size: 2rem;
    font-weight: bold;
    color: #222;
    margin-bottom: 30px;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.05em;
}

.complete-message {
    font-size: 16px;
    line-height: 2;
    color: #333;
    margin-bottom: 30px;
}

.complete-note {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 50px;
    padding: 15px 20px;
    background-color: #f9f9f9;
    border-radius: 4px;
    display: inline-block;
}

.complete-button-area {
    margin-top: 40px;
}

.btn-back-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #333;
    color: #fff;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.1em;
}

.btn-back-home:hover {
    background-color: var(--primary-red);
    opacity: 1;
    transform: translateX(-4px);
}

.btn-back-home i {
    transition: transform 0.3s;
}

.btn-back-home:hover i {
    transform: translateX(-4px);
}

@media (max-width: 768px) {
    .contact-complete-wrapper {
        padding: 60px 20px;
    }

    .mw_wp_form .horizontal-item + .horizontal-item {
        margin-left: 0!important;
    }
    
    .complete-icon {
        font-size: 60px;
    }
    
    .complete-title {
        font-size: 1.6rem;
    }
    
    .complete-message {
        font-size: 15px;
    }
    
    .complete-note {
        font-size: 13px;
        display: block;
    }
    
    .btn-back-home {
        width: 100%;
        justify-content: center;
        padding: 15px 20px;
    }
}

/* =========================================
   15. フッター
   ========================================= */
footer,
.site-footer {
    background-color: #333333;
    color: #fff;
    padding: 60px 20px 20px; 
    font-size: 13px; 
    margin-top: auto; 
}

.footer-content {
    max-width: 1200px; 
    margin: 0 auto;
    display: flex; 
    flex-direction: column; 
    align-items: center;    
    text-align: center;
}

.footer-organizer {
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: bold;
}

.footer-supporter {
    font-size: 13px;
    color: #ccc;
    margin-bottom: 25px;
    line-height: 1.6;
}

.footer-muni-logos {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.footer-muni-logos-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
}

.footer-muni-logos a {
    display: block;
    transition: opacity 0.3s;
}

.footer-muni-logos a:hover {
    opacity: 0.7;
}

.footer-muni-logos img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    background-color: #fff;
    border-radius: 4px;
    display: block;
}

.footer-sns-links {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
}

.footer-sns-links a {
    color: #fff;
    font-size: 20px;
    transition: color 0.3s;
}

.footer-sns-links a:hover {
    color: var(--primary-red);
}

.footer-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--primary-red);
}

.nav-divider {
    color: #999;
    font-size: 12px;
}

.footer-menu-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu-list li {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu-list li::after {
    content: "｜";
    color: #999;
    font-size: 12px;
    margin-left: 15px;
}

.footer-menu-list li:last-child::after {
    content: none;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 20px;
    color: #666;
    font-size: 12px;
}

/* =========================================
   12. ページトップボタン
   ========================================= */
.page-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-red);
    color: #fff;
    width: 50px;
    height: 50px;
    transform: rotate(45deg);
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 2000;
    font-size: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.page-top-btn i {
    transform: rotate(-45deg);
}

.page-top-btn.is-active {
    opacity: 1;
    visibility: visible;
}

.page-top-btn:hover {
    opacity: 0.8;
    color: #fff;
}

/* =========================================
   13. レスポンシブ（タブレット: 1024px以下）
   ========================================= */
@media (max-width: 1024px) {
    body {
        padding-top: 80px!important;
    }

    .sticky-nav-container,
    .sticky-nav-container.wp-block-group {
        display: none !important;
    }

    .pc-hero-logo-overlay {
        display: none !important;
    }

    .mobile-header,
    .mobile-header.wp-block-group,
    header.mobile-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        height: 80px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 20px !important;
        margin: 0 !important;
        background-color: #ffffff !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        z-index: 2000 !important;
    }

    .mobile-header-logo,
    .mobile-header-logo.wp-block-group,
    .mobile-header .mobile-header-logo {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        color: #333 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .mobile-header-logo .wp-block-image,
    .mobile-header-logo figure {
        margin: 0 !important;
    }

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

    .mobile-header-logo .wp-block-image a {
        display: block !important;
        line-height: 0 !important;
    }

    .mobile-header-title,
    .mobile-header-title.wp-block-site-title {
        font-family: "Work Sans", sans-serif !important;
        font-size: 16px !important;
        font-weight: bold !important;
        line-height: 1.2 !important;
        color: #333 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .mobile-header-title a {
        color: #333 !important;
        text-decoration: none !important;
    }

    .hamburger {
        display: block;
        position: relative; 
        top: auto; 
        right: auto;
        bottom: auto;
        left: auto;
        width: 30px;
        height: 24px;
        margin: 0;
    }

    .hamburger span {
        background-color: #333; 
    }

    .hamburger.active span {
        background-color: var(--primary-red);
    }

    .tourism-grid-main {
        grid-template-columns: repeat(3, 1fr);
    }

    .page-title-en {
        font-size: 2.5rem;
    }

    .page-title-area {
        padding: 60px 20px;
    }

    .tier-4 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .news-archive-container {
        padding: 50px 20px 60px;
    }
}

/* =========================================
   14. レスポンシブ（スマートフォン: 768px以下）
   ========================================= */
@media (max-width: 768px) {
    .common-title-en {
        font-size: 1.6rem;
    }

    .about-lead {
        font-size: 1.2rem;
        text-align: left;
    }

    .about-text {
        font-size: 0.9rem;
    }

    #about,
    .about-section {
        padding: 40px 20px !important;
    }
    
    .about-inner {
        padding: 0 20px !important;
    }

    .news-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 0;
    }

    .news-date {
        margin-bottom: 5px;
        width: 100%;
    }

    .news-cat {
        margin-bottom: 8px;
        margin-right: 0;
    }

    .sponsor-grid {
        gap: 8px;
    }

    .sponsor-card {
        padding: 5px;
    }

    .tier-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .tier-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .tier-4 {
        grid-template-columns: repeat(3, 1fr);
    }

    .group-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .text-sponsor-list {
        gap: 4px 8px;
    }

    .text-sponsor-list li {
        font-size: 10px;
        line-height: 1.3;
    }

    .text-sponsor-list.small-list li {
        font-size: 10px;
    }

    .tourism-grid-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .tourism-grid-sub {
        gap: 10px;
        margin-top: 10px;
    }

    .tourism-grid-sub .tourism-card-wrapper {
        width: calc((100% - 10px) / 2);
    }

    .tourism-card {
        padding: 0;
    }

    .footer-content {
        gap: 10px;
    }
    
    .footer-muni-logos img {
        width: 70px; 
        height: 70px;
    }

    .footer-muni-logos-inner {
        justify-content: flex-start; 
        max-width: 310px; 
    }

    .page-title-en {
        font-size: 2rem;
    }
    
    .news-archive-container {
        padding: 40px 20px 50px;
    }
    
    /* フィルターエリアのスマホ対応 */
    .news-filter-area {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 15px;
        border-bottom: none;
    }
    
    .news-tabs {
        width: 100%;
        justify-content: flex-start;
        gap: 20px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .news-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .news-tab-btn {
        white-space: nowrap;
        font-size: 14px;
    }
    
    .news-date-select-wrapper {
        width: 100%;
    }
    
    /* ニュースリストのスマホ対応 */
    .news-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .news-date {
        margin-bottom: 5px;
        width: 100%;
    }
    
    .news-cat {
        margin-bottom: 8px;
        margin-right: 0;
    }
    
    /* お問い合わせフォームのスマホ対応 */
    
    /* ラジオボタンのラベルをfloat解除 */
    .form-block > label:first-child {
        float: none;
        width: 100%;
        padding: 20px 0 10px 0;
        border-top: 1px solid #eee;
    }
    
    /* ラジオボタンを縦並びに */
    .form-block > .mwform-radio-field.horizontal-item:nth-child(3) {
        border-top: none;
    }
    
    .form-block > .mwform-radio-field.horizontal-item {
        display: block;
        margin-right: 0;
        padding: 10px 0;
    }
    
    .form-block > .mwform-radio-field.horizontal-item:nth-child(5) {
        border-bottom: 1px solid #eee;
        padding-right: 0;
    }
    
    .form-block > p {
        flex-direction: column;
        padding: 20px 0;
    }
    
    .form-block > p > label {
        width: 100%;
        padding-right: 0;
        margin-bottom: 10px;
    }
    
    .form-block .mwform-tel-field {
        flex-direction: row;
        gap: 5px;
    }
    
    .form-block .mwform-tel-field input {
        max-width: none;
    }
    
    .form-block > p:last-of-type {
        flex-direction: column;
        gap: 10px;
    }
    
    .form-block input[type="submit"],
    .form-block button {
        width: 100%;
        margin: 0;
    }
    
    .form-block input[type="text"],
    .form-block input[type="email"],
    .form-block textarea {
        font-size: 16px;
    }
    
    .form-block .alert .mwform-checkbox-field {
        align-items: flex-start;
    }
    
    .form-block .alert input[type="checkbox"] {
        margin-top: 3px;
    }
}

/* =========================================
   ExUnit ページトップボタンの非表示
   ========================================= */
.veu_pagetop,
.pagetop,
.page_top_btn,
#page_top {
    display: none !important;
}

/* =========================================
   バナーセクション（TOPページ）
   ========================================= */

.banner-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.banner-section .banner-image-pc,
.banner-section .banner-image-sp {
    margin: 0;
}

.banner-section .banner-image-pc a,
.banner-section .banner-image-sp a {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.banner-section .banner-image-pc a:hover,
.banner-section .banner-image-sp a:hover {
    transform: translateY(-4px);
}

.banner-section .banner-image-pc img,
.banner-section .banner-image-sp img {
    width: 100%;
    height: auto;
    display: block;
}

/* PC: SP画像を非表示 */
.banner-section .banner-image-sp {
    display: none;
}

@media (max-width: 768px) {
    .banner-section {
        padding: 0 15px 40px;
    }
    
    /* SP: PC画像を非表示、SP画像を表示 */
    .banner-section .banner-image-pc {
        display: none;
    }
    
    .banner-section .banner-image-sp {
        display: block;
    }
    
    .banner-section .banner-image-sp a {
        border-radius: 4px;
    }
}

/* =========================================
   Aboutページのスタイル
   ========================================= */

.about-lead-block {
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-lead-message {
    font-size: 24px;
    font-weight: bold;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #222;
}

.about-lead-highlight {
    color: var(--primary-red);
    display: block;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.about-lead-text {
    font-size: 16px;
    line-height: 2;
    color: #555;
    text-align: justify;
}

.about-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
    margin-bottom: 100px;
}

.about-item.reverse {
    flex-direction: row-reverse;
}

.about-img-col {
    flex: 1;
    min-width: 320px;
}

.about-img-col .wp-block-image {
    margin: 0;
}

.about-img-col img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.about-text-col {
    flex: 1;
    min-width: 320px;
}

.about-h3 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 25px;
    padding-left: 15px;
    border-left: 5px solid var(--primary-red);
    line-height: 1.4;
    color: #222;
    text-align: left;
}

.about-p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.5em;
    text-align: left;
}

.about-p:last-child {
    margin-bottom: 0;
}

.about-message-area {
    background-color: transparent;
    padding: 40px 0;
    border-radius: 0;
    text-align: center;
}

.about-message-text {
    font-size: 18px;
    font-weight: bold;
    line-height: 2;
    color: #333;
}

@media (max-width: 768px) {
    .about-lead-message {
        font-size: 20px;
        text-align: left;
    }
    
    .about-lead-text {
        text-align: left;
    }
    
    .about-item {
        flex-direction: column !important;
        gap: 30px;
        margin-bottom: 60px;
    }
    
    .about-h3 {
        font-size: 20px;
    }
    
    .about-message-text {
        font-size: 16px;
        text-align: left;
    }
    
    .about-message-area {
        padding: 20px 0;
    }
}

/* =========================================
   出場チーム一覧ページのスタイル
   ========================================= */

.team-category-section {
    margin-bottom: 80px;
}

.team-category-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 25px;
    padding-left: 15px;
    border-left: 5px solid var(--primary-red);
    color: #222;
    display: flex;
    align-items: center;
    gap: 10px;
}

.team-count {
    font-size: 0.8em;
    color: #666;
    font-weight: normal;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.team-card {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 15px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    min-height: 100px;
    position: relative;
}

/* チームカードの左端のアクセントライン */
.team-card::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background-color: var(--primary-red);
    border-radius: 2px;
    transition: background-color 0.3s;
}

a.team-card:hover {
    background-color: #fff0f0;
    border-color: #ffcccc;
    transform: translateY(-2px);
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    opacity: 1;
}

div.team-card {
    background-color: #fff;
    color: #333;
}

.team-region {
    font-size: 11px;
    color: #777;
    font-weight: bold;
    margin-bottom: 5px;
    background-color: #eee;
    padding: 2px 8px;
    border-radius: 20px;
    display: inline-block;
    transition: all 0.3s;
}

a.team-card:hover .team-region {
    background-color: #fff;
    color: var(--primary-red);
}

.team-name {
    font-size: 14px;
    font-weight: bold;
    color: #222;
    line-height: 1.4;
}

/* カテゴリー別カラーオーバーライド */
/* 1. 大学 (University): ブルー */
.category-univ .team-category-title {
    border-left-color: #0d6efd;
}

.category-univ .team-card::before {
    background-color: #0d6efd;
}

.category-univ a.team-card:hover {
    border-color: #b6d4fe;
    background-color: #f0f7ff;
}

.category-univ a.team-card:hover .team-region {
    color: #0d6efd;
}

/* 2. 社会人 (Social): グリーン */
.category-social .team-category-title {
    border-left-color: #198754;
}

.category-social .team-card::before {
    background-color: #198754;
}

.category-social a.team-card:hover {
    border-color: #c3e6cb;
    background-color: #f0fff4;
}

.category-social a.team-card:hover .team-region {
    color: #198754;
}

/* 3. 独立リーグ (Independent): オレンジ */
.category-independent .team-category-title {
    border-left-color: #fd7e14;
}

.category-independent .team-card::before {
    background-color: #fd7e14;
}

.category-independent a.team-card:hover {
    border-color: #ffdfba;
    background-color: #fffbf0;
}

.category-independent a.team-card:hover .team-region {
    color: #fd7e14;
}

/* 4. プロ (Pro): ゴールド */
.category-pro .team-category-title {
    border-left-color: #d4af37;
}

.category-pro .team-card::before {
    background-color: #d4af37;
}

.category-pro a.team-card:hover {
    border-color: #fceea6;
    background-color: #fffff2;
}

.category-pro a.team-card:hover .team-region {
    color: #d4af37;
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .team-card {
        padding: 12px 8px;
        min-height: 90px;
    }
    
    .team-name {
        font-size: 13px;
    }
}

/* =========================================
   会場ページのスタイル
   ========================================= */

.venue-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.venue-card {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: row;
    height: 100%;
}

.venue-img-area {
    width: 282px;
    height: 182px;
    flex-shrink: 0;
    background-color: #f0f0f0;
    overflow: hidden;
}

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

.venue-info {
    flex-grow: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    position: relative;
}

.venue-name {
    font-size: 16px;
    font-weight: bold;
    margin: 0;
    color: #222;
    line-height: 1.4;
    width: 100%;
    padding-bottom: 20px;
}

.btn-map {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background-color: transparent;
    color: #777;
    font-family: 'Oswald', sans-serif;
    font-weight: bold;
    font-size: 14px;
    padding: 5px 0;
    text-decoration: none;
    transition: color 0.3s;
    letter-spacing: 0.05em;
    position: absolute;
    bottom: 15px;
    right: 20px;
}

.btn-map i {
    color: var(--primary-red);
    font-size: 16px;
}

.btn-map:hover {
    color: var(--primary-red);
    opacity: 1;
}

@media (max-width: 768px) {
    .venue-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .venue-card {
        flex-direction: column;
        height: auto;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .venue-img-area {
        width: 100%;
        height: auto;
        aspect-ratio: 282 / 182;
    }
    
    .venue-info {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    
    .venue-name {
        padding-bottom: 0;
        margin-bottom: 10px;
    }
    
    .btn-map {
        position: static;
        align-self: flex-end;
        margin-top: 10px;
    }
}

/* =========================================
   ニュース詳細ページのスタイル
   ========================================= */

.news-heading-section,
.article-body .news-heading-section {
    font-size: 20px;
    font-weight: bold;
    margin: 40px 0 20px;
    padding-left: 15px;
    border-left: 5px solid var(--primary-red);
    color: #222;
    line-height: 1.4;
}

.news-single-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 80px;
    min-height: 500px;
    background-color: #fff;
}

/* 記事ヘッダー */
.article-header {
    margin-bottom: 40px;
    border-bottom: 2px solid #eee;
    padding-bottom: 20px;
}

.article-meta {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.article-title {
    font-size: 28px;
    font-weight: bold;
    line-height: 1.4;
    margin: 0;
    color: #111;
}

/* 記事本文 */
.article-body {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.article-body p {
    margin-bottom: 1.8em;
}

/* 本文内のリンクスタイル */
.article-body a {
    color: #a40001;
    font-weight: bold;
    text-decoration: underline;
    transition: opacity 0.3s;
    word-break: break-all;
}

.article-body a:hover {
    opacity: 0.7;
    text-decoration: none;
}

/* リンクの前に矢印アイコンを配置 */
.article-body a::before {
    content: '\f138';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 6px;
    color: #a40001;
    display: inline-block;
    vertical-align: middle;
    transform: translateY(-1px);
}

.article-body .apply-btn{
    color: #fff!important;
    text-decoration: none!important;
}

.article-body .apply-btn::before{
    color: #fff!important;
}

.article-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* 記事内のアライメントスタイル（WPブロックエディター用） */
.article-body .aligncenter {
    display: table;
    margin-left: auto;
    margin-right: auto;
}

.article-body .alignleft {
    float: left;
    margin-right: 1em;
    margin-bottom: 1em;
}

.article-body .alignright {
    float: right;
    margin-left: 1em;
    margin-bottom: 1em;
}

/* 本文中の見出しスタイル */
.article-body h2, 
.article-body h3,
.article-body h4 {
    font-size: 20px;
    font-weight: bold;
    margin: 40px 0 20px;
    color: #222;
    line-height: 1.4;
}

.article-body h4 {
    font-size: 18px;
    margin: 30px 0 15px;
}

/* 記事フッター（ボタンエリア） */
.article-footer {
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid #eee;
    padding-top: 60px;
}

.btn-back {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 50px;
    background-color: #333;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid #333;
    border-radius: 4px;
}

.btn-back:hover {
    background-color: #fff;
    color: #333;
    opacity: 1;
}

@media (max-width: 768px) {
    .news-single-container {
        padding: 0 20px 40px;
    }
    .article-title {
        font-size: 22px;
    }
    
    .article-body {
        font-size: 15px;
    }
    
    .article-body h2,
    .article-body h3,
    .article-body h4 {
        font-size: 18px;
        margin-top: 30px;
    }
}

/* =========================================
   ボランティア募集ページ・共通パーツ
   ========================================= */



.volunteer-lead {
    text-align: center;
    margin-bottom: 60px;
}

.volunteer-lead h2,
.volunteer-lead-h2 {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-red);
    margin-bottom: 20px;
    line-height: 1.6;
}

.volunteer-lead p,
.volunteer-lead-p {
    font-size: 16px;
    line-height: 2;
    color: #333;
}

/* article-body内でも色を優先 */
.article-body .volunteer-lead h2,
.article-body .volunteer-lead-h2 {
    color: var(--primary-red);
}

.article-body .volunteer-lead p,
.article-body .volunteer-lead-p {
    color: #333;
}

.volunteer-content {
    max-width: 900px;
    margin: 0 auto;
}

/* セクション共通 */
.volunteer-section {
    margin-bottom: 50px;
}

.volunteer-h3 {
    font-size: 20px;
    font-weight: bold;
    color: #222;
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 5px solid var(--primary-red);
    line-height: 1.4;
}

/* 定義リストスタイル */
.volunteer-dl {
    width: 100%;
    border-top: 1px solid #eee;
}

.volunteer-row {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #eee;
}

.volunteer-dt {
    width: 200px;
    background-color: #f9f9f9;
    padding: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.volunteer-dd {
    width: calc(100% - 200px);
    padding: 20px;
    margin: 0;
}

.volunteer-dd ul {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
}

.volunteer-dd li {
    margin-bottom: 5px;
}

/* 補足事項のリスト */
.volunteer-notes {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
    color: #333;
    line-height: 1.8;
}

.volunteer-notes li {
    margin-bottom: 8px;
}

/* 応募ボタンエリア */
.apply-area {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.apply-btn {
    display: inline-block;
    background-color: var(--primary-red);
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    padding: 20px 60px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(200, 16, 46, 0.3);
}



.apply-btn:hover {
    background-color: #a40001;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(200, 16, 46, 0.4);
    opacity: 1;
}

.apply-btn i {
    margin-left: 10px;
}

.contact-tel {
    margin-top: 20px;
    font-size: 16px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .volunteer-lead-h2 {
        font-size: 20px;
    }
    
    .volunteer-row {
        flex-direction: column;
    }
    
    .volunteer-dt {
        width: 100%;
        border-bottom: 1px solid #fff;
    }
    
    .volunteer-dd {
        width: 100%;
    }
    
    .apply-btn {
        padding: 15px 40px;
        font-size: 18px;
        width: 100%;
    }
}

/* =========================================
   近日公開（Coming Soon）のスタイル
   ========================================= */

.coming-soon-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px 100px;
    min-height: 40vh;
}

.cs-main-title {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--primary-red);
    margin-bottom: 30px;
    letter-spacing: 0.1em;
    line-height: 1.2;
}

.cs-sub-text {
    font-size: 1rem;
    color: #333;
    max-width: 640px;
    width: 100%;
    line-height: 2;
}

@media (max-width: 768px) {
    .cs-main-title {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }
    
    .cs-sub-text {
        font-size: 0.9rem;
    }
}

/* =========================================
   動画配信ページのスタイル
   ========================================= */

.movie-lead-section {
    text-align: center;
    margin-bottom: 80px;
    background-color: #f9f9f9;
    padding: 50px 20px;
    border-radius: 8px;
}

.movie-lead-text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
    color: #333;
}

/* YouTube公式チャンネルボタン */
.youtube-btn-wrapper {
    display: flex;
    justify-content: center;
}

.youtube-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    max-width: 600px;
    padding: 20px 30px;
    background: linear-gradient(135deg, #FF0000 0%, #cc0000 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(200, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.youtube-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(200, 0, 0, 0.4);
    opacity: 1;
}

.youtube-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.5s;
}

.youtube-btn:hover::after {
    left: 100%;
}

.btn-icon {
    font-size: 32px;
}

.btn-text {
    font-size: 20px;
    font-weight: bold;
    font-family: "Yu Gothic", sans-serif;
    letter-spacing: 0.05em;
}

.btn-arrow {
    font-size: 16px;
    margin-left: auto;
}

/* 注意事項セクション */
.guideline-section {
    margin-top: 60px;
    border-top: 1px dashed #ddd;
    padding-top: 60px;
}

.guideline-h3 {
    font-size: 20px;
    font-weight: bold;
    color: #222;
    margin-bottom: 25px;
    padding-left: 15px;
    border-left: 5px solid var(--primary-red);
    line-height: 1.4;
    text-align: left;
}

.guideline-content {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
}

.guideline-content p {
    margin-bottom: 1.5em;
    text-align: left;
}

.guideline-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .movie-lead-section {
        padding: 30px 15px;
    }
    
    .youtube-btn {
        padding: 15px 20px;
        gap: 10px;
    }
    
    .btn-icon {
        font-size: 24px;
    }
    
    .btn-text {
        font-size: 15px;
    }
    
    .btn-arrow {
        font-size: 14px;
    }
}

/* =========================================
   固定ページ（一般ページ）のスタイル
   ========================================= */

/* 固定ページのコンテナ */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

/* entry-bodyクラスがある場合も同様 */
.entry-body {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* 固定ページのレスポンシブ */
@media (max-width: 768px) {
    .container,
    .entry-body {
        padding: 0 20px 40px;
    }
}

/* =========================================
   試合スケジュール・結果ページ
   ========================================= */

/* VK Blocks Grid Column */
.vk_gridColumn {
    width: 100%;
}

.vk_gridColumn .row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.vk_gridColumn_item {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

/* 日付タブボタン用のグリッドアイテムスタイル */
.vk_gridColumn_item.col-4,
.vk_gridColumn_item.col-sm-4,
.vk_gridColumn_item.col-md-3,
.vk_gridColumn_item.col-lg-2,
.vk_gridColumn_item.col-xl-2,
.vk_gridColumn_item.col-xxl-2 {
    margin-bottom: 15px;
}

/* Grid Column Sizes */
.col-12 { width: 100%; }
.col-6 { width: 50%; }
.col-4 { width: 33.333333%; }

/* Grid Column Item Inner */
.vk_gridColumn_item_inner {
    width: 100%;
    height: 100%;
}

/* Border Line (試合カード用) */
.border-line .vk_gridColumn_item_inner {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    transition: box-shadow 0.3s ease;
}

.border-line .vk_gridColumn_item_inner:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* VK Block Margin */
.vk_block-margin-md--margin-bottom {
    margin-bottom: 30px;
}

/* WordPress Block Buttons */
.wp-block-buttons {
    display: flex;
    gap: 10px;
    margin: 0;
}

.wp-block-buttons.is-content-justification-center {
    justify-content: center;
}

.wp-block-buttons.has-custom-font-size {
    font-size: inherit;
}

.wp-block-buttons.has-small-font-size {
    font-size: 14px;
}

.wp-block-buttons.is-layout-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.wp-block-button {
    margin: 0;
}

.wp-block-button.has-custom-width {
    width: 100%;
}

.wp-block-button__width-100 {
    width: 100%;
}

/* 日付タブボタンのスタイル（赤） */
.wp-block-button__link {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background-color: #c8102e;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    font-weight: 700;
    box-sizing: border-box;
    font-size: 16px;
}

.wp-block-button__link:hover {
    background-color: #a00d25;
    color: #fff;
}

/* ボタンのactive状態 */
.wp-block-button__link.active {
    background-color: #8a0a1f;
    color: #fff;
}

/* wp-element-buttonクラスがついた場合も同様 */
.wp-element-button {
    display: block;
    width: 100%;
}

/* 試合カード内のボタングリッド */
.border-line .vk_gridColumn {
    margin-top: 10px;
}

.border-line .vk_gridColumn .vk_gridColumn_item {
    padding-left: 5px;
    padding-right: 5px;
}

/* 試合カード内のボタンは赤ではなくグレー系にリセット */
.border-line .wp-block-button__link {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
}

.border-line .wp-block-button__link:hover {
    background-color: #e0e0e0;
    color: #333;
}

/* 試合結果ボタン（赤） */
.wp-block-button.kekka .wp-block-button__link {
    background-color: #c8102e;
    color: #fff;
    border-color: #c8102e;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 700;
}

.wp-block-button.kekka .wp-block-button__link:hover {
    background-color: #a00d25;
    border-color: #a00d25;
}

/* 動画ボタン（グレー） */
.border-line .wp-block-buttons .wp-block-button:not(.kekka) .wp-block-button__link {
    background-color: #666;
    color: #fff;
    border: none;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
}

.border-line .wp-block-buttons .wp-block-button:not(.kekka) .wp-block-button__link:hover {
    background-color: #444;
}

/* 非表示ボタン（vk_hiddenクラス） */
.border-line .wp-block-buttons .wp-block-button.vk_hidden .wp-block-button__link {
    opacity: 0.3;
    pointer-events: none;
    cursor: not-allowed;
}

/* WordPress Block Heading Styles */
.wp-block-heading.is-style-vk-heading-both_ends {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    font-weight: 400;
}

.wp-block-heading.is-style-vk-heading-plain {
    background-color: #eeeeee;
    padding: 12px 16px;
    margin: 15px 0;
    font-weight: 700;
    font-size: 16px;
    color: #333;
}

/* 試合カード内の見出しスタイル */
.border-line .wp-block-heading {
    margin-top: 0;
}

.border-line .wp-block-heading:first-child {
    margin-top: 0;
}

/* 会場情報などの小見出し */
.border-line h5.wp-block-heading {
    font-size: 13px;
    color: #666;
    margin: 8px 0;
    font-weight: 400;
}

/* ピックアップゲームなどの追加情報 */
.border-line p.has-small-font-size {
    margin: 8px 0;
    color: #333;
}

/* 赤文字（天候不良など） */
.border-line p.has-vivid-red-color {
    color: #f04d4d;
    font-weight: 700;
}

/* ページ見出し（日付見出し） */
.entry-body h2.wp-block-heading {
    font-size: 24px;
    font-weight: 700;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #333;
}

/* VK Hidden Classes (レスポンシブ非表示) */
.vk_hidden {
    display: none !important;
}

/* Small Font Size */
.has-small-font-size {
    font-size: 13px;
}

.has-regular-font-size {
    font-size: 16px;
}

/* Spacer Block */
.wp-block-spacer {
    display: block;
}

/* Responsive Styles for Match Schedule */
@media (min-width: 1200px) {
    .col-xxl-2 { width: 16.666667%; }
    .col-xxl-4 { width: 33.333333%; }
}

@media (min-width: 992px) {
    .col-xl-2 { width: 16.666667%; }
    .col-xl-4 { width: 33.333333%; }
    .col-lg-2 { width: 16.666667%; }
    .col-lg-4 { width: 33.333333%; }
}

@media (min-width: 768px) and (max-width: 991px) {
    .col-md-3 { width: 25%; }
    .col-md-4 { width: 33.333333%; }
    .col-md-6 { width: 50%; }
}

@media (max-width: 767px) {
    .col-sm-4 { width: 33.333333%; }
    .col-sm-6 { width: 50%; }
    
    .vk_gridColumn .row {
        margin-left: -8px;
        margin-right: -8px;
    }
    
    .vk_gridColumn_item {
        padding-left: 8px;
        padding-right: 8px;
    }
    
    /* 日付タブボタンのスマホ対応 */
    .vk_gridColumn_item.col-4,
    .vk_gridColumn_item.col-sm-4 {
        margin-bottom: 10px;
    }
    
    .wp-block-button__link {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    /* 試合カードのスマホ対応 */
    .border-line .vk_gridColumn_item_inner {
        padding: 20px 15px !important;
    }
    
    .border-line .vk_gridColumn .vk_gridColumn_item {
        padding-left: 3px;
        padding-right: 3px;
    }
    
    .border-line .wp-block-buttons .wp-block-button .wp-block-button__link {
        padding: 6px 8px;
        font-size: 12px;
    }
    
    .wp-block-heading.is-style-vk-heading-both_ends {
        font-size: 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .wp-block-heading.is-style-vk-heading-plain {
        font-size: 14px;
        padding: 10px 12px;
    }
    
    .border-line h5.wp-block-heading {
        font-size: 12px;
    }
    
    .entry-body h2.wp-block-heading {
        font-size: 20px;
        margin: 30px 0 15px;
    }
}
