/* exx.jp — 共通スタイルシート */

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f4f7fb;
  --color-border: #e2e8f0;
  --color-text: #182236;
  --color-text-muted: #5b6577;
  --color-text-faint: #8b95a7;
  --color-primary: #2454e8;
  --color-primary-dark: #173bb0;
  --color-primary-light: #eaf0ff;
  --color-navy: #0e1830;
  --color-navy-alt: #16223f;
  --color-success: #16a35a;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 18px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.12);
  --max-width: 1120px;
  --font-sans: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.4; margin: 0 0 0.6em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ── ヘッダー ─────────────────────────────────── */
.site-header {
  background: var(--color-navy);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.01em;
}
.site-logo:hover { text-decoration: none; opacity: 0.85; }
.site-logo svg { flex-shrink: 0; }
.site-logo__dot { color: #7fa2ff; }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  padding: 8px;
  cursor: pointer;
}
.site-nav ul {
  display: flex;
  gap: 28px;
}
.site-nav a {
  color: #c7d2e8;
  font-weight: 600;
  font-size: 15px;
}
.site-nav a:hover { color: #fff; text-decoration: none; }
.site-nav__item.is-active a { color: #fff; }

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 64px;
    background: var(--color-navy-alt);
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 8px 0; }
  .site-nav li { padding: 0 20px; }
  .site-nav a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
}

/* ── パンくず ─────────────────────────────────── */
.breadcrumb {
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}
.breadcrumb ol {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: var(--color-text-faint);
}
.breadcrumb li:not(:last-child)::after { content: "›"; margin-left: 6px; color: var(--color-text-faint); }
.breadcrumb li { display: inline-flex; gap: 6px; list-style: none; }
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb li[aria-current="page"] { color: var(--color-text); font-weight: 600; }

/* ── ヒーロー ─────────────────────────────────── */
.hero {
  background: linear-gradient(160deg, var(--color-navy) 0%, #1a2c58 100%);
  color: #fff;
  padding: 72px 0 88px;
}
.hero__inner { max-width: 760px; }
.hero__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #9db4ff;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(28px, 4.2vw, 44px);
  margin-bottom: 20px;
}
.hero p.lead {
  font-size: 17px;
  color: #c7d2e8;
  margin-bottom: 32px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ── ブランドノート(exx = Express) ─────────────────────────────────── */
.brand-note {
  padding: 22px 0;
  text-align: center;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}
.brand-note p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 14.5px;
}
.brand-note__en {
  font-weight: 800;
  font-style: italic;
  color: var(--color-primary);
  letter-spacing: 0.01em;
}

/* ── ボタン ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--color-primary); color: #fff; box-shadow: 0 8px 20px rgba(36,84,232,0.35); }
.btn-primary:hover { background: var(--color-primary-dark); }
.btn-ghost { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.25); }
.btn-ghost:hover { background: rgba(255,255,255,0.16); }
.btn-outline { background: #fff; color: var(--color-primary); border-color: var(--color-border); }
.btn-outline:hover { border-color: var(--color-primary); }
.btn-block { width: 100%; justify-content: center; }
.btn svg { width: 18px; height: 18px; }

/* ── セクション共通 ─────────────────────────────────── */
.section { padding: 72px 0; }
.section--alt { background: var(--color-bg-alt); }
.section__head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section__eyebrow {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.section h2 { font-size: clamp(24px, 3vw, 32px); }
.section__lead { color: var(--color-text-muted); font-size: 16px; }

/* ── ツールカード ─────────────────────────────────── */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .tool-grid { grid-template-columns: 1fr; } }

.tool-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.tool-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.tool-card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.tool-card__icon svg { width: 26px; height: 26px; }
.tool-card h3 { font-size: 19px; margin-bottom: 6px; }
.tool-card__tagline { font-size: 14px; color: var(--color-primary); font-weight: 600; margin-bottom: 12px; }
.tool-card p.summary { color: var(--color-text-muted); font-size: 14.5px; flex-grow: 1; margin-bottom: 22px; }
.tool-card__links { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── ユースケース ─────────────────────────────────── */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .usecase-grid { grid-template-columns: 1fr; } }
.usecase-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
}
.usecase-card h3 { font-size: 16px; margin-bottom: 8px; }
.usecase-card p { color: var(--color-text-muted); font-size: 14.5px; margin: 0; }

/* ── 強み ─────────────────────────────────── */
.strength-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 900px) { .strength-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .strength-grid { grid-template-columns: 1fr; } }
.strength-item { text-align: center; }
.strength-item__icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
}
.strength-item h3 { font-size: 15.5px; margin-bottom: 6px; }
.strength-item p { color: var(--color-text-muted); font-size: 14px; margin: 0; }

/* ── ツール詳細ページ ─────────────────────────────────── */
.tool-hero {
  background: linear-gradient(160deg, var(--color-navy) 0%, #1a2c58 100%);
  color: #fff;
  padding: 56px 0 68px;
}
.tool-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 860px) { .tool-hero__grid { grid-template-columns: 1fr; } }
.tool-hero h1 { font-size: clamp(24px, 3.6vw, 34px); margin-bottom: 14px; }
.tool-hero .tagline { font-size: 17px; color: #b9c8f0; margin-bottom: 22px; }
.tool-hero__panel {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.tool-hero__panel h2 { font-size: 15px; color: #9db4ff; margin-bottom: 14px; }
.tool-hero__panel ul { display: flex; flex-direction: column; gap: 10px; }
.tool-hero__panel li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: #e4eaf9; }
.tool-hero__panel li svg { flex-shrink: 0; width: 18px; height: 18px; color: #7fd39a; margin-top: 2px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
@media (max-width: 760px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  gap: 16px;
}
.feature-item__icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
}
.feature-item__icon svg { width: 20px; height: 20px; }
.feature-item h3 { font-size: 15.5px; margin-bottom: 6px; }
.feature-item p { color: var(--color-text-muted); font-size: 14px; margin: 0; }

/* ── 使い方ステップ ─────────────────────────────────── */
.steps { counter-reset: step; display: flex; flex-direction: column; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
}
.step:last-child { border-bottom: none; }
.step__num {
  counter-increment: step;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.step__num::before { content: counter(step); }
.step h3 { font-size: 16.5px; margin-bottom: 6px; }
.step p { color: var(--color-text-muted); margin: 0; font-size: 14.5px; }

/* ── FAQ ─────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 4px 22px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15.5px;
  padding: 18px 0;
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 16px;
  font-size: 22px;
  color: var(--color-primary);
  font-weight: 400;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { color: var(--color-text-muted); padding-bottom: 18px; margin: 0; font-size: 14.5px; }

/* ── CTA帯 ─────────────────────────────────── */
.cta-band {
  background: var(--color-primary-light);
  border-radius: var(--radius-lg);
  padding: 44px;
  text-align: center;
}
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { color: var(--color-text-muted); margin-bottom: 26px; }

/* ── フッター ─────────────────────────────────── */
.site-footer { background: var(--color-navy); color: #c7d2e8; padding: 56px 0 0; margin-top: 40px; }
.site-footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}
@media (max-width: 700px) { .site-footer__inner { grid-template-columns: 1fr; } }
.site-footer__logo { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.site-footer__desc { font-size: 13.5px; color: #94a3c4; max-width: 320px; }
.site-footer__heading { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 14px; letter-spacing: 0.03em; }
.site-footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.site-footer__col a { color: #b3bfdc; font-size: 14px; }
.site-footer__col a:hover { color: #fff; }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0;
  font-size: 12.5px;
  color: #7f8bad;
}
