/* insourcing-with-ai page-specific styles (extracted from inline <style>) */

/* ---- 創業の言葉セクション ---- */
.founding-message {
  background: var(--navy);
  color: #fff;
  border-radius: 24px;
  padding: 48px 52px;
  position: relative;
  overflow: hidden;
}
.founding-message::before {
  content: "\201C";
  position: absolute;
  top: -10px;
  left: 28px;
  font-size: 140px;
  color: var(--gold);
  opacity: 0.18;
  font-family: Georgia, serif;
  line-height: 1;
}
.founding-message p.quote {
  font-size: clamp(18px, 2.6vw, 24px);
  font-weight: 700;
  line-height: 1.8;
  color: #fff;
  margin: 0 0 20px;
  position: relative;
}
.founding-message p.note {
  font-size: 14px;
  color: rgba(255,255,255,0.68);
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
  margin: 0;
}

/* ---- 壁と変化の対比 ---- */
.before-after {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.before-after-col {
  padding: 30px 28px;
}
.before-col { background: #f7f8fa; }
.after-col  { background: rgba(182,151,91,0.07); }
.before-after-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: #fff;
  font-size: 22px;
  padding: 0 14px;
  writing-mode: horizontal-tb;
}
.before-after-col h3 {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.before-after-col h3 span {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 11px;
  margin-right: 6px;
}
.before-col h3 span { background: #e2e8f0; color: #475569; }
.after-col  h3 span { background: rgba(182,151,91,0.2); color: #7c5c1e; }
.before-after-col ul {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 10px;
}
.before-after-col li {
  font-size: 14px;
  line-height: 1.7;
  color: #334155;
  padding-left: 20px;
  position: relative;
}
.before-after-col li::before {
  content: attr(data-mark);
  position: absolute;
  left: 0;
  font-weight: 700;
}
.before-col li::before { color: #94a3b8; }
.after-col  li::before { color: var(--gold); }

/* ---- できること一覧 ---- */
.can-do-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}
.can-do-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}
.can-do-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(182,151,91,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.can-do-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
  color: var(--navy);
}
.can-do-card p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

/* ---- ステップ ---- */
.insource-steps {
  display: grid;
  gap: 0;
  position: relative;
  margin-top: 32px;
}
.insource-steps::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 40px;
  bottom: 40px;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), rgba(182,151,91,0.2));
}
.insource-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: start;
  padding: 18px 0;
}
.insource-step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  border: 3px solid var(--gold);
}
.insource-step-body {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 22px;
  margin-top: 4px;
}
.insource-step-body h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--navy);
}
.insource-step-body p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}
.insource-step-body .examples {
  margin-top: 10px;
  padding: 12px 14px;
  background: #f7f8fa;
  border-radius: 8px;
  font-size: 13px;
  color: #475569;
  line-height: 1.9;
}

/* ---- KYMの支援スタイル ---- */
.style-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.style-card {
  border-radius: 16px;
  padding: 26px;
  border: 1px solid var(--border);
  background: #fff;
}
.style-icon {
  font-size: 28px;
  margin-bottom: 14px;
}
.style-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
  color: var(--navy);
}
.style-card p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .founding-message { padding: 32px 28px; }
  .before-after { grid-template-columns: 1fr; }
  .before-after-divider { padding: 14px; writing-mode: horizontal-tb; font-size: 20px; }
  .can-do-grid { grid-template-columns: 1fr; }
  .style-grid { grid-template-columns: 1fr; }
  .insource-steps::before { display: none; }
}

/* ===== utility classes (extracted from inline styles) ===== */
.u-bg-soft { background: var(--bg-soft); }
.u-callout { margin-top: 40px; padding: 32px 36px; background: var(--bg-soft); border-radius: 20px; border-left: 4px solid var(--gold); }
.u-mt32-jc { margin-top: 32px; justify-content: center; }
.u-p-body { margin: 0; font-size: 14px; color: #334155; line-height: 1.9; }
.u-p-head { margin: 0 0 12px; font-size: 15px; color: var(--navy); font-weight: 700; }
