/* =============================
   Reset & Base
   ============================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #0f172a;
  --navy2:  #1e293b;
  --blue:   #2563eb;
  --blue-h: #1d4ed8;
  --gray:   #64748b;
  --gray-l: #f1f5f9;
  --gray-m: #e2e8f0;
  --white:  #ffffff;
  --red:    #ef4444;
  --yellow: #f59e0b;
  --green:  #22c55e;
  --high:   #ef4444;
  --med:    #f59e0b;
  --low:    #22c55e;

  --font: 'Noto Sans JP', 'Inter', system-ui, sans-serif;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.14);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--navy);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================
   Typography helpers
   ============================= */
.section-eyebrow {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .6rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.015em;
  margin-bottom: 2rem;
}

/* =============================
   Buttons
   ============================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: all .2s;
  padding: .65rem 1.4rem;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn--primary  {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(37,99,235,.3);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,99,235,.42);
}

.btn--outline  { background: transparent; color: var(--navy); border-color: var(--gray-m); }
.btn--outline:hover { border-color: var(--navy); }

.btn--ghost    { background: rgba(255,255,255,.15); color: var(--white); border-color: rgba(255,255,255,.4); }
.btn--ghost:hover { background: rgba(255,255,255,.25); }

.btn--white         { background: var(--white); color: var(--blue); }
.btn--white:hover   { background: var(--gray-l); }

.btn--outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn--outline-white:hover { background: rgba(255,255,255,.1); }

.btn--lg { padding: .85rem 2rem; font-size: 1rem; }

/* =============================
   Header
   ============================= */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-m);
  transition: box-shadow .2s;
}
.header.scrolled { box-shadow: var(--shadow); }

.header__inner {
  display: flex;
  align-items: center;
  /* ナビ項目(お知らせ/採用)追加により1100px幅コンテナに収める必要があるため縮小 */
  gap: 1.5rem;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.02em;
  flex-shrink: 0;
}

.logo__icon {
  height: 30px;
  width: auto;
  display: block;
}

.logo__text {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.logo__product {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--blue);
  background: rgba(37, 99, 235, .1);
  padding: .2rem .55rem;
  border-radius: 999px;
}

.nav {
  display: flex;
  gap: 1.3rem;
  flex: 1;
}

.nav a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray);
  transition: color .15s;
  white-space: nowrap;
}
.nav a:hover { color: var(--navy); }
.nav a.is-active { color: var(--navy); }
.mobile-menu a.is-active { color: var(--blue); }

.header__cta {
  display: flex;
  gap: .75rem;
  flex-shrink: 0;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all .2s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: .5rem;
  padding: 1rem 24px 1.5rem;
  border-top: 1px solid var(--gray-m);
}
.mobile-menu a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  padding: .5rem 0;
}
.mobile-menu.open { display: flex; }

/* =============================
   Hero
   ============================= */
.hero {
  position: relative;
  background: #0b1120;
  color: var(--white);
  padding: 6rem 0 5rem;
  overflow: hidden;
  isolation: isolate;
}

/* 動くグラデーションオーブ + グリッド背景 */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148,163,184,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,.07) 1px, transparent 1px);
  background-size: 44px 44px;
  /* 中央上部から外周へフェードさせ、グリッドの主張を抑える */
  -webkit-mask-image: radial-gradient(ellipse 80% 75% at 50% 30%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 75% at 50% 30%, #000 30%, transparent 100%);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  will-change: transform;
}
.orb--1 { width: 480px; height: 480px; background: #1d4ed8; top: -160px; left: -120px; animation: drift 16s ease-in-out infinite alternate; }
.orb--2 { width: 440px; height: 440px; background: #0e7490; bottom: -200px; right: -100px; animation: drift 20s ease-in-out infinite alternate-reverse; }
.orb--3 { width: 320px; height: 320px; background: #4f46e5; top: 15%; right: 28%; opacity: .35; animation: drift 24s ease-in-out infinite alternate; }

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(60px, 40px, 0) scale(1.15); }
}

/* ファーストビューの段差フェードイン（ロード時） */
.hero__eyebrow, .hero__risk-line, .hero__headline, .hero__sub, .hero__actions {
  opacity: 0;
  animation: fadeUp .7s ease-out forwards;
}
.hero__risk-line { animation-delay: .05s; }
.hero__headline { animation-delay: .1s; }
.hero__sub      { animation-delay: .2s; }
.hero__actions  { animation-delay: .3s; }
.hero__visual   { opacity: 0; animation: fadeUp .8s ease-out .25s forwards; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero__eyebrow {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #93c5fd;
  margin-bottom: .8rem;
}

.hero__headline {
  font-size: clamp(1.4rem, 2.9vw, 2.2rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.2rem;
}

/* 1行目「会社の不正会計リスクを、」が幅の狭いカラムで折れないよう強制的に1行に保つ */
.hero__headline-line1 { white-space: nowrap; }

.hero__risk-line {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fca5a5;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.hero__sub {
  font-size: 1.05rem;
  color: #cbd5e1;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Dashboard mock（すりガラス） */
.dashboard-mock {
  background: rgba(15,23,42,.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(148,163,184,.22);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 24px 64px rgba(2,6,23,.5),
    0 0 80px rgba(37,99,235,.18);
}

.mock-header {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: rgba(2,6,23,.5);
  border-bottom: 1px solid rgba(148,163,184,.12);
  padding: .75rem 1rem;
  font-size: .8rem;
  color: #94a3b8;
}

.mock-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: #34d399;
}
.mock-live::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px rgba(52,211,153,.8);
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: .25; } }

.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mock-dot.red    { background: #ef4444; }
.mock-dot.yellow { background: #f59e0b; }
.mock-dot.green  { background: #22c55e; }
.mock-title { margin-left: .4rem; font-weight: 500; }

.mock-body { padding: 1rem; display: flex; flex-direction: column; gap: .6rem; }

.mock-row {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: .75rem;
  background: rgba(2,6,23,.55);
  border: 1px solid rgba(148,163,184,.1);
  border-radius: 6px;
  padding: .6rem .8rem;
  font-size: .82rem;
}

/* リスクスコアバー（JSが --fill をスコア%にセットして伸ばす） */
.mock-row::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: var(--fill, 0%);
  background: var(--bar-color, #3b82f6);
  transition: width 1.1s cubic-bezier(.22,1,.36,1) .25s;
}
.mock-row[data-level="high"]   { --bar-color: #ef4444; }
.mock-row[data-level="medium"] { --bar-color: #f59e0b; }
.mock-row[data-level="low"]    { --bar-color: #22c55e; }

.mock-company { flex: 1; color: #e2e8f0; }
.mock-alert   { font-size: .75rem; color: #94a3b8; }

.mock-score {
  font-weight: 700;
  font-size: .78rem;
  padding: .2rem .55rem;
  border-radius: 4px;
}
.mock-score.high   { background: rgba(239,68,68,.2); color: #fca5a5; }
.mock-score.medium { background: rgba(245,158,11,.2); color: #fcd34d; }
.mock-score.low    { background: rgba(34,197,94,.2);  color: #86efac; }

.mock-alert-box {
  background: rgba(239,68,68,.1);
  border: 1px solid rgba(239,68,68,.3);
  border-radius: 6px;
  padding: .7rem .9rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.mock-alert-label  { font-size: .8rem; font-weight: 600; color: #fca5a5; }
.mock-alert-detail { font-size: .75rem; color: #94a3b8; }

/* JS制御のモック演出: .mock-animate が付くまでは通常表示（no-JSでも崩れない） */
.mock-animate .mock-row,
.mock-animate .mock-alert-box {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s ease, transform .5s ease;
}
.mock-animate .mock-row.in,
.mock-animate .mock-alert-box.in {
  opacity: 1;
  transform: none;
}
.mock-animate .mock-alert-box.in { animation: alertPulse 2.2s ease-in-out .5s 2; }

@keyframes alertPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
  50%      { box-shadow: 0 0 24px 2px rgba(239,68,68,.35); border-color: rgba(239,68,68,.65); }
}

/* =============================
   Problem
   ============================= */
.problem {
  padding: 5rem 0;
  background: var(--gray-l);
}
.problem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* 構造的課題の結論（本質的課題）を強調するボックス。value section の注記にも共用 */
.insight-box {
  background: var(--white);
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  padding: 1.2rem 1.6rem;
  font-size: .95rem;
  color: var(--navy2);
  line-height: 1.7;
  margin-top: 2rem;
}
.insight-box strong { color: var(--navy); }
.problem-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
}
.problem-card__icon { font-size: 2rem; margin-bottom: .8rem; }
.problem-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .6rem; }
.problem-card p  { font-size: .9rem; color: var(--gray); line-height: 1.7; }

/* =============================
   Value Props
   ============================= */
.value {
  padding: 5rem 0;
}
.value__lead {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.8;
  max-width: 640px;
  margin-bottom: 2.5rem;
}
.value__note {
  margin-top: 2rem;
  font-size: .85rem;
  color: var(--gray);
}
.value__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.value-card {
  border: 1px solid var(--gray-m);
  border-radius: var(--radius);
  padding: 2rem;
  transition: box-shadow .2s, border-color .2s;
}
.value-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--blue);
}
.value-card__num {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gray-m);
  line-height: 1;
  margin-bottom: .8rem;
}
.value-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .7rem; }
.value-card p  { font-size: .9rem; color: var(--gray); line-height: 1.75; }

/* =============================
   How It Works
   ============================= */
.howto {
  padding: 5rem 0;
  background: var(--gray-l);
  text-align: center;
}
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}
.step {
  flex: 1;
  max-width: 280px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
}
.step__num {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-size: .78rem;
  font-weight: 700;
  padding: .25rem .7rem;
  border-radius: 20px;
  margin-bottom: .9rem;
}
.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: .6rem; }
.step p  { font-size: .88rem; color: var(--gray); line-height: 1.7; }
.step__arrow {
  font-size: 1.5rem;
  color: var(--gray-m);
  margin-top: 3.2rem;
  flex-shrink: 0;
}

/* =============================
   Detection Patterns
   ============================= */
.patterns {
  padding: 5rem 0;
}
.patterns__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.patterns__text p { font-size: .95rem; color: var(--gray); line-height: 1.8; }
.patterns__subtitle {
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gray);
  margin-bottom: 1rem;
}
.pattern-card {
  background: var(--gray-l);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  margin-bottom: 1rem;
}
.pattern-tag {
  font-size: .75rem;
  font-weight: 600;
  background: var(--blue);
  color: var(--white);
  padding: .2rem .6rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: .6rem;
}
.pattern-card h4 { font-size: .95rem; font-weight: 700; margin-bottom: .4rem; }
.pattern-card p  { font-size: .88rem; color: var(--gray); line-height: 1.7; }
.patterns__note  { font-size: .8rem; color: var(--gray); margin-top: .5rem; }

/* =============================
   Output Example
   ============================= */
.output {
  padding: 5rem 0;
  background: var(--gray-l);
}
.output__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.output-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem;
  border-left: 4px solid transparent;
  box-shadow: var(--shadow);
}
.output-card--high   { border-left-color: var(--high); }
.output-card--medium { border-left-color: var(--med); }

.output-card__header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}
.output-badge {
  font-size: .72rem;
  font-weight: 700;
  padding: .2rem .55rem;
  border-radius: 4px;
}
.output-badge.high   { background: rgba(239,68,68,.1);  color: var(--high); }
.output-badge.medium { background: rgba(245,158,11,.1); color: #b45309; }

.output-company { font-size: .9rem; font-weight: 600; flex: 1; }
.output-score   { font-size: .85rem; font-weight: 700; color: var(--gray); }

.output-desc { font-size: .92rem; line-height: 1.75; margin-bottom: .8rem; }
.output-meta { font-size: .78rem; color: var(--gray); }

/* =============================
   Risk / Cost of Inaction
   ============================= */
.risk {
  padding: 5rem 0;
}
.risk__lead {
  font-size: 1rem;
  color: var(--gray);
  margin-bottom: 2rem;
  max-width: 640px;
}
.risk__table-wrap {
  overflow-x: auto;
  margin-bottom: 3rem;
}
.risk-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
}
.risk-table th {
  background: var(--navy);
  color: var(--white);
  padding: .75rem 1.2rem;
  text-align: left;
  font-weight: 600;
}
.risk-table td {
  padding: .85rem 1.2rem;
  border-bottom: 1px solid var(--gray-m);
  vertical-align: top;
}
.risk-table td:first-child { font-weight: 600; white-space: nowrap; width: 180px; }
.risk-table tr:nth-child(even) td { background: var(--gray-l); }

.loss-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.loss-card {
  background: var(--gray-l);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
}
.loss-card__icon { font-size: 1.6rem; margin-bottom: .6rem; color: var(--blue); }
.loss-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .8rem; }
.loss-card ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.loss-card li {
  padding-left: 1rem;
  position: relative;
  font-size: .88rem;
  line-height: 1.65;
  color: var(--navy2);
}
.loss-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .6rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
}

.risk__opinion {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2rem;
}
.risk__opinion h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #92400e;
}
.risk__opinion ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.risk__opinion li {
  padding-left: 1.2rem;
  position: relative;
  font-size: .92rem;
  line-height: 1.7;
  color: var(--navy2);
}
.risk__opinion li::before {
  content: '▶';
  position: absolute;
  left: 0;
  font-size: .65rem;
  top: .4rem;
  color: #f97316;
}
.risk__summary {
  margin-top: 1rem;
  font-weight: 600;
  color: #92400e;
}

.risk__cta-box {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
}
.risk__cta-copy {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.4rem;
}
.risk__cta-box blockquote {
  border-left: 4px solid #3b82f6;
  padding-left: 1.2rem;
  color: #93c5fd;
  font-style: italic;
  line-height: 1.8;
}

/* =============================
   Early Response (Pivot)
   ============================= */
.pivot {
  padding: 5rem 0;
  text-align: center;
}
.pivot__inner {
  max-width: 760px;
}
.pivot__lead {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.85;
  margin-bottom: 2.5rem;
}
.pivot__quote-box {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
}
.pivot__quote-box blockquote {
  border-left: 4px solid #3b82f6;
  padding-left: 1.2rem;
  color: #93c5fd;
  font-style: italic;
  line-height: 1.8;
  text-align: left;
}

/* =============================
   Target Audience
   ============================= */
.audience {
  padding: 5rem 0;
  background: var(--gray-l);
}
.audience__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
}
.audience-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.audience-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 1.2rem; }
.audience-card ul { list-style: none; display: flex; flex-direction: column; gap: .8rem; }
.audience-card li {
  padding-left: 1.3rem;
  position: relative;
  font-size: .92rem;
  line-height: 1.6;
  color: var(--navy2);
}
.audience-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}
.audience__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.audience__tag {
  background: var(--gray-l);
  border: 1px solid var(--gray-m);
  border-radius: 999px;
  padding: .5rem 1rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy2);
}

/* =============================
   Cases
   ============================= */
.cases {
  padding: 5rem 0;
  background: var(--gray-l);
}
.cases__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.case-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.case-card__tag {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-size: .75rem;
  font-weight: 600;
  padding: .2rem .7rem;
  border-radius: 4px;
  margin-bottom: .8rem;
}
.case-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 1rem; }
.case-challenge, .case-result { font-size: .9rem; line-height: 1.75; color: var(--navy2); margin-bottom: .6rem; }

/* =============================
   Pricing
   ============================= */
.pricing {
  padding: 5rem 0;
}
.pricing__lead {
  font-size: 1rem;
  color: var(--gray);
  margin-bottom: 2.5rem;
  max-width: 560px;
}
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}
.pricing-card {
  border: 1px solid var(--gray-m);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  transition: box-shadow .2s, border-color .2s;
}
.pricing-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--blue);
}
.pricing-card--featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(37,99,235,.15);
}
.pricing-card__tag {
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--blue);
  margin-bottom: .6rem;
}
.pricing-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .6rem; }
.pricing-card p  { font-size: .88rem; color: var(--gray); line-height: 1.7; }
.pricing__note {
  text-align: center;
  font-size: .95rem;
  font-weight: 600;
  color: var(--navy2);
  margin-bottom: 2rem;
}
.pricing__contact { text-align: center; }

/* =============================
   FAQ
   ============================= */
.faq {
  padding: 5rem 0;
  background: var(--gray-l);
}
.faq__list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.faq-item__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.6rem;
  font-size: .97rem;
  font-weight: 600;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--navy);
  gap: 1rem;
}
.faq-icon {
  font-size: 1.3rem;
  color: var(--blue);
  transition: transform .2s;
  flex-shrink: 0;
}
.faq-item__q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }

.faq-item__a {
  display: none;
  padding: 0 1.6rem 1.2rem;
}
.faq-item__a.open { display: block; }
.faq-item__a p { font-size: .9rem; color: var(--gray); line-height: 1.8; }

/* =============================
   CTA Banner
   ============================= */
.cta-banner {
  background: linear-gradient(135deg, var(--blue) 0%, #1d4ed8 100%);
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
}
.cta-banner__inner h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: .8rem;
}
.cta-banner__inner p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 2rem;
}
.cta-banner__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================
   Contact
   ============================= */
.contact {
  padding: 5.5rem 0;
  background: var(--gray-l);
}
.contact__inner {
  max-width: 760px;
  text-align: center;
}
.contact__lead {
  color: var(--gray);
  margin: -1rem 0 2.5rem;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-m);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5rem;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-field { margin-bottom: 1.2rem; }
.form-field label {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .88rem;
  font-weight: 600;
  margin-bottom: .4rem;
}
.form-req, .form-opt {
  font-size: .68rem;
  font-weight: 600;
  padding: .1rem .5rem;
  border-radius: 4px;
  line-height: 1.5;
}
.form-req { background: var(--red); color: var(--white); }
.form-opt { background: var(--gray-m); color: var(--gray); }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font: inherit;
  font-size: .95rem;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--gray-m);
  border-radius: 8px;
  padding: .65rem .9rem;
  transition: border-color .15s, box-shadow .15s;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: #b0bcc9; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}

/* スパムボット対策：画面から完全に隠す（display:noneだとボットが埋めないため位置外し） */
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-form__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .8rem;
  margin-top: .5rem;
}
.contact-form__footer .btn { min-width: 240px; }
.btn:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
}

.form-status {
  font-size: .88rem;
  min-height: 1.5em;
  text-align: center;
}
.form-status.is-success { color: #15803d; font-weight: 600; }
.form-status.is-error   { color: var(--red); font-weight: 600; }
.form-status.is-error a { text-decoration: underline; }

/* =============================
   Company page
   ============================= */
.page-hero {
  background: linear-gradient(135deg, var(--navy), var(--navy2));
  color: var(--white);
  padding: 4.5rem 0 3.5rem;
}
.page-hero__eyebrow {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #93c5fd;
  margin-bottom: .5rem;
}
.page-hero__title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -.015em;
}
.page-hero__lead {
  margin-top: .6rem;
  font-size: 1rem;
  color: #c7d6ee;
}
.page-hero__mission {
  margin-top: .8rem;
  font-size: 1rem;
  color: #e2e8f0;
  line-height: 1.7;
  max-width: 640px;
}

.company-rep { padding: 5rem 0; }
.company-rep__inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 1rem;
}
.company-rep__photo img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.company-rep__body p { margin-bottom: 1.2rem; color: var(--navy2); }
.company-rep__body p:last-child { margin-bottom: 0; }

.company-info {
  background: var(--gray-l);
  padding: 5rem 0;
}
.company-table-wrap { max-width: 760px; }
.company-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.company-table th,
.company-table td {
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--gray-m);
  text-align: left;
  font-size: .95rem;
  vertical-align: top;
}
.company-table tr:last-child th,
.company-table tr:last-child td { border-bottom: none; }
.company-table th {
  width: 32%;
  background: #f8fafc;
  font-weight: 600;
  white-space: nowrap;
}
.company-table__link {
  color: var(--blue);
  text-decoration: underline;
}
.company-table__link:hover { color: var(--blue-h); }

/* =============================
   News page
   ============================= */
.news-section { padding: 5rem 0; }
.news-list {
  max-width: 760px;
  border-top: 1px solid var(--gray-m);
}
.news-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--gray-m);
}
.news-item__date {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray);
  padding-top: .2rem;
}
.news-item__tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  color: var(--blue);
  background: rgba(37,99,235,.1);
  padding: .2rem .6rem;
  border-radius: 4px;
  margin-bottom: .6rem;
}
.news-item h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.news-item p  { font-size: .92rem; color: var(--gray); line-height: 1.75; }

/* =============================
   Careers page
   ============================= */
.careers-positions { padding: 5rem 0; }

/* ポジションが増えても一覧しやすいよう、求人ごとに開閉できるパネル形式 */
.job-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 820px;
}
.job-panel {
  background: var(--white);
  border: 1px solid var(--gray-m);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.job-panel__header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.6rem 2rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}
.job-panel__title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .8rem;
}
.job-panel__name { font-size: 1.15rem; font-weight: 700; color: var(--navy); }
.job-panel__type {
  font-size: .8rem;
  font-weight: 600;
  color: var(--blue);
  background: rgba(37,99,235,.1);
  padding: .25rem .65rem;
  border-radius: 4px;
  white-space: nowrap;
}
.job-icon {
  font-size: 1.5rem;
  color: var(--blue);
  transition: transform .2s;
  flex-shrink: 0;
}
.job-panel__header[aria-expanded="true"] .job-icon { transform: rotate(45deg); }

.job-panel__body { display: none; padding: 0 2rem 2.2rem; }
.job-panel__body.open {
  display: block;
  padding-top: 1.8rem;
  border-top: 1px solid var(--gray-m);
}

.job-card__section { margin-bottom: 1.8rem; }
.job-card__section:last-of-type { margin-bottom: 0; }
.job-card__section h4 {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--gray);
  text-transform: uppercase;
  margin-bottom: .8rem;
}
.job-card__section p { font-size: .92rem; color: var(--navy2); line-height: 1.8; }
.job-card__section ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.job-card__section li {
  font-size: .92rem;
  color: var(--navy2);
  line-height: 1.7;
  padding-left: 1.3rem;
  position: relative;
}
.job-card__section li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}
.job-card__footer {
  margin-top: 2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--gray-m);
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.job-card__note { font-size: .82rem; color: var(--gray); }

/* =============================
   Article page
   ============================= */
.article { padding: 5rem 0; }
.article__back {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 2rem;
}
.article__back:hover { color: var(--blue-h); }
.article__meta {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 2rem;
  font-size: .85rem;
  color: var(--gray);
}
.article__body { max-width: 720px; }
.article__lead {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--navy2);
  line-height: 1.9;
  margin-bottom: 2.5rem;
}
.article__section { margin-bottom: 2.4rem; }
.article__section:last-of-type { margin-bottom: 0; }
.article__section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}
.article__section p { font-size: .96rem; color: var(--navy2); line-height: 1.9; margin-bottom: 1rem; }
.article__section p:last-child { margin-bottom: 0; }
.article__section ul { list-style: none; display: flex; flex-direction: column; gap: .7rem; margin-bottom: 1rem; }
.article__section li {
  font-size: .95rem;
  color: var(--navy2);
  line-height: 1.75;
  padding-left: 1.3rem;
  position: relative;
}
.article__section li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}
.article__source {
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--gray-m);
  font-size: .85rem;
  color: var(--gray);
}
.article__source a { color: var(--blue); text-decoration: underline; }

/* =============================
   Footer
   ============================= */
.footer {
  background: var(--navy);
  color: #94a3b8;
}
.footer__inner {
  display: flex;
  gap: 4rem;
  padding: 3.5rem 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.footer__brand { flex: 1; }
.footer__logo-img { height: 64px; width: auto; display: block; margin-bottom: 1rem; }
.footer__brand p { font-size: .88rem; line-height: 1.7; }
.footer__mission { margin-top: .8rem; color: #cbd5e1; }
.footer__links {
  display: flex;
  gap: 3rem;
}
.footer__links > div { display: flex; flex-direction: column; gap: .5rem; }
.footer__links h4 { font-size: .85rem; font-weight: 600; color: var(--white); margin-bottom: .3rem; }
.footer__links a { font-size: .85rem; color: #94a3b8; transition: color .15s; }
.footer__links a:hover { color: var(--white); }

.footer__bottom {
  border-top: 1px solid #1e293b;
  padding: 1.2rem 24px;
  text-align: center;
  font-size: .82rem;
  color: #475569;
}

/* =============================
   Responsive
   ============================= */
@media (max-width: 1100px) {
  /* ナビ項目(お知らせ/採用)追加でコンテナ最大幅(1100px)でも収まらないため、この幅からハンバーガーに切替 */
  .nav         { display: none; }
  .header__cta { display: none; }
  .hamburger   { display: flex; }
}

@media (max-width: 960px) {
  .hero__inner     { grid-template-columns: 1fr; }
  .hero__visual    { display: none; }
  .problem__grid   { grid-template-columns: repeat(2, 1fr); }
  .value__grid     { grid-template-columns: repeat(2, 1fr); }
  .patterns__inner { grid-template-columns: 1fr; gap: 2rem; }
  .output__cards   { grid-template-columns: 1fr; }
  .cases__grid     { grid-template-columns: 1fr; }
  .pricing__grid   { grid-template-columns: repeat(2, 1fr); }
  .loss-grid       { grid-template-columns: repeat(2, 1fr); }
  .audience__grid  { grid-template-columns: 1fr; }
  .footer__inner   { flex-direction: column; gap: 2rem; }
  .footer__links   { flex-wrap: wrap; gap: 2rem; }
}

@media (max-width: 640px) {
  .problem__grid  { grid-template-columns: 1fr; }
  .value__grid    { grid-template-columns: 1fr; }
  .pricing__grid  { grid-template-columns: 1fr; }
  .loss-grid      { grid-template-columns: 1fr; }
  .steps          { flex-direction: column; align-items: center; }
  .step__arrow    { transform: rotate(90deg); margin: 0; }
  .hero__actions  { flex-direction: column; }

  .risk-table td:first-child { white-space: normal; width: auto; }

  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 1.6rem 1.2rem; }

  .company-rep__inner { grid-template-columns: 1fr; gap: 2rem; }
  .company-rep__photo { max-width: 320px; margin: 0 auto; }
  .company-table th { width: auto; white-space: normal; }

  .news-item      { grid-template-columns: 1fr; gap: .4rem; }
  .job-panel__header { padding: 1.2rem 1.4rem; }
  .job-panel__body   { padding: 0 1.4rem 1.6rem; }
  .job-panel__body.open { padding-top: 1.4rem; }
  .job-card__footer { flex-direction: column; align-items: stretch; }
  .job-card__footer .btn { width: 100%; }

  /* セクション縦paddingを圧縮し、スマホでの縦スクロール量を減らす */
  .hero { padding: 3.5rem 0 3rem; }
  .risk, .pivot, .problem, .value, .howto, .patterns, .output,
  .audience, .pricing, .faq, .cta-banner,
  .company-rep, .company-info,
  .news-section, .careers-positions, .article { padding: 3rem 0; }
  .contact  { padding: 3.5rem 0; }
  .page-hero { padding: 3rem 0 2.5rem; }

  /* 「子会社の不正会計リスクを、」の1行固定表示が狭い画面で折れないよう縮小 */
  .hero__headline  { font-size: 1.25rem; }
  .hero__risk-line { font-size: .95rem; }

  .risk-table       { font-size: .85rem; }
  .risk-table th,
  .risk-table td    { padding: .6rem .8rem; }

  /* ボタンをフル幅にしてタップしやすくする */
  .hero__actions .btn,
  .cta-banner__actions .btn { width: 100%; }
  .contact-form__footer .btn { width: 100%; min-width: 0; }
}

/* =============================
   Scroll Reveal & Motion Polish
   ============================= */
/* JSが .reveal を付与（no-JS環境では付かないので常時表示） */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
  transition-delay: var(--d, 0s);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* カードのホバー浮遊 */
.problem-card, .value-card, .step, .output-card, .pricing-card, .pattern-card, .loss-card, .audience-card {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.problem-card:hover, .step:hover, .output-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.value-card:hover, .pricing-card:hover { transform: translateY(-4px); }

/* CTAバナーに奥行きのグロー */
.cta-banner { position: relative; overflow: hidden; }
.cta-banner::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.14), transparent 65%);
  top: -300px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

/* アニメーションを望まないユーザーにはすべて静止表示 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .hero__eyebrow, .hero__headline, .hero__sub, .hero__actions, .hero__visual { opacity: 1; }
  .reveal { opacity: 1; transform: none; }
  .mock-animate .mock-row, .mock-animate .mock-alert-box { opacity: 1; transform: none; }
  .mock-row::after { width: var(--fill, 0%); }
}
