/* ==========================================================================
   東京電機大学 大学発スタートアップ創業支援プログラム LP
   style.css
   ------------------------------------------------------------------------
   編集のヒント:
   - 配色は :root の CSS変数にまとめています。ブランドカラーを変える場合は
     ここだけ変更すれば全体に反映されます。
   - レイアウトのブレークポイントは 992px (タブレット/PC切替) を基準にしています。
   ========================================================================== */

:root {
  /* 東京電機大学ブランドカラー */
  --tdu-blue: #2D56A0;       /* コーポレートブルー(メイン) */
  --tdu-blue-dark: #1F3E78;  /* ホバー・強調用の濃色 */
  --tdu-blue-light: #E6EBF3; /* 淡色背景 */
  --tdu-accent: #47CACF;     /* アクセント(資料請求ボタン等で使用されている水色) */
  --tdu-black: #1A1A1A;
  --tdu-gray: #4F4F4F;
  --tdu-gray-light: #F4F6FA;
  --tdu-border: #CBCBCB;
  --tdu-white: #FFFFFF;

  --font-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;

  --max-width: 1200px;
  --header-height: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-base);
  color: var(--tdu-black);
  background-color: var(--tdu-white);
  line-height: 1.8;
  font-size: 16px;
  padding-top: var(--header-height);
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

h1, h2, h3, h4, h5, p {
  margin: 0;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section--gray {
  background-color: var(--tdu-gray-light);
}

/* ---- 見出し共通 ---- */
.section-heading {
  text-align: center;
  margin-bottom: 48px;
}

.section-heading__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--tdu-blue);
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}

.section-heading__title {
  font-size: 32px;
  font-weight: 700;
  color: var(--tdu-black);
  position: relative;
  padding-bottom: 18px;
}

.section-heading__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 48px;
  height: 4px;
  background: var(--tdu-blue);
  border-radius: 2px;
}

.section-heading__lead {
  margin-top: 20px;
  font-size: 16px;
  color: var(--tdu-gray);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   ヘッダー
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--tdu-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  z-index: 1000;
}

.site-header__inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-header__logo img {
  height: 34px;
  width: auto;
}

.site-header__program-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--tdu-blue);
  border-left: 1px solid var(--tdu-border);
  padding-left: 16px;
  line-height: 1.4;
  display: none;
}

@media (min-width: 768px) {
  .site-header__program-name {
    display: block;
  }
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav__list {
  display: none;
  align-items: center;
  gap: 24px;
}

.site-nav__list a {
  font-size: 14px;
  font-weight: 600;
  color: var(--tdu-black);
  padding: 6px 0;
  position: relative;
}

.site-nav__list a:hover {
  color: var(--tdu-blue);
}

.site-nav__cta {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--tdu-blue);
  color: var(--tdu-white);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 999px;
  transition: background-color 0.2s ease;
}

.site-nav__cta:hover {
  background: var(--tdu-blue-dark);
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--tdu-black);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 992px) {
  .site-nav__list {
    display: flex;
  }
  .site-nav__cta {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
}

/* モバイルメニュー */
.mobile-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  max-height: calc(100vh - var(--header-height));
  overflow-y: auto;
  background: var(--tdu-white);
  border-top: 1px solid var(--tdu-border);
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 999;
}

.mobile-nav.is-open {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.mobile-nav__list {
  padding: 16px 20px 32px;
}

.mobile-nav__list li {
  border-bottom: 1px solid var(--tdu-border);
}

.mobile-nav__list a {
  display: block;
  padding: 16px 4px;
  font-weight: 600;
}

.mobile-nav__cta {
  display: block;
  margin: 16px 4px 0;
  text-align: center;
  background: var(--tdu-blue);
  color: var(--tdu-white);
  padding: 12px;
  border-radius: 999px;
  font-weight: 700;
}

@media (min-width: 992px) {
  .mobile-nav {
    display: none;
  }
}

/* ==========================================================================
   ヒーロー
   ========================================================================== */
.hero {
  position: relative;
  color: var(--tdu-white);
  overflow: hidden;
}

.hero__image {
  position: relative;
  height: 340px;
  overflow: hidden;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15, 34, 66, 0.88) 0%, rgba(45, 86, 160, 0.55) 60%, rgba(45, 86, 160, 0.25) 100%);
}

.hero__content {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 24px 20px 32px;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  right: 0;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--tdu-accent);
  margin-bottom: 12px;
}

.hero__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
}

.hero__subtitle {
  margin-top: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

@media (min-width: 768px) {
  .hero__image {
    height: 480px;
  }
  .hero__title {
    font-size: 44px;
  }
  .hero__subtitle {
    font-size: 16px;
  }
}

/* ==========================================================================
   プログラム概要
   ========================================================================== */
.program-intro {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 56px;
  color: var(--tdu-gray);
  font-size: 16px;
}

.program-chart {
  margin: 0 auto 64px;
  max-width: 960px;
  padding: 32px;
  background: var(--tdu-blue-light);
  border-radius: 16px;
}

.program-chart__diagram {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  text-align: center;
}

@media (min-width: 768px) {
  .program-chart__diagram {
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
  }
}

.program-chart__box {
  background: var(--tdu-white);
  border: 2px solid var(--tdu-blue);
  border-radius: 12px;
  padding: 20px 16px;
  font-weight: 700;
  color: var(--tdu-blue-dark);
}

.program-chart__box span {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--tdu-gray);
  margin-top: 6px;
}

.program-chart__arrow {
  font-size: 24px;
  color: var(--tdu-blue);
  font-weight: 700;
}

.program-fund {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px;
  border: 1px solid var(--tdu-border);
  border-radius: 16px;
  position: relative;
}

.program-fund__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.program-fund__title::before {
  content: "";
  width: 4px;
  height: 26px;
  background: var(--tdu-blue);
  border-radius: 2px;
  display: inline-block;
}

.program-fund__text {
  color: var(--tdu-gray);
  font-size: 15px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: 1px solid var(--tdu-blue);
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  color: var(--tdu-blue);
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  background-color: var(--tdu-blue);
  color: var(--tdu-white);
}

.btn--filled {
  background-color: var(--tdu-blue);
  color: var(--tdu-white);
}

.btn--filled:hover {
  background-color: var(--tdu-blue-dark);
}

.program-fund__cta {
  margin-top: 20px;
  text-align: right;
}

/* ==========================================================================
   支援対象
   ========================================================================== */
.eligible-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .eligible-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

.eligible-item {
  text-align: center;
}

.eligible-item__circle {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 180px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--tdu-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: var(--tdu-blue);
}

.eligible-item:nth-child(even) .eligible-item__circle {
  background: #E4F6F7;
  color: var(--tdu-accent);
}

.eligible-item__label {
  font-weight: 700;
  font-size: 15px;
}

/* ==========================================================================
   サポート
   ========================================================================== */
.support-list {
  display: grid;
  gap: 56px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.support-item {
  display: grid;
  gap: 24px;
  align-items: center;
}

@media (min-width: 900px) {
  .support-item {
    grid-template-columns: 1fr 1fr;
  }
  .support-item--reverse .support-item__figure {
    order: 2;
  }
  .support-item--reverse .support-item__body {
    order: 1;
  }
}

.support-item__figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
}

.support-item__number {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: var(--tdu-blue);
  font-weight: 700;
  margin-bottom: 12px;
}

.support-item__number small {
  font-size: 13px;
}

.support-item__number strong {
  font-size: 28px;
}

.support-item__tag {
  display: inline-block;
  background: var(--tdu-blue);
  color: var(--tdu-white);
  border-radius: 8px;
  padding: 6px 16px;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
}

.support-item__title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.5;
}

.support-item__text {
  color: var(--tdu-gray);
  font-size: 15px;
  margin-bottom: 20px;
}

.support-item__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   採択事例 Adoption
   ========================================================================== */
.adoption-lead {
  text-align: center;
  font-weight: 700;
  margin-bottom: 32px;
}

.adoption-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.adoption-tabs__btn {
  padding: 10px 32px;
  border-radius: 999px;
  background: var(--tdu-black);
  color: var(--tdu-white);
  font-weight: 700;
  font-size: 18px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.adoption-tabs__btn[aria-selected="true"],
.adoption-tabs__btn:hover {
  background: var(--tdu-blue);
}

.adoption-panel {
  display: none;
}

.adoption-panel.is-active {
  display: block;
}

.adoption-round {
  margin-bottom: 48px;
}

.adoption-round__heading {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  position: relative;
  padding-bottom: 14px;
}

.adoption-round__heading::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 36px;
  height: 3px;
  background: var(--tdu-blue);
}

.adoption-round__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  text-align: center;
}

.adoption-round__type {
  border: 1px solid var(--tdu-border);
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 14px;
  font-weight: 700;
}

.adoption-round__figures {
  font-size: 15px;
  color: var(--tdu-gray);
}

.adoption-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .adoption-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.adoption-card {
  display: grid;
  grid-template-columns: 34% 1fr;
  gap: 16px;
  padding: 16px;
  border-radius: 16px;
  background: var(--tdu-black);
  color: var(--tdu-white);
  transition: transform 0.2s ease;
}

.adoption-card:hover {
  transform: translateY(-3px);
}

.adoption-card__thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  background: #333;
}

.adoption-card__field {
  display: inline-block;
  background: var(--tdu-blue);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}

.adoption-card__author {
  font-size: 12px;
  color: #ccd6e8;
  margin-bottom: 10px;
}

.adoption-card__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.adoption-placeholder {
  border: 1px dashed rgba(255, 255, 255, 0.5);
}

.adoption-placeholder .adoption-card__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.adoption-note {
  text-align: center;
  font-size: 13px;
  color: var(--tdu-gray);
  margin-top: 24px;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.faq-item {
  border-bottom: 1px solid var(--tdu-border);
  padding-bottom: 16px;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 36px 12px 0;
  position: relative;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item__category {
  display: block;
  font-size: 12px;
  color: var(--tdu-blue);
  font-weight: 700;
  margin-bottom: 6px;
}

.faq-item__q,
.faq-item__a {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--tdu-blue);
  color: var(--tdu-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.faq-item__a {
  background: var(--tdu-blue);
  color: var(--tdu-white);
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 16px;
  font-size: 24px;
  color: var(--tdu-blue);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item__body {
  display: flex;
  gap: 16px;
  padding: 8px 0 4px 0;
}

.faq-item__answer {
  font-size: 15px;
  color: var(--tdu-gray);
}

.faq-item__answer p {
  margin-bottom: 10px;
}

.faq-item__answer p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   フッター
   ========================================================================== */
.site-footer {
  background: #12213E;
  color: var(--tdu-white);
  padding: 64px 0 32px;
}

.site-footer__top {
  display: grid;
  gap: 40px;
  margin-bottom: 48px;
}

@media (min-width: 900px) {
  .site-footer__top {
    grid-template-columns: 1fr 1fr;
  }
}

.site-footer__logo img {
  height: 32px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.site-footer address {
  font-size: 13px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.8);
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.site-footer__nav a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.site-footer__nav a:hover {
  color: var(--tdu-accent);
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .site-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.site-footer__bottom a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.site-footer small {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   ユーティリティ
   ========================================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 992px) {
  .section {
    padding: 100px 0;
  }
}
