/* ====================================================
   T4K CloudHonu — Public site stylesheet
   Design system: BMW corporate dialect
   - rectangular 0px corners on buttons
   - Noto Sans JP, weight 400 / 500 / 700
   - single primary blue (#1c69d4)
   ==================================================== */

/* ----- Tokens ----- */
:root {
  /* Brand */
  --primary: #1c69d4;
  --primary-active: #0653b6;

  /* Surface */
  --canvas: #ffffff;
  --surface-soft: #f7f7f7;
  --surface-card: #fafafa;
  --surface-strong: #ebebeb;
  --surface-dark: #1a2129;
  --surface-dark-elevated: #262e38;

  /* Hairlines */
  --hairline: #e6e6e6;
  --hairline-strong: #cccccc;
  --hairline-on-dark: #2f3742;

  /* Text */
  --ink: #1a1a1a;
  --body: #4b5563;
  --body-strong: #1a1a1a;
  --muted: #6b6b6b;
  --muted-soft: #9a9a9a;
  --on-primary: #ffffff;
  --on-dark: #ffffff;
  --on-dark-soft: #b8c0cc;

  /* Semantic */
  --success: #22c55e;
  --warning: #f59e0b;
  --error: #dc2626;
  --info: #1c69d4;

  /* Spacing */
  --sp-xs: 8px;
  --sp-sm: 12px;
  --sp-md: 16px;
  --sp-lg: 24px;
  --sp-xl: 32px;
  --sp-xxl: 48px;
  --sp-section: 80px;

  /* Layout */
  --max-w: 1440px;
  --max-w-narrow: 960px;
  --gutter: 48px;

  /* Type */
  --font-base: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-base);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

/* ----- Layout ----- */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow .faq-list { max-width: var(--max-w-narrow); margin-left: auto; margin-right: auto; }
.section { padding: var(--sp-section) 0; }
.section-light { background: var(--canvas); }
.section-soft { background: var(--surface-soft); }

/* ----- Section heads ----- */
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #1c69d4;
  text-transform: uppercase;
  margin-bottom: var(--sp-md);
}
.eyebrow-on-dark { color: #5fa8ff; }

.section-head { text-align: center; max-width: 820px; margin: 0 auto var(--sp-xxl); }
.section-head h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  color: #1a1a1a;
  margin-bottom: var(--sp-md);
  letter-spacing: 0.01em;
}
.section-head .lead {
  color: #4b5563;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
}

.lead { color: #4b5563; font-weight: 400; }
.br-sp { display: none; }
@media (max-width: 640px) { .br-sp { display: inline; } }
@media (max-width: 768px) { .br-pc { display: none; } }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 28px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 0;
  border: 1px solid transparent;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn-sm { height: 40px; padding: 0 18px; font-size: 13px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-active); border-color: var(--primary-active); }

.btn-secondary { background: var(--canvas); color: var(--ink); border-color: var(--hairline-strong); }
.btn-secondary:hover { border-color: var(--ink); }

.btn-outline-on-dark { background: transparent; color: var(--on-dark); border-color: var(--on-dark); }
.btn-outline-on-dark:hover { background: var(--on-dark); color: var(--ink); }

.text-link-uppercase {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: var(--sp-md);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
.text-link-uppercase:hover { border-bottom-color: var(--ink); }

/* ====================================================
   01 Header
==================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 80px; gap: var(--sp-xl);
}
.logo img { height: 44px; width: auto; }

.primary-nav { display: flex; gap: 28px; }
.primary-nav a {
  font-size: 14px; font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.02em;
  position: relative; padding: 4px 0;
}
.primary-nav a:hover { color: var(--primary); }

.header-cta { display: flex; gap: 12px; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ====================================================
   02 Hero
==================================================== */
.hero {
  position: relative;
  background: var(--surface-dark) url('../images/bg-main.jpeg') center/cover no-repeat;
  color: var(--on-dark);
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,27,46,0.78), rgba(14,27,46,0.86));
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 560px; gap: 48px;
  align-items: center;
  padding: var(--sp-section) var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
}
.hero-title {
  font-size: clamp(36px, 5.6vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: var(--sp-md) 0 var(--sp-lg);
}
.hero-sub {
  color: var(--on-dark-soft);
  font-size: 16px; line-height: 1.6;
  margin-bottom: var(--sp-xl);
  max-width: 640px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: var(--sp-xxl); }

.hero-features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  border-top: 1px solid var(--hairline-on-dark);
  padding-top: var(--sp-xl);
}
.hero-features li {
  display: flex; flex-direction: column; gap: 8px;
}
.hero-features li .ico-feat { margin-bottom: 4px; width: 24px; height: 24px; background: transparent; }
.hero-features li .ico-feat svg { width: 24px; height: 24px; }
.hero-features li h3 {
  font-size: 16px; font-weight: 700; color: var(--on-dark); line-height: 1.4;
}
.hero-features li p {
  font-size: 13px; line-height: 1.5; color: var(--on-dark-soft);
}
.ico-on-dark { background: transparent; color: var(--primary); }

/* Inline icon styles via CSS shapes (small SVG-like proxies) */
.ico-clock, .ico-server, .ico-shield {
  width: 26px; height: 26px;
  background-color: var(--primary);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
}
.ico-clock { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='12' cy='12' r='10'/><path d='M12 6v6l4 2'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='12' cy='12' r='10'/><path d='M12 6v6l4 2'/></svg>"); }
.ico-server { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><rect x='3' y='4' width='18' height='6' rx='1'/><rect x='3' y='14' width='18' height='6' rx='1'/><circle cx='7' cy='7' r='1'/><circle cx='7' cy='17' r='1'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><rect x='3' y='4' width='18' height='6' rx='1'/><rect x='3' y='14' width='18' height='6' rx='1'/><circle cx='7' cy='7' r='1'/><circle cx='7' cy='17' r='1'/></svg>"); }
.ico-shield { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M12 3l8 4v6c0 4.5-3.5 8-8 8s-8-3.5-8-8V7l8-4z'/><path d='M9 12l2 2 4-4'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M12 3l8 4v6c0 4.5-3.5 8-8 8s-8-3.5-8-8V7l8-4z'/><path d='M9 12l2 2 4-4'/></svg>"); }

/* Hero dashboard mock */
.hero-mock { display: flex; justify-content: flex-end; width: 100%; padding-top: 25px; }
.hero-mock-img {
  width: 100%;
  max-width: 560px;
  height: auto;
  display: block;
}
.mock-card {
  width: 100%; max-width: 560px;
  background: var(--surface-dark-elevated);
  border: 1px solid var(--hairline-on-dark);
  padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
  color: var(--on-dark);
}
.mock-top { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--hairline-on-dark); }
.mock-dots { display: inline-flex; gap: 6px; }
.mock-dots i { width: 10px; height: 10px; border-radius: 50%; background: #4a525d; display: block; }
.mock-dots i:nth-child(1) { background: #ff5f56; }
.mock-dots i:nth-child(2) { background: #ffbd2e; }
.mock-dots i:nth-child(3) { background: #27c93f; }
.mock-title { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: var(--on-dark-soft); }

.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mock-stats > div { padding: 12px 14px; background: var(--surface-dark); border: 1px solid var(--hairline-on-dark); }
.mock-label { font-size: 10px; letter-spacing: 0.12em; color: var(--on-dark-soft); margin-bottom: 4px; }
.mock-value { font-size: 22px; font-weight: 700; color: var(--on-dark); }

.mock-chart { background: var(--surface-dark); border: 1px solid var(--hairline-on-dark); padding: 14px; }
.mock-chart-bars { display: flex; align-items: flex-end; gap: 8px; height: 80px; }
.mock-chart-bars span { flex: 1; background: var(--primary); display: block; }
.mock-chart-labels { display: flex; gap: 8px; margin-top: 8px; font-size: 11px; color: var(--on-dark-soft); }
.mock-chart-labels span { flex: 1; text-align: center; }

.mock-sites { background: var(--surface-dark); border: 1px solid var(--hairline-on-dark); }
.mock-sites li {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  font-size: 13px;
  border-bottom: 1px solid var(--hairline-on-dark);
}
.mock-sites li:last-child { border-bottom: 0; }
.mock-sites b { flex: 1; font-weight: 700; color: var(--on-dark); }
.mock-sites em { font-style: normal; color: var(--on-dark-soft); font-size: 12px; }

.mock-alert {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  background: var(--surface-dark);
  border: 1px solid var(--hairline-on-dark);
  font-size: 13px; color: var(--on-dark);
}

.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.dot-success { background: var(--success); }
.dot-warning { background: var(--warning); }
.dot-info { background: var(--info); }

/* ====================================================
   02b Stats band (実数バッジ)
==================================================== */
.stats-band {
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  padding: 40px 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-item {
  display: flex; flex-direction: column; gap: 6px;
  padding-left: 20px;
  border-left: 2px solid var(--primary);
}
.stat-num {
  font-size: 40px; font-weight: 700; line-height: 1;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.stat-num em { font-style: normal; font-size: 22px; font-weight: 700; color: var(--primary); margin-left: 2px; }
.stat-label { font-size: 13px; color: var(--body); line-height: 1.5; }
@media (max-width: 1024px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .stats-grid { grid-template-columns: 1fr; } }

/* ====================================================
   Cards / Grid
==================================================== */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  padding: 32px 28px;
  display: flex; flex-direction: column;
  gap: 14px;
  height: 100%;
}
.card h3 { font-size: 18px; font-weight: 700; color: #1a1a1a; line-height: 1.4; }
.card-desc { font-size: 14px; line-height: 1.6; color: #4b5563; font-weight: 400; }

.card-flat { background: var(--canvas); }

.card-num {
  font-size: 13px; font-weight: 700; color: #1c69d4;
  letter-spacing: 0.15em; text-transform: uppercase;
}

/* Feature icon (inline SVG) — transparent, no background */
.ico-feat {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: transparent;
  color: var(--primary);
  flex-shrink: 0;
}
.ico-feat svg { width: 40px; height: 40px; display: block; }

/* Problem card icon — dark stroke */
.ico-problem {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  color: var(--ink);
  background: transparent;
  flex-shrink: 0;
}
.ico-problem svg { width: 40px; height: 40px; display: block; }

/* Reasons */
.reason { gap: 16px; }
.reason-num {
  font-size: 44px; font-weight: 700;
  color: var(--primary);
  line-height: 1;
  letter-spacing: 0.01em;
  font-style: normal;
}

/* ====================================================
   04 About CloudHonu
==================================================== */
.about-inner {
  display: grid; grid-template-columns: 720px 400px;
  gap: 80px;
  align-items: center;
  justify-content: center;
}
.about-copy .eyebrow {
  color: #1c69d4;
  font-weight: 700;
}
.about-copy h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.2;
  margin-bottom: var(--sp-lg);
}
.about-copy p {
  color: #4b5563;
  margin-bottom: var(--sp-md);
  line-height: 1.6;
  font-weight: 400;
}
.about-copy .text-link-uppercase { color: #1a1a1a; }
.about-visual {
  background: var(--canvas);
  border-radius: 24px;
  display: flex; align-items: center; justify-content: center;
  width: 400px; height: 400px;
}
.about-visual img { width: 100%; height: 100%; object-fit: contain; }

@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; gap: 40px; justify-content: stretch; }
  .about-visual { width: 100%; max-width: 320px; height: auto; aspect-ratio: 1 / 1; margin: 0 auto; }
}

/* ====================================================
   06 Monitoring
==================================================== */
.monitoring-inner {
  display: grid; grid-template-columns: 1fr 560px; gap: 48px; align-items: center;
}
.monitoring-copy .eyebrow {
  color: #1c69d4;
  font-weight: 700;
}
.monitoring-copy h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700; color: #1a1a1a; line-height: 1.2;
  margin-bottom: var(--sp-md);
}
.monitoring-copy > p {
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: var(--sp-xl);
  font-weight: 400;
}

.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.6;
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 20px; height: 20px;
  background-color: var(--primary);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><path d='m9 12 2 2 4-4'/></svg>") center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><path d='m9 12 2 2 4-4'/></svg>") center/contain no-repeat;
}

/* Site detail mock */
.site-detail {
  background: transparent;
  padding: 0;
  display: block;
}
.site-detail-img {
  width: 100%;
  max-width: 560px;
  height: auto;
  display: block;
  border: 1px solid var(--hairline);
}
.sd-top { display: flex; align-items: center; gap: 12px; }
.sd-favicon { width: 24px; height: 24px; background: var(--primary); flex-shrink: 0; }
.sd-top b { font-size: 16px; font-weight: 700; color: var(--ink); flex: 1; }

.pill {
  display: inline-flex; align-items: center;
  padding: 4px 10px;
  font-size: 11px; font-weight: 700;
  background: var(--canvas);
}
.pill-success { color: var(--success); border: 1px solid var(--success); }

.sd-tabs {
  display: flex; gap: 24px;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 8px;
}
.sd-tabs span {
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; color: var(--muted);
  padding-bottom: 8px; margin-bottom: -9px;
  border-bottom: 2px solid transparent;
}
.sd-tabs span.active { color: var(--ink); border-bottom-color: var(--ink); }

.sd-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sd-stats > div { padding: 14px; border: 1px solid var(--hairline); }
.sd-stats p { font-size: 10px; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 6px; text-transform: uppercase; }
.sd-stats b { font-size: 18px; font-weight: 700; color: var(--ink); }

.sd-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.sd-table th {
  text-align: left; font-size: 10px; letter-spacing: 0.12em; color: var(--muted);
  background: var(--surface-card); padding: 10px 12px; font-weight: 700; text-transform: uppercase;
  border-bottom: 1px solid var(--hairline);
}
.sd-table td { padding: 10px 12px; border-bottom: 1px solid var(--hairline); color: var(--body); }
.sd-table tr:last-child td { border-bottom: 0; }
.sd-table .dot { margin-right: 6px; vertical-align: middle; }

@media (max-width: 900px) {
  .monitoring-inner { grid-template-columns: 1fr; gap: 48px; }
  .check-list { grid-template-columns: 1fr; }
  .sd-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ====================================================
   07b Comparison
==================================================== */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table {
  width: 100%; min-width: 880px;
  border-collapse: collapse;
  background: var(--canvas);
  font-size: 14px;
}
.compare-table th, .compare-table td {
  border: 1px solid var(--hairline);
  padding: 12px 16px;
  text-align: left;
  vertical-align: middle;
  line-height: 1.5;
  color: var(--body);
}
.compare-table thead th {
  background: var(--surface-card);
  font-size: 13px; font-weight: 700; color: var(--ink);
  white-space: nowrap;
}
.compare-table thead th.col-honu {
  background: var(--primary);
  color: var(--on-primary);
}
.compare-table .th-note { display: block; font-size: 11px; font-weight: 400; color: var(--muted); }
.compare-table thead th.col-honu .th-note { color: rgba(255, 255, 255, 0.8); }
.compare-table td.col-honu { background: #f2f7fd; color: var(--ink); font-weight: 500; }
.compare-table td.c { text-align: center; }
.compare-table td.ok  { color: var(--primary); font-weight: 700; }
.compare-table td.ng  { color: var(--muted-soft); font-weight: 700; }
.compare-table td.tri { color: var(--warning); font-weight: 500; }

.inline-link { color: var(--primary); border-bottom: 1px solid var(--primary); }

/* ====================================================
   08 Pricing
==================================================== */
.pricing-grid { grid-template-columns: repeat(4, 1fr); align-items: start; }
@media (max-width: 1200px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; } }

.plan {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  padding: 32px;
  display: flex; flex-direction: column; gap: 20px;
}
.plan-tag { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; color: var(--primary); }
.plan-tag-light { color: #5fa8ff; }
.plan-name { font-size: 32px; font-weight: 700; color: var(--ink); line-height: 1.15; }
.plan-desc { font-size: 14px; color: var(--body); line-height: 1.7; }
.plan hr { border: 0; border-top: 1px solid var(--hairline); margin: 4px 0; }
.plan-price {
  display: flex; align-items: baseline; gap: 6px;
}
.plan-price span { font-size: 38px; font-weight: 700; color: var(--ink); line-height: 1; }
.plan-price em { font-style: normal; font-size: 14px; color: var(--muted); }
.plan-list { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--body); }
.plan-list li { padding-left: 18px; position: relative; line-height: 1.7; }
.plan-list li::before { content: "・"; position: absolute; left: 0; color: var(--primary); }

.plan-featured {
  background: var(--surface-dark);
  border-color: var(--surface-dark);
  color: var(--on-dark);
}
.plan-featured .plan-name,
.plan-featured .plan-desc,
.plan-featured .plan-price span,
.plan-featured .plan-price em,
.plan-featured .plan-list { color: var(--on-dark); }
.plan-featured .plan-desc { color: var(--on-dark); opacity: 0.86; }
.plan-featured hr { border-top-color: #4a5260; }
.plan-featured .plan-list li::before { color: #5fa8ff; }
.plan-featured .plan-top { display: flex; align-items: center; justify-content: space-between; }
.badge {
  display: inline-flex; align-items: center;
  padding: 4px 10px;
  background: var(--primary); color: var(--on-primary);
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
}

.pricing-note {
  text-align: center; margin-top: var(--sp-xl);
  font-size: 13px; color: var(--muted);
}

.pricing-notes {
  max-width: var(--max-w-narrow);
  margin: var(--sp-xl) auto 0;
  display: flex; flex-direction: column; gap: 8px;
}
.pricing-notes .pricing-note {
  text-align: left; margin-top: 0;
  line-height: 1.7;
}

/* ====================================================
   09 Flow
==================================================== */
.flow-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 16px; align-items: stretch;
}
@media (max-width: 1024px) { .flow-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .flow-grid { grid-template-columns: 1fr; } }

.flow-step {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.flow-step .flow-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  color: #1c69d4;
  text-transform: uppercase;
  margin: 0;
}
.flow-step b { font-size: 36px; font-weight: 700; color: #1a1a1a; line-height: 1; }
.flow-step h3 { font-size: 17px; font-weight: 700; color: #1a1a1a; line-height: 1.4; }
.flow-step .card-desc { font-size: 13px; color: #4b5563; line-height: 1.6; font-weight: 400; }

/* ====================================================
   10 FAQ
==================================================== */
.faq-list { display: flex; flex-direction: column; }
.faq-item { background: var(--canvas); border-bottom: 1px solid var(--hairline); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 26px;
  text-align: left;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
}
.faq-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px;
  color: var(--ink);
  flex-shrink: 0;
  background: transparent;
  transition: transform .2s ease;
}
.faq-icon svg { width: 24px; height: 24px; display: block; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); }

.faq-a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .25s ease;
}
.faq-a > p {
  overflow: hidden;
  font-size: 15px; color: var(--body); line-height: 1.95;
  padding: 0 26px;
}
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-item.is-open .faq-a > p {
  padding: 0 26px 24px;
}

/* ====================================================
   11 CTA Band
==================================================== */
.cta-band {
  background: var(--surface-dark);
  text-align: center;
  padding: var(--sp-section) 0;
}
.cta-band .eyebrow,
.cta-band .eyebrow-on-dark {
  color: #5fa8ff;
  font-weight: 700;
}
.cta-band h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  margin: var(--sp-md) 0 var(--sp-md);
}
.cta-band p {
  color: #b8c0cc;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  margin-bottom: var(--sp-xl);
}
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ====================================================
   12 Footer
==================================================== */
.site-footer { background: var(--surface-soft); padding: 64px 0 32px; }
.footer-inner {
  display: grid; grid-template-columns: 1fr 2.4fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--hairline);
}
.footer-brand img { height: 40px; margin-bottom: 16px; width: auto; }
.footer-brand p { font-size: 13px; color: var(--body); line-height: 1.85; }
.footer-by { margin-top: 12px !important; font-size: 11px !important; font-weight: 700; letter-spacing: 0.18em; color: var(--muted) !important; }

.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-cols h4 { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 16px; letter-spacing: 0.04em; }
.footer-cols ul { display: flex; flex-direction: column; gap: 10px; }
.footer-cols a { font-size: 13px; color: var(--body); }
.footer-cols a:hover { color: var(--primary); }

.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 32px;
  font-size: 12px; color: var(--muted);
}

/* ====================================================
   Responsive — top nav + hero
==================================================== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-mock { order: 2; justify-content: center; }
  .hero-features { grid-template-columns: 1fr; }
  .monitoring-inner { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { width: 100%; max-width: 320px; height: auto; aspect-ratio: 1 / 1; margin: 0 auto; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  .primary-nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }

  body.nav-open { overflow: hidden; }

  .primary-nav.is-open {
    display: flex;
    position: fixed;
    inset: 80px 0 0 0;
    z-index: 49;
    background: var(--canvas);
    flex-direction: column;
    gap: 0;
    padding: 24px 0;
    border-top: 1px solid var(--hairline);
    overflow-y: auto;
  }
  .primary-nav.is-open a {
    padding: 20px 32px;
    border-bottom: 1px solid var(--hairline);
    font-size: 16px;
  }
  .header-cta.is-open {
    display: flex;
    position: fixed; left: 0; right: 0; bottom: 0;
    z-index: 49;
    background: var(--canvas);
    border-top: 1px solid var(--hairline);
    padding: 16px;
    gap: 12px;
  }
  .header-cta.is-open .btn { flex: 1; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px 30px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 32px; }
  .footer-cols { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-actions, .cta-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
}

/* ====================================================
   WordPress テーマ用 追加スタイル (2026-07-07)
   - 簡素化フッター
   - Contact Form 7 (CTA バンド内)
==================================================== */

/* ----- 簡素化フッター (3カラム撤去・ブランドのみ) ----- */
.footer-inner-simple {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px 64px;
  flex-wrap: wrap;
  grid-template-columns: none;
}
.footer-inner-simple .footer-brand { max-width: 560px; }
.footer-by a {
  color: inherit;
  border-bottom: 1px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.footer-by a:hover { color: var(--primary); border-bottom-color: var(--primary); }
.footer-bottom-simple { border-top: 0; padding-top: 24px; }

/* ----- Contact Form 7 (ダーク CTA バンド内) ----- */
.cta-form-wrap { margin-top: var(--sp-xl); }
.cta-form {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}
.cta-form .cf-row { margin: 0 0 18px; }
.cta-form label,
.cta-form .cf-caption {
  display: block;
  font-size: 13px; font-weight: 700;
  color: var(--on-dark);
  margin-bottom: 8px;
}
.cta-form label .req,
.cta-form .cf-caption .req {
  color: var(--warning);
  font-size: 11px; font-weight: 700;
  margin-left: 8px;
}

/* お問い合わせ種別ラジオ (お問い合わせ / 資料請求) をチップ状に */
.cta-form .wpcf7-radio {
  display: inline-flex; flex-wrap: wrap; gap: 12px;
}
.cta-form .wpcf7-radio .wpcf7-list-item { margin: 0; }
.cta-form .wpcf7-radio label {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0; padding: 11px 20px;
  background: #fff;
  border: 1px solid var(--hairline-on-dark);
  color: var(--ink); font-size: 14px; font-weight: 500;
  cursor: pointer;
}
.cta-form .wpcf7-radio input[type="radio"] {
  width: 16px; height: 16px; margin: 0;
  accent-color: var(--primary);
  -webkit-appearance: auto; appearance: auto;
}
.cta-form input[type="text"],
.cta-form input[type="email"],
.cta-form input[type="tel"],
.cta-form textarea,
.cta-form select {
  width: 100%;
  padding: 12px 14px;
  font: inherit; font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--hairline-on-dark);
  border-radius: 0;
  -webkit-appearance: none; appearance: none;
}
.cta-form textarea { min-height: 130px; resize: vertical; }
.cta-form input:focus,
.cta-form textarea:focus,
.cta-form select:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
}
.cta-form .cf-submit { text-align: center; margin: 24px 0 0; }
.cta-form .wpcf7-submit,
.cta-form input[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 44px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--on-primary);
  background: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 0;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
}
.cta-form .wpcf7-submit:hover,
.cta-form input[type="submit"]:hover { background: var(--primary-active); border-color: var(--primary-active); }

/* CF7 の応答・バリデーションメッセージ (ダーク背景で可読に) */
.wpcf7-response-output {
  color: var(--on-dark) !important;
  border-color: var(--on-dark-soft) !important;
  margin: 20px 0 0 !important;
  font-size: 14px;
}
.wpcf7-not-valid-tip { color: #ffb4a8 !important; font-size: 12px; }
.cta-form .wpcf7-spinner { margin: 0 0 0 12px; }

.cta-form-placeholder { color: var(--on-dark-soft); font-size: 15px; }
.cta-form-placeholder a { color: #5fa8ff; border-bottom: 1px solid #5fa8ff; }

/* 2カラム行 (氏名/会社名 などを横並びにしたい場合の任意クラス) */
.cta-form .cf-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px;
}
@media (max-width: 640px) {
  .cta-form .cf-grid { grid-template-columns: 1fr; }
}

/* ====================================================
   Legal pages (page.php): 特商法 / プライバシーポリシー / 情報セキュリティ方針
   ==================================================== */
.legal-main {
  padding: 64px 0 96px;
  background: var(--canvas);
}
.legal-head { margin-bottom: 40px; }
.legal-head .eyebrow { margin-bottom: 8px; }
.legal-title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
  margin: 0;
}
.legal-body {
  color: var(--body);
  font-size: 15.5px;
  line-height: 1.95;
}
.legal-body > p:first-child { color: var(--body-strong); }
.legal-body h2 {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
  margin: 2.6em 0 .7em;
  padding-left: 14px;
  border-left: 4px solid var(--primary);
}
.legal-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 1.8em 0 .5em;
}
.legal-body p { margin: .8em 0; }
.legal-body ul { margin: .7em 0; padding-left: 1.4em; }
.legal-body li { margin: .35em 0; }
.legal-body a { color: var(--primary); border-bottom: 1px solid var(--primary); }
.legal-body a:hover { color: var(--primary-active); border-color: var(--primary-active); }

.legal-body .legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0;
  font-size: 14.5px;
}
.legal-body .legal-table th,
.legal-body .legal-table td {
  border: 1px solid var(--hairline-strong);
  padding: 13px 15px;
  text-align: left;
  vertical-align: top;
}
.legal-body .legal-table th {
  background: var(--surface-soft);
  color: var(--ink);
  font-weight: 700;
  width: 20%;
  white-space: nowrap;
}
.legal-body .legal-table ul { margin: .2em 0; }
.legal-body .legal-note { color: var(--muted); font-size: 13px; line-height: 1.7; }
.legal-body .legal-updated {
  margin-top: 2.8em;
  padding-top: 1.2em;
  border-top: 1px solid var(--hairline);
  color: var(--muted);
  font-size: 13.5px;
}

/* テーブルは狭幅で横スクロール */
@media (max-width: 640px) {
  .legal-body .legal-table { display: block; overflow-x: auto; white-space: nowrap; }
  .legal-body .legal-table th { width: auto; }
}

/* フッターの法務リンク: ブランドの対面(右)に横並び・下端揃え。配色は .footer-by a と同一 */
.footer-legal-links {
  display: flex;
  align-items: flex-end;
  gap: 15px;
  text-align: right;
}
.footer-legal-links a {
  color: var(--muted);
  font-size: 11px;
  border-bottom: 1px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.footer-legal-links a:hover { color: var(--primary); border-bottom-color: var(--primary); }

/* ====================================================
   Scroll reveal (控えめなフェード+浮き上がり)
   - transform/opacity のみ = 最終レイアウトは不変
   - .js-anim は <head> で早期付与 (prefers-reduced-motion 時は付与しない=FOUC/過剰動作なし)
   - JS 無効・reduced-motion では全要素そのまま表示
   ==================================================== */
@media (prefers-reduced-motion: no-preference) {
  .js-anim :is(
    .hero-copy .eyebrow, .hero-title, .hero-sub, .hero-actions, .hero-features, .hero-mock,
    .stats-item, .section-head, .card, .about-copy, .about-visual,
    .monitoring-copy, .site-detail, .table-scroll, .plan, .flow-step, .faq-item,
    .cta-inner .eyebrow, .cta-inner h2, .cta-inner p, .cta-form-wrap
  ) {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
    transition-delay: var(--rd, 0ms);
    will-change: opacity, transform;
  }
  .js-anim :is(
    .hero-copy .eyebrow, .hero-title, .hero-sub, .hero-actions, .hero-features, .hero-mock,
    .stats-item, .section-head, .card, .about-copy, .about-visual,
    .monitoring-copy, .site-detail, .table-scroll, .plan, .flow-step, .faq-item,
    .cta-inner .eyebrow, .cta-inner h2, .cta-inner p, .cta-form-wrap
  ).is-visible {
    opacity: 1;
    transform: none;
  }
}

/* ====================================================
   Report sample (monitoring section) / Emergency spot
   ==================================================== */

.report-sample { margin-top: var(--sp-xl); }
.report-sample .btn { gap: 10px; }
.report-sample .btn-ico { display: inline-flex; width: 18px; height: 18px; }
.report-sample .btn-ico svg { width: 100%; height: 100%; }
.report-sample-note {
  margin-top: var(--sp-sm);
  font-size: 12px; line-height: 1.7; color: var(--muted);
}

.section-emergency {
  background: var(--surface-strong);
  border-top: 3px solid var(--error);
}
.section-emergency .section-head .lead b { font-weight: 700; color: var(--ink); }

.spot-grid { max-width: var(--max-w-narrow); margin: 0 auto; }
.spot-card { background: var(--canvas); display: flex; flex-direction: column; gap: var(--sp-sm); }
.spot-scale {
  display: inline-flex; align-self: flex-start;
  padding: 4px 10px;
  background: var(--error); color: var(--on-primary);
  font-size: 15px; font-weight: 700; letter-spacing: 0.04em;
}
/* 規模ごとに色で重篤度を示す (S=黄 / M=橙 / L=赤)。文字は3段とも白 (2026-07-14 デザイン判断)。 */
.spot-scale-s { background: #dcc726; }
.spot-scale-m { background: #dc7326; }
.spot-scale-l { background: #dc2626; }
.spot-price {
  font-size: 32px; font-weight: 700; color: var(--ink); line-height: 1.2;
}
.spot-unit { font-size: 14px; font-weight: 700; margin-left: 2px; }

.spot-offer {
  max-width: var(--max-w-narrow);
  margin: var(--sp-xl) auto 0;
  padding: var(--sp-xl);
  background: var(--surface-dark);
  display: flex; flex-direction: column; align-items: center; gap: var(--sp-sm);
  text-align: center;
}
.spot-offer-lead {
  font-size: 18px; font-weight: 700; color: var(--on-dark); line-height: 1.5;
}
.spot-offer-body {
  font-size: 14px; line-height: 1.8; color: var(--on-dark-soft);
}
.spot-offer-body b { color: var(--on-dark); font-weight: 700; }
.spot-offer .btn { margin-top: var(--sp-sm); }

@media (max-width: 640px) {
  .report-sample .btn { white-space: normal; height: auto; padding: 14px 20px; line-height: 1.5; }
  .spot-offer { padding: var(--sp-lg); }
}
