/*
Theme Name: Lightning Child
Theme URI: 
Template: lightning
Description: 
Author: 
Tags: 
Version: 0.6.0
*/

@charset "UTF-8";

/* ===================================================
   邱頑･繝ｻ髢句ぎ諠・ｱ・医い繝ｩ繝ｼ繝医せ繧ｿ繧､繝ｫ & 荳ｦ縺ｳ鬆・怙驕ｩ蛹厄ｼ・   =================================================== */
.wp-block-latest-posts.urgent-news-alert {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 2.5rem 0 !important;
}

.wp-block-latest-posts.urgent-news-alert > li {
    display: flex !direction: column;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    border: 2px solid #ef4444 !important;
    background-color: #fef2f2 !important;
    border-radius: 8px !important;
    padding: 1.25rem 1.5rem !important;
    margin: 0 !important;
    box-shadow: 0 4px 6px -1px rgba(239, 68, 68, 0.1), 0 2px 4px -2px rgba(239, 68, 68, 0.1);
}

/* 1. 荳逡ｪ荳奇ｼ壹ヰ繝・ず ・・譌･莉・*/
.wp-block-latest-posts.urgent-news-alert .wp-block-latest-posts__post-date {
    order: 1 !important;
    display: flex !important;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem !important;
    color: #64748b !important;
    margin: 0 0 0.5rem 0 !important;
}

/* 襍､縺・檎ｷ頑･繝ｻ髢句ぎ諠・ｱ縲阪ヰ繝・ず */
.wp-block-latest-posts.urgent-news-alert .wp-block-latest-posts__post-date::before {
    content: "邱頑･繝ｻ髢句ぎ諠・ｱ";
    display: inline-block;
    background-color: #ef4444;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

/* 2. 縺昴・谺｡・壹ち繧､繝医Ν */
.wp-block-latest-posts.urgent-news-alert .wp-block-latest-posts__post-title {
    order: 2 !important;
    display: block !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: #991b1b !important;
    text-decoration: none !important;
    line-height: 1.5 !important;
    margin: 0 0 0.6rem 0 !important;
}

.wp-block-latest-posts.urgent-news-alert .wp-block-latest-posts__post-title:hover {
    color: #dc2626 !important;
    text-decoration: underline !important;
}

/* 3. 譛蠕鯉ｼ壽悽譁・・謚懃ｲ・*/
.wp-block-latest-posts.urgent-news-alert .wp-block-latest-posts__post-excerpt {
    order: 3 !important;
    font-size: 0.92rem !important;
    color: #334155 !important;
    line-height: 1.65 !important;
    margin: 0 !important;
    background-color: #ffffff !important;
    padding: 0.75rem 1rem !important;
    border-radius: 6px !important;
    border-left: 4px solid #ef4444 !important;
}

.wp-block-latest-posts.urgent-news-alert .wp-block-latest-posts__read-more {
    display: inline-block;
    margin-left: 0.5rem;
    color: #ef4444 !important;
    font-weight: 600;
    text-decoration: none !important;
}

.wp-block-latest-posts.urgent-news-alert .wp-block-latest-posts__read-more:hover {
    text-decoration: underline !important;
}

/* ===================================================
   繝医ャ繝励・繝ｼ繧ｸ 3螟ｧPR繧ｫ繝ｼ繝・繧ｹ繧ｿ繧､繝ｫ
   =================================================== */
.home-pr-columns .wp-block-column {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 2rem 1.5rem;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


/* ===================================================
   大会暦年成績表 スタイル
   =================================================== */
.records-page-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #182b49;
  border-left: 5px solid #182b49;
  padding-left: 0.75rem;
  margin-top: 0;
  margin-bottom: 1rem;
  line-height: 1.4;
  word-break: break-word;
}
.president-page-title {
  border-left-color: #047857 !important;
}

.editor-styles-wrapper .championship-edition-header,
.championship-edition-header {
  background-color: #182b49 !important;
  color: #ffffff !important;
  padding: 12px 18px !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  border-radius: 6px 6px 0 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  border: none !important;
}
.editor-styles-wrapper .president-edition-header,
.president-edition-header {
  background-color: #065f46 !important;
  color: #ffffff !important;
  padding: 12px 18px !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  border-radius: 6px 6px 0 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  border: none !important;
}

/* テーブルスタイル (wp-block-table) */
.wp-block-table.championship-table {
  margin-top: 0 !important;
  margin-bottom: 2rem !important;
  border: 1px solid #cbd5e1 !important;
  border-top: none !important;
  border-radius: 0 0 6px 6px !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  background: #ffffff !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
}
.wp-block-table.championship-table table {
  width: 100% !important;
  table-layout: auto !important;
  border-collapse: collapse !important;
  font-size: 0.9rem !important;
}
.wp-block-table.championship-table th {
  background-color: #f1f5f9 !important;
  color: #334155 !important;
  font-weight: 600 !important;
  padding: 10px 14px !important;
  border-bottom: 2px solid #cbd5e1 !important;
  white-space: nowrap !important;
}
.wp-block-table.championship-table td {
  padding: 11px 14px !important;
  border-bottom: 1px solid #e2e8f0 !important;
  white-space: nowrap !important;
}
.wp-block-table.championship-table th:nth-child(2),
.wp-block-table.championship-table td:nth-child(2) {
  text-align: center !important;
}
/* 🏆 優勝チームの自動装飾（太字・オレンジゴールド） */
.wp-block-table.championship-table td:nth-child(3) {
  font-weight: 700 !important;
  color: #d97706 !important;
}
.wp-block-table.championship-table tbody tr:nth-child(even) {
  background-color: #f8fafc !important;
}
.wp-block-table.championship-table tbody tr:hover td {
  background-color: #f0f9ff !important;
}

/* アコーディオン (wp-block-details) */
details.wp-block-details.era-accordion {
  margin-bottom: 2rem !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  background-color: #f8fafc !important;
  overflow: hidden !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04) !important;
  padding: 0 !important;
}
details.wp-block-details.era-accordion summary {
  padding: 1.1rem 1.4rem !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  background-color: #f8fafc !important;
  color: #182b49 !important;
  border-bottom: 1px solid transparent !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  list-style: none !important;
}
details.wp-block-details.era-accordion summary::-webkit-details-marker {
  display: none !important;
}
details.wp-block-details.era-accordion summary::after {
  content: "＋ 開く" !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: #0284c7 !important;
  background: #e0f2fe !important;
  padding: 0.25rem 0.75rem !important;
  border-radius: 20px !important;
  flex-shrink: 0 !important;
  margin-left: 0.5rem !important;
}
details.wp-block-details.era-accordion[open] summary {
  background-color: #eff6ff !important;
  border-bottom: 2px solid #bfdbfe !important;
  color: #1e40af !important;
}
details.wp-block-details.era-accordion[open] summary::after {
  content: "ー 閉じる" !important;
  background: #dbeafe !important;
  color: #1e40af !important;
}
details.wp-block-details.era-accordion > :not(summary) {
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
}
details.wp-block-details.era-accordion > :last-child {
  padding-bottom: 1.5rem !important;
}

@media (max-width: 768px) {
  .records-page-title {
    font-size: 1.25rem !important;
  }
  details.wp-block-details.era-accordion summary {
    font-size: 1rem !important;
    padding: 0.85rem 1rem !important;
  }
  details.wp-block-details.era-accordion summary::after {
    font-size: 0.8rem !important;
    padding: 0.2rem 0.6rem !important;
  }
  details.wp-block-details.era-accordion > :not(summary) {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
}

/* ===================================================
   大会ワンブロック（core/group）用補助スタイル
   =================================================== */
.editor-styles-wrapper .wp-block-details .wp-block-group,
.wp-block-details.era-accordion .wp-block-group,
.editor-styles-wrapper .wp-block-group.edition-block,
.wp-block-group.edition-block {
  margin-top: 3.5rem !important;
  margin-bottom: 2rem !important;
}
.editor-styles-wrapper .wp-block-details .wp-block-group:first-of-type,
.wp-block-details.era-accordion .wp-block-group:first-of-type,
.editor-styles-wrapper .wp-block-group.edition-block:first-of-type,
.wp-block-group.edition-block:first-of-type {
  margin-top: 2rem !important;
}
.edition-note-box {
  border-left: 4px solid #f59e0b !important;
  background-color: #fef3c7 !important;
  color: #92400e !important;
  padding: 10px 14px !important;
  border-radius: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  font-size: 0.9rem !important;
  line-height: 1.6 !important;
}
.edition-cancelled-notice {
  text-align: center !important;
  color: #dc2626 !important;
  font-weight: 700 !important;
  padding: 16px !important;
  border: 1px dashed #fca5a5 !important;
  background: #ffffff !important;
  border-radius: 0 0 6px 6px !important;
  margin-top: 0 !important;
  margin-bottom: 1.5rem !important;
}

/* ===================================================
   協会規約（アコーディオン）スタイル
   =================================================== */
details.statute-accordion,
.editor-styles-wrapper details.statute-accordion {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background-color: #ffffff;
    margin-top: 1.25rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

details.statute-accordion summary,
.editor-styles-wrapper details.statute-accordion summary {
    font-size: 1.05rem;
    font-weight: 700;
    color: #182b49;
    padding: 0.9rem 1.1rem;
    background-color: #f8fafc;
    cursor: pointer;
    border-bottom: 1px solid transparent;
    transition: background-color 0.2s ease;
    user-select: none;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    box-sizing: border-box;
}

details.statute-accordion summary::-webkit-details-marker,
.editor-styles-wrapper details.statute-accordion summary::-webkit-details-marker {
    display: none;
}

details.statute-accordion summary::after,
.editor-styles-wrapper details.statute-accordion summary::after {
    content: "＋ 規約を見る";
    font-size: 0.85rem;
    font-weight: 600;
    color: #0284c7;
    background-color: #e0f2fe;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

details.statute-accordion[open] summary,
.editor-styles-wrapper details.statute-accordion[open] summary {
    background-color: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
}

details.statute-accordion[open] summary::after,
.editor-styles-wrapper details.statute-accordion[open] summary::after {
    content: "▲ 規約を閉じる";
    color: #475569;
    background-color: #e2e8f0;
}

details.statute-accordion {
    padding: 0 !important;
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.85;
}

details.statute-accordion[open] {
    padding-bottom: 1.5rem !important;
}

details.statute-accordion > :not(summary),
.editor-styles-wrapper details.statute-accordion > :not(summary) {
    margin-left: 1.75rem !important;
    margin-right: 1.75rem !important;
}

details.statute-accordion h4.statute-chapter-title,
.editor-styles-wrapper details.statute-accordion h4.statute-chapter-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #182b49;
    background-color: #f1f5f9;
    padding: 0.4rem 0.75rem;
    border-left: 4px solid #182b49;
    border-radius: 2px;
    margin-top: 1.75rem !important;
    margin-bottom: 0.75rem !important;
}

details.statute-accordion h4.statute-chapter-title:first-of-type,
.editor-styles-wrapper details.statute-accordion h4.statute-chapter-title:first-of-type {
    margin-top: 1.5rem !important;
}

details.statute-accordion ol,
.editor-styles-wrapper details.statute-accordion ol {
    margin-top: 0.5rem !important;
    margin-bottom: 1rem !important;
    padding-left: 1.5rem !important;
}

details.statute-accordion ol li,
.editor-styles-wrapper details.statute-accordion ol li {
    margin-bottom: 0.35rem;
}

.statute-officers-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.2rem;
    list-style: none !important;
    padding: 0.75rem 1rem !important;
    margin: 0.5rem 0 1rem 0 !important;
    background-color: #f8fafc;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    font-size: 0.9rem;
}

.statute-officers-list li {
    margin: 0 !important;
}

.statute-history {
    background-color: #f8fafc;
    border-radius: 6px;
    padding: 0.75rem 1.25rem;
    margin-top: 0.75rem !important;
    border-left: 3px solid #94a3b8;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.6;
}

.statute-history p {
    margin: 0;
}

@media (max-width: 600px) {
    details.statute-accordion summary,
    .editor-styles-wrapper details.statute-accordion summary {
        font-size: 0.95rem;
        padding: 0.75rem 0.85rem;
    }
    details.statute-accordion summary::after,
    .editor-styles-wrapper details.statute-accordion summary::after {
        font-size: 0.75rem;
        padding: 0.2rem 0.5rem;
    }
    details.statute-accordion > :not(summary),
    .editor-styles-wrapper details.statute-accordion > :not(summary) {
        margin-left: 1rem !important;
        margin-right: 1rem !important;
    }
    details.statute-accordion {
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   年間行事・大会日程表 スタイル
   ========================================================================== */
.schedule-month-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 1rem 0 1.75rem 0;
    padding: 0.6rem 0.8rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}
.schedule-month-nav a {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: #ffffff;
    color: #0284c7 !important;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
}
.schedule-month-nav a:hover {
    background: #0284c7;
    color: #ffffff !important;
    border-color: #0284c7;
}

h4.schedule-month-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #182b49;
    border-left: 4px solid #0284c7;
    padding: 0.3rem 0.6rem;
    margin-top: 1.75rem !important;
    margin-bottom: 0.5rem !important;
    background: #f1f5f9;
    border-radius: 0 4px 4px 0;
}

.wp-block-table.schedule-table {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
    margin-top: 0.5rem !important;
    margin-bottom: 1.5rem !important;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.wp-block-table.schedule-table table {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed !important;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.wp-block-table.schedule-table th {
    background-color: #f1f5f9;
    color: #334155;
    font-weight: 600;
    padding: 9px 10px;
    border-bottom: 2px solid #cbd5e1;
    word-break: break-word !important;
}
.wp-block-table.schedule-table td {
    padding: 10px 10px;
    border-bottom: 1px solid #e2e8f0;
    line-height: 1.5;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
}

.wp-block-table.schedule-table tr.row-association {
    background-color: #eff6ff !important;
}
.wp-block-table.schedule-table tr.row-association td:first-child {
    border-left: 3px solid #0284c7;
}

/* 区分バッジ */
.badge-association {
    display: inline-block;
    background-color: #dbeafe;
    color: #1e40af;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}
.badge-pref {
    display: inline-block;
    background-color: #f3e8ff;
    color: #6b21a8;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}
.badge-other {
    display: inline-block;
    background-color: #f1f5f9;
    color: #64748b;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 0.78rem;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .schedule-month-nav {
        gap: 0.3rem;
        padding: 0.5rem;
    }
    .schedule-month-nav a {
        padding: 0.25rem 0.5rem;
        font-size: 0.8rem;
    }
    .wp-block-table.schedule-table table {
        font-size: 0.82rem;
    }
    .wp-block-table.schedule-table th,
    .wp-block-table.schedule-table td {
        padding: 8px 6px;
    }
    .wp-block-table.schedule-table th:first-child,
    .wp-block-table.schedule-table td:first-child {
        width: 31% !important;
    }
    .wp-block-table.schedule-table th:nth-child(2),
    .wp-block-table.schedule-table td:nth-child(2) {
        width: 14% !important;
        text-align: center;
        padding-left: 1px;
        padding-right: 1px;
    }
    .wp-block-table.schedule-table th:last-child,
    .wp-block-table.schedule-table td:last-child {
        width: 55% !important;
    }
    .badge-association,
    .badge-pref,
    .badge-other {
        font-size: 0.7rem;
        padding: 1px 4px;
        margin-right: 2px;
        vertical-align: 1px;
    }
}

/* ===================================================
   グラウンド案内（球場マップ・アクセス）スタイル
   =================================================== */
.ground-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0 2rem 0;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}
.ground-nav a {
    display: inline-block;
    padding: 0.35rem 0.8rem;
    background: #ffffff;
    color: #1e3a8a;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}
.ground-nav a:hover {
    background: #182b49;
    color: #ffffff;
    border-color: #182b49;
}
.ground-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04);
}
.ground-card-header {
    border-bottom: 2px solid #182b49;
    padding-bottom: 0.6rem;
    margin-bottom: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.ground-card-title {
    font-size: 1.25rem !important;
    font-weight: 700;
    color: #182b49;
    margin: 0 !important;
}
.ground-badge {
    background: #dbeafe;
    color: #1e40af;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}
.wp-block-table.ground-table {
    margin-bottom: 1.25rem !important;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    overflow: hidden;
}
.wp-block-table.ground-table table {
    width: 100% !important;
    border-collapse: collapse;
}
.wp-block-table.ground-table th {
    width: 25%;
    background: #f8fafc;
    padding: 9px 12px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #334155;
    border: 1px solid #cbd5e1;
    vertical-align: middle;
}
.wp-block-table.ground-table td {
    padding: 9px 12px;
    font-size: 0.9rem;
    color: #1e293b;
    border: 1px solid #cbd5e1;
    line-height: 1.55;
}
.ground-map-box {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 240px;
    max-height: 360px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 1px solid #cbd5e1;
}
.ground-map-box iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
.ground-btn-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #0284c7;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.55rem 1.15rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s;
    box-shadow: 0 2px 4px rgba(2, 132, 199, 0.2);
}
.ground-btn-nav:hover {
    background: #0369a1;
}
.ground-note {
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    padding: 0.75rem 1rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #92400e;
    border-radius: 0 6px 6px 0;
    line-height: 1.5;
}
@media (max-width: 600px) {
    .ground-card {
        padding: 1rem;
    }
    .wp-block-table.ground-table th {
        width: 30%;
        padding: 7px 8px;
        font-size: 0.82rem;
    }
    .wp-block-table.ground-table td {
        padding: 7px 8px;
        font-size: 0.85rem;
    }
    .ground-map-box {
        min-height: 200px;
    }
}

/* 日程表・まとめ内の会場名リンク */
.schedule-table a.ground-link,
.era-accordion a.ground-link {
    color: #0284c7 !important;
    text-decoration: underline !important;
    font-weight: 600;
    transition: color 0.15s ease;
}
.schedule-table a.ground-link:hover,
.era-accordion a.ground-link:hover {
    color: #0369a1 !important;
    text-decoration: none !important;
}

/* 役員用大会お知らせ自動生成カード */
.tournament-notice-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.tn-header {
    border-bottom: 2px solid #0284c7;
    padding-bottom: 0.75rem;
    margin-bottom: 1.25rem;
}
.tn-badge {
    display: inline-block;
    background: #0284c7;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 0.35rem;
}
.tn-title {
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    color: #182b49 !important;
    margin: 0 !important;
}
.tn-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}
.tn-table th {
    width: 22%;
    background: #f1f5f9;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    color: #334155;
    font-weight: 600;
    vertical-align: middle;
}
.tn-table td {
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    color: #1e293b;
    vertical-align: middle;
}
.tn-venues {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tn-venue-btn {
    display: inline-flex;
    align-items: center;
    background: #f8fafc;
    color: #0284c7 !important;
    border: 1px solid #bae6fd;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
}
.tn-venue-btn:hover {
    background: #e0f2fe;
    border-color: #0284c7;
    color: #0369a1 !important;
}
.tn-file-box {
    background: #f8fafc;
    border: 1px dashed #94a3b8;
    border-radius: 8px;
    padding: 1.25rem;
    text-align: center;
}
.tn-file-label {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-weight: 700;
    color: #334155;
    font-size: 0.95rem;
}
.tn-pdf-btn {
    display: inline-block;
    background: #0284c7;
    color: #ffffff !important;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 2px 4px rgba(2, 132, 199, 0.3);
    transition: all 0.2s ease;
}
.tn-pdf-btn:hover {
    background: #0369a1;
    box-shadow: 0 4px 6px rgba(2, 132, 199, 0.4);
    transform: translateY(-1px);
}
.tn-img-wrap {
    text-align: center;
}
.tn-img {
    max-width: 100%;
    height: auto;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.tn-img-hint {
    display: block;
    margin-top: 6px;
    font-size: 0.8rem;
    color: #64748b;
}
@media (max-width: 600px) {
    .tournament-notice-card {
        padding: 1rem;
    }
    .tn-table th, .tn-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    .tn-table th {
        border-bottom: none;
        padding-bottom: 4px;
    }
    .tn-pdf-btn {
        width: 100%;
        box-sizing: border-box;
        padding: 10px 16px;
        font-size: 0.95rem;
    }
}

/* ===================================================
   参加・募集案内（/recruit/）専用スタイル
   （Gutenbergブロック無効化エラーを根絶しつつ美しいデザインを完全再現）
   =================================================== */

/* 1. ステップ案内ボックス */
.recruit-step-box {
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    padding: 25px !important;
    background-color: #f8fafc !important;
    margin-bottom: 25px !important;
}

.recruit-step-box .recruit-step-title-team {
    color: #0284c7 !important;
    font-size: 1.08rem !important;
    font-weight: 700 !important;
    margin-top: 0 !important;
    margin-bottom: 4px !important;
    border-left: none !important;
    padding-left: 0 !important;
}

.recruit-step-box .recruit-step-title-umpire {
    color: #d97706 !important;
    font-size: 1.08rem !important;
    font-weight: 700 !important;
    margin-top: 0 !important;
    margin-bottom: 4px !important;
    border-left: none !important;
    padding-left: 0 !important;
}

.recruit-step-box p {
    font-size: 0.95rem !important;
    color: #334155 !important;
    line-height: 1.65 !important;
    margin-top: 0 !important;
    margin-bottom: 18px !important;
}

.recruit-step-box p:last-child {
    margin-bottom: 0 !important;
}

/* 2. 4つのメリット・魅力カード */
.recruit-card-box {
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 20px !important;
    background-color: #ffffff !important;
    height: 100% !important;
    box-sizing: border-box !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

.recruit-card-box h4 {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin-top: 0 !important;
    margin-bottom: 8px !important;
    border-left: none !important;
    padding-left: 0 !important;
}

.recruit-card-box p {
    font-size: 0.95rem !important;
    color: #475569 !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* 3. 個人参加・選手募集アラートボックス */
.recruit-personal-alert {
    background-color: #f0fdf4 !important;
    border: 1px solid #bbf7d0 !important;
    border-radius: 8px !important;
    padding: 20px !important;
    margin-top: 25px !important;
    margin-bottom: 30px !important;
}

.recruit-personal-alert .recruit-personal-title {
    font-weight: 700 !important;
    color: #166534 !important;
    font-size: 1.05rem !important;
    margin-top: 0 !important;
    margin-bottom: 6px !important;
}

.recruit-personal-alert p {
    color: #15803d !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* 4. よくある質問（FAQ）アコーディオン */
.recruit-faq-details {
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 14px 18px !important;
    margin-bottom: 12px !important;
    background-color: #f8fafc !important;
}

.recruit-faq-details summary {
    font-weight: 700 !important;
    font-size: 1rem !important;
    color: #1e293b !important;
    cursor: pointer !important;
}

.recruit-faq-details p {
    margin-top: 10px !important;
    margin-bottom: 0 !important;
    font-size: 0.95rem !important;
    color: #334155 !important;
    line-height: 1.65 !important;
}


/* ===================================================
   高級モダンお問い合わせフォーム（Contact Form 7）専用スタイル
   =================================================== */

/* 1. 上部クイックセレクター */
.contact-quick-nav {
  display: flex; gap: 12px; margin-bottom: 35px; flex-wrap: wrap;
}
.contact-nav-card {
  flex: 1 1 calc(33.333% - 10px); min-width: 240px;
  background: #f8fafc; border: 2px solid #e2e8f0; border-radius: 10px;
  padding: 16px 14px; text-decoration: none !important;
  display: flex; align-items: center; gap: 12px;
  transition: all 0.2s ease; color: #1e293b !important;
}
.contact-nav-card:hover {
  transform: translateY(-2px); box-shadow: 0 6px 12px rgba(0,0,0,0.06);
  border-color: #0284c7; background: #ffffff;
}
.contact-nav-card.active-team { border-color: #0284c7; background: #f0f9ff; }
.contact-nav-card.active-umpire { border-color: #d97706; background: #fffbeb; }
.contact-nav-card.active-general { border-color: #182b49; background: #f8fafc; }
.contact-nav-icon { font-size: 1.8rem; line-height: 1; }
.contact-nav-title { font-weight: 700; font-size: 0.95rem; margin: 0; color: #182b49 !important; }
.contact-nav-desc { font-size: 0.8rem; color: #64748b; margin: 2px 0 0 0; }

/* 2. フォーム共通カードコンテナ */
.cf7-modern-wrapper {
  background: #ffffff; border-radius: 12px;
  border: 1px solid #cbd5e1;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
  margin-bottom: 25px; overflow: hidden;
}
.cf7-card-header {
  padding: 24px 28px 20px 28px;
  background: #f8fafc; border-bottom: 1px solid #e2e8f0;
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 10px;
}
.cf7-header-team { border-top: 4px solid #0284c7; }
.cf7-header-umpire { border-top: 4px solid #d97706; }
.cf7-header-general { border-top: 4px solid #182b49; }

.cf7-title-wrap h2 {
  font-size: 1.35rem !important; font-weight: 700 !important; color: #182b49 !important;
  margin: 0 0 6px 0 !important; display: flex; align-items: center; gap: 8px;
  border-left: none !important; padding-left: 0 !important;
}
.cf7-title-wrap p {
  font-size: 0.88rem !important; color: #64748b !important; margin: 0 !important; line-height: 1.5 !important;
}
.cf7-security-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46;
  font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: 20px;
}

/* 3. フォームボディ（CF7対応） */
.cf7-modern-wrapper .wpcf7 form {
  padding: 30px 28px;
}
@media (max-width: 600px) {
  .cf7-card-header { padding: 20px 16px; }
  .cf7-modern-wrapper .wpcf7 form { padding: 20px 16px; }
}

.cf7-field-group {
  margin-bottom: 24px;
}
.cf7-field-label {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 0.95rem; color: #1e293b;
  margin-bottom: 8px;
}
.badge-required {
  background: #ef4444; color: #ffffff;
  font-size: 0.72rem; font-weight: 700; padding: 2px 7px; border-radius: 4px; line-height: 1.2;
}
.badge-optional {
  background: #94a3b8; color: #ffffff;
  font-size: 0.72rem; font-weight: 700; padding: 2px 7px; border-radius: 4px; line-height: 1.2;
}

/* 4. 入力コントロール */
.cf7-modern-wrapper input[type="text"],
.cf7-modern-wrapper input[type="email"],
.cf7-modern-wrapper input[type="tel"],
.cf7-modern-wrapper select,
.cf7-modern-wrapper textarea {
  width: 100% !important; box-sizing: border-box !important;
  padding: 12px 16px !important; font-size: 1rem !important;
  border: 1px solid #cbd5e1 !important; border-radius: 8px !important;
  background-color: #ffffff !important; color: #1e293b !important;
  transition: all 0.2s ease !important;
  font-family: inherit !important;
}
.cf7-modern-wrapper input:focus,
.cf7-modern-wrapper select:focus,
.cf7-modern-wrapper textarea:focus {
  outline: none !important; border-color: #0284c7 !important;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
  background-color: #ffffff !important;
}
.cf7-modern-wrapper textarea {
  min-height: 130px !important; line-height: 1.6 !important; resize: vertical !important;
}

/* 5. ラジオボタン（カード型タグ） */
.cf7-modern-wrapper .wpcf7-radio {
  display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px;
}
.cf7-modern-wrapper .wpcf7-list-item {
  margin: 0 !important;
}
.cf7-modern-wrapper .wpcf7-list-item-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: #f8fafc; border: 1px solid #cbd5e1;
  padding: 10px 16px; border-radius: 8px; font-size: 0.92rem;
  font-weight: 600; color: #334155; cursor: pointer;
  transition: all 0.2s ease;
}
.cf7-modern-wrapper .wpcf7-list-item-label:hover {
  background: #f1f5f9; border-color: #94a3b8;
}
.cf7-modern-wrapper input[type="radio"] {
  accent-color: #0284c7; width: 17px; height: 17px; margin: 0;
}

/* 6. 送信フッター */
.cf7-submit-box {
  margin-top: 30px; padding-top: 25px;
  border-top: 1px solid #e2e8f0; text-align: center;
}
.cf7-privacy-note {
  font-size: 0.82rem !important; color: #64748b !important; margin-bottom: 20px !important; line-height: 1.5 !important;
}
.cf7-btn-submit {
  display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 8px !important;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  color: #ffffff !important; border: none !important; border-radius: 8px !important;
  padding: 15px 42px !important; font-size: 1.1rem !important; font-weight: 700 !important;
  cursor: pointer !important; transition: all 0.2s ease !important;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35) !important;
  width: auto !important; max-width: 100% !important;
}
.cf7-btn-submit:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%) !important;
  transform: translateY(-2px) !important; box-shadow: 0 6px 16px rgba(2, 132, 199, 0.45) !important;
}
.cf7-btn-submit-umpire {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.35) !important;
}
.cf7-btn-submit-umpire:hover {
  background: linear-gradient(135deg, #b45309 0%, #92400e 100%) !important;
}
.cf7-btn-submit-general {
  background: linear-gradient(135deg, #182b49 0%, #0f172a 100%) !important;
  box-shadow: 0 4px 12px rgba(24, 43, 73, 0.35) !important;
}
.cf7-btn-submit-general:hover {
  background: linear-gradient(135deg, #0f172a 0%, #020617 100%) !important;
}
.cf7-auto-reply-hint {
  font-size: 0.8rem !important; color: #64748b !important; margin-top: 12px !important; margin-bottom: 0 !important;
}

/* 7. CF7レスポンス通知・エラー表示 */
.wpcf7-response-output {
  border-radius: 8px !important;
  font-weight: 600 !important;
  padding: 12px 18px !important;
  margin-top: 20px !important;
}
.wpcf7 form.sent .wpcf7-response-output {
  background: #ecfdf5 !important;
  border: 1px solid #10b981 !important;
  color: #065f46 !important;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  background: #fef2f2 !important;
  border: 1px solid #ef4444 !important;
  color: #991b1b !important;
}
.wpcf7-not-valid-tip {
  color: #ef4444 !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  margin-top: 4px !important;
  display: block !important;
}
.wpcf7 .wpcf7-spinner {
  margin-left: 10px !important;
  vertical-align: middle !important;
}

/* ===================================================
   モバイル固定フッターナビ（ボトムナビゲーションバー）
   =================================================== */
.mobile-fixed-footer-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  height: 58px;
  height: calc(58px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.08);
  z-index: 99999;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: stretch;
  margin: 0;
  padding: 0;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-sizing: border-box;
}

.mobile-footer-nav-item {
  flex: 1 1 0;
  min-width: 0;
  width: 20%;
  max-width: 20%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  color: #64748b !important;
  transition: all 0.15s ease;
  padding: 4px 1px;
  margin: 0;
  user-select: none;
  box-sizing: border-box;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-footer-nav-item:active,
.mobile-footer-nav-item.active {
  color: #0284c7 !important;
  background-color: rgba(2, 132, 199, 0.05);
}

.mobile-footer-nav-icon {
  width: 20px;
  height: 20px;
  margin-bottom: 2px;
  flex-shrink: 0;
  stroke: currentColor;
}

.mobile-footer-nav-label {
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.4px;
  color: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}

.mobile-footer-nav-item.nav-item-contact {
  color: #0284c7 !important;
}

/* スマホ表示時のフッター下部余白確保 */
@media (max-width: 991px) {
  body {
    padding-bottom: 65px !important;
    padding-bottom: calc(65px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* PCサイズ（992px以上）では完全非表示 */
@media (min-width: 992px) {
  .mobile-fixed-footer-nav {
    display: none !important;
  }
}

/* ===================================================
   関連団体公式バナー（トップページ最下部）
   =================================================== */
.home-partner-banners {
  margin-top: 25px !important;
  margin-bottom: 35px !important;
  gap: 20px !important;
  align-items: center !important;
}

.home-partner-banners .wp-block-column {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.home-partner-banners .wp-block-image {
  margin: 0 !important;
  width: 100% !important;
  max-width: 320px !important;
}

.home-partner-banners .wp-block-image img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 320 / 120 !important;
  object-fit: contain !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.25s ease !important;
  padding: 4px !important;
  box-sizing: border-box !important;
}

.home-partner-banners .wp-block-image a:hover img {
  transform: translateY(-3px) !important;
  border-color: #0284c7 !important;
  box-shadow: 0 8px 18px rgba(2, 132, 199, 0.15) !important;
}

/* ===================================================
   案B：2段組ヘッダー（上段大ロゴ＋下段フルメニュー帯）
   =================================================== */
@media (min-width: 992px) {
  /* 1. ヘッダー全体のレイアウトを2段組にする */
  .site-header.site-header--layout--nav-float {
    background: #ffffff !important;
    border-bottom: none !important;
  }
  
  .site-header.site-header--layout--nav-float #site-header-container {
    display: block !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* 2. 上段：ロゴエリア（大ロゴ化） */
  .site-header.site-header--layout--nav-float .site-header-logo {
    max-width: 1200px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 16px 20px !important;
    display: flex !important;
    align-items: center !important;
    box-sizing: border-box !important;
    float: none !important;
  }
  
  .site-header.site-header--layout--nav-float .site-header-logo a {
    display: inline-flex !important;
    align-items: center !important;
  }
  
  .site-header.site-header--layout--nav-float .site-header-logo img,
  .site-header-logo img {
    height: 58px !important; /* 従来の30pxから約2倍の堂々たるサイズ！ */
    max-height: 58px !important;
    width: auto !important;
    object-fit: contain !important;
    transition: transform 0.2s ease !important;
  }
  .site-header.site-header--layout--nav-float .site-header-logo a:hover img {
    opacity: 0.9 !important;
  }

  /* 3. 下段：フルナビゲーションバー（横幅いっぱいの濃紺帯） */
  .site-header.site-header--layout--nav-float #global-nav {
    width: 100% !important;
    background: #182b49 !important; /* 協会のイメージカラー（濃紺） */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    display: block !important;
  }

  .site-header.site-header--layout--nav-float #global-nav .global-nav-list {
    max-width: 1200px !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: stretch !important;
    padding: 0 !important;
    width: 100% !important;
    list-style: none !important;
  }

  .site-header.site-header--layout--nav-float #global-nav .global-nav-list > li {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    margin: 0 !important;
    text-align: center !important;
    display: flex !important;
  }

  .site-header.site-header--layout--nav-float #global-nav .global-nav-list > li > a {
    flex: 1 1 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 12px 2px !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: all 0.2s ease !important;
    overflow: visible !important;
  }

  .site-header.site-header--layout--nav-float #global-nav .global-nav-list > li:last-child > a {
    border-right: none !important;
  }

  /* メニュー項目テキスト（日本語） */
  .site-header.site-header--layout--nav-float #global-nav .global-nav-name {
    font-size: 0.90rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    letter-spacing: -0.3px !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
    display: block !important;
  }

  /* 英語サブキャプション */
  .site-header.site-header--layout--nav-float #global-nav .global-nav-description {
    font-size: 0.65rem !important;
    color: #94a3b8 !important;
    margin-top: 3px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    line-height: 1 !important;
    display: block !important;
  }

  /* ホバー＆現在アクティブページ */
  .site-header.site-header--layout--nav-float #global-nav .global-nav-list > li:hover > a,
  .site-header.site-header--layout--nav-float #global-nav .global-nav-list > li.current-menu-item > a,
  .site-header.site-header--layout--nav-float #global-nav .global-nav-list > li.current-page-ancestor > a {
    background-color: #0284c7 !important;
    color: #ffffff !important;
  }
  .site-header.site-header--layout--nav-float #global-nav .global-nav-list > li:hover .global-nav-description,
  .site-header.site-header--layout--nav-float #global-nav .global-nav-list > li.current-menu-item .global-nav-description {
    color: #e0f2fe !important;
  }

  /* ドロップダウンサブメニューの調整 */
  .site-header.site-header--layout--nav-float #global-nav .sub-menu {
    background: #182b49 !important;
    border: 1px solid #334155 !important;
    border-top: 2px solid #0284c7 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25) !important;
    border-radius: 0 0 6px 6px !important;
    padding: 6px 0 !important;
  }
  .site-header.site-header--layout--nav-float #global-nav .sub-menu li a {
    color: #f1f5f9 !important;
    padding: 10px 18px !important;
    font-size: 0.88rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    text-align: left !important;
  }
  .site-header.site-header--layout--nav-float #global-nav .sub-menu li:last-child a {
    border-bottom: none !important;
  }
  .site-header.site-header--layout--nav-float #global-nav .sub-menu li a:hover {
    background: #0284c7 !important;
    color: #ffffff !important;
  }
}

/* ===================================================
   登録チームページ：アンカーへのスクロール余白
   =================================================== */
#teams-general,
#teams-senior,
#teams-highschool,
#teams-umpire {
  scroll-margin-top: 130px !important;
}

/* ===================================================
   トップページ：参加カテゴリーカード（4列レイアウト）
   =================================================== */
.wp-block-columns.home-category-cards {
  gap: 20px !important;
  margin-bottom: 35px !important;
}

.wp-block-columns.home-category-cards .wp-block-column {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
  padding: 20px 18px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
  box-sizing: border-box !important;
}

.wp-block-columns.home-category-cards .wp-block-column:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08) !important;
  border-color: #0284c7 !important;
}

.home-category-cards h4.wp-block-heading {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: #182b49 !important;
  background: #f8fafc !important;
  padding: 8px 12px !important;
  border-radius: 6px !important;
  margin: 0 0 12px 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  border-left: 3px solid #0284c7 !important;
}

.home-category-cards p {
  font-size: 0.88rem !important;
  color: #475569 !important;
  line-height: 1.6 !important;
  margin: 0 0 16px 0 !important;
  flex-grow: 1 !important;
}

.home-category-cards .wp-block-buttons {
  margin-top: auto !important;
  width: 100% !important;
}

.home-category-cards .wp-block-button {
  width: 100% !important;
}

.home-category-cards .wp-block-button__link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  background: #f0f9ff !important;
  color: #0284c7 !important;
  border: 1px solid #bae6fd !important;
  border-radius: 6px !important;
  padding: 8px 12px !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}

.home-category-cards .wp-block-button__link:hover {
  background: #0284c7 !important;
  color: #ffffff !important;
  border-color: #0284c7 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25) !important;
}

/* ===================================================
   下層ページ ページヘッダー（写真背景 ＋ 横グラデーション案1）
   =================================================== */
.site-header.site-header--layout--nav-float #global-nav {
  border-bottom: 5px solid #ffffff !important; /* メニューとヘッダーを分ける清潔感のある白い余白（境界線） */
}

.page-header {
  background-color: transparent !important;
  background-image: linear-gradient(to right, rgba(24, 43, 73, 0.78) 0%, rgba(24, 43, 73, 0.42) 45%, rgba(24, 43, 73, 0.08) 100%), url("https://softball-web.aizu-webplan.com/wp-content/uploads/2026/09/slide1_match.jpg") !important;
  background-size: cover !important;
  background-position: center 53% !important;
  background-repeat: no-repeat !important;
  position: relative !important;
  min-height: 140px !important;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.25) !important;
}

.page-header .page-header-title {
  color: #ffffff !important;
  font-weight: 800 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75), 0 1px 3px rgba(0, 0, 0, 0.85) !important;
  letter-spacing: 0.03em !important;
}

/* ===================================================
   サイト内検索バー（ロゴ行の右側 & モバイルメニュー）
   =================================================== */

/* PCロゴ行の右側検索バー（上段：左ロゴ・右検索バー、下段：メニューバー） */
.site-header-top-bar {
  max-width: 1200px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 12px 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  box-sizing: border-box !important;
}

.site-header.site-header--layout--nav-float .site-header-logo {
  max-width: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
  float: none !important;
}

.site-header-search-wrap {
  margin-left: auto !important;
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}

.site-header-search-form {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 2px solid #cbd5e1;
  border-radius: 24px;
  padding: 3px 5px 3px 14px;
  transition: all 0.2s ease;
}

.site-header-search-form:focus-within {
  border-color: #0284c7;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.site-header-search-input {
  border: none !important;
  background: transparent !important;
  font-size: 0.88rem !important;
  color: #1e293b !important;
  outline: none !important;
  width: 160px;
  height: 30px !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  transition: width 0.25s ease;
}

.site-header-search-form:focus-within .site-header-search-input {
  width: 210px;
}

.site-header-search-input::placeholder {
  color: #94a3b8 !important;
}

.site-header-search-btn {
  border: none !important;
  background: #0284c7 !important;
  color: #ffffff !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  cursor: pointer;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background 0.2s, transform 0.15s;
  padding: 0 !important;
  margin: 0 !important;
  flex-shrink: 0;
}

.site-header-search-btn:hover {
  background: #0369a1 !important;
  transform: scale(1.05);
}

.site-header-search-btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
}

@media (max-width: 991px) {
  .site-header-search-wrap {
    display: none !important;
  }
}

/* モバイルメニュー内の検索バー */
.mobile-search-box {
  padding: 14px 16px 12px 16px;
  background: #f1f5f9;
  border-bottom: 2px solid #e2e8f0;
}

.mobile-search-form {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 2px solid #cbd5e1;
  border-radius: 8px;
  padding: 4px 6px 4px 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.mobile-search-form:focus-within {
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.mobile-search-input {
  flex: 1;
  border: none !important;
  background: transparent !important;
  font-size: 0.95rem !important;
  color: #1e293b !important;
  outline: none !important;
  padding: 6px 0 !important;
  height: auto !important;
  box-shadow: none !important;
}

.mobile-search-btn {
  border: none !important;
  background: #0284c7 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  border-radius: 6px !important;
  padding: 6px 12px !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  cursor: pointer;
}

.mobile-search-btn svg {
  width: 16px;
  height: 16px;
}

/* ===================================================
   投稿・検索結果・アーカイブ一覧：アイキャッチ枠を非表示にしてテキスト全幅表示
   =================================================== */
.archive .vk_posts .vk_post_imgOuter,
.blog .vk_posts .vk_post_imgOuter,
.search .vk_posts .vk_post_imgOuter {
  display: none !important;
}

.archive .vk_posts .vk_post_body,
.blog .vk_posts .vk_post_body,
.search .vk_posts .vk_post_body {
  padding-left: 0 !important;
  width: 100% !important;
}

