/* =====================================================
   archieve.css — 活用実績ページ専用スタイル
   education.qumcum.com/archieve.html
   ===================================================== */

/* ===== HERO ===== */
.ac-hero {
  background: #1A2236;
  padding: 80px 0;
  color: #fff;
}
.ac-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.ac-hero-badge {
  display: inline-block;
  background: rgba(26,86,164,0.25);
  border: 1px solid rgba(99,153,220,0.4);
  color: #93C5FD;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 5px 14px;
  border-radius: 4px;
  margin-bottom: 20px;
}
.ac-hero-title {
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  margin-bottom: 20px;
}
.ac-hero-lead {
  font-size: 15px;
  line-height: 1.9;
  color: #94A3B8;
  margin-bottom: 32px;
  max-width: 480px;
}
.ac-hero-cta {
  border-color: rgba(255,255,255,0.3) !important;
  color: #fff !important;
}
.ac-hero-cta:hover {
  background: rgba(255,255,255,0.08) !important;
  border-color: rgba(255,255,255,0.5) !important;
}
.ac-hero-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  border-radius: 8px;
  overflow: hidden;
}
.ac-hero-visual img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.ac-hero-visual img:first-child {
  grid-column: 1 / 3;
  height: 200px;
}

/* ===== INTRO ===== */
.ac-intro-lead {
  font-size: 16px;
  color: #2D3748;
  line-height: 1.9;
  margin-bottom: 20px;
}
.ac-intro-types {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.ac-intro-type {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 24px 20px;
  text-align: center;
}
.ac-intro-type-icon {
  width: 44px; height: 44px;
  background: #EBF4FF;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  color: #1A56A4;
}
.ac-intro-type-icon svg {
  width: 20px; height: 20px;
  stroke: currentColor; fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.ac-intro-type h4 {
  font-size: 13px;
  font-weight: 700;
  color: #1E2A3B;
  margin-bottom: 6px;
}
.ac-intro-type p {
  font-size: 12px;
  color: #718096;
  line-height: 1.6;
}

/* ===== SECTION COMMON ===== */
.ac-case-tag {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 8px;
}
.ac-case-tag--school  { background: #ECFDF5; color: #2D7D5A; }
.ac-case-tag--univ    { background: #EBF4FF; color: #1A56A4; }
.ac-case-tag--corp    { background: #F5F3FF; color: #5B21B6; }
.ac-case-tag--media   { background: #FFF7ED; color: #C05621; }

/* ===== ELEMENTARY SCHOOL ===== */
.ac-school-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.ac-school-text h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1E2A3B;
  margin-bottom: 16px;
  line-height: 1.5;
}
.ac-school-text p {
  font-size: 14px;
  color: #4A5568;
  line-height: 1.9;
  margin-bottom: 16px;
}
.ac-school-text p:last-child { margin-bottom: 0; }
.ac-school-media {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ac-school-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.ac-school-photos img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
.ac-video-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: 1px solid #CBD5E0;
  border-radius: 4px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #4A5568;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Noto Sans JP', sans-serif;
  width: 100%;
}
.ac-video-btn:hover {
  border-color: #1A56A4;
  color: #1A56A4;
}
.ac-play-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  background: #EBF4FF;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #1A56A4;
}

/* ===== MIDDLE / HIGH / SPECIAL ===== */
.ac-secondary-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.ac-secondary-visual img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.ac-secondary-text h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1E2A3B;
  margin-bottom: 16px;
  line-height: 1.5;
}
.ac-secondary-text p {
  font-size: 14px;
  color: #4A5568;
  line-height: 1.9;
  margin-bottom: 16px;
}
.ac-secondary-text p:last-child { margin-bottom: 0; }
.ac-school-types {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.ac-school-type-badge {
  font-size: 12px;
  font-weight: 500;
  color: #4A5568;
  background: #F7F9FC;
  border: 1px solid #E2E8F0;
  padding: 4px 12px;
  border-radius: 3px;
}

/* ===== UNIVERSITY ===== */
.ac-univ-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 32px;
}
.ac-univ-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 32px 28px;
}
.ac-univ-icon {
  width: 44px; height: 44px;
  background: #EBF4FF;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #1A56A4;
  margin-bottom: 16px;
}
.ac-univ-icon svg {
  width: 20px; height: 20px;
  stroke: currentColor; fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.ac-univ-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #1E2A3B;
  margin-bottom: 10px;
}
.ac-univ-card p {
  font-size: 13px;
  color: #4A5568;
  line-height: 1.8;
}
.ac-univ-note {
  background: #F7F9FC;
  border: 1px solid #E2E8F0;
  border-radius: 4px;
  padding: 16px 20px;
  font-size: 13px;
  color: #718096;
  line-height: 1.8;
}

/* ===== CORPORATE ===== */
.ac-corp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.ac-corp-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  overflow: hidden;
}
.ac-corp-card-header {
  padding: 24px 28px 20px;
  border-bottom: 1px solid #E2E8F0;
}
.ac-corp-card-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1E2A3B;
  margin-top: 10px;
  margin-bottom: 6px;
}
.ac-corp-card-header p {
  font-size: 12px;
  color: #718096;
}
.ac-corp-card-body {
  padding: 24px 28px;
}
.ac-corp-card-body p {
  font-size: 14px;
  color: #4A5568;
  line-height: 1.85;
}
.ac-corp-card-visual {
  padding: 0 28px 24px;
}
.ac-corp-card-visual img {
  width: 100%;
  border-radius: 6px;
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* ===== MEDIA ===== */
.ac-media-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 40px;
}
.ac-media-badge-wrap {
  text-align: center;
}
.ac-media-org {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #1E2A3B;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.ac-media-program {
  font-size: 13px;
  color: #718096;
  white-space: nowrap;
}
.ac-media-text h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1E2A3B;
  margin-bottom: 12px;
}
.ac-media-text h3 a {
  color: #2B6CB0;
  text-decoration: underline;
}
.ac-media-text h3 a:hover {
  color: #1A4A80;
}
.ac-media-text p {
  font-size: 14px;
  color: #4A5568;
  line-height: 1.9;
}

/* ===== COMMON VALUE ===== */
.ac-value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.ac-value-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 28px 24px;
}
.ac-value-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: #EBF4FF;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #1A56A4;
}
.ac-value-icon svg {
  width: 20px; height: 20px;
  stroke: currentColor; fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.ac-value-card h3 {
  font-size: 14px;
  font-weight: 700;
  color: #1E2A3B;
  margin-bottom: 6px;
}
.ac-value-card p {
  font-size: 13px;
  color: #4A5568;
  line-height: 1.75;
}

/* ===== CTA ===== */
.ac-cta-section {
  text-align: center;
}
.ac-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* ===== VIDEO OVERLAY ===== */
.ac-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 200;
  align-items: center;
  justify-content: center;
}
.ac-overlay.active {
  display: flex;
}
.ac-overlay-content {
  position: relative;
  width: min(90vw, 900px);
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}
.ac-overlay-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
}
.ac-overlay-content video {
  width: 100%;
  display: block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .ac-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ac-hero-visual { order: -1; }
  .ac-hero-visual img:first-child { height: 160px; }
  .ac-hero-visual img { height: 110px; }
  .ac-intro-types { grid-template-columns: 1fr 1fr; }
  .ac-school-inner,
  .ac-secondary-inner { grid-template-columns: 1fr; }
  .ac-secondary-visual { order: -1; }
  .ac-univ-grid { grid-template-columns: 1fr; }
  .ac-corp-grid { grid-template-columns: 1fr; }
  .ac-media-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  .ac-value-grid { grid-template-columns: 1fr; }
  .ac-cta-buttons { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .ac-intro-types { grid-template-columns: 1fr; }
  .ac-school-photos { grid-template-columns: 1fr; }
}
