/* WorkPocket 公式情報ページ 共通スタイル
   既存 entry/styles.css の legal-page 系を踏襲しつつ、
   会社概要・FAQ・ブログ等のテキスト主体ページ向けに拡張。 */
:root {
  --cyan: #62C3DF;
  --brand-blue: #1A6AFF;
  --white: #ffffff;
  --ink: #1b2a4a;
  --muted: #5b6b80;
  --line: #e5edf2;
  --column: 720px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background: #eef5f9;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  color: var(--ink);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-blue); }

.column {
  max-width: var(--column);
  margin: 0 auto;
  width: 100%;
}

/* ===== ヘッダー（全公式ページ共通ナビ） ===== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header .column {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
}
.site-header .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 18px;
}
.site-header .brand img { width: 32px; height: 32px; }
.site-nav { display: flex; gap: 16px; flex-wrap: wrap; }
.site-nav a {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
.site-nav a:hover { color: var(--brand-blue); }

/* ===== パンくず ===== */
.breadcrumb {
  font-size: 12px;
  color: #6b7a90;
  padding: 12px 20px 0;
}
.breadcrumb a { color: #6b7a90; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ===== 本文カード ===== */
.doc {
  background: var(--white);
  margin: 16px auto 32px;
  padding: 40px 32px 48px;
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(27, 42, 74, 0.06);
}
.doc h1 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.4;
  color: var(--ink);
}
.doc .lead {
  margin: 0 0 28px;
  font-size: 15px;
  color: #44546e;
}
.doc h2 {
  margin: 36px 0 12px;
  padding-bottom: 8px;
  font-size: 20px;
  border-bottom: 2px solid var(--cyan);
}
.doc h3 { margin: 24px 0 8px; font-size: 16px; }
.doc p, .doc li { font-size: 15px; }
.doc ul, .doc ol { padding-left: 1.4em; }
.doc li { margin: 6px 0; }

/* 会社概要・定義リスト */
.info-dl { margin: 0; border-top: 1px solid var(--line); }
.info-dl > div {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 1px solid var(--line);
}
.info-dl dt {
  padding: 16px 14px;
  font-weight: 700;
  background: #f5fbfd;
  font-size: 14px;
}
.info-dl dd { margin: 0; padding: 16px 14px; font-size: 15px; }

/* FAQ */
.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
  margin: 14px 0;
  background: #fbfdfe;
}
.faq-item h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--ink);
}
.faq-item h3::before {
  content: "Q. ";
  color: var(--brand-blue);
  font-weight: 800;
}
.faq-item p { margin: 0; font-size: 15px; color: #2c3a52; }
.faq-item p::before { content: "A. "; font-weight: 800; color: var(--cyan); }

/* 注記・強調ボックス */
.callout {
  background: #fff7e6;
  border-left: 4px solid #f5b400;
  padding: 14px 16px;
  border-radius: 0 6px 6px 0;
  font-size: 14px;
  margin: 18px 0;
}

/* 記事一覧 */
.post-list { list-style: none; padding: 0; margin: 0; }
.post-list li {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.post-list a { font-size: 16px; font-weight: 700; text-decoration: none; }
.post-list a:hover { text-decoration: underline; }
.post-list .date { display: block; font-size: 12px; color: #8a97a8; margin-top: 4px; }

/* ===== フッター ===== */
.site-footer {
  background: var(--ink);
  color: #cdd7e6;
  padding: 40px 20px;
}
.site-footer .column { text-align: center; }
.site-footer img { width: 130px; height: auto; margin-bottom: 16px; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  justify-content: center;
  margin-bottom: 20px;
}
.footer-links a { color: #cdd7e6; font-size: 13px; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-org { font-size: 12px; color: #9aa8bd; line-height: 1.7; }
.copyright { font-size: 12px; color: #7e8da4; margin-top: 14px; }

@media (max-width: 600px) {
  .doc { padding: 28px 18px 36px; margin: 12px auto; border-radius: 0; }
  .doc h1 { font-size: 22px; }
  .site-header .column { flex-direction: column; align-items: flex-start; }
  .info-dl > div { grid-template-columns: 1fr; }
  .info-dl dt { padding-bottom: 4px; }
  .info-dl dd { padding-top: 4px; }
}
