@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700&display=swap');

:root {
  --bg: #05070f;
  --bg-alt: #0d101c;
  --card: #121628;
  --card-alt: #1c2137;
  --text: #f5f7ff;
  --muted: #9ea8c7;
  --accent: #ff7a45;
  --accent-strong: #ff502c;
  --accent-soft: #ffc7a5;
  --line: rgba(255, 255, 255, 0.08);
  --success: #4ade80;
  --warning: #facc15;
  --danger: #f87171;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow: 0 25px 80px rgba(5, 7, 15, 0.65);
  --shadow-soft: 0 15px 40px rgba(1, 2, 7, 0.45);
  --max-width: 1200px;
}

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

body {
  margin: 0;
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* html {
  scroll-behavior: smooth;
} */

img {
  max-width: 100%;
  display: block;
}
h1 {
  color: #ffffff;
}
a {
  color: inherit;
  text-decoration: none;
}

/* ヒーロー直下から始まるページ本体用コンテナ */
.page-body {
  width: 100%;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  background-image: 
    radial-gradient(circle at top left, rgba(203, 11, 44, 0.35), transparent 10%),
    radial-gradient(circle at top right, rgba(203, 11, 44, 0.15), transparent 35%),
    radial-gradient(circle at bottom center, rgba(9, 15, 30, 0.55), transparent 50%),
    linear-gradient(180deg, rgba(203, 11, 44, 0.3) 0%, rgb(14, 12, 28) 40%, rgb(16, 12, 30) 100%);
}

.container {
  width: min(92%, var(--max-width));
  margin: 0 auto;
}

.global-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(5, 7, 15, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.brand img {
  height: 42px;
  width: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
}

.global-nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.global-nav a {
  padding: 0.4rem 0.2rem;
  color: var(--muted);
  font-size: 0.95rem;
  position: relative;
  transition: color 0.2s ease;
}

.global-nav a::after {
  content: '';
  position: absolute;
  height: 2px;
  background: var(--accent);
  left: 0;
  right: 0;
  bottom: -6px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.global-nav a:hover,
.global-nav a:focus-visible,
.global-nav a[aria-current='page'] {
  color: var(--text);
}

.global-nav a:hover::after,
.global-nav a:focus-visible::after,
.global-nav a[aria-current='page']::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  color: var(--bg);
  font-weight: 600;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  width: 46px;
  height: 46px;
  justify-content: center;
  align-items: center;
  color: var(--text);
}

.hero {
  position: relative;
  padding: 6rem 0 4rem;
  overflow: hidden;
}

.page-home .hero {
  padding: 4rem 0 0;
  display: flex;
  align-items: flex-end;
}

.hero-fullwidth {
  width: 100%;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  background-size: cover;
  background-position: center;
}

.page-about .hero-fullwidth,
.page-apply .hero-fullwidth,
.page-sponsorship .hero-fullwidth,
.page-regulations .hero-fullwidth,
.page-judges .hero-fullwidth,
.page-members .hero-fullwidth,
.page-news .hero-fullwidth {
  min-height: clamp(420px, 65vh, 560px);
  padding: 5rem 0 4rem;
  display: flex;
  align-items: flex-end;
  background-image: url('../img/common/headquarters.jpg');
  background-size: cover;
  background-position: center 35%;
}

.page-about .hero-fullwidth .hero-content,
.page-apply .hero-fullwidth .hero-content,
.page-sponsorship .hero-fullwidth .hero-content,
.page-regulations .hero-fullwidth .hero-content,
.page-judges .hero-fullwidth .hero-content,
.page-members .hero-fullwidth .hero-content,
.page-news .hero-fullwidth .hero-content {
  width: 100%;
  text-align: center;
  justify-items: center;
}

.page-apply .hero-fullwidth .hero-content > div,
.page-sponsorship .hero-fullwidth .hero-content > div,
.page-judges .hero-fullwidth .hero-content > div,
.page-members .hero-fullwidth .hero-content > div {
  text-align: center;
  justify-self: center;
}

.page-apply .hero-fullwidth .hero-content .cta-row,
.page-sponsorship .hero-fullwidth .hero-content .cta-row {
  justify-content: center;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(5, 7, 15, 0.35), rgba(5, 7, 15, 0.10));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.hero-band {
  position: relative;
  z-index: 1;
  width: 100%;
  background: transparent;
  backdrop-filter: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  transform: translateY(100%);
  opacity: 0;
  will-change: transform, opacity;
  animation: heroBandEnter 0.8s ease-out 0.5s forwards;
}

.hero-band-content {
  position: relative;
  padding: 1.6rem 0;
}

.hero-panel {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.6rem 2rem;
}

.hero-text {
  flex: 1;
}

.hero-cta-block {
  flex-shrink: 0;
}

.hero-cta-block .cta-row {
  flex-wrap: nowrap;
}

@media (max-width: 900px) {
  .hero-panel {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .hero-cta-block {
    width: 100%;
  }

  .hero-cta-block .cta-row {
    width: 100%;
  }

  .hero-cta-block .cta-row a {
    flex: 1;
    justify-content: center;
  }
}

@keyframes heroBandEnter {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  45% {
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.hero-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  position: relative;
  width: 100%;
  max-height: 500px;
}

.hero-visual img {
  object-fit: cover;
  width: 100%;
  height: auto;
  max-height: 500px;
  display: block;
  filter: saturate(1.1);
}

.hero-visual-small {
  max-height: 400px;
}

.hero-visual-small img {
  max-height: 400px;
}

/* インタビュー画像のサイズ調整 */
.hero-visual.interview-image-reason {
  max-height: 350px;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual.interview-image-reason img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  max-height: 350px;
  display: block;
}

.hero-visual.interview-image-skill {
  max-height: 350px;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  order: 1;
}

.hero-visual.interview-image-skill img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  max-height: 350px;
  display: block;
}

/* インタビューテキストスタイル */
.interview-text {
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}

/* インタビューセクションのテキストコンテナ */
.interview-text-container {
  order: 2;
}

/* インタビューセクションのヘッダー（プロフィールカードと見出しを横並び） */
.interview-section-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

@media (max-width: 900px) {
  .interview-section-header {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* インタビュー回答者のプロフィールカード */
.interview-member-profile {
  padding: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  flex-shrink: 0;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  align-items: center;
  gap: 0;
}

.interview-member-photo {
  width: 240px;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--card-alt);
  position: relative;
  border-right: 1px solid var(--line);
}

.interview-member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.interview-member-profile .member-name {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.interview-member-profile .member-name-en {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0.05em;
}

.interview-member-profile .member-details {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.interview-member-profile .member-detail-item {
  margin: 0;
}

/* インタビューメンバープロフィール内のテキストスタイル */
.interview-member-profile .member-info > p:not(.member-role) {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 122, 69, 0.15);
  border: 1px solid rgba(255, 122, 69, 0.35);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  color: var(--accent-soft);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  letter-spacing: -0.02em;
  margin: 1rem 0;
  line-height: 1.15;
  color: #ffffff;
}

/* ヒーローテキストアニメーション */
.hero-title-animated {
  font-size: clamp(2rem, 4vw, 3.6rem);
  letter-spacing: -0.02em;
  margin: 1rem 0;
  line-height: 1.15;
  color: #ffffff;
  overflow: hidden;
  word-break: keep-all;
  overflow-wrap: normal;
}

.hero-title-animated .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease-out forwards;
}

.hero-title-animated .char.space {
  width: 0.3em;
}

/* 改行要素（PC版では非表示、モバイル版で表示） */
.hero-title-animated .hero-title-break {
  display: none;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 文字ごとに遅延を設定（最大40文字まで対応） */
.hero-title-animated .char:nth-child(1) { animation-delay: 0.1s; }
.hero-title-animated .char:nth-child(2) { animation-delay: 0.15s; }
.hero-title-animated .char:nth-child(3) { animation-delay: 0.2s; }
.hero-title-animated .char:nth-child(4) { animation-delay: 0.25s; }
.hero-title-animated .char:nth-child(5) { animation-delay: 0.3s; }
.hero-title-animated .char:nth-child(6) { animation-delay: 0.35s; }
.hero-title-animated .char:nth-child(7) { animation-delay: 0.4s; }
.hero-title-animated .char:nth-child(8) { animation-delay: 0.45s; }
.hero-title-animated .char:nth-child(9) { animation-delay: 0.5s; }
.hero-title-animated .char:nth-child(10) { animation-delay: 0.55s; }
.hero-title-animated .char:nth-child(11) { animation-delay: 0.6s; }
.hero-title-animated .char:nth-child(12) { animation-delay: 0.65s; }
.hero-title-animated .char:nth-child(13) { animation-delay: 0.7s; }
.hero-title-animated .char:nth-child(14) { animation-delay: 0.75s; }
.hero-title-animated .char:nth-child(15) { animation-delay: 0.8s; }
.hero-title-animated .char:nth-child(16) { animation-delay: 0.85s; }
.hero-title-animated .char:nth-child(17) { animation-delay: 0.9s; }
.hero-title-animated .char:nth-child(18) { animation-delay: 0.95s; }
.hero-title-animated .char:nth-child(19) { animation-delay: 1.0s; }
.hero-title-animated .char:nth-child(20) { animation-delay: 1.05s; }
.hero-title-animated .char:nth-child(21) { animation-delay: 1.1s; }
.hero-title-animated .char:nth-child(22) { animation-delay: 1.15s; }
.hero-title-animated .char:nth-child(23) { animation-delay: 1.2s; }
.hero-title-animated .char:nth-child(24) { animation-delay: 1.25s; }
.hero-title-animated .char:nth-child(25) { animation-delay: 1.3s; }
.hero-title-animated .char:nth-child(26) { animation-delay: 1.35s; }
.hero-title-animated .char:nth-child(27) { animation-delay: 1.4s; }
.hero-title-animated .char:nth-child(28) { animation-delay: 1.45s; }
.hero-title-animated .char:nth-child(29) { animation-delay: 1.5s; }
.hero-title-animated .char:nth-child(30) { animation-delay: 1.55s; }
.hero-title-animated .char:nth-child(31) { animation-delay: 1.6s; }
.hero-title-animated .char:nth-child(32) { animation-delay: 1.65s; }
.hero-title-animated .char:nth-child(33) { animation-delay: 1.7s; }
.hero-title-animated .char:nth-child(34) { animation-delay: 1.75s; }
.hero-title-animated .char:nth-child(35) { animation-delay: 1.8s; }
.hero-title-animated .char:nth-child(36) { animation-delay: 1.85s; }
.hero-title-animated .char:nth-child(37) { animation-delay: 1.9s; }
.hero-title-animated .char:nth-child(38) { animation-delay: 1.95s; }
.hero-title-animated .char:nth-child(39) { animation-delay: 2.0s; }
.hero-title-animated .char:nth-child(40) { animation-delay: 2.05s; }
.hero-title-animated .char:nth-child(41) { animation-delay: 2.1s; }
.hero-title-animated .char:nth-child(42) { animation-delay: 2.15s; }
.hero-title-animated .char:nth-child(43) { animation-delay: 2.2s; }
.hero-title-animated .char:nth-child(44) { animation-delay: 2.25s; }
.hero-title-animated .char:nth-child(45) { animation-delay: 2.3s; }
.hero-title-animated .char:nth-child(46) { animation-delay: 2.35s; }
.hero-title-animated .char:nth-child(47) { animation-delay: 2.4s; }
.hero-title-animated .char:nth-child(48) { animation-delay: 2.45s; }
.hero-title-animated .char:nth-child(49) { animation-delay: 2.5s; }
.hero-title-animated .char:nth-child(50) { animation-delay: 2.55s; }

.hero p {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius);
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  color: var(--bg);
  box-shadow: var(--shadow-soft);
}

.sponsor-website,
.sponsor-website:visited {
  color: #ffffff !important;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: var(--text);
  border: 1px solid var(--line);
}

/* フォーム内の送信ボタンのスタイル調整 */
form button[type="submit"],
form .btn[type="submit"] {
  padding: 0.7rem 1.5rem;
  margin-top: 1.5rem;
}

.btn:hover {
  transform: translateY(-2px);
}

section {
  padding: 2.5rem 0;
}

section.no-padding-top {
  padding-top: 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 1.5rem;
}

.section-heading-wide {
  max-width: 100%;
}

.section-heading-wide p {
  word-break: keep-all;
  overflow-wrap: break-word;
}

.section-heading.no-bottom-margin {
  margin-bottom: 0;
}

.section-heading.interview-subheading {
  margin-bottom: 1.5rem;
  margin-top: 2.5rem;
}

.section-heading.tight-spacing {
  margin-bottom: 1.5rem;
  margin-top: -1.5rem;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 0.8rem;
}

.section-heading p {
  color: var(--muted);
}

/* 句読点で折り返すテキスト */
.text-break-at-punctuation {
  line-break: strict;
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* カルチャーセクションのテキスト可読性向上 */
.section-heading.culture-section {
  max-width: 600px;
}

.section-heading.culture-section p {
  line-height: 1.8;
  max-width: 100%;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 122, 69, 0.3);
}

/* NUBiz の役割セクションのホバー効果を無効化 */
.no-hover .card:hover {
  transform: none;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  border-color: var(--line);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.stat-card {
  background: var(--card-alt);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--line);
}

.stat-card strong {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 0.2rem;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.85rem;
}

/* 情報カード（クリック不可）はホバーエフェクトを無効化 */
.stat-card.stat-info {
  cursor: default;
  transition: none;
}

.stat-card.stat-info:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--line);
  background: var(--card-alt);
}

/* ボタンカード（クリック可能）には明確なホバーエフェクト */
.stat-card.stat-button,
.stat-card[role="button"]:hover,
.stat-card[role="button"]:focus {
  cursor: pointer;
  background: var(--card);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  transition: all 0.2s ease;
}

.stat-card.stat-button:hover {
  background: linear-gradient(120deg, var(--accent-strong), var(--accent));
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(255, 122, 69, 0.3);
}

.stat-card[role="button"]:active,
.stat-card.stat-button:active {
  transform: translateY(-1px);
}

/* メンバー募集ボタンのスタイル */
.stat-card.stat-button,
#member-recruitment-btn {
  padding: 0.8rem 1.4rem;
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  border-color: var(--accent);
  box-shadow: var(--shadow-soft);
}

/* メンバー募集ボタンのテキストを控えめに */
.stat-card.stat-button strong,
#member-recruitment-btn strong {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
  color: var(--bg);
}

.stat-card.stat-button span,
#member-recruitment-btn span {
  font-size: 0.8rem;
  color: rgba(5, 7, 15, 0.8);
}

.split-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
}

.split-section.align-center {
  align-items: center;
}

.split-card {
  background: var(--card); /* 単一色に変更 */
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--line); /* cardと同じボーダー色に */
  box-shadow: var(--shadow-soft);
}

.split-card .stat-card {
  background: var(--card-alt);
}

/* シンプルな統計表示（枠なし） */
.stats-row-simple {
  margin-top: 1.5rem;
}

.stats-row-simple > div {
  display: flex;
  flex-direction: column;
}

.stats-row-simple strong {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 0.2rem;
  color: var(--text);
}

.stats-row-simple span {
  color: var(--muted);
  font-size: 0.85rem;
}

/* カルチャーセクションの重ねるレイアウト */
.culture-overlap-section {
  position: relative;
}

.culture-visual-container {
  position: relative;
  margin-top: 2.5rem;
}

.culture-image-large {
  width: 90%;
  max-width: 1000px;
  margin-left: 0;
  margin-right: auto;
  z-index: 1;
  position: relative;
}

.culture-image-large img {
  max-height: 650px;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.stats-overlap {
  position: absolute;
  bottom: 1.5rem;
  left: 1rem;
  z-index: 2;
  width: calc(100% - 2rem);
  max-width: 650px;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.stats-overlap .stat-card {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
}

.stats-overlap .stat-card.stat-info {
  background: rgba(18, 22, 40, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-overlap .stat-card.stat-info:hover {
  background: rgba(18, 22, 40, 0.95);
  transform: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.stats-overlap .stat-card.stat-button {
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  border-color: var(--accent);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .culture-image-large {
    width: 100%;
    max-width: 100%;
  }
  
  .stats-overlap {
    position: relative;
    bottom: auto;
    left: auto;
    width: 100%;
    max-width: 100%;
    margin-top: 1.5rem;
    padding: 0;
  }
  
  /* モバイル表示で改行を表示 */
  .hero-title-animated .hero-title-break {
    display: block;
  }
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.list-check li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  color: var(--muted);
}

.list-check li::before {
  content: '◆';
  color: var(--accent-soft);
  font-size: 0.9rem;
}

.rich-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  table-layout: fixed;
}

.rich-table thead {
  background: transparent;
}

.rich-table th,
.rich-table td {
  padding: 1.1rem;
  text-align: left;
  font-size: 0.95rem;
  border: 1px solid var(--line);
}

/* 列の幅を統一して位置関係を一致させる */
.rich-table th:first-child,
.rich-table td:first-child {
  width: 23%;
}

.rich-table th:nth-child(2),
.rich-table td:nth-child(2) {
  width: 7%;
}

.rich-table th:nth-child(3),
.rich-table td:nth-child(3) {
  width: 70%;
}

/* ==== 協賛リターン比較表専用テーブル ==== */
.sponsor-return-table {
  width: 100%;
  border-collapse: collapse;
  /* 外枠も削除または目立たなくする */
  border: none; 
  table-layout: fixed;
  background: transparent; /* 背景は親要素に委ねる */
  margin-bottom: 1rem;
}

.sponsor-return-table th,
.sponsor-return-table td {
  padding: 1.2rem 1rem;
  font-size: 0.95rem;
  border: none; /* 全ての枠線をリセット */
  border-bottom: 1px solid var(--line); /* 横線のみ残す */
  text-align: center;
  vertical-align: middle;
  color: var(--text);
}

.sponsor-return-table th:first-child,
.sponsor-return-table td:first-child {
  width: 40%; /* 特典項目の幅を広げて読みやすく */
  text-align: left;
  padding-left: 0.5rem;
  color: var(--muted);
  font-weight: 500;
}

/* Gold/Silver/Bronzeの列幅を均等に設定 (残り60%を3等分) */
.sponsor-return-table th:nth-child(n+2),
.sponsor-return-table td:nth-child(n+2) {
  width: 20%;
}

.sponsor-return-table thead th {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 1.5rem;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* ヘッダーのデザイン刷新（ベタ塗り廃止 -> 文字色と光彩で表現） */
.sponsor-return-table thead th:nth-child(1) {
  background: transparent;
  color: var(--muted);
}

.sponsor-return-table thead th:nth-child(2) {
  background: transparent;
  color: #facc15; /* Gold Text */
  text-shadow: 0 0 15px rgba(250, 204, 21, 0.3);
  font-size: 1.1rem;
}

.sponsor-return-table thead th:nth-child(3) {
  background: transparent;
  color: #cbd5f5; /* Silver Text */
  text-shadow: 0 0 15px rgba(203, 213, 245, 0.3);
  font-size: 1.1rem;
}

.sponsor-return-table thead th:nth-child(4) {
  background: transparent;
  color: #f59e0b; /* Bronze Text */
  text-shadow: 0 0 15px rgba(245, 158, 11, 0.3);
  font-size: 1.1rem;
}

/* 行のストライプ（より洗練された薄い色に） */
.sponsor-return-table tbody tr {
  transition: background-color 0.2s ease;
}

.sponsor-return-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.sponsor-return-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.04);
}

/* チェックマークの装飾 */
.sponsor-return-table td .check-mark {
  font-size: 1.3em;
  line-height: 1;
  display: inline-block;
}

/* 列ごとにチェックマークの色を変え、輝かせる */
.sponsor-return-table td:nth-child(2) .check-mark {
  color: #facc15;
  text-shadow: 0 0 12px rgba(250, 204, 21, 0.5);
}

.sponsor-return-table td:nth-child(3) .check-mark {
  color: #cbd5f5;
  text-shadow: 0 0 12px rgba(203, 213, 245, 0.5);
}

.sponsor-return-table td:nth-child(4) .check-mark {
  color: #f59e0b;
  text-shadow: 0 0 12px rgba(245, 158, 11, 0.5);
}

/* 「-」記号を目立たなくする */
.sponsor-return-table td.na {
  color: var(--line); /* 非常に薄く */
  font-weight: 400;
}

/* レスポンシブ対応ラッパー */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1rem;
  /* スクロールバーのカスタマイズ */
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--card);
  border-radius: var(--radius);
}

.table-responsive::-webkit-scrollbar {
  height: 6px;
}

.table-responsive::-webkit-scrollbar-track {
  background: var(--card);
}

.table-responsive::-webkit-scrollbar-thumb {
  background-color: var(--line);
  border-radius: 3px;
}

/* スマートフォン対応: 横スクロール可能にするための調整 */
@media (max-width: 768px) {
  .sponsor-return-table th,
  .sponsor-return-table td {
    padding: 0.8rem 0.4rem;
    font-size: 0.85rem;
  }
  
  .sponsor-return-table th:first-child,
  .sponsor-return-table td:first-child {
    font-size: 0.8rem;
    width: 40%; /* モバイルでも項目名を優先 */
  }
}

/* AI reference cards */
.ai-documents {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.ai-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.ai-card h3 {
  margin: 0.2rem 0 0.4rem;
  font-size: 1.3rem;
}

.ai-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.ai-label {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--text);
  margin: 0;
}

.ai-card .btn {
  align-self: flex-start;
  margin-top: auto;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  border: 1px solid currentColor;
}

.badge.gold {
  color: #facc15;
}

.badge.silver {
  color: #cbd5f5;
}

.badge.bronze {
  color: #f59e0b;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  border: 1px solid var(--line);
}

.faq-item h4 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #010206;
}

.video-embed iframe,
.video-embed video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
}

.form-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.form-card > h2:first-child {
  margin-top: 0;
  margin-bottom: 1.2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

.form-card .cta-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

.form-card .cta-row .btn {
  width: 100%;
  justify-content: center;
  margin: 0;
}

label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.modal-body form label {
  margin-top: 1rem;
}

.modal-body form label:first-child {
  margin-top: 0;
}

input,
textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.95rem;
}

select {
  width: 100%;
  padding: 0.85rem 1rem;
  padding-right: 3rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.95rem;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
}

/* より具体的なセレクタでも確実に適用 */
form select,
.form-card select,
.modal-body select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 3rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.sponsor-tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.sponsor-tier {
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--line);
  background: radial-gradient(circle at top, rgba(255, 122, 69, 0.35), rgba(6, 8, 20, 0.95) 55%);
  box-shadow: var(--shadow-soft);
}

.sponsor-tier h3 {
  margin: 0;
  font-size: 1.4rem;
}

.sponsor-tier .price {
  font-size: 2.1rem;
  font-weight: 700;
  margin: 0.8rem 0;
}

.sponsor-tier ul {
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.sponsor-card {
  background: var(--card); /* 眩しい白背景(#f0f2f8)をダークに変更 */
  border-radius: var(--radius-lg);
  padding: 2.4rem 2rem;
  border: 1px solid var(--line); /* ボーダー色もダークモード用に */
  text-align: center;
  cursor: pointer;
  color: var(--text); /* 文字色を白に */
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.sponsor-card:hover,
.sponsor-card:focus-visible {
  transform: translateY(-6px);
  border-color: var(--accent); /* アクセントカラーで強調 */
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4); /* 影を濃く */
}

.sponsor-card .sponsor-logo {
  height: 120px;
  border-radius: var(--radius-sm);
  background: #ffffff; /* ロゴ自体は白背景で見やすく */
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  padding: 1.2rem; /* 余白を少し広げてロゴを窮屈にしない */
  gap: 0.4rem;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.05); /* 内部にわずかな影 */
  overflow: hidden;
  flex-shrink: 0;
}

.sponsor-card .sponsor-logo img {
  max-height: 80px; /* 枠内に収まるよう少し縮小 */
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  /* filter: saturate(1.15); 不要な彩度強調を削除し自然に */
}

.sponsor-card p {
  color: var(--text); /* 企業名を白に */
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0;
  font-size: 1.05rem;
  min-height: 3em;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.4;
}

.sponsor-logo-dual {
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  height: auto !important;
  min-height: 120px;
  align-items: center;
}

.sponsor-logo-dual img {
  max-width: calc(50% - 0.3rem) !important;
  max-height: 80px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
  flex-shrink: 0;
}

/* スマホサイズで協賛パートナーを2列横並びに */
@media (max-width: 600px) {
  .sponsor-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }

  .sponsor-card {
    padding: 1.2rem 0.8rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .sponsor-card .sponsor-logo {
    height: 80px;
    margin-bottom: 0.8rem;
    padding: 0.8rem;
    flex-shrink: 0;
  }

  .sponsor-card .sponsor-logo img {
    max-height: 50px;
  }

  .sponsor-logo-dual {
    height: auto !important;
    min-height: 80px;
  }

  .sponsor-logo-dual img {
    max-width: calc(50% - 0.3rem) !important;
    max-height: 50px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    flex-shrink: 0;
  }

  .sponsor-card p {
    font-size: 0.85rem;
    min-height: 2.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
  }
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 1000;
}

.modal-content {
  background: var(--card);
  border-radius: var(--radius);
  max-width: 520px;
  width: 100%;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
  padding: 2rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.regulation-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.regulation-item {
  border-left: 3px solid var(--accent);
  padding-left: 1.2rem;
}

.regulation-item h3 {
  margin: 0;
}

.regulation-item p,
.regulation-item ul {
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.regulation-item a {
  color: var(--accent);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.regulation-item a:hover {
  color: var(--accent-strong);
}

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.toc a {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.footer {
  padding: 3rem 0;
  border-top: 1px solid var(--line);
  margin-top: 3rem;
  background: rgba(0, 0, 0, 0.25);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--muted);
}

.social-links {
  display: flex;
  gap: 0.8rem;
}

.social-links a {
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .global-nav {
    position: absolute;
    inset: 100% 0 auto 0;
    flex-direction: column;
    background: rgba(5, 7, 15, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 1.5rem 1rem;
    transform-origin: top;
    transform: scaleY(0);
    transition: transform 0.2s ease;
  }

  .global-nav.is-open {
    transform: scaleY(1);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .cta-row {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 5rem 0 3rem;
  }

  .section-heading {
    text-align: left;
  }

  section {
    padding: 3.5rem 0;
  }

  .modal-content {
    padding: 1.5rem;
    max-width: 95%;
  }
}

/* モーダルスタイル */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal[aria-hidden="false"] {
  display: flex;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  will-change: opacity;
}

.modal-content {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 10001;
  animation: modalFadeIn 0.3s ease;
  will-change: transform, opacity;
}

/* モーダル背景のフェードアウト（sponsor-modal用: modal-overlayがない場合） */
.modal.closing {
  animation: overlayFadeOut 0.3s ease forwards;
}

.modal.closing .modal-content {
  animation: modalFadeOut 0.3s ease forwards;
}

/* modal-overlayがある場合は、modal-overlayのアニメーションが優先される */
.modal.closing .modal-overlay {
  animation: overlayFadeOut 0.3s ease forwards;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes modalFadeOut {
  from {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  to {
    opacity: 0;
    transform: scale(0.95) translateY(-20px);
  }
}

@keyframes overlayFadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* モーダルが閉じた後はwill-changeを削除してメモリを解放 */
.modal[aria-hidden="true"] .modal-content,
.modal[aria-hidden="true"] .modal-overlay {
  will-change: auto;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--line);
}

.modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--text);
}

.modal-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.modal-body {
  padding: 2rem;
}

.modal-body p {
  margin: 0 0 1.5rem;
  line-height: 1.8;
  color: var(--muted);
}

.modal-body a {
  color: var(--accent);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.modal-body a:hover {
  color: var(--accent-strong);
}

.modal-checkbox {
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.modal-checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  margin: 0;
  font-size: 0.95rem;
  color: var(--text);
}

.modal-checkbox input[type="checkbox"] {
  width: auto;
  margin: 0;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 0.2rem;
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
}

.modal-checkbox span {
  flex: 1;
  line-height: 1.6;
}

.modal-footer {
  display: flex;
  gap: 1rem;
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--line);
  justify-content: flex-end;
}

.modal-footer .btn {
  min-width: 120px;
}

.modal-footer .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 600px) {
  .modal-content {
    padding: 0;
  }

  .modal-header,
  .modal-body,
  .modal-footer {
    padding: 1.25rem 1.5rem;
  }

  .modal-footer {
    flex-direction: column;
  }

  .modal-footer .btn {
    width: 100%;
  }
}


/* =========================================
   ホーム画面トップコンテンツ修正用スタイル
   ========================================= */

/* 1. ヘッダーをフローから外して画面上部に固定・重ねる */
.page-home .global-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(5, 7, 15, 0.3); /* 背景を少し透過させる */
  border-bottom: none; /* 境界線を消して画像と馴染ませる */
  transition: background 0.3s ease;
}

/* スクロールした時にヘッダーを見やすくする（オプション） */
.page-home .global-header:hover,
.page-home .global-header:focus-within {
  background: rgba(5, 7, 15, 0.9);
}

/* 2. ヒーローセクションをデバイスの画面サイズに完全に合わせる */
.page-home .hero {
  width: 100%;           /* 無理なvw指定をやめて100%にする */
  height: 100dvh;        /* モバイルのアドレスバーを考慮した「真の100%の高さ」 */
  min-height: 100vh;     /* 対応していないブラウザ用のフォールバック */
  padding: 0;            /* 余計な余白を削除 */
  margin: 0;             /* 余計なマージンを削除 */
  
  /* 背景画像の調整（HTMLのstyle属性から移動） */
  background-size: cover;
  background-position: center;
  
  /* コンテンツ配置 */
  display: flex;
  align-items: flex-end; /* コンテンツを下寄せにする */
}

/* 3. 下部のコンテンツがiPhoneのホームバー等に被らないように調整 */
.page-home .hero-band {
  /* 安全領域（セーフエリア）分の余白を確保 */
  padding-bottom: calc(1.6rem + env(safe-area-inset-bottom));
  
  /* 背景のボックスを削除 */
  background: transparent;
  backdrop-filter: none;
}

/* スマホサイズのみのヒーローセクション改善 */
@media (max-width: 600px) {
  /* 1. 写真のトリミングと人物の表情 - 人物に寄った写真にする */
  .page-home .hero {
    background-position: center 40%; /* 人物に寄せる */
    background-size: cover;
  }

  /* 2. コピーと背景のコントラスト - 文字の後ろにうっすらと黒いグラデーションを敷く */
  .page-home .hero-text {
    position: relative;
    padding: 1.5rem 1rem;
    background: linear-gradient(to bottom, 
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.3) 50%,
      rgba(0, 0, 0, 0.6) 100%);
    border-radius: var(--radius);
    margin: 0 1rem;
  }

  .page-home .hero-text h1 {
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  }

  /* 3. 下方向への誘導（ファーストビュー） - スクロール矢印アイコン */
  .hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: scrollBounce 2s ease-in-out infinite;
    cursor: pointer;
  }

  .scroll-arrow {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    display: block;
  }

  .hero-scroll-indicator::after {
    content: 'Scroll';
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.1em;
  }

  @keyframes scrollBounce {
    0%, 100% {
      transform: translateX(-50%) translateY(0);
    }
    50% {
      transform: translateX(-50%) translateY(10px);
    }
  }

  /* 次のコンテンツの端を少しだけ見せる */
  .page-home .hero {
    padding-bottom: 3rem;
  }

  .page-body {
    margin-top: -2rem;
    position: relative;
    z-index: 1;
  }
}
/* =========================================
   起業ブーストコンテンツ - タイムライン型レイアウト（控えめ版）
   ========================================= */

.content-items {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.content-item {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem; /* 2rem → 1.5remに縮小 */
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  min-height: 320px;
  overflow: hidden; /* 画像がはみ出さないように */
}

.content-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 122, 69, 0.3);
}

.content-item-title {
  margin: 0 0 0.8rem 0; /* タイトルと画像の間隔を適切に */
  font-size: 1.1rem;
  color: var(--text);
  text-align: center;
  font-weight: 600;
  line-height: 1.4;
  flex-shrink: 0;
  min-height: 3.2em; /* 2行分の高さを確保して画像位置を統一 */
  display: flex;
  align-items: center;
  justify-content: center;
}

.content-item-image {
  width: 110%; /* 100% → 110%に拡大 */
  aspect-ratio: 1;
  position: relative;
  margin-top: 1rem; /* auto → 1remに変更してタイトルとの間隔を適切に */
  margin-bottom: -0.5rem; /* 下に負のマージンで外枠との間隔を縮める */
  margin-left: -5%; /* 左に負のマージンで中央に配置 */
  margin-right: -5%; /* 右に負のマージンで中央に配置 */
  overflow: hidden;
}

.content-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sample-image-box {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-alt);
  border: 2px dashed var(--line);
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.content-item:hover .sample-image-box {
  border-color: rgba(255, 122, 69, 0.3);
  background: rgba(255, 122, 69, 0.03);
}

/* レスポンシブ対応 */
@media (max-width: 1200px) {
  .content-items {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .content-items {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-item {
    padding: 1.3rem; /* 1.8rem → 1.3remに縮小 */
    min-height: 300px;
  }

  .content-item-title {
    font-size: 1rem;
    margin-bottom: 0.6rem; /* タイトルと画像の間隔を適切に */
    min-height: 2.8em; /* タブレット用の高さ統一 */
  }
}

@media (max-width: 600px) {
  .content-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .content-item {
    padding: 1rem;
    min-height: 280px;
  }

  .content-item-title {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    min-height: 2.6em;
  }
}

/* =========================================
   起業ブーストコンテンツ - モーダルスタイル
   ========================================= */

.modal-content-split {
  max-width: 900px;
  padding: 0;
}

.modal-body-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 400px;
}

.modal-image {
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-alt);
  min-height: 400px;
}

.modal-image .sample-image-box {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  background-size: cover;
  background-position: center;
}

.modal-image-content {
  width: 100%;
  max-width: 400px;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  display: block;
}

.modal-text {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-title {
  margin: 0 0 1rem 0;
  font-size: 1.8rem;
  color: var(--text);
  line-height: 1.3;
}

.modal-description {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .modal-body-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  
  .modal-image {
    padding: 1.5rem;
    min-height: 300px;
  }

  .modal-image-content {
    max-width: 100%;
    height: 300px;
  }
  
  .modal-text {
    padding: 1.5rem;
  }

  .modal-title {
    font-size: 1.5rem;
  }

  .modal-description {
    font-size: 0.95rem;
  }
}

/* =========================================
   メンバー紹介ページ - グリッドレイアウト
   ========================================= */

.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.member-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.member-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 122, 69, 0.3);
}

.member-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--card-alt);
  position: relative;
}

.member-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.85rem;
  background: var(--card-alt);
  border-bottom: 1px solid var(--line);
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.member-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.member-name {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.member-role {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.4;
}

/* メンバーモーダル専用のスタイル */
#member-modal .modal-content {
  max-width: 800px;
  padding: 1.5rem;
}

/* モーダル内のメンバー情報スタイル */
.member-modal-content {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 2rem;
  align-items: center;
}

.member-modal-photo {
  width: 380px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--card-alt);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.member-modal-photo .member-photo-placeholder {
  border-bottom: none;
  border-radius: var(--radius);
}

.member-modal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}

.member-modal-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.member-modal-header {
  margin-bottom: 1.5rem;
}

.member-modal-name-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.member-modal-name-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.member-modal-name {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  white-space: nowrap;
}

.member-modal-furigana {
  font-size: 0.85rem;
  color: #aaa;
  font-weight: 400;
  line-height: 1.4;
}

.member-modal-role {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
  padding: 0.25rem 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 6px;
  white-space: nowrap;
}

.member-modal-details {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.member-modal-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.member-modal-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  width: 5em;
  flex-shrink: 0;
  line-height: 1.6;
}

.member-modal-value {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}

.member-modal-department,
.member-modal-join,
.member-modal-message {
  margin: 0;
}

.member-modal-social {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.member-linkedin-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.member-linkedin-link:hover {
  color: var(--accent-strong);
  text-decoration: underline;
}

/* モーダルのレスポンシブ対応 */
@media (max-width: 768px) {
  #member-modal .modal-content {
    max-width: 95%;
    padding: 1.5rem;
  }

  .member-modal-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .member-modal-photo {
    width: 200px;
    margin: 0 auto;
  }

  .member-modal-header {
    text-align: center;
  }

  .member-modal-name-group {
    align-items: center;
  }

  .member-modal-name-row {
    justify-content: center;
  }

  .member-modal-name {
    font-size: 1.5rem;
  }

  .member-modal-furigana {
    font-size: 0.8rem;
  }

  .member-modal-role {
    font-size: 0.8rem;
  }

  .member-modal-detail-item {
    flex-direction: column;
    gap: 0.3rem;
  }

  .member-modal-label {
    width: auto;
  }
}

/* レスポンシブ対応 */
@media (max-width: 900px) {
  .members-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
  }

  .member-info {
    padding: 1.2rem;
  }

  .member-name {
    font-size: 1rem;
  }

  .member-role {
    font-size: 0.85rem;
  }
}

@media (max-width: 600px) {
  .members-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.2rem;
  }

  .member-info {
    padding: 1rem;
  }
}

/* =========================================
   審査員ページ - 横型リストスタイル
   ========================================= */

.judges-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.judge-card {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.judge-logo {
  flex-shrink: 0;
  width: 200px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 1.5rem;
}

.judge-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.judge-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: center;
}

.judge-company {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.6;
  margin: 0;
}

.judge-name {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.6;
  margin: 0;
}

/* 画像がないカードのスタイル */
.judge-card-no-image {
  position: relative;
}

.judge-card-no-image::before {
  content: '';
  flex-shrink: 0;
  width: 200px;
  height: 120px;
  display: block;
}

@media (max-width: 900px) {
  .judge-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .judge-logo {
    width: 100%;
    max-width: 300px;
    height: auto;
    aspect-ratio: 5 / 3;
  }

  .judge-info {
    width: 100%;
  }

  .judge-company,
  .judge-name {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .judges-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .judge-card {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .judge-logo {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 5 / 3;
  }

  .judge-info {
    width: 100%;
    text-align: center;
  }

  .judge-company,
  .judge-name {
    font-size: 0.85rem;
  }

  .judge-card-no-image::before {
    width: 100%;
    height: auto;
    aspect-ratio: 5 / 3;
  }
}

/* Coming soon スタイル */
.judges-coming-soon {
  margin-top: 2rem;
  text-align: center;
  padding: 3rem 0;
}

.judges-coming-soon p {
  font-size: 1.2rem;
  color: var(--muted);
  margin: 0;
  font-style: italic;
}

/* =========================================
   お知らせページ - ニュースリストスタイル
   ========================================= */

.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 2rem;
}

.news-item {
  border-bottom: 1px solid var(--line);
  transition: background-color 0.2s ease;
}

.news-item-header {
  display: grid;
  grid-template-columns: 140px 120px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem 0;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.news-content-inner {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.news-item-with-image .news-content-inner {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.news-image-wrapper {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.news-image {
  max-width: 200px;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.news-text-content {
  flex: 1;
  min-width: 0;
}

.news-item:hover .news-item-header {
  background-color: rgba(255, 255, 255, 0.02);
  padding-left: 1rem;
  padding-right: 1rem;
  margin-left: -1rem;
  margin-right: -1rem;
  border-radius: var(--radius-sm);
}

.news-item.is-open .news-item-header {
  background-color: rgba(255, 255, 255, 0.02);
  padding-left: 1rem;
  padding-right: 1rem;
  margin-left: -1rem;
  margin-right: -1rem;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.news-date {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.news-category {
  font-size: 0.85rem;
  color: var(--accent-soft);
  background: rgba(255, 122, 69, 0.15);
  border: 1px solid rgba(255, 122, 69, 0.35);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  text-align: center;
  font-weight: 500;
  white-space: nowrap;
}

.news-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
  transition: color 0.2s ease;
}

.news-item:hover .news-title {
  color: var(--accent-soft);
}

.news-toggle {
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, color 0.2s ease;
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.news-toggle:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--accent-soft);
}

.news-toggle-icon {
  display: inline-block;
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.news-item.is-open .news-toggle-icon {
  transform: rotate(180deg);
}

.news-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease;
  padding: 0 1rem;
  margin: 0 -1rem;
  background-color: rgba(255, 255, 255, 0.01);
}

.news-item.is-open .news-content {
  max-height: 2000px;
  padding: 1.5rem 1rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.news-content p {
  margin: 0.75rem 0;
  line-height: 1.8;
  color: var(--text);
}

.news-content p:first-child {
  margin-top: 0;
}

.news-content p:last-child {
  margin-bottom: 0;
}

.news-content a {
  color: var(--accent);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.news-content a:hover {
  color: var(--accent-soft);
}

/* レスポンシブ対応 */
@media (max-width: 900px) {
  .news-item-header {
    grid-template-columns: 1fr auto;
    gap: 0.8rem;
    padding: 1.2rem 0;
  }

  .news-date {
    grid-column: 1;
    grid-row: 1;
    font-size: 0.85rem;
  }

  .news-category {
    grid-column: 1;
    grid-row: 2;
    font-size: 0.8rem;
    padding: 0.25rem 0.6rem;
    display: inline-block;
    width: fit-content;
    margin-top: 0.3rem;
  }

  .news-content-inner {
    flex-direction: column;
    gap: 1rem;
  }

  .news-image-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .news-image {
    max-width: 200px;
    width: 100%;
  }

  .news-title {
    grid-column: 1;
    grid-row: 3;
    font-size: 0.95rem;
    margin-top: 0.5rem;
  }

  .news-toggle {
    grid-column: 2;
    grid-row: 1 / 4;
    align-self: start;
    margin-top: 0.5rem;
  }

  .news-item:hover .news-item-header,
  .news-item.is-open .news-item-header {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin-left: -0.5rem;
    margin-right: -0.5rem;
  }

  .news-item.is-open .news-content {
    padding: 1.2rem 0.5rem;
    margin: 0 -0.5rem;
  }
}

@media (max-width: 600px) {
  .news-item-header {
    padding: 1rem 0;
  }

  .news-date {
    font-size: 0.8rem;
  }

  .news-category {
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
  }

  .news-title {
    font-size: 0.9rem;
  }

  .news-item.is-open .news-content {
    padding: 1rem 0.5rem;
  }
}

/* フォーム送信成功メッセージ */
.form-success-message {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid var(--success);
  border-radius: var(--radius-sm);
  color: var(--success);
  text-align: center;
  font-weight: 500;
  animation: fadeIn 0.3s ease;
}

/* フォームエラーメッセージ */
.form-error-message {
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid var(--danger);
  border-radius: var(--radius-sm);
  color: var(--danger);
  text-align: left;
  font-weight: 500;
  animation: fadeIn 0.3s ease;
}

.form-error-message p {
  margin: 0;
  line-height: 1.6;
}

/* エラー状態の入力フィールド */
input.error,
textarea.error,
select.error {
  border-color: var(--danger) !important;
  background: rgba(248, 113, 113, 0.05) !important;
}

input.error:focus,
textarea.error:focus,
select.error:focus {
  outline: 2px solid var(--danger);
  outline-offset: 2px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


