/* ============================================
   CBLab Corporate Site - Main Stylesheet
   ============================================ */

/* ------------------------------------------
   1. CSS Custom Properties (Design Tokens)
   ------------------------------------------ */
:root {
  /* Colors */
  --navy: #123A63;
  --navy-strong: #0d2e4f;
  --blue-soft: #eaf3fb;
  --blue-bg: #f7fbff;
  --green: #5faf7b;
  --text: #22313f;
  --muted: #617487;
  --line: #dce7f1;
  --white: #ffffff;
  --gray-bg: #f7f9fc;

  /* Shadows */
  --shadow: 0 16px 40px rgba(18, 58, 99, 0.08);
  --shadow-soft: 0 10px 24px rgba(18, 58, 99, 0.05);

  /* Border Radius */
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;

  /* Layout */
  --container: min(1180px, calc(100% - 40px));
}

/* ------------------------------------------
   2. Reset & Base
   ------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1, h2, h3, p {
  margin-top: 0;
}

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

/* ------------------------------------------
   4. Layout
   ------------------------------------------ */
.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 92px 0;
  position: relative;
  scroll-margin-top: 110px;
}

.section.bg-soft {
  background: linear-gradient(180deg, #fbfdff 0%, #f4f9fd 100%);
}

/* ------------------------------------------
   5. Typography
   ------------------------------------------ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.86rem;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--navy));
}

.section-title {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.35;
  color: var(--navy);
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}

.section-lead {
  max-width: 820px;
  color: var(--muted);
  font-size: 1.02rem;
  margin-bottom: 0;
}

/* ------------------------------------------
   6. Buttons
   ------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--navy) 0%, #1c588f 100%);
  color: var(--white);
  box-shadow: 0 14px 32px rgba(18, 58, 99, 0.18);
}

.btn-secondary {
  border-color: rgba(18, 58, 99, 0.18);
  background: rgba(255, 255, 255, 0.7);
  color: var(--navy);
}

/* ------------------------------------------
   7. Header & Navigation
   ------------------------------------------ */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(220, 231, 241, 0.7);
}

.header-inner {
  width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  width: min(190px, 42vw);
  height: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(18, 58, 99, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--navy);
}

/* ------------------------------------------
   8. Hero Section
   ------------------------------------------ */
.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 5% 12%, rgba(95, 175, 123, 0.18), transparent 22%),
    radial-gradient(circle at 95% 15%, rgba(46, 111, 165, 0.18), transparent 22%),
    linear-gradient(180deg, #fbfdff 0%, #eef5fb 100%);
}

.hero-inner {
  width: var(--container);
  margin: 0 auto;
  min-height: calc(100vh - 84px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
  padding: 72px 0 56px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.18;
  letter-spacing: 0.01em;
  color: var(--navy);
  margin-bottom: 22px;
  max-width: 12ch;
}

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

.hero-description {
  font-size: 1.06rem;
  color: var(--muted);
  max-width: 680px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-points li {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(18, 58, 99, 0.1);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: var(--shadow-soft);
}

/* ------------------------------------------
   9. Hero Visual (Network Card)
   ------------------------------------------ */
.hero-visual-wrap {
  position: relative;
  min-height: 580px;
  display: grid;
  place-items: center;
}

.glow {
  position: absolute;
  inset: 14% 18%;
  background: radial-gradient(circle, rgba(95, 175, 123, 0.16) 0%, rgba(234, 243, 251, 0.15) 46%, transparent 72%);
  filter: blur(14px);
}

.network-card {
  position: relative;
  width: min(520px, 100%);
  min-height: 520px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(220, 231, 241, 0.95);
  border-radius: 36px;
  box-shadow: var(--shadow);
  padding: 30px;
  overflow: hidden;
}

.network-card::before,
.network-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.network-card::before {
  width: 220px;
  height: 220px;
  right: -70px;
  top: -80px;
  background: radial-gradient(circle, rgba(95, 175, 123, 0.15), transparent 70%);
}

.network-card::after {
  width: 180px;
  height: 180px;
  left: -50px;
  bottom: -60px;
  background: radial-gradient(circle, rgba(18, 58, 99, 0.12), transparent 70%);
}

.network-label {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 18px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(220, 231, 241, 0.9);
  box-shadow: var(--shadow-soft);
  width: 180px;
  z-index: 3;
}

.network-label small {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.network-label strong {
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.4;
}

.network-label span {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.network-label.left-top  { top: 46px; left: 24px; }
.network-label.right-top { top: 72px; right: 18px; }
.network-label.bottom    { left: 50%; bottom: 28px; transform: translateX(-50%); width: 240px; text-align: center; align-items: center; }

.network-center {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 240px;
  height: 240px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, #25669f 100%);
  color: var(--white);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 28px;
  box-shadow: 0 24px 48px rgba(18, 58, 99, 0.24);
  z-index: 2;
}

.network-center strong {
  display: block;
  font-size: 1.18rem;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.network-center span {
  font-size: 0.92rem;
  opacity: 0.9;
  line-height: 1.7;
}

.line {
  position: absolute;
  background: linear-gradient(90deg, rgba(18, 58, 99, 0.18), rgba(95, 175, 123, 0.35));
  transform-origin: left center;
  height: 2px;
  z-index: 0;
}

.line-1 { width: 145px; left: 165px; top: 158px; transform: rotate(23deg); }
.line-2 { width: 146px; right: 152px; top: 182px; transform: rotate(-24deg); }
.line-3 { width: 122px; left: 204px; bottom: 155px; transform: rotate(90deg); }

/* ------------------------------------------
   10. Stats Section
   ------------------------------------------ */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}

.stat-card,
.card,
.about-card,
.news-card,
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.stat-card {
  padding: 26px;
}

.stat-value {
  display: block;
  color: var(--navy);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 8px;
}

.stat-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ------------------------------------------
   11. Cards (Grid)
   ------------------------------------------ */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.card {
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(18, 58, 99, 0.1), rgba(95, 175, 123, 0.12));
  color: var(--navy);
}

.card h3 {
  font-size: 1.14rem;
  color: var(--navy);
  margin-bottom: 12px;
}

.card p {
  color: var(--muted);
  margin-bottom: 0;
  font-size: 0.96rem;
}

/* ------------------------------------------
   12. Process Steps
   ------------------------------------------ */
.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 42px;
  position: relative;
}

.process::before {
  content: "";
  position: absolute;
  left: 14%;
  right: 14%;
  top: 54px;
  height: 2px;
  background: linear-gradient(90deg, rgba(18, 58, 99, 0.12), rgba(95, 175, 123, 0.4), rgba(18, 58, 99, 0.12));
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(220, 231, 241, 0.9);
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), #2e6fa5);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 18px;
  box-shadow: 0 12px 24px rgba(18, 58, 99, 0.18);
}

.step h3 {
  color: var(--navy);
  margin-bottom: 12px;
  font-size: 1.12rem;
}

.step p {
  color: var(--muted);
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* ------------------------------------------
   13. Diagram (Platform Model)
   ------------------------------------------ */
.diagram-wrap {
  margin-top: 42px;
  padding: 34px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 250, 253, 0.92));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.diagram {
  display: grid;
  grid-template-columns: 1fr 260px 1fr;
  align-items: center;
  gap: 26px;
  position: relative;
  min-height: 360px;
}

.diagram-col {
  display: grid;
  gap: 18px;
  position: relative;
  z-index: 1;
}

.diagram-box {
  padding: 22px;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.diagram-box h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 1.06rem;
}

.diagram-box p {
  color: var(--muted);
  margin-bottom: 0;
  font-size: 0.94rem;
}

.diagram-center {
  height: 260px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, #25669f 100%);
  color: var(--white);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 32px;
  box-shadow: 0 28px 58px rgba(18, 58, 99, 0.22);
  position: relative;
  z-index: 1;
}

.diagram-center strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.diagram-center span {
  font-size: 0.93rem;
  line-height: 1.8;
  opacity: 0.95;
}

.diagram-lines::before,
.diagram-lines::after {
  content: "";
  position: absolute;
  top: 50%;
  width: calc(50% - 182px);
  height: 2px;
  background: linear-gradient(90deg, rgba(18, 58, 99, 0.16), rgba(95, 175, 123, 0.45));
  z-index: 0;
}

.diagram-lines::before { left: 18%; }
.diagram-lines::after  { right: 18%; transform: scaleX(-1); }

.bottom-support {
  margin-top: 24px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.bottom-support .diagram-box {
  display: inline-block;
  min-width: min(100%, 420px);
  text-align: center;
}

/* ------------------------------------------
   14. Organization Grid
   ------------------------------------------ */
.org-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 42px;
}

.about-card {
  padding: 28px;
}

.about-card h3 {
  color: var(--navy);
  margin-bottom: 12px;
  font-size: 1.08rem;
}

.about-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ------------------------------------------
   15. Mission / Message
   ------------------------------------------ */
.message-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: stretch;
  margin-top: 42px;
}

.message-card {
  padding: 34px;
  border-radius: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.message-card p:last-child {
  margin-bottom: 0;
}

.quote {
  font-size: 1.34rem;
  line-height: 1.65;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 20px;
}

.message-visual {
  border-radius: 30px;
  background:
    radial-gradient(circle at 22% 24%, rgba(95, 175, 123, 0.16), transparent 20%),
    radial-gradient(circle at 82% 18%, rgba(18, 58, 99, 0.16), transparent 20%),
    linear-gradient(160deg, #f7fbff 0%, #eaf3fb 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  min-height: 100%;
}

.message-visual::before,
.message-visual::after {
  content: "";
  position: absolute;
  border-radius: 28px;
  border: 1px solid rgba(18, 58, 99, 0.08);
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(8px);
}

.message-visual::before {
  width: 58%;
  height: 110px;
  left: 10%;
  top: 18%;
  z-index: 0;
}

.message-visual::after {
  width: 48%;
  height: 90px;
  right: 12%;
  bottom: 16%;
  z-index: 0;
}

.message-visual-inner {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 30px;
  text-align: center;
  color: var(--navy);
  z-index: 2;
}

.message-visual-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(18, 58, 99, 0.08);
  box-shadow: var(--shadow-soft);
  font-weight: 700;
  margin-bottom: 18px;
  position: relative;
  z-index: 3;
}

.message-visual h3 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.5;
  margin-bottom: 12px;
}

.message-visual p {
  max-width: 28ch;
  margin: 0 auto;
  color: var(--muted);
}

/* ------------------------------------------
   16. Company Info
   ------------------------------------------ */
.company-grid {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

.info-table {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.info-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 1px solid var(--line);
}

.info-row:last-child {
  border-bottom: none;
}

.info-label,
.info-value {
  padding: 16px 18px;
  font-size: 0.95rem;
}

.info-label {
  background: #f8fbfe;
  color: var(--navy);
  font-weight: 700;
}

.info-value {
  color: var(--muted);
}

/* ------------------------------------------
   17. Timeline
   ------------------------------------------ */
.timeline {
  display: grid;
  gap: 14px;
  margin-top: 6px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(220, 231, 241, 0.8);
}

.timeline-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.timeline-year {
  color: var(--green);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.timeline-text {
  color: var(--muted);
}

/* ------------------------------------------
   18. Chart Panel
   ------------------------------------------ */
.chart-panel {
  margin-top: 42px;
  padding: 30px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.96));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.chart-title {
  font-size: 1.18rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.chart-subtext {
  color: var(--muted);
  font-size: 0.94rem;
  margin-bottom: 22px;
}

.bar-chart {
  display: grid;
  gap: 16px;
}

.bar-row {
  display: grid;
  grid-template-columns: 150px 1fr 76px;
  align-items: center;
  gap: 14px;
}

.bar-label {
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
}

.bar-track {
  position: relative;
  height: 16px;
  border-radius: 999px;
  background: #e9f0f6;
  overflow: hidden;
}

.bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(95, 175, 123, 0.72), rgba(95, 175, 123, 0.95));
}

.bar-fill.is-it {
  background: linear-gradient(90deg, var(--navy), #25669f);
}

.bar-fill.is-achievement {
  background: linear-gradient(90deg, rgba(18, 58, 99, 0.38), rgba(18, 58, 99, 0.68));
}

.bar-fill.is-it-achievement {
  background: linear-gradient(90deg, var(--navy-strong), var(--navy));
}

.bar-value {
  text-align: right;
  color: var(--navy);
  font-weight: 800;
  font-size: 0.95rem;
}

.chart-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.chart-block {
  display: grid;
  gap: 16px;
}

.chart-block-title {
  font-size: 1rem;
  color: var(--navy);
  font-weight: 800;
  margin: 0;
}

.bar-note {
  margin-top: 18px;
  font-size: 0.84rem;
  color: var(--muted);
}

/* ------------------------------------------
   19. Decomposition Flow
   ------------------------------------------ */
.decomp-wrap {
  margin-top: 42px;
  padding: 30px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 253, 255, 0.96));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.decomp-head {
  margin-bottom: 24px;
}

.decomp-flow {
  display: grid;
  grid-template-columns: 1.2fr 70px 1.2fr 70px 1.2fr;
  gap: 14px;
  align-items: stretch;
}

.decomp-box {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.decomp-box h3 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 1.06rem;
}

.decomp-box ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.93rem;
}

.decomp-box li + li {
  margin-top: 6px;
}

.decomp-arrow {
  display: grid;
  place-items: center;
  color: var(--green);
  font-size: 2rem;
  font-weight: 800;
}

/* ------------------------------------------
   20. News
   ------------------------------------------ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 42px;
}

.news-card {
  padding: 26px;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.84rem;
}

.news-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(95, 175, 123, 0.14);
  color: var(--green);
  font-weight: 700;
}

.news-card h3 {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--navy);
  margin-bottom: 12px;
}

.news-card p {
  color: var(--muted);
  margin-bottom: 0;
  font-size: 0.93rem;
}

/* ------------------------------------------
   21. Contact Section
   ------------------------------------------ */
.contact-section {
  padding-bottom: 110px;
}

.contact-card {
  padding: 44px;
  border-radius: 34px;
  background: linear-gradient(135deg, var(--navy) 0%, #1f5c92 100%);
  color: var(--white);
  box-shadow: 0 30px 60px rgba(18, 58, 99, 0.22);
  position: relative;
  overflow: hidden;
}

.contact-card::before,
.contact-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.contact-card::before {
  width: 260px;
  height: 260px;
  right: -70px;
  top: -100px;
}

.contact-card::after {
  width: 160px;
  height: 160px;
  left: -30px;
  bottom: -30px;
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: center;
}

.contact-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.4;
  margin-bottom: 14px;
}

.contact-card p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
  max-width: 58ch;
}

.contact-actions {
  display: grid;
  gap: 14px;
  justify-items: end;
}

.contact-actions .btn {
  min-width: 250px;
}

.contact-actions .btn-primary {
  background: var(--white);
  color: var(--navy);
  box-shadow: none;
}

.contact-actions .btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

/* ------------------------------------------
   22. Footer
   ------------------------------------------ */
footer {
  background: #0f2438;
  color: rgba(255, 255, 255, 0.8);
  padding: 34px 0 40px;
}

.footer-inner {
  width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-logo {
  width: 150px;
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.footer-brand strong {
  display: block;
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 4px;
}

.footer-brand-text {
  display: grid;
  gap: 2px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.92rem;
}

/* ------------------------------------------
   23. Mobile Contact Bar
   ------------------------------------------ */
.mobile-contact-bar {
  display: none;
}

/* ==========================================
   24. Responsive - Tablet (max-width: 1080px)
   ========================================== */
@media (max-width: 1080px) {
  .hero-inner,
  .message-wrap,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    max-width: none;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
  }

  .hero-visual-wrap {
    min-height: 500px;
  }

  .network-card {
    margin: 0 auto;
  }

  .contact-actions {
    justify-items: start;
  }

  .diagram {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .diagram-lines::before,
  .diagram-lines::after {
    display: none;
  }

  .diagram-center {
    max-width: 300px;
    margin: 0 auto;
  }
}
/* ==========================================
   2x. Responsive - Small Tablet (max-width: 1024px)
   ========================================== */
@media (max-width: 1024px) {

  .network-center {
    width: 220px;
    height: 220px;     /* 縦横を固定 */
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    display: grid;
    place-items: center;
  }
/* ==========================================
   25. Responsive - Small Tablet (max-width: 960px)
   ========================================== */
@media (max-width: 960px) {
  .chart-grid {
    grid-template-columns: 1fr;
  }

  .decomp-flow {
    grid-template-columns: 1fr;
  }

  .decomp-arrow {
    min-height: 32px;
    transform: rotate(90deg);
  }

  .nav {
    gap: 16px;
  }

  .nav-links {
    gap: 16px;
    font-size: 0.9rem;
  }

  .grid-3,
  .stats,
  .process,
  .org-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .process::before {
    display: none;
  }
}

/* ==========================================
   26. Responsive - Mobile (max-width: 760px)
   ========================================== */
@media (max-width: 760px) {
  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    min-height: 74px;
  }

  .brand-logo {
    width: min(162px, 52vw);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    top: 74px;
    left: 12px;
    right: 12px;
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(220, 231, 241, 0.98);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 48px rgba(18, 58, 99, 0.14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  }

  body.menu-open .nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links {
    flex-direction: column;
    gap: 6px;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible {
    background: var(--blue-bg);
  }

  .nav > .btn {
    width: 100%;
  }

  .hero-inner {
    min-height: auto;
    padding-top: 42px;
  }

  .hero-copy {
    order: 1;
  }

  .hero-visual-wrap {
    order: 2;
    min-height: 420px;
  }

  .hero-title {
    max-width: none;
  }

  .hero-description {
    font-size: 0.98rem;
  }

  .network-card {
    min-height: 420px;
    padding: 20px;
    border-radius: 28px;
  }

  .network-center {
    width: 190px;
    height: 190px;     /* 縦横を固定 */
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    display: grid;
    place-items: center;	  
    padding: 20px;
  }

  .network-label {
    width: 148px;
    padding: 14px;
  }

  .network-label.bottom {
    width: 220px;
  }

  .line-1 { width: 90px; left: 133px; top: 148px; }
  .line-2 { width: 92px; right: 130px; top: 164px; }
  .line-3 { width: 84px; left: 165px; bottom: 127px; }

  .section {
    padding: 72px 0;
  }

  .message-card,
  .contact-card,
  .diagram-wrap {
    padding: 26px;
  }
}

/* ==========================================
   27. Responsive - Small Mobile (max-width: 560px)
   ========================================== */
@media (max-width: 560px) {
  .bar-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .bar-value {
    text-align: left;
  }

  .chart-panel,
  .decomp-wrap {
    padding: 22px;
  }

  .container,
  .header-inner,
  .footer-inner,
  .hero-inner {
    width: min(100% - 24px, 100%);
  }

  .header-inner {
    min-height: 68px;
  }

  .nav {
    top: 68px;
    left: 8px;
    right: 8px;
    padding: 14px;
    border-radius: 18px;
  }

  .btn,
  .contact-actions .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-points li {
    width: 100%;
  }

  .hero-visual-wrap {
    min-height: 350px;
  }

  .hero-copy {
    text-align: left;
  }

  .hero-title {
    font-size: clamp(2.1rem, 9vw, 2.8rem);
    line-height: 1.24;
  }

  .hero-description {
    font-size: 0.94rem;
    margin-bottom: 22px;
  }

  .hero-points {
    gap: 10px;
  }

  .network-card {
    min-height: 330px;
    padding: 16px;
    border-radius: 24px;
  }

  .network-label {
    width: 118px;
    border-radius: 18px;
    padding: 10px 10px 11px;
    gap: 4px;
  }

  .network-label small {
    font-size: 0.62rem;
  }

  .network-label strong {
    font-size: 0.84rem;
  }

  .network-label span {
    font-size: 0.7rem;
    line-height: 1.45;
  }

  .network-label.left-top  { top: 14px; left: 8px; }
  .network-label.right-top { top: 28px; right: 8px; }
  .network-label.bottom    { width: 180px; bottom: 8px; }

  .network-center {
    width: 150px;
    padding: 16px;
	  
    height: 150px;     /* 縦横を固定 */
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    display: grid;
    place-items: center;	  
	  
  }

  .network-center strong {
    font-size: 0.92rem;
  }

  .network-center span {
    font-size: 0.76rem;
    line-height: 1.5;
  }

  .line-1,
  .line-2,
  .line-3 {
    display: none;
  }

  .contact-card h2,
  .section-title {
    line-height: 1.45;
  }

  .info-row,
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .info-label,
  .info-value {
    padding: 14px 14px;
  }

  .mobile-contact-bar {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 10px);
    z-index: 1200;
    display: block;
  }

  .mobile-contact-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 14px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--navy) 0%, #1f5c92 100%);
    color: var(--white);
    font-weight: 800;
    box-shadow: 0 20px 36px rgba(18, 58, 99, 0.28);
  }

  body {
    padding-bottom: 84px;
  }
}
