@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700;900&family=Outfit:wght@300;400;600;800&display=swap');

/* --- Design System --- */
:root {
  --primary-blue: #0088ff;
  --primary-orange: #ff4a00;
  --secondary-blue: #eef7ff;
  --secondary-orange: #fff1eb;
  
  --text-dark: #1e293b;
  --text-medium: #64748b;
  --text-light: #94a3b8;
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-dark: #0f172a;
  
  --border-color: #e2e8f0;
  
  --font-en: 'Outfit', sans-serif;
  --font-jp: 'Noto Sans JP', sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 32px;
  --radius-round: 9999px;
  
  --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.05), 0 4px 6px -4px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.05), 0 8px 10px -6px rgb(0 0 0 / 0.05);
  --shadow-blue-glow: 0 10px 30px rgba(0, 136, 255, 0.25);
  --shadow-orange-glow: 0 10px 30px rgba(255, 74, 0, 0.25);
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-jp);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  transition: var(--transition-smooth);
}

/* --- Utilities --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.text-center { text-align: center; }
.color-blue { color: var(--primary-blue); }
.color-orange { color: var(--primary-orange); }

.badge-blue {
  background-color: var(--secondary-blue);
  color: var(--primary-blue);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-round);
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-block;
}

.badge-orange {
  background-color: var(--secondary-orange);
  color: var(--primary-orange);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-round);
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  font-weight: 700;
  border-radius: var(--radius-round);
  transition: var(--transition-spring);
  font-size: 1rem;
}

.btn-primary-blue {
  background-color: var(--primary-blue);
  color: var(--bg-white);
  box-shadow: var(--shadow-blue-glow);
}

.btn-primary-blue:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 136, 255, 0.4);
}

.btn-primary-orange {
  background-color: var(--primary-orange);
  color: var(--bg-white);
  box-shadow: var(--shadow-orange-glow);
}

.btn-primary-orange:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(255, 74, 0, 0.4);
}

.btn-outline {
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--primary-blue);
  color: var(--bg-white);
  transform: translateY(-3px);
}

/* --- Header / Navigation --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition-smooth);
}

header.scrolled {
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.95);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  font-family: var(--font-en);
  font-size: 1.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.logo span.lab {
  color: var(--primary-orange);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-weight: 700;
  color: var(--text-dark);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--primary-blue);
  border-radius: var(--radius-round);
  transition: var(--transition-smooth);
}

.nav-links a:hover {
  color: var(--primary-blue);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--primary-blue);
}

.nav-links a.active::after {
  width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 30px;
  height: 24px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--text-dark);
  border-radius: var(--radius-round);
  transition: var(--transition-smooth);
}

/* --- Hero Section --- */
.hero {
  padding-top: 160px;
  padding-bottom: 80px;
  background: radial-gradient(circle at 10% 20%, rgba(238, 247, 255, 0.7) 0%, rgba(255, 241, 235, 0.7) 90.1%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 136, 255, 0.1) 0%, transparent 70%);
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 680px;
}

.hero-tag {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-title span.accent-blue {
  color: var(--primary-blue);
  background: linear-gradient(120deg, var(--primary-blue), #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title span.accent-orange {
  color: var(--primary-orange);
  background: linear-gradient(120deg, var(--primary-orange), #ff7a00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-medium);
  margin-bottom: 2.5rem;
  font-weight: 500;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 420px;
  margin: 0 auto;
}

/* Mockup Window Styling */
.mockup-window {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-spring);
  position: absolute;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.mockup-window:hover {
  transform: translateY(-8px) scale(1.02) !important;
  z-index: 5 !important;
}

.mockup-header {
  height: 32px;
  background-color: #f1f5f9;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  padding: 0 1rem;
  gap: 6px;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: block;
}

.mockup-dots span:nth-child(1) { background-color: #ef4444; }
.mockup-dots span:nth-child(2) { background-color: #eab308; }
.mockup-dots span:nth-child(3) { background-color: #22c55e; }

.mockup-title {
  margin-left: auto;
  margin-right: auto;
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-light);
}

.mockup-body {
  padding: 1.25rem;
  background-color: var(--bg-light);
  flex-grow: 1;
}

/* Coding Window specifics */
.code-window {
  width: 320px;
  height: 260px;
  top: 0;
  left: 0;
  z-index: 2;
  transform: rotate(-3deg);
  background: rgba(255, 255, 255, 0.9);
}

.code-window .mockup-body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-family: var(--font-en);
}

/* Scratch block styling */
.scratch-block {
  border-radius: 6px;
  color: var(--bg-white);
  padding: 0.5rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.block-event { background-color: #ffbf00; color: #4c3e00; }
.block-control { background-color: #ffab19; color: #5c3c00; margin-left: 0.5rem; width: calc(100% - 0.5rem); }
.block-motion { background-color: #4c97ff; margin-left: 1.2rem; width: calc(100% - 1.2rem); }
.block-motion-inner { background-color: #4c97ff; margin-left: 1.2rem; width: calc(100% - 1.2rem); }

/* 3D Design Window specifics */
.design-window {
  width: 320px;
  height: 280px;
  bottom: 20px;
  right: 0;
  z-index: 1;
  transform: rotate(4deg);
  background: rgba(255, 255, 255, 0.95);
}

.design-window .mockup-body {
  background-color: #ffffff;
  background-image: 
    radial-gradient(#cbd5e1 1px, transparent 1px), 
    radial-gradient(#cbd5e1 1px, #ffffff 1px);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.d3-shape-preview {
  width: 100px;
  height: 120px;
  filter: drop-shadow(0 15px 15px rgba(255, 74, 0, 0.25));
  animation: float-3d 4s ease-in-out infinite;
}

/* Floating Badges & Icons */
.floating-badge {
  position: absolute;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: var(--shadow-md);
  z-index: 3;
}

.badge-game {
  top: 10%;
  right: 5%;
  background-color: var(--primary-blue);
  color: var(--bg-white);
  transform: rotate(8deg);
  animation: float-badge-1 3s ease-in-out infinite;
}

.badge-print {
  bottom: 15%;
  left: 5%;
  background-color: var(--primary-orange);
  color: var(--bg-white);
  transform: rotate(-8deg);
  animation: float-badge-2 3.5s ease-in-out infinite;
}

/* Custom Floating Icons */
.floating-icon {
  position: absolute;
  width: 50px;
  height: 50px;
  background: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  font-size: 1.4rem;
  z-index: 3;
}

.icon-controller {
  top: -10px;
  right: 35%;
  animation: float-icon-1 4s ease-in-out infinite;
}

.icon-bulb {
  bottom: 10px;
  right: 40%;
  animation: float-icon-2 4.5s ease-in-out infinite;
}

/* Keyframes for animations */
@keyframes float-3d {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(5deg); }
}

@keyframes float-badge-1 {
  0%, 100% { transform: translateY(0) rotate(8deg); }
  50% { transform: translateY(-8px) rotate(8deg); }
}

@keyframes float-badge-2 {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50% { transform: translateY(8px) rotate(-8deg); }
}

@keyframes float-icon-1 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(15deg); }
}

@keyframes float-icon-2 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(10px) rotate(-15deg); }
}

/* --- Section Layout --- */
.section {
  padding: 100px 0;
}

.section-bg-light {
  background-color: var(--bg-white);
}

.section-header {
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-label {
  font-family: var(--font-en);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.3;
}

/* --- Concept / Course Feature --- */
.concept-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  align-items: center;
}

.concept-image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.concept-img-card {
  background-color: var(--bg-white);
  padding: 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: var(--transition-spring);
}

.concept-img-card:hover {
  transform: translateY(-8px);
}

.concept-img-card img {
  border-radius: var(--radius-md);
  width: 100%;
  height: 200px;
  object-fit: cover;
  border: 1px solid var(--border-color);
  box-sizing: border-box;
  display: block;
}

.concept-img-card p {
  margin-top: 0.8rem;
  font-weight: 700;
  text-align: center;
  font-size: 0.95rem;
}

.concept-text {
  max-width: 540px;
}

.concept-text h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.concept-text p {
  color: var(--text-medium);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.concept-features {
  list-style: none;
}

.concept-features li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
}

.concept-features li svg {
  color: var(--primary-blue);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* --- Core Value Section (3つの力) --- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.value-card {
  background-color: var(--bg-white);
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: var(--transition-spring);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-orange));
  opacity: 0;
  transition: var(--transition-smooth);
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.value-card:hover::before {
  opacity: 1;
}

.value-icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  font-weight: 800;
  font-size: 1.8rem;
}

.value-card:nth-child(1) .value-icon-wrapper {
  background-color: var(--secondary-blue);
  color: var(--primary-blue);
}

.value-card:nth-child(2) .value-icon-wrapper {
  background-color: var(--secondary-orange);
  color: var(--primary-orange);
}

.value-card:nth-child(3) .value-icon-wrapper {
  background-color: #f0fdf4;
  color: #16a34a;
}

.value-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.value-desc {
  color: var(--text-medium);
  font-size: 0.95rem;
}

/* --- Features Section (4つの特徴) --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 2rem;
}

.feature-item {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1.5rem;
  transition: var(--transition-smooth);
  border: 1px solid rgba(226, 232, 240, 0.5);
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-blue);
}

.feature-number {
  font-family: var(--font-en);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary-blue), #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  flex-shrink: 0;
}

.feature-item:nth-child(even) .feature-number {
  background: linear-gradient(135deg, var(--primary-orange), #fdba74);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.feature-desc {
  color: var(--text-medium);
  font-size: 0.95rem;
}

/* --- Workflow Section (授業の流れ) --- */
.flow-container {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 3rem;
  gap: 1.5rem;
}

.flow-container::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 5%;
  width: 90%;
  height: 4px;
  background-color: var(--border-color);
  z-index: 1;
}

.flow-step {
  width: 23%;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  position: relative;
  z-index: 2;
  transition: var(--transition-spring);
  border: 1px solid var(--border-color);
}

.flow-step:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-blue);
}

.flow-step-num {
  width: 50px;
  height: 50px;
  background-color: var(--primary-blue);
  color: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 1.2rem;
  margin: -45px auto 1.5rem auto;
  box-shadow: var(--shadow-blue-glow);
  border: 4px solid var(--bg-white);
}

.flow-step:nth-child(even) .flow-step-num {
  background-color: var(--primary-orange);
  box-shadow: var(--shadow-orange-glow);
}

.flow-step-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.flow-step-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.flow-step-desc {
  font-size: 0.88rem;
  color: var(--text-medium);
  line-height: 1.6;
}

/* --- Price Section (料金) --- */
.price-section {
  background-color: var(--bg-white);
}

.price-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--primary-orange);
  position: relative;
  overflow: hidden;
}

.price-badge {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--primary-orange);
  color: var(--bg-white);
  padding: 0.6rem 2rem;
  font-weight: 800;
  border-bottom-left-radius: var(--radius-md);
  font-size: 0.9rem;
}

.price-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.price-header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.price-amount {
  font-family: var(--font-en);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary-orange);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.2rem;
}

.price-amount span.tax {
  font-size: 1.2rem;
  color: var(--text-medium);
  font-family: var(--font-jp);
  font-weight: 700;
}

.price-features-list {
  list-style: none;
  margin-bottom: 3rem;
}

.price-features-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
  font-weight: 700;
}

.price-features-list li svg {
  color: #16a34a;
  flex-shrink: 0;
}

/* --- Contact & QR Block --- */
.contact-block {
  margin-top: 4rem;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #1e293b 100%);
  border-radius: var(--radius-lg);
  padding: 4rem;
  color: var(--bg-white);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.contact-info-wrapper h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.contact-info-wrapper p.desc {
  color: var(--text-light);
  margin-bottom: 2.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  color: var(--primary-orange);
}

.contact-detail-content span {
  display: block;
  font-size: 0.85rem;
  color: var(--text-light);
}

.contact-detail-content strong {
  font-size: 1.2rem;
  font-weight: 700;
  font-family: var(--font-en);
}

.contact-detail-content a:hover {
  color: var(--primary-blue);
}

.contact-qr-wrapper {
  background-color: var(--bg-white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  color: var(--text-dark);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.contact-qr-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.qr-box img {
  width: 100%;
  max-width: 120px;
  border: 1px solid var(--border-color);
  padding: 5px;
  border-radius: var(--radius-sm);
}

.qr-box p {
  font-size: 0.85rem;
  font-weight: 800;
}

.qr-box.instagram p { color: #d62976; }
.qr-box.trial p { color: var(--primary-blue); }

.contact-qr-wrapper p.qr-desc {
  font-size: 0.9rem;
  color: var(--text-medium);
  font-weight: 700;
}

/* --- Instructors Page Styles --- */
.instructors-hero {
  padding-top: 150px;
  padding-bottom: 60px;
  background: linear-gradient(to bottom, var(--secondary-blue) 0%, var(--bg-light) 100%);
  text-align: center;
}

.instructors-hero h1 {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.instructors-hero p {
  font-size: 1.15rem;
  color: var(--text-medium);
  max-width: 700px;
  margin: 0 auto;
}

.instructor-intro-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  padding: 4rem;
  margin-bottom: 5rem;
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 4rem;
  align-items: flex-start;
  position: relative;
}

.instructor-intro-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.instructor-intro-card.kani-card::before {
  background: var(--primary-blue);
}

.instructor-intro-card.yamato-card::before {
  background: var(--primary-orange);
}

.instructor-left {
  text-align: center;
}

.instructor-photo-wrapper {
  width: 260px;
  height: 260px;
  margin: 0 auto 2rem auto;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 6px solid var(--bg-white);
  position: relative;
}

.kani-card .instructor-photo-wrapper {
  box-shadow: 0 10px 25px rgba(0, 136, 255, 0.2);
}

.yamato-card .instructor-photo-wrapper {
  box-shadow: 0 10px 25px rgba(255, 74, 0, 0.2);
}

.instructor-photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.instructor-name-block {
  margin-bottom: 1.5rem;
}

.instructor-name-block h2 {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 0.3rem;
}

.instructor-name-block span.real-name {
  font-size: 1rem;
  color: var(--text-medium);
  font-weight: 500;
}

.instructor-specialties {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.instructor-right h3.subtitle {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.kani-card h3.subtitle { color: var(--primary-blue); }
.yamato-card h3.subtitle { color: var(--primary-orange); }

.instructor-bio {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 3rem;
  background-color: var(--bg-light);
  padding: 1.8rem;
  border-radius: var(--radius-md);
  border-left: 4px solid;
}

.kani-card .instructor-bio {
  border-left-color: var(--primary-blue);
}

.yamato-card .instructor-bio {
  border-left-color: var(--primary-orange);
}

.instructor-works-header {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.instructor-works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.work-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-spring);
}

.work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.2) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
  opacity: 0;
  transition: var(--transition-smooth);
}

.work-title {
  color: var(--bg-white);
  font-weight: 700;
  font-size: 0.95rem;
  transform: translateY(10px);
  transition: var(--transition-spring);
}

.work-item:hover img {
  transform: scale(1.1);
}

.work-item:hover .work-overlay {
  opacity: 1;
}

.work-item:hover .work-title {
  transform: translateY(0);
}

/* --- Footer --- */
footer {
  background-color: var(--bg-dark);
  color: var(--bg-white);
  padding: 60px 0 30px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 40px;
}

.footer-info .logo {
  margin-bottom: 1.2rem;
  color: var(--bg-white);
}

.footer-info p {
  color: var(--text-light);
  font-size: 0.95rem;
  max-width: 480px;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.footer-col h4 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  color: var(--bg-white);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-col ul a {
  color: var(--text-light);
  font-size: 0.9rem;
}

.footer-col ul a:hover {
  color: var(--primary-blue);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  color: var(--text-light);
  font-size: 0.85rem;
  font-family: var(--font-en);
}

/* --- Modal View (For Work Showcase) --- */
.modal {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: translateY(30px);
  transition: var(--transition-spring);
  position: relative;
}

.modal.active .modal-content {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  background-color: rgba(15, 23, 42, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-weight: 800;
  font-size: 1.2rem;
  z-index: 10;
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  background-color: var(--primary-orange);
  color: var(--bg-white);
  transform: rotate(90deg);
}

.modal-body {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
}

.modal-image-wrapper {
  background-color: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
}

.modal-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.modal-info-wrapper {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-work-tag {
  align-self: flex-start;
  margin-bottom: 1rem;
}

.modal-work-title {
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.modal-work-desc {
  color: var(--text-medium);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }
  
  .hero-content {
    margin: 0 auto;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .hero-image-wrapper {
    max-width: 480px;
    margin: 0 auto;
  }
  
  .concept-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .concept-text {
    max-width: 100%;
    text-align: center;
  }
  
  .concept-features li {
    justify-content: center;
  }
  
  .instructor-intro-card {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 3rem 2rem;
  }
  
  .instructor-left {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* Mobile menu can be handled dynamically */
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .value-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .flow-container {
    flex-direction: column;
    gap: 3rem;
  }
  
  .flow-container::before {
    display: none;
  }
  
  .flow-step {
    width: 100%;
    padding-top: 3rem;
  }
  
  .flow-step-num {
    margin-top: -55px;
  }
  
  .contact-block {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.5rem;
    gap: 3rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-links-grid {
    grid-template-columns: 1fr;
  }
  
  .instructor-works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .modal-body {
    grid-template-columns: 1fr;
  }
  
  .modal-info-wrapper {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .instructor-works-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-qr-grid {
    grid-template-columns: 1fr;
  }
}
