/* =====================================================================
   talentia コーポレートサイト 共通スタイル
   人材 × IT で中小企業の「人が足りない」を解く
   配色：濃紺 × 空色（信頼・誠実）＋ わずかに珊瑚のアクセント
   ===================================================================== */

:root {
  --navy:      #1e2a47;   /* 見出し・ダーク背景 */
  --navy-700:  #172137;
  --ink:       #33405c;   /* 本文 */
  --muted:     #6b7893;   /* 補足 */
  --line:      #e3eaf3;   /* 罫線 */

  --sky-50:    #f3f8fd;
  --sky-100:   #e6f1fb;
  --sky-200:   #cfe3f7;
  --sky-500:   #4e92da;   /* メイン */
  --sky-600:   #3577c4;

  --coral:     #ef8f66;   /* 差し色（ごく控えめ） */

  --white:     #ffffff;

  --radius:    14px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 12px rgba(30, 42, 71, 0.06);
  --shadow-md: 0 12px 34px rgba(30, 42, 71, 0.10);

  --maxw: 1120px;
  --font: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
          "Hiragino Sans", Meiryo, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.45; margin: 0; font-weight: 700; }
p { margin: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section--tint { background: var(--sky-50); }
.section--navy { background: var(--navy); color: #d7deed; }
.section--navy h2, .section--navy h3 { color: #fff; }

/* セクション見出し */
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700;
  letter-spacing: .18em; color: var(--sky-600); margin-bottom: 16px;
}
.section--navy .eyebrow { color: #8fb8e6; }
.sec-head { max-width: 760px; margin-bottom: 52px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-title { font-size: clamp(24px, 3.2vw, 33px); letter-spacing: .01em; }
.sec-lead { margin-top: 18px; color: var(--muted); font-size: 16px; }
.section--navy .sec-lead { color: #aebbd3; }

/* ボタン */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 54px; padding: 0 30px; border-radius: 8px;
  font-weight: 700; font-size: 15px; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s, box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--sky-500); color: #fff; box-shadow: 0 8px 20px rgba(78,146,218,.32); }
.btn-primary:hover { background: var(--sky-600); }
.btn-ghost { background: #fff; color: var(--sky-600); border-color: var(--sky-200); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--sky-500); }
.btn-onnavy { background: #fff; color: var(--navy); }
.btn-onnavy:hover { background: var(--sky-100); }
.btn-lg { min-height: 58px; padding: 0 34px; font-size: 16px; }

/* ヘッダー */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.9); backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 34px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: 14px; font-weight: 500; color: var(--ink); transition: color .2s; }
.nav a:hover, .nav a.active { color: var(--sky-600); }
.nav .btn { min-height: 42px; padding: 0 20px; font-size: 13px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* ヒーロー（ダーク） */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(920px 520px at 85% -12%, var(--sky-200), transparent 62%),
    radial-gradient(760px 460px at 3% 112%, rgba(239,143,102,.10), transparent 60%),
    linear-gradient(180deg, var(--sky-50) 0%, #ffffff 90%);
  color: var(--ink); padding: 104px 0 108px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(78,146,218,.10) 1px, transparent 1px);
  background-size: 26px 26px;
}
.hero .container { position: relative; z-index: 1; }
.hero .eyebrow { color: var(--sky-600); }
.hero h1 { color: var(--navy); font-size: clamp(30px, 5vw, 52px); line-height: 1.32; letter-spacing: .01em; }
.hero h1 .accent { color: var(--sky-600); }
.hero-sub { margin-top: 26px; font-size: 18px; color: var(--ink); max-width: 620px; }
.hero-cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-tags { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-tags span {
  font-size: 13px; font-weight: 600; color: var(--sky-600);
  border: 1px solid var(--sky-200); background: #fff; border-radius: 999px; padding: 7px 15px;
}

/* 汎用カードグリッド */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .knum { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--sky-500); margin-bottom: 12px; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--ink); }
.card ul { margin: 14px 0 0; padding: 0; list-style: none; }
.card li { position: relative; padding-left: 22px; font-size: 14px; color: var(--ink); margin-bottom: 7px; }
.card li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--sky-500); }

/* 課題カード（アイコン風の丸番号） */
.issue { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.issue .tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--sky-600); background: var(--sky-100); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
.issue h3 { font-size: 17px; margin-bottom: 10px; }
.issue p { font-size: 14px; color: var(--muted); }

/* オプション（大きな番号＋見出し） */
.option {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.option .opt-label { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--sky-500); }
.option .opt-no { font-size: 30px; font-weight: 800; color: var(--sky-200); line-height: 1; margin-bottom: 8px; }
.option h3 { font-size: 20px; margin: 6px 0 10px; }
.option p { font-size: 14px; color: var(--muted); }

/* 強み（HR × IT） */
.cross { display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: stretch; }
.cross-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.section--navy .cross-card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); }
.cross-card .lbl { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--sky-500); margin-bottom: 10px; }
.cross-card h3 { font-size: 20px; margin-bottom: 12px; }
.cross-card p { font-size: 14.5px; }
.section--navy .cross-card p { color: #c3cee2; }
.cross-mid { display: flex; align-items: center; justify-content: center; }
.cross-x {
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sky-500); color: #fff; font-size: 24px; font-weight: 800;
  box-shadow: 0 10px 24px rgba(78,146,218,.4);
}

/* ステップ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.step .sno { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.step .stp { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--sky-600); margin-bottom: 4px; }
.step h3 { font-size: 16px; margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--muted); }

/* サービスメニュー行 */
.menu-row {
  display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: start;
  padding: 30px 0; border-top: 1px solid var(--line);
}
.menu-row:last-child { border-bottom: 1px solid var(--line); }
.menu-en { font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--sky-500); }
.menu-ja { font-size: 21px; font-weight: 700; color: var(--navy); margin-top: 6px; }
.menu-sub { font-size: 13px; color: var(--muted); margin-top: 4px; }
.badge-soon { display: inline-block; margin-left: 10px; font-size: 11px; font-weight: 700; color: var(--coral); background: #fdeee5; border-radius: 999px; padding: 2px 10px; vertical-align: middle; }
.menu-body p { font-size: 15px; color: var(--ink); }
.menu-body .note { font-size: 12.5px; color: var(--muted); margin-top: 8px; }

/* CTA 帯 */
.cta {
  background: linear-gradient(135deg, var(--sky-100), var(--sky-200));
  border: 1px solid var(--sky-200);
  border-radius: 20px; padding: 56px; text-align: center; color: var(--ink);
}
.cta h2 { color: var(--navy); font-size: clamp(22px, 3vw, 30px); }
.cta p { color: var(--ink); margin: 16px auto 28px; max-width: 560px; font-size: 15px; }

/* 帯（フルワイズのCTAセクション） */
.section--cta { padding: 80px 0; }

/* 事業概要テーブル */
.facts { width: 100%; border-collapse: collapse; max-width: 720px; }
.facts th, .facts td { text-align: left; padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
.facts th { width: 200px; color: var(--navy); font-weight: 700; }
.facts td { color: var(--ink); }

/* フォーム */
.form { max-width: 640px; }
.form .field { margin-bottom: 20px; }
.form label { display: block; font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.form label .req { color: var(--coral); font-size: 12px; margin-left: 6px; }
.form input, .form textarea, .form select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 8px;
  font-family: inherit; font-size: 15px; color: var(--ink); background: #fff;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--sky-500); box-shadow: 0 0 0 3px rgba(78,146,218,.15); }
.form textarea { min-height: 140px; resize: vertical; }
.form .hint { font-size: 12.5px; color: var(--muted); margin-top: 20px; }

/* フッター */
.footer { background: var(--navy); color: #c3cee2; padding: 60px 0 34px; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 36px; }
.footer .brand img { height: 32px; }
.footer-tag { color: #93a4c4; font-size: 13px; margin-top: 14px; max-width: 320px; }
.footer-links { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-links h4 { color: #fff; font-size: 13px; margin-bottom: 14px; letter-spacing: .06em; }
.footer-links a { display: block; font-size: 13.5px; color: #aebbd3; margin-bottom: 9px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; color: #8395b3; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ページヘッダー（下層ページ用） */
.pagehead {
  background:
    radial-gradient(780px 380px at 88% -20%, var(--sky-200), transparent 62%),
    linear-gradient(180deg, var(--sky-50), #fff);
  border-bottom: 1px solid var(--line); color: var(--ink); padding: 74px 0;
}
.pagehead .eyebrow { color: var(--sky-600); }
.pagehead h1 { color: var(--navy); font-size: clamp(26px, 4vw, 40px); }
.pagehead p { margin-top: 14px; color: var(--muted); font-size: 16px; max-width: 640px; }

/* レスポンシブ */
@media (max-width: 960px) {
  .section { padding: 76px 0; }
  .grid-3, .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .cross { grid-template-columns: 1fr; }
  .cross-mid { transform: rotate(90deg); margin: 4px 0; }
  .menu-row { grid-template-columns: 1fr; gap: 12px; }
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 74px; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line); padding: 16px 24px; gap: 14px; box-shadow: var(--shadow-md);
  }
  .nav.open .btn { width: 100%; }
  .nav-toggle { display: block; }
}
@media (max-width: 620px) {
  .container { padding: 0 18px; }
  .section { padding: 56px 0; }
  .grid-2, .grid-3, .grid-4, .steps { grid-template-columns: 1fr; }
  .hero { padding: 72px 0 76px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .cta { padding: 40px 24px; }
  .footer-top { flex-direction: column; }
}
