/* ============================================
   KLG TREE — inner.css
   Styles for all inner/sub pages
   ============================================ */

/* ── INNER PAGE BODY ── */
.inner-page {
  padding-top: var(--header-h);
}

/* ── INNER HERO BANNER ── */
.inner-hero {
  background: linear-gradient(135deg, #f0f4f8 0%, #e3f0fa 100%);
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 120, 212, 0.15);
}

.inner-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 120, 212, 0.08), transparent 70%);
  pointer-events: none;
}

.inner-hero-deco {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hero-color, var(--green-400)), transparent);
  opacity: 0.4;
}

.inner-hero-inner {
  position: relative;
  z-index: 1;
}

.inner-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.inner-breadcrumb a {
  color: var(--text-muted);
  transition: var(--transition);
}
.inner-breadcrumb a:hover { color: var(--green-400); }
.inner-breadcrumb span { color: var(--text-muted); }

.inner-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.2;
  color: var(--text-primary);
  margin-top: 12px;
  position: relative;
}
.inner-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--hero-color, var(--green-400));
  border-radius: 2px;
  margin-top: 16px;
}

/* ── INNER CONTENT ── */
.inner-content { padding-top: 80px; }

.page-lead {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 760px;
  margin-bottom: 60px;
}

.ai-lab-slogan {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 900;
  color: var(--green-600);
  margin-top: -32px;
  margin-bottom: 40px;
}

/* ── SERVICE FEATURE GRID ── */
.service-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.feature-card {
  background: #fff;
  border: 1px solid rgba(0,120,212,0.15);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.feature-card h4 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.8; }

.feature-card.blue { border-color: rgba(96, 165, 250, 0.15); }
.feature-card.blue:hover { border-color: rgba(96, 165, 250, 0.5); }
.feature-card.blue h4 { color: var(--blue-400); }

.feature-card.purple { border-color: rgba(167, 139, 250, 0.15); }
.feature-card.purple:hover { border-color: rgba(167, 139, 250, 0.5); }
.feature-card.purple h4 { color: var(--purple-400); }

.feature-card.pink { border-color: rgba(244, 114, 182, 0.15); }
.feature-card.pink:hover { border-color: rgba(244, 114, 182, 0.5); }
.feature-card.pink h4 { color: var(--pink-400); }

.feature-card.orange { border-color: rgba(251, 146, 60, 0.15); }
.feature-card.orange:hover { border-color: rgba(251, 146, 60, 0.5); }
.feature-card.orange h4 { color: var(--orange-400); }

.feature-card.teal { border-color: rgba(52, 211, 153, 0.15); }
.feature-card.teal:hover { border-color: rgba(52, 211, 153, 0.5); }
.feature-card.teal h4 { color: var(--teal-400); }

/* ── DX VISUAL (DX page) ── */
.dx-visual { display: flex; justify-content: center; margin: 8px 0 48px; }
.dx-visual-svg { width: 100%; max-width: 560px; height: auto; }

/* ── CYBOZU CALLOUT (DX page) ── */
.cybozu-callout {
  background: #fff;
  border: 1px solid rgba(79, 168, 232, 0.2);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-top: 20px;
}
.cybozu-callout h3 { font-size: 18px; font-weight: 700; margin-bottom: 24px; }
.cybozu-callout .cybozu-tools { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── ABOUT GRID ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-text h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; line-height: 1.4; margin-bottom: 24px; }
.about-text p { font-size: 15px; color: var(--text-secondary); line-height: 1.9; margin-bottom: 16px; }

.about-values { display: flex; flex-direction: column; gap: 16px; }
.value-card {
  background: #fff;
  border: 1px solid rgba(0,120,212,0.15);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
}
.value-card:hover { border-color: var(--card-hover-border); transform: translateX(4px); }
.value-num { font-size: 12px; font-weight: 700; color: var(--green-400); font-family: 'Inter', sans-serif; letter-spacing: 0.1em; display: block; margin-bottom: 8px; }
.value-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.value-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }

/* ── AI PLANS PAGE ── */
.plans-section { margin-top: 20px; }
.plans-section h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 16px; }
.badge-enbold {
  display: inline-block;
  font-size: 12px;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #fff;
  padding: 4px 12px;
  border-radius: 100px;
  font-weight: 700;
  animation: pulseBadge 2s ease infinite;
}
.plans-note { font-size: 14px; color: var(--text-secondary); margin-bottom: 40px; }

.plans-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.plan-full-card {
  background: #fff;
  border: 1px solid rgba(79, 168, 232, 0.2);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: block;
  transition: var(--transition);
  position: relative;
}
.plan-full-card:hover { border-color: var(--green-400); transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.plan-full-card .plan-num { font-size: 48px; font-weight: 900; color: rgba(79, 168, 232, 0.15); font-family: 'Inter', sans-serif; line-height: 1; margin-bottom: 16px; }
.plan-full-card:hover .plan-num { color: rgba(79, 168, 232, 0.3); }
.plan-full-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.plan-full-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }
.plan-features { margin: 0 0 20px; }
.plan-features li { font-size: 13px; color: var(--green-400); padding: 4px 0; }
.plan-cta { font-size: 13px; font-weight: 600; color: var(--green-400); }

/* ── PLAN DETAIL (individual plan pages) ── */
.plan-detail-wrap { max-width: 800px; }
.plan-price-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}
.plan-price-tag span { font-size: 36px; font-weight: 900; color: var(--green-400); font-family: 'Inter', sans-serif; }
.plan-price-tag small { font-size: 16px; color: var(--text-secondary); font-weight: 400; }
.plan-price-tag.discount { flex-wrap: wrap; }
.plan-price-tag .plan-off-badge { font-size: 13px; }
.plan-price-tag .ppt-old { font-size: 20px; font-weight: 700; color: var(--text-muted); text-decoration: line-through; font-family: 'Inter', sans-serif; }
.plan-price-tag .ppt-current { font-size: 36px; font-weight: 900; color: #dc2626; font-family: 'Inter', sans-serif; }
.plan-curriculum { margin: 48px 0; }
.plan-curriculum h3 { font-size: 22px; font-weight: 700; margin-bottom: 24px; }
.curriculum-items { display: flex; flex-direction: column; gap: 16px; }
.curriculum-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid rgba(0,120,212,0.15);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
}
.curriculum-item:hover { border-color: var(--card-hover-border); }
.c-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 120, 212, 0.1);
  border: 1px solid rgba(79, 168, 232, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--green-400);
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
}
.curriculum-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.curriculum-item p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ── RECRUITMENT ── */
.job-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 20px; }
.job-card {
  background: #fff;
  border: 1px solid rgba(0,120,212,0.15);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
}
.job-card:hover { border-color: var(--card-hover-border); transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.job-type {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--green-400);
  border: 1px solid rgba(79, 168, 232, 0.3);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.job-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.job-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; }
.job-card ul { padding-left: 0; }
.job-card ul li { font-size: 13px; color: var(--text-muted); padding: 4px 0; }
.job-card ul li::before { content: '・'; color: var(--green-400); }

/* ── LEADERSHIP ── */
.leadership-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 40px;
}
.leadership-photo { width: 140px; height: 140px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.leadership-photo img { width: 100%; height: 100%; object-fit: cover; }
.leadership-title {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 6px;
}
.leadership-name { font-size: 22px; font-weight: 700; color: var(--text-primary); margin-bottom: 10px; }
.leadership-vision { font-size: 14px; color: var(--text-secondary); line-height: 1.85; max-width: 640px; }
@media (max-width: 640px) {
  .leadership-block { flex-direction: column; text-align: center; }
  .leadership-vision { max-width: 100%; }
}

/* ── COMPANY TABLE ── */
.company-table-wrap { max-width: 800px; }
.company-table { width: 100%; border-collapse: collapse; }
.company-table th,
.company-table td {
  padding: 20px 24px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 15px;
  line-height: 1.7;
}
.company-table th {
  width: 180px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 13px;
  vertical-align: top;
  padding-top: 22px;
}
.company-table td { color: var(--text-primary); }
.company-table tr:hover td { background: rgba(0, 120, 212, 0.02); }

/* ── SERVICE LIST (jigyou page) ── */
.service-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 20px; }
.service-list-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: #fff;
  border: 1px solid rgba(0,120,212,0.15);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  transition: var(--transition);
  position: relative;
}
.service-list-item:hover { border-color: var(--card-hover-border); transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.service-list-item.primary-item { padding: 28px; background: rgba(0, 120, 212, 0.03); border-color: rgba(79, 168, 232, 0.15); }
.service-list-item.primary-item:hover { background: rgba(0, 120, 212, 0.06); }
.item-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  color: var(--dark-900);
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
}
.item-label.blue { background: linear-gradient(135deg, var(--blue-400), var(--blue-600)); }
.service-list-item h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.service-list-item p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; flex: 1; }
.item-arrow { margin-left: 0; margin-top: auto; color: var(--text-muted); font-size: 20px; transition: var(--transition); flex-shrink: 0; }
.service-list-item:hover .item-arrow { color: var(--green-400); transform: translateX(4px); }

/* ── CONTACT FORM ── */
.contact-wrap { max-width: 680px; }
.contact-form-wrap { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.required { color: #ef4444; }
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-400);
  background: rgba(0, 120, 212, 0.04);
  box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.1);
}
.form-group select option { background: var(--dark-800); }
.form-group textarea { resize: vertical; min-height: 140px; }
.contact-submit { width: 100%; justify-content: center; margin-top: 8px; }

/* ── RESPONSIVE INNER ── */
@media (max-width: 1024px) {
  .plans-full-grid { grid-template-columns: repeat(2, 1fr); }
  .job-cards { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .inner-hero { padding: 60px 0 52px; }
  .service-features-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .plans-full-grid { grid-template-columns: 1fr; }
  .company-table th { width: 120px; font-size: 12px; }
  .company-table th, .company-table td { padding: 14px 16px; }
  .plan-price-tag { flex-wrap: wrap; }
}
