/* サービス紹介ページ共通(2026-11-25)。色・余白はトップ(index.html)に合わせている */
:root {
  --ink: #0f1b2d; --text: #334155; --muted: #64748b; --line: #e2e8f0;
  --bg: #ffffff; --bg-soft: #f6f8fb; --accent: #2563eb; --accent-dark: #1d4ed8; --accent-soft: #eaf1ff;
  --line-green: #06c755; --radius: 16px;
  --shadow: 0 1px 2px rgba(15,27,45,.06), 0 8px 24px rgba(15,27,45,.06);
  --wrap: 960px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
  font-size: 16px; line-height: 1.85; -webkit-font-smoothing: antialiased; overflow-wrap: anywhere;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3 { color: var(--ink); line-height: 1.45; margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.nobr { white-space: nowrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-size: 15px; font-weight: 700; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: background .2s, transform .1s, border-color .2s, color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #1e2f4a; color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 12px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--ink); text-decoration: none; font-weight: 700; white-space: nowrap; }
.brand span { overflow: hidden; text-overflow: ellipsis; }
.brand img { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); }
.header-cta { margin-left: auto; padding: 10px 18px; font-size: 14px; white-space: nowrap; }

.crumbs { font-size: 13px; color: var(--muted); padding-top: 20px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: #94a3b8; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }

.page-hero {
  background:
    radial-gradient(800px 360px at 90% -20%, rgba(37,99,235,.12), transparent 60%),
    var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.page-hero .inner { padding: 36px 0 56px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; color: var(--accent); background: var(--accent-soft); padding: 4px 12px; border-radius: 999px; margin-bottom: 16px; }
.page-hero h1 { font-size: clamp(28px, 4.6vw, 42px); font-weight: 900; letter-spacing: .01em; }
.page-hero .lead { font-size: 17px; margin: 18px 0 28px; max-width: 40em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

section.block { padding: 72px 0; }
section.block.alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { margin-bottom: 28px; }
.sec-head h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 900; }
.sec-head p { color: var(--muted); margin: 8px 0 0; }

.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.card h3 { font-size: 17px; margin-bottom: 6px; }
.card p { font-size: 15px; margin: 0; }

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding: 16px 18px 16px 50px; background: #fff; border: 1px solid var(--line); border-radius: 14px; font-size: 15px; }
.checks li::before {
  content: ""; position: absolute; left: 18px; top: 19px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%232563eb' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat;
}

.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before {
  content: "STEP " counter(step); display: inline-block; font-size: 12px; font-weight: 900; letter-spacing: .08em;
  color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 2px 10px; margin-bottom: 10px;
}

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { font-size: 13px; background: #fff; border: 1px solid var(--line); color: var(--ink); border-radius: 999px; padding: 4px 12px; }

.case { display: block; text-decoration: none; color: inherit; transition: border-color .2s, transform .2s; }
.case:hover { border-color: #bcd0f7; transform: translateY(-2px); color: inherit; }
.case .client { font-size: 13px; color: var(--muted); }
.case h3 { margin: 2px 0 8px; }
.case .more { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--accent); }

.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.faq summary { list-style: none; cursor: pointer; padding: 16px 48px 16px 18px; position: relative; font-weight: 700; color: var(--ink); font-size: 15.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 18px 18px; font-size: 15px; }
.faq details > div p { margin: 0; }

.cta-box { text-align: center; background: var(--ink); color: #cbd5e1; border-radius: 24px; padding: 44px 24px; }
.cta-box h2 { color: #fff; font-size: clamp(20px, 3vw, 26px); }
.cta-box p { margin: 10px 0 24px; }
.cta-box .hero-actions { justify-content: center; }
.cta-box .btn-primary { background: #fff; color: var(--ink); }
.cta-box .btn-primary:hover { background: var(--accent-soft); color: var(--ink); }
.cta-box .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.cta-box .btn-ghost:hover { border-color: #fff; color: #fff; }
.cta-box small { display: block; margin-top: 18px; font-size: 13px; color: #94a3b8; }
.cta-box small a { color: #cbd5e1; }

.related { display: flex; flex-wrap: wrap; gap: 10px; }
.related a { display: inline-flex; padding: 10px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.related a:hover { border-color: #bcd0f7; color: var(--accent); }

.site-footer { background: var(--ink); color: #cbd5e1; padding: 40px 0 calc(28px + env(safe-area-inset-bottom)); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.site-footer b { color: #fff; font-size: 16px; }
.site-footer a { color: #cbd5e1; }
.site-footer p { margin: 0; line-height: 1.9; }
.site-footer .links { display: flex; flex-direction: column; gap: 4px; }
.site-footer .copy { width: 100%; border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; font-size: 12px; color: #94a3b8; }

@media (max-width: 760px) {
  .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); }
  section.block { padding: 52px 0; }
  .page-hero .inner { padding: 24px 0 40px; }
  .page-hero .lead { font-size: 16px; }
  .hero-actions .btn { flex: 1 1 180px; }
  .brand span { font-size: 15px; }
}
@media (max-width: 360px) {
  .brand img { width: 32px; height: 32px; }
  .brand span { font-size: 14px; }
  .header-cta { padding: 8px 12px; font-size: 13px; }
}

/* 事例ページ(pc.html / jts.html) */
.wrap.narrow { max-width: 820px; }
.page-hero h1.case-title { font-size: clamp(24px, 3.8vw, 34px); }
.block .wrap > p { margin: 0 0 14px; }
.block .wrap > .tags { margin: 4px 0 18px; }
.points { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.points li { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; padding: 16px 18px; font-size: 15px; }
.points li strong { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; }