/* =============================================================
   AI活用スクール AI8 — Landing Page Styles
   配色：黒 / 白 / 濃紺（ネイビー）＋ 近未来テイスト
   ============================================================= */

:root {
  --bg:            #04050c;
  --ink:           #eaf0ff;
  --ink-muted:     #9fb0d6;
  --ink-dim:       #8595bd;
  --accent:        #6f9bff;
  --accent-light:  #8fb0ff;
  --grad-a:        #3b62e6;
  --grad-b:        #1e3aa8;
  --grad-a2:       #4670f0;
  --card-bg:       rgba(14,22,52,.55);
  --card-border:   rgba(120,150,255,.14);
  --content-max:   1160px;
  --header-h:      68px;
  font-synthesis: none;
}

/* ---------- reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans JP", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: #a8c2ff; }

img { max-width: 100%; }

/* ---------- fixed ambient background ---------- */
.bg-glow {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(900px 600px at 80% -5%, rgba(56,96,220,.28), transparent 60%),
    radial-gradient(800px 700px at 5% 30%, rgba(30,58,138,.22), transparent 55%),
    radial-gradient(1000px 800px at 60% 100%, rgba(40,80,200,.16), transparent 60%),
    linear-gradient(180deg, #04050c 0%, #060a1a 40%, #04060f 100%);
}
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(90,130,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90,130,255,.06) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 75%);
          mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 75%);
}

main { position: relative; z-index: 1; }

/* =============================================================
   HEADER
   ============================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(6,10,24,.25);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(120,150,255,.06);
  transition: background .3s, border-color .3s;
}
.site-header.scrolled {
  background: rgba(6,10,24,.82);
  border-bottom-color: rgba(120,150,255,.18);
}
.header-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo { display: flex; align-items: baseline; gap: 10px; color: #fff; }
.logo-mark {
  font-family: "Orbitron", sans-serif; font-weight: 800; font-size: 24px; letter-spacing: 1px;
  background: linear-gradient(90deg, #fff, var(--accent-light));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.logo-sub {
  font-size: 11px; letter-spacing: 2px; color: #8ba0c8; font-family: "Orbitron", sans-serif;
}
.desknav { display: flex; align-items: center; gap: 26px; }
.nav-link { font-size: 13.5px; color: #c6d3f0; }
.nav-link:hover { color: #fff; }
.nav-cta {
  font-size: 13.5px; font-weight: 700; padding: 9px 18px; border-radius: 999px;
  color: #fff; background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
  box-shadow: 0 0 18px rgba(72,110,255,.5);
}
.nav-cta:hover { color: #fff; }

/* hamburger */
.burger {
  display: none; background: rgba(255,255,255,.06);
  border: 1px solid rgba(140,170,255,.25); border-radius: 10px;
  width: 44px; height: 44px; cursor: pointer;
}
.burger span {
  display: block; width: 20px; height: 2px; background: #dfe8ff; margin: 0 auto 5px;
  transition: transform .3s, opacity .3s;
}
.burger span:last-child { margin-bottom: 0; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: flex; flex-direction: column; overflow: hidden;
  background: rgba(6,10,24,.97);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(120,150,255,.18);
  max-height: 0; opacity: 0;
  transition: max-height .35s ease, opacity .3s;
}
.mobile-menu.open { max-height: 460px; opacity: 1; }
.mobile-link {
  padding: 14px 24px; border-bottom: 1px solid rgba(120,150,255,.12);
  color: #dbe4ff; font-size: 15px;
}
.mobile-cta {
  margin: 16px 24px 6px; text-align: center; padding: 14px; border-radius: 12px;
  color: #fff; font-weight: 700; background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
}

/* =============================================================
   HERO
   ============================================================= */
.hero { position: relative; margin: 0 auto; padding: 0 0 60px; text-align: center; }
.hero-stage {
  position: relative; width: 100%;
  aspect-ratio: 16 / 9; max-height: 100vh; min-height: 460px;
  overflow: hidden;
  background: radial-gradient(ellipse at 52% 44%, #0d2550 0%, #050d1f 55%, #020810 100%);
}
.hero-stage::before { /* subtle tech grid */
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(96,165,250,.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96,165,250,.032) 1px, transparent 1px);
  background-size: 90px 90px;
}
.hero-stage::after { /* central glow behind text */
  content: ""; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -55%);
  width: min(1100px, 92%); height: 520px;
  background: radial-gradient(ellipse, rgba(29,78,216,.18) 0%, transparent 72%);
  pointer-events: none;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 22px; padding: 0 24px; text-align: center;
}
.hero-label {
  font-size: clamp(14px, 2vw, 28px); font-weight: 300;
  color: rgba(147,197,253,.78); letter-spacing: .28em;
  opacity: 0; transform: translateY(-18px);
  animation: heroLabel .9s cubic-bezier(.2,.7,.2,1) .2s forwards;
}
.hero-divider {
  width: 0; height: 1px; margin: 4px 0;
  background: linear-gradient(90deg, transparent, rgba(96,165,250,.9) 30%, rgba(147,197,253,1) 50%, rgba(96,165,250,.9) 70%, transparent);
  box-shadow: 0 0 10px rgba(96,165,250,.8), 0 0 22px rgba(59,130,246,.4);
  animation: heroDivider .7s cubic-bezier(.2,.7,.2,1) .6s forwards;
}
.hero-title {
  font-size: clamp(30px, 7.2vw, 92px); font-weight: 700;
  letter-spacing: .05em; line-height: 1.15; color: #fff;
}
.hero-title .char {
  display: inline-block; opacity: 0; filter: blur(14px);
}
.hero-title .char.lit {
  opacity: 1; filter: blur(0);
  text-shadow: 0 0 22px rgba(96,165,250,.95), 0 0 44px rgba(59,130,246,.45), 0 0 11px #fff;
  transition: opacity .55s ease, filter .55s ease, text-shadow .55s ease;
}
.hero-cta {
  margin-top: 10px;
  padding: clamp(14px, 2.4vw, 24px) clamp(32px, 6vw, 68px);
  font-size: clamp(16px, 2.2vw, 26px); font-weight: 700; color: #fff;
  border: 1px solid rgba(147,197,253,.3); border-radius: 60px; letter-spacing: .1em;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 60%, #1e40af 100%);
  box-shadow: 0 0 34px rgba(59,130,246,.6), 0 0 68px rgba(59,130,246,.24), 0 8px 32px rgba(0,0,0,.45);
  opacity: 0; transform: translateY(40px) scale(.94);
  animation: heroCta .9s cubic-bezier(.34,1.56,.64,1) 3.4s forwards;
}
.hero-cta:hover { color: #fff; transform: translateY(0) scale(1.03); }

@keyframes heroLabel   { to { opacity: 1; transform: translateY(0); } }
@keyframes heroDivider { to { width: min(340px, 70%); } }
@keyframes heroCta     { to { opacity: 1; transform: translateY(0) scale(1); } }

.hero-badges {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
  margin-top: 44px; padding: 0 24px;
}
.badge-pill {
  display: flex; align-items: center; gap: 9px; padding: 11px 20px; border-radius: 12px;
  background: rgba(20,34,80,.4); border: 1px solid rgba(120,150,255,.16);
  font-size: 13.5px; color: #c9d6f2;
}
.badge-mark { color: var(--accent); }

/* =============================================================
   SHARED SECTION PARTS
   ============================================================= */
.section { max-width: var(--content-max); margin: 0 auto; padding: 90px 24px; }
.section--narrow { max-width: 1000px; }
.section--faq { max-width: 860px; }

.eyebrow {
  text-align: center; font-family: "Orbitron", sans-serif;
  font-size: 13px; letter-spacing: 3px; color: #6f8fd6; margin-bottom: 12px;
}
.eyebrow--light { color: #a9c0ff; }
.section-title {
  text-align: center; font-weight: 900; line-height: 1.4; margin-bottom: 14px;
  font-size: clamp(24px, 4.5vw, 38px);
}
.section-title + .section-lead { margin-top: 0; }
.section-lead { text-align: center; color: var(--ink-muted); font-size: 15px; margin-bottom: 48px; }
.section-title:last-child { margin-bottom: 48px; }
.accent { color: var(--accent); }

/* glowing divider between sections */
.divider {
  height: 1px; max-width: var(--content-max); margin: 0 auto;
  background: linear-gradient(90deg, transparent, rgba(110,155,255,.6), transparent);
  box-shadow: 0 0 20px rgba(90,130,255,.5);
}

/* grid helpers */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* =============================================================
   2. PROBLEMS
   ============================================================= */
.section-title + .problems-grid { margin-top: 0; }
.problem-card {
  padding: 26px 26px 26px 30px; border-radius: 16px; position: relative;
  background: linear-gradient(180deg, rgba(20,32,72,.55), rgba(10,16,40,.5));
  border: 1px solid rgba(120,150,255,.14);
}
.problem-card p { font-size: 17px; font-weight: 700; color: #eef3ff; }
.problem-bar {
  position: absolute; left: 0; top: 20px; bottom: 20px; width: 3px; border-radius: 3px;
  background: linear-gradient(var(--accent), var(--grad-b));
  box-shadow: 0 0 12px rgba(90,130,255,.6);
}

/* =============================================================
   3. REASONS
   ============================================================= */
.reason-card {
  padding: 36px 28px; border-radius: 20px;
  background: linear-gradient(180deg, rgba(24,38,86,.6), rgba(8,14,34,.55));
  border: 1px solid rgba(120,150,255,.16);
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.reason-num {
  font-family: "Orbitron", sans-serif; font-size: 40px; font-weight: 800; margin-bottom: 14px;
  background: linear-gradient(135deg, #7aa0ff, #2c4bc0);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.reason-card h3 { font-size: 20px; font-weight: 900; margin-bottom: 12px; }
.reason-card p { font-size: 14.5px; line-height: 1.85; color: #b3c1e2; }

/* =============================================================
   4. CURRICULUM
   ============================================================= */
.curriculum-grid { gap: 18px; }
.curr-card {
  padding: 28px; border-radius: 18px;
  background: var(--card-bg); border: 1px solid var(--card-border);
}
.curr-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(90,130,255,.25), rgba(30,58,138,.3));
  border: 1px solid rgba(130,165,255,.3);
}
.curr-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 9px; }
.curr-card p { font-size: 13.5px; line-height: 1.8; color: #a9b8db; }
.curr-card--accent {
  background: linear-gradient(135deg, rgba(40,64,150,.4), rgba(16,26,64,.5));
  border: 1px solid rgba(140,170,255,.3);
  display: flex; flex-direction: column; justify-content: center;
}
.curr-tag {
  font-family: "Orbitron", sans-serif; font-size: 12px; letter-spacing: 2px;
  color: #9cbbff; margin-bottom: 10px;
}
.curr-card--accent h3 { font-size: 17px; font-weight: 800; line-height: 1.6; margin-bottom: 0; }

/* =============================================================
   5. PRICING
   ============================================================= */
.pricing-grid { gap: 22px; }
.price-card {
  padding: 38px 32px; border-radius: 22px; position: relative;
  background: linear-gradient(180deg, rgba(18,28,66,.6), rgba(8,14,34,.55));
  border: 1px solid rgba(120,150,255,.18);
}
.price-card--featured {
  background: linear-gradient(180deg, rgba(40,64,150,.55), rgba(14,22,58,.6));
  border: 1px solid rgba(150,180,255,.45);
  box-shadow: 0 0 44px rgba(72,110,255,.35);
}
.price-badge {
  position: absolute; top: -13px; left: 32px; padding: 6px 16px; border-radius: 999px;
  font-size: 12px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--grad-a2), var(--grad-b));
  box-shadow: 0 0 18px rgba(72,110,255,.6);
}
.price-img {
  width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; object-position: center;
  border-radius: 14px; margin-bottom: 22px; display: block;
}
.price-en { font-family: "Orbitron", sans-serif; letter-spacing: 2px; color: var(--accent-light); font-size: 14px; margin-bottom: 6px; }
.price-card--featured .price-en { color: #b7ccff; }
.price-name { font-size: 26px; font-weight: 900; margin-bottom: 18px; }
.price-amount { display: flex; align-items: baseline; gap: 6px; margin-bottom: 22px; }
.price-num { font-size: 40px; font-weight: 900; }
.price-unit { font-size: 15px; color: #a9b8db; }
.price-card--featured .price-unit { color: #c3cff0; }
.price-list { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.price-list li { display: flex; gap: 10px; font-size: 14.5px; color: #cdd8f2; }
.price-card--featured .price-list li { color: #e2eaff; }
.price-check { color: var(--accent); }
.price-card--featured .price-check { color: #9cbbff; }
.price-cta {
  display: block; text-align: center; margin-top: 28px; padding: 14px; border-radius: 12px;
  font-weight: 700; color: #dbe6ff;
  background: rgba(255,255,255,.05); border: 1px solid rgba(130,165,255,.35);
}
.price-cta:hover { color: #fff; background: rgba(255,255,255,.1); }
.price-cta--primary {
  color: #fff; border: none;
  background: linear-gradient(135deg, var(--grad-a2), var(--grad-b));
  box-shadow: 0 0 24px rgba(72,110,255,.5);
}
.price-cta--primary:hover { color: #fff; }
.price-note { text-align: center; font-size: 13px; color: var(--ink-dim); margin-top: 24px; }

/* =============================================================
   6. FLOW / FORMAT
   ============================================================= */
.flow-grid { margin-bottom: 44px; }
.info-card {
  padding: 22px; border-radius: 16px;
  background: var(--card-bg); border: 1px solid var(--card-border);
}
.info-label { font-family: "Orbitron", sans-serif; color: var(--accent-light); font-size: 13px; letter-spacing: 1px; margin-bottom: 8px; }
.info-main { font-size: 15px; font-weight: 700; line-height: 1.6; }
.info-sub { font-size: 12.5px; color: #93a3c9; margin-top: 8px; }

.steps { align-items: stretch; }
.step {
  padding: 26px 22px; border-radius: 16px; position: relative;
  background: linear-gradient(180deg, rgba(24,38,86,.5), rgba(10,16,40,.5));
  border: 1px solid rgba(120,150,255,.16);
}
.step-num { font-family: "Orbitron", sans-serif; font-size: 26px; font-weight: 800; color: #5c8bff; margin-bottom: 8px; }
.step-title { font-size: 15px; font-weight: 700; }
.step-sub { font-size: 12.5px; color: #98a8ce; margin-top: 6px; }
.step--accent {
  background: linear-gradient(180deg, rgba(40,64,150,.5), rgba(14,22,58,.55));
  border: 1px solid rgba(140,170,255,.3);
}
.step--accent .step-num { color: #9cbbff; }
.step--accent .step-sub { color: #b7c6ea; }

/* =============================================================
   7. INSTRUCTOR
   ============================================================= */
.instructor-card {
  display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: center;
  padding: 36px; border-radius: 22px;
  background: linear-gradient(135deg, rgba(24,38,86,.5), rgba(8,14,34,.55));
  border: 1px solid rgba(120,150,255,.16);
}
.instr-photo {
  aspect-ratio: 1; border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(130,165,255,.3); box-shadow: 0 0 30px rgba(72,110,255,.25);
}
.instr-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.instr-role { font-family: "Orbitron", sans-serif; font-size: 12px; letter-spacing: 2px; color: var(--accent-light); margin-bottom: 8px; }
.instr-name { font-size: 26px; font-weight: 900; margin-bottom: 16px; }
.instr-text { font-size: 14.5px; line-height: 1.95; color: #bcc9e8; margin-bottom: 16px; }
.instr-quote { padding: 16px 18px; border-radius: 12px; background: rgba(90,130,255,.08); border-left: 3px solid #5c8bff; }
.instr-quote p { font-size: 14px; line-height: 1.85; color: #dbe4ff; }

/* =============================================================
   8. FAQ
   ============================================================= */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  border-radius: 14px; overflow: hidden;
  background: var(--card-bg); border: 1px solid var(--card-border);
}
.faq-q {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; font-size: 16px; font-weight: 700; color: #eef3ff;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-icon { color: var(--accent); font-size: 22px; font-weight: 400; transition: transform .3s; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-a { padding: 0 24px 22px; font-size: 14.5px; line-height: 1.9; color: #b3c1e2; }

/* =============================================================
   9. FINAL CTA
   ============================================================= */
.cta-section { position: relative; max-width: 1000px; margin: 40px auto 0; padding: 0 24px; }
.cta-box {
  position: relative; overflow: hidden; border-radius: 28px;
  padding: 70px 40px; text-align: center;
  background: linear-gradient(135deg, rgba(40,64,150,.55), rgba(12,20,52,.7));
  border: 1px solid rgba(150,180,255,.35);
  box-shadow: 0 0 60px rgba(72,110,255,.3);
}
.cta-grid-bg {
  position: absolute; inset: 0; opacity: .4;
  background-image:
    linear-gradient(rgba(120,160,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,160,255,.12) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 70%);
          mask-image: radial-gradient(circle at 50% 50%, #000, transparent 70%);
}
.cta-inner { position: relative; }
.cta-title { font-weight: 900; font-size: clamp(26px, 5vw, 42px); line-height: 1.4; margin-bottom: 16px; }
.cta-lead { font-size: 15.5px; line-height: 1.9; color: #cdd8f2; max-width: 560px; margin: 0 auto 40px; }

/* Googleフォーム埋め込み */
.form-embed {
  max-width: 640px; margin: 0 auto;
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,.35);
}
.form-embed iframe {
  width: 100%; height: 1163px; border: 0; display: block;
}

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer {
  max-width: var(--content-max); margin: 80px auto 0; padding: 44px 24px;
  border-top: 1px solid rgba(120,150,255,.12);
}
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.footer-logo { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.footer-logo .logo-mark { font-size: 22px; }
.footer-tagline { font-size: 13.5px; line-height: 1.9; color: #98a8ce; }
.footer-company { font-size: 13.5px; line-height: 2; color: #a9b8db; }
.footer-heading { color: #7f90b8; font-family: "Orbitron", sans-serif; font-size: 11px; letter-spacing: 2px; margin-bottom: 6px; }
.copyright { margin-top: 32px; font-size: 12px; color: #61708f; text-align: center; }

/* =============================================================
   SCROLL REVEAL
   ============================================================= */
[data-reveal] {
  opacity: 0; transform: translateY(34px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
[data-reveal].revealed { opacity: 1; transform: none; }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 860px) {
  .desknav { display: none; }
  .burger { display: block; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .instructor-card { grid-template-columns: 1fr; text-align: center; }
  .instr-photo { max-width: 240px; margin: 0 auto; }
  .instr-quote { text-align: left; }
  .section { padding: 70px 24px; }
  .cta-box { padding: 54px 24px; }
}
@media (max-width: 520px) {
  .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .price-card { padding: 30px 22px; }
  .hero-stage { aspect-ratio: auto; height: 78vh; min-height: 520px; }
}

/* accessibility: reduce motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001s !important; animation-delay: 0s !important; }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero-label, .hero-cta { opacity: 1; transform: none; }
  .hero-divider { width: min(340px, 70%); }
  .hero-title .char { opacity: 1; filter: none; }
}
