/* FLARE AICHI - 共通スタイル */

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

:root {
  --orange:  #e8621a;
  --orange2: #f5a623;
  --dark:    #2c2c2c;
  --gray:    #666;
  --light:   #f9f6f2;
  --white:   #ffffff;
  --max-w:   1100px;
}

body {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
}

a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ===== ナビゲーション ===== */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid #eee;
  padding: 0 24px;
}
nav .nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  height: 56px;
  flex-wrap: wrap;
}
nav .nav-logo {
  font-weight: 700;
  font-size: 15px;
  color: var(--dark);
  white-space: nowrap;
}
nav .nav-logo img { height: 32px; width: auto; display: inline-block; }
nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-left: auto;
}
nav ul li a {
  font-size: 14px;
  color: var(--dark);
  font-weight: 300;
}
nav ul li a:hover, nav ul li a.active { color: var(--orange); text-decoration: none; }

/* ===== メインコンテナ ===== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== セクション共通 ===== */
section { padding: 64px 0; }
section.alt-bg { background: var(--light); }

h1 { font-size: 2rem; line-height: 1.3;   font-weight: 600;}
h2 { font-size: 1.6rem; margin-bottom: 32px; text-align: center;   font-weight: 600;}
h3 { font-size: 1.2rem; margin-bottom: 12px;   font-weight: 500;}

/* ===== ヒーローセクション ===== */
.hero {
  position: relative;
  color: var(--white);
  text-align: center;
  overflow: hidden;
  min-height: calc(60vh - 56px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.15);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 20px 24px 40px;
  width: 100%;
}
.hero-logo { max-width: 480px; margin: 0 auto 28px; }
.hero-tagline {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 20px;
  font-style: italic;
  letter-spacing: 0.04em;
}
.hero-subtitle {
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 32px;
}
.hero-desc {
  max-width: min(1200px, 92vw);
  margin: 0 auto 32px;
  background: rgba(0,0,0,0.55);
  padding: 28px 40px;
  border-radius: 8px;
  font-size: 1.2rem;
  line-height: 1.55;
  text-align: left;
}
.hero-desc .kana {
  font-size: 0.7rem;
  display: block;
  text-align: center;
  margin-bottom: 4px;
  opacity: 0.8;
}
.btn {
  display: inline-block;
  background: var(--white);
  color: var(--orange);
  font-weight: 700;
  padding: 14px 40px;
  border-radius: 4px;
  font-size: 1rem;
  transition: opacity 0.2s;
}
.btn:hover { opacity: 0.85; text-decoration: none; }
.btn-closed {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: var(--white);
  font-weight: 700;
  padding: 14px 40px;
  border-radius: 4px;
  font-size: 1rem;
  border: 2px solid rgba(255,255,255,0.5);
}

/* ===== 特徴グリッド ===== */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 48px;
  margin-top: 32px;
}
.feature-card { /* container only */ }
.feature-card h3 {
  font-weight: 700;
  font-size: 1.25rem;
  text-align: center;
  color: #121212;
  margin-bottom: 12px;
}
.feature-card .card-body {
  border-radius: 10px;
  padding: 20px 24px;
  font-size: 1.05rem;
  line-height: 1.5;
  border: 2px solid;
}
.feature-card:nth-child(1) .card-body { border-color: #c8a830; background: #fdf8e4; }
.feature-card:nth-child(2) .card-body { border-color: #e8621a; background: #fef3eb; }
.feature-card:nth-child(3) .card-body { border-color: #c95070; background: #fceaed; }
.feature-card:nth-child(4) .card-body { border-color: #3ab0bc; background: #e8f8fa; }

/* ===== メッセージセクション ===== */
.message-section {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}
.message-photo {
  flex-shrink: 0;
  width: 240px;
  border-radius: 8px;
  overflow: hidden;
}
.message-text { flex: 1; }
.message-text p { margin-bottom: 10px; line-height: 1.6; text-indent: 0.9em; font-size: 0.9rem; }
.message-credit {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--gray);
  text-align: right;
  text-indent: 0;
}

/* ===== コース比較 ===== */
.courses-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}
.course-card {
  border-radius: 12px;
  padding: 32px 28px;
}
.course-card.sprout {
  background: #fff8f0;
  border: 2px solid #f5a623;
}
.course-card.bloom {
  background: #fff0f0;
  border: 2px solid #e8621a;
}
.course-card h3 {
  font-size: 1.2rem;
  color: var(--orange);
  margin-bottom: 8px;
}
.course-label {
  font-size: 0.85rem;
  background: var(--orange2);
  color: white;
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.course-card ul {
  padding-left: 20px;
  font-size: 0.95rem;
}
.course-card ul li {
  line-height: 1.5;
  margin-bottom: 10px;
}
.course-card ul li:last-child { margin-bottom: 0; }

/* ===== 採択者リスト ===== */
.selected-list {
  font-size: 0.95rem;
  line-height: 1.7;
}
.selected-date {
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 8px;
}

/* ===== スケジュール ===== */
.schedule-chart img {
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  margin: 0 auto 48px;
}
.schedule-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
}
.step-card {
  background: var(--white);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}
.step-card.step1 { border-top: 4px solid #f5c842; background: #fffbee; }
.step-card.step2 { border-top: 4px solid #e8621a; background: #fff5f0; }
.step-card.step3 { border-top: 4px solid #c0390a; background: #fff0f0; }
.step-card h3 { font-size: 1rem; margin-bottom: 8px; color: var(--dark); }
.step-card p { font-size: 0.88rem; color: var(--gray); }

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  font-size: 0.92rem;
}
.schedule-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  text-align: left;
  vertical-align: top;
}
.schedule-table td:first-child {
  width: 26%;
  font-weight: 600;
  white-space: nowrap;
}
/* ステップヘッダー行 */
.schedule-table .step-header-row td {
  font-weight: 700;
  font-size: 0.95rem;
  padding: 11px 16px;
  color: #fff;
  border-bottom: none;
}
.schedule-table .step1-header td { background: #c8a830; }
.schedule-table .step2-header td { background: #e8621a; }
.schedule-table .step3-header td { background: #c95070; }
/* ステップデータ行 */
.schedule-table .step1-row td { background: #fdf8e4; }
.schedule-table .step2-row td { background: #fef3eb; }
.schedule-table .step3-row td { background: #fceaed; }
.schedule-table .note-row td {
  font-size: 0.82rem;
  color: #888;
  text-align: right;
  border-bottom: none;
}

/* ===== 人物カード ===== */
.person-card {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 32px 0;
  border-bottom: 1px solid #eee;
}
.person-card:last-child { border-bottom: none; }
.person-photo {
  flex-shrink: 0;
  width: 180px;
  border-radius: 8px;
  overflow: hidden;
  background: #f0f0f0;
}
.person-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; }
.person-info { flex: 1; }
.person-role {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.person-name { font-size: 1.25rem; font-weight: 700; margin-bottom: 2px; }
.person-org { font-size: 0.9rem; color: var(--gray); margin-bottom: 8px; }
.person-bio { font-size: 0.9rem; line-height: 1.5; color: var(--dark); }

/* サポートメンター グリッド */
.support-mentors {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.support-mentor-card {
  text-align: center;
  padding: 16px 12px;
  background: var(--light);
  border-radius: 8px;
  font-size: 0.85rem;
}
.support-mentor-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  margin: 0 auto 10px;
  background: #ddd;
}
.support-mentor-card .name { font-weight: 600; margin-bottom: 4px; }
.support-mentor-card .org { color: var(--gray); font-size: 0.78rem; }

/* ===== 採択者グリッド ===== */
.entrepreneurs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 28px;
  margin-top: 32px;
}
.entrepreneur-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.entrepreneur-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: top;
}
.entrepreneur-card-body {
  padding: 16px;
}
.entrepreneur-card-body .name { font-weight: 700; font-size: 1rem; margin-bottom: 2px; }
.entrepreneur-card-body .company { font-size: 0.82rem; color: var(--orange); font-weight: 600; margin-bottom: 6px; }
.entrepreneur-card-body .service { font-size: 0.8rem; color: var(--gray); margin-bottom: 6px; }
.entrepreneur-card-body .desc { font-size: 0.8rem; line-height: 1.6; color: var(--dark); }

/* ===== 実施内容 記事 ===== */
.project-article {
  padding: 56px 0;
}
.project-article:nth-child(even) {
  background: var(--light);
}
.project-article h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.4;
  color: var(--orange);
  padding-bottom: 6px;
  border-bottom: 2px solid var(--orange2);
}
.article-date {
  text-align: right;
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 16px;
}
.project-article p {
  margin-bottom: 10px;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ===== FAQ ===== */
.faq-section h2 { text-align: left; }
.faq-item {
  border-bottom: 1px solid #eee;
  padding: 20px 0;
}
.faq-q {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 8px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.faq-q::before {
  content: "Q";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--orange);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 28px;
  text-align: center;
}
.faq-a {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #444;
  padding-left: 40px;
}

/* 募集要項 */
.requirements-section h3 {
  font-size: 1.1rem;
  color: var(--orange);
  margin: 32px 0 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--orange2);
}
.requirements-section p { margin-bottom: 12px; font-size: 0.95rem; }
.requirements-section ul {
  padding-left: 24px;
  font-size: 0.95rem;
  line-height: 2;
  margin-bottom: 16px;
}

/* ===== フッター ===== */
footer {
  background: url(images/footer-bg.png) center / cover no-repeat;
  color: var(--dark);
  padding: 48px 24px 32px;
  font-size: 0.88rem;
}
footer.footer-flush-top {
  padding-top: 0;
  min-height: 400px;
}
footer.footer-flush-top .footer-inner {
  border-radius: 0 0 4px 4px;
  min-height: 250px;
}
footer .footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
  background: #fff;
  padding: 48px 40px 32px;
  border-radius: 4px;
}
.footer-contact-label {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.footer-contact-email {
  font-size: 1.15rem;
  margin-bottom: 24px;
}
.footer-contact-email a { color: var(--dark); }
.footer-contact-email a:hover { color: var(--orange); }
.footer-text {
  max-width: 700px;
  margin: 0 auto 32px;
  text-align: left;
  font-size: 0.85rem;
  line-height: 1.7;
  color: #555;
}
.footer-text p { margin-bottom: 8px; }
footer a { color: var(--dark); }
footer a:hover { color: var(--orange); }
.footer-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.footer-logos-main img { height: 72px; width: auto; object-fit: contain; }
.footer-logos-sub img  { height: 60px; width: auto; object-fit: contain; }
.footer-bottom {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid #eee;
  font-size: 0.82rem;
  color: #999;
  text-align: center;
}
.footer-bottom-flame {
  margin-top: 0;
  padding: 16px 24px;
  border-top: none;
  color: #121212;
}

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.3rem; }
  section { padding: 40px 0; }
  .message-section { flex-direction: column; }
  .message-photo { width: 160px; }
  .courses-grid { grid-template-columns: 1fr; }
  .person-card { flex-direction: column; }
  .person-photo { width: 140px; }
  .schedule-steps { grid-template-columns: 1fr; }
  .hero-desc { padding: 20px; }
  nav .nav-inner { gap: 16px; height: auto; padding: 12px 0; }
  nav ul { gap: 16px; }
}
