/* Yells 運営会社ページCSS（claude design styles/company.css 由来） */

.site p.co-intro { max-width: 760px; margin: 0 auto 72px; text-align: center; font-size: 16.5px; line-height: 2.05; color: var(--c-muted); }

/* -------- 会社ブロック -------- */
.co-block { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; max-width: 1040px; margin: 0 auto; padding: 56px 0; border-top: 1px solid #EDEFF5; }
.co-block:first-of-type { border-top: none; padding-top: 0; }

.co-side { position: sticky; top: 96px; }
.co-logo { width: 100%; height: 96px; margin-bottom: 22px; }
.co-logo:has(img) { display: flex; align-items: center; } /* 実ロゴ時は枠内に左寄せ縦中央 */
.co-logo img { height: 56px; width: auto; max-width: 100%; }
.co-side .co-name { font-size: 22px; font-weight: 800; color: var(--c-dark); line-height: 1.5; }
.co-side .co-en { font-family: var(--f-latin); font-size: 13px; color: var(--c-muted); margin-top: 6px; letter-spacing: 0.02em; }
.co-side .co-site { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--c-primary); }
.co-side .co-site:hover { color: var(--c-primary-700); }
.co-side .co-site svg { width: 15px; height: 15px; }
.co-side .co-links { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; align-items: flex-start; }
.co-side .co-linkedin { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: #0A66C2; }
.co-side .co-linkedin:hover { color: #084d92; }
.co-side .co-linkedin svg { width: 17px; height: 17px; }

/* -------- プロフィール表 -------- */
.co-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-sm); }
.co-table th, .co-table td { text-align: left; padding: 16px 22px; border-bottom: 1px solid var(--c-border); vertical-align: top; font-size: 14px; line-height: 1.85; }
.co-table th { width: 30%; font-weight: 700; color: var(--c-dark); background: var(--c-cream); }
.co-table td { color: var(--c-text); }
.co-table tr:last-child th, .co-table tr:last-child td { border-bottom: none; }
.co-table td a { color: var(--c-primary); font-weight: 600; }
.co-table .pending { color: var(--c-muted); font-family: var(--f-mono); font-size: 12.5px; }
.co-table .co-cred { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; color: var(--c-dark); background: var(--c-primary-050); border-radius: 999px; padding: 6px 14px; }
.co-table .co-cred::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c-primary); flex: none; }

/* -------- 沿革 -------- */
.history { max-width: 760px; margin: 0 auto; }
.hist-row { display: grid; grid-template-columns: 160px 1fr; gap: 28px; padding: 22px 0; border-bottom: 1px solid var(--c-border); }
.hist-row:last-child { border-bottom: none; }
.hist-row .hy { font-family: var(--f-mono); font-size: 14px; font-weight: 700; color: var(--c-primary); }
.hist-row .ht { font-size: 14.5px; color: var(--c-text); line-height: 1.85; }

@media (max-width: 900px) {
  .co-block { grid-template-columns: 1fr; gap: 26px; }
  .co-side { position: static; }
  .co-logo { width: 200px; }
}
@media (max-width: 640px) {
  .co-table th, .co-table td { padding: 13px 14px; font-size: 13px; }
  .co-table th { width: 38%; }
  .hist-row { grid-template-columns: 1fr; gap: 6px; }
}

/* -------- 代表メッセージ -------- */
.message-sec { background: var(--c-dark); color: #fff; overflow: hidden; }
.message-grid { display: grid; grid-template-columns: 320px 1fr; gap: 56px; align-items: start; max-width: 1040px; margin: 0 auto; }
.msg-portrait { position: sticky; top: 96px; }
.msg-portrait .ph { aspect-ratio: 3 / 4; background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.16); }
.msg-portrait .ph span { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); }
.msg-portrait .mp-name { margin-top: 20px; }
.msg-portrait .mp-role { font-family: var(--f-latin); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-light); }
.msg-portrait .mp-jp { margin-top: 8px; font-size: 20px; font-weight: 800; }
.msg-portrait .mp-co { margin-top: 6px; font-size: 12.5px; color: rgba(255,255,255,0.62); line-height: 1.7; }
.msg-body .msg-eyebrow { font-family: var(--f-latin); font-weight: 800; font-size: 12px; letter-spacing: 0.1em; color: var(--c-light); }
.msg-body h2 { margin: 16px 0 0; font-size: 32px; font-weight: 900; line-height: 1.55; letter-spacing: 0.01em; }
.msg-body .msg-text { margin-top: 28px; }
.msg-body .msg-text p { margin: 0 0 22px; font-size: 15.5px; line-height: 2.1; color: rgba(255,255,255,0.82); }
.msg-body .msg-text p:last-child { margin-bottom: 0; }
.msg-body .msg-sign { margin-top: 32px; display: flex; align-items: center; gap: 16px; }
.msg-body .msg-sign .ln { width: 40px; height: 1px; background: rgba(255,255,255,0.3); }
.msg-body .msg-sign b { font-size: 15px; font-weight: 700; }
.msg-body .msg-sign span { font-size: 12.5px; color: rgba(255,255,255,0.6); }

@media (max-width: 900px) {
  .message-grid { grid-template-columns: 1fr; gap: 32px; }
  .msg-portrait { position: static; display: grid; grid-template-columns: 160px 1fr; gap: 24px; align-items: center; }
  .msg-portrait .mp-name { margin-top: 0; }
}
@media (max-width: 640px) {
  .msg-body h2 { font-size: 24px; }
  .msg-portrait { grid-template-columns: 1fr; }
}

/* ===========================================================
   【一時対応】代表者ポートレート撮影前：ポートレートを非表示にし、
   代表メッセージを1カラム（中央寄せ）で表示する。
   撮影後は、この下のブロックを削除すれば元の2カラムに戻る。
   =========================================================== */
.message-grid { grid-template-columns: 1fr; }
.msg-portrait { display: none; }
.msg-body { max-width: 820px; margin: 0 auto; }
