:root {
    --ui-color-brand: #2d3748;
    /* COLOR PALETTE - Colorful Conference Style */
    --color-ui-main: #2d3748;
    --color-bl1: #4299e1;
    --color-bl2: #3182ce;
    --color-orange: #f2a55f;
    --color-yellow: #fbbf24;
    --color-pink: #ec4899;
    --color-green: #10b981;
    --color-cyan: #06b6d4;
    --color-ui-05: #718096;
    --color-ui-ye: #fef5e7;
    --color-wh: #fff;
    --color-ui-gr0: #f5f5f7;
    --color-ui-gr1: #e2e8f0;
    --color-ui-gr2: #a0aec0;
    --color-re: #e53e3e;
    /* LAYOUT - Apple Style (smaller spacing) */
    --layout1: 0.875rem;
    --layout2: 1.5rem;
    --layout05: .375rem;
    --fsb: 105%;
    --fsb2: 120%;
    --fss: 85%;
    --ui-typography-typeface: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
    /* FONT SIZE - Apple Style (smaller, refined) */
    --ui-typography-h1: 1.75rem;
    --ui-typography-big: 1.25rem;
}

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

a {
    text-decoration: none;
}

body {
    font-family: var(--ui-typography-typeface);
    line-height: 1.47;
    color: var(--color-ui-main);
    background-color: var(--color-wh);
    font-size: 14px;
}

header {
    background-color: var(--color-wh);
    padding: 1rem;
    text-align: right;
}

.header-container .logo a {
    margin-bottom: 0.75rem;
    color: var(--ui-color-brand);
    font-size: .8rem;
}

/* set-header.htmlの<button class="menu-toggle">に対応 */
.menu-toggle {
    display: none;
    /* PCでは非表示 */
    position: fixed;
    /* 画面に固定 */
    top: 1rem;
    left: 1rem;
    z-index: 1001;
    /* ナビゲーションメニューより手前に表示 */
    width: 44px;
    height: 44px;
    background: var(--color-green);
    border: 1px solid var(--color-green);
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
}

/* ハンバーガーの3本線（<span>）の共通スタイル */
.menu-toggle span {
    display: block;
    position: absolute;
    left: 8px;
    width: 25px;
    height: 3px;
    background-color: var(--color-wh);
    border-radius: 2px;
    transition: transform 0.3s ease, top 0.3s ease, opacity 0.3s ease;
}

/* 1本目の線の位置 */
.menu-toggle span:nth-child(1) {
    top: 10px;
}

/* 2本目の線の位置 */
.menu-toggle span:nth-child(2) {
    top: 20px;
}

/* 3本目の線の位置 */
.menu-toggle span:nth-child(3) {
    top: 30px;
}

/* 1本目の線を45度回転させて中央に移動 */
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    top: 20px;
    transform: rotate(45deg);
}

/* 2本目の線を透明にして消す */
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

/* 3本目の線を-45度回転させて中央に移動 */
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    top: 20px;
    transform: rotate(-45deg);
}

nav {
    position: fixed;
    left: 0;
    top: 0;
    width: 250px;
    height: 100vh;
    background: var(--color-green);
    padding: 1.5rem 0 0 0;
    overflow-y: auto;
    z-index: 100;
    padding-bottom: 30px;
    /* スポンサーバナー用のスペースを確保 */
}

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

nav li {
    border-bottom: 1px solid rgba(251, 191, 36, 0.3);
}

nav a {
    /* display: block; を flex に変更 */
    display: flex;
    /* Flexboxのアイテムを縦方向中央に揃える */
    align-items: center;
    /* アイテム間のスペースを確保 */
    justify-content: space-between;

    color: var(--color-wh);
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    transition: all 0.3s ease;
    font-weight: 400;
    font-size: 14px;
}

nav a:hover {
    background:var(--color-ui-gr0);
    color: var(--color-green);
    font-weight: 600;
}

/* ナビゲーションメニュー専用のNEWアイコンのスタイル */
.menu-new-icon {
    background-color: #ff6347;
    color: white;
    font-size: 9px;
    font-weight: bold;
    padding: 2px 4px;
    border-radius: 3px;
    /* margin-left: 8px;  一旦コメントアウトするか削除 */
    vertical-align: middle;
    /* Flexboxでは不要になるので削除してもOK */
    flex-shrink: 0;
    /* アイコンが縮まないようにするおまじない */
}

.main-wrapper {
    margin-left: 250px;
    min-height: 100vh;
}

/* 新しい親セクションのスタイル */
.hero-section {
    /* 中の要素を縦に並べる */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 中央揃え */
    text-align: center;
    /* テキストも中央揃えに */
}

/* headerはもともとのスタイルが適用されるので、ここでは不要 */

/* 画像のコンテナ */
.hero-image-container {
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: #f2a55f;
    /* 画像のオレンジ系の背景色に合わせる */
    /* または background: linear-gradient(135deg, #fbbf24 0%, #f2a55f 100%); */
}

/* 画像自体のスタイル */
/* 画像のコンテナ */
.hero-image-container {
    width: 100%;
    display: flex;
    justify-content: center;
    /* 画像の背景色に合わせる */
    background: #f0a35d;
}

/* 画像自体のスタイル */
.hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* スマホ・タブレット */
@media (max-width: 767px) {
    .hero-image {
        max-width: 800px;
    }
}

/* PC用の調整 */
@media (min-width: 768px) {
    .hero-image {
        max-width: 1920px;
        opacity: 1;
        object-fit: contain;
        /* 画像全体を表示 */
    }
}

/* 大画面用（画像が見切れないように） */
@media (min-width: 1920px) {
    .hero-image {
        max-width: 1920px;
        /* 画像の実サイズ */
        width: auto;
        /* 幅を自動調整 */
        height: auto;
        object-fit: contain;
        /* 全体を表示 */
    }
}

/* 超大画面用（2K, 4Kなど） */
@media (min-width: 2560px) {
    .hero-image {
        max-width: 2200px;
        /* 必要に応じて調整 */
    }
}

/* hero-contentの背景を削除し、余白を調整 */
.hero-content {
    background: none;
    /* 背景を削除 */
    color: var(--color-ui-main);
    padding: 0 1rem 2.5rem 1rem;
    /* 上の余白を少し減らし、下の余白を確保 */
    text-align: right;
    width: 100%;
}
.hero-content {
    color: var(--color-ui-main);
    padding: 2.5rem 1rem;
    text-align: center;
}

.hero-content h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 0.75rem;
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.hero-content p {
    font-size: clamp(0.875rem, 1.8vw, 1.125rem);
    color: var(--color-bl2);
    line-height: 1.4;
    font-weight: 500;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

/* テーブルの基本スタイルを修正 */
table {
    width: 100%;
    /* 幅を100%に設定 */
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08)
}

/* th（見出しセル）の幅を固定する */
table th {
    width: 180px;
    padding: 0.875rem;
    text-align: left;
    border-bottom: 1px solid rgba(251, 191, 36, 0.3);
    font-size: 0.8rem;
    font-weight: normal;
}

/* td（データセル）は残りの幅を自動的に使用する */
table td {
    padding: 0.875rem;
    text-align: left;
    border-bottom: 1px solid rgba(251, 191, 36, 0.3);
    font-size: 0.9375rem;
}


thead {
    background: linear-gradient(135deg, #fed7aa 0%, #fde68a 100%);
    color: var(--color-ui-main);
}

th,
td {
    padding: 0.875rem;
    text-align: left;
    border-bottom: 1px solid rgba(251, 191, 36, 0.3);
    font-size: 0.9375rem;
}

th {
    font-weight: 600;
}

tbody tr:hover {
    background: linear-gradient(90deg, #fef3c7 0%, #fde68a 100%);
}

tbody tr:nth-child(even) {
    background: #fffbeb;
}

.highlight {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 1.5rem;
    border-radius: 16px;
    margin: 1.5rem 0;
    border: 2px solid var(--color-yellow);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.2);
}

.highlight h3 {
    color: var(--color-ui-main);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.support-section {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    padding: 1.5rem;
    border-radius: 16px;
    margin: 1.5rem 0;
    border: 2px solid var(--color-bl1);
    box-shadow: 0 4px 12px rgba(66, 153, 225, 0.2);
}

.support-section h3 {
    color: var(--color-ui-main);
    margin-bottom: 0.75rem;
    font-weight: 600;
    font-size: 1.0625rem;
}

.support-list {
    list-style: none;
    padding: 0;
}

.support-list li {
    padding: 0.375rem 0;
    padding-left: 1.25rem;
    position: relative;
    color: var(--color-ui-main);
    font-size: 0.9375rem;
}

.support-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-bl1);
    font-weight: bold;
    font-size: 1.2rem;
}

.news-section {
    background: var(--color-wh);
    padding: 2.5rem 1rem;
}

.news-section h2 {
    text-align: center;
    color: var(--color-ui-main);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--color-orange);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.news-schedule-box {
    border: 2px dashed #e67e22;
    /* 赤みがかったオレンジの点線（画像の色味に合わせる） */
    padding: 20px;
    margin-bottom: 30px;
    background-color: #fff;
    line-height: 1.6;
    font-size: 15px;
}

.schedule-title {
    font-weight: bold;
    margin-bottom: 10px;
}

.news-schedule-box p {
    margin: 0 0 15px 0;
}

.schedule-details {
    margin-bottom: 15px;
}

.schedule-row {
    display: flex;
    margin-bottom: 8px;
    line-height: 1.6;
}

/* PC・タブレット向けのラベル幅調整 */
.schedule-row .label {
    /* 最も長いラベルに合わせて幅を調整してください */
    flex: 0 0 16em;
    font-weight: bold;
}

.schedule-row .separator {
    flex: 0 0 1.5em;
    text-align: center;
}

.schedule-row .content {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
}

.schedule-row .date {
    font-weight: 500;
}

.schedule-row .status {
    color: #666;
    font-size: 0.9em;
}

/* モバイル対応（768px以下） */
@media (max-width: 768px) {
    .schedule-row {
        flex-direction: column;
        /* 縦並びに変更 */
        margin-bottom: 15px;
        padding-bottom: 10px;
        border-bottom: 1px solid #eee;
        /* 項目間の区切り線（任意） */
    }

    .schedule-row:last-child {
        border-bottom: none;
    }

    .schedule-row .label {
        flex: 0 0 auto;
        width: 100%;
        margin-bottom: 4px;
    }

    .schedule-row .separator {
        display: none;
        /* スマホではコロンを非表示にしてスッキリさせる */
    }

    .schedule-row .content {
        width: 100%;
    }
}

.news-list {
    max-width: 900px;
    margin: 0 auto;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.news-item {
    display: flex;
    padding: 1.25rem;
    border-bottom: 1px solid rgba(236, 72, 153, 0.2);
    transition: all 0.3s ease;
    flex-wrap: wrap;
    gap: 0.875rem;
}

.news-item:hover {
    background: var(--color-ui-gr0);
    transform: translateX(5px);
}

.news-date {
    color: var(--color-orange);
    font-weight: 700;
    min-width: 110px;
    flex-shrink: 0;
    font-size: 0.875rem;
}

.news-content {
    flex: 1;
    min-width: 200px;
}

.news-title {
    color: var(--color-ui-main);
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 0.9375rem;
}

.news-description {
    color: #6e6e73;
    font-size: 0.875rem;
    line-height: 1.5;
}
                /* お知らせセクションのスタイル */
                .news-section {
                    max-width: 800px;
                    margin: 40px auto;
                    padding: 20px;
                    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
                }
        
                .news-item {
                    display: flex;
                    padding: 20px;
                    border-bottom: 1px solid #e0e0e0;
                    position: relative;
                }
        
                .news-item:hover {
                    background-color: #f9f9f9;
                }
        
                .news-date {
                    font-size: 14px;
                    color: #666;
                    min-width: 100px;
                    font-weight: 500;
                }
        
                .news-content {
                    flex: 1;
                    margin-left: 20px;
                }
        
                .news-title {
                    font-size: 16px;
                    font-weight: bold;
                    color: #333;
                    margin-bottom: 8px;
                    display: flex;
                    align-items: center;
                    gap: 10px;
                }
        
                .news-description {
                    font-size: 14px;
                    color: #666;
                    line-height: 1.6;
                }
        
                /* NEWアイコンのスタイル */
                .new-icon {
                    display: inline-block;
                    background: linear-gradient(135deg, #ff6b6b, #ff5252);
                    color: white;
                    font-size: 11px;
                    font-weight: bold;
                    padding: 3px 8px;
                    border-radius: 3px;
                    letter-spacing: 0.5px;
                    box-shadow: 0 2px 4px rgba(255, 82, 82, 0.3);
                    animation: newIconPulse 2s ease-in-out infinite;
                }
        
                /* NEWアイコンのアニメーション（オプション） */
                @keyframes newIconPulse {
        
                    0%,
                    100% {
                        transform: scale(1);
                    }
        
                    50% {
                        transform: scale(1.05);
                    }
                }
        
                /* 代替スタイル - シンプルバージョン */
                .new-icon.simple {
                    background: #ff5252;
                    animation: none;
                }
        
                /* 代替スタイル - バッジタイプ */
                .new-icon.badge {
                    background: #4CAF50;
                    border-radius: 12px;
                    padding: 4px 10px;
                }


.sponsors-section {
    background-color: var(--color-ui-gr1);
    padding: 2.5rem 1rem;
}

.sponsors-section h2 {
    text-align: center;
    color: var(--color-ui-gr2);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--color-ui-gr2);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    justify-items: center;
}

.sponsor-item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.sponsor-item:hover {
    transform: translateY(-8px);
}

.sponsor-item a {
    display: block;
    width: 100%;
    text-align: center;
}

.sponsor-item img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.sponsor-large {
    grid-column: span 2;
}

.sponsor-medium {
    grid-column: span 1;
}

.pdf-section {
    padding: 2.5rem 1rem;
}

.pdf-section h2 {
    text-align: center;
    color: var(--color-ui-gr2);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--color-ui-gr1);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.pdf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* PCサイズ以上で4列 */
@media (min-width: 1024px) {
    .pdf-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.pdf-item {
    background: var(--color-wh);
    border: 2px solid var(--color-green);
    border-radius: 16px;
    padding: 1.25rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.pdf-item:hover {
    border-color: var(--color-green);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
    transform: translateY(-5px);
}

.pdf-item p {
    color: var(--color-ui-05);
    font-size: 0.875rem;
    font-weight: 600;
}

.pdf-link {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-green) 0%, #059669 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.pdf-link:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

/* フッター全体の基本設定 */
/* 1. 事務局情報セクション */
.footer-info-section {
    background-color: #f5f5f5;
    color: #333;
    /* text-align: center; */
    /* ← この行を削除またはコメントアウト */
    padding: 2rem 1rem;
}

/* フッター情報コンテナ（PC表示用） */
.footer-info-section .footer-container {
    display: flex;
    /* Flexboxを有効化 */
    justify-content: space-between;
    /* 両端に配置 */
    align-items: flex-start;
    /* 上端揃え */
    max-width: 1200px;
    /* コンテンツの最大幅（任意で調整） */
    margin: 0 auto;
    /* 中央寄せ */
}

/* フッター内の各情報ブロック */
.footer-info-section .footer-container>div {
    flex: 1;
    /* 幅を均等に分割 */
}

/* 運営事務局ブロック（右側） */
.footer-info-section .footer-contact {
    text-align: right;
    /* 右寄せ */
}

/* --- ここまで修正・追記 --- */


/* フッター全体の基本設定 */
footer {
    margin-top: 0;
    /* PC表示時に左メニュー(250px)を避ける設定 */
    margin-left: 250px;
}

/* 2. コピーライトセクション */
.footer-copyright-section {
    background-color: var(--color-bl2);
    color: var(--color-wh);
    text-align: right;
    padding: 1.5rem 1rem;
}

/* 共通の段落スタイル */
footer p {
    margin: 0.375rem 0;
    font-size: 0.8125rem;
    line-height: 1.6;
}

/* --- レスポンシブ対応 --- */

/* スマホ・タブレット (メニューが上部やハンバーガーになる場合) */
@media (max-width: 768px) {
    footer {
        margin-left: 0;
        /* 左余白を解除 */
    }

    .footer-info-section,
    .footer-copyright-section {
        text-align: center;
        padding: 1.5rem 1rem;
    }

    /* --- ここからレスポンシブ用の追記 --- */
    /* スマホ表示ではFlexboxを解除し、ブロック要素に戻す */
    .footer-info-section .footer-container {
        display: block;
    }

    /* スマホ表示では両ブロックとも中央揃えにする */
    .footer-info-section .footer-container>div,
    .footer-info-section .footer-contact {
        text-align: center;
    }

    /* --- ここまでレスポンシブ用の追記 --- */

    footer p {
        font-size: 0.75rem;
    }
}

/* スマホ・タブレット (メニューが上部やハンバーガーになる場合) */
@media (max-width: 768px) {
    footer {
        margin-left: 0;
        /* 左余白を解除 */
    }

    .footer-info-section,
    .footer-copyright-section {
        text-align: center;
        padding: 1.5rem 1rem;
    }

    footer p {
        font-size: 0.75rem;
    }
}

/* トップへ戻るボタンのスタイル */
#scrollToTopBtn {
    position: fixed !important;
    bottom: 7rem !important;
    right: 1rem !important;
    width: 3rem !important;
    height: 3rem !important;
    background-color: var(--color-green) !important;
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    font-size: 1.5rem !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    z-index: 9999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease-in-out !important;
}

/* 表示状態のクラス */
#scrollToTopBtn.show {
    opacity: 1 !important;
    pointer-events: auto !important;
}
/* PC用 */
@media (min-width: 769px) {
    #scrollToTopBtn {
        right: 2rem;
        /* 右側の余白を増やす */
    }
}


.material-icons{font-size:17px!important;}

@media (max-width: 768px) {

    .menu-toggle {
            display: block;
        }
    
        nav {
            transform: translateX(-100%);
            transition: transform 0.3s ease;
            padding-bottom: 180px;
            /* この行を追加 */
        }
    
        nav.active {
            transform: translateX(0);
        }
    
        .main-wrapper {
            margin-left: 0;
            transition: margin-left 0.3s ease;
        }
    
        body.menu-opened .main-wrapper {
            margin-left: 250px;
        }

                   .news-section {
                       padding: 1.5rem;
                   }
        
                   .news-section h2 {
                       font-size: 1.5rem;
                       margin-bottom: 1rem;
                   }
        
                   .news-item {
                       gap: 0.75rem;
                       padding: 0.75rem;
                   }
        
                   .news-date {
                       font-size: 0.75rem;
                       min-width: 80px;
                   }
        
                   .news-list {
                       max-height: 400px;
                   }

    .sponsor-large {
        grid-column: span 1;
    }

    .sponsors-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    table {
        font-size: 0.875rem;
    }

    th,
    td {
        padding: 0.625rem 0.5rem;
    }

                /* body全体の基本フォントサイズを少し小さくする */
                body {
                    font-size: 13px;
                    /* PCが14pxなので、少し小さく設定 */
                    line-height: 1.5;
                    /* 行間も調整して読みやすくする */
                }
        
                /* 見出し（h2）のサイズを調整 */
                .hero-content h2,
                .news-section h2,
                .info-section h2,
                .sponsors-section h2,
                .pdf-section h2 {
                    /* clamp() を使うと、画面幅に応じて滑らかにサイズが変わる */
                    /* (最小サイズ, 推奨サイズ, 最大サイズ) */
                    font-size: clamp(1.25rem, 5vw, 1.5rem);
                }
        
                /* ヒーローコンテンツの段落 */
                .hero-content p {
                    font-size: clamp(0.8rem, 4vw, 0.9rem);
                }
        
                /* お知らせセクションの各パーツ */
                .news-title {
                    font-size: 0.875rem;
                    /* 14px相当 */
                }
        
                .news-date,
                .news-description {
                    font-size: 0.75rem;
                    /* 12px相当 */
                }
        
                /* テーブル内の文字サイズ */
                th,
                td {
                    font-size: 0.8125rem;
                    /* 13px相当 */
                    padding: 0.75rem 0.5rem;
                    /* パディングも少し調整 */
                }
        
                /* サイドナビゲーションの文字サイズ */
                nav a {
                    font-size: 13px;
                    padding: 0.65rem 1.25rem;
                
}