/* ==========================================================================
   アイアムアイ AI学習ポータル - LP スタイル
   ========================================================================== */

:root {
  --color-indigo-600: #4f46e5;
  --color-indigo-500: #6366f1;
  --color-violet-500: #8b5cf6;
  --gradient-brand: linear-gradient(135deg, #4f46e5 0%, #6366f1 55%, #8b5cf6 100%);
  --gradient-brand-soft: linear-gradient(135deg, #eef2ff 0%, #f5f0ff 100%);

  --color-bg: #f8faff;
  --color-bg-alt: #eef2ff;
  --color-surface: #ffffff;
  --color-text: #1e1b3a;
  --color-text-soft: #4b4a6b;
  --color-text-muted: #6b6a8a;
  --color-border: #e3e6f7;

  --shadow-card: 0 20px 45px -25px rgba(79, 70, 229, 0.35);
  --shadow-card-hover: 0 26px 55px -22px rgba(79, 70, 229, 0.42);

  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-sm: 16px;
  --radius-pill: 999px;

  --font-heading: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --font-body: "Noto Sans JP", sans-serif;

  --header-height: 72px;
  --mobile-cta-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
}

p {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--color-indigo-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-indigo-600);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 12px 0;
  z-index: 1000;
}

.skip-link:focus {
  left: 0;
}

/* ==========================================================================
   共通レイアウト
   ========================================================================== */

.section-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 64px 0;
}

.section h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  text-align: center;
  color: var(--color-text);
  margin-bottom: 32px;
}

.section-intro,
.section-note {
  text-align: center;
  color: var(--color-text-soft);
  max-width: 640px;
  margin: -8px auto 32px;
}

.section-note {
  margin: 32px auto 0;
}

.section-bridge {
  text-align: center;
  font-weight: 700;
  color: var(--color-indigo-600);
  font-size: 1.05rem;
  margin-top: 8px;
}

.section-empathy {
  background: var(--color-bg-alt);
}

/* ==========================================================================
   ボタン
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(79, 70, 229, 0.55);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -12px rgba(79, 70, 229, 0.6);
}

.btn-secondary {
  background: #fff;
  color: var(--color-indigo-600);
  border: 1.5px solid var(--color-border);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--color-indigo-500);
}

.btn-small {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn-large {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

.btn-on-gradient {
  background: #fff;
  color: var(--color-indigo-600);
  box-shadow: 0 14px 30px -12px rgba(30, 27, 58, 0.35);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 16px;
}

.microcopy {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

/* ==========================================================================
   ヘッダー
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--header-height);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ==========================================================================
   ヒーロー
   ========================================================================== */

.hero {
  padding: 48px 0 64px;
  background: var(--gradient-brand-soft);
  overflow: hidden;
}

.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-indigo-600);
  background: #fff;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  box-shadow: var(--shadow-card);
}

.hero h1 {
  font-size: clamp(1.75rem, 5.5vw, 2.75rem);
  color: var(--color-text);
  margin-bottom: 16px;
}

.hero-lead {
  color: var(--color-text-soft);
  font-size: 1.05rem;
  max-width: 560px;
}

.hero-visual img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  width: 100%;
  height: auto;
}

/* ==========================================================================
   カード共通
   ========================================================================== */

.card-grid {
  display: grid;
  gap: 20px;
}

.card-grid-3 {
  grid-template-columns: 1fr;
}

.card-grid-4 {
  grid-template-columns: 1fr;
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 28px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.card-quote p {
  font-size: 1rem;
  color: var(--color-text-soft);
  position: relative;
  padding-left: 4px;
}

.card-pillar,
.card-feature {
  text-align: center;
}

.card-pillar img,
.card-feature img {
  width: 88px;
  height: 88px;
  margin: 0 auto 16px;
}

.card-pillar h3,
.card-feature h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--color-text);
}

.card-pillar p,
.card-feature p {
  color: var(--color-text-soft);
  font-size: 0.925rem;
}

/* 横長の強調カード(スマホ学習など、グリッド全幅で見せたい強み) */
.card-feature-wide {
  grid-column: 1 / -1;
}

@media (min-width: 640px) {
  .card-feature-wide {
    display: flex;
    align-items: center;
    gap: 24px;
    text-align: left;
  }

  .card-feature-wide img {
    width: 104px;
    height: 104px;
    margin: 0;
    flex-shrink: 0;
  }
}

/* ==========================================================================
   コース一覧
   ========================================================================== */

.course-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.course-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  padding: 14px 20px;
  position: relative;
}

.course-item img {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.course-number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-indigo-600);
  background: var(--color-bg-alt);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.course-title {
  font-size: 0.95rem;
  color: var(--color-text);
  flex: 1;
}

.course-item-featured {
  border: 2px solid var(--color-violet-500);
  flex-wrap: wrap;
}

.course-badge {
  background: var(--gradient-brand);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}

/* ==========================================================================
   料金
   ========================================================================== */

.section-pricing {
  background: var(--color-bg-alt);
}

.pricing-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--gradient-brand);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card-hover);
  padding: 40px 32px;
  text-align: center;
  color: #fff;
}

.price {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 6vw, 2.25rem);
  font-weight: 700;
}

.price-note {
  margin-top: 6px;
  opacity: 0.92;
  font-size: 0.925rem;
}

.pricing-includes {
  margin: 28px 0;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.pricing-includes li {
  padding-left: 26px;
  position: relative;
  font-size: 0.95rem;
}

.pricing-includes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 700;
}

.pricing-detail {
  font-size: 0.85rem;
  opacity: 0.9;
  margin-top: 8px;
}

.pricing-card .btn {
  margin-top: 24px;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  padding: 4px 24px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 18px 0;
  list-style: none;
  position: relative;
  padding-right: 28px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 16px;
  font-size: 1.3rem;
  color: var(--color-indigo-600);
  font-weight: 400;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  color: var(--color-text-soft);
  padding-bottom: 20px;
  font-size: 0.925rem;
}

/* ==========================================================================
   最終CTA
   ========================================================================== */

.section-final-cta {
  text-align: center;
}

.section-final-cta p {
  color: var(--color-text-soft);
  margin: 16px auto 0;
  max-width: 480px;
}

.section-final-cta .btn {
  margin-top: 24px;
}

.section-final-cta .microcopy {
  display: block;
  margin: 16px auto 0;
}

/* ==========================================================================
   フッター
   ========================================================================== */

.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--color-border);
  padding: 40px 0 32px;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.footer-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-text);
  font-size: 1rem;
}

.footer-operator {
  margin-top: 6px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 20px 0;
}

.footer-links a {
  text-decoration: none;
  color: var(--color-text-soft);
}

.footer-links a:hover {
  color: var(--color-indigo-600);
  text-decoration: underline;
}

.footer-copyright {
  margin-top: 12px;
}

/* ==========================================================================
   モバイル下部固定CTAバー
   ========================================================================== */

.mobile-cta-bar {
  display: none;
}

/* ==========================================================================
   レスポンシブ
   ========================================================================== */

@media (max-width: 767px) {
  body {
    padding-bottom: calc(var(--mobile-cta-height) + env(safe-area-inset-bottom));
  }

  .header-inner .btn-small {
    display: none;
  }

  .mobile-cta-bar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--color-border);
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  }
}

@media (min-width: 640px) {
  .card-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .card-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-inner {
    flex-direction: row;
    align-items: center;
  }

  .hero-copy {
    flex: 1;
  }

  .hero-visual {
    flex: 1;
  }
}

/* ---------- 対象者セクションの歓迎コールアウト ---------- */
.audience-note {
  margin-top: 28px;
  background: linear-gradient(135deg, #eef2ff 0%, #f5f0ff 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.audience-note-title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-indigo-600);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.audience-note p:last-child {
  color: var(--color-text-soft);
  font-size: 0.95rem;
}

/* ---------- 先着50名キャンペーン(料金カード) ---------- */
.pricing-campaign-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 999px;
  padding: 6px 20px;
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}

.pricing-campaign-note {
  background: rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 18px auto 6px;
  max-width: 520px;
  font-size: 0.92rem;
  line-height: 1.7;
}

.pricing-campaign-note p + p {
  margin-top: 6px;
}

.pricing-campaign-note strong {
  font-weight: 700;
}

/* ---------- 理念・つくり手セクション ---------- */
.section-founder {
  background: linear-gradient(180deg, #ffffff 0%, #f5f4ff 100%);
}

.founder-body {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.founder-block {
  background: #fff;
  border: 1px solid var(--color-border);
  border-left: 5px solid var(--color-indigo-600);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  box-shadow: 0 20px 45px -30px rgba(79, 70, 229, 0.3);
}

.founder-block h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-indigo-600);
  margin-bottom: 12px;
}

.founder-block p {
  color: var(--color-text-soft);
  line-height: 1.9;
}

.founder-block p + p {
  margin-top: 12px;
}

/* ---------- 対象者コールアウト(強調版) ---------- */
.audience-note-strong {
  border: 2px solid var(--color-indigo-300, #a5b4fc);
  box-shadow: 0 16px 40px -28px rgba(79, 70, 229, 0.45);
}

.audience-note-strong .audience-note-title {
  font-size: 1.15rem;
}

.audience-note-strong strong {
  color: var(--color-indigo-600);
  font-weight: 700;
}

@media (max-width: 767px) {
  .founder-block {
    padding: 22px 20px;
  }
}
