/* education.css — Stepping Stones Theme */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 300;
    line-height: 1.7;
    overflow-x: hidden;
  }

  

  /* HEADER */
  header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 52px;
    background: rgba(255,255,255,0.97);
    border-bottom: 1px solid var(--border-dim);
    backdrop-filter: blur(12px);
  }

  .logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px; font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--accent-light);
    text-decoration: none;
    display: flex; flex-direction: column;
    line-height: 1; gap: 3px;
  }
  .logo span {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 9px; font-weight: 400;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    text-transform: uppercase;
  }

  nav { display: flex; align-items: center; gap: 40px; }
  nav a {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px; font-weight: 400;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--text-muted); text-decoration: none;
    transition: color 0.3s ease;
  }
  nav a:hover, nav a.active { color: var(--accent-light); }
  nav a.active { position: relative; }
  nav a.active::after {
    content: ''; position: absolute;
    bottom: -4px; left: 0; right: 0;
    height: 1px; background: var(--accent);
  }
  .nav-contact {
    border: 1px solid var(--border);
    padding: 9px 22px;
    color: var(--accent) !important;
    transition: background 0.3s ease, color 0.3s ease !important;
  }
  .nav-contact:hover {
    background: var(--accent) !important;
    color: var(--bg) !important;
  }

  /* PAGE HERO */
  .page-hero {
    padding: 160px 52px 80px;
    border-bottom: 1px solid var(--border-dim);
    position: relative;
    overflow: hidden;
  }
  .page-hero-bg {
    position: absolute; inset: 0;
    background: linear-gradient(160deg, #ffffff 0%, #f5f5f5 60%, #1e1c18 100%);
  }
  .page-hero-grid {
    position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,0.2) 40%, transparent);
  }
  .page-hero-content { position: relative; z-index: 1; }
  .page-eyebrow {
    font-family: 'DM Sans', sans-serif;
    font-size: 10px; letter-spacing: 0.28em;
    text-transform: uppercase; color: var(--accent);
    display: flex; align-items: center; gap: 14px;
    margin-bottom: 24px;
  }
  .page-eyebrow::before {
    content: ''; display: block;
    width: 28px; height: 1px;
    background: var(--accent); opacity: 0.6;
  }
  .page-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(44px, 6vw, 80px);
    font-weight: 300; line-height: 1.05;
    letter-spacing: -0.01em; color: var(--text);
    margin-bottom: 24px;
  }
  .page-title em { font-style: italic; color: var(--accent-light); }
  .page-subtitle {
    font-size: 13px; font-weight: 300;
    line-height: 2; color: var(--text-muted);
    letter-spacing: 0.06em; max-width: 560px;
  }

  /* COMMON SECTION */
  .section { padding: 100px 52px; }
  .section-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 10px; letter-spacing: 0.28em;
    text-transform: uppercase; color: var(--accent);
    margin-bottom: 52px;
    display: flex; align-items: center; gap: 16px;
  }
  .section-label::after {
    content: ''; flex: 1; max-width: 52px;
    height: 1px; background: var(--border);
  }
  .section-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 300; line-height: 1.1;
  }

  /* BUTTONS */
  .btn-primary {
    display: inline-flex; align-items: center; gap: 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px; letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--bg); background: var(--accent);
    padding: 16px 36px; text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
  }
  .btn-primary:hover { background: var(--accent-light); transform: translateX(4px); }
  .btn-outline {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 11px; letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent); border: 1px solid var(--border);
    padding: 13px 28px; text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
  }
  .btn-outline:hover { background: var(--accent); color: var(--bg); }

  /* FOOTER */
  footer {
    padding: 60px 52px 40px;
    border-top: 1px solid var(--border-dim);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px; align-items: start;
  }
  .footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px; font-weight: 600;
    color: var(--accent-light); letter-spacing: 0.06em;
    margin-bottom: 14px;
  }
  .footer-tagline {
    font-size: 11px; font-weight: 300;
    color: var(--text-dim); letter-spacing: 0.1em; line-height: 1.9;
  }
  .footer-nav h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 9px; letter-spacing: 0.22em;
    text-transform: uppercase; color: var(--accent); margin-bottom: 20px;
  }
  .footer-nav ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
  .footer-nav a {
    font-size: 12px; font-weight: 300;
    color: var(--text-dim); text-decoration: none;
    letter-spacing: 0.06em; transition: color 0.3s ease;
  }
  .footer-nav a:hover { color: var(--text-muted); }
  .footer-bottom {
    grid-column: 1 / -1;
    border-top: 1px solid var(--border-dim);
    padding-top: 28px; margin-top: 20px;
    display: flex; justify-content: space-between; align-items: center;
  }
  .footer-copy {
    font-family: 'DM Sans', sans-serif;
    font-size: 10px; letter-spacing: 0.14em; color: var(--text-dim);
  }

  /* HAMBURGER */
  .hamburger {
    display: none; flex-direction: column;
    justify-content: center; gap: 5px;
    width: 36px; height: 36px; cursor: pointer;
    background: none; border: none; padding: 4px; z-index: 200;
  }
  .hamburger span {
    display: block; width: 100%; height: 1px;
    background: var(--accent-light);
    transition: transform 0.35s ease, opacity 0.35s ease, width 0.35s ease;
    transform-origin: center;
  }
  .hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .mobile-menu {
    display: none; position: fixed; inset: 0;
    background: var(--bg); z-index: 150;
    flex-direction: column; align-items: center; justify-content: center;
    opacity: 0; transform: translateY(-16px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
  }
  .mobile-menu.open { opacity: 1; transform: translateY(0); pointer-events: all; }
  .mobile-menu a {
    font-family: 'Cormorant Garamond', serif;
    font-size: 40px; font-weight: 300;
    letter-spacing: 0.04em; color: var(--text-muted);
    text-decoration: none; padding: 18px 0;
    border-bottom: 1px solid var(--border-dim);
    width: 80%; text-align: center;
    transition: color 0.3s ease;
  }
  .mobile-menu a:first-child { border-top: 1px solid var(--border-dim); }
  .mobile-menu a:hover { color: var(--accent-light); }
  .mobile-menu .mobile-contact {
    margin-top: 40px;
    border: 1px solid var(--border) !important;
    padding: 14px 48px;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px !important; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--accent);
  }

  /* REVEAL ANIMATIONS */
  .reveal {
    opacity: 0; transform: translateY(28px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  .reveal.visible { opacity: 1; transform: translateY(0); }
  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }

  /* MOBILE */
  @media (max-width: 768px) {
    header { padding: 20px 24px; }
    nav { display: none; }
    .hamburger { display: flex; }
    .mobile-menu { display: flex; }

    .page-hero { padding: 120px 24px 60px; }
    .page-title { font-size: clamp(36px, 10vw, 56px); }
    .section { padding: 64px 24px; }
    footer { padding: 48px 24px 32px; grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }

    @media (max-width: 390px) {
      .mobile-menu a { font-size: 32px; padding: 14px 0; }
    }
  }
  @media (max-width: 1024px) {
    header { padding: 24px 32px; }
    .page-hero { padding: 140px 32px 72px; }
    .section { padding: 80px 32px; }
    footer { padding: 52px 32px 36px; }
  }


  /* EDUCATION PAGE */

  /* 도입부 */
  .edu-intro {
    max-width: 760px;
    margin-bottom: 80px;
  }
  .edu-intro-lead {
    font-size: 17px; font-weight: 400;
    line-height: 1.9; color: var(--text);
    letter-spacing: 0.04em; margin-bottom: 20px;
  }
  .edu-intro-body {
    font-size: 13px; font-weight: 300;
    line-height: 2.2; color: var(--text-muted);
    letter-spacing: 0.05em;
  }
  .edu-intro-note {
    margin-top: 20px;
    font-size: 12px; color: var(--text-dim);
    letter-spacing: 0.05em; line-height: 2;
    border-left: 2px solid var(--border);
    padding-left: 16px;
  }
  .edu-intro-note a { color: var(--accent); text-decoration: none; }
  .edu-intro-note a:hover { text-decoration: underline; }

  /* 세미나 섹션 */
  .seminar-block {
    background: var(--bg-2);
    padding: 64px 52px;
    margin-bottom: 2px;
  }
  .seminar-header {
    display: flex; align-items: flex-start;
    justify-content: space-between; gap: 40px;
    margin-bottom: 40px;
  }
  .seminar-tag {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 9px; letter-spacing: 0.22em;
    text-transform: uppercase; color: var(--accent);
    border: 1px solid var(--border); padding: 5px 14px;
    margin-bottom: 16px;
  }
  .seminar-title {
    font-size: 22px; font-weight: 500;
    color: var(--text); letter-spacing: 0.04em;
    line-height: 1.5; margin-bottom: 12px;
  }
  .seminar-body {
    font-size: 13px; font-weight: 300;
    line-height: 2.2; color: var(--text-muted);
    letter-spacing: 0.05em;
  }
  .seminar-news-link {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 11px; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--accent);
    text-decoration: none; margin-top: 24px;
    border-bottom: 1px solid var(--border); padding-bottom: 4px;
    transition: border-color 0.3s ease;
  }
  .seminar-news-link:hover { border-color: var(--accent); }

  /* 강좌 섹션 */
  .courses-section { padding: 80px 52px; }

  .instructor-strip {
    display: flex; align-items: center; gap: 24px;
    padding: 28px 36px; background: var(--bg-2);
    margin-bottom: 56px; border-left: 3px solid var(--accent);
  }
  .instructor-avatar {
    width: 64px; height: 64px; border-radius: 50%;
    overflow: hidden; flex-shrink: 0;
    border: 1px solid var(--border);
    background: var(--bg-3);
  }
  .instructor-avatar img {
    width: 100%; height: 100%; object-fit: cover;
  }
  .instructor-info {}
  .instructor-label {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 9px; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--text-dim);
    margin-bottom: 4px;
  }
  .instructor-name {
    font-size: 16px; font-weight: 500;
    color: var(--text); letter-spacing: 0.06em;
    margin-bottom: 2px;
  }
  .instructor-name span {
    font-size: 11px; font-weight: 300;
    color: var(--text-muted); margin-left: 10px;
    letter-spacing: 0.1em;
  }
  .instructor-title {
    font-size: 11px; font-weight: 300;
    color: var(--text-muted); letter-spacing: 0.05em;
    line-height: 1.7;
  }
  .instructor-link {
    margin-left: auto; flex-shrink: 0;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 10px; letter-spacing: 0.16em;
    text-transform: uppercase; color: var(--accent);
    text-decoration: none; display: flex; align-items: center; gap: 6px;
    transition: gap 0.3s ease;
  }
  .instructor-link:hover { gap: 10px; }

  /* 샘플 동영상 */
  .sample-video {
    margin-bottom: 56px;
    background: var(--bg-2); padding: 32px;
  }
  .sample-video-label {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 9px; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--text-dim);
    margin-bottom: 16px;
  }
  .video-wrapper {
    position: relative; width: 100%; padding-top: 56.25%;
    background: var(--bg-3);
  }
  .video-wrapper iframe {
    position: absolute; inset: 0;
    width: 100%; height: 100%; border: none;
  }
  .sample-video-note {
    margin-top: 12px;
    font-size: 11px; color: var(--text-dim);
    letter-spacing: 0.05em;
  }

  /* 강좌 카드 */
  .course-list { display: flex; flex-direction: column; gap: 2px; }
  .course-card {
    background: var(--bg-2); padding: 48px;
    display: grid; grid-template-columns: 160px 1fr;
    gap: 48px; align-items: start;
  }
  .course-img {
    width: 100%; aspect-ratio: 3/4;
    overflow: hidden; background: var(--bg-3);
    border: 1px solid var(--border-dim);
  }
  .course-img img {
    width: 100%; height: 100%; object-fit: cover;
  }
  .course-right {}
  .course-num {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 10px; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--accent);
    margin-bottom: 12px;
  }
  .course-title {
    font-size: 18px; font-weight: 500;
    color: var(--text); line-height: 1.6;
    letter-spacing: 0.04em; margin-bottom: 8px;
  }
  .course-meta {
    display: flex; gap: 20px; flex-wrap: wrap;
    margin-bottom: 20px;
  }
  .course-meta-item {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 11px; letter-spacing: 0.08em;
    color: var(--text-muted);
    display: flex; align-items: center; gap: 6px;
  }
  .course-meta-item strong {
    color: var(--text); font-weight: 500;
  }
  .course-body {
    font-size: 13px; font-weight: 300;
    line-height: 2.1; color: var(--text-muted);
    letter-spacing: 0.05em; margin-bottom: 24px;
  }
  .course-materials {
    border-top: 1px solid var(--border-dim);
    padding-top: 20px; margin-bottom: 24px;
  }
  .course-materials-title {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 9px; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--text-dim);
    margin-bottom: 12px;
  }
  .course-materials-list {
    font-size: 12px; font-weight: 300;
    color: var(--text-muted); letter-spacing: 0.05em;
    line-height: 2; list-style: none;
  }
  .course-materials-list li {
    display: flex; align-items: baseline; gap: 8px;
  }
  .course-materials-list li::before {
    content: attr(data-n);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 10px; color: var(--text-dim);
    flex-shrink: 0; width: 16px;
  }
  .course-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
  .course-textbook {
    font-size: 11px; color: var(--text-dim);
    letter-spacing: 0.05em;
  }
  .course-textbook a { color: var(--accent); text-decoration: none; }
  .course-textbook a:hover { text-decoration: underline; }

  /* FAQ */
  .faq-section {
    background: var(--bg-2); padding: 80px 52px;
  }
  .faq-list { margin-top: 48px; }
  .faq-item {
    border-top: 1px solid var(--border-dim);
  }
  .faq-item:last-child { border-bottom: 1px solid var(--border-dim); }
  .faq-q {
    width: 100%; background: none; border: none;
    padding: 24px 0; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px; text-align: left;
  }
  .faq-q-text {
    font-size: 14px; font-weight: 400;
    color: var(--text); letter-spacing: 0.05em;
    line-height: 1.6;
    display: flex; align-items: baseline; gap: 16px;
  }
  .faq-q-text span:first-child {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 10px; color: var(--accent);
    letter-spacing: 0.1em; flex-shrink: 0;
  }
  .faq-icon {
    width: 20px; height: 20px; flex-shrink: 0;
    position: relative;
  }
  .faq-icon::before, .faq-icon::after {
    content: ''; position: absolute;
    background: var(--text-dim); transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .faq-icon::before { width: 100%; height: 1px; top: 50%; left: 0; transform: translateY(-50%); }
  .faq-icon::after  { width: 1px; height: 100%; left: 50%; top: 0; transform: translateX(-50%); }
  .faq-item.open .faq-icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
  .faq-a {
    font-size: 13px; font-weight: 300;
    color: var(--text-muted); letter-spacing: 0.05em;
    line-height: 2.1; padding: 0 0 24px 36px;
    display: none;
  }
  .faq-a a { color: var(--accent); text-decoration: none; }
  .faq-a a:hover { text-decoration: underline; }
  .faq-item.open .faq-a { display: block; }

  /* FAQ カテゴリタイトル */
  .faq-category-title {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 10px; letter-spacing: 0.22em;
    text-transform: uppercase; color: var(--accent);
    margin: 48px 0 0; padding-bottom: 16px;
    border-bottom: 1px solid var(--border-dim);
  }

  @media (max-width: 1024px) {
    .seminar-block { padding: 52px 32px; }
    .courses-section { padding: 64px 32px; }
    .course-card { padding: 36px; gap: 32px; }
    .faq-section { padding: 64px 32px; }
  }
  @media (max-width: 768px) {
    .seminar-block { padding: 48px 24px; }
    .seminar-header { flex-direction: column; }
    .courses-section { padding: 56px 24px; }
    .instructor-strip { flex-wrap: wrap; padding: 24px; }
    .instructor-link { margin-left: 0; }
    .sample-video { padding: 24px; }
    .course-card { grid-template-columns: 1fr; padding: 28px 24px; gap: 24px; }
    .course-img { width: 120px; aspect-ratio: 3/4; }
    .faq-section { padding: 56px 24px; }
  }


  /* White mode overrides */
  .btn-primary { background: #2a2a2a; color: #ffffff; }
  .btn-primary:hover { background: #444444; color: #ffffff; transform: translateX(4px); }
  .nav-contact { color: #2a2a2a !important; border-color: rgba(0,0,0,0.15) !important; }
  .nav-contact:hover { background: #2a2a2a !important; color: #ffffff !important; }
  .hamburger span { background: #2a2a2a; }
  .mobile-menu { background: #ffffff; }
  .page-hero-grid {
    background-image:
      linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
  }
  .hl { color: #2a2a2a; font-style: normal; font-weight: 500; }
  .scroll-line { background: linear-gradient(to bottom, #2a2a2a, transparent); }