/* コーポレートサイト（2026-11 再設計）のスタイル。Bootstrap 5 の上に重ねて使う。
   文字や金額は画像に焼き込まず、HTML のテキストで書くこと。 */

:root {
	--zl-navy: #1b2a41;
	--zl-navy-2: #2c4466;
	--zl-accent: #ffc107;
	--zl-ink: #1f2933;
	--zl-muted: #5b6876;
	--zl-line: #dfe4ea;
	--zl-soft: #f4f6f9;
	--zl-radius: 10px;
}

body { color: var(--zl-ink); line-height: 1.85; }
h1, h2, h3, h4 { line-height: 1.45; }

/* セクション */
.zl-section { padding: 72px 0; }
.zl-section-soft { background: var(--zl-soft); }
.zl-section-navy { background: var(--zl-navy); color: #fff; }
.zl-eyebrow { display: inline-block; font-size: .8rem; font-weight: bold; letter-spacing: .12em; color: #a8761f; margin-bottom: 8px; }
.zl-section-navy .zl-eyebrow { color: var(--zl-accent); }
.zl-title { font-size: 1.75rem; font-weight: bold; margin-bottom: .5em; }
.zl-lead { color: var(--zl-muted); max-width: 760px; }
.zl-section-navy .zl-lead { color: rgba(255,255,255,.8); }
.zl-center { text-align: center; }
.zl-center .zl-lead { margin-left: auto; margin-right: auto; }

/* ファーストビュー */
.zl-hero { background: linear-gradient(90deg, rgba(10,17,30,.75) 0%, rgba(10,17,30,.45) 45%, rgba(10,17,30,0) 75%), url(/images/hero-network.jpg) right center / cover no-repeat, var(--zl-navy); color: #fff; padding: 120px 0 108px; }
/* 画像はユーザー支給（2026-11） */
.zl-hero h1 { font-size: 2.4rem; font-weight: bold; margin-bottom: .6em; max-width: 15em; }
.zl-hero p { font-size: 1.1rem; color: rgba(255,255,255,.85); max-width: 720px; }
.zl-hero .zl-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; padding: 0; list-style: none; }
.zl-hero .zl-tags li { border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 2px 14px; font-size: .88rem; }

/* 下層ページの見出し */
.zl-page-head { background: var(--zl-navy); color: #fff; padding: 56px 0 44px; }
.zl-page-head h1 { font-size: 2rem; font-weight: bold; margin: 0; }
.zl-page-head p { color: rgba(255,255,255,.85); margin: .6em 0 0; max-width: 760px; }
.zl-breadcrumb { font-size: .82rem; color: rgba(255,255,255,.7); margin-bottom: 10px; }
.zl-breadcrumb a { color: rgba(255,255,255,.85); }

/* カード */
.zl-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.zl-cards-2 { grid-template-columns: repeat(2, 1fr); }
.zl-card { background: #fff; border: 1px solid var(--zl-line); border-radius: var(--zl-radius); padding: 26px; display: flex; flex-direction: column; height: 100%; }
.zl-card h3 { font-size: 1.12rem; font-weight: bold; color: var(--zl-navy); }
.zl-card p { color: var(--zl-muted); }
.zl-card .zl-more { margin-top: auto; font-weight: bold; text-decoration: none; }
.zl-card .zl-more::after { content: " →"; }
a.zl-card { color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
a.zl-card:hover { border-color: var(--zl-navy-2); box-shadow: 0 6px 18px rgba(27,42,65,.08); }
.zl-num { font-size: .8rem; font-weight: bold; color: #a8761f; }

/* お困りごと */
.zl-issues { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; padding: 0; list-style: none; max-width: 900px; margin: 0 auto; }
.zl-issues li { background: #fff; border: 1px solid var(--zl-line); border-radius: var(--zl-radius); padding: 14px 18px 14px 44px; position: relative; }
.zl-issues li::before { content: "?"; position: absolute; left: 14px; top: 13px; width: 20px; height: 20px; border-radius: 50%; background: var(--zl-navy); color: #fff; font-size: .75rem; text-align: center; line-height: 20px; font-weight: bold; }

/* 選ばれる理由 */
.zl-reasons { counter-reset: reason; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.zl-reason { counter-increment: reason; border-left: 4px solid var(--zl-accent); padding: 4px 0 4px 20px; }
.zl-reason::before { content: "0" counter(reason); display: block; font-size: 1.6rem; font-weight: bold; color: rgba(255,255,255,.35); }
.zl-reason h3 { font-size: 1.12rem; font-weight: bold; }
.zl-reason p { color: rgba(255,255,255,.82); margin: 0; }

/* 事例カード */
.zl-case-meta { font-size: .82rem; color: var(--zl-muted); margin-bottom: 6px; }
.zl-chip { display: inline-block; font-size: .75rem; border-radius: 999px; padding: 1px 10px; background: var(--zl-soft); color: var(--zl-navy); border: 1px solid var(--zl-line); margin: 0 4px 4px 0; }

/* 事例ページ */
.zl-case-table th { width: 26%; background: var(--zl-soft); white-space: nowrap; }
.zl-case-body h2 { font-size: 1.25rem; font-weight: bold; margin-top: 2em; padding-bottom: .3em; border-bottom: 2px solid var(--zl-accent); }

/* 流れ */
.zl-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; counter-reset: step; }
.zl-steps li { counter-increment: step; background: #fff; border: 1px solid var(--zl-line); border-radius: var(--zl-radius); padding: 18px 16px; }
.zl-steps li::before { content: counter(step); display: inline-block; width: 28px; height: 28px; line-height: 28px; text-align: center; border-radius: 50%; background: var(--zl-navy); color: #fff; font-weight: bold; margin-bottom: 8px; }
.zl-steps h3 { font-size: 1rem; font-weight: bold; margin-bottom: .3em; }
.zl-steps p { font-size: .88rem; color: var(--zl-muted); margin: 0; }

/* 対応技術 */
.zl-tech { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.zl-tech div { background: #fff; border: 1px solid var(--zl-line); border-radius: var(--zl-radius); padding: 16px; }
.zl-tech h3 { font-size: .9rem; font-weight: bold; color: var(--zl-navy); margin-bottom: .4em; }
.zl-tech p { font-size: .88rem; color: var(--zl-muted); margin: 0; }

/* 料金の目安 */
.zl-price { width: 100%; border-collapse: collapse; background: #fff; }
.zl-price th, .zl-price td { border: 1px solid var(--zl-line); padding: 14px 16px; vertical-align: top; }
.zl-price th { background: var(--zl-soft); width: 34%; }
.zl-price td.zl-amount { font-weight: bold; white-space: nowrap; width: 22%; }
.zl-price tr.zl-common td, .zl-price tr.zl-common th { background: #fff8e1; }
.zl-price .zl-badge { display: inline-block; background: var(--zl-accent); color: var(--zl-ink); font-size: .72rem; font-weight: bold; border-radius: 4px; padding: 0 6px; margin-left: 6px; vertical-align: 2px; }

/* 担当・体制 */
.zl-profile { display: flex; gap: 28px; align-items: flex-start; }
.zl-profile .zl-avatar { flex: 0 0 96px; height: 96px; border-radius: 50%; background: var(--zl-soft); border: 1px solid var(--zl-line); display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: bold; color: var(--zl-navy); }

/* お知らせ */
.zl-news { list-style: none; padding: 0; margin: 0 auto; max-width: 900px; }
.zl-news li { display: flex; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--zl-line); }
.zl-news time { flex: 0 0 96px; color: var(--zl-muted); font-size: .9rem; }

/* 相談への誘導 */
.zl-cta { background: var(--zl-navy); color: #fff; text-align: center; padding: 64px 0; }
.zl-cta h2 { font-size: 1.6rem; font-weight: bold; }
.zl-cta p { color: rgba(255,255,255,.85); }

/* 画面幅が狭いと文字が画像の明るい部分に重なるので、重ねる色を濃くする */
@media (max-width: 1199px) {
	.zl-hero { background: linear-gradient(90deg, rgba(10,17,30,.88) 0%, rgba(10,17,30,.7) 60%, rgba(10,17,30,.35) 100%), url(/images/hero-network.jpg) 70% center / cover no-repeat, var(--zl-navy); }
}
/* スマートフォン */
@media (max-width: 991px) {
	.zl-cards, .zl-tech { grid-template-columns: repeat(2, 1fr); }
	.zl-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	.zl-section { padding: 48px 0; }
	.zl-hero { padding: 56px 0 48px; background: linear-gradient(rgba(10,17,30,.82), rgba(10,17,30,.82)), url(/images/hero-network.jpg) 75% center / cover no-repeat, var(--zl-navy); }
	.zl-hero h1 { font-size: 1.6rem; }
	.zl-title { font-size: 1.4rem; }
	.zl-page-head h1 { font-size: 1.5rem; }
	.zl-cards, .zl-cards-2, .zl-issues, .zl-reasons, .zl-steps, .zl-tech { grid-template-columns: 1fr; }
	.zl-profile { flex-direction: column; }
	.zl-price th, .zl-price td { display: block; width: 100%; }
	.zl-price td.zl-amount { white-space: normal; }
	.zl-news li { flex-direction: column; gap: 2px; }
}

/* 担当した工程 */
.zl-phases { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.zl-phases li { font-size: .82rem; padding: 3px 12px; border-radius: 4px; background: #fff; border: 1px dashed var(--zl-line); color: #9aa5b1; }
.zl-phases li.on { background: var(--zl-navy); border: 1px solid var(--zl-navy); color: #fff; font-weight: bold; }

/* 文書型のページ（採用情報・パートナー募集・プライバシーポリシー） */
.zl-doc h3 { font-size: 1.25rem; font-weight: bold; margin: 2.2em 0 .8em; padding-bottom: .3em; border-bottom: 2px solid var(--zl-accent); }
.zl-doc h3:first-child { margin-top: 0; }
.zl-doc h4 { font-size: 1.08rem; font-weight: bold; color: var(--zl-navy); }
.zl-doc .table th { background: var(--zl-soft); width: 22%; white-space: nowrap; }
.zl-doc > .border { border-radius: var(--zl-radius); background: var(--zl-soft); }

/* 2026-11 以前に作った案内ページ（/php/・/security/・/engineer/）のヒーローを新デザインの色に揃える */
body .lp-hero { background: linear-gradient(135deg, var(--zl-navy) 0%, var(--zl-navy-2) 100%); }
.zl-news-more { max-width: 900px; margin: 16px auto 0; }
.zl-news-more summary { cursor: pointer; color: var(--zl-muted); font-size: .9rem; }
