/* 日源株式会社 技術サービスサイト（共通スタイル） */
:root {
  --ink: #1d2733;
  --muted: #5b6878;
  --line: #e3e8ee;
  --bg: #ffffff;
  --soft: #f5f7fa;
  --brand: #1f5f8b;
  --brand-dark: #164565;
  --accent: #2e8b57;
  --radius: 10px;
  --max: 1080px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", "Noto Sans JP", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  font-size: 16px;
}
a { color: var(--brand); }
img { max-width: 100%; height: auto; display: block; }
.skip-link { position: absolute; left: -999px; top: 0; }
.skip-link:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ヘッダー */
header.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; flex-wrap: wrap; }
.brand { font-weight: 700; color: var(--ink); text-decoration: none; }
.brand small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; flex-wrap: wrap; }
nav a { color: var(--ink); text-decoration: none; font-size: 14px; }
nav a:hover, nav a[aria-current="page"] { color: var(--brand); text-decoration: underline; }

/* 見出し・ヒーロー */
.hero { background: var(--soft); padding: 72px 0 64px; }
.hero .eyebrow, .section .eyebrow { font-size: 13px; letter-spacing: .08em; color: var(--brand); font-weight: 700; margin: 0 0 8px; }
.hero h1 { font-size: clamp(26px, 4vw, 38px); line-height: 1.4; margin: 0 0 16px; }
.hero p.lead { font-size: 17px; color: var(--muted); max-width: 720px; margin: 0 0 28px; }
h1, h2, h3 { line-height: 1.4; }
.section { padding: 56px 0; }
.section.alt { background: var(--soft); }
.section h2 { font-size: clamp(22px, 3vw, 28px); margin: 0 0 12px; }
.section > .wrap > p.intro { color: var(--muted); margin: 0 0 28px; max-width: 760px; }

/* ボタン */
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; background: var(--brand); color: #fff; text-decoration: none; font-weight: 700; margin: 4px 8px 4px 0; }
.btn:hover { background: var(--brand-dark); }
.btn.secondary { background: #fff; color: var(--brand); border: 2px solid var(--brand); }
.btn.secondary:hover { background: var(--soft); }

/* カード */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0 0 10px; color: var(--muted); }
.card ul { margin: 0; padding-left: 20px; color: var(--muted); }
.card .more { font-weight: 700; }

/* 流れ */
ol.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
ol.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px 16px 64px; position: relative; }
ol.steps li::before { content: counter(step); position: absolute; left: 20px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
ol.steps strong { display: block; }
ol.steps span { color: var(--muted); font-size: 15px; }

/* 表 */
table.info { width: 100%; border-collapse: collapse; background: #fff; }
table.info th, table.info td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.info th { width: 30%; color: var(--muted); font-weight: 500; }

/* フッター */
footer.site-footer { background: #1d2733; color: #d8dee6; padding: 36px 0; font-size: 14px; }
footer.site-footer a { color: #fff; }
footer.site-footer .wrap { display: grid; gap: 10px; }
footer.site-footer small { color: #aab4c0; }

@media (max-width: 640px) {
  .hero { padding: 48px 0 44px; }
  .section { padding: 44px 0; }
  table.info th { width: 36%; }
  .btn { display: block; text-align: center; margin: 8px 0; }
}
