/* =========================================
   NextWorks 会社概要ページ専用スタイル
   森グリーン(#1b3a2f)基調・誠実トーン
   ========================================= */

.company-page {
  --co-green: #1b3a2f;
  --co-green-deep: #10241d;
  --co-green-light: #e8f2ec;
  --co-lime: #c8f26a;
}

/* ヒーロー */
.co-hero {
  background: linear-gradient(160deg, var(--co-green) 0%, var(--co-green-deep) 100%);
  padding: 64px 0 56px;
  color: #fff;
}
.co-hero .sp-breadcrumb { color: rgba(255,255,255,.55); }
.co-hero .sp-breadcrumb a { color: var(--co-lime); }
.co-hero .sp-title { color: #fff; }
.co-hero .sp-meta { color: rgba(255,255,255,.6); }
.co-hero-lead {
  margin-top: 14px; font-size: 15px; color: rgba(255,255,255,.82);
  line-height: 1.9; max-width: 640px;
}

/* 共通セクション */
.co-section { padding: 64px 0; }
.co-section.alt { background: var(--co-green-light); }
.co-sh { margin-bottom: 32px; }
.co-sh .tag {
  display: inline-block; font-size: 11.5px; font-weight: 700;
  color: var(--co-green); background: var(--co-green-light);
  padding: 4px 14px; border-radius: 20px; margin-bottom: 12px;
  border: 1px solid rgba(27,58,47,.15);
}
.co-sh h2 { font-size: clamp(22px, 3.2vw, 30px); font-weight: 900; color: var(--co-green-deep); line-height: 1.4; margin-bottom: 10px; }
.co-sh p { font-size: 14px; color: var(--muted); line-height: 1.85; }

/* 会社情報テーブル */
.co-info-table {
  width: 100%; border-collapse: collapse;
  background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden;
}
.co-info-table tr:not(:last-child) td,
.co-info-table tr:not(:last-child) th { border-bottom: 1px solid var(--border-soft); }
.co-info-table th {
  width: 160px; text-align: left; vertical-align: top;
  padding: 16px 20px; font-size: 13px; font-weight: 700; color: var(--co-green);
  background: var(--co-green-light);
}
.co-info-table td {
  padding: 16px 20px; font-size: 14px; color: var(--body-text); line-height: 1.8;
}
.co-placeholder { color: var(--light-text); font-style: italic; }

/* 代表メッセージ・開発背景 */
.co-founder-wrap {
  display: flex; gap: 32px; align-items: flex-start;
}
.co-founder-photo {
  width: 140px; height: 140px; border-radius: 50%; flex-shrink: 0;
  object-fit: cover; border: 4px solid #fff; box-shadow: var(--shadow-sm);
}
.co-founder-photo-ph {
  width: 140px; height: 140px; border-radius: 50%; flex-shrink: 0;
  background: var(--co-green-light); color: var(--co-green);
  display: flex; align-items: center; justify-content: center;
  font-size: 46px; border: 4px solid #fff; box-shadow: var(--shadow-sm);
}
.co-founder-name { font-size: 16px; font-weight: 800; color: var(--co-green-deep); margin-bottom: 2px; }
.co-founder-title { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
.co-founder-msg { font-size: 14.5px; color: var(--body-text); line-height: 1.9; }
.co-founder-msg p { margin-bottom: 12px; }
.co-founder-msg p:last-child { margin-bottom: 0; }

.co-story {
  font-size: 14.5px; color: var(--body-text); line-height: 2; max-width: 760px;
}
.co-story p { margin-bottom: 16px; }
.co-story p:last-child { margin-bottom: 0; }

/* CTAボックス */
.co-cta-box {
  background: linear-gradient(160deg, var(--co-green) 0%, var(--co-green-deep) 100%);
  border-radius: var(--radius-lg); padding: 44px 40px; text-align: center; color: #fff;
}
.co-cta-box h2 { color: #fff; font-size: clamp(20px, 3vw, 26px); font-weight: 900; margin-bottom: 10px; }
.co-cta-box p { color: rgba(255,255,255,.72); font-size: 13.5px; margin-bottom: 24px; }
.co-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.co-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--co-lime); color: var(--co-green-deep);
  font-weight: 800; font-size: 14.5px; padding: 14px 28px; border-radius: 8px;
  transition: transform .2s ease;
}
.co-btn-primary:hover { transform: translateY(-1px); }
.co-btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  color: #fff; font-weight: 700; font-size: 14.5px; padding: 14px 24px;
  border: 1.5px solid rgba(255,255,255,.4); border-radius: 8px;
}
.co-btn-ghost:hover { border-color: #fff; }

/* 特商法リンク */
.co-legal-link {
  text-align: center; margin-top: 40px; font-size: 13px; color: var(--muted);
}
.co-legal-link a { color: var(--co-green); font-weight: 700; text-decoration: underline; }

/* レスポンシブ */
@media (max-width: 640px) {
  .co-founder-wrap { flex-direction: column; align-items: center; text-align: center; }
  .co-info-table th { width: 110px; padding: 12px 14px; font-size: 12.5px; }
  .co-info-table td { padding: 12px 14px; font-size: 13.5px; }
  .co-section { padding: 48px 0; }
}
