/* =====================================================
   運営概要ページ（company.html）固有スタイル
   共通トークン/ヘッダー/フッター/closing-cta は style.css + home.css、
   見出し・パンくずの一部は projects.css を継承。ここは当ページ専用分。
   ライブ offeeer.jp/company の構成に準拠：
     ヒーロー(meher inc. について) → 私たちの想い → OUR MISSION →
     事業紹介(Consulting 6件 / Service 2件) → 会社概要 → closing-cta
   ===================================================== */

.cp-hero, .cp-mission, .cp-biz, .cp-profile { background: var(--white); }

/* ===== ヒーロー ===== */
.cp-hero { padding: 150px 0 24px; }
.cp-hero .pl-breadcrumb { margin-bottom: 0; }
.cp-hero-title {
  display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap;
  gap: 4px 14px; margin: 56px 0 16px;
}
.cp-hero-title img { height: 38px; width: auto; }
.cp-hero-about { font-size: 1.25rem; font-weight: 400; color: var(--text-color); }

/* ===== 私たちの想い / OUR MISSION ===== */
.cp-mission { padding: 24px 0 20px; }
.cp-mission-inner { max-width: 760px; margin: 0 auto; }
.cp-mission-block { padding: 20px 0; }
.cp-eyebrow {
  font-size: 1.9rem; font-weight: 700; color: #c4c4c4; letter-spacing: 0.02em;
  line-height: 1.3; margin: 0 0 24px;
}
.cp-tagline { font-size: 1.2rem; font-weight: 700; color: var(--text-color); line-height: 1.65; margin: 0 0 20px; }
.cp-mission-body { font-size: 1rem; line-height: 1.95; color: var(--text-color); margin: 0; }

/* ===== 事業紹介 ===== */
.cp-biz { padding: 56px 0 44px; }
.cp-section-title { font-size: 2rem; font-weight: 700; color: var(--text-color); text-align: center; margin: 0 0 18px; }  /* 2026-08-18 見出し余白FBで8→18 */
.cp-biz-sub {
  font-size: 1.55rem; font-weight: 600; color: #353535; letter-spacing: 0.01em;
  margin: 48px 0 26px; padding-bottom: 4px;
}
.cp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
/* Consulting は2列×3行（プレビュー準拠。Serviceの3列グリッドはそのまま） */
.cp-grid-consulting { grid-template-columns: repeat(2, 1fr); }

.cp-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 26px 24px;
  box-shadow: 0 2px 10px rgba(50, 180, 112, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.cp-card:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(50, 180, 112, 0.12); border-color: #c7e9d5; }
/* カードタイトルの緑はブランド緑 #32b470（ライブ準拠）。緑文字はサイト全体で #32b470 に統一。 */
.cp-card-title { font-size: 1.0625rem; font-weight: 700; color: #32b470; text-align: center; margin: 0 0 18px; line-height: 1.5; }
.cp-card-desc { font-size: 0.9rem; line-height: 1.85; color: var(--text-color); margin: 0; }

/* Service カード（タイトルはロゴ画像） */
.cp-svc-logo { height: 46px; display: flex; align-items: center; justify-content: center; margin: 2px 0 16px; }
.cp-svc-logo img { max-height: 44px; max-width: 168px; width: auto; object-fit: contain; display: block; }

/* ===== 会社概要 ===== */
.cp-profile { padding: 20px 0 76px; }
.cp-table { max-width: 620px; margin: 36px auto 0; }
.cp-row { display: flex; align-items: baseline; gap: 28px; padding: 18px 6px; border-bottom: 1px solid #eef0f2; }
.cp-row:first-child { border-top: 1px solid #eef0f2; }
.cp-row-label { flex: 0 0 128px; font-size: 0.95rem; font-weight: 700; color: #666; }
.cp-row-value { font-size: 0.95rem; line-height: 1.7; color: var(--text-color); }
.cp-row-value a { color: #32b470; text-decoration: none; word-break: break-all; }
.cp-row-value a:hover { text-decoration: underline; }

/* ===== レスポンシブ ===== */
@media (max-width: 900px) {
  .cp-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .cp-hero { padding: 116px 0 20px; }
  .cp-hero-title { margin-top: 40px; }
  .cp-hero-title img { height: 32px; }
  .cp-section-title { font-size: 1.6rem; }
  .cp-eyebrow { font-size: 1.5rem; }
  .cp-biz-sub { font-size: 1.3rem; }
}
@media (max-width: 560px) {
  .cp-grid { grid-template-columns: 1fr; }
  .cp-row { flex-direction: column; gap: 4px; padding: 14px 4px; }
  .cp-row-label { flex: none; }
}
