/* ==========================================
   CSS Variables
   ========================================== */
:root {
  --color-primary: #1e4fa3;
  --color-primary-hover: #163d82;
  --color-primary-light: #3b82f6;
  --color-bg: #ffffff;
  --color-bg-light: #f5f9ff;
  --color-bg-accent: #eef5ff;
  --color-text: #1f2b3d;
  --color-text-muted: #5a6a80;
  --color-border: #dce7f5;
  --color-error: #ef4444;
  --color-success: #22c55e;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --section-padding: 80px 24px;
  --max-width: 1100px;
  --shadow-sm: 0 2px 8px rgba(30, 79, 163, 0.07);
  --shadow-md: 0 4px 20px rgba(30, 79, 163, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", "Yu Gothic", sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
button {
  font-family: inherit;
}

/* 見出しフォント */
h1,
h2 {
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  color: var(--color-text);
}

h3,
h4,
h5,
h6 {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", "Yu Gothic", sans-serif;
  color: var(--color-text);
}

p {
  color: var(--color-text-muted);
}

/* ==========================================
   Container
   ========================================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================
   Buttons
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
  border: 2px solid transparent;
  line-height: 1.4;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: #fff;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--color-bg-light);
  box-shadow: var(--shadow-sm);
}

.btn:focus-visible {
  outline: 3px solid var(--color-primary-light);
  outline-offset: 2px;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 14px;
}
.btn-lg {
  padding: 16px 40px;
  font-size: 17px;
}

/* ==========================================
   Section Common
   ========================================== */
.section-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 48px;
  color: var(--color-text);
  position: relative;
  padding-bottom: 18px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--color-primary-light);
  border-radius: 2px;
}

.section-note {
  text-align: center;
  color: var(--color-text-muted);
  margin-top: -32px;
  margin-bottom: 40px;
  font-size: 14px;
  line-height: 1.9;
}

section {
  padding: var(--section-padding);
}

/* ==========================================
   Header
   ========================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  gap: 24px;
  flex: 1;
  justify-content: center;
}

.nav a {
  font-size: 14px;
  color: var(--color-text);
  font-weight: 600;
  transition: color 0.2s;
}
.nav a:hover {
  color: var(--color-primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ==========================================
   Hero
   ========================================== */
.hero-section {
  padding: 72px 24px 60px;
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.08), transparent 34%), linear-gradient(140deg, #fff 55%, var(--color-bg-light) 100%);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tag {
  background: #fff;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.hero-title {
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 900;
  line-height: 1.45;
  margin-bottom: 20px;
  color: var(--color-text);
}

.hero-title-accent {
  color: var(--color-primary-light);
}

.hero-desc {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.9;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-cta .btn::after {
  content: "›";
  font-size: 18px;
  line-height: 1;
  margin-left: 6px;
}

.hero-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(220, 231, 245, 0.9);
}

.hero-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* ==========================================
   Trust Band
   ========================================== */
.trust-band {
  background: var(--color-bg-light);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 40px 24px;
}

.trust-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 700;
  justify-content: center;
  text-align: center;
}

.trust-icon-shell {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: linear-gradient(180deg, #f4f9ff, #e6f0ff);
  border: 1px solid rgba(220, 231, 245, 0.95);
  box-shadow: 0 8px 20px rgba(30, 79, 163, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.trust-icon {
  width: 136%;
  height: 136%;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
  transform: scale(1.08);
  mix-blend-mode: multiply;
}

/* ==========================================
   Challenges
   ========================================== */
.section-challenges {
  background: var(--color-bg);
}

.challenges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.challenge-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.challenge-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.challenge-visual {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.12), transparent 34%), linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  border-bottom: 1px solid rgba(220, 231, 245, 0.9);
  overflow: hidden;
}

.challenge-image {
  width: 132%;
  height: 132%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
  mix-blend-mode: multiply;
  filter: saturate(0.98) brightness(1.02);
}

.challenge-body {
  padding: 20px;
}

.challenge-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text);
  line-height: 1.4;
}

.challenge-card p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ==========================================
   Services
   ========================================== */
.section-services {
  background: var(--color-bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--color-bg-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-text);
  line-height: 1.4;
}

.service-card p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ==========================================
   Approach
   ========================================== */
.section-approach {
  background: var(--color-bg);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.approach-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}

.approach-check {
  width: 34px;
  height: 34px;
  min-width: 34px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
}

.approach-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text);
  line-height: 1.4;
}

.approach-card p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ==========================================
   Results Slider
   ========================================== */
.section-results {
  background: var(--color-bg-light);
}

.section-results .section-title {
  margin-bottom: 14px;
}

/* Results Chart */
.results-chart-block {
  margin-bottom: 36px;
}

.results-chart-desc {
  text-align: center;
  font-size: 15px;
  color: var(--color-text-muted);
  margin: 0 auto 34px;
  max-width: 760px;
}

.results-chart-headline {
  text-align: center;
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 24px;
  line-height: 1.5;
}

.chart-accent {
  color: var(--color-primary-light);
  font-weight: 900;
}

.results-chart-wrap {
  position: relative;
  background: rgba(245, 249, 255, 0.6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px 16px 16px;
}

.access-chart {
  width: 100%;
  display: block;
}

.chart-callout {
  position: absolute;
  top: 24px;
  left: 160px;
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: var(--shadow-sm);
  min-width: 160px;
}

.callout-label {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.callout-value {
  font-size: 15px;
  color: var(--color-text);
  font-weight: 700;
  margin-bottom: 2px;
}

.callout-value strong {
  font-size: 22px;
  color: var(--color-primary);
}

.callout-arrow {
  color: var(--color-primary-light);
  margin: 0 2px;
}

.callout-unit {
  font-size: 12px;
  color: var(--color-text-muted);
}

.results-panel {
  background: #fff;
  border: 1px solid rgba(220, 231, 245, 0.92);
  border-radius: 28px;
  padding: 42px 44px;
  box-shadow: 0 18px 40px rgba(30, 79, 163, 0.08);
}

.results-detail {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
}

.result-label {
  display: inline-block;
  background: var(--color-bg-accent);
  color: var(--color-primary);
  border: 1px solid var(--color-border);
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
}

.result-theme {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--color-text);
  line-height: 1.5;
}

.result-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.result-scope li {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--color-text-muted);
}

.result-metrics {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  border: 1px solid var(--color-border);
}

.metric {
  flex: 1;
  text-align: center;
}

.metric-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  color: var(--color-text-muted);
}

.metric.after .metric-label {
  color: var(--color-primary-light);
}

.metric-value {
  display: block;
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 900;
  color: var(--color-text);
  line-height: 1.15;
  margin-bottom: 6px;
}
.metric.after .metric-value {
  color: var(--color-primary);
}

.metric-unit {
  display: block;
  font-size: 12px;
  color: var(--color-text-muted);
}

.metric-arrow {
  font-size: 22px;
  color: var(--color-primary-light);
  font-weight: 700;
  flex-shrink: 0;
}

.result-note {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--color-text-muted);
}

.result-note strong {
  color: var(--color-text);
  font-weight: 800;
}

.results-cta {
  text-align: center;
}
.results-cta p {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

/* ==========================================
   Process
   ========================================== */
.section-process {
  background: var(--color-bg);
}

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.process-step {
  flex: 1;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0 0 28px;
  text-align: center;
  overflow: hidden;
}

.process-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.step-number {
  font-size: 32px;
  font-weight: 900;
  color: var(--color-primary);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -1px;
  padding: 0 24px;
}

.process-step h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text);
  padding: 0 24px;
}

.process-step p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.75;
  padding: 0 24px;
}

.process-arrow {
  font-size: 24px;
  color: var(--color-border);
  flex-shrink: 0;
  padding-top: 50px;
}

/* ==========================================
   FAQ
   ========================================== */
.section-faq {
  background: var(--color-bg-light);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  text-align: left;
  gap: 12px;
  transition: background 0.15s;
}
.faq-question:hover {
  background: var(--color-bg-light);
}
.faq-question:focus-visible {
  outline: 2px solid var(--color-primary-light);
  outline-offset: -2px;
}

.faq-icon {
  flex-shrink: 0;
  color: var(--color-primary);
  transition: transform 0.25s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer p {
  padding: 16px 24px 20px;
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.85;
  border-top: 1px solid var(--color-border);
}

/* ==========================================
   Final CTA
   ========================================== */
.section-final-cta {
  background: var(--color-bg-accent);
  text-align: center;
}

.section-final-cta h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  margin-bottom: 16px;
}

.section-final-cta p {
  color: var(--color-text-muted);
  margin-bottom: 32px;
  font-size: 15px;
  line-height: 1.9;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================
   Contact Form
   ========================================== */
.section-contact-form {
  background: var(--color-bg);
}

.inquiry-form {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-note {
  padding: 16px 18px;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.8;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
}

.badge {
  display: inline-block;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 700;
  margin-left: 6px;
  vertical-align: middle;
}
.badge-required {
  background: var(--color-primary);
  color: #fff;
}
.badge-optional {
  background: #e2e8f0;
  color: #64748b;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: var(--color-text);
  background: #fff;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235a6a80' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary-light);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.form-group input.is-error,
.form-group select.is-error {
  border-color: var(--color-error);
}

.field-error {
  font-size: 12px;
  color: var(--color-error);
  min-height: 18px;
  font-weight: 600;
}

.form-submit {
  align-self: center;
}

/* ==========================================
   Footer
   ========================================== */
.site-footer {
  background: #1a2b3e;
  color: #c8d8e8;
  padding: 52px 24px 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
}

.footer-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-bottom: 10px;
  background: transparent;
  box-shadow: none;
}

.footer-logo--image {
  display: block;
  width: 150px;
  height: auto;
  margin-bottom: 0;
}

.footer-tagline {
  font-size: 13px;
  color: #94a3b8;
}

.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-nav a {
  font-size: 13px;
  color: #94a3b8;
  transition: color 0.2s;
}
.footer-nav a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: #94a3b8;
}

.footer-info a {
  color: #7dd3fc;
  transition: color 0.2s;
}
.footer-info a:hover {
  color: #fff;
}

.footer-links a {
  font-size: 13px;
  color: #94a3b8;
  transition: color 0.2s;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  font-size: 12px;
  color: #64748b;
  text-align: center;
}

/* ==========================================
   Scroll Top Button
   ========================================== */
.scroll-top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(30, 79, 163, 0.3);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    background 0.2s ease;
  z-index: 200;
}
.scroll-top-btn:hover {
  background: var(--color-primary-hover);
}
.scroll-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
}

/* ==========================================
   Flash Message
   ========================================== */
.flash-message {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 6px 28px rgba(30, 79, 163, 0.35);
  z-index: 9999;
  white-space: nowrap;
  animation: slideUp 0.3s ease;
}

.flash-message.hidden {
  display: none;
}

.sp-only {
  display: none;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* ==========================================
   Responsive — 1024px
   ========================================== */
@media (max-width: 1024px) {
  .challenges-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================
   Responsive — 768px
   ========================================== */
@media (max-width: 768px) {
  .chart-callout {
    display: none;
  }

  :root {
    --section-padding: 60px 20px;
  }

  /* Header */
  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    padding: 20px 24px;
    gap: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }
  .nav.is-open {
    display: flex;
  }
  .nav-toggle {
    display: flex;
  }
  .site-header {
    position: relative;
  }
  .header-cta {
    display: none;
  }

  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-visual {
    order: -1;
  }
  .hero-title {
    font-size: 26px;
  }
  .pc-only {
    display: none;
  }
  .sp-only {
    display: initial;
  }

  /* Trust */
  .trust-inner {
    grid-template-columns: 1fr;
    gap: 14px;
    text-align: left;
  }
  .trust-item {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
  }
  .trust-icon-shell {
    width: 72px;
    height: 72px;
    min-width: 72px;
  }
  .trust-icon {
    width: 132%;
    height: 132%;
  }

  /* Results */
  .results-chart-desc {
    margin-bottom: 26px;
  }
  .results-panel {
    padding: 32px 20px;
  }
  .results-detail {
    padding: 24px 20px;
  }
  .result-theme {
    font-size: 16px;
  }
  .result-metrics {
    padding: 18px 20px;
    gap: 12px;
  }

  /* Process */
  .process-steps {
    flex-direction: column;
    align-items: stretch;
  }
  .process-arrow {
    transform: rotate(90deg);
    align-self: center;
    padding-top: 0;
  }

  /* Footer */
  .footer-top {
    flex-direction: column;
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
  }
}

/* ==========================================
   Responsive — 480px
   ========================================== */
@media (max-width: 480px) {
  .challenges-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .approach-grid {
    grid-template-columns: 1fr;
  }

  .results-detail {
    padding: 22px 16px;
  }
  .result-theme {
    font-size: 15px;
  }

  .result-metrics {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
  .metric-arrow {
    transform: rotate(90deg);
  }
  .results-panel {
    padding: 28px 16px;
  }
  .metric-value {
    font-size: clamp(20px, 10vw, 30px);
  }
  .metric-unit {
    font-size: 11px;
  }
  .result-scope {
    margin-bottom: 20px;
  }

  .footer-logo--image {
    width: 132px;
  }

  .hero-cta {
    flex-direction: column;
  }
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .btn-lg {
    width: 100%;
    max-width: 320px;
  }
  .form-submit {
    width: 100%;
  }

  .flash-message {
    left: 16px;
    right: 16px;
    transform: none;
    white-space: normal;
    bottom: 20px;
  }
  .flash-message.hidden {
    display: none;
  }
}
