/* ==================================================
   AI Robot-Driven Science Initiative
   サンプルサイト構造 + 現在のカラーパレット統合版
   ================================================== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    line-height: 1.8;
    color: #151d22;
    background-color: #fff;
    padding-top: 140px; /* ヘッダーの高さ分のスペース確保 */
}

a {
    color: #133984;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

/* ==================================== */
/* Header Styles */
/* ==================================== */
header {
    background: #133984;
    color: white;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    font-size: 14px;
}

.logo {
    font-weight: 500;
}

.lang-switch a {
    color: white;
    margin: 0 5px;
}

.lang-switch a.active {
    font-weight: bold;
}

.lang-switch a:hover {
    text-decoration: none;
    opacity: 0.8;
}

/* Navigation */
.nav-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 0 40px 20px 40px;
}

/* Desktop Navigation - Default (960px+) */
nav {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 0;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: inline-flex;
}

/* Hide nav-panel on desktop */
.nav-panel {
    display: contents;
}

/* Desktop: always show nav regardless of hidden attribute */
@media (min-width: 960px) {
    /* Hide the mobile portal drawer on desktop */
    .nav-portal {
        display: none !important;
    }

    nav {
        background-color: rgba(255, 255, 255, 0.95);
        padding: 0;
        border-radius: 50px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        display: inline-flex !important;
        position: static;
        width: auto;
        height: auto;
        overflow: visible;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    /* Hide nav-panel wrapper on desktop */
    .nav-panel {
        display: contents;
    }

    /* Hide divider and language switcher on desktop */
    .nav-divider,
    .lang-switcher-block {
        display: none;
    }

    /* Desktop: horizontal menu layout */
    nav ul {
        display: flex;
        flex-direction: row;
        list-style: none;
        margin: 0;
        padding: 0;
        width: auto;
    }

    nav ul li {
        margin: 0;
        width: auto;
    }

    nav ul li a {
        padding: 12px 20px 9px 20px;
        color: #133984;
        border-bottom: 3px solid transparent;
        border-radius: 0;
        background: transparent;
    }
}

/* Base nav styles (overridden by media queries) */
nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    display: block;
    padding: 12px 20px 9px 20px;
    color: #133984;
    font-weight: 700;
    transition: border-bottom 0.3s;
    border-bottom: 3px solid transparent;
}

nav ul li:first-child a {
    margin-left: 10px;
}

nav ul li:last-child a {
    margin-right: 10px;
}

/* Hover only on desktop with pointer */
@media (hover: hover) and (min-width: 960px) {
    nav ul li a:hover {
        border-bottom: 3px solid rgba(17, 49, 120, 0.3);
        text-decoration: none;
    }
}

nav ul li a.active {
    border-bottom: 3px solid #133984;
    text-decoration: none;
}

.login-btn {
    background-color: #FFD700;
    color: #133984;
    padding: 12px 32px;
    border-radius: 30px;
    font-weight: bold;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.login-btn:hover {
    background-color: #FFC700;
    text-decoration: none;
}

/* Mobile Navigation Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    position: relative;
    width: 40px;
    height: 40px;
    z-index: 1001; /* Above nav overlay */
}

.mobile-nav-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: white;
    margin: 5px auto;
    transition: all 0.3s;
    border-radius: 2px;
}

/* Hamburger animation when open */
.mobile-nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hide mobile-only items on desktop */
.mobile-only {
    display: none;
}

/* Lock scroll when mobile menu is open */
body.nav-open {
    overflow: hidden;
}

/* Mobile Navigation Styles */
@media (max-width: 959px) {
    .mobile-nav-toggle {
        display: block;
        margin-left: auto;
        width: 58px; /* +30% larger from 44px */
        height: 58px;
        border-radius: 9999px;
        background: #ffffff; /* high-contrast pill */
        color: #133984; /* bars use currentColor */
        box-shadow: 0 2px 8px rgba(0,0,0,0.12);
        flex-shrink: 0;
    }

    /* Keep header fixed on mobile */
    header {
        position: fixed;
        top: 0;
    }

    /* モバイルでのヘッダー高さ分の調整 */
    body {
        padding-top: 100px;
    }

    /* Make header-top flexbox for proper alignment */
    .header-top {
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .header-top .logo {
        text-align: left;
    }

    .header-branding { padding: 4px 12px 2px; }
    .header-nav { padding: 0 0 4px; }
    .header-nav-inner { padding: 0 12px 6px; }

    /* Two-line brand: smaller EN to reduce height */
    .logo .logo-ja,
    .header .header-branding .container .logo-ja { font-size: 14px; line-height: 1.2; }
    .logo .logo-en,
    .header .header-branding .container .logo-en { font-size: 12px; line-height: 1.15; opacity: 0.9; }

    /* Ensure hamburger bars are visible on all backgrounds */
    .mobile-nav-toggle span { background-color: currentColor; }
    .mobile-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }

    /* Close (X) button for portal drawer */
    .nav-close {
        position: absolute;
        top: 12px;
        right: 12px;
        z-index: 10; /* above panel content */
        width: 32px;
        height: 32px;
        border-radius: 9999px; /* circular tap target */
        background: transparent;
        border: none;
        color: #151d22; /* darker gray X */
        display: none;
        align-items: center;
        justify-content: center;
        font-size: 20px; /* smaller X */
        font-weight: 700; /* thicker X */
        line-height: 1;
        box-shadow: none;
    }
    .nav-close:focus-visible { outline: 2px solid #133984; outline-offset: 2px; }
    body.nav-open .nav-portal .nav-close { display: flex; }

    /* Hide hamburger while drawer is open so close button is primary */
    body.nav-open header .mobile-nav-toggle { display: none !important; }

    /* Thicker hamburger bars for visibility on mobile */
    .mobile-nav-toggle span { height: 4px; }

    /* Hide legacy nav container on mobile; portalized drawer is used instead */
    #mainNav { display: none !important; }

    /* Hide language switch and login button in header on mobile */
    .header-top .lang-switch {
        display: none;
    }

    .nav-wrapper > .login-btn {
        display: none;
    }

    .nav-wrapper {
        display: none; /* Hide on mobile since hamburger is moved to .header-top */
    }

    /* Compact header spacing */
    header .header-top {
        padding: 12px 12px;
        min-height: 80px;
    }
    .header-branding { padding: 8px 16px; }
    .header-nav-inner { display: flex; align-items: center; gap: 8px; padding: 8px 16px; }
    .header-nav-inner #navToggle { margin-left: auto; }

    /* Logo: smaller and allow 2-line layout */
    .logo, .header .header-branding .container {
        font-size: 14px;
        line-height: 1.3;
        white-space: normal;
    }
    .logo .logo-en, .header .header-branding .container .logo-en { display: inline; font-weight: 400; }
    .logo .logo-ja, .header .header-branding .container .logo-ja { display: inline; font-weight: 500; }

    /* Mobile drawer portal container (under <body>) */
    .nav-portal {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100vh;  /* Fallback for older browsers */
        height: 100svh; /* iOS Safari small viewport */
        height: 100dvh; /* Dynamic viewport for modern browsers */
        pointer-events: none; /* children manage interactivity */
        z-index: 1000;
        display: none; /* toggled by body.nav-open */
    }

    body.nav-open .nav-portal {
        pointer-events: auto;
        display: block;
    }

    /* Backdrop element (sibling overlay) - only show when menu is open */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.40);
        z-index: 40; /* Below panel, above page */
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s ease, visibility 0.2s ease;
        pointer-events: none;
    }

    body.nav-open .nav-portal .nav-overlay {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    /* White opaque panel wrapper */
    .nav-panel {
        position: fixed;
        top: 0;
        left: 50%;
        transform: translateX(-50%) translateY(-8px);
        display: block; /* override global display: contents; on mobile */
        width: 85%;
        max-width: 400px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 0 0 16px 16px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
        padding: 50px 20px calc(20px + env(safe-area-inset-bottom)) 20px; /* safe bottom */
        z-index: 50; /* Above overlay */
        margin: 0;
        opacity: 0;
        transition: transform 0.2s ease, opacity 0.2s ease;
        max-height: 80vh;
        overflow-y: auto;
        overscroll-behavior: contain; /* prevent background bounce */
    }

    body.nav-open .nav-portal .nav-panel {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    /* Ensure portal panel menu gets same layout styles as legacy nav */
    .nav-panel ul,
    nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
    }

    .nav-panel ul li,
    nav ul li {
        width: 100%;
        margin-bottom: 0;
    }

    .nav-panel ul li a,
    nav ul li a {
        display: block;
        width: 100%;
        padding: 8px 16px;
        text-align: left;
        color: #0b0b0b;
        font-size: 16px;
        border-bottom: none;
        border-radius: 8px;
        background: #fff;
    }

    /* Hover only on devices with hover capability */
    @media (hover: hover) {
        nav ul li a:hover {
            background-color: #f3f4f6;
        }
    }

    nav ul li a.active {
        background-color: #133984;
        color: white;
    }

    nav ul li:first-child a,
    nav ul li:last-child a {
        margin-left: 0;
        margin-right: 0;
    }

    /* Hide mobile-only items (Login, Language) from main menu */
    .mobile-only {
        display: none;
    }

    /* Menu divider */
    .nav-divider {
        height: 1px;
        background-color: #e5e7eb;
        margin: 16px 0;
    }

    /* Language switcher block */
    .lang-switcher-block {
        margin-top: 16px;
        padding: 0 16px;
    }

    .lang-switcher-label {
        display: block;
        color: #465d68;
        font-size: 14px;
        margin-bottom: 8px;
        padding: 0;
    }

    .lang-switcher-buttons {
        display: flex;
        gap: 8px;
        padding: 0;
    }

    .lang-switcher-buttons button {
        flex: 1;
        padding: 12px;
        border: 1px solid #e5e7eb;
        background-color: #fff;
        color: #133984;
        font-size: 16px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s ease;
        border-radius: 8px;
    }

    /* Hover only on devices with hover capability */
    @media (hover: hover) {
        .lang-switcher-buttons button:hover {
            background-color: #f3f4f6;
        }
    }

    .lang-switcher-buttons button.active {
        background-color: #000;
        color: #fff;
        border-color: #000;
    }

    /* Remove extra close (✕) icon to avoid duplication with hamburger X */
    nav::after { display: none; content: none; }
}

/* ==================================== */
/* Hero Section */
/* ==================================== */
.hero {
    background: url('/assets/images/fv_bk_img.webp') center center / cover no-repeat;
    position: relative;
    color: white;
    padding: 60px 60px 80px;
    margin: -20px calc(-50vw + 50%) 60px calc(-50vw + 50%);
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: left;
}

.home-hero-content {
    background: rgba(17, 49, 120, 0.7);
    padding: 40px;
    border-radius: 4px;
    width: 95%;
    max-width: 1100px;
    margin: 0 auto;
}

.home-hero-content h1,
.home-hero-content h2,
.home-hero-content .hero-text {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 400;
    color: white;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9);
    border-bottom: none;
}

.hero h2 {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 30px;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
    border-bottom: 3px solid white;
}

.hero-text {
    max-width: 100%;
}

.hero-text p {
    margin-bottom: 15px;
    line-height: 1.8;
    font-size: 18px;
    color: white;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9);
}

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

/* Mobile line break control */
.mobile-br {
    display: none;
}

@media (max-width: 600px) {
    .mobile-br {
        display: block;
        width: 100%;
        height: 0;
        flex-basis: 100%;
    }
}

/* ==================================== */
/* Main Content */
/* ==================================== */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
}

section {
    margin-bottom: 30px;
}

.section {
    background-color: #fff;
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 2.7em; /* 1.5 line spacing at 1.8 line-height = 1.5 * 1.8 = 2.7em */
    font-size: 14px;
    color: #465d68;
    background: none;
    box-shadow: none;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb a {
    display: inline-block;
    padding: 6px 12px;
    background: #f3f4f6;
    color: #465d68;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.breadcrumb a:hover {
    background: #e5e7eb;
    color: #133984;
}

h1 {
    font-size: 36px;
    margin-bottom: 40px;
    padding-bottom: 10px;
    color: #133984;
    border-bottom: 3px solid #133984;
}

h2 {
    font-size: 28px;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 3px solid #133984;
}

h3 {
    font-size: 22px;
    color: #133984;
    margin-bottom: 20px;
}

h4 {
    font-size: 18px;
    color: #465d68;
    margin: 20px 0 10px;
}

/* Section content styles */
.section .container > p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 32px;
}

.section .container > ul {
    margin-bottom: 60px;
    line-height: 2;
}

/* Page intro message (all pages) */
.page-intro {
    font-size: 1.125rem;
    line-height: 1.9;
    color: #465d68;
    margin-bottom: 48px;
    font-weight: 400;
}

/* ==================================== */
/* News and Event Sections */
/* ==================================== */
.news-section,
.event-section {
    background-color: #f3f4f6;
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.news-section h2,
.event-section h2 {
    color: #133984;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    border-bottom: none;
}

/* News and Event Lists */
.news-list,
.event-list {
    list-style: none;
}

.news-list li,
.event-list li {
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: white;
}

.news-list li:first-child,
.event-list li:first-child {
    border-radius: 8px 8px 0 0;
}

.news-list li:last-child,
.event-list li:last-child {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
}

.date {
    color: #465d68;
    font-size: 15px;
    white-space: nowrap;
}

.status {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
}

.status.upcoming {
    background-color: #133984;
    color: white;
}

.status.ended {
    background-color: #9ca3af;
    color: white;
}

/* ==================================== */
/* Card Layout (旧スタイル - Test用) */
/* ==================================== */
.grid {
    display: grid;
    gap: 24px;
}

.grid.cards {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.card {
    background: #fafafa;
    border: 1px solid #133984;
    border-radius: 16px;
    padding: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    /* ホバー効果なし */
}

.card h3 {
    margin: 12px 0;
    font-size: 20px;
}

.card h3 a {
    color: #133984;
}

.card h3 a:hover {
    text-decoration: underline;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    margin-bottom: 12px;
}

.badge-upcoming {
    background-color: #133984;
    color: #fff;
}

.badge-ended {
    background-color: #999;
    color: #fff;
}

/* Activity Navigation Buttons */
.activity-nav-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin: 32px 0 48px 0;
    flex-wrap: wrap;
}

.activity-nav-buttons .btn {
    flex: 0 1 auto;
    min-width: 240px;
    text-align: center;
    justify-content: center;
}

/* Activity Sections */
.activity-section {
    margin: 48px 0;
    padding: 32px;
    background: #fafafa;
    border-left: 4px solid #133984;
    border-radius: 8px;
    scroll-margin-top: 100px; /* ヘッダー固定分のオフセット */
}

.activity-section h2 {
    color: #133984;
    font-size: 24px;
    margin: 0 0 16px 0;
}

.activity-section > p {
    margin: 0 0 24px 0;
    line-height: 1.8;
    color: #151d22;
}

.sub-activity {
    margin: 24px 0 24px 24px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.sub-activity h3 {
    color: #133984;
    font-size: 18px;
    margin: 0 0 12px 0;
}

.sub-activity p {
    margin: 0;
    line-height: 1.8;
    color: #465d68;
}

@media (max-width: 768px) {
    .activity-section {
        margin: 32px 0;
        padding: 20px;
    }

    .activity-section h2 {
        font-size: 20px;
    }

    .sub-activity {
        margin: 16px 0;
        padding: 16px;
    }

    .sub-activity h3 {
        font-size: 16px;
    }
}

/* ==================================== */
/* Buttons */
/* ==================================== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 12px;
    background: #133984;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #133984;
    cursor: pointer;
}

.btn:hover {
    background: #1a4799;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(17, 49, 120, 0.3);
}

.btn-outline {
    background: #fff;
    color: #111;
}

.btn-outline:hover {
    background: #f5f5f5;
}

.btn-primary {
    display: inline-block;
    background-color: #133984;
    color: white;
    padding: 18px 40px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: background-color 0.3s;
    text-align: center;
    line-height: 1.6;
    border: none;
}

.btn-primary:hover {
    background-color: #286e97;
    text-decoration: none;
}

.btn-primary .subtitle {
    display: block;
    font-size: 14px;
    font-weight: normal;
    margin-top: 5px;
}

.btn-secondary {
    display: inline-block;
    background-color: white;
    color: #133984;
    padding: 12px 30px;
    border-radius: 6px;
    border: 2px solid #133984;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background-color: #133984;
    color: white;
    text-decoration: none;
}

.button-primary {
    display: inline-block;
    background-color: #FFD700;
    color: #133984;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.button-primary:hover {
    background-color: #FFC700;
    text-decoration: none;
}

/* ==================================== */
/* Event Page */
/* ==================================== */
.event-page {
    max-width: 1200px;
    margin: 0 auto;
}

.event-category {
    margin-bottom: 50px;
}

.event-category h2 {
    background-color: #f3f4f6;
    color: #151d22;
    padding: 15px 25px;
    margin-bottom: 0;
    border-bottom: none;
    border-left: 5px solid #133984;
    font-size: 20px;
    font-weight: 600;
}

.event-category .event-list {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: white;
}

.event-category .event-item {
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

@media (max-width: 768px) {
    .event-category .event-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

.event-category .event-item:last-child {
    border-bottom: none;
}

.event-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
}

.status-upcoming {
    background-color: #133984;
    color: white;
}

.status-ended {
    background-color: #9ca3af;
    color: white;
}

.event-date {
    color: #465d68;
    font-size: 15px;
    white-space: nowrap;
}

.event-title {
    color: #151d22;
    font-size: 15px;
    line-height: 1.6;
}

.event-title a {
    color: #133984;
    text-decoration: none;
}

.event-title a:hover {
    text-decoration: underline;
}

/* News Page - Date same size as title */
.news-page .event-date {
    font-size: 15px;
    color: #465d68;
}

.news-page .event-title {
    font-size: 15px;
}

/* ==================================== */
/* Symposium Page */
/* ==================================== */
.symposium-hero {
    position: relative;
    background: linear-gradient(135deg, #133984 0%, #654079 50%, #286e97 100%);
    color: white;
    padding: 80px 40px;
    text-align: center;
    margin: -20px calc(-50vw + 50%) 60px calc(-50vw + 50%);
    overflow: hidden;
}

.network-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.symposium-hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.4;
    color: white;
    border-bottom: none;
}

.symposium-hero h1::after {
    content: '';
    display: block;
    width: 400px;
    height: 2px;
    background: white;
    margin: 20px auto 0;
}

.symposium-hero .event-date {
    font-size: 24px;
    font-weight: 500;
    color: #fff;
}

/* Membership Hero Styles */
.membership-org-name {
    font-size: 26px;
    font-weight: 400;
    margin-bottom: 0;
    color: #fff;
}

.membership-org-name::after {
    content: '';
    display: block;
    width: 500px;
    height: 2px;
    background: white;
    margin: 20px auto 20px;
}

.membership-org-name + h1::after {
    display: none;
}

.symposium-hero h1 + .membership-badge {
    margin-top: 30px;
}

.membership-badge {
    display: inline-block;
    background-color: white;
    color: #133984;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
}

.symposium-intro {
    margin-bottom: 0;
}

.symposium-intro p {
    margin-bottom: 20px;
}

.cta-button {
    text-align: center;
    margin: 40px 0;
}

/* Event Details */
.event-details h2 {
    margin-bottom: 20px;
}

.event-details dl {
}

.event-details dt {
    font-weight: bold;
    color: #133984;
    font-size: 18px;
    margin-top: 15px;
    margin-bottom: 8px;
}

.event-details dt:first-child {
    margin-top: 0;
}

.event-details dd {
    margin-left: 0;
    margin-bottom: 10px;
}

.access-info {
    list-style: disc;
    margin-left: 20px;
    margin-top: 10px;
}

/* Program Section */
#program h2 {
    margin-bottom: 20px;
}

.program-section {
    margin-bottom: 30px;
}

.program-section h3 {
    color: #133984;
    font-size: 22px;
    margin-bottom: 15px;
}

.program-section h4 {
    color: #465d68;
    font-size: 18px;
    margin: 20px 0 10px;
}

.program-time {
    font-weight: bold;
    color: #133984;
    margin-bottom: 15px;
}

.program-section ul {
    list-style: none;
    margin-left: 20px;
}

.program-section li {
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
}

.program-section li:last-child {
    border-bottom: none;
}

.program-note {
    margin-top: 20px;
    font-size: 14px;
    color: #465d68;
    font-style: italic;
}

/* Program Table */
.program-section table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.9em;
    table-layout: fixed;
}

.program-section th,
.program-section td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
    vertical-align: top;
}

.program-section th {
    background-color: #f4f4f4;
    font-weight: 600;
}

.program-section th:first-child,
.program-section td:first-child {
    width: 140px;
}

/* ==================================== */
/* Sponsors Section */
/* ==================================== */
.sponsor-tier {
    margin-bottom: 50px;
}

.sponsor-tier h3 {
    padding: 12px 20px;
    border-radius: 6px;
    color: white;
    margin-bottom: 25px;
    text-align: center;
}

.tier-diamond {
    background: #151d22;
}

.tier-platinum {
    background: #286e97;
}

.tier-gold {
    background: linear-gradient(135deg, #FFD700, #FFC700);
}

.tier-silver {
    background: #7a8f9a;
}

.sponsor-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.sponsor-logo {
    text-align: center;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 250px;
    flex: 0 0 calc(33.333% - 20px);
}

/* モバイル: 1列 */
@media (max-width: 767px) {
    .sponsor-logo {
        flex: 0 0 100%;
    }
}

/* タブレット: 2列 */
@media (min-width: 768px) and (max-width: 1023px) {
    .sponsor-logo {
        flex: 0 0 calc(50% - 15px);
    }
}

/* デスクトップ: 3列 */
@media (min-width: 1024px) {
    .sponsor-logo {
        flex: 0 0 calc(33.333% - 20px);
    }
}

.sponsor-logo img {
    max-width: 200px;
    max-height: 80px;
    min-width: 86px;
    min-height: 30px;
    margin: 40px;
    object-fit: contain;
}

.sponsor-logo p {
    font-size: 16px;
    color: #465d68;
    font-weight: 500;
    margin: 0;
}

.sponsor-logo .sponsor-name-only {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.sponsors h5 {
    font-size: 1.1em;
    margin-top: 25px;
    color: #654079;
}

.sponsors ul {
    list-style-type: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* Support and Organizers */
.support-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
}

.support-logos img {
    max-width: 200px;
    max-height: 80px;
    object-fit: contain;
    margin: 40px;
}

.organizers h2 {
    margin-bottom: 20px;
}

.organizers h3 {
    margin-top: 40px;
}

.organizers h3:first-of-type {
    margin-top: 0;
}

.organizers ul {
    list-style: none;
}

.organizers li {
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
}

.organizers li:last-child {
    border-bottom: none;
}

/* Speakers Section */
#speakers h3 {
    margin-top: 40px;
    margin-bottom: 20px;
}

#speakers h3:first-of-type {
    margin-top: 0;
}

/* Program Note */
.program-note {
    margin-top: 20px;
    font-size: 0.9em;
    color: #465d68;
}

/* Moderator Label */
.moderator-label {
    margin-top: 8px;
    font-weight: 600;
    color: #133984;
}

/* ==================================== */
/* Membership Page */
/* ==================================== */
.member-portal-btn {
    margin-top: 20px;
}

.membership-intro {
    background-color: #f8fafc;
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 50px;
    text-align: center;
}

.membership-intro p {
    margin-bottom: 20px;
}

.note-member-only {
    text-align: center;
    color: #999;
    font-style: italic;
    margin-bottom: 30px;
}

.highlight {
    text-align: center;
    font-size: 1.6em;
    color: #654079;
    margin: 20px 0 10px;
}

.highlight-fee {
    text-align: center;
    font-size: 2em;
    color: #654079;
    padding: 10px;
    border: 2px dashed #654079;
    display: block;
    width: 80%;
    margin: 0 auto 30px;
    border-radius: 8px;
}

.benefits-box {
    background-color: #f8fafc;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 25px;
    scroll-margin-top: 100px; /* ヘッダー固定分のオフセット */
}

.benefits-box h3 {
    color: #133984;
    margin-bottom: 20px;
    font-size: 22px;
}

.benefits-box.early-bird {
    border: 3px solid #FFD700;
    background-color: #fff;
}

.benefits-box ul {
    list-style: none;
}

.benefits-box li {
    padding: 12px 0;
    padding-left: 25px;
    position: relative;
}

.benefits-box li::before {
    content: "▶";
    position: absolute;
    left: 0;
    color: #133984;
}

.benefits-box small {
    display: block;
    color: #465d68;
    font-size: 13px;
    margin-top: 5px;
}

.benefits-box.registration-steps ol {
    list-style: decimal;
    padding-left: 40px;
}

.benefits-box.registration-steps li {
    padding-left: 10px;
}

.benefits-box.registration-steps li::before {
    content: none;
}

/* Membership Table */
.membership-types table,
#fee-structure table {
    width: 100%;
    border-collapse: collapse;
    background-color: #f8fafc;
    border-radius: 8px;
    overflow: hidden;
    margin: 20px 0;
}

.membership-types th,
.membership-types td,
#fee-structure th,
#fee-structure td {
    padding: 18px;
    text-align: center;
    border: 1px solid #e5e7eb;
}

.membership-types th,
#fee-structure th {
    background-color: #133984;
    color: white;
    font-weight: bold;
}

.membership-types tr:last-child td {
    border-bottom: none;
}

.membership-types tbody tr:hover {
    background-color: #f8fafc;
}

#fee-structure tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Registration Steps */
.registration-steps {
    background-color: #f8fafc;
    padding: 30px 30px 30px 60px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.registration-steps li {
    padding: 12px 0;
    font-size: 18px;
}

.cta-note {
    text-align: center;
    color: #465d68;
    font-size: 14px;
    margin-top: 15px;
}

.join-button-wrapper {
    text-align: center;
    margin: 30px 0;
}

/* Membership Notes */
.membership-notes,
.membership-rules {
    background-color: #f8fafc;
    padding: 30px;
    border-radius: 8px;
    border-left: 5px solid #FFD700;
    font-size: 0.85em;
    color: #465d68;
    margin-top: 20px;
}

.membership-notes h3 {
    color: #133984;
    margin-bottom: 15px;
}

.membership-notes ul {
    list-style: disc;
    margin-left: 25px;
}

.membership-notes li {
    padding: 8px 0;
    color: #151d22;
}

/* ==================================== */
/* Contact Info */
/* ==================================== */
.contact-info {
    text-align: center;
    background-color: #f8fafc;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #133984;
    margin-top: 40px;
    margin-bottom: -40px;
}

.contact-info h2 {
    border: none;
    margin-bottom: 15px;
}

.contact-info a {
    font-size: 18px;
    font-weight: bold;
}

.registration-info {
    text-align: center;
    background-color: #f8fafc;
    padding: 20px;
    border: 1px solid #133984;
    margin: 20px 0;
    border-radius: 8px;
}

.registration-info p strong {
    font-size: 1.5em;
    color: #654079;
}

.membership-registration {
    margin-top: 20px;
    padding: 25px;
    background-color: #133984;
    border-color: #133984;
}

.membership-registration p strong {
    font-size: 1.4em;
    color: #fff;
}

.membership-registration p:last-child {
    font-size: 1.1em;
    color: #FFD700;
    font-weight: 600;
    margin: 10px 0 0;
}

/* Summary List */
dl.summary-list {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 12px;
    margin: 20px 0;
}

dl.summary-list dt {
    font-weight: bold;
    color: #133984;
}

/* ==================================== */
/* Team Member Cards (About Us) */
/* ==================================== */
.team-section {
    padding: 0;
    margin-top: 10px;
}

.team-section h2 {
    text-align: center;
    font-size: 32px;
    color: #133984;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px;
}

.team-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #133984, #654079);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.team-card {
    background: #fafafa;
    border: 1px solid #133984;
    border-radius: 16px;
    padding: 24px;
}

.team-member-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.team-member-photo {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 20px;
    flex-shrink: 0;
}

.team-member-info {
    flex: 1;
}

.team-member-name {
    font-size: 20px;
    font-weight: 700;
    color: #133984;
    margin-bottom: 8px;
}

.team-member-detail-btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 12px;
    background: #133984;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #133984;
    cursor: pointer;
    margin-top: 8px;
}

.team-member-detail-btn:hover {
    background: #1a4799;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(17, 49, 120, 0.3);
}

.team-member-description {
    font-size: 14px;
    line-height: 1.8;
    color: #151d22;
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .team-member-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .team-member-photo {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

/* ==================================== */
/* Footer */
/* ==================================== */
footer {
    background-color: #000;
    color: white;
    text-align: center;
    padding: 60px 40px 40px;
    margin-top: 10px;
}

footer a {
    color: #fff;
}

.footer-content {
    max-width: 1080px;
    margin: 0 auto;
}

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

.footer-logo img {
    width: 200px;
    height: auto;
}

.footer-org-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #fff;
}

.footer-contact-btn {
    display: inline-block;
    background-color: white;
    color: #133984;
    padding: 15px 40px;
    border: 2px solid #133984;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 30px;
    transition: all 0.3s;
}

.footer-contact-btn:hover {
    background-color: #133984;
    color: white;
    text-decoration: none;
}

.footer-info {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #fff;
}

.footer-office {
    font-size: 13px;
    color: #fff;
    margin-bottom: 30px;
}

.footer-social {
    margin-bottom: 30px;
}

.footer-social a {
    display: inline-block;
    margin: 0 10px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-social a:hover {
    opacity: 1;
}

.footer-social img {
    width: 32px;
    height: 32px;
}

.footer-copyright {
    font-size: 12px;
    color: #fff;
    padding-top: 20px;
    border-top: 1px solid #151d22;
}

/* ==================================== */
/* Utility Classes */
/* ==================================== */
.text-center {
    text-align: center;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: #000;
    color: #fff;
    padding: 8px;
    z-index: 200;
    opacity: 0;
    pointer-events: none;
}

.skip-link:focus {
    top: 0;
    opacity: 1;
    pointer-events: auto;
}

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

/* ==================================== */
/* Responsive Design */
/* ==================================== */
@media (max-width: 768px) {
    .header-top {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        padding: 15px 20px;
    }

    header {
        padding: 0;
    }

    nav {
        margin: 0 20px 20px 20px;
        flex-direction: column;
        padding: 0;
        border-radius: 12px;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
    }

    nav ul li {
        width: 100%;
    }

    nav ul li a {
        padding: 15px 20px;
        border-radius: 0;
        border-bottom: 1px solid rgba(17, 49, 120, 0.1);
    }

    nav ul li:first-child a {
        margin-left: 0;
        border-radius: 12px 12px 0 0;
    }

    nav ul li:last-child a {
        border-radius: 0 0 12px 12px;
        border-bottom: none;
    }

    .login-btn {
        margin: 15px 20px;
        display: block;
        text-align: center;
    }

    main {
        padding: 40px 20px;
    }

    .hero,
    .symposium-hero {
        padding: 50px 20px;
        margin-left: -20px;
        margin-right: -20px;
    }

    .hero {
        margin-left: -20px;
        margin-right: -20px;
        padding: 50px 20px;
    }

    .hero h1 {
        font-size: 16px;
    }

    .hero h2 {
        font-size: 24px;
    }

    .home-hero-content {
        padding: 20px;
    }

    .hero-text p {
        font-size: 14px;
        line-height: 1.7;
    }

    .hero-text p br {
        display: none;
    }

    .breadcrumb {
        font-size: 11px;
        flex-direction: row !important;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 4px;
    }

    .breadcrumb a {
        padding: 4px 8px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .symposium-hero h1 {
        font-size: 28px;
    }

    .news-section,
    .event-section {
        padding: 30px 20px;
    }

    .news-list li,
    .event-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .sponsor-logos {
        flex-direction: column;
        align-items: center;
    }

    .membership-types table,
    #fee-structure table {
        font-size: 11px;
        width: 100%;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .membership-types th,
    .membership-types td,
    #fee-structure th,
    #fee-structure td {
        padding: 8px 4px;
        white-space: normal;
        word-wrap: break-word;
    }

    .membership-types th br,
    .membership-types td br {
        display: inline;
    }

    dl.summary-list {
        grid-template-columns: 1fr;
    }

    .program-section th {
        width: auto;
    }

    .highlight-fee {
        width: 100%;
        font-size: 1.5em;
    }

    .grid.cards {
        grid-template-columns: 1fr;
    }
}

/* (removed) legacy mobile navigation styles for #mainNav that conflicted with portal implementation */

/* ========================================
   Page Navigation (Event Pages)
   ======================================== */

.page-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 40px 0;
  padding: 0;
  font-size: 0.9em;
  background: none;
  border: none;
  box-shadow: none;
}

/* Smooth scroll with offset for sticky header */
section[id] {
  scroll-margin-top: 80px;
  margin-top: 60px;
}

section[id]:first-of-type {
  margin-top: 0;
}

.page-nav a {
  color: #133984;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  position: relative;
  margin-right: 24px;
}

.page-nav a:last-child {
  margin-right: 0;
}

.page-nav a:hover {
  color: #286e97;
  border-bottom-color: #286e97;
}

.page-nav a:not(:last-child)::after {
  content: "｜";
  color: #ccc;
  position: absolute;
  right: -16px;
  bottom: 2px;
}

@media (max-width: 800px) {
  .page-nav {
    font-size: 0.7em;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    margin: 30px 0;
  }

  .page-nav a {
    margin-right: 16px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .page-nav a:not(:last-child)::after {
    right: -10px;
  }
}

@media (max-width: 600px) {
  .page-nav {
    flex-wrap: wrap !important;
    justify-content: center !important;
  }
}

/* ==================================== */
/* Exhibition Table Styles */
/* ==================================== */
#exhibition h2 {
  margin-bottom: 20px;
}

#exhibition h3 {
  margin-top: 40px;
  margin-bottom: 20px;
}

#exhibition h3:first-of-type {
  margin-top: 0;
}

.exhibition-table-wrapper {
  margin-bottom: 30px;
}

.exhibition-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  font-size: 0.9em;
  table-layout: fixed;
}

.exhibition-table th,
.exhibition-table td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

.exhibition-table th {
  background-color: #f4f4f4;
  font-weight: 600;
}

.exhibition-table th:first-child,
.exhibition-table td:first-child {
  width: 60px;
  text-align: center;
}

.exhibition-table th:nth-child(2),
.exhibition-table td:nth-child(2) {
  width: 55%;
}

.exhibition-table th:nth-child(3),
.exhibition-table td:nth-child(3) {
  width: auto;
}

@media (max-width: 768px) {
  .exhibition-table {
    border: 0;
  }

  .exhibition-table thead {
    display: none;
  }

  .exhibition-table,
  .exhibition-table tbody,
  .exhibition-table tr {
    display: block;
    width: 100%;
  }

  .exhibition-table tr {
    margin-bottom: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    background: white;
  }

  .exhibition-table td {
    display: block;
    text-align: left;
    border: none;
    padding: 4px 0;
  }

  .exhibition-table td:first-child {
    font-weight: 600;
    color: #133984;
    font-size: 14px;
    margin-bottom: 4px;
    text-align: left;
  }

  .exhibition-table td:nth-child(2) {
    font-weight: 600;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 8px;
  }

  .exhibition-table td:nth-child(3),
  .exhibition-table td:nth-child(4) {
    font-size: 13px;
    color: #465d68;
  }

  .exhibition-table td:nth-child(3)::before {
    content: "発表者: ";
    font-weight: 500;
  }

  .exhibition-table td:nth-child(4)::before {
    content: "所属: ";
    font-weight: 500;
  }
}

/* ==================================== */
/* Exhibition Card Styles (Detail Page) */
/* ==================================== */
.exhibition-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.exhibition-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-left: 4px solid #133984;
  border-radius: 8px;
  padding: 24px;
}

.exhibition-card.poster {
  border-left-color: #7a8f9a;
}

.exhibition-number {
  display: inline-block;
  background-color: #133984;
  color: white;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

.exhibition-number.poster {
  background-color: #7a8f9a;
}

.exhibition-title {
  font-size: 18px;
  font-weight: 600;
  color: #151d22;
  margin-bottom: 8px;
  line-height: 1.4;
}

.exhibition-presenter {
  font-size: 15px;
  color: #151d22;
  font-weight: 500;
  margin-bottom: 12px;
}

.exhibition-description {
  font-size: 14px;
  color: #465d68;
  line-height: 1.8;
  margin: 0;
}

@media (max-width: 768px) {
  .exhibition-card {
    padding: 16px;
  }

  .exhibition-title {
    font-size: 16px;
  }

  .exhibition-presenter {
    font-size: 14px;
  }

  .exhibition-description {
    font-size: 13px;
  }
}

/* News Article Styles */
.news-article {
  margin-top: 30px;
}

.news-article-header {
  background-color: #f3f4f6;
  border-left: 5px solid #133984;
  padding: 15px 25px 18px 25px;
  margin-bottom: 0;
  display: flex;
  align-items: center;
}

.news-article-date {
  display: block;
  color: #465d68;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}

.news-article h1 {
  color: #151d22;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  padding: 0;
  border-bottom: none;
}

.news-article-content {
  background-color: white;
  padding: 20px 25px;
  color: #151d22;
  line-height: 1.8;
}

.news-article-content p {
  margin-bottom: 20px;
}

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

@media (max-width: 768px) {
  .news-article {
    margin-top: 20px;
  }

  .news-article-header {
    padding: 12px 15px 15px 15px;
  }

  .news-article h1 {
    font-size: 18px;
  }

  .news-article-content {
    padding: 15px;
  }

  /* イベントページの冒頭文章の余白を調整 */
  .symposium-intro {
    padding: 20px 15px;
  }

  /* プログラムセクションの余白を調整 */
  .program-section {
    margin-left: -10px;
    margin-right: -10px;
  }

  /* 主催・後援などのセクションの余白を調整 */
  .organizers ul {
    padding: 15px;
    font-size: 13px;
  }

  .organizers li {
    font-size: 13px;
  }

  /* プログラムテーブルをカード形式に */
  .program-section table {
    border: 0;
  }

  .program-section table thead {
    display: none;
  }

  .program-section table,
  .program-section table tbody,
  .program-section table tr {
    display: block;
    width: 100%;
  }

  .program-section table tr {
    margin-bottom: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    background: white;
  }

  .program-section table td {
    display: block;
    text-align: left;
    border: none;
    padding: 4px 0;
  }

  .program-section table td:first-child {
    font-weight: 600;
    color: #133984;
    font-size: 14px;
    margin-bottom: 4px;
  }

  .program-section table td:last-child {
    font-size: 15px;
    line-height: 1.6;
  }

  /* ボタンのサブテキストを非表示 */
  .btn-subtitle {
    display: none;
  }

  /* 理事の見出しを小さく */
  .director-heading {
    font-size: 1.3em;
  }
}
