/*
Theme Name: JBGL
Theme URI: https://jbgl.jp/
Author: JBGL
Description: 日本ボードゲーム流通株式会社のコーポレートサイト用テーマ。
Version: 1.0.0
Text Domain: jbgl
*/

:root {
  --ink: #111214;
  --muted: #666a6d;
  --line: #d7d9da;
  --soft: #f2f3f3;
  --red: #e30613;
  --blue: #1598d2;
  --yellow: #f2b705;
  --green: #2cab66;
  --page: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family:
    "Jost", "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN",
    "Noto Sans JP", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

svg {
  stroke-width: 1.7;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.header-inner,
.footer-inner,
.page-shell {
  width: min(var(--page), calc(100% - 48px));
  margin: 0 auto;
}

.header-inner {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
}

.brand-logo {
  display: block;
  width: 250px;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-self: stretch;
  align-items: stretch;
}

.desktop-nav .nav-item {
  position: relative;
  display: flex;
  min-width: 92px;
  flex-direction: column;
  justify-content: center;
  padding: 0 19px;
  border-left: 1px solid #e5e7e8;
}

.desktop-nav .nav-item span {
  margin-bottom: 7px;
  color: #555a5d;
  font:
    500 9px/1 "Jost",
    sans-serif;
  letter-spacing: 0.08em;
}

.desktop-nav .nav-item strong {
  font:
    700 10px/1 "Jost",
    sans-serif;
  letter-spacing: 0.035em;
}

.desktop-nav .nav-item::after {
  content: "";
  position: absolute;
  right: 19px;
  bottom: 19px;
  left: 19px;
  height: 3px;
  background: var(--nav-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s ease;
}

.desktop-nav .nav-item:hover::after,
.desktop-nav .nav-item:focus-visible::after {
  transform: scaleX(1);
}

.desktop-nav .nav-item:focus-visible {
  outline: 2px solid var(--nav-color);
  outline-offset: -2px;
}

.footer-navigation nav a {
  font:
    700 16px/1 "Jost",
    sans-serif;
  letter-spacing: 0.04em;
}

.mobile-menu {
  display: none;
}

main#top {
  position: relative;
  overflow: hidden;
}

.page-shell {
  position: relative;
  overflow: visible;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 530px;
  grid-template-columns: minmax(330px, 0.82fr) minmax(500px, 1.35fr);
  align-items: center;
  gap: 20px;
  margin: 0 0 54px;
  padding: 64px 0 60px;
  overflow: visible;
  background: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -8%;
  bottom: 5%;
  width: 68%;
  height: 75%;
  background: radial-gradient(ellipse,
      rgba(223, 226, 227, 0.45),
      transparent 67%);
  filter: blur(12px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-left: 38px;
}

.hero-kicker {
  margin: 0 0 38px;
  font:
    700 clamp(52px, 5.6vw, 76px) / 1.03 "Jost",
    sans-serif;
  letter-spacing: -0.025em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(18px, 1.7vw, 29px);
  line-height: 1.5;
}

.hero-copy>p:last-child {
  margin: 12px 0 0;
  font-size: 18px;
  font-weight: 700;
}

.hero-board {
  position: relative;
  z-index: 1;
  width: 148%;
  margin-left: -24%;
  aspect-ratio: 900 / 520;
  pointer-events: none;
}

.board-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.board-plane {
  opacity: 0.74;
}

.board-glow {
  opacity: 0.9;
}

.board-grid path {
  fill: none;
  stroke: url(#board-grid-fade);
  stroke-width: 1.02;
  vector-effect: non-scaling-stroke;
}

.board-nodes circle {
  fill: #9aa2a5;
  opacity: 0.54;
}

.board-nodes circle.is-major {
  fill: #858e91;
  opacity: 0.68;
}

.board-pieces {
  shape-rendering: geometricPrecision;
}

.piece-motion {
  transform: translate(var(--piece-x), var(--piece-y));
  transform-box: view-box;
  transform-origin: 0 0;
  transition: transform var(--piece-step-duration, 900ms) cubic-bezier(0.22, 0.8, 0.3, 1);
  will-change: transform;
}

.piece-perspective {
  transform: scale(var(--piece-scale, 1));
  transform-box: fill-box;
  transform-origin: center bottom;
  transition: transform var(--piece-step-duration, 900ms) cubic-bezier(0.22, 0.8, 0.3, 1);
  will-change: transform;
}

.piece-bob {
  transform: translateY(8px);
  transform-box: fill-box;
  transform-origin: center bottom;
}

.piece-shape,
.piece-face {
  stroke-linecap: round;
  stroke-linejoin: round;
}

.piece-face {
  stroke: var(--piece-edge);
  stroke-width: 0.7;
  vector-effect: non-scaling-stroke;
}

.piece-face-cube-top,
.piece-face-cylinder-top {
  fill: var(--piece-top);
}

.piece-face-cube-left,
.piece-face-cylinder-body,
.piece-face-cone-body {
  fill: var(--piece-left);
}

.piece-face-cube-right,
.piece-face-cylinder-shade,
.piece-face-cone-shade {
  fill: var(--piece-right);
}

.piece-face-cylinder-shade,
.piece-face-cone-shade {
  stroke: none;
  opacity: 0.92;
}

.piece-cylinder-rim,
.piece-cone-rim {
  fill: none;
  stroke: var(--piece-edge);
  stroke-width: 0.7;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.piece-cube-highlight,
.piece-cylinder-highlight,
.piece-cone-highlight {
  fill: var(--piece-highlight);
  opacity: 0.22;
  pointer-events: none;
}

.piece-cylinder-highlight {
  transform: rotate(-4deg);
  transform-box: fill-box;
  transform-origin: center;
}

.piece-white .piece-cylinder-highlight {
  opacity: 0.68;
}

.piece-user .piece-cone-highlight {
  opacity: 0.34;
}

.page-section {
  position: relative;
  isolation: auto;
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  column-gap: 31px;
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}

.section-label {
  position: relative;
  z-index: 2;
  align-self: start;
  padding-top: 3px;
  font-family: "Jost", sans-serif;
}

.section-label span {
  display: block;
  font-size: 45px;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.section-label strong {
  display: block;
  margin-top: 13px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.section-label i {
  display: block;
  width: 48px;
  height: 7px;
  margin-top: 19px;
  background: var(--accent);
}

.section-content {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.decor-cloud {
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  pointer-events: none;
  transform: translateX(-50%);
}

.parallax-piece {
  position: absolute;
  width: var(--size);
  height: var(--size);
  pointer-events: none;
  transform: translate3d(var(--random-x, 0px),
      calc(var(--parallax-shift, 0px) + var(--random-y, 0px)),
      0) rotate(var(--parallax-tilt, 0deg)) scale(var(--parallax-scale, 1));
  will-change: transform;
}

.floating-token {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.94;
  will-change: transform;
  animation: ambient-float var(--float-duration) ease-in-out var(--float-delay) infinite;
}

.shape-circle {
  border-radius: 50%;
}

.shape-square {
  border-radius: 2px;
}

.shape-quarter {
  border-radius: 100% 0 0;
}

.color-red {
  background: var(--red);
}

.color-blue {
  background: var(--blue);
}

.color-yellow {
  background: var(--yellow);
}

@keyframes ambient-float {

  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(calc(var(--rotation) + var(--random-rotation, 0deg)));
  }

  42% {
    transform: translate3d(var(--drift-x), var(--drift-y), 0) rotate(calc(var(--rotation) + var(--random-rotation, 0deg) + 9deg));
  }

  74% {
    transform: translate3d(var(--return-x), var(--return-y), 0) rotate(calc(var(--rotation) + var(--random-rotation, 0deg) - 6deg));
  }
}

.body-copy {
  font-size: 15px;
  line-height: 2.15;
  letter-spacing: 0.03em;
}

.body-copy p {
  margin: 0 0 24px;
}

.about-diagram {
  margin-bottom: 38px;
  padding: 36px 32px 28px;
  border: 1px solid #aeb2b4;
  border-radius: 10px;
}

.about-diagram h2 {
  margin: 0 0 28px;
  text-align: center;
  font-size: 25px;
}

.equation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 23px;
}

.equation-card {
  display: flex;
  width: 150px;
  height: 136px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border: 2px solid;
  border-radius: 10px;
}

.equation-card .pictogram {
  display: block;
  width: 68px;
  height: 62px;
  object-fit: contain;
}

.equation-card strong {
  font:
    700 16px/1 "Jost",
    sans-serif;
}

.marketing {
  color: var(--red);
  border-color: #ff9ba3;
  background: #fffafa;
}

.logistics {
  color: var(--blue);
  border-color: #9eddf6;
  background: #fbfeff;
}

.equation-sign {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  line-height: 1;
  color: #575b5d;
}

.one-stop {
  display: flex;
  width: 152px;
  height: 152px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--yellow);
  color: white;
  text-align: center;
}

.one-stop strong {
  font:
    700 18px/1.15 "Jost",
    sans-serif;
}

.one-stop small {
  margin-top: 10px;
  color: #111;
  font-size: 12px;
  font-weight: 700;
}

.flow-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-top: 44px;
  margin-inline: 32px;
  padding-inline: 24px;
}

.flow-line::before {
  content: "";
  position: absolute;
  top: 17px;
  right: 6%;
  left: 6%;
  border-top: 1px solid #adb0b2;
}

.flow-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.flow-step .pictogram {
  display: block;
  width: 48px;
  height: 46px;
  object-fit: contain;
  background: white;
}

.flow-step span {
  font-size: 11px;
  font-weight: 700;
}

.flow-step i {
  position: absolute;
  top: 13px;
  right: -4px;
  width: 8px;
  height: 8px;
  border-top: 1px solid #8f9395;
  border-right: 1px solid #8f9395;
  transform: rotate(45deg);
}

.business-heading {
  margin-bottom: 52px;
  text-align: center;
}

.business-heading h2,
.message-heading h2 {
  margin: 0;
  font:
    700 27px/1.2 "Jost",
    sans-serif;
  font-size: clamp(24px, 3vw, 35px);
}

.business-heading p,
.message-heading p {
  margin: 9px 0 0;
  font-size: clamp(24px, 3vw, 35px);
  font-weight: 700;
  line-height: 1.5;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 38px;
}

.service-row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 35px;
  align-items: start;
}

.service-tag {
  padding: 20px 10px;
  border: 2px solid;
  text-align: center;
}

.service-tag strong {
  display: block;
  font:
    700 23px/1 "Jost",
    sans-serif;
}

.service-tag span {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-size: 16px;
}

.red-service .service-tag {
  color: var(--red);
  border-color: #ff8d96;
}

.blue-service .service-tag {
  color: var(--blue);
  border-color: #8ed6f3;
}

.yellow-service .service-tag {
  color: #eeb817;
  border-color: #eeb817;
}

.service-row ul {
  margin: 1px 0 0;
  padding-left: 1.2em;
  font-size: 16px;
  line-height: 2;
}

.consulting-copy>p {
  margin: 0 0 20px;
  font-size: 16px;
  font-weight: 700;
}

.consulting-point {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 15px;
  margin-top: 18px;
}

.consulting-point>span {
  font:
    700 22px/1 "Jost",
    sans-serif;
  color: #eeb817;
  border-bottom: 2px solid #eeb817;
}

.consulting-point strong {
  font-size: 16px;
}

.consulting-point p {
  margin: 6px 0 0;
  color: #505456;
  font-size: 16px;
  line-height: 1.75;
}

.prospect-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.prospect-card {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 0 15px 50px;
  border-right: 1px solid var(--line);
  background: white;
}

.prospect-card:last-child {
  border-right: 0;
}

.prospect-card .pictogram {
  display: block;
  width: 93px;
  height: 87px;
  margin: 20px auto;
  object-fit: contain;
}

.prospect-card:nth-child(2) .pictogram {
  width: 75px;
  height: 84px;
  margin-bottom: 22px;
}

.prospect-card:nth-child(3) .pictogram {
  width: 123px;
}

.prospect-card:nth-child(5) .pictogram {
  width: 73px;
}

.prospect-card p {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.75;
}

.prospect-number {
  position: absolute;
  top: -12px;
  right: 12px;
  color: #e5e6e6;
  font:
    700 28px/1 "Jost",
    sans-serif;
  display: none;
}

.prospect-vehicle-track {
  position: relative;
  z-index: 3;
  height: 48px;
  margin-top: 24px;
  overflow: hidden;
  pointer-events: none;
}

.prospect-vehicle-track::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  border-top: 1px solid #adb0b2;
}

.prospect-track-dots {
  position: absolute;
  z-index: 2;
  right: 4%;
  bottom: 0;
  left: 4%;
  display: flex;
  justify-content: space-between;
}

.prospect-track-dots i {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #9fa3a4;
}

.prospect-truck {
  position: absolute;
  z-index: 3;
  bottom: 5px;
  left: -76px;
  display: block;
  width: 66px;
  height: 48px;
  object-fit: contain;
  will-change: left;
  animation: prospect-truck-loop 13s linear infinite;
}

@keyframes prospect-truck-loop {
  from {
    left: -76px;
  }

  to {
    left: calc(100% + 10px);
  }
}

.message-section {
  min-height: 610px;
}

.message-heading {
  margin: 8px 0 48px;
  text-align: center;
}

.message-copy {
  max-width: 840px;
}

.news-section {
  min-height: 390px;
}

.news-list {
  display: flex;
  flex-direction: column;
}

.news-list a,
.news-list .news-item {
  display: grid;
  grid-template-columns: 145px 1fr 22px;
  gap: 15px;
  align-items: center;
  min-height: 62px;
  border-bottom: 1px solid #eceeef;
  font-size: 13px;
}

.news-list a:first-child,
.news-list .news-item:first-child {
  border-top: 1px solid #eceeef;
}

.news-list time {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.news-list i {
  font-style: normal;
  transition: transform 0.2s;
}

.news-list a:hover i {
  transform: translateX(4px);
}

.map-embed {
  position: relative;
  height: 330px;
  overflow: hidden;
  background: #e2e3e3;
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.access-section address {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 30px;
  font-size: 13px;
  font-style: normal;
  line-height: 1.8;
}

.access-section address strong {
  font-weight: 600;
}

.mobile-only {
  display: none;
}

.contact-section {
  padding-bottom: 72px;
}

.contact-intro {
  margin-bottom: 38px;
}

.contact-intro h2 {
  margin: 0 0 10px;
  font-size: 20px;
}

.contact-intro p {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
}

.contact-form {
  width: min(760px, 100%);
}

.contact-form h3 {
  margin: 0 0 2px;
  padding: 9px 15px;
  background: var(--blue);
  color: white;
  text-align: center;
  font-size: 15px;
}

.contact-form label {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 16px;
  padding: 10px 0 0;
}

.contact-form label>span {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  background: #e3e4e4;
  font-size: 13px;
}

.contact-form em {
  margin-left: 3px;
  color: var(--red);
  font-style: normal;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #c9ccce;
  border-radius: 3px;
  background: white;
  padding: 9px 11px;
  font: inherit;
  outline: 0;
}

.contact-form input {
  height: 38px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(21, 152, 210, 0.13);
}

.contact-form button {
  display: flex;
  min-width: 190px;
  height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 24px auto 0;
  border: 0;
  background: var(--blue);
  color: white;
  font: 700 13px/1 inherit;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
}

.contact-form button:hover {
  background: #087db0;
  transform: translateY(-1px);
}

.site-footer {
  padding: 42px 0 28px;
}

.footer-inner {
  position: relative;
  display: grid;
  grid-template-columns: 310px 1fr 110px;
  gap: 60px;
  align-items: start;
}

.footer-navigation nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 18px;
  margin-bottom: 22px;
}

.footer-navigation>a {
  display: block;
  margin-bottom: 35px;
  font-size: 14px;
}

.footer-navigation small {
  font:
    500 9px/1 "Jost",
    sans-serif;
  color: #777;
}

.footer-piece.parallax-piece {
  position: relative;
  align-self: start;
  justify-self: end;
}

@media (min-width: 901px) {
  .hero {
    min-height: 500px;
    margin-bottom: 20px;
    padding-bottom: 38px;
  }

  .hero-board {
    width: 154%;
    margin-left: -27%;
    transform: translateY(2px);
  }
}

@media (max-width: 900px) {
  :root {
    --page: 100%;
  }

  .header-inner,
  .footer-inner,
  .page-shell {
    width: min(100% - 32px, 720px);
  }

  .header-inner {
    height: 70px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu {
    position: relative;
    display: block;
  }

  .mobile-menu summary {
    display: flex;
    width: 42px;
    height: 42px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid var(--line);
    cursor: pointer;
    list-style: none;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu summary span {
    width: 19px;
    border-top: 2px solid var(--ink);
  }

  .mobile-menu nav {
    position: absolute;
    top: 48px;
    right: 0;
    display: flex;
    width: 240px;
    flex-direction: column;
    padding: 8px 14px;
    border: 1px solid var(--line);
    background: white;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  }

  .mobile-menu .nav-item {
    position: relative;
    display: grid;
    min-height: 52px;
    grid-template-columns: 36px 1fr;
    align-items: center;
    border-bottom: 1px solid #eee;
  }

  .mobile-menu .nav-item:last-child {
    border-bottom: 0;
  }

  .mobile-menu .nav-item span {
    color: #74797b;
    font:
      500 9px/1 "Jost",
      sans-serif;
  }

  .mobile-menu .nav-item strong {
    font:
      700 11px/1 "Jost",
      sans-serif;
  }

  .mobile-menu .nav-item::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 36px;
    width: 34px;
    height: 2px;
    background: var(--nav-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s;
  }

  .mobile-menu .nav-item:hover::after,
  .mobile-menu .nav-item:focus-visible::after {
    transform: scaleX(1);
  }

  .hero {
    min-height: 500px;
    grid-template-columns: minmax(260px, 0.75fr) minmax(400px, 1.25fr);
    gap: 0;
    padding: 52px 0 48px;
  }

  .hero-copy {
    padding-left: 18px;
  }

  .hero-kicker {
    font-size: 54px;
  }

  .page-section {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 20px;
  }

  .section-label span {
    font-size: 38px;
  }

  .section-label strong {
    font-size: 17px;
  }

  .prospect-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 35px;
  }

  .prospect-vehicle-track {
    height: 43px;
    margin-top: 24px;
  }

  .prospect-truck {
    width: 58px;
    height: 43px;
    animation-duration: 12s;
  }

  .prospect-card:nth-child(3) {
    border-right: 0;
  }

  .footer-inner {
    grid-template-columns: 260px 1fr;
  }

  .footer-piece {
    display: none;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 70px;
  }

  .header-inner,
  .footer-inner,
  .page-shell {
    width: calc(100% - 32px);
  }

  .brand-logo {
    width: 208px;
  }

  .hero {
    display: flex;
    min-height: 0;
    flex-direction: column;
    margin-bottom: 12px;
    padding: 66px 0 24px;
    overflow: visible;
  }

  .hero-copy {
    width: 100%;
    padding: 0 8px;
  }

  .hero-kicker {
    margin-bottom: 27px;
    font-size: 50px;
  }

  .hero h1 {
    font-size: 17px;
  }

  .hero-copy>p:last-child {
    font-size: 12px;
    line-height: 1.7;
  }

  .hero-board {
    width: 156%;
    margin: 14px -28% -10px;
    aspect-ratio: 900 / 520;
  }

  .hero::after {
    right: -30%;
    bottom: -5%;
    width: 150%;
    height: 55%;
  }

  .page-section {
    display: block;
    padding: 54px 0;
  }

  .section-label {
    display: grid;
    grid-template-columns: 52px 1fr;
    align-items: end;
    margin-bottom: 34px;
    padding: 0;
  }

  .section-label span {
    font-size: 34px;
  }

  .section-label strong {
    margin: 0 0 1px;
    font-size: 17px;
  }

  .section-label i {
    grid-column: 1 / 2;
    width: 36px;
    height: 5px;
    margin-top: 11px;
  }

  .body-copy {
    font-size: 13px;
    line-height: 2;
  }

  .about-diagram {
    padding: 26px 16px 22px;
  }

  .about-diagram h2 {
    font-size: 19px;
  }

  .equation {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr);
    column-gap: 10px;
    row-gap: 18px;
  }

  .equation-card {
    width: 100%;
    height: 115px;
  }

  .equation-card .pictogram {
    width: 58px;
    height: 50px;
  }

  .equation-sign {
    width: 34px;
    min-height: 115px;
    align-self: stretch;
    font-size: 31px;
  }

  .equation>.equation-sign:nth-of-type(2) {
    display: none;
  }

  .one-stop {
    grid-column: 1 / -1;
    width: 130px;
    height: 130px;
    margin: 6px auto 0;
  }

  .flow-line {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 8px;
    margin-inline: 0;
    padding-inline: 8px;
  }

  .flow-line::before,
  .flow-step i {
    display: none;
  }

  .flow-step {
    min-height: 116px;
    justify-content: center;
    padding: 16px 8px 14px;
    border: 1px solid #e4e5e6;
    overflow: visible;
  }

  .flow-step:last-child {
    grid-column: 1 / -1;
  }

  .flow-step .pictogram {
    width: 46px;
    height: 42px;
    flex: none;
  }

  .business-heading {
    margin-bottom: 38px;
  }

  .business-heading h2,
  .message-heading h2 {
    font-size: 23px;
  }

  .business-heading p,
  .message-heading p {
    font-size: 19px;
  }

  .business-heading p br {
    display: none;
  }

  .service-row {
    display: block;
  }

  .service-tag {
    width: 200px;
    margin: 0 auto 22px;
  }

  .service-row ul {
    padding-left: 1.3em;
    font-size: 12px;
  }

  .consulting-copy>p {
    font-size: 13px;
  }

  .consulting-point {
    grid-template-columns: 28px 1fr;
  }

  .prospect-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }

  .prospect-card {
    min-height: 230px;
    padding: 18px 14px;
    border-bottom: 1px solid var(--line);
  }

  .prospect-card:nth-child(2n) {
    border-right: 0;
  }

  .prospect-card:nth-child(3) {
    border-right: 1px solid var(--line);
  }

  .prospect-card p {
    font-size: 11px;
  }

  .prospect-card:nth-child(2) .pictogram {
    width: 72px;
    height: 81px;
    margin-bottom: 24px;
  }

  .prospect-number {
    top: 8px;
  }

  .message-section {
    min-height: 0;
  }

  .message-heading {
    margin-bottom: 34px;
  }

  .message-copy {
    padding: 0;
  }

  .news-section {
    min-height: 0;
    padding-bottom: 75px;
  }

  .news-list a,
  .news-list .news-item {
    grid-template-columns: 1fr 22px;
    gap: 8px;
    padding: 15px 0;
    line-height: 1.6;
  }

  .news-list time {
    grid-column: 1 / -1;
    color: var(--muted);
    font-size: 11px;
  }

  .map-embed {
    height: 260px;
  }

  .access-section address {
    display: block;
    font-size: 12px;
  }

  .access-section address strong {
    display: block;
    margin-bottom: 8px;
  }

  .mobile-only {
    display: inline;
  }

  .contact-intro h2 {
    font-size: 14px;
    line-height: 1.6;
  }

  .contact-form label {
    display: block;
    padding: 10px 0 0;
  }

  .contact-form label>span {
    min-height: 32px;
    justify-content: flex-start;
    padding: 0 10px;
  }

  .contact-form input {
    border-radius: 0;
  }

  .contact-form textarea {
    border-radius: 0;
  }

  .contact-form button {
    margin: 20px auto 0;
  }

  .decor-cloud .parallax-piece {
    width: calc(var(--size) * 0.68);
    height: calc(var(--size) * 0.68);
  }

  .decor-secondary {
    display: none;
  }

  .site-footer {
    padding-top: 36px;
  }

  .footer-inner {
    display: block;
  }

  .footer-navigation {
    margin-top: 32px;
  }

  .footer-navigation nav {
    max-width: 100%;
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .footer-navigation>a {
    margin-bottom: 25px;
  }
}

/* About diagram layout */
.about-diagram {
  padding: clamp(34px, 4vw, 58px) clamp(18px, 4vw, 48px) 40px;
  border: 1.5px solid var(--ink);
  border-radius: 18px;
}

.about-diagram h2 {
  margin-bottom: clamp(36px, 4vw, 58px);
  color: var(--ink);
  font-size: clamp(24px, 3vw, 35px);
  line-height: 1.25;
}

.equation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(42px, 5.5vw, 78px) minmax(0, 1fr) clamp(42px, 5.5vw, 78px) minmax(0, 1fr);
  align-items: center;
  gap: 0;
}

.equation-card {
  width: 100%;
  max-width: 210px;
  height: auto;
  aspect-ratio: 1;
  justify-self: center;
  gap: 10px;
  border-radius: 18px;
  background: #fff;
}

.equation-card .pictogram {
  width: clamp(82px, 9vw, 122px);
  height: clamp(76px, 8vw, 112px);
}

.equation-card.logistics .pictogram {
  width: clamp(82px, 9vw, 142px);
  height: clamp(76px, 8vw, 112px);
}

.equation-card strong {
  font-size: clamp(22px, 2.3vw, 31px);
}

.equation-sign {
  min-width: 34px;
  font-size: clamp(38px, 4.5vw, 52px);
}

.one-stop {
  width: 100%;
  max-width: 230px;
  height: auto;
  aspect-ratio: 1;
  justify-self: center;
}

.one-stop strong {
  font-size: clamp(24px, 2.4vw, 32px);
}

.one-stop i {
  display: block;
  width: 68%;
  margin: 18px auto 10px;
  border-top: 2px solid #fff;
}

.one-stop small {
  margin-top: 0;
  font-size: clamp(13px, 1.2vw, 18px);
  line-height: 1.55;
}

.flow-line {
  min-height: 150px;
  margin-top: 58px;
  margin-inline: 18px;
  padding-inline: 0;
}

.flow-line::before {
  content: none;
}

.flow-connector {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  pointer-events: none;
}

.flow-connector path,
.flow-connector line {
  fill: none;
  stroke: #1d2528;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.flow-connector-dots circle {
  fill: #1d2528;
}

.flow-step {
  width: 100%;
  gap: 12px;
  align-items: center;
  justify-self: center;
  padding-top: 40px;
}

.flow-step::before {
  content: none;
}

.flow-step::after {
  content: none;
}

.flow-step .pictogram {
  display: block;
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  margin-inline: auto;
  object-fit: contain;
  object-position: center center;
}

.flow-step span {
  font-size: clamp(12px, 1.2vw, 16px);
  white-space: nowrap;
}

.flow-step i {
  display: none;
}

@media (min-width: 641px) and (max-width: 900px) {
  .about-diagram {
    padding-inline: 22px;
  }

  .about-diagram h2 {
    font-size: 28px;
  }

  .equation {
    grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr) 30px minmax(0, 1fr);
    gap: 10px;
  }

  .equation-card {
    width: 100%;
    max-width: 164px;
    height: auto;
    aspect-ratio: 1;
    justify-self: center;
  }

  .equation-card .pictogram {
    width: 78px;
    height: 70px;
  }

  .equation-card strong {
    font-size: 21px;
  }

  .equation-sign {
    min-width: 24px;
    font-size: 39px;
  }

  .one-stop {
    width: 100%;
    max-width: 164px;
    height: auto;
    aspect-ratio: 1;
  }

  .one-stop strong {
    font-size: 23px;
  }

  .flow-line {
    margin-inline: 8px;
  }
}

@media (max-width: 640px) {
  .about-diagram {
    padding: 26px 16px 22px;
    border-radius: 12px;
  }

  .about-diagram h2 {
    margin-bottom: 28px;
    font-size: 19px;
  }

  .equation {
    grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr);
    gap: 10px;
  }

  .equation-card {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    gap: 15px;
    border-radius: 10px;
  }

  .equation-card .pictogram {
    width: 58px;
    height: 50px;
  }

  .equation-card strong {
    font-size: 16px;
  }

  .equation-sign {
    min-width: 34px;
    font-size: 31px;
  }

  .one-stop {
    width: 130px;
    height: 130px;
  }

  .one-stop strong {
    font-size: 18px;
  }

  .one-stop i {
    margin: 10px auto 6px;
  }

  .one-stop small {
    font-size: 12px;
  }

  .flow-line {
    min-height: 0;
    margin-top: 44px;
    margin-inline: 0;
    padding-inline: 8px;
  }

  .flow-line::before,
  .flow-connector,
  .flow-step::before,
  .flow-step::after,
  .flow-step i {
    display: none;
  }

  .flow-step {
    min-height: 116px;
    gap: 10px;
    padding: 16px 8px 14px;
  }

  .flow-step .pictogram {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }

  .flow-step:nth-of-type(2) .pictogram {
    transform: translateX(5px);
  }

  .flow-step:nth-of-type(3) .pictogram {
    transform: translateX(6.5px);
  }

  .flow-step:nth-of-type(4) .pictogram {
    transform: translateX(2.5px);
  }

  .flow-step:nth-of-type(5) .pictogram {
    transform: translateX(4px);
  }

  .flow-step:nth-of-type(6) .pictogram {
    transform: translateX(5px);
  }

  .flow-step:nth-of-type(7) .pictogram {
    transform: translateX(8px);
  }

  .flow-step span {
    font-size: 11px;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }

  .piece-motion,
  .piece-perspective,
  .board-nodes circle,
  .floating-token,
  .prospect-truck {
    animation: none !important;
  }

  .piece-motion,
  .piece-perspective {
    transition: none !important;
  }

  .prospect-truck {
    left: 0;
  }

  .parallax-piece {
    transform: none !important;
  }
}

/* WordPress / Contact Form 7 integration */
.site-main {
  display: block;
}

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

.contact-form .wpcf7-form-control-wrap {
  display: block;
  min-width: 0;
}

.contact-form label>span.wpcf7-form-control-wrap {
  min-height: 0;
  align-items: initial;
  justify-content: initial;
  padding: 0;
  background: transparent;
  font-size: inherit;
}

.contact-form .wpcf7-form-control-wrap input,
.contact-form .wpcf7-form-control-wrap textarea {
  display: block;
}

.jbgl-form-step[hidden] {
  display: none !important;
}

.jbgl-confirm-list {
  display: grid;
  margin: 0;
  border-top: 1px solid #e1e3e4;
}

.jbgl-confirm-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 16px;
  padding: 10px 0 0;
}

.jbgl-confirm-row dt,
.jbgl-confirm-row dd {
  min-height: 38px;
  margin: 0;
  padding: 10px 11px;
  font-size: 13px;
}

.jbgl-confirm-row dt {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e3e4e4;
}

.jbgl-confirm-row dd {
  border: 1px solid #c9ccce;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.jbgl-confirm-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.contact-form .jbgl-confirm-actions button,
.contact-form .jbgl-confirm-actions input[type="submit"] {
  margin: 0;
}

.contact-form .jbgl-back-button {
  background: #777d80;
}

.contact-form .jbgl-back-button:hover {
  background: #5b6062;
}

.contact-form .jbgl-complete-message {
  margin: 20px auto;
  font-size: 16px;
  line-height: 1.8;
  text-align: center;
}

.contact-form .jbgl-is-complete .wpcf7-response-output {
  display: none;
}

.contact-form .wpcf7-submit {
  width: auto;
  padding: 9px 18px;
  min-width: 190px;
  height: 42px;
  border: 0;
  background: var(--blue);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.contact-form .wpcf7-spinner {
  display: block;
  margin: 12px auto 0;
}

.contact-form .wpcf7-not-valid-tip {
  display: block;
  margin-top: 4px;
  color: var(--red);
  font-size: 11px;
}

.contact-form .jbgl-client-error {
  display: block;
  margin-top: 4px;
  color: var(--red);
  font-size: 11px;
  line-height: 1.5;
}

.contact-form .jbgl-client-invalid {
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(227, 6, 19, 0.12);
}

.contact-form .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 10px 12px;
  border: 1px solid var(--blue);
  font-size: 12px;
  line-height: 1.7;
}

.jbgl-admin-note {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid #f2b705;
  background: #fffaf0;
  font-size: 13px;
  line-height: 1.7;
}

.contact-complete-section {
  min-height: 480px;
}

.contact-complete-copy {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.contact-complete-copy h2 {
  margin: 20px 0 18px;
  font-size: 28px;
}

.contact-complete-copy p {
  margin: 0;
  font-size: 14px;
  line-height: 2;
}

.privacy-policy-copy {
  max-width: 840px;
}

.privacy-policy-copy h1 {
  margin: 0 0 34px;
  font-size: 28px;
  line-height: 1.35;
}

.privacy-policy-copy h2 {
  margin: 38px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  line-height: 1.5;
}

.privacy-policy-copy h3 {
  margin: 22px 0 8px;
  color: #3f4446;
  font-size: 15px;
  line-height: 1.6;
}

.privacy-policy-copy p,
.privacy-policy-copy li {
  color: #3f4446;
  font-size: 13px;
  line-height: 2;
}

.privacy-policy-copy p {
  margin: 0 0 14px;
}

.privacy-policy-copy ul {
  margin: 0 0 14px;
  padding-left: 1.4em;
}

.privacy-policy-copy a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-policy-lead {
  font-weight: 600;
}

.privacy-policy-signature {
  margin-top: 28px !important;
}

.privacy-policy-date {
  margin-top: 4px !important;
  color: var(--muted) !important;
  text-align: left;
}

.privacy-policy-label strong {
  margin-top: 0;
}

.jbgl-button-link {
  display: inline-flex;
  min-width: 190px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  background: var(--blue);
  color: white;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 640px) {
  .jbgl-confirm-row {
    display: block;
    padding-top: 10px;
  }

  .jbgl-confirm-row dt {
    min-height: 32px;
    justify-content: flex-start;
    padding: 0 10px;
  }

  .jbgl-confirm-row dd {
    min-height: 38px;
    border-radius: 0;
  }

  .jbgl-confirm-actions {
    display: grid;
  }

  .contact-form .jbgl-confirm-actions button,
  .contact-form .jbgl-confirm-actions input[type="submit"] {
    width: 100%;
  }

  .contact-complete-copy h2 {
    font-size: 22px;
  }

  .privacy-policy-copy h1 {
    margin-bottom: 28px;
    font-size: 23px;
  }

  .privacy-policy-copy h2 {
    margin-top: 30px;
    font-size: 17px;
  }

  .privacy-policy-copy h3 {
    margin-top: 18px;
    font-size: 14px;
  }

  .privacy-policy-copy p,
  .privacy-policy-copy li {
    font-size: 12px;
    line-height: 1.9;
  }

  .privacy-policy-label {
    grid-template-columns: 1fr;
  }

  .privacy-policy-label i {
    grid-column: 1;
  }
}

/*$vite$:1*/
