/*
 * ============================================================
 * Loohcs志塾 — 合格体験記セクション スタイル
 * ============================================================
 * 配置場所:
 *   /wp-content/themes/swell_child/assets/css/experiences.css
 *
 * スコープ:
 *   すべてのスタイルは #lexp-scope 配下に限定。
 * ============================================================
 */

/* ════════════════════════════════════════
   RESET
   ════════════════════════════════════════ */
#lexp-scope {
  all: unset;
  display: block;
}
#lexp-scope *,
#lexp-scope *::before,
#lexp-scope *::after {
  box-sizing: border-box;
}

/* ════════════════════════════════════════
   SECTION
   ════════════════════════════════════════ */
#lexp-scope .exp-section {
  padding: 96px 0 88px;
  /* background: #F4F3EF; */
  position: relative;
  overflow: hidden;
}

/* 左端ティールライン */
/* #lexp-scope .exp-section::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, transparent, #2DC4C0 40%, #008898 70%, transparent 100%);
} */

/* 右下デコ */
#lexp-scope .exp-deco {
  position: absolute;
  right: -24px; bottom: -72px;
  font-family: 'DM Serif Display', serif;
  font-size: clamp(200px, 24vw, 360px);
  font-style: italic;
  color: rgba(0,0,0,0.03);
  line-height: 1;
  pointer-events: none; user-select: none;
}

#lexp-scope .exp-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 56px;
  position: relative; z-index: 1;
}

/* ════════════════════════════════════════
   HEADER
   ════════════════════════════════════════ */
#lexp-scope .exp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}

#lexp-scope .exp-eyebrow {
  font-family: 'Outfit', sans-serif;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: #009EAA; margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
#lexp-scope .exp-eyebrow::before {
  content: ''; width: 20px; height: 1.5px;
  background: #009EAA; flex-shrink: 0;
}

#lexp-scope .exp-title {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: clamp(22px, 2.6vw, 34px); font-weight: 900;
  color: #0A2830; line-height: 1.2; letter-spacing: -0.01em;
}

#lexp-scope .exp-link {
  font-family: 'Outfit', sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em;
  color: #009EAA; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  border-bottom: 1px solid rgba(0,158,170,0.3);
  padding-bottom: 2px;
  transition: gap 0.2s, border-color 0.2s;
  white-space: nowrap;
}
#lexp-scope .exp-link::after { content: '→'; }
#lexp-scope .exp-link:hover { gap: 10px; border-color: #009EAA; }

/* ════════════════════════════════════════
   CARDS
   ════════════════════════════════════════ */
#lexp-scope .exp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

#lexp-scope .exp-card {
  background: white;
  border-radius: 14px;
  padding: 26px 24px 22px;
  border: 1px solid rgba(0,0,0,0.07);
  text-decoration: none;
  display: block;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s, border-color 0.22s;
}
#lexp-scope .exp-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0,158,170,0.25);
}

/* 上端カラーライン */
#lexp-scope .exp-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #2DC4C0, transparent 70%);
  border-radius: 14px 14px 0 0;
}

#lexp-scope .exp-card-univ {
  font-family: 'Outfit', sans-serif;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #009EAA; margin-bottom: 10px;
  display: flex; align-items: center; gap: 6px;
}
#lexp-scope .exp-card-univ::before {
  content: '';
  width: 5px; height: 5px;
  background: #2DC4C0; border-radius: 50%; flex-shrink: 0;
}

#lexp-scope .exp-card-title {
  font-size: 14px; font-weight: 600;
  color: #0A2830; line-height: 1.6;
  margin-bottom: 16px;
  font-family: 'Noto Sans JP', sans-serif;
}

#lexp-scope .exp-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
#lexp-scope .exp-card-year {
  font-family: 'Outfit', sans-serif;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em;
  color: white; background: #009EAA;
  padding: 2px 8px; border-radius: 3px;
}
#lexp-scope .exp-card-school {
  font-size: 10.5px; font-weight: 300;
  color: #8A9BA3; letter-spacing: 0.02em;
  font-family: 'Noto Sans JP', sans-serif;
}

/* more link */
#lexp-scope .exp-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  border: 1.5px dashed rgba(0,158,170,0.3);
  border-radius: 10px;
  color: #009EAA;
  font-family: 'Outfit', sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: all 0.2s;
}
#lexp-scope .exp-more::after { content: '→'; }
#lexp-scope .exp-more:hover {
  border-color: #009EAA;
  background: rgba(0,158,170,0.04);
  gap: 12px;
}

/* ════════════════════════════════════════
   SCROLL REVEAL
   ════════════════════════════════════════ */
#lexp-scope .reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
#lexp-scope .reveal.visible { opacity: 1; transform: translateY(0); }
#lexp-scope .rd1 { transition-delay: 0.07s; }
#lexp-scope .rd2 { transition-delay: 0.14s; }
#lexp-scope .rd3 { transition-delay: 0.21s; }
#lexp-scope .rd4 { transition-delay: 0.28s; }
#lexp-scope .rd5 { transition-delay: 0.35s; }
#lexp-scope .rd6 { transition-delay: 0.42s; }

/* ════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════ */
@media (max-width: 1024px) {
  #lexp-scope .exp-inner { padding: 0 44px; }
}

@media (max-width: 860px) {
  #lexp-scope .exp-section { padding: 72px 0 68px; }
  #lexp-scope .exp-inner { padding: 0 36px; }
  #lexp-scope .exp-header { margin-bottom: 36px; }
  #lexp-scope .exp-grid { gap: 12px; }
  #lexp-scope .exp-card { padding: 22px 20px 18px; }
  #lexp-scope .exp-card-title { font-size: 13.5px; }
}

@media (max-width: 700px) {
  #lexp-scope .exp-inner { padding: 0 28px; }
  #lexp-scope .exp-grid { grid-template-columns: 1fr; gap: 10px; }
  #lexp-scope .exp-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
  }
}

@media (max-width: 480px) {
  #lexp-scope .exp-section { padding: 52px 0 48px; }
  #lexp-scope .exp-inner { padding: 0 20px; }
  #lexp-scope .exp-title { font-size: clamp(20px, 6.5vw, 28px); }
  #lexp-scope .exp-card { padding: 20px 18px 16px; }
  #lexp-scope .exp-card-title { font-size: 13px; }
  #lexp-scope .exp-more { font-size: 11.5px; }
}
