/* =====================
   HERO
   ===================== */
#hero-edu {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 9rem 2.5rem 5rem;
  overflow: hidden;
}

.edu-hero-glow {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,240,196,0.07) 0%, rgba(123,111,255,0.05) 40%, transparent 70%);
  top: 40%; left: 50%;
  transform: translate(-30%, -55%);
  pointer-events: none;
  animation: eduPulse 8s ease-in-out infinite;
}

@keyframes eduPulse {
  0%, 100% { transform: translate(-30%, -55%) scale(1); opacity: 1; }
  50%       { transform: translate(-30%, -55%) scale(1.06); opacity: 0.7; }
}

.edu-hero-inner {
  max-width: 780px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}

.edu-hero-title {
  font-family: var(--title);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
}

.edu-hero-sub {
  font-size: 1rem;
  color: var(--muted);
  line-height: 2;
  margin-bottom: 2.5rem;
  max-width: 620px;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s forwards;
}

.edu-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s forwards;
}

.trust-badge {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  border: 1px solid rgba(74,240,196,0.35);
  color: var(--accent);
  background: rgba(74,240,196,0.06);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.8s forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =====================
   SECTIONS SHARED
   ===================== */
.edu-section-inner {
  padding: 7rem 2.5rem;
  border-top: 1px solid var(--border);
  max-width: 1100px;
  margin: 0 auto;
}

.edu-section-title {
  font-family: var(--title);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.edu-section-desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 2;
  max-width: 640px;
  margin-bottom: 3.5rem;
}

/* =====================
   OVERVIEW
   ===================== */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.2rem;
}

.overview-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  transition: border-color 0.25s, transform 0.25s;
  position: relative;
  overflow: hidden;
}
.overview-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--accent), var(--accent2));
  opacity: 0;
  transition: opacity 0.25s;
}
.overview-card:hover {
  border-color: rgba(74,240,196,0.25);
  transform: translateY(-3px);
}
.overview-card:hover::before { opacity: 1; }

.overview-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.overview-card h3 {
  font-family: var(--title);
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.7rem;
}
.overview-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.9;
}

/* =====================
   USE CASES
   ===================== */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.usecase-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem 2rem 2.2rem;
  transition: border-color 0.25s;
}
.usecase-block:hover { border-color: rgba(123,111,255,0.25); }

.usecase-tag {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--accent2);
  margin-bottom: 0.8rem;
}
.usecase-block h3 {
  font-family: var(--title);
  font-size: 1rem;
  letter-spacing: -0.01em;
  margin-bottom: 1.2rem;
}
.usecase-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.usecase-list li {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
  padding-left: 1.2em;
  position: relative;
}
.usecase-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.75rem;
}

/* =====================
   SAFETY
   ===================== */
.safety-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 820px;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.safety-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1.8rem 2rem;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  transition: background 0.2s;
}
.safety-item:hover { background: rgba(74,240,196,0.03); }

/* 右列（偶数）はborder-rightなし */
.safety-item:nth-child(2n) { border-right: none; }
/* 最終行はborder-bottomなし */
.safety-item:nth-last-child(-n+2) { border-bottom: none; }

.safety-check {
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.safety-item h4 {
  font-family: var(--title);
  font-size: 0.88rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.safety-item p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.9;
}

.ai-note {
  max-width: 820px;
  background: rgba(240,162,74,0.05);
  border: 1px solid rgba(240,162,74,0.15);
  border-radius: 8px;
  padding: 1.2rem 1.5rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.9;
}
.ai-note-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--accent3);
  margin-bottom: 0.5rem;
}

/* =====================
   ABOUT
   ===================== */
.about-inner {
  max-width: 640px;
}
.about-inner p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 2;
  margin-bottom: 1.2rem;
}
.about-inner strong {
  color: var(--text);
  font-weight: 400;
}
.about-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* =====================
   DOWNLOAD / QR
   ===================== */
.qr-download-block {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.qr-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.qr-img {
  width: 130px;
  height: 130px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.qr-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

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

@media (max-width: 768px) {
  .qr-block { display: none; }
  .qr-cta { flex-direction: row; flex-wrap: wrap; }
}

/* =====================
   CONTACT
   ===================== */
.contact-edu-inner {
  max-width: 560px;
}
.contact-edu-inner p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 2;
  margin-bottom: 2rem;
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 768px) {
  #hero-edu { padding: 8rem 1.2rem 4rem; }
  .edu-section-inner { padding: 5rem 1.2rem; }
  .safety-grid { grid-template-columns: 1fr; }
  .safety-item { border-right: none; }
  .safety-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .safety-item:last-child { border-bottom: none; }
}

@media (max-width: 480px) {
  .edu-trust-badges { gap: 0.4rem; }
}
