/* Last updated: 2026-06-04 17:10 */
/* ═══════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Colors */
  --bg:             #ffffff;
  --bg-secondary:   #f7f6f2;
  --text:           #1a1a1a;
  --text-secondary: #5a5a6a;
  --accent:         #2563eb;
  --accent-hover:   #1d4ed8;
  --accent-light:   #eff6ff;
  --accent-dark:    #1e40af;
  --border:         #e8e8ec;
  --border-light:   #e0e9ff;

  /* Shadows */
  --shadow-card:      0 2px 16px rgba(0,0,0,0.06);
  --shadow-hover:     0 8px 32px rgba(0,0,0,0.10);
  --shadow-btn:       0 4px 20px rgba(37,99,235,0.30);
  --shadow-btn-hover: 0 8px 30px rgba(37,99,235,0.40);

  /* Radii */
  --r-btn:   50px;
  --r-card:  16px;
  --r-input: 10px;
  --r-price: 20px;
  --r-table: 12px;

  /* Layout */
  --nav-height: 68px;
  --t:   200ms ease;
  --t-c: 300ms ease;

  /* Fonts */
  --font-heading: 'Zen Kaku Gothic New', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font:         'DM Sans', 'Zen Kaku Gothic New', sans-serif;

  /* Type scale */
  --size-h1:     clamp(48px, 7vw, 80px);
  --size-h2:     clamp(36px, 5vw, 56px);
  --size-h3:     clamp(20px, 3vw, 28px);
  --size-body:   16px;
  --size-small:  13px;
  --size-eyebrow:11px;

  /* Leading / tracking */
  --leading-tight:  1.15;
  --leading-normal: 1.7;
  --tracking-tight: -0.03em;
  --tracking-wide:  0.15em;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: var(--size-body);
  line-height: var(--leading-normal);
  font-weight: 400;
}

p, li, td, th, label, input, textarea, select, button {
  font-family: var(--font-body);
  font-size: var(--size-body);
  line-height: var(--leading-normal);
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { cursor: pointer; border: none; background: none; }

/* ═══════════════════════════════════════════
   LANGUAGE VISIBILITY
═══════════════════════════════════════════ */
body.lang-ja .lang-en { display: none; }
body.lang-en .lang-ja { display: none; }

/* ═══════════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════════ */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--text);
}

h1 { font-size: var(--size-h1); font-weight: 900; }
h2 { font-size: var(--size-h2); font-weight: 700; }
h3 { font-size: var(--size-h3); font-weight: 600; }
h4 { font-size: 1rem;           font-weight: 600; }

p { color: var(--text-secondary); }

.section-eyebrow,
.section-label {
  font-family: var(--font-body);
  font-size: var(--size-eyebrow);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--accent);
}

.section-sub {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 300;
  color: #666666;
  line-height: 1.7;
  max-width: 600px;
  margin-top: 16px;
}

/* ═══════════════════════════════════════════
   LAYOUT UTILITIES
═══════════════════════════════════════════ */
.container        { max-width: 1080px; margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 680px; }

.section      { padding: 120px 0; }
.bg-secondary { background: var(--bg-secondary); }

/* Dark section */
.section-dark                { background: #1a1a2e; }
.section-dark .section-label { color: rgba(255,255,255,0.45); }
.section-dark .heading-light { color: #fff; }
.section-dark .section-sub-light { color: rgba(255,255,255,0.65); }
.section-label-light         { color: rgba(255,255,255,0.45) !important; }

.section-header    { margin-bottom: 56px; }
.section-header h2 { margin-top: 8px; }

/* Animated accent line above each section header */
.section-header::before {
  content: '';
  display: block;
  width: 0;
  height: 3px;
  background: var(--accent);
  margin-bottom: 24px;
  transition: width 0.8s ease;
}
.section-header.anim-visible::before { width: 48px; }

/* Section dividers */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #e5e5e5 20%, #e5e5e5 80%, transparent);
  margin: 0;
}

/* JP-only elements (hidden in EN mode via JS) */
.jp-only { display: inline-block; }

/* Active nav link */
.nav-active {
  color: var(--accent) !important;
  font-weight: 600;
}

/* ═══════════════════════════════════════════
   SCROLL ANIMATIONS
═══════════════════════════════════════════ */
.anim-fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.anim-fade-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.anim-fade-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.anim-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.anim-visible {
  opacity: 1 !important;
  transform: none !important;
}

.anim-delay-1 { transition-delay: 0.1s; }
.anim-delay-2 { transition-delay: 0.2s; }
.anim-delay-3 { transition-delay: 0.3s; }
.anim-delay-4 { transition-delay: 0.4s; }
.anim-delay-5 { transition-delay: 0.5s; }
.anim-delay-6 { transition-delay: 0.6s; }
.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-sub {
  margin-top: 16px;
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.8;
}

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */

/* Default primary — accent blue pill */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 16px 40px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: var(--r-btn);
  box-shadow: var(--shadow-btn);
  transition: background var(--t), box-shadow var(--t), transform var(--t);
}
.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: var(--shadow-btn-hover);
  transform: translateY(-2px);
}
.btn-primary:active { transform: translateY(0); }

/* Outline */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  padding: 15px 38px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1.5px solid var(--border);
  border-radius: var(--r-btn);
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t);
}
.btn-outline:hover {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
  transform: translateY(-2px);
}
.btn-outline:active { transform: translateY(0); }

/* Hero CTA — white bg, dark text */
.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: #1a1a2e;
  padding: 18px 44px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: var(--r-btn);
  box-shadow: 0 6px 28px rgba(0,0,0,0.28);
  transition: background var(--t), transform var(--t), box-shadow var(--t);
}
.btn-hero:hover {
  background: #f0f4ff;
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(0,0,0,0.32);
}
.btn-hero:active { transform: translateY(0); }

/* Hero tertiary link — Learn to Build */
.hero-link-secondary {
  display: inline-block;
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  margin-top: 16px;
  transition: color 0.2s ease;
}
.hero-link-secondary:hover { color: #ffffff; }

/* Hero secondary link */
.hero-secondary-cta {
  display: block;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.03em;
  transition: color var(--t);
  text-decoration: none;
  position: relative;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.hero-secondary-cta::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: rgba(255,255,255,0.5);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.hero-secondary-cta:hover { color: #fff; }
.hero-secondary-cta:hover::after { transform: scaleX(1); }

/* Contact submit — accent */
.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 16px 40px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: var(--r-btn);
  box-shadow: var(--shadow-btn);
  transition: background var(--t), box-shadow var(--t), transform var(--t);
}
.btn-accent:hover {
  background: var(--accent-hover);
  box-shadow: var(--shadow-btn-hover);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════
   FADE-IN ANIMATION
═══════════════════════════════════════════ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  transition: background var(--t), box-shadow var(--t);
}
#site-header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo { flex-shrink: 0; display: flex; align-items: center; }
.nav-logo img { height: 40px; width: auto; display: block; filter: none; mix-blend-mode: normal; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  position: relative;
  padding-bottom: 2px;
  transition: color var(--t);
}
/* Animated underline */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover         { color: var(--text); }
.nav-links a:hover::after  { transform: scaleX(1); }

/* Language toggle — pill */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  padding: 4px 12px;
  border: 1.5px solid currentColor;
  border-radius: 20px;
  transition: color var(--t), border-color var(--t);
  white-space: nowrap;
  flex-shrink: 0;
}
.lang-toggle:hover { color: var(--text); }
.lang-divider { opacity: 0.3; }

body.lang-ja .lang-toggle .lang-ja-label { color: var(--accent); }
body.lang-en .lang-toggle .lang-en-label { color: var(--accent); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text);
  transition: transform var(--t), opacity var(--t);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 48px) 28px 88px;
  overflow: hidden;
}

/* Slide container fills the hero */
.hero-slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Individual slides */
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.hero-slide.active {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  text-align: center;
}

/* White outlined pill badge */
.hero-badge {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #ffffff;
  border: 2px solid rgba(255,255,255,0.8);
  padding: 12px 32px;
  border-radius: 50px;
  margin-bottom: 32px;
  background: rgba(255,255,255,0.07);
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-headline {
  color: #ffffff;
  margin-bottom: 22px;
  font-size: clamp(2.25rem, 6vw, 3.625rem);
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  animation: slideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  animation-delay: 0.3s;
}

.hero-subtext {
  animation: slideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  animation-delay: 0.5s;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  margin-bottom: 44px;
  line-height: 1.9;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  animation: slideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  animation-delay: 0.7s;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0.45;
  transition: opacity var(--t);
}
.hero-scroll-hint:hover { opacity: 0.85; }

.scroll-dot { animation: scrollDot 2s ease infinite; }
@keyframes scrollDot {
  0%, 100% { transform: translateY(0);   opacity: 0.9; }
  50%       { transform: translateY(8px); opacity: 0.3; }
}

/* ═══════════════════════════════════════════
   SERVICES — Setup Package (tile grid)
═══════════════════════════════════════════ */
.setup-package {
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--r-card);
  padding: 52px 48px;
  margin-bottom: 80px;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.package-header { margin-bottom: 0; }

.package-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #999999;
  margin-bottom: 8px;
}

.package-title {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0;
}

.package-price {
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--accent);
  margin: 16px 0 8px;
  line-height: 1;
}

.package-sub {
  font-size: 15px;
  color: #666666;
  margin-bottom: 0;
  line-height: 1.6;
}

.package-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 32px auto;
  max-width: 700px;
}

.tile {
  background: #f5f5f5;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 16px 20px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  cursor: default;
}
.tile:hover {
  background: #eff6ff;
  border-color: #2563eb;
  color: #2563eb;
}

.package-cta { margin-top: 8px; }

/* ═══════════════════════════════════════════
   SERVICES — Monthly Plans
═══════════════════════════════════════════ */
.plans-section  { margin-bottom: 80px; }
.plans-title    { margin-bottom: 32px; }

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.plan-card {
  padding: 36px;
  border: 1px solid var(--border);
  border-radius: var(--r-price);
  background: var(--bg);
  box-shadow: var(--shadow-card);
  position: relative;
  transition: transform var(--t-c), box-shadow var(--t-c);
}
.plan-card:not(.plan-recommended):hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.plan-recommended {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
  transform: translateY(-6px);
  box-shadow: 0 8px 40px rgba(37,99,235,0.2);
  z-index: 1;
}
.plan-recommended:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 50px rgba(37,99,235,0.28);
}

.plan-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  background: #fbbf24;
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 16px;
}

.plan-name {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.plan-recommended .plan-name { color: rgba(255,255,255,0.55); }

.plan-price {
  font-family: var(--font);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1;
}
.plan-price span { font-size: 0.9rem; font-weight: 400; color: var(--text-secondary); }
.plan-recommended .plan-price       { color: #fff; }
.plan-recommended .plan-price span  { color: rgba(255,255,255,0.5); }

.plan-features { margin-bottom: 28px; }
.plan-features li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.55;
}
.plan-features li:last-child { border-bottom: none; }
.plan-recommended .plan-features li {
  color: rgba(255,255,255,0.8);
  border-bottom-color: rgba(255,255,255,0.12);
}

.plan-recommended .btn-primary {
  background: #fff;
  color: var(--text);
  box-shadow: 0 4px 16px rgba(255,255,255,0.25);
}
.plan-recommended .btn-primary:hover { background: var(--bg-secondary); }
.plan-recommended .btn-outline {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}
.plan-recommended .btn-outline:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* ═══════════════════════════════════════════
   SERVICES — LMS Comparison Table
═══════════════════════════════════════════ */
.compare-section { margin-bottom: 80px; }
.compare-title   { margin-bottom: 32px; }

.compare-wrap {
  overflow: hidden;
  border-radius: var(--r-table);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  width: 100%;
  box-sizing: border-box;
}

.compare-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  min-width: 480px;
}

/* ── Header ── */
.compare-table thead th {
  padding: 16px 20px;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: middle;
}
/* 比較項目 header */
.compare-table thead th.th-feature {
  background: #1a1a1a;
  color: #ffffff;
}
/* 国内LMS header */
.compare-table thead th.th-domestic {
  background: #1a1a1a;
  color: #aaaaaa;
}
/* LearnWorlds header */
.lw-col-header {
  background: #2563eb;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: center;
  padding: 18px 24px;
  vertical-align: middle;
}

/* ── Body: base cell ── */
.compare-table tbody td {
  padding: 16px 20px;
  border-bottom: 1px solid #e8e8e8;
  font-size: 14px;
  line-height: 1.6;
  vertical-align: middle;
}
.compare-table tbody tr:last-child td { border-bottom: none; }

/* 比較項目 column */
.compare-table tbody td:first-child {
  background: #f9f9f9;
  color: #1a1a1a;
  font-weight: 500;
  font-size: 14px;
}

/* 国内LMS column */
.compare-table tbody td:nth-child(2) {
  background: #ffffff;
  color: #444444;
  font-size: 14px;
}

/* LearnWorlds column */
.compare-table .col-lw {
  background: #dbeafe !important;
  border-left: 4px solid #2563eb;
  color: #1e3a8a;
  font-weight: 600;
  font-size: 15px;
}

/* Hover: lighten non-LW cells, deepen LW cell */
.compare-table tbody tr:hover td:first-child  { background: #f0f0f0; }
.compare-table tbody tr:hover td:nth-child(2) { background: #f5f9ff; }
.compare-table tbody tr:hover .col-lw         { background: #bfdbfe !important; }

/* ── Marks ── */
.mark-yes     { color: #1e3a8a; font-size: 20px; font-weight: 700; }
.mark-no      { color: #dc2626; font-size: 20px; font-weight: 700; }
.mark-partial { color: #d97706; font-size: 18px; font-weight: 600; }

/* ═══════════════════════════════════════════
   SERVICES — How It Works
═══════════════════════════════════════════ */
.how-title { margin-bottom: 40px; }

.how-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

/* Cards */
.how-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex: 1;
  min-height: 160px;
  padding: 40px 24px;
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: background var(--t-c), border-color var(--t-c), transform var(--t-c), box-shadow var(--t-c);
}
.how-step:hover {
  background: var(--accent-light);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.step-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
}
.step-icon {
  width: 32px; height: 32px;
  color: var(--accent);
  font-size: 32px;
}
.step-icon svg { width: 100%; height: 100%; }
.step-label {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.4;
}

/* Arrow between step cards */
.step-arrow {
  font-size: 36px;
  font-weight: 300;
  color: var(--accent);
  opacity: 1;
  flex-shrink: 0;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  user-select: none;
}

/* ═══════════════════════════════════════════
   WORKS
═══════════════════════════════════════════ */
.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.work-card {
  padding: 40px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-top-width: 5px;
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  transition: transform var(--t-c), box-shadow var(--t-c);
}
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

/* Industry top-border colors */
.work-beauty      { border-top-color: #f472b6; }
.work-academic-jp { border-top-color: #2563eb; }
.work-academic-us { border-top-color: #059669; }
.work-coaching    { border-top-color: #d97706; }

/* Tag color variants */
.work-beauty      .work-tag { background: rgba(244,114,182,0.1); color: #be185d; }
.work-academic-jp .work-tag { background: var(--accent-light);   color: var(--accent); }
.work-academic-us .work-tag { background: rgba(5,150,105,0.1);   color: #059669; }
.work-coaching    .work-tag { background: rgba(217,119,6,0.1);   color: #d97706; }

.work-industry { margin-bottom: 14px; }
.work-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 99px;
}

.work-client {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.35;
}
.work-scope {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.work-lang {
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.lang-badge { font-size: 1rem; }

/* ═══════════════════════════════════════════
   ABOUT — Strengths Grid
═══════════════════════════════════════════ */
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.strength-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 36px 30px;
  box-shadow: var(--shadow-card);
  transition: transform var(--t-c), box-shadow var(--t-c), background var(--t-c);
}
.strength-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  background: #edece7;
}

.strength-icon { width: 36px; height: 36px; margin-bottom: 18px; color: var(--accent); }
.strength-icon svg { width: 100%; height: 100%; }
.strength-card h4 { font-size: 0.95rem; margin-bottom: 10px; }
.strength-card p  { font-size: 0.875rem; line-height: 1.75; }

/* ═══════════════════════════════════════════
   ABOUT — Expert Directory (full-width image)
═══════════════════════════════════════════ */
.experts-section {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.experts-image-full {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
}
.experts-image-full img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}
.experts-image-full:hover img { transform: scale(1.02); }

.experts-section .experts-text {
  text-align: center;
  padding: 8px 0;
}
.experts-section .experts-text p {
  font-size: 15px;
  color: #444444;
  margin-bottom: 20px;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
   CONTACT (dark)
═══════════════════════════════════════════ */
#contact .section-header { margin-bottom: 40px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.75);
  margin-bottom: 8px;
}
.required { color: #60a5fa; margin-left: 2px; }

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font);
  font-size: 0.9rem;
  color: #ffffff;
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: var(--r-input);
  outline: none;
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.35); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.3);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.select-wrap { position: relative; }
.select-wrap select {
  width: 100%;
  padding: 13px 40px 13px 16px;
  font-family: var(--font);
  font-size: 0.9rem;
  color: #ffffff;
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: var(--r-input);
  outline: none;
  appearance: none;
  cursor: pointer;
  transition: border-color var(--t), background var(--t);
}
.select-wrap select option  { background: #1a1a2e; color: #fff; }
.select-wrap select:focus   { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.08); }
.select-arrow {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  color: rgba(255,255,255,0.5);
  pointer-events: none;
}

.btn-submit { width: 100%; justify-content: center; padding: 17px; margin-top: 8px; }

.form-success {
  margin-top: 16px;
  padding: 16px 20px;
  background: rgba(96,165,250,0.12);
  border: 1px solid rgba(96,165,250,0.3);
  border-radius: 10px;
  font-size: 0.875rem;
  color: #93c5fd;
  text-align: center;
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
#site-footer {
  background: #1a1a1a;
  color: rgba(255,255,255,0.45);
  padding: 56px 0 36px;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-logo, .footer-logo a { background: transparent; }
.footer-logo img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  mix-blend-mode: normal;
  opacity: 0.9;
}
.footer-copy { font-size: 0.75rem; }

.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--t);
}
.footer-nav a:hover { color: #fff; }

.footer-social { display: flex; gap: 16px; align-items: center; }
.social-link {
  color: rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  transition: color var(--t), transform var(--t);
}
.social-link:hover { color: #fff; transform: translateY(-2px); }

/* ═══════════════════════════════════════════
   RESPONSIVE — Tablet (≤ 900px)
═══════════════════════════════════════════ */
@media (max-width: 900px) {
  .service-setup {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 36px;
  }
  .setup-list { grid-template-columns: 1fr; }

  .plans-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .plan-recommended { transform: none; }
  .plan-recommended:hover { transform: translateY(-4px); }

  .strengths-grid { grid-template-columns: repeat(2, 1fr); }

  .experts-block {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 36px;
  }

  .works-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — Mobile (≤ 640px)
═══════════════════════════════════════════ */
@media (max-width: 640px) {
  .section { padding: 72px 0; }

  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    gap: 0;
    padding: 12px 0 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 14px 24px;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
    color: var(--text);
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a::after { display: none; }

  .hero-badge { font-size: 0.6rem; letter-spacing: 0.08em; padding: 6px 14px; }
  .hero-sub   { font-size: 0.975rem; }
  .btn-hero   { padding: 15px 32px; font-size: 14px; }

  .service-setup { padding: 28px 20px; }
  .setup-price   { font-size: 1.6rem; }

  .how-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    justify-items: center;
  }
  .step-arrow { display: none; }

  .setup-package { padding: 36px 24px; }
  .package-tiles { grid-template-columns: repeat(2, 1fr); max-width: 100%; }
  .experts-section { padding: 28px 20px; }

  .strengths-grid { grid-template-columns: 1fr; gap: 16px; }
  .strength-card  { padding: 28px 22px; }

  .experts-block  { padding: 28px 20px; }

  .compare-table  { font-size: 13px; }
  .compare-table thead th,
  .compare-table tbody td { padding: 11px 14px; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-nav   { gap: 16px; }
}

/* ═══════════════════════════════════════════
   BLOG / NOTE ARTICLES
═══════════════════════════════════════════ */
.section-blog {
  background: #f7f6f2;
  padding: 100px 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.blog-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e8e8e8;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  border-color: #2563eb;
}

.blog-card-img {
  height: 200px;
  position: relative;
  background: linear-gradient(135deg, #1e3a8a, #2563eb); /* fallback if no inline style */
  flex-shrink: 0;
}

.blog-card-category {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(0,0,0,0.4);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.blog-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.blog-card-date {
  font-size: 11px;
  color: #999999;
  letter-spacing: 0.1em;
}

.blog-card-body h3 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  color: #1a1a1a;
  flex: 1;
  margin: 0;
}

.blog-card-link {
  font-size: 12px;
  color: #2563eb;
  font-weight: 600;
  margin-top: 8px;
  display: block;
}

.blog-cta {
  text-align: center;
  margin-top: 48px;
}

@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
  .section-blog { padding: 72px 0; }
}

/* ═══════════════════════════════════════════
   FREE LEARNING COURSE CARD
═══════════════════════════════════════════ */
.service-card--free {
  background: #f7f6f2;
  border: 2px solid #e5e5e5;
  border-radius: 20px;
  padding: 40px 36px;
  position: relative;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 80px;
}
.service-card--free:hover {
  border-color: #2563eb;
  box-shadow: 0 8px 32px rgba(37,99,235,0.1);
  transform: translateY(-4px);
}

.service-card-badge {
  position: absolute;
  top: -14px;
  left: 24px;
  background: #059669;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 20px;
}

.service-card-icon {
  font-size: 32px;
  line-height: 1;
  margin-top: 4px;
}

.service-card--free h3 {
  font-family: var(--font-heading);
  font-size: var(--size-h3);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #1a1a1a;
  margin: 0;
}

.service-card--free p {
  font-family: var(--font-body);
  font-size: 15px;
  color: #555555;
  line-height: 1.75;
  margin: 0;
}

.service-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin: 0;
  columns: 2;
}
.service-card-list li {
  font-family: var(--font-body);
  font-size: 14px;
  color: #444444;
  display: flex;
  align-items: center;
  gap: 8px;
  break-inside: avoid;
}
.service-card-list li::before {
  content: "✓";
  color: #059669;
  font-weight: 700;
  flex-shrink: 0;
}

.service-card-price {
  font-size: 28px;
  font-weight: 700;
  color: #059669;
  margin-top: 4px;
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  border: 2px solid #2563eb;
  color: #2563eb;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: background 0.3s ease, color 0.3s ease;
  align-self: flex-start;
  margin-top: auto;
}
.btn-secondary:hover {
  background: #2563eb;
  color: #ffffff;
}

/* ═══════════════════════════════════════════
   CONTACT — dark section typography
═══════════════════════════════════════════ */
#contact h2 {
  color: #ffffff;
  font-size: var(--size-h2);
}
#contact p {
  color: rgba(255,255,255,0.75);
}

/* ═══════════════════════════════════════════
   FOOTER — typography
═══════════════════════════════════════════ */
footer h3, footer p, footer a {
  font-family: var(--font-body);
}

footer img[src="images/logo_fixed.png"] {
  filter: brightness(0) invert(1);
  height: 40px;
  width: auto;
  display: block;
}

/* Section-blog padding override */
.section-blog { padding: 120px 0; }

.comparison-cards { display: none; }

@media (max-width: 768px) {
  /* .comparison-cards display handled by 900px block below */
  .comp-card {
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
  }
  .comp-item {
    background: #1a1a1a;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 16px;
  }
  .comp-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .comp-domestic {
    padding: 12px 16px;
    font-size: 13px;
    color: #555;
    border-right: 1px solid #e8e8e8;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .comp-lw {
    padding: 12px 16px;
    font-size: 13px;
    color: #1e40af;
    font-weight: 600;
    background: #eff6ff;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .comp-domestic span,
  .comp-lw span {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.6;
  }
}
/* force-update-1780561051 */

@media (max-width: 900px) {
  .compare-wrap {
    overflow-x: auto !important;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    box-sizing: border-box;
    border-radius: 12px;
  }

  .compare-wrap table {
    min-width: 520px;
    width: 520px;
    table-layout: fixed;
    font-size: 12px;
  }

  .compare-wrap table th:first-child,
  .compare-wrap table td:first-child { width: 160px; }

  .compare-wrap table th:nth-child(2),
  .compare-wrap table td:nth-child(2) { width: 180px; }

  .compare-wrap table th:nth-child(3),
  .compare-wrap table td:nth-child(3) { width: 180px; }

  .compare-wrap td,
  .compare-wrap th {
    padding: 10px 12px;
    vertical-align: middle;
  }

  .comparison-cards { display: none !important; }
}
/* force-update-1780561505 */
/* force-update-1780561760 */
/* force-update-1780562135 */

.milanote-showcase {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
  text-align: center;
}

.milanote-showcase img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.milanote-caption {
  font-size: 14px;
  color: #666;
  text-align: center;
  margin-top: 12px;
}
