:root {
  color-scheme: light;
  --bg: #e8e2d6;
  --surface: #fbf9f4;
  --surface-muted: #f4f0e8;
  --section-warm: rgba(250, 248, 243, 0.55);
  --section-cool: rgba(226, 233, 235, 0.5);
  --ink: #16130f;
  --muted: #6a6357;
  --line: #d5ccbd;
  --line-soft: #e3dbcd;
  --guide: #b8ad9b;
  --green: #1f4f4a;
  --blue: #2f6f9f;
  --clay: #c7653d;
  --gold: #d6a84f;
  --shadow: 0 18px 50px rgba(31, 37, 39, 0.09);
  --max: 1160px;
  --section-title-col: 17rem;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(31, 79, 74, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(31, 79, 74, 0.05) 1px, transparent 1px),
    var(--bg);
  background-size: 44px 44px;
  color: var(--ink);
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.75;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid #d3cabb;
  background: rgba(232, 226, 214, 0.86);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
}

.brand-link,
.case-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Mono", monospace;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand-link img,
.case-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-family: "Space Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.site-nav a {
  text-decoration: none;
}

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

.nav-toggle,
.nav-toggle-button,
.nav-backdrop,
.nav-drawer-brand {
  display: none;
}

main {
  overflow: visible;
}

#top {
  max-width: var(--max);
  margin: 0 auto;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.section {
  position: relative;
  border-top: 1px solid var(--line);
}

.hero,
#case-studies,
#availability,
#contact {
  background: var(--section-warm);
}

#expertise,
#tools,
#about {
  background: var(--section-cool);
}

.hero,
.section {
  position: relative;
}

.hero::before,
.hero::after,
.section::before,
.section::after {
  content: "";
  position: absolute;
  top: 0;
  z-index: 2;
  width: 11px;
  height: 11px;
  background:
    linear-gradient(var(--guide), var(--guide)) center / 11px 1px no-repeat,
    linear-gradient(var(--guide), var(--guide)) center / 1px 11px no-repeat;
  pointer-events: none;
}

.hero::before,
.section::before {
  left: 0;
  transform: translate(-6px, -6px);
}

.hero::after,
.section::after {
  right: 0;
  transform: translate(6px, -6px);
}

.section-inner {
  max-width: none;
  margin: 0 auto;
  padding: 80px 52px;
}

.hero {
  display: grid;
  align-items: center;
  border-top: 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
  gap: 52px;
  align-items: center;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 84px 52px 80px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 26px;
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-family: "Space Mono", monospace;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow span,
.section-label span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.22;
  letter-spacing: 0;
}

h1 {
  max-width: 13.8ch;
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(2.05rem, 4.7vw, 3.8rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: 0.01em;
}

.hero-copy {
  max-width: 700px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--surface);
  font-family: "Space Mono", monospace;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.hero-visual {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.line-animation {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.mobile-hero-image {
  display: none;
}

.node-animation {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.node-rect,
.connector-line,
.circuit-line {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.draw-node {
  --node-color: var(--blue);
}

.node-a {
  --node-color: var(--blue);
}

.node-b {
  --node-color: var(--green);
}

.node-rect {
  stroke: var(--node-color);
  opacity: 0;
  animation: draw-path 1.1s ease-in-out 1 both;
}

.node-a .node-rect {
  animation-delay: 0.2s;
}

.node-b .node-rect {
  animation-delay: 1.2s;
}

.node-label,
.heart-icon,
.lower-icon {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: item-appear 0.45s ease-out 1 both;
}

.node-label {
  fill: var(--node-color);
  font-family: "Space Mono", monospace;
  font-size: 1.26rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.node-label-a {
  animation-delay: 1.1s;
}

.node-label-b {
  animation-delay: 2.2s;
}

.heart-icon {
  animation-delay: 2.75s;
}

.lower-icon-human {
  animation-delay: 3.05s;
}

.lower-icon-robot {
  animation-delay: 3.2s;
}

.connector-line,
.circuit-line {
  stroke: var(--clay);
  opacity: 0;
}

.connector-left {
  animation: draw-path 0.85s ease-in-out 3.95s 1 both;
}

.connector-right {
  animation: draw-path 0.85s ease-in-out 4.9s 1 both;
}

.circuit-left {
  animation: draw-path 0.9s ease-in-out 5.85s 1 both;
}

.circuit-right {
  animation: draw-path 0.9s ease-in-out 6.8s 1 both;
}

.boundary-dot {
  fill: var(--clay);
  stroke: var(--clay);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: dot-pop 0.3s ease-out 1 both;
}

.dot-a {
  animation-delay: 3.6s;
}

.dot-b {
  animation-delay: 4.55s;
}

.terminal-diamond {
  fill: var(--clay);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transform: rotate(45deg) scale(0.7);
  animation: terminal-diamond-pop 0.35s ease-out 1 both;
}

.terminal-left {
  animation-delay: 5.5s;
}

.terminal-right {
  animation-delay: 6.45s;
}

@keyframes draw-path {
  0% {
    opacity: 0;
    stroke-dashoffset: 1;
  }

  12% {
    opacity: 1;
    stroke-dashoffset: 1;
  }

  100% {
    opacity: 1;
    stroke-dashoffset: 0;
  }
}

@keyframes item-appear {
  0% {
    opacity: 0;
    transform: translateY(4px) scale(0.96);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes dot-pop {
  0% {
    opacity: 0;
    transform: scale(0.6);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes terminal-diamond-pop {
  0% {
    opacity: 0;
    transform: rotate(45deg) scale(0.7);
  }

  100% {
    opacity: 1;
    transform: rotate(45deg) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .node-rect,
  .node-label,
  .heart-icon,
  .lower-icon,
  .connector-line,
  .circuit-line,
  .boundary-dot,
  .terminal-diamond {
    animation: none;
  }

  .node-rect,
  .node-label,
  .heart-icon,
  .lower-icon,
  .connector-line,
  .circuit-line,
  .boundary-dot,
  .terminal-diamond {
    opacity: 1;
    stroke-dashoffset: 0;
    transform: none;
  }

  .terminal-diamond {
    transform: rotate(45deg);
  }
}

.section-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 42px;
}

.section-heading .section-label {
  margin: 0;
}

.section-heading-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px 20px;
  width: 100%;
}

.section-heading h2 {
  flex: 0 0 auto;
  line-height: 1;
}

.section-heading-row > p {
  flex: 0 1 auto;
  margin: 0;
  padding-bottom: 0;
  max-width: 58ch;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.45;
  text-align: left;
}

@media (min-width: 1121px) {
  .section-heading-row > p {
    white-space: nowrap;
  }
}

@media (max-width: 1120px) and (min-width: 881px) {
  .section-heading-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .section-heading-row > p {
    align-self: start;
    display: block;
    padding-bottom: 0;
    max-width: 58ch;
    line-height: 1.85;
  }
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin: 0 0 22px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-family: "Space Mono", monospace;
  font-size: 0.66rem;
  line-height: 1.35;
  letter-spacing: 0.14em;
  white-space: nowrap;
  text-transform: uppercase;
}

h2 {
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

h3 {
  font-size: 1.16rem;
  font-weight: 700;
  line-height: 1.5;
}

.expertise-grid,
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

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

.panel,
.case-card {
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: var(--surface);
  padding: 26px 28px;
  box-shadow: 0 1px 0 rgba(31, 37, 39, 0.03);
}

.panel p,
.case-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.panel-title {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.item-number {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: var(--surface-muted);
  color: var(--blue);
  font-family: "Space Mono", monospace;
  font-size: 1.28rem;
  line-height: 1;
}

.outputs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding: 0;
  list-style: none;
}

.outputs li,
.tag {
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 4px 10px;
  background: var(--surface-muted);
  color: var(--muted);
  font-family: "Space Mono", monospace;
  font-size: 0.72rem;
  line-height: 1.3;
}

.case-card {
  display: flex;
  flex-direction: column;
  min-height: 290px;
}

.case-card .tag {
  align-self: flex-start;
  color: var(--blue);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}

.case-card h3 {
  margin-top: 20px;
  font-size: 1.22rem;
}

.case-card a {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 24px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--blue);
  color: var(--ink);
  font-family: "Space Mono", monospace;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.case-card a:hover,
.case-card a:focus-visible {
  color: var(--blue);
}

.tool-table,
.condition-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(31, 37, 39, 0.03);
}

.tool-table th,
.tool-table td,
.condition-table th,
.condition-table td {
  padding: 16px 18px;
  border-bottom: 1px solid #ece4d6;
  text-align: left;
  vertical-align: top;
}

.tool-table tr:last-child th,
.tool-table tr:last-child td,
.condition-table tr:last-child th,
.condition-table tr:last-child td {
  border-bottom: 0;
}

.tool-table th,
.condition-table th {
  width: 210px;
  color: var(--blue);
  font-family: "Space Mono", monospace;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.6;
}

.condition-table th {
  width: 260px;
  white-space: nowrap;
}

.tool-table td,
.condition-table td {
  color: #2c2820;
  font-size: 0.98rem;
  line-height: 1.65;
}

.tool-table td {
  position: relative;
  padding-left: 44px;
}

.tool-table td::before {
  content: "✓";
  position: absolute;
  top: 16px;
  left: 20px;
  color: var(--blue);
  font-weight: 700;
  line-height: 1.65;
}

.about-copy {
  max-width: 100%;
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 2;
}

.contact-block {
  display: block;
  max-width: 640px;
  margin: 0 auto;
  border: 0;
  border-radius: 16px;
  background: var(--ink);
  color: var(--surface);
  padding: clamp(32px, 5vw, 52px);
}

.contact-block p {
  margin: 0;
  color: rgba(255, 253, 248, 0.75);
}

.contact-block .section-label {
  margin-bottom: 20px;
  border-color: rgba(250, 248, 243, 0.22);
  background: transparent;
  color: rgba(250, 248, 243, 0.75);
}

.contact-status {
  margin: 18px 0 0;
  padding: 10px 14px;
  border: 1px solid rgba(250, 248, 243, 0.22);
  border-radius: var(--radius);
  font-size: 0.9rem;
}

.contact-status.is-success {
  border-color: rgba(31, 79, 74, 0.5);
  color: #bfe3d8;
}

.contact-status.is-error {
  border-color: rgba(199, 101, 61, 0.6);
  color: #f0c3ae;
}

.contact-form {
  display: grid;
  gap: 18px;
  max-width: 480px;
  margin-top: 28px;
}

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

.form-row label {
  color: rgba(250, 248, 243, 0.65);
  font-family: "Space Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-row input,
.form-row textarea {
  border: 1px solid rgba(250, 248, 243, 0.22);
  border-radius: var(--radius);
  background: rgba(250, 248, 243, 0.06);
  padding: 12px 14px;
  color: var(--surface);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
}

.form-row textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--surface);
  outline: none;
}

.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.contact-form .button {
  align-self: flex-start;
  border-color: var(--surface);
  background: var(--surface);
  color: var(--ink);
}

.site-footer {
  border-top: 1px solid #d3cabb;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 24px;
  color: var(--muted);
  font-family: "Space Mono", monospace;
  font-size: 0.9rem;
}

.case-page {
  background:
    linear-gradient(var(--section-warm), var(--section-warm)),
    linear-gradient(90deg, rgba(31, 79, 74, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(31, 79, 74, 0.05) 1px, transparent 1px),
    var(--bg);
  background-size: 44px 44px;
}

.case-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 72px 24px 88px;
}

.case-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin: 0 0 20px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--green);
  font-family: "Space Mono", monospace;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  white-space: nowrap;
  text-transform: uppercase;
}

.case-kicker span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.case-title {
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(2.2rem, 6vw, 4.3rem);
}

.case-summary {
  max-width: 760px;
  margin: 22px 0 42px;
  color: var(--muted);
  font-size: 1.08rem;
}

.case-section {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.case-section h2 {
  color: var(--green);
  font-family: "Space Mono", monospace;
  font-size: 1rem;
}

.case-section p {
  margin: 0;
  color: var(--muted);
}

.back-link {
  display: inline-flex;
  margin-top: 38px;
  font-weight: 700;
}

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

  body {
    padding-top: 64px;
  }

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
  }

  .header-inner {
    align-items: center;
    flex-direction: row;
    min-height: 62px;
  }

  .nav-toggle {
    position: absolute;
    display: block;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .nav-toggle-button {
    position: relative;
    z-index: 31;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 42px;
    height: 42px;
    margin-left: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    cursor: pointer;
  }

  .nav-toggle-button span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--ink);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 20;
    display: block;
    background: rgba(22, 19, 15, 0.24);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 30;
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
    width: min(78vw, 300px);
    height: 100vh;
    padding: 86px 26px 28px;
    border-left: 1px solid var(--line);
    background: var(--surface);
    box-shadow: -18px 0 40px rgba(31, 37, 39, 0.14);
    color: var(--ink);
    font-size: 0.95rem;
    transform: translateX(100%);
    transition: transform 0.24s ease;
  }

  .site-nav a {
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid var(--line-soft);
  }

  a.nav-drawer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 0 0 20px;
    margin-bottom: 6px;
    border-bottom: 1px solid var(--line);
    font-family: "Space Mono", monospace;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--ink);
    text-decoration: none;
  }

  .nav-drawer-brand img {
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }

  .nav-toggle:checked ~ .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle:checked ~ .site-nav {
    transform: translateX(0);
  }

  .nav-toggle:checked + .nav-toggle-button span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle:checked + .nav-toggle-button span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked + .nav-toggle-button span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hero-visual {
    min-height: 320px;
  }

  .section-heading {
    gap: 12px;
    margin-bottom: 30px;
  }

  .case-section {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .section-heading-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .section-heading-row > p {
    display: block;
    max-width: none;
    padding-bottom: 0;
    padding-top: 0;
  }

  h2 {
    white-space: normal;
  }

  .section-heading h2 {
    white-space: nowrap;
    word-break: keep-all;
    overflow-wrap: normal;
  }

  .expertise-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .contact-block {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  body,
  .case-page {
    background-size: 34px 34px;
  }

  .header-inner,
  .hero-inner,
  .section-inner,
  .case-main,
  .footer-inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  .site-nav {
    font-size: 0.95rem;
  }

  h1 {
    font-size: 2.46rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: auto;
    overflow: visible;
  }

  .line-animation {
    display: none;
  }

  .mobile-hero-image {
    display: block;
    width: 100%;
    max-width: 565px;
    height: auto;
    margin: 28px auto 0;
  }

  .tool-table,
  .condition-table,
  .tool-table tbody,
  .condition-table tbody,
  .tool-table tr,
  .condition-table tr,
  .tool-table th,
  .condition-table th,
  .tool-table td,
  .condition-table td {
    display: block;
    width: 100%;
  }

  .tool-table th,
  .condition-table th {
    padding-bottom: 4px;
    border-bottom: 0;
  }

  .tool-table td,
  .condition-table td {
    padding-top: 4px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
