/* ========= 共通：色や影などの変数 ========= */
:root {
  /* より深みのある背景色 */
  --bg: #030712;
  --bg-alt: #0f172a;
  --card: #111827;

  /* アクセントカラー: 鮮やかさと知性を感じる青*/
  --accent: #3b82f6;
  --accent-glow: rgba(59, 130, 246, 0.5);
  --accent-soft: rgba(59, 130, 246, 0.1);

  /* テキストカラー */
  --text: #f8fafc;
  --text-muted: #94a3b8;

  /* 繝懊・繝繝ｼ縺ｨ繧ｷ繝｣繝峨え */
  --border-subtle: rgba(148, 163, 184, 0.15);
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* 立体感を出すシャドウ */
  --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.15);

  /* グラデーション */
  --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  --gradient-dark: linear-gradient(to bottom, #0f172a, #030712);
}

/* ========= リセット & 基本設定========= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "IBM Plex Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.08), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.08), transparent 25%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* --- リンク --- */
a {
  color: #60a5fa;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #93c5fd;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(3, 7, 18, 0.8);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.logo-subtitle {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* PC ナビ */
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  position: relative;
  padding: 8px 0;
  transition: color 0.3s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav a:hover,
.nav a.active {
  color: #fff;
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}


.nav-btn-stylish {
  padding: 8px 20px;
  background: var(--gradient-primary);
  color: #fff !important;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1) !important;
}

.nav-btn-stylish:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
  filter: brightness(1.1);
}

.nav-btn-stylish::after {
  display: none !important;
  /* 下線は出さない*/
}


/* ========= ヒーローセクション ========= */
.hero {
  position: relative;
  padding: 100px 0 60px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero {
    padding: 60px 0 0;
    /* 下の余白を完全になくす */
  }
}

/* 背景装飾 */
.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent 70%);
  filter: blur(60px);
  z-index: -1;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.hero-text {
  flex: 1;
  max-width: 600px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.hero-text h1 {
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 40px;
  background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.04em;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.hero-text p {
  font-size: 17px;
  line-height: 1.8;
  color: #e2e8f0;
  margin-bottom: 0;
  max-width: 600px;
  position: relative;
  padding-left: 24px;
  border-left: 2px solid var(--accent);
}


/* ========= デザイナーズ・スタジオ CTA ========= */

.hero-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* ========= プレミアム・スタジオ・コンポジション CTA ========= */

/* ========= Designer's Editorial Console CTA ========= */
.hero-actions-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
  width: 100%;
  gap: 32px;
}

.main-cta-area {
  position: relative;
  perspective: 1000px;
  z-index: 2;
}

.hero-actions-console {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 60px;
  width: 100%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .hero-actions-console {
    flex-direction: column;
    gap: 12px;
    margin-top: 40px;
  }

  .console-btn {
    min-height: 80px;
    padding: 16px;
  }
}

.console-btn {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.02);
  padding: 24px 20px;
  border-radius: 20px;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  min-height: 100px;
}

.console-btn.primary {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow:
    0 0 30px rgba(59, 130, 246, 0.1),
    inset 0 0 25px rgba(59, 130, 246, 0.15);
  animation: pulse-glow 3s infinite ease-in-out;
}

@keyframes pulse-glow {

  0%,
  100% {
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.1), inset 0 0 15px rgba(59, 130, 246, 0.1);
  }

  50% {
    border-color: rgba(59, 130, 246, 0.9);
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.3), inset 0 0 30px rgba(59, 130, 246, 0.2);
  }
}

.console-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.console-btn:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.console-btn.primary:hover {
  background: rgba(59, 130, 246, 0.18);
  border-color: #3b82f6;
  box-shadow:
    0 20px 60px -10px rgba(59, 130, 246, 0.5),
    0 0 30px rgba(59, 130, 246, 0.3);
  transform: translateY(-6px) scale(1.02);
}

.console-btn:hover::before {
  opacity: 1;
}

.btn-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  position: relative;
  z-index: 2;
}

.btn-en {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  line-height: 1;
  text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.btn-jp {
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.btn-shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.8),
      transparent);
  transform: skewX(-20deg);
  transition: none;
}

.btn-premium-register:hover {
  transform: translateY(-5px) rotateX(5deg);
  background: var(--accent);
  box-shadow:
    0 30px 60px -15px rgba(59, 130, 246, 0.5);
}

.btn-premium-register:hover .btn-en,
.btn-premium-register:hover .btn-jp {
  color: #fff;
}

.btn-premium-register:hover .btn-shimmer {
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  100% {
    left: 200%;
  }
}

/* Secondary Navigation - Not used in the new console layout but kept for safety if needed elsewhere */
.hero-secondary-nav {
  display: none;
}

/* ホバーエフェクト */
.hero-action-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(59, 130, 246, 0.15), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hero-action-btn:hover {
  background: rgba(255, 255, 255, 0.03);
}

.hero-action-btn:hover::after {
  opacity: 1;
}

.hero-action-btn.primary:hover .btn-title {
  color: #fff;
  text-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

.hero-action-btn.primary:hover .btn-jp-hint {
  color: var(--accent);
}

/* セパレーター装飾 */
.hero-action-btn:not(:last-child)::before {
  content: "";
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.1), transparent);
}

/* スマホ対応 */
@media (max-width: 840px) {
  .hero-actions-unit {
    flex-direction: column;
    border-radius: 24px;
    gap: 1px;
    width: 100%;
    max-width: 400px;
  }

  .hero-action-btn,
  .hero-action-btn:first-child,
  .hero-action-btn:last-child {
    border-radius: 0;
    width: 100%;
    padding: 20px;
  }
}

/* 不要な旧スタイルの抹消 */
.hero-action-btn,
.btn-hero-action,
.registration-hint,
.hero-actions-container,
.btn-hero-action {
  display: none !important;
}

.btn-hero-action:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-hero-action.primary:hover {
  background: #f8fafc;
  box-shadow: 0 15px 35px -5px rgba(255, 255, 255, 0.25);
}

.btn-hero-action .icon {
  transition: transform 0.4s ease;
}

.btn-hero-action:hover .icon {
  transform: translateX(4px);
}

/* スマホ対応 */
@media (max-width: 768px) {
  .hero-actions-row {
    flex-direction: column;
    gap: 12px;
    padding: 0 24px;
  }

  .btn-hero-action {
    width: 100%;
    max-width: 320px;
    padding: 16px 32px;
  }

  .about-text {
    padding: 40px 24px;
    border-radius: 32px;
  }

  .about-text .lead {
    font-size: 20px;
    margin-bottom: 32px;
  }

  .about-text p:not(.lead) {
    font-size: 14px;
    line-height: 1.8;
  }
}

/* 以前のボタンクラスなどを抹消 */
.btn-registration-wide,
.cta-lead,
.cta-caption,
.hero-actions,
.hero-cta-center {
  display: none !important;
}

/* モバイル対応 */
@media (max-width: 840px) {
  .hero-action-buttons {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 400px;
  }

  .btn-studio {
    padding: 24px;
    min-width: 0;
  }
}

.hero-actions {
  display: none;
}


/* 統合されたフローのスタイル */
.registration-flow-integrated {
  width: 100%;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.flow-integrated-header {
  text-align: center;
  margin-bottom: 40px;
}

.flow-label-en {
  display: block;
  font-size: 9px;
  font-weight: 800;
  color: #818cf8;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-bottom: 6px;
  opacity: 0.8;
}

.flow-integrated-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin: 0;
  letter-spacing: 0.05em;
}

/* 以前のボタンを抹消*/
.hero-actions {
  display: none;
}

/* スマホの時のボタンが縦に並ぶので、マージン調整（既存CSSで gap が効いていれば不要ですが念のため）*/
@media (max-width: 640px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }

  .btn-primary-neon,
  .btn-secondary-glass {
    width: 100%;
    justify-content: center;
  }
}

.hero-image {
  /* 必要に応じて位置調整 */
  position: relative;
  z-index: 1;
}

.hero-image img {
  /* 画像の周囲（特に四隅）をふわっとぼかして背景に馴染ませる */
  -webkit-mask-image: radial-gradient(closest-side, black 60%, transparent 100%);
  mask-image: radial-gradient(closest-side, black 60%, transparent 100%);
}

/* ========= セクション共通設定========= */
.section {
  padding-top: 40px;
  /* 上の余白 */
  padding-bottom: 60px;
  /* 下の余白 */
}

/* スマホ用 */
@media (max-width: 768px) {
  .section {
    padding-top: 10px;
    /* 上の余白を最小限に */
    padding-bottom: 50px;
  }
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  margin-bottom: 48px;
  text-align: center;
}

.section-header h2 {
  font-size: 28px;
  margin: 0 0 12px;
  color: #fff;
}

.section-header p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
}

@media (max-width: 768px) {
  .section-header {
    margin-bottom: 24px;
    /* スマホでは見出しの下の余白も半分に */
  }
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #60a5fa;
  margin-bottom: 12px;
  background: rgba(96, 165, 250, 0.1);
  padding: 4px 12px;
  border-radius: 4px;
}

/* ========= 次回セミナー ========= */
.participation-flow {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* ほのかな光の装飾 */
.participation-flow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.05), transparent 70%);
  pointer-events: none;
}

.flow-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
  z-index: 1;
}

.flow-step {
  font-size: 10px;
  font-weight: 800;
  color: #60a5fa;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.9;
}

.flow-text {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

.flow-subtext {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.btn-flow-action {
  margin-top: 10px;
  padding: 6px 16px;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 99px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-flow-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
  color: #fff;
}

.flow-connector {
  width: 40px;
  height: 1px;
  background: var(--border-subtle);
  opacity: 0.4;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .participation-flow {
    flex-direction: column;
    gap: 30px;
    padding: 40px 20px;
  }

  .flow-connector {
    width: 1px;
    height: 30px;
  }
}

/* ========= Upcoming Seminars Grid ========= */
.upcoming-events-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 60px;
}

.event-card-compact {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 32px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.event-card-compact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent);
  opacity: 0.3;
  transition: opacity 0.3s ease;
}

.event-card-compact:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.5);
}

.event-card-compact:hover::before {
  opacity: 1;
}

.seminar-number {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 24px;
}

.talk-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.event-title-compact {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  margin: 0;
}

.event-detail-mini {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0;
}

.detail-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-row dt {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
}

.detail-row dd {
  margin: 0;
  font-size: 15px;
  color: #fff;
  line-height: 1.5;
}

.speaker-name {
  display: block;
  font-weight: 700;
  font-size: 17px;
}

.speaker-aff {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
}

.speaker-link {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.speaker-link:hover {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

.event-abstract-compact {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
}

.event-card-compact:hover .event-abstract-compact {
  color: rgba(255, 255, 255, 0.9);
}

.ref-title {
  margin-top: 24px;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.1em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 4px;
  margin-bottom: 12px;
}

.ref-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ref-list li {
  position: relative;
  padding-left: 24px;
}

.ref-list li span {
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
}

@media (max-width: 960px) {
  .upcoming-events-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .event-card-compact {
    padding: 32px 24px;
  }

  .event-title-compact {
    font-size: 18px;
  }
}

@media (max-width: 960px) {
  .event-detail {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 30px;
  }

  .event-title {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .event-detail {
    padding: 24px;
  }

  .date-highlight {
    font-size: 16px;
  }
}

.event-detail dt {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #818cf8;
  margin-bottom: 10px;
}

.event-detail dd {
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  margin: 0;
  line-height: 1.5;
}

.date-highlight {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 4px;
}

.time-highlight {
  font-size: 14px;
  color: var(--text-muted);
}

.event-abstract {
  font-size: 15px;
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 32px;
}

.event-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.event-note {
  font-size: 12px;
  color: var(--text-muted);
}

/* サイドカード*/
.side-card {
  background: var(--card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}

.side-card h4 {
  font-size: 14px;
  margin: 0 0 16px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.side-card ul,
.side-card ol {
  margin: 0;
  padding-left: 20px;
  font-size: 13px;
  color: var(--text-muted);
}

.side-card li+li {
  margin-top: 8px;
}

.about-section {
  position: relative;
  overflow: hidden;
  padding: 140px 0;
  background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.03), transparent 70%);
}

.about-section::before {
  content: "ABOUT";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 280px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.015);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
  letter-spacing: 0.15em;
}

.about-content {
  position: relative;
  z-index: 1;
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
}

.about-text {
  margin-bottom: 80px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 80px 60px;
  border-radius: 40px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  box-shadow:
    0 40px 100px -20px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.about-text::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.2), transparent);
}

.about-text .lead {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 48px;
  letter-spacing: -0.01em;
  position: relative;
}

.about-text p:not(.lead) {
  font-size: 15px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.7);
  max-width: 100%;
  text-align: left;
  margin-bottom: 24px;
  word-break: break-word;
  /* 英語の長い単語などで崩れないように */
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  /* 隙間を詰めて密度を上げる（まとまり感） */
  margin-top: 60px;
  background: rgba(255, 255, 255, 0.015);
  padding: 16px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.detail-item {
  position: relative;
  padding: 32px 28px;
  background: rgba(3, 7, 18, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.detail-item::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 0;
  width: 3px;
  height: 24px;
  background: var(--accent);
  border-radius: 0 4px 4px 0;
  opacity: 0.4;
  transition: all 0.3s ease;
}

.detail-item:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--accent);
  /* 枠線が光る */
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.detail-item:hover::before {
  height: 40px;
  opacity: 1;
  box-shadow: 0 0 15px var(--accent);
}

.detail-item h3 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.7;
}

.detail-content {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  line-height: 1.6;
  opacity: 0.9;
}

/* スマホ調整 */
@media (max-width: 480px) {
  .about-section {
    padding: 60px 0;
  }

  .about-section::before {
    font-size: 100px;
  }
}

@media (max-width: 768px) {
  .about-text .lead {
    font-size: 18px;
    margin-bottom: 24px;
    text-align: left;
    /* 中央寄せよりも左寄せの方が1行の幅を有効に使える */
  }

  .about-text {
    padding: 32px 20px;
    /* 内側の余白を大幅に減らして文字の入る幅を広げる */
    border-radius: 24px;
    margin-bottom: 40px;
  }

  .about-text p:not(.lead) {
    font-size: 14px;
    /* 文字を少し小さくして1行に入る文字数を増やす */
    line-height: 1.7;
  }

  .about-section::before {
    font-size: 80px;
    /* 背景文字を小さくして邪魔にならないようにする */
  }

  .about-section {
    padding: 60px 0;
  }
}

/* ========= Organizers ========= */
.organizer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}


.organizer-card {
  /* カード全体がリンクのため<a>タグですが、レイアウトはflex-boxで調整 */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* テキストを左寄せにするため */
  background: var(--card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);

  /* 下にResearchMapリンクを配置するための余白を確保*/
  padding: 24px;
  padding-bottom: 60px;
  /* リンクを配置するスペース */

  text-decoration: none;
  /* リンクの下線を消す */
  transition: all 0.3s ease;

  /* ResearchMapインジケーターの絶対配置の基準にする */
  position: relative;
  overflow: hidden;
}

.organizer-card:hover {
  transform: translateY(-5px);
  /* ホバー時に青い境界線と影で強調 */
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.organizer-main {

  flex-grow: 1;
}


.organizer-main h3 {
  font-size: 16px;
  /* サイズ維持*/
  margin: 0 0 4px;
  color: #fff;
}

/* 修正: <a>タグになっても所属の色をグレーに保つ */
.org-affiliation {
  font-size: 12px;
  /* サイズ維持*/
  color: var(--text-muted);
  margin: 0;
}

/* ==================================== */
/* 新規追加: ResearchMap インジケーターのスタイル */
/* ==================================== */
.research-indicator {
  /* ご要望の水色と小さい文字サイズを適用 */
  color: #60a5fa;
  /* 明るい水色 */
  font-size: 13px;
  /* 小さいサイズ */
  font-weight: 500;

  /* カードの枠内左下に絶対配置 */
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 10;

  transition: color 0.2s ease;
}

/* 新規追加: カードにホバーしたときのインジケーターの色変化 */
.organizer-card:hover .research-indicator {
  color: #93c5fd;
  /* ホバー時の明るい水色 */
}

/* ========= フッター ========= */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0;
  background: #020617;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ========= レスポンシブ========= */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  position: absolute;
  left: 0;
  transition: all 0.3s;
}

.nav-toggle span:nth-child(1) {
  top: 0;
}

.nav-toggle span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.nav-toggle span:nth-child(3) {
  bottom: 0;
}

.nav-toggle.is-open span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

@media (max-width: 840px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero-image {
    justify-content: center;
    order: 2;
  }

  .hero-text {
    order: 1;
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .event-layout {
    grid-template-columns: 1fr;
  }

  .two-column {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 120%;
    left: 0;
    width: 100%;
    background: var(--bg-alt);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav.is-open {
    display: flex;
  }

  .footer-inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}


.seminar-title {
  /* 文字サイズ：13pxは小さすぎるので16px〜17pxにします*/
  font-size: 16px;
  /* 行間 */
  line-height: 1.7;
  font-weight: 700;
  color: #fff;
  /* 重要：文字の間隔を少し詰めて、1行に収まりやすくする */
  letter-spacing: -0.05em;
  /* 右の余白をなくしてスペース確保*/
  padding-right: 0;

  word-break: break-all;
}

/* ========== スマホの時だけの設定========== */
@media (max-width: 768px) {
  .seminar-title {
    font-size: 15px;
    /* スマホでは少し小さい*/
    line-height: 1.4;
  }
}

.hero-text p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 540px;
  /* 追加するCSS */
  line-break: strict;
}


/* .nav-btn-join { ... } */

/* ボタン設定のリセットと整理*/
@media (max-width: 840px) {
  .hero-actions-console {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 50px;
    padding: 0 24px;
    position: relative;
    z-index: 100;
    width: 100%;
    margin-bottom: 60px;
  }

  .console-btn {
    flex: 1 1 calc(50% - 10px);
    min-width: 130px;
    padding: 20px 10px;
    min-height: 80px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
  }

  .console-btn.primary {
    flex: 1 1 100%;
  }

  .btn-en {
    font-size: 16px;
    letter-spacing: 0.05em;
  }

  .btn-jp {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .hero-actions-console {
    flex-direction: column;
    margin-top: 40px;
  }

  .console-btn {
    flex: 1 1 auto;
    width: 100%;
    min-height: 76px;
  }
}

/* ▼ クイックアクション (参加登録・次回・過去) */
.quick-actions {
  padding: 40px 0 80px;
}

.actions-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.action-card {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  text-decoration: none;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.action-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}

.action-card:hover {
  transform: translateY(-8px);
  border-color: rgba(59, 130, 246, 0.3);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(59, 130, 246, 0.1);
}

.action-card:hover::before {
  opacity: 1;
}

.card-content {
  position: relative;
  z-index: 1;
}

.card-tag {
  display: block;
  font-size: 10px;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
  opacity: 0.8;
}

.action-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
}

.action-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.card-arrow {
  position: relative;
  z-index: 1;
  color: var(--text-muted);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.action-card:hover .card-arrow {
  color: #fff;
  transform: translateX(5px);
}

/* 各カードの個性 */
.card-register:hover {
  border-color: rgba(96, 165, 250, 0.5);
}

.card-register .card-tag {
  color: #60a5fa;
}

.card-next:hover {
  border-color: rgba(139, 92, 246, 0.5);
}

.card-next .card-tag {
  color: #a78bfa;
}

.card-next::before {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), transparent);
}

.card-archive:hover {
  border-color: rgba(244, 63, 94, 0.5);
}

.card-archive .card-tag {
  color: #fb7185;
}

.card-archive::before {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.1), transparent);
}

/* レスポンシブ */
@media (max-width: 960px) {
  .actions-wrapper {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .action-card {
    padding: 24px;
  }
}