/* 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: 72px; }
.logo a { font-size: 1.6rem; font-weight: 900; color: var(--primary-green); letter-spacing: 0.5px; }
.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-cta { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* バー＆セクション */
.notice-bar { background-color: #fff8e1; border-bottom: 1px solid #ffe082; padding: 14px 0; text-align: center; color: #b78103; font-size: 0.95rem; }
.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; }

/* 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; }
.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; }

/* プログラムフィルター＆カード */
.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); }

.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; }
.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; }

/* スター賞 */
.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; }

/* エントリー＆コンタクト */
.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; }
.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: 72px; 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; }
    
    .hero-title { font-size: 2.2rem; }
    .hero-info-card { flex-direction: column; gap: 12px; }
    .contact-wrap { grid-template-columns: 1fr; }
    
    .spec-table th, .spec-table td { display: block; width: 100%; }
    .spec-table th { background: #e8f5e9; }
}
