/*
Theme Name: Midori Boxing Gym
Theme URI: https://midori-boxing.com/
Author: Midori Boxing Gym
Author URI: https://midori-boxing.com/
Description: 緑ボクシングジムHPテーマ
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: midori-theme
Requires at least: 5.0
Requires PHP: 7.4
*/

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    list-style: none;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #10b981;
}

/* ===== UTILITIES ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-green {
    color: #10b981;
}

.text-green-glow {
    text-shadow: 0 0 15px rgba(16, 185, 129, 0.6);
}

.bg-gradient-green {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

.section-padding {
    padding: 100px 0;
}

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    width: 100%;
    z-index: 50;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background: #000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
    max-width: 1280px;
    margin: 0 auto;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo img {
    height: 48px;
    width: auto;
    transition: transform 0.3s;
}

.header-logo:hover img {
    transform: scale(1.05);
}

.header-logo-text {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 12px;
}

.header-logo-text h1 {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.05em;
}

.header-logo-text p {
    font-size: 10px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* Desktop Nav */
.header-nav {
    display: none;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    align-items: center;
}

.nav-item {
    position: relative;
}

.header-nav>.nav-item>a {
    position: relative;
    transition: color 0.3s;
    padding: 8px 10px;
    display: block;
    white-space: nowrap;
}

.header-nav>.nav-item>a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 2px;
    left: 10px;
    right: 10px;
    background: #10b981;
    transition: width 0.3s;
}

.header-nav>.nav-item>a:hover {
    color: #10b981;
}

.header-nav>.nav-item>a:hover::after {
    width: calc(100% - 20px);
}

/* ドロップダウンメニュー */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 180px;
    background: #1a1a1f;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.nav-item.has-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
    display: block;
    padding: 10px 20px;
    color: #d4d4d8;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s;
    white-space: nowrap;
    text-decoration: none;
}

.nav-dropdown a:hover {
    color: #10b981;
    background: rgba(16, 185, 129, 0.08);
    padding-left: 24px;
}

.nav-dropdown a::after {
    display: none;
}

.header-tel {
    display: none;
    flex-direction: column;
    align-items: flex-end;
}

.header-tel span:first-child {
    font-size: 10px;
    color: #9ca3af;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.header-tel span:last-child {
    color: #10b981;
    font-weight: 900;
    font-size: 18px;
}

.hamburger-btn {
    font-size: 24px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
}

@media (min-width: 768px) {
    .header-logo img {
        height: 64px;
    }

    .header-logo-text h1 {
        font-size: 16px;
    }

    .header-tel {
        display: flex;
    }
}

@media (min-width: 1024px) {
    .header-nav {
        display: flex;
    }

    .hamburger-btn {
        display: none;
    }
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.97);
    z-index: 60;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.mobile-menu.is-open {
    display: flex;
}

.mobile-menu-close {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 36px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    z-index: 70;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    transition: background 0.3s;
}

.mobile-menu-close:hover {
    background: rgba(16, 185, 129, 0.2);
}

.mobile-menu-item {
    text-align: center;
    padding: 16px 0;
}

.mobile-menu-item a {
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: block;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s;
}

.mobile-menu-item a:hover {
    color: #10b981;
}

.mobile-menu-item .menu-sub {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 4px;
    letter-spacing: 0.05em;
    font-weight: 400;
    text-transform: none;
}

.mobile-menu-contact {
    padding-top: 32px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 16px;
    width: 60%;
}

.mobile-menu-contact p {
    font-size: 11px;
    color: #6b7280;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.mobile-menu-contact a {
    color: #10b981;
    font-size: 28px;
    font-weight: 900;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero-section {
        height: 100vh;
    }
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slider-item {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 20%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slider-item.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 10;
}

.hero-content {
    position: relative;
    z-index: 20;
    text-align: center;
    padding: 0 20px;
}

.hero-subtitle {
    color: #10b981;
    font-weight: 900;
    letter-spacing: 0.4em;
    margin-bottom: 24px;
    animation: pulse 2s infinite;
    font-size: 12px;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 14px;
    }
}

.hero-title {
    font-size: clamp(28px, 6vw, 80px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.05em;
    margin-bottom: 32px;
}

.hero-title span {
    color: #10b981;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 48px;
    align-items: center;
}

@media (min-width: 768px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 24px;
    }
}

.btn-primary {
    display: inline-block;
    padding: 18px 48px;
    border-radius: 9999px;
    font-weight: 900;
    font-size: 16px;
    text-align: center;
    background: linear-gradient(135deg, #059669, #10b981);
    transition: all 0.3s;
    width: 100%;
}

@media (min-width: 768px) {
    .btn-primary {
        width: auto;
    }
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    padding: 18px 48px;
    border-radius: 9999px;
    font-weight: 900;
    font-size: 16px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    transition: all 0.3s;
    width: 100%;
}

@media (min-width: 768px) {
    .btn-secondary {
        width: auto;
    }
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.hero-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 30;
}

.hero-progress-bar {
    height: 100%;
    background: #10b981;
    width: 0;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* ===== HERO DOTS ===== */
.hero-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    display: flex;
    gap: 12px;
    align-items: center;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.hero-dot.active {
    background: #10b981;
    width: 28px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 25;
    display: flex;
    justify-content: space-between;
    padding: 0 16px;
    pointer-events: none;
}

@media (min-width: 768px) {
    .hero-nav {
        padding: 0 40px;
    }
}

.hero-arrow {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    pointer-events: auto;
    backdrop-filter: blur(4px);
}

.hero-arrow:hover {
    background: #10b981;
    border-color: #10b981;
    transform: scale(1.1);
}

/* ===== SECTION HEADERS ===== */
.section-header-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 48px;
    border-left: 4px solid #10b981;
    padding-left: 24px;
}

@media (min-width: 768px) {
    .section-header-left {
        flex-direction: row;
        align-items: flex-end;
        gap: 0;
    }
}

.section-label {
    color: #10b981;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 12px;
    margin-bottom: 4px;
}

.section-title {
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 900;
}

.section-header-center {
    text-align: center;
    margin-bottom: 64px;
}

.section-header-center .section-label,
.section-header-center .section-title {
    text-align: center;
}

.section-link {
    color: #6b7280;
    font-size: 13px;
    font-weight: 700;
    transition: color 0.3s;
}

.section-link:hover {
    color: #10b981;
}

.section-link i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.section-link:hover i {
    transform: translateX(4px);
}



/* ===== NEWS SECTION ===== */
.news-section {
    background: #0a0a0a;
}

.news-item {
    background: rgba(24, 24, 27, 0.5);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.3s;
    margin-bottom: 12px;
}

.news-item:hover {
    border-color: #10b981;
    transform: translateX(4px);
}

.news-item-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.news-badge {
    font-size: 10px;
    font-weight: 900;
    padding: 4px 12px;
    border-radius: 4px;
    color: #fff;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    white-space: nowrap;
}

.news-badge-new {
    background: #059669;
}

.news-badge-result {
    background: #3f3f46;
}

.news-date {
    color: #6b7280;
    font-weight: 700;
    font-size: 13px;
}

.news-item h4 {
    font-size: 16px;
    font-weight: 700;
    transition: color 0.3s;
    flex: 1;
}

.news-item:hover h4 {
    color: #10b981;
}

.news-item .news-arrow {
    color: #3f3f46;
    transition: all 0.3s;
}

.news-item:hover .news-arrow {
    color: #10b981;
    transform: translateX(4px);
}

@media (min-width: 768px) {
    .news-item {
        flex-direction: row;
        align-items: center;
        gap: 16px;
    }
}

/* ===== COMPACT NEWS (TOP PAGE) ===== */
.news-item-compact {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.news-item-compact:first-of-type {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.news-item-compact:hover {
    background: rgba(16, 185, 129, 0.04);
    padding-left: 28px;
}

.news-item-compact-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.news-date-compact {
    color: #71717a;
    font-size: 13px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.news-badge-compact {
    font-size: 10px;
    font-weight: 900;
    padding: 2px 10px;
    border-radius: 4px;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.news-title-compact {
    font-size: 14px;
    font-weight: 700;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.3s;
}

.news-item-compact:hover .news-title-compact {
    color: #10b981;
}

.news-arrow-compact {
    color: #3f3f46;
    font-size: 12px;
    transition: all 0.3s;
    flex-shrink: 0;
}

.news-item-compact:hover .news-arrow-compact {
    color: #10b981;
    transform: translateX(4px);
}

/* SP用リンク（PCでは非表示） */
.section-link-sp {
    display: none;
}

@media (max-width: 767px) {
    .news-item-compact {
        flex-wrap: wrap;
        gap: 4px 12px;
        padding: 14px 12px;
    }

    .news-title-compact {
        width: 100%;
        white-space: normal;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: 13px;
        text-align: left;
    }

    .news-arrow-compact {
        display: none;
    }

    .section-link-sp {
        display: block;
        text-align: center;
        margin-top: 24px;
        padding: 14px 0;
        color: #10b981;
        font-size: 13px;
        font-weight: 700;
        border: 1px solid rgba(16, 185, 129, 0.3);
        border-radius: 9999px;
        transition: all 0.3s;
    }

    .section-link-sp:hover {
        background: rgba(16, 185, 129, 0.1);
    }
}

/* はじめての方へページ: セクションヘッダー */
.section-header {
    margin-bottom: 48px;
}

.section-subtitle {
    color: #71717a;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-top: 4px;
}

@media (max-width: 767px) {
    .section-header {
        text-align: center;
    }

    .section-header .section-title {
        text-align: center;
    }

    .section-header .section-subtitle {
        text-align: center;
    }
}

/* ===== BOXER SECTION ===== */
.boxer-section {
    background: #000;
}

.boxer-grid {
    display: grid;
    gap: 32px;
}

@media (min-width: 1024px) {
    .boxer-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.boxer-main {
    position: relative;
    overflow: hidden;
    border-radius: 2.5rem;
    background: #18181b;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.boxer-main-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 20%;
    opacity: 1;
    /* 写真を100%の鮮明さで表示 */
    transition: transform 1s;
}

.boxer-main:hover .boxer-main-bg {
    transform: scale(1.05);
}

.boxer-main-overlay {
    position: absolute;
    inset: 0;
    /* 左側のテキストエリアを深く暗くし、右側の写真をクリアに見せる多段階グラデーション */
    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.98) 0%,
            rgba(0, 0, 0, 0.8) 30%,
            rgba(0, 0, 0, 0.4) 60%,
            transparent 100%);
}

.boxer-main-content {
    position: relative;
    z-index: 10;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 500px;
}

/* 文字の視認性を極限まで高めるための強力なダブルシャドウ */
.boxer-name,
.boxer-titles p,
.boxer-milestones p,
.boxer-stats .stat-label,
.boxer-stats .stat-highlight {
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 1),
        0 4px 12px rgba(0, 0, 0, 0.8),
        0 0 20px rgba(0, 0, 0, 0.5);
}

.stat-highlight {
    color: #34d399 !important;
    /* よりコントラストの高いグリーンへ微調整 */
}

@media (min-width: 768px) {
    .boxer-main-content {
        padding: 60px;
        min-height: 650px;
        max-width: 800px;
        /* テキストが広がりすぎないように制限 */
    }
}

.boxer-badge {
    display: inline-block;
    background: #059669;
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    padding: 4px 16px;
    border-radius: 9999px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 24px;
    width: fit-content;
}

.boxer-name {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    margin-bottom: 16px;
}

.boxer-titles {
    margin-bottom: 32px;
}

.boxer-titles p {
    font-weight: 700;
}

.boxer-titles p:first-child {
    font-size: clamp(16px, 2vw, 22px);
    color: #10b981;
}

.boxer-titles p:not(:first-child) {
    color: #a1a1aa;
    font-size: 13px;
}

.boxer-milestones {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.boxer-milestones p {
    color: #d4d4d8;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.8;
}

.boxer-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

@media (max-width: 767px) {
    .boxer-milestones p {
        font-size: 14px;
        line-height: 1.6;
    }

    .boxer-stats {
        gap: 20px;
    }
}

.boxer-stats .stat-label {
    font-size: 10px;
    color: #71717a;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.boxer-stats .stat-value {
    font-weight: 700;
    font-size: 13px;
}

.boxer-stats .stat-highlight {
    font-size: clamp(16px, 2vw, 22px);
    font-weight: 900;
    color: #10b981;
}

.boxer-side {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.boxer-card {
    background: rgba(24, 24, 27, 0.8);
    padding: 32px;
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
    flex: 1;
}

.boxer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border-color: #10b981;
}

.boxer-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.boxer-card h5 {
    font-size: 22px;
    font-weight: 900;
}

.boxer-card .boxer-card-title-badge {
    color: #10b981;
    font-weight: 900;
    font-size: 11px;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
}

.boxer-card .boxer-card-info {
    color: #a1a1aa;
    font-size: 13px;
    line-height: 1.8;
    font-weight: 700;
    margin-bottom: 24px;
}

.boxer-card-record {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.boxer-card-record span:first-child {
    font-size: 10px;
    color: #71717a;
    font-weight: 900;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.boxer-card-record span:last-child {
    font-weight: 900;
    color: #10b981;
}

.boxer-all-link {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    font-weight: 900;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
    display: block;
}

.boxer-all-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ===== GUIDE / JOIN SECTION ===== */
.guide-section {
    background: #0a0a0a;
}

.guide-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, 1fr) !important;
}

@media (min-width: 640px) {
    .guide-grid {
        gap: 24px;
        /* Default is already 2 columns above, just fixing gap */
    }

    .guide-card {
        padding: 32px;
    }

    .guide-icon {
        margin: 0 auto 32px;
    }

    .guide-card p {
        margin-bottom: 32px;
    }
}

@media (min-width: 1024px) {
    .guide-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

.guide-card {
    background: #18181b;
    padding: 20px;
    border-radius: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: background 0.3s;
    min-width: 0;
    /* Prevent grid overflow */
    width: 100%;
}

.guide-card:hover {
    background: #27272a;
}

.guide-icon {
    width: 64px;
    height: 64px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 24px;
    transition: transform 0.3s;
}

.guide-card:hover .guide-icon {
    transform: scale(1.1);
}

.guide-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

.guide-card p {
    color: #71717a;
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.guide-card .guide-link {
    display: inline-block;
    padding: 8px 24px;
    border-radius: 9999px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
    font-weight: 700;
    font-size: 11px;
    transition: all 0.3s;
    text-align: center;
}

.guide-card .guide-link:hover {
    background: #10b981;
    color: #fff;
}

/* Mobile text alignment overrides */
@media (max-width: 767px) {

    .guide-card p,
    .news-item h4,
    .boxer-card .boxer-card-info,
    .footer-desc,
    body p {
        text-align: left;
    }

    .guide-card h4,
    .section-title {
        text-wrap: balance;
    }
}

/* ===== ACCESS SECTION ===== */
.access-section {
    background: #09090b;
}

.access-grid {
    display: grid;
    gap: 64px;
}

@media (min-width: 1024px) {
    .access-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.access-label {
    display: inline-block;
    background: rgba(5, 150, 105, 0.2);
    color: #10b981;
    font-weight: 900;
    padding: 4px 16px;
    border-radius: 4px;
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.access-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 900;
    margin-bottom: 40px;
}

.access-info-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.access-info-item {
    display: flex;
    gap: 24px;
}

.access-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
    flex-shrink: 0;
}

.access-info-label {
    font-weight: 900;
    font-size: 12px;
    color: #71717a;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.access-info-value {
    font-size: 18px;
    font-weight: 700;
}

.access-info-value a {
    transition: color 0.3s;
}

.access-info-value a:hover {
    color: #10b981;
}

.access-hours-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 32px;
}

.access-hours-grid .day {
    color: #d4d4d8;
}

.access-hours-grid .time {
    font-weight: 900;
}

.access-hours-grid .closed {
    color: #ef4444;
    font-weight: 900;
}

.access-social {
    display: flex;
    gap: 16px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.access-social a {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    font-size: 18px;
}

.access-social a:hover {
    background: #10b981;
}

.access-map-wrapper {
    position: relative;
}

.access-map-glow {
    position: absolute;
    inset: -16px;
    background: rgba(16, 185, 129, 0.2);
    border-radius: 3rem;
    filter: blur(32px);
    opacity: 0.2;
    transition: opacity 0.3s;
}

.access-map-wrapper:hover .access-map-glow {
    opacity: 0.4;
}

.access-map {
    position: relative;
    height: 450px;
    width: 100%;
    background: #18181b;
    border-radius: 2.5rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.access-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    /* filter: contrast(1.25) grayscale(1) brightness(0.5); */
    filter: brightness(0.8);
}

/* ===== FOOTER ===== */
.site-footer {
    background: #000;
    padding: 64px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 48px;
    margin-bottom: 64px;
}

@media (min-width: 768px) {
    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-brand {
    text-align: center;
}

@media (min-width: 768px) {
    .footer-brand {
        text-align: left;
    }
}

.footer-logo {
    height: 64px;
    width: auto;
    margin: 0 auto 24px;
    filter: grayscale(1);
    transition: filter 0.3s;
}

@media (min-width: 768px) {
    .footer-logo {
        margin: 0 0 24px;
    }
}

.footer-logo:hover {
    filter: grayscale(0);
}

.footer-desc {
    color: #71717a;
    font-size: 13px;
    max-width: 320px;
    line-height: 1.8;
}

.footer-nav-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
}

@media (min-width: 640px) {
    .footer-nav-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) {
    .footer-nav-grid {
        gap: 96px;
    }
}

.footer-nav-col h6 {
    font-weight: 900;
    font-size: 10px;
    letter-spacing: 0.15em;
    color: #a1a1aa;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer-nav-col ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-nav-col li a {
    font-size: 13px;
    font-weight: 700;
    color: #71717a;
    transition: color 0.3s;
}

.footer-nav-col li a:hover {
    color: #10b981;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copyright {
    font-size: 11px;
    color: #3f3f46;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    text-align: center;
}

.footer-copyright-notice {
    font-size: 10px;
    color: #3f3f46;
    text-align: center;
    margin-top: 8px;
    letter-spacing: 0.05em;
    line-height: 1.6;
}

.footer-label {
    font-size: 10px;
    color: #27272a;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Page Top Button in Footer */
.footer-pagetop-col {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-pagetop-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    color: #52525b;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.footer-pagetop-btn:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: #10b981;
    color: #10b981;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.pagetop-icon {
    font-size: 20px;
    margin-bottom: 4px;
}

.pagetop-text {
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.1em;
}

@media (max-width: 767px) {
    .footer-pagetop-col {
        justify-content: flex-start;
        padding-top: 12px;
    }

    .footer-pagetop-btn {
        width: 72px;
        height: 72px;
    }
}

/* ===== PAGE HERO (Sub Pages) ===== */
.page-hero {
    position: relative;
    padding: 160px 0 80px;
    background: #000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero-label {
    color: #10b981;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 12px;
    margin-bottom: 8px;
}

.page-hero-title {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 900;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

/* ===== SINGLE POST ===== */
.single-featured {
    width: 100%;
    max-height: 560px;
    overflow: hidden;
    margin-bottom: 48px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.single-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-content {
    max-width: 1000px;
    margin: 0 auto;
}

.single-content h2 {
    font-size: 24px;
    font-weight: 900;
    margin: 64px 0 32px;
    padding: 16px 24px;
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.1), transparent);
    border-left: 6px solid #10b981;
    color: #fff;
    border-radius: 4px;
}

.single-content h3 {
    font-size: 20px;
    font-weight: 900;
    margin: 48px 0 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #10b981;
    color: #fff;
    display: flex;
    align-items: center;
}

.single-content h3::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 24px;
    background: #10b981;
    margin-right: 12px;
    transform: skewX(-15deg);
}

.single-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 40px 0 20px;
    padding-left: 16px;
    border-left: 4px solid #10b981;
    color: #e4e4e7;
}

.single-content p {
    color: #d4d4d8;
    line-height: 2;
    margin-bottom: 32px;
    font-size: 16px;
}

.single-content img {
    border-radius: 16px;
    margin: 24px 0;
}

.single-content a {
    color: #10b981;
    text-decoration: underline;
}

.single-content iframe {
    max-width: 100%;
    border-radius: 12px;
    margin: 24px 0;
}

.single-meta {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.single-meta .meta-date {
    color: #71717a;
    font-size: 13px;
    font-weight: 700;
}

.single-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #10b981;
    font-weight: 700;
    font-size: 13px;
    margin-top: 48px;
    padding: 12px 24px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 9999px;
    transition: all 0.3s;
}

.single-back:hover {
    background: #10b981;
    color: #fff;
}

/* ===== ARCHIVE / NEWS LIST ===== */
.archive-grid {
    display: grid;
    gap: 24px;
}

@media (min-width: 768px) {
    .archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .archive-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.archive-card {
    background: #18181b;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.archive-card:hover {
    border-color: #10b981;
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.archive-card-thumb {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #27272a;
}

.archive-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.archive-card:hover .archive-card-thumb img {
    transform: scale(1.08);
}

.archive-card-body {
    padding: 24px;
}

.archive-card-date {
    font-size: 12px;
    color: #71717a;
    font-weight: 700;
    margin-bottom: 8px;
}

.archive-card-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}

.archive-card:hover .archive-card-title {
    color: #10b981;
}

.archive-card-excerpt {
    font-size: 13px;
    color: #71717a;
    margin-top: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.8;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 64px;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    background: #18181b;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.pagination a:hover {
    border-color: #10b981;
    color: #10b981;
}

.pagination .current {
    background: #10b981;
    color: #fff;
    border-color: #10b981;
}

/* ===== STAFF SECTION ===== */
.staff-grid {
    display: grid;
    gap: 24px;
}

@media (min-width: 640px) {
    .staff-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .staff-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.staff-card {
    background: #18181b;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.staff-card:hover {
    border-color: #10b981;
    transform: translateY(-4px);
}

.staff-card-img {
    aspect-ratio: 1;
    overflow: hidden;
    background: #27272a;
}

.staff-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.staff-card:hover .staff-card-img img {
    transform: scale(1.05);
}

.staff-card-body {
    padding: 20px;
}

.staff-card-name {
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 4px;
}

.staff-card-role {
    font-size: 12px;
    color: #10b981;
    font-weight: 700;
}

.staff-card-desc {
    font-size: 12px;
    color: #71717a;
    margin-top: 8px;
    line-height: 1.6;
}

/* ===== FIRST TIME / JOIN STEPS ===== */
.steps-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 48px;
}

.step-item {
    display: flex;
    gap: 24px;
    padding: 32px;
    background: #18181b;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.step-number {
    width: 56px;
    height: 56px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 20px;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 14px;
    color: #a1a1aa;
    line-height: 1.8;
}

.step-content .step-note {
    font-size: 12px;
    color: #71717a;
    margin-top: 8px;
}

/* ===== FAQ ===== */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 48px;
}

.faq-item {
    background: #18181b;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px 24px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

.faq-question:hover {
    color: #10b981;
}

.faq-question i {
    transition: transform 0.3s;
    color: #10b981;
}

.faq-item.is-open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px 20px;
    color: #a1a1aa;
    font-size: 14px;
    line-height: 1.8;
    display: none;
}

.faq-item.is-open .faq-answer {
    display: block;
}

/* ===== PRICE TABLE ===== */
.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 48px;
}

.price-table th,
.price-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.price-table th {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    font-weight: 900;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.price-table td {
    font-size: 14px;
}

.price-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.price-amount {
    font-weight: 900;
    color: #10b981;
    font-size: 18px;
}

/* ===== COMPANY TABLE ===== */
.company-table {
    width: 100%;
    margin-top: 48px;
}

.company-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.company-table th {
    padding: 16px 20px;
    text-align: left;
    color: #71717a;
    font-weight: 700;
    font-size: 13px;
    width: 140px;
    vertical-align: top;
}

.company-table td {
    padding: 16px 20px;
    font-size: 14px;
}

/* ===== CONTACT FORM ===== */
.contact-form {
    max-width: 640px;
    margin: 48px auto 0;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #a1a1aa;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    background: #18181b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #10b981;
}

.form-group textarea {
    min-height: 160px;
    resize: vertical;
}

.form-submit {
    display: inline-block;
    padding: 16px 48px;
    border-radius: 9999px;
    font-weight: 900;
    font-size: 14px;
    background: linear-gradient(135deg, #059669, #10b981);
    border: none;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.form-submit:hover {
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
}

/* ===== PRIVACY POLICY ===== */
.privacy-content {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-content h2 {
    font-size: 20px;
    font-weight: 900;
    margin: 40px 0 12px;
    border-left: 4px solid #10b981;
    padding-left: 16px;
}

.privacy-content p {
    font-size: 14px;
    color: #a1a1aa;
    line-height: 2;
    margin-bottom: 16px;
}

/* ===== SPONSOR ===== */
.sponsor-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
    .sponsor-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .sponsor-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.sponsor-item {
    background: #18181b;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    min-height: 120px;
    transition: all 0.3s;
}

.sponsor-item:hover {
    border-color: #10b981;
}

.sponsor-item img {
    max-height: 60px;
    filter: grayscale(1) brightness(0.7);
    transition: filter 0.3s;
}

.sponsor-item:hover img {
    filter: grayscale(0) brightness(1);
}

/* ===== SITEMAP PAGE ===== */
.sitemap-grid {
    display: grid;
    gap: 48px;
}

@media (min-width: 768px) {
    .sitemap-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .sitemap-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.sitemap-group h3 {
    font-size: 16px;
    font-weight: 900;
    color: #10b981;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
}

.sitemap-group ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sitemap-group li a {
    font-size: 14px;
    color: #a1a1aa;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sitemap-group li a::before {
    content: '窶ｺ';
    color: #10b981;
    font-weight: 700;
}

.sitemap-group li a:hover {
    color: #10b981;
}

.wp-block-image {
    margin: 24px 0;
}

.wp-block-image img {
    border-radius: 16px;
}

.aligncenter {
    display: block;
    margin: 0 auto;
}

.alignleft {
    float: left;
    margin-right: 24px;
}

.alignright {
    float: right;
    margin-left: 24px;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 12px;
    color: #71717a;
    text-align: center;
    margin-top: 8px;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* =========================================
   Contact Form 7 Styles
   ========================================= */
.wpcf7-form {
    max-width: 100%;
}

.wpcf7-form p {
    margin-bottom: 24px;
}

.wpcf7-form label {
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    /* =========================================
   CONTACT FORM 7 - PREMIUM REDESIGN
   ========================================= */

    /* フォーム全体のラッパー（余白調整） */
    .wpcf7-form {
        display: flex;
        flex-direction: column;
        gap: 32px;
        max-width: 720px;
        margin: 0 auto;
    }

    /* 各入力グループ */
    .form-group {
        display: flex;
        flex-direction: column;
        gap: 10px;
        position: relative;
        transition: opacity 0.3s;
    }

    /* ラベル行（ラベル文字 ＋ 必須タグ） */
    .form-label-row {
        display: flex;
        align-items: center;
        gap: 12px;
        padding-left: 4px;
        flex-wrap: wrap;
        /* スマホで崩れないように */
    }

    .form-label {
        color: #e4e4e7;
        /* Zinc-200 */
        font-size: 15px;
        font-weight: 700;
        letter-spacing: 0.05em;
        display: flex;
        align-items: center;
    }

    .form-label i {
        color: #10b981;
        margin-right: 8px;
        font-size: 14px;
    }

    /* 必須タグのデザイン - 赤背景・白文字に戻す */
    .form-required {
        background: #dc2626;
        /* 赤背景 */
        color: #fff;
        /* 白文字 */
        font-size: 11px;
        font-weight: 900;
        padding: 3px 10px;
        border-radius: 4px;
        line-height: 1;
        letter-spacing: 0.05em;
        display: inline-block;
    }

    /* 任意タグのデザイン（もし使う場合） */
    .form-optional {
        background: #3f3f46;
        color: #a1a1aa;
        font-size: 10px;
        font-weight: 700;
        padding: 2px 8px;
        border-radius: 4px;
        line-height: 1.4;
    }

    /* 入力フィールドのラッパー */
    .wpcf7-form-control-wrap {
        display: block;
        position: relative;
        width: 100%;
    }

    /* テキストエリア・入力欄の基本スタイル */
    .wpcf7-form input[type="text"],
    .wpcf7-form input[type="email"],
    .wpcf7-form input[type="tel"],
    .wpcf7-form input[type="url"],
    .wpcf7-form textarea,
    .wpcf7-form select {
        width: 100%;
        background: rgba(0, 0, 0, 0.4);
        /* より深い黒 */
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: #fff;
        font-size: 16px;
        border-radius: 12px;
        /* 少し丸みを抑える */
        padding: 20px 24px;
        transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
        font-family: inherit;
        box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
        -webkit-appearance: none;
        /* スマホでのデフォルトスタイル削除 */
        appearance: none;
    }

    /* プレースホルダーの色 */
    .wpcf7-form input::placeholder,
    .wpcf7-form textarea::placeholder {
        color: #52525b;
        /* Zinc-600 */
        opacity: 1;
        font-weight: 500;
    }

    /* フォーカス時のスタイル（発光） */
    .wpcf7-form input:focus,
    .wpcf7-form textarea:focus,
    .wpcf7-form select:focus {
        outline: none;
        border-color: #10b981;
        background: rgba(16, 185, 129, 0.05);
        box-shadow: 0 0 0 1px #10b981, 0 10px 20px -5px rgba(16, 185, 129, 0.1);
        transform: translateY(-1px);
    }

    /* 入力エラー時のスタイル */
    .wpcf7-not-valid {
        border-color: #ef4444 !important;
        /* Red-500 */
        background: rgba(239, 68, 68, 0.05) !important;
    }

    .wpcf7-not-valid-tip {
        color: #ef4444;
        font-size: 12px;
        font-weight: 700;
        margin-top: 6px;
        display: block;
        animation: fadeIn 0.3s ease;
    }

    /* テキストエリアの高さ */
    .wpcf7-form textarea {
        min-height: 200px;
        resize: vertical;
        line-height: 1.8;
    }

    /* 送信ボタンエリア - 確実に中央寄せ */
    .form-submit-row {
        margin-top: 48px;
        text-align: center;
        display: flex;
        justify-content: center;
        width: 100%;
    }

    /* 古いスタイルが残っている場合の上書き */
    .wpcf7-form p {
        text-align: center;
        /* pタグで囲まれていた場合の対策 */
    }

    /* 送信ボタン */
    .wpcf7-form input[type="submit"] {
        display: inline-block;
        background: linear-gradient(135deg, #10b981 0%, #047857 100%);
        color: #fff;
        font-size: 16px;
        font-weight: 800;
        letter-spacing: 0.1em;
        padding: 22px 80px;
        border: none;
        border-radius: 9999px;
        cursor: pointer;
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.4);
        position: relative;
        overflow: hidden;
        width: auto;
        min-width: 300px;
        margin: 0 auto !important;
        /* 強制的に中央配置 */
    }

    /* ボタンホバーエフェクト */
    .wpcf7-form input[type="submit"]:hover {
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 20px 40px -10px rgba(16, 185, 129, 0.6);
        background: linear-gradient(135deg, #34d399 0%, #059669 100%);
    }

    .wpcf7-form input[type="submit"]:active {
        transform: translateY(-1px);
        box-shadow: 0 5px 15px -5px rgba(16, 185, 129, 0.4);
    }

    /* 送信完了メッセージ */
    .wpcf7-response-output {
        border: none !important;
        background: rgba(16, 185, 129, 0.1);
        color: #10b981;
        padding: 16px 24px !important;
        border-radius: 12px;
        font-size: 14px;
        font-weight: 700;
        text-align: center;
        margin: 32px 0 0 !important;
    }

    /* エラーメッセージ（フォーム全体） */
    .wpcf7-response-output.wpcf7-validation-errors,
    .wpcf7-response-output.wpcf7-acceptance-missing {
        background: rgba(239, 68, 68, 0.1);
        color: #ef4444;
    }

    /* SPレスポンシブ調整 */
    @media (max-width: 767px) {
        .wpcf7-form {
            gap: 24px;
        }

        .wpcf7-form input[type="text"],
        .wpcf7-form input[type="email"],
        .wpcf7-form input[type="tel"],
        .wpcf7-form textarea {
            padding: 16px 20px;
            font-size: 16px;
            /* iOSでのズーム防止 */
        }

        .wpcf7-form input[type="submit"] {
            width: 100%;
            /* SPでは全幅 */
            padding: 20px;
        }
    }

    .wpcf7-response-output {
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 12px;
        padding: 24px !important;
        margin-top: 32px !important;
        font-size: 15px;
        background: rgba(255, 255, 255, 0.05);
        text-align: center;
    }

    /* Spinner */
    .wpcf7-spinner {
        margin-left: 10px;
        vertical-align: middle;
    }

    /* ===== ARCHIVE / NEWS LIST ===== */
    .archive-grid {
        display: grid;
        gap: 32px;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .archive-card {
        background: #18181b;
        border-radius: 16px;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.05);
        transition: all 0.3s;
        display: flex;
        flex-direction: column;
        height: 100%;
        text-decoration: none;
    }

    .archive-card:hover {
        transform: translateY(-8px);
        border-color: #10b981;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    }

    .archive-card-thumb {
        aspect-ratio: 16/9;
        overflow: hidden;
        background: #27272a;
        position: relative;
    }

    .archive-card-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s;
    }

    .archive-card:hover .archive-card-thumb img {
        transform: scale(1.05);
    }

    .archive-card-body {
        padding: 24px;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .archive-card-date {
        font-size: 13px;
        color: #a1a1aa;
        margin-bottom: 8px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .archive-card-title {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 12px;
        line-height: 1.5;
        transition: color 0.3s;
        flex: 1;
        color: #fff;
    }

    .archive-card:hover .archive-card-title {
        color: #10b981;
    }

    .archive-card-excerpt {
        font-size: 14px;
        color: #71717a;
        line-height: 1.6;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* ===== SINGLE POST ===== */
    .single-meta {
        display: flex;
        align-items: center;
        gap: 16px;
        margin-bottom: 32px;
        padding-bottom: 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .meta-date {
        color: #a1a1aa;
        font-size: 14px;
        font-weight: 700;
    }

    .single-featured {
        margin-bottom: 48px;
        border-radius: 24px;
        overflow: hidden;
        /* Limit height of featured image */
        max-height: 500px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
        background: #000;
    }

    .single-featured img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* Ensure image covers area nicely */
        display: block;
    }

    .single-content {
        max-width: 800px;
        margin: 0 auto 64px;
        font-size: 16px;
        line-height: 2;
        color: #e4e4e7;
    }

    .single-content p {
        margin-bottom: 2em;
    }

    .single-content h2 {
        font-size: 24px;
        font-weight: 900;
        margin: 64px 0 32px;
        padding-left: 16px;
        border-left: 4px solid #10b981;
        color: #fff;
    }

    .single-content h3 {
        font-size: 20px;
        font-weight: 700;
        margin: 48px 0 24px;
        color: #10b981;
        background: rgba(16, 185, 129, 0.1);
        padding: 12px 20px;
        border-radius: 8px;
        display: inline-block;
    }

    .single-content h4 {
        font-size: 18px;
        font-weight: 700;
        margin: 32px 0 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 8px;
        display: inline-block;
    }

    .single-content ul,
    .single-content ol {
        margin-bottom: 2em;
        padding-left: 24px;
        color: #d4d4d8;
    }

    .single-content li {
        margin-bottom: 8px;
    }

    .single-content blockquote {
        border-left: 4px solid #3f3f46;
        padding-left: 24px;
        margin: 32px 0;
        color: #a1a1aa;
        font-style: italic;
        background: rgba(255, 255, 255, 0.02);
        padding: 24px;
        border-radius: 0 16px 16px 0;
    }

    .single-back {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 12px 32px;
        border-radius: 9999px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        font-weight: 700;
        font-size: 14px;
        transition: all 0.3s;
        color: #a1a1aa;
        text-decoration: none;
    }

    .single-back:hover {
        background: #fff;
        color: #000;
        border-color: #fff;
    }

    .single-back i {
        transition: transform 0.3s;
    }

    .single-back:hover i {
        transform: translateX(-4px);
    }

    /* Archive News List Refined */
    .archive-grid {
        display: grid;
        gap: 24px;
        grid-template-columns: 1fr;
    }

    /* PC Styling (Tablet and up) */
    @media (min-width: 768px) {
        .archive-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 32px;
        }
    }

    /* Large Screens */
    @media (min-width: 1024px) {
        .archive-grid {
            grid-template-columns: repeat(3, 1fr);
            gap: 40px;
        }
    }

    .archive-card {
        display: flex;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 24px;
        overflow: hidden;
        text-decoration: none;
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        height: 100%;
        position: relative;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .archive-card:hover {
        transform: translateY(-8px);
        background: rgba(30, 30, 35, 0.8);
        border-color: rgba(16, 185, 129, 0.5);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(16, 185, 129, 0.2);
    }

    .archive-card-thumb {
        width: 100%;
        aspect-ratio: 16/9;
        overflow: hidden;
        position: relative;
    }

    .archive-card-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    .archive-card:hover .archive-card-thumb img {
        transform: scale(1.1);
    }

    /* Image Placeholder */
    .archive-card-thumb>div {
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, #18181b, #27272a);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .archive-card-body {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        padding: 28px;
    }

    .archive-card-date {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 16px;
        font-size: 13px;
        color: #a1a1aa;
        font-family: 'Noto Sans JP', sans-serif;
    }

    .news-badge {
        background: rgba(255, 255, 255, 0.05);
        color: #10b981;
        padding: 4px 12px;
        border-radius: 99px;
        font-size: 11px;
        font-weight: 700;
        border: 1px solid rgba(16, 185, 129, 0.2);
        letter-spacing: 0.05em;
    }

    .archive-card-title {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 16px;
        line-height: 1.6;
        color: #fff;
        transition: color 0.3s;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        flex-grow: 1;
        /* Pushes excerpt down if title is short, keeps consistent height feels */
    }

    .archive-card:hover .archive-card-title {
        color: #10b981;
    }

    .archive-card-excerpt {
        font-size: 14px;
        color: #d4d4d8;
        line-height: 1.8;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        opacity: 0.8;
        margin-top: auto;
        /* Ensure aligns at bottom if needed, or just remove flex-grow from title */
    }

    /* Link overlay effect (Optional subtle highlight) */
    .archive-card::after {
        content: '';
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: radial-gradient(circle at center, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
        opacity: 0;
        transition: opacity 0.4s;
    }

    .archive-card:hover::after {
        opacity: 1;
    }

    /* Mobile Responsive Adjustments */
    @media (max-width: 767px) {
        .archive-grid {
            gap: 20px;
        }

        .archive-card {
            border-radius: 20px;
        }

        .archive-card-body {
            padding: 20px;
        }

        .archive-card-title {
            font-size: 16px;
        }
    }

    /* ===== GALLERY PAGE ===== */

    /* 目次カード */
    .gallery-toc-card {
        background: #18181b;
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 24px;
        padding: 48px 40px;
        text-align: center;
    }

    /* =========================================
       GALLERY PAGE STYLES - FIXED
       ========================================= */

    .gallery-toc-section {
        padding: 60px 0;
        background: #0a0a0a;
    }

    /* 目次カード */
    .gallery-toc-card {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 16px;
        padding: 40px;
    }

    .gallery-toc-title {
        font-size: 24px;
        font-weight: 900;
        color: #fff;
        margin-bottom: 32px;
        text-align: center;
        letter-spacing: 0.1em;
    }

    .gallery-toc-list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 16px;
    }

    .gallery-toc-list li a {
        display: block;
        padding: 16px 20px;
        background: rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        color: #d4d4d8;
        font-size: 14px;
        font-weight: 700;
        text-decoration: none;
        transition: all 0.3s;
        text-align: center;
    }

    .gallery-toc-list li a:hover {
        background: #10b981;
        border-color: #10b981;
        color: #fff;
        transform: translateY(-2px);
    }

    /* イベントセクション */
    .gallery-event-section {
        padding: 60px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .gallery-event-title {
        font-size: 28px;
        font-weight: 900;
        color: #fff;
        margin-bottom: 20px;
        background: linear-gradient(to right, #10b981, #fff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        display: inline-block;
    }

    .gallery-event-meta {
        display: flex;
        gap: 20px;
        color: #a1a1aa;
        font-size: 14px;
        margin-bottom: 30px;
        flex-wrap: wrap;
    }

    .gallery-event-meta i {
        color: #10b981;
        margin-right: 6px;
    }

    /* ギャラリーグリッド - PCで絶対に4列 */
    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        /* スマホは2列 */
        gap: 12px;
    }

    @media (min-width: 768px) {
        .gallery-grid {
            grid-template-columns: repeat(4, 1fr) !important;
            /* PCは強制4列 */
            gap: 20px;
        }
    }

    .gallery-thumb {
        position: relative;
        display: block;
        aspect-ratio: 1 / 1;
        overflow: hidden;
        border-radius: 12px;
        background: #000;
    }

    .gallery-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
        opacity: 0.9;
    }

    .gallery-thumb:hover img {
        transform: scale(1.1);
        opacity: 1;
    }

    /* =========================================
       CONTACT FORM 7 - FINAL CORRECTION
       ========================================= */

    .wpcf7-form {
        max-width: 800px;
        margin: 0 auto;
        padding: 40px;
        background: rgba(255, 255, 255, 0.02);
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .form-group {
        margin-bottom: 32px;
    }

    /* ラベルと必須タグの横並び配置 */
    .form-label-row {
        display: flex;
        align-items: center;
        /* 垂直方向中央 */
        justify-content: flex-start;
        /* 左寄せ */
        gap: 16px;
        /* ラベルと必須タグの間隔 */
        margin-bottom: 12px;
    }

    /* ラベルテキスト */
    .form-label {
        font-size: 16px;
        font-weight: 700;
        color: #fff;
        display: flex;
        align-items: center;
    }

    .form-label i {
        color: #10b981;
        margin-right: 8px;
        font-size: 18px;
    }

    /* 必須タグ - 赤背景・白文字 */
    .form-required {
        background-color: #ef4444;
        /* 鮮やかな赤 */
        color: #ffffff;
        font-size: 11px;
        font-weight: 700;
        padding: 4px 10px;
        border-radius: 4px;
        line-height: 1;
        display: inline-block;
        white-space: nowrap;
    }

    /* 入力フォーム */
    .wpcf7-form input[type="text"],
    .wpcf7-form input[type="email"],
    .wpcf7-form input[type="tel"],
    .wpcf7-form textarea {
        width: 100%;
        background: #000;
        border: 1px solid #333;
        border-radius: 8px;
        padding: 16px;
        color: #fff;
        font-size: 16px;
        transition: border-color 0.3s, box-shadow 0.3s;
        box-sizing: border-box;
    }

    .wpcf7-form input:focus,
    .wpcf7-form textarea:focus {
        outline: none;
        border-color: #10b981;
        box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
    }

    .wpcf7-form textarea {
        height: 240px;
    }

    /* 送信ボタン - 強制中央配置 & デザイン強化 */
    .form-submit-row {
        margin-top: 48px;
        text-align: center;
        width: 100%;
    }

    .wpcf7-form input[type="submit"] {
        display: block !important;
        /* ブロック要素にして中央寄せを効かせる */
        margin: 0 auto !important;
        /* 自動マージンで中央へ */
        background: linear-gradient(135deg, #10b981, #059669);
        color: #fff;
        font-size: 18px;
        font-weight: 800;
        padding: 20px 100px;
        border: none;
        border-radius: 50px;
        cursor: pointer;
        transition: transform 0.2s, box-shadow 0.2s;
        box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
        letter-spacing: 0.1em;
    }

    .wpcf7-form input[type="submit"]:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
        background: linear-gradient(135deg, #34d399, #10b981);
    }

    .wpcf7-form input[type="submit"]:active {
        transform: translateY(1px);
    }

    /* SPレスポンシブ */
    @media (max-width: 767px) {
        .wpcf7-form {
            padding: 24px;
        }

        .wpcf7-form input[type="submit"] {
            width: 100%;
            padding: 18px;
        }
    }

    .gallery-thumb:hover img {
        transform: scale(1.1);
        opacity: 1;
    }

    .gallery-thumb-overlay {
        position: absolute;
        inset: 0;
        background: rgba(16, 185, 129, 0.8);
        /* 緑オーバーレイ */
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
        backdrop-filter: blur(4px);
    }

    .gallery-thumb:hover .gallery-thumb-overlay {
        opacity: 1;
    }

    .gallery-thumb-overlay i {
        color: #fff;
        font-size: 32px;
        transform: scale(0.5);
        transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .gallery-thumb:hover .gallery-thumb-overlay i {
        transform: scale(1);
    }

    /* ライトボックス */
    .gallery-lightbox {
        position: fixed;
        inset: 0;
        z-index: 99999;
        background: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(20px);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s;
    }

    .gallery-lightbox.active {
        opacity: 1;
        visibility: visible;
    }

    .lightbox-content {
        position: relative;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 40px;
    }

    .lightbox-content img {
        max-width: 90vw;
        max-height: 80vh;
        object-fit: contain;
        border-radius: 4px;
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
        user-select: none;
    }

    .lightbox-caption {
        color: #fff;
        font-size: 16px;
        font-weight: 700;
        margin-top: 24px;
        text-align: center;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    }

    .lightbox-counter {
        color: #10b981;
        font-size: 14px;
        font-weight: 700;
        margin-top: 8px;
        letter-spacing: 0.1em;
    }

    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
        background: none;
        border: none;
        color: rgba(255, 255, 255, 0.5);
        cursor: pointer;
        transition: all 0.3s;
        position: absolute;
        z-index: 100000;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .lightbox-close:hover,
    .lightbox-prev:hover,
    .lightbox-next:hover {
        color: #10b981;
        transform: scale(1.1);
        text-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
    }

    .lightbox-close {
        top: 30px;
        right: 30px;
        font-size: 40px;
        width: 60px;
        height: 60px;
    }

    .lightbox-prev {
        left: 30px;
        font-size: 60px;
        height: 100%;
        top: 0;
        padding: 0 20px;
    }

    .lightbox-next {
        right: 30px;
        font-size: 60px;
        height: 100%;
        top: 0;
        padding: 0 20px;
    }

    font-weight: 700;
    margin-top: 4px;
    letter-spacing: 0.1em;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(16, 185, 129, 0.3);
}

/* ギャラリーレスポンシブ */
@media (max-width: 1023px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .gallery-toc-card {
        padding: 32px 20px;
        border-radius: 16px;
    }

    .gallery-event-section {
        padding: 48px 0;
    }

    .gallery-event-title {
        text-wrap: balance;
    }

    .gallery-event-meta {
        flex-direction: column;
        gap: 6px;
        text-align: left;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .gallery-thumb {
        border-radius: 6px;
    }

    .lightbox-content {
        padding: 60px 16px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .lightbox-prev {
        left: 8px;
    }

    .lightbox-next {
        right: 8px;
    }

    .lightbox-close {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
    }

    .gallery-toc-list li a {
        text-align: left;
    }
}

/* News Compact Thumbnail */
.news-thumb-compact {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    margin-right: 16px;
    background: #18181b;
}

.news-thumb-compact img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

@media (max-width: 639px) {
    .news-thumb-compact {
        width: 50px;
        height: 50px;
        margin-right: 12px;
    }
}