/* A-CON 2026 Modern Responsive Stylesheet */

:root {
    --primary-green: #005a36;
    --primary-dark: #003e25;
    --accent-orange: #f26522;
    --accent-yellow: #ffc107;
    --text-main: #2b2b2b;
    --text-muted: #666666;
    --bg-light: #f8faf9;
    --bg-white: #ffffff;
    --border-color: #e5eae7;
    --card-shadow: 0 8px 24px rgba(0, 50, 25, 0.08);
    --font-family: 'Noto Sans JP', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-family); color: var(--text-main); background-color: var(--bg-white); line-height: 1.7; }
a { color: inherit; text-decoration: none; transition: 0.25s ease; }
.container { width: 92%; max-width: 1160px; margin: 0 auto; }

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 30px; font-weight: 700; font-size: 1rem; border-radius: 50px; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,0.15); transition: all 0.3s ease; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.22); }
.btn-primary { background-color: #ffffff; color: var(--primary-green); }
.btn-accent { background-color: var(--accent-orange); color: #ffffff; }
.btn-entry { background: linear-gradient(135deg, var(--accent-orange), #e64a19); color: #ffffff; font-size: 1.2rem; padding: 18px 45px; }

/* ヘッダー */
.site-header { position: sticky; top: 0; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(8px); box-shadow: 0 2px 10px rgba(0,0,0,0.06); z-index: 1000; }
.header-container { display: flex; justify-content: space-between; align-items: center; height: 80px; padding-top: 8px; padding-bottom: 8px; }
.logo a { display: flex; align-items: center; font-size: 1.6rem; font-weight: 900; color: var(--primary-green); letter-spacing: 0.5px; }
.header-logo { display: block; width: 150px; height: auto; }
.site-nav ul { display: flex; list-style: none; gap: 24px; align-items: center; }
.site-nav a { font-weight: 700; font-size: 0.95rem; color: var(--text-main); }
.site-nav a:hover { color: var(--accent-orange); }
.site-nav a.btn-nav { background-color: var(--primary-green); color: #fff; padding: 9px 22px; border-radius: 25px; }
.site-nav a.btn-nav:hover { background-color: var(--primary-dark); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 6px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--primary-green); border-radius: 2px; }

/* ヒーロー */
.hero { position: relative; background: linear-gradient(135deg, rgba(0, 70, 40, 0.92), rgba(10, 35, 20, 0.96)), radial-gradient(circle at top right, #1b5e20, transparent); color: #ffffff; text-align: center; padding: 95px 20px 85px; }
.hero-badge { display: inline-block; background-color: var(--accent-orange); color: #ffffff; padding: 6px 18px; border-radius: 20px; font-weight: 800; font-size: 0.95rem; margin-bottom: 20px; }
.hero-title { font-size: 3.2rem; font-weight: 900; line-height: 1.25; margin-bottom: 20px; text-shadow: 0 4px 12px rgba(0,0,0,0.3); }
.hero-lead { font-size: 1.15rem; max-width: 780px; margin: 0 auto 35px; opacity: 0.95; }
.hero-info-card { display: inline-flex; flex-wrap: wrap; gap: 30px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.25); padding: 16px 36px; border-radius: 16px; margin-bottom: 20px; }
.info-item .label { font-size: 0.8rem; color: var(--accent-yellow); font-weight: 700; display: block; }
.info-item .value { font-size: 1.2rem; font-weight: 800; }
.hero-subtext { font-size: 0.95rem; margin-bottom: 35px; color: #e0f2f1; }
.hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: min(100%, 760px);
    margin: 0 auto;
}
.hero-action {
    display: grid;
    grid-template-columns: 46px 1fr 22px;
    align-items: center;
    min-height: 76px;
    padding: 10px 18px 10px 12px;
    border: 2px solid transparent;
    border-radius: 18px;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.35;
    text-align: left;
    box-shadow: 0 9px 22px rgba(0, 0, 0, 0.2);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.hero-action:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.27);
    filter: brightness(1.04);
}
.hero-action-schedule:hover,
.hero-action-entry:hover { color: #fff; }
.hero-action-guide:hover,
.hero-action-programs:hover { color: var(--primary-green); }
.hero-action:focus-visible { outline: 3px solid var(--accent-yellow); outline-offset: 4px; }
.hero-action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.03em;
}
.hero-action-arrow { justify-self: end; font-size: 1.25rem; font-weight: 900; }
.hero-action small { display: block; margin-bottom: 2px; font-size: 0.75rem; line-height: 1.2; opacity: 0.95; }
.hero-action-schedule { background: linear-gradient(135deg, #087b78, #075f5d); }
.hero-action-guide { background: #fff; border-color: #fff; color: var(--primary-green); }
.hero-action-guide .hero-action-icon { background: #e7f3ed; }
.hero-action-programs { background: rgba(255, 255, 255, 0.96); border-color: rgba(255, 255, 255, 0.96); color: var(--primary-green); }
.hero-action-programs .hero-action-icon { background: #e7f3ed; }
.hero-action-entry { background: linear-gradient(135deg, #ff7527, #ed5415); border-color: #ff8a4e; }
.participant-registration-cta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 14px;
    width: min(100%, 760px);
    margin: 22px auto 0;
}
.official-participant-count,
.official-entry-button {
    min-height: 76px;
    border-radius: 18px;
    box-shadow: 0 9px 22px rgba(0,0,0,.2);
}
.official-participant-count {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 13px 18px;
    border: 2px solid rgba(255,255,255,.78);
    background: rgba(255,255,255,.96);
    color: var(--primary-green);
}
.official-participant-count-label {
    white-space: nowrap;
    font-size: .9rem;
    font-weight: 900;
    line-height: 1.35;
    text-align: left;
}
#officialParticipantCount {
    display: inline-flex;
    align-items: baseline;
    color: #c53d1b;
    font-size: 2.25rem;
    font-weight: 900;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
#officialParticipantCount small {
    margin-left: 4px;
    color: var(--primary-green);
    font-size: 1rem;
}
.official-participant-count-unavailable {
    color: #67746d;
    font-size: .82rem;
    line-height: 1.4;
}
.official-entry-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 15px 24px;
    border: 2px solid #ff9a62;
    background: linear-gradient(135deg,#ff7527,#ed5415);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 900;
    text-decoration: none;
    transition: transform .25s ease,box-shadow .25s ease,filter .25s ease;
}
.official-entry-button:hover {
    color: #fff;
    transform: translateY(-4px);
    filter: brightness(1.05);
    box-shadow: 0 14px 28px rgba(0,0,0,.27);
}
.official-entry-button:focus-visible { outline: 3px solid var(--accent-yellow); outline-offset: 4px; }
.official-entry-arrow { font-size: 1.5rem; line-height: 1; }
.social-share { width: fit-content; max-width: 100%; margin: 30px auto 0; padding: 16px 20px 13px; border: 1px solid rgba(255,255,255,0.24); border-radius: 16px; background: rgba(255,255,255,0.1); box-shadow: inset 0 1px 0 rgba(255,255,255,0.08); }
.social-share-label { margin-bottom: 10px; color: #fff; font-size: 0.88rem; font-weight: 800; letter-spacing: 0.04em; }
.social-share-buttons { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.social-share-button { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 8px 13px; border: 0; border-radius: 9px; color: #fff; font-family: inherit; font-size: 0.82rem; font-weight: 800; line-height: 1; cursor: pointer; box-shadow: 0 3px 10px rgba(0,0,0,0.18); transition: transform 0.2s, filter 0.2s, box-shadow 0.2s; }
.social-share-button:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 6px 14px rgba(0,0,0,0.24); }
.social-share-button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.social-share-button svg { width: 21px; height: 21px; flex: 0 0 21px; fill: currentColor; }
.social-share-mark { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; font-size: 1rem; font-weight: 900; line-height: 1; }
.social-share-mark.is-line-mark { min-width: 27px; font-size: 0.55rem; letter-spacing: -0.03em; }
.social-share-button.is-facebook { background: #1877f2; }
.social-share-button.is-other { background: linear-gradient(135deg, #7656a8, #5d438c); }
.social-share-button.is-x { background: #111; }
.social-share-button.is-line { background: #06c755; }
.social-share-button.is-copy { background: #52646f; }
.social-share-note { max-width: 560px; margin: 9px auto 0; color: #e7f2ed; font-size: 0.72rem; line-height: 1.5; text-align: center; }

/* バー＆セクション */
.notice-bar { background-color: #fff8e1; border-bottom: 1px solid #ffe082; padding: 14px 0; text-align: center; color: #b78103; font-size: 0.95rem; }
.easy-participation-bar { background: #e8f5ee; border-bottom: 1px solid #c9e4d6; }
.easy-participation-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding-top: 18px; padding-bottom: 18px; }
.easy-participation-icon { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%; background: var(--primary-green); color: #fff; font-size: 0.82rem; font-weight: 900; box-shadow: 0 5px 14px rgba(0,90,54,.2); }
.easy-participation-inner strong { display: block; color: var(--primary-green); font-size: 1.22rem; font-weight: 900; line-height: 1.4; }
.easy-participation-inner p { margin-top: 2px; color: #4f6258; font-size: 0.9rem; }
.easy-participation-inner a { padding: 10px 17px; border: 2px solid var(--primary-green); border-radius: 999px; color: var(--primary-green); background: #fff; font-size: 0.87rem; font-weight: 800; white-space: nowrap; }
.easy-participation-inner a:hover { background: var(--primary-green); color: #fff; transform: translateY(-2px); }
.section { padding: 85px 0; }
.bg-light { background-color: var(--bg-light); }
.bg-forest { background: linear-gradient(145deg, #0f5132 0%, #073822 100%); }
.bg-dark { background-color: #1a1a1a; }
.section-heading { text-align: center; margin-bottom: 45px; }
.section-heading .sub-title { font-weight: 800; font-size: 0.85rem; letter-spacing: 2px; color: var(--accent-orange); margin-bottom: 6px; display: inline-block; }
.section-title { font-size: 2.2rem; font-weight: 900; color: var(--primary-green); position: relative; padding-bottom: 12px; }
.section-title::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 4px; background-color: var(--accent-orange); border-radius: 2px; }
.text-white { color: #ffffff !important; }
.text-white::after { background-color: var(--accent-yellow); }
.lead-desc { margin-top: 15px; color: var(--text-muted); font-size: 1.05rem; }

/* 参加案内・FAQ */
.participation-guide-section { background: linear-gradient(180deg, #fff 0%, #f4f8f6 100%); }
.participation-must-read { overflow: hidden; max-width: 1080px; margin: 0 auto 48px; border: 1px solid #d8e4dd; border-radius: 22px; background: #fff; box-shadow: var(--card-shadow); }
.participation-must-read-heading { display: flex; align-items: center; gap: 15px; padding: 22px 26px; background: linear-gradient(135deg, #005a36, #087b55); color: #fff; }
.participation-must-read-heading > span { display: inline-flex; flex: 0 0 48px; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--accent-orange); font-size: 1.8rem; font-weight: 900; }
.participation-must-read-heading p { color: #d8f3e5; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; }
.participation-must-read-heading h3 { font-size: 1.55rem; line-height: 1.35; }
.participation-summary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.participation-summary-grid article { min-height: 180px; padding: 25px 27px; border-right: 1px solid #e4ebe7; border-bottom: 1px solid #e4ebe7; }
.participation-summary-grid article:nth-child(2n) { border-right: 0; }
.participation-summary-grid article:nth-last-child(-n+2) { border-bottom: 0; }
.participation-summary-label { display: inline-block; margin-bottom: 8px; padding: 3px 10px; border-radius: 999px; color: #ad4516; background: #fff1e8; font-size: 0.74rem; font-weight: 900; }
.participation-summary-grid h4 { margin-bottom: 8px; color: var(--primary-green); font-size: 1.08rem; }
.participation-summary-grid p { color: #526158; font-size: 0.91rem; }
.clothing-weather-alert { display: flex; align-items: center; gap: 14px; margin: 0 24px 24px; padding: 16px 18px; border: 1px solid #e4b14b; border-left: 6px solid #d78316; border-radius: 12px; background: #fff8e7; color: #66430f; }
.clothing-weather-alert-icon { display: inline-flex; flex: 0 0 40px; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #d78316; color: #fff; font-size: 1.35rem; font-weight: 900; }
.clothing-weather-alert strong { display: block; margin-bottom: 2px; color: #824b08; font-size: 1rem; }
.clothing-weather-alert p { font-size: 0.88rem; }
.participation-guide-actions { display: flex; justify-content: center; gap: 14px; padding: 24px; background: #f7faf8; border-top: 1px solid #e4ebe7; }
.participation-manual-button { border: 2px solid var(--primary-green); background: #fff; color: var(--primary-green); }
.participation-entry-button { background: var(--accent-orange); color: #fff; }
.participation-manual-button:hover { color: var(--primary-green); }
.participation-entry-button:hover { color: #fff; }
.faq-wrap { max-width: 960px; margin: 0 auto; }
.faq-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.faq-heading > span { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 38px; border-radius: 9px; background: var(--accent-orange); color: #fff; font-size: 0.82rem; font-weight: 900; letter-spacing: 0.08em; }
.faq-heading h3 { color: var(--primary-green); font-size: 1.55rem; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { overflow: hidden; border: 1px solid #d9e2dd; border-radius: 14px; background: #fff; box-shadow: 0 4px 14px rgba(0,50,25,.05); }
.faq-list summary { position: relative; padding: 18px 54px 18px 22px; color: #163b2a; font-weight: 800; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; top: 50%; right: 21px; transform: translateY(-50%); color: var(--accent-orange); font-size: 1.55rem; font-weight: 700; }
.faq-list details[open] summary { background: #edf7f1; }
.faq-list details[open] summary::after { content: '−'; }
.faq-answer { padding: 18px 22px 20px; border-top: 1px solid #e3ebe7; color: #505b55; font-size: 0.94rem; }
.faq-answer p + p { margin-top: 10px; }

/* ABOUT & ピックアップ */
.about-text .lead { font-size: 1.35rem; font-weight: 800; color: var(--primary-green); margin-bottom: 20px; }
.features-points { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; margin-top: 35px; }
.f-point { background: #f1f8f4; padding: 24px; border-radius: 12px; border-left: 5px solid var(--primary-green); display: flex; gap: 16px; }
.point-num { font-size: 1.8rem; font-weight: 900; color: var(--accent-orange); line-height: 1; }
.f-point h4 { font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; color: var(--primary-green); }
.f-point p { font-size: 0.9rem; color: #444; }

.highlight-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 25px; }
.highlight-card { background: #ffffff; border-radius: 14px; padding: 30px; box-shadow: var(--card-shadow); border: 1px solid var(--border-color); transition: transform 0.25s, box-shadow 0.25s; display: flex; flex-direction: column; }
.highlight-card:hover { transform: translateY(-5px); box-shadow: 0 14px 28px rgba(0,0,0,0.12); }
.card-tag { display: inline-block; padding: 4px 12px; border-radius: 6px; font-size: 0.8rem; font-weight: 800; margin-bottom: 12px; }
.tag-a { background: #e8f5e9; color: #2e7d32; }
.tag-b { background: #fff3e0; color: #e65100; }
.tag-c { background: #e0f7fa; color: #00838f; }
.highlight-card h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: 8px; color: var(--primary-dark); }
.highlight-card .author { font-weight: 700; font-size: 0.9rem; color: var(--accent-orange); margin-bottom: 12px; }
.highlight-card .desc { font-size: 0.92rem; color: #555; line-height: 1.6; margin-bottom: 18px; }
.highlight-card .program-guide-button { margin-top: auto; }

/* プログラムフィルター＆カード */
.tab-filters { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 35px; }
.filter-btn { background: #f1f3f2; border: 1px solid #dbe2dd; padding: 10px 18px; border-radius: 30px; font-weight: 700; font-size: 0.88rem; cursor: pointer; transition: 0.2s; color: #444; }
.filter-btn:hover, .filter-btn.active { background: var(--primary-green); color: #fff; border-color: var(--primary-green); }

/* スケジュール表の分類色に合わせたフィルター */
.filter-btn[data-filter="prog-a"] { background: #f1f6dc; color: #536b0c; border-color: #a7b96c; }
.filter-btn[data-filter="prog-b"] { background: #fff0e3; color: #a84a0b; border-color: #e6a16d; }
.filter-btn[data-filter="prog-c"] { background: #e2f3ed; color: #176d59; border-color: #75b6a4; }
.filter-btn[data-filter="prog-d"] { background: #fff4d5; color: #87620b; border-color: #d7b653; }
.filter-btn[data-filter="prog-e"] { background: #eff1f2; color: #555; border-color: #a7adb1; }
.filter-btn[data-filter="prog-m"] { background: #ffeadb; color: #a5470a; border-color: #df8b4e; }
.filter-btn[data-filter="prog-z"] { background: #e5eff8; color: #285d8b; border-color: #7fa5c5; }
.filter-btn[data-filter="prog-a"]:hover, .filter-btn[data-filter="prog-a"].active { background: #789321; color: #fff; border-color: #789321; }
.filter-btn[data-filter="prog-b"]:hover, .filter-btn[data-filter="prog-b"].active { background: #dc7622; color: #fff; border-color: #dc7622; }
.filter-btn[data-filter="prog-c"]:hover, .filter-btn[data-filter="prog-c"].active { background: #31987c; color: #fff; border-color: #31987c; }
.filter-btn[data-filter="prog-d"]:hover, .filter-btn[data-filter="prog-d"].active { background: #c59619; color: #fff; border-color: #c59619; }
.filter-btn[data-filter="prog-e"]:hover, .filter-btn[data-filter="prog-e"].active { background: #71777b; color: #fff; border-color: #71777b; }
.filter-btn[data-filter="prog-m"]:hover, .filter-btn[data-filter="prog-m"].active { background: #d96818; color: #fff; border-color: #d96818; }
.filter-btn[data-filter="prog-z"]:hover, .filter-btn[data-filter="prog-z"].active { background: #356f9f; color: #fff; border-color: #356f9f; }

.program-cards-wrap { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.p-item { background: #fff; border-radius: 12px; border: 1px solid var(--border-color); padding: 22px; box-shadow: 0 4px 12px rgba(0,0,0,0.04); transition: all 0.2s; display: flex; flex-direction: column; }
.p-item:hover { border-color: var(--primary-green); box-shadow: 0 6px 18px rgba(0, 90, 54, 0.12); }
.p-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.p-no { font-weight: 900; color: var(--primary-green); font-size: 1.2rem; background: #e8f5e9; padding: 2px 10px; border-radius: 6px; }

/* 全プログラム一覧：PDFスケジュールと共通のカテゴリー色 */
.p-item.prog-a { --category-color: #789321; --category-bg: #f1f6dc; --category-shadow: rgba(120, 147, 33, 0.18); }
.p-item.prog-b { --category-color: #dc7622; --category-bg: #fff0e3; --category-shadow: rgba(220, 118, 34, 0.18); }
.p-item.prog-c { --category-color: #31987c; --category-bg: #e2f3ed; --category-shadow: rgba(49, 152, 124, 0.18); }
.p-item.prog-d { --category-color: #c59619; --category-bg: #fff4d5; --category-shadow: rgba(197, 150, 25, 0.18); }
.p-item.prog-e { --category-color: #71777b; --category-bg: #eff1f2; --category-shadow: rgba(113, 119, 123, 0.18); }
.p-item.prog-m { --category-color: #d96818; --category-bg: #ffeadb; --category-shadow: rgba(217, 104, 24, 0.18); }
.p-item.prog-z { --category-color: #356f9f; --category-bg: #e5eff8; --category-shadow: rgba(53, 111, 159, 0.18); }
.p-item.prog-a,
.p-item.prog-b,
.p-item.prog-c,
.p-item.prog-d,
.p-item.prog-e,
.p-item.prog-m,
.p-item.prog-z {
    border-top: 5px solid var(--category-color);
    background: linear-gradient(180deg, var(--category-bg) 0, #fff 88px);
}
.p-item.prog-a:hover,
.p-item.prog-b:hover,
.p-item.prog-c:hover,
.p-item.prog-d:hover,
.p-item.prog-e:hover,
.p-item.prog-m:hover,
.p-item.prog-z:hover {
    border-color: var(--category-color);
    box-shadow: 0 8px 20px var(--category-shadow);
}
.p-item.prog-a .p-no,
.p-item.prog-b .p-no,
.p-item.prog-c .p-no,
.p-item.prog-d .p-no,
.p-item.prog-e .p-no,
.p-item.prog-m .p-no,
.p-item.prog-z .p-no {
    color: var(--category-color);
    background: var(--category-bg);
}
.p-badge { font-size: 0.75rem; font-weight: 700; padding: 4px 8px; border-radius: 4px; background: #e0f2f1; color: #00695c; }
.badge-team { background: #fff3e0; color: #e65100; }
.badge-req { background: #ffebee; color: #c62828; }

.p-item h4 { font-size: 1.1rem; font-weight: 800; margin-bottom: 6px; color: var(--text-main); line-height: 1.4; }
.p-meta { font-size: 0.78rem; color: #777; margin-bottom: 10px; display: flex; gap: 12px; }
.meta-item { background: #f5f5f5; padding: 2px 8px; border-radius: 4px; }
.p-summary { font-size: 0.86rem; color: #555; line-height: 1.6; margin-top: auto; }
.program-guide-button {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    margin-top: 16px;
    padding: 10px 12px;
    border: 2px solid var(--primary-green);
    border-radius: 8px;
    color: var(--primary-green);
    background: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.35;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}
.program-guide-button:hover {
    color: #fff;
    background: var(--primary-green);
    transform: translateY(-1px);
}
.program-guide-pdf {
    flex: 0 0 auto;
    padding: 4px 5px;
    border-radius: 4px;
    color: #fff;
    background: #c62828;
    font-size: 0.6rem;
    font-weight: 900;
}
.program-guide-arrow { margin-left: auto; font-size: 1rem; }

/* スター賞 */
.badge-gold { background-color: var(--accent-yellow); color: #333; padding: 6px 18px; border-radius: 20px; font-weight: 800; font-size: 0.9rem; display: inline-block; margin-bottom: 12px; }
.lead-white { color: #e0f2f1; font-size: 1.1rem; margin-top: 10px; }
.tasks-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 40px 0; }
.t-box { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 12px; padding: 24px; color: #ffffff; }
.t-badge { background: var(--accent-orange); display: inline-block; padding: 3px 10px; border-radius: 4px; font-weight: 900; font-size: 0.85rem; margin-bottom: 12px; }
.t-box h3 { font-size: 1.15rem; margin-bottom: 10px; }
.t-box p { font-size: 0.9rem; opacity: 0.9; line-height: 1.5; }
.award-goal { background: rgba(0, 0, 0, 0.35); border: 2px dashed var(--accent-yellow); border-radius: 16px; padding: 30px; text-align: center; color: #ffffff; }
.award-goal h3 { color: var(--accent-yellow); font-size: 1.4rem; margin-bottom: 12px; }
.award-goal .note { margin-top: 10px; font-size: 0.8rem; opacity: 0.8; }

/* 開催要項テーブル */
.overview-box { max-width: 860px; margin: 0 auto; background: #fff; border-radius: 16px; box-shadow: var(--card-shadow); overflow: hidden; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { padding: 20px 26px; border-bottom: 1px solid var(--border-color); }
.spec-table th { width: 25%; background: #f1f8f4; color: var(--primary-green); font-weight: 800; text-align: left; }
.spec-table tr:last-child th,
.spec-table tr:last-child td { border-bottom: none; }
.tag-welcome { display: inline-block; margin-top: 6px; color: var(--accent-orange); font-weight: 700; font-size: 0.9rem; }
.highlight-fee { font-size: 1.6rem; font-weight: 900; color: var(--accent-orange); margin-right: 10px; }
.fee-benefit { font-size: 0.95rem; font-weight: 700; color: #2e7d32; }
.fee-plan-list { display: grid; gap: 12px; margin-bottom: 12px; }
.fee-plan { padding: 14px 16px; border: 1px solid #d7e5dd; border-radius: 10px; background: #f7fbf8; }
.fee-plan-sponsor { border-color: #f1b784; background: #fff8ef; }
.fee-plan-name { display: inline-block; min-width: 76px; margin-right: 10px; color: var(--primary-green); font-weight: 900; }
.fee-plan-sponsor .fee-plan-name { color: #b64a16; }
.fee-plan .fee-benefit { display: block; margin-top: 5px; padding-left: 90px; line-height: 1.55; }
.fee-note { margin: 0 0 12px; font-size: 0.82rem; }
.sponsorship-guide-link { display: inline-flex; align-items: center; padding: 9px 14px; border: 1px solid #d85d1b; border-radius: 8px; color: #b64a16; background: #fff; font-weight: 800; text-decoration: none; transition: background-color 0.2s, color 0.2s, transform 0.2s; }
.sponsorship-guide-link:hover { color: #fff; background: #d85d1b; transform: translateY(-1px); }
.application-info-box { max-width: 860px; margin: 28px auto 0; padding: 28px 30px; border: 2px solid #f4a261; border-radius: 16px; background: linear-gradient(135deg, #fffaf2 0%, #fff 100%); box-shadow: 0 8px 24px rgba(93, 55, 13, 0.08); }
.application-info-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.application-info-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; background: var(--accent-orange); color: #fff; font-size: 1.5rem; font-weight: 900; box-shadow: 0 4px 10px rgba(217, 77, 13, 0.22); }
.application-info-kicker { color: #b64a16; font-size: 0.82rem; font-weight: 800; letter-spacing: 0.08em; }
.application-info-heading h3 { color: var(--primary-green); font-size: 1.45rem; line-height: 1.35; }
.application-deadline-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.application-deadline-item { display: flex; flex-direction: column; gap: 4px; padding: 15px 17px; border: 1px solid #d7e5dd; border-radius: 10px; background: #f1f8f4; }
.application-deadline-item.is-required { border-color: #f3c19e; background: #fff2e8; }
.application-deadline-item span { color: #4f5c55; font-size: 0.88rem; font-weight: 700; }
.application-deadline-item strong { color: var(--primary-green); font-size: 1.08rem; }
.application-deadline-item.is-required strong { color: #b53d0a; }
.application-required-message { margin: 6px 0 8px; color: #263d31; font-size: 1.05rem; }
.application-info-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.application-manual-button { background: var(--primary-green); color: #fff; }
.application-entry-button { background: var(--accent-orange); color: #fff; }
.application-manual-button:hover { background: var(--primary-dark); }
.application-entry-button:hover { background: #d94d0d; }

/* デカゴンクエスト */
.decagon-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 18%, rgba(242, 167, 45, 0.13) 0 90px, transparent 91px),
        radial-gradient(circle at 94% 84%, rgba(20, 104, 69, 0.11) 0 130px, transparent 131px),
        linear-gradient(145deg, #f4faf6 0%, #fffaf0 100%);
}
.decagon-section .section-title span { color: var(--accent-orange); font-size: 0.72em; }
.decagon-quest-panel {
    position: relative;
    max-width: 1000px;
    margin: 34px auto 0;
    padding: 38px;
    border: 1px solid rgba(20, 104, 69, 0.18);
    border-top: 7px solid var(--primary-green);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 48px rgba(22, 69, 48, 0.13);
}
.decagon-intro { display: grid; grid-template-columns: 126px minmax(0, 1fr); align-items: center; gap: 30px; }
.decagon-emblem {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 126px;
    height: 126px;
    color: #fff;
    background: linear-gradient(145deg, var(--primary-green), #0b3f2a);
    clip-path: polygon(50% 0%, 79% 10%, 98% 35%, 98% 65%, 79% 90%, 50% 100%, 21% 90%, 2% 65%, 2% 35%, 21% 10%);
    filter: drop-shadow(0 8px 10px rgba(9, 61, 40, 0.24));
}
.decagon-emblem-number { font-size: 3rem; font-weight: 900; line-height: 0.9; }
.decagon-emblem-label { margin-top: 8px; font-size: 0.7rem; font-weight: 900; letter-spacing: 0.15em; }
.decagon-badge {
    display: inline-flex;
    margin: 0 0 9px;
    padding: 6px 12px;
    border-radius: 999px;
    color: #9d3e0e;
    background: #fff0df;
    font-size: 0.8rem;
    font-weight: 900;
}
.decagon-intro-copy h3 { margin: 0 0 10px; color: var(--primary-green); font-size: clamp(1.25rem, 2.4vw, 1.75rem); line-height: 1.45; }
.decagon-intro-copy > p:not(.decagon-badge):not(.decagon-question) { margin: 0; color: #435049; line-height: 1.9; }
.decagon-question { margin: 12px 0 0; color: #b64a16; font-size: 1.05rem; font-weight: 900; }
.decagon-area-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 32px; }
.decagon-area-card {
    position: relative;
    overflow: hidden;
    padding: 25px;
    border: 1px solid #cfe0d7;
    border-radius: 16px;
    background: linear-gradient(155deg, #fff 50%, #eef8f2 100%);
    box-shadow: 0 8px 22px rgba(20, 85, 57, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.decagon-area-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--primary-green); }
.decagon-area-card.area-b { border-color: #f2d1ae; background: linear-gradient(155deg, #fff 50%, #fff5e9 100%); }
.decagon-area-card.area-b::before { background: var(--accent-orange); }
.decagon-area-card:hover { transform: translateY(-3px); box-shadow: 0 13px 28px rgba(20, 85, 57, 0.14); }
.decagon-area-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.decagon-area-label { color: var(--primary-green); font-size: 0.77rem; font-weight: 900; letter-spacing: 0.14em; }
.area-b .decagon-area-label { color: #b64a16; }
.decagon-area-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #fff;
    background: var(--primary-green);
    font-size: 1.05rem;
    font-weight: 900;
}
.area-b .decagon-area-mark { background: var(--accent-orange); }
.decagon-area-card h4 { margin: 8px 0 7px; color: #163d2b; font-size: 1.22rem; }
.decagon-area-card > p { margin: 0 0 18px; color: #67716c; font-size: 0.9rem; }
.decagon-document-links { display: grid; gap: 10px; }
.decagon-pdf-link {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 62px;
    padding: 11px 14px;
    border-radius: 10px;
    color: #fff;
    background: var(--primary-green);
    font-size: 0.91rem;
    font-weight: 800;
    line-height: 1.45;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}
.area-b .decagon-pdf-link { background: #c7541c; }
.decagon-guide-link { background: #fff; color: var(--primary-green); border: 2px solid var(--primary-green); }
.area-b .decagon-guide-link { background: #fff; color: #b64a16; border-color: #c7541c; }
.decagon-pdf-link:hover { color: #fff; background: var(--primary-dark); transform: translateX(2px); }
.area-b .decagon-pdf-link:hover { background: #a94212; }
.decagon-guide-link:hover, .area-b .decagon-guide-link:hover { color: #fff; }
.decagon-guide-link .decagon-pdf-icon { color: #fff; background: var(--primary-green); }
.area-b .decagon-guide-link .decagon-pdf-icon { background: #c7541c; }
.decagon-pdf-icon { flex: 0 0 auto; padding: 5px 6px; border-radius: 5px; color: #9f2018; background: #fff; font-size: 0.65rem; font-weight: 900; }
.decagon-link-arrow { margin-left: auto; font-size: 1.2rem; }
.decagon-pdf-note { margin: 17px 0 0; color: #68736d; font-size: 0.8rem; text-align: right; }

/* エントリー＆コンタクト */
.entry-box { background: #eef7f2; border-radius: 20px; padding: 60px 30px; max-width: 860px; margin: 0 auto; }
.entry-box h2 { font-size: 2rem; font-weight: 900; color: var(--primary-green); margin-bottom: 15px; }
.entry-desc { font-size: 1.05rem; color: #555; margin-bottom: 35px; }

.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-left h3, .contact-right h4 { color: var(--accent-yellow); margin-bottom: 15px; }
.contact-left a { color: #80cbc4; text-decoration: underline; }
.contact-right .sub { margin-top: 8px; font-size: 0.85rem; color: #aaa; }
.contact-right a { color: #80cbc4; text-decoration: underline; }
.site-footer { background-color: #111111; color: #777; text-align: center; padding: 24px 0; font-size: 0.85rem; }

/* レスポンシブ対応 */
@media (max-width: 840px) {
    .site-nav { display: none; position: absolute; top: 80px; left: 0; width: 100%; background: #fff; padding: 25px 0; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
    .site-nav.active { display: block; }
    .site-nav ul { flex-direction: column; gap: 16px; }
    .nav-toggle { display: flex; }
    .header-logo { width: 135px; }
    
    .hero-title { font-size: 2.2rem; }
    .hero-info-card { flex-direction: column; gap: 12px; }
    .hero-actions { grid-template-columns: 1fr; max-width: 520px; gap: 12px; }
    .hero-action { min-height: 70px; }
    .participant-registration-cta { grid-template-columns: 1fr; max-width: 520px; gap: 11px; }
    .official-participant-count,.official-entry-button { min-height: 76px; }
    .official-participant-count { justify-content: space-between; }
    .official-participant-count-label { max-width: none; }
    #officialParticipantCount { font-size: 2.2rem; }
    .social-share { width: 100%; padding: 14px 12px 12px; }
    .social-share-buttons { gap: 8px; }
    .social-share-button { flex: 1 1 96px; justify-content: center; padding: 8px 10px; }
    .easy-participation-inner { grid-template-columns: auto 1fr; gap: 13px; }
    .easy-participation-inner a { grid-column: 1 / -1; text-align: center; }
    .participation-summary-grid { grid-template-columns: 1fr; }
    .participation-summary-grid article { min-height: 0; border-right: 0; border-bottom: 1px solid #e4ebe7; }
    .participation-summary-grid article:nth-last-child(-n+2) { border-bottom: 1px solid #e4ebe7; }
    .participation-summary-grid article:last-child { border-bottom: 0; }
    .clothing-weather-alert { align-items: flex-start; margin: 0 16px 20px; padding: 14px; }
    .participation-guide-actions { flex-direction: column; }
    .participation-guide-actions .btn { width: 100%; }
    .contact-wrap { grid-template-columns: 1fr; }
    
    .spec-table th, .spec-table td { display: block; width: 100%; }
    .spec-table th { background: #e8f5e9; }
    .fee-plan .fee-benefit { padding-left: 0; }
    .fee-plan-name { min-width: 70px; }
    .application-info-box { padding: 22px 18px; }
    .application-deadline-grid { grid-template-columns: 1fr; }
    .application-info-actions { flex-direction: column; }
    .application-info-actions .btn { width: 100%; }
    .decagon-quest-panel { padding: 26px 18px; }
    .decagon-intro { grid-template-columns: 1fr; gap: 20px; text-align: center; }
    .decagon-emblem { width: 105px; height: 105px; margin: 0 auto; }
    .decagon-emblem-number { font-size: 2.5rem; }
    .decagon-area-grid { grid-template-columns: 1fr; }
    .decagon-area-card { padding: 22px 20px; text-align: left; }
    .decagon-pdf-note { text-align: center; }
}
