/*
 * Active Brain SME site stylesheet
 * Cleaned and reformatted for maintainability.
 *
 * Breakpoints:
 *   1020px : tablet layout
 *    820px : hamburger navigation
 *    760px : compact tablet / mobile layout
 *    480px : smartphone layout
 */

/* =========================================================
   Design tokens
   ========================================================= */
:root {
  --navy: #202147;
  --navy2: #122f72;
  --blue: #1769d2;
  --orange: #ff9900;
  --orange2: #ff7a00;
  --green: #6f9f61;
  --green-light: #eef7eb;
  --purple: #6666cc;
  --purple-light: #f2f2ff;
  --ink: #22283b;
  --muted: #687083;
  --line: #dfe4ee;
  --bg: #fff;
  --soft: #f7f9fc;
  --max: 1180px;
  --shadow: 0 12px 32px rgba(26,45,88,.08);
}

/* =========================================================
   Base / reset
   ========================================================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.wrap {
  width: min(calc(100% - 48px),var(--max));
  margin-inline: auto;
}

.pc-only {
  display: block;
}

/* =========================================================
   Header / navigation
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(32,33,71,.07);
}

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

.brand img {
  width: 205px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 700;
  color: #293353;
}

.main-nav a:not(.nav-cta) {
  position: relative;
  padding: 10px 0;
}

.main-nav a:not(.nav-cta):after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 5px;
  height: 2px;
  background: var(--orange);
  transition: .2s;
}

.main-nav a:not(.nav-cta):hover:after {
  right: 0;
}

.nav-cta {
  background: linear-gradient(135deg,var(--orange),var(--orange2));
  color: white;
  padding: 12px 22px;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(255,153,0,.22);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--navy);
  margin: 5px;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  padding: 74px 0 58px;
  background: radial-gradient(circle at 7% 16%,rgba(255,153,0,.10),transparent 16%),
    radial-gradient(circle at 48% 46%,rgba(102,102,204,.06),transparent 18%),
    #fff;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 64px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 15px;
  letter-spacing: .12em;
  font-weight: 800;
  color: #5f6380;
}

.hero h1 {
  margin: 0;
  color: var(--navy2);
  font-size: clamp(45px,5.4vw,68px);
  line-height: 1.22;
  letter-spacing: .02em;
}

.hero h1 span {
  color: var(--orange2);
}

.hero-lead {
  font-size: 25px;
  font-weight: 800;
  color: var(--navy);
  margin: 18px 0 14px;
}

.hero-text {
  font-size: 16px;
  line-height: 2;
  margin: 0;
  color: #343a50;
}

.hero-sub {
  margin: 8px 0 0;
  color: #5d6679;
  font-size: 14px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 12px;
  padding: 15px 25px;
  font-weight: 800;
  transition: .18s;
}

.button svg {
  width: 20px;
  height: 20px;
}

.button.primary {
  background: linear-gradient(135deg,var(--orange),var(--orange2));
  color: #fff;
  box-shadow: 0 12px 26px rgba(255,125,0,.22);
}

.button.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 15px 30px rgba(255,125,0,.28);
}

.button.secondary {
  border: 2px solid #3756ac;
  color: #233a83;
  background: #fff;
}

.button.secondary:hover {
  background: #f6f8ff;
}

.hero-note {
  font-size: 13px;
  color: #596174;
  margin: 14px 0 0;
}

.hero-note::first-letter {
  color: var(--orange);
}

.hero-visual {
  position: relative;
  min-height: 430px;
}

.hero-visual>img {
  width: 80%;
  margin-left: 0;
  border-radius: 34px;
  box-shadow: var(--shadow);
  object-fit: cover;
  aspect-ratio: 1/1;
}

.speech-card {
  position: absolute;
  right: 0;
  top: 16px;
  width: 230px;
  background: #fff;
  border: 1px solid #e8eaf0;
  border-radius: 28px;
  padding: 23px 24px;
  box-shadow: 0 16px 34px rgba(24,45,94,.12);
}

.speech-card:after {
  content: "";
  position: absolute;
  left: -16px;
  bottom: 48px;
  border-width: 12px 18px 12px 0;
  border-style: solid;
  border-color: transparent white transparent transparent;
}

.speech-card strong {
  font-size: 18px;
  color: var(--navy);
  line-height: 1.55;
}

.speech-card ul {
  list-style: none;
  padding: 8px 0 0;
  margin: 0;
}

.speech-card li {
  position: relative;
  padding: 5px 0 5px 26px;
  font-size: 13px;
  font-weight: 700;
  color: #464d60;
}

.speech-card li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-size: 18px;
  font-weight: 900;
}

/* =========================================================
   Section headings
   ========================================================= */
.section {
  padding: 52px 0;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 26px;
  justify-content: center;
  margin: 0 0 32px;
  text-align: center;
  font-size: 25px;
  letter-spacing: .02em;
  color: var(--navy);
}

.section-title:before,.section-title:after {
  content: "";
  height: var(--bar);
  background: var(--bar-color);
  flex: 1;
  max-width: 290px;
}

.title-problems {
  --bar: 1px;
  --bar-color: #202147;
}

.title-benefits {
  --bar: 3px;
  --bar-color: #8eb47f;
  color: #45833b;
}

.title-reasons {
  --bar: 5px;
  --bar-color: #6666cc;
  color: #5457ba;
}

/* =========================================================
   Problems
   ========================================================= */
.problems {
  background: #fff;
}

.problems-layout {
  display: grid;
  grid-template-columns: 1.08fr 2.92fr;
  gap: 18px;
}

.problem-main {
  background: linear-gradient(145deg,#192654,#202147);
  color: #fff;
  border-radius: 18px;
  padding: 32px 30px;
  min-height: 275px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(32,33,71,.14);
}

.problem-main:before {
  content: "まずはここ";
  position: absolute;
  top: 0;
  left: 18px;
  background: #fff;
  color: #253267;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 0 0 10px 10px;
}

.problem-main-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
}

.problem-main-head svg {
  width: 50px;
  height: 50px;
}

.problem-main-head strong {
  font-size: 34px;
}

.problem-main p {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.8;
  max-width: 250px;
}

.problem-illustration {
  position: absolute;
  right: 18px;
  bottom: 14px;
  font-size: 76px;
  opacity: .17;
}

.problem-list {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 14px;
}

.mini-card {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  border: 1px solid #d9deeb;
  border-radius: 16px;
  padding: 21px;
  background: #fff;
  min-height: 128px;
}

.mini-card svg {
  width: 39px;
  height: 39px;
  flex: 0 0 auto;
  color: #243d8f;
}

.mini-card h3 {
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 6px;
  color: #1f2d60;
}

.mini-card p {
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
  color: #60697d;
}

.mini-card.wide {
  grid-column: span 2;
}

/* =========================================================
   Benefits
   ========================================================= */
.benefits {
  background: linear-gradient(180deg,#fbfef9,#fff);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(6,1fr);
  gap: 12px;
}

.benefit-grid article {
  border: 1px solid #bad7af;
  border-radius: 16px;
  background: #fbfff9;
  padding: 24px 18px;
  text-align: center;
  min-height: 220px;
}

.benefit-grid svg {
  width: 44px;
  height: 44px;
  color: #4c9142;
}

.benefit-grid h3 {
  font-size: 16px;
  line-height: 1.55;
  color: #356d31;
  margin: 12px 0 8px;
}

.benefit-grid p {
  font-size: 13px;
  color: #56645a;
  margin: 0;
  line-height: 1.75;
}

/* =========================================================
   Reasons / field experience
   ========================================================= */
.reasons {
  background: #fff;
}

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

.reason-grid article {
  border: 1px solid #cfd0f5;
  border-radius: 16px;
  background: #fdfdff;
  padding: 25px 22px;
  min-height: 220px;
  text-align: center;
}

.reason-grid svg {
  width: 48px;
  height: 48px;
  color: var(--purple);
}

.reason-grid h3 {
  margin: 11px 0 8px;
  color: #4e50ad;
  font-size: 17px;
}

.reason-grid p {
  margin: 0;
  font-size: 13px;
  color: #5d6277;
}

.field-note {
  margin-top: 22px;
  padding: 24px 30px;
  border-radius: 18px;
  background: linear-gradient(90deg,#f4f4ff,#fff9ed);
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 8px 28px;
  align-items: center;
}

.field-note strong {
  font-size: 19px;
  color: #383b8c;
}

.field-note span {
  justify-self: end;
  color: #6d609d;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .04em;
}

.field-note p {
  grid-column: 1/-1;
  margin: 0;
  color: #565d70;
  font-size: 14px;
}

/* =========================================================
   Consultation flow / support / trust / contact
   ========================================================= */
.action-zone {
  padding: 48px 0 60px;
  background: #fffdf8;
}

.action-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 28px;
  align-items: start;
}

.action-left {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.flow-box,.support-box {
  border: 1px solid #f2cb84;
  border-radius: 18px;
  background: #fff;
  padding: 26px;
}

.flow-box h2,.support-box h2 {
  margin: 0 0 20px;
  color: #9b5b00;
  font-size: 21px;
}

.flow-box h2 small {
  font-size: 12px;
  font-weight: 700;
  color: #8e8371;
}

.flow-box ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}

.flow-box li {
  position: relative;
  text-align: center;
  padding: 9px 16px;
}

.flow-box li:not(:last-child):after {
  content: "›";
  position: absolute;
  right: -16px;
  top: 44%;
  font-size: 36px;
  color: #d39b42;
}

.flow-box li>span {
  position: absolute;
  left: 14px;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: #fff;
  font-weight: 900;
}

.flow-box svg {
  width: 45px;
  height: 45px;
  color: #bd7509;
  margin: 6px auto;
}

.flow-box strong {
  display: block;
  color: #704711;
}

.flow-box p {
  margin: 6px 0 0;
  font-size: 12px;
  color: #746c60;
}

.support-box {
  border-color: #d5d4f5;
}

.support-box h2 {
  color: #4e50ad;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
}

.support-grid article {
  background: #f8f8ff;
  border-radius: 14px;
  padding: 20px;
  text-align: center;
}

.support-grid svg {
  width: 38px;
  height: 38px;
  color: var(--purple);
}

.support-grid h3 {
  font-size: 15px;
  margin: 8px 0 4px;
  color: #494da5;
}

.support-grid p {
  font-size: 12px;
  margin: 0;
  color: #666a7b;
}

.human-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid #e0e3eb;
  border-radius: 18px;
  background: #fff;
  width: 100%;
  max-width: none;
}

.brain-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg,#223376,#6e72d6);
  color: #fff;
  font-weight: 900;
  flex: 0 0 auto;
}

.human-trust strong {
  color: #253267;
}

.human-trust p,.support-note {
  font-size: 13px;
  color: #60687a;
}

.human-trust p {
  margin: 4px 0 0;
}

.support-note {
  margin: 18px 0 0;
  line-height: 1.75;
}

.contact-wrap {
  border: 2px solid var(--orange);
  border-radius: 22px;
  background: #fff;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(255,153,0,.10);
  min-width: 0;
}

.contact-intro {
  padding: 26px 26px 18px;
  background: #fffaf1;
}

.contact-intro h2 {
  margin: 0 0 14px;
  color: #d46b00;
  font-size: 25px;
  white-space: nowrap;
}

.reassurance-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  font-size: 13px;
  color: #565e70;
}

.it-reassurance {
  margin: 14px 0 0;
  font-size: 13px;
  font-weight: 800;
  color: #43518a;
}

.contact-form {
  padding: 22px 26px 28px;
}

.field {
  display: grid;
  grid-template-columns: 115px 1fr;
  gap: 10px;
  align-items: center;
  margin-bottom: 11px;
}

.field label {
  font-size: 13px;
  font-weight: 800;
  color: #283359;
}

.field label span {
  white-space: nowrap;
  font-size: 10px;
  background: #f04438;
  color: #fff;
  border-radius: 5px;
  padding: 2px 5px;
}

.field label em {
  white-space: nowrap;
  font-size: 10px;
  font-style: normal;
  color: #75809b;
  border: 1px solid #cbd2df;
  border-radius: 5px;
  padding: 1px 5px;
}

.field input,.field textarea {
  width: 100%;
  border: 1px solid #d6dce7;
  border-radius: 8px;
  padding: 11px 12px;
  font: inherit;
  font-size: 13px;
  background: #fff;
}

.field textarea {
  resize: vertical;
}

.field input:focus,.field textarea:focus {
  outline: 2px solid rgba(255,153,0,.25);
  border-color: var(--orange);
}

.submit {
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg,var(--orange),var(--orange2));
  color: #fff;
  font: inherit;
  font-size: 18px;
  font-weight: 900;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(255,125,0,.18);
}

.submit svg {
  width: 22px;
  height: 22px;
}

.privacy-note {
  font-size: 10px;
  color: #7d8494;
  line-height: 1.6;
  margin: 12px 0 0;
}

.hp {
  position: absolute !important;
  left: -9999px !important;
}

/* =========================================================
   Enterprise bridge
   ========================================================= */
.enterprise-bridge {
  padding: 0 0 36px;
  background: #fffdf8;
}

.bridge-inner {
  border: 1px solid #ecd9b3;
  border-radius: 16px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 20px 26px;
}

.bridge-inner strong {
  font-size: 16px;
  color: #253267;
}

.bridge-inner p {
  font-size: 12px;
  color: #6d7485;
  margin: 4px 0 0;
}

.bridge-inner a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #8b8edc;
  color: #4b4eaf;
  border-radius: 10px;
  padding: 10px 17px;
  font-weight: 800;
  font-size: 13px;
  white-space: nowrap;
}

.bridge-inner svg {
  width: 18px;
  height: 18px;
}

/* =========================================================
   Company information
   ========================================================= */
.bizinfo {
  padding: 24px 0 58px;
  background: radial-gradient(circle at 7% 16%,rgba(255,153,0,.10),transparent 16%),
    radial-gradient(circle at 48% 46%,rgba(102,102,204,.06),transparent 18%),
    #fff;
}

.bizinfo-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 64px;
}

.bizinfo-lead {
  font-size: 24px;
  font-weight: 800;
  color: #596174;
  margin: 14px 0 0;
}

.bizinfo2-lead {
  font-size: 18px;
  font-weight: 800;
  color: #596174;
  margin: 2px 0 0;
}

.bizinfo-note {
  font-size: 12px;
  font-weight: 800;
  color: #796885;
  margin: 8px 0 0;
}

.bizinfo2-note {
  font-size: 10px;
  font-weight: 800;
  color: #796885;
  margin: 2px 0 0;
}

.bizinfo-text {
  font-size: 12px;
  color: #596174;
  margin: 10px 0 0;
}

.bizinfo2-text {
  font-size: 10px;
  color: #596174;
  margin: 2px 0 0;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  border-top: 1px solid #dfe3eb;
  background: #fff;
  padding: 27px 0 30px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 30px;
}

.footer-inner img {
  width: 170px;
}

.footer-inner nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 11px;
  color: #5f6677;
}

.footer-inner p {
  font-size: 10px;
  color: #7b8190;
  white-space: nowrap;
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy2);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(20,38,93,.22);
}

/* =========================================================
   Privacy consent
   ========================================================= */
.privacy-consent {
  margin: 16px 0 14px;
  padding: 14px 15px;
  border-radius: 10px;
  background: #f8f8fc;
  border: 1px solid #e0e2ee;
  color: #555d70;
  width: 100%;
  max-width: none;
}

.privacy-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12px;
  line-height: 1.7;
  cursor: pointer;
}

.privacy-consent-label input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  flex: 0 0 auto;
  accent-color: #6666cc;
}

.privacy-consent-label a {
  color: #5457ba;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 800;
}

.privacy-consent>p {
  margin: 6px 0 0 26px;
  font-size: 10px;
  line-height: 1.6;
  color: #7a8192;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1020px) {
  .main-nav {
    gap: 17px;
    font-size: 12px;
  }

  .hero-grid {
    gap: 32px;
  }

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

  .speech-card {
    width: 205px;
  }

  .benefit-grid {
    grid-template-columns: repeat(3,1fr);
  }

  .problems-layout {
    grid-template-columns: 1fr;
  }

  .problem-main {
    min-height: 220px;
  }

  .problem-list {
    grid-template-columns: repeat(2,1fr);
  }

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

  .action-grid {
    grid-template-columns: 1fr;
  }

  .contact-wrap {
    max-width: 720px;
    width: 100%;
    margin: auto;
  }

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

  .footer-inner p {
    grid-column: 1/-1;
    text-align: center;
  }

  .field-note {
    grid-template-columns: 1fr;
  }

  .field-note span {
    justify-self: start;
  }
}

/* Header navigation switches to hamburger from 820px downward. */
@media (max-width: 820px) {
  .header-inner {
    height: 66px;
  }

  .brand img {
    width: 170px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 18px 22px;
    border-bottom: 1px solid #e7e9ef;
    box-shadow: 0 12px 20px rgba(0,0,0,.05);
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    text-align: center;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: min(calc(100% - 30px),var(--max));
  }

  .hero {
    padding: 42px 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-lead {
    font-size: 22px;
  }

  .hero-text br {
    display: none;
  }

  .hero-visual {
    min-height: auto;
    display: flex;
    gap: 12px;
    align-items: flex-start;
  }

  .hero-visual>img {
    width: 67%;
    border-radius: 24px;
  }

  .speech-card {
    position: relative;
    right: auto;
    top: auto;
    width: 33%;
    padding: 15px;
    border-radius: 18px;
  }

  .speech-card:after {
    display: none;
  }

  .speech-card strong {
    font-size: 14px;
  }

  .speech-card li {
    font-size: 10px;
    padding-left: 18px;
  }

  .speech-card li:before {
    font-size: 14px;
  }

  .section {
    padding: 42px 0;
  }

  .section-title {
    font-size: 20px;
    gap: 12px;
    margin-bottom: 24px;
  }

  .section-title:before,.section-title:after {
    max-width: 80px;
  }

  .problem-main-head strong {
    font-size: 28px;
  }

  .problem-list {
    grid-template-columns: 1fr;
  }

  .mini-card.wide {
    grid-column: auto;
  }

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

  .reason-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .flow-box li:not(:last-child):after {
    content: "↓";
    right: 50%;
    top: auto;
    bottom: -21px;
    font-size: 24px;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }

  .field {
    grid-template-columns: 1fr;
    gap: 4px;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-inner img {
    margin: auto;
  }

  .footer-inner nav {
    gap: 15px;
  }

  .pc-only {
    display: none;
  }
}

/* Smartphone-specific layout, including stacked company info / map. */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 38px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    display: block;
  }

  .hero-visual>img {
    width: 100%;
  }

  .speech-card {
    width: calc(100% - 30px);
    margin: -42px 15px 0;
    position: relative;
  }

  .benefit-grid,.reason-grid {
    grid-template-columns: 1fr;
  }

  .section-title:before,.section-title:after {
    max-width: 35px;
  }

  .field-note {
    padding: 20px;
  }

  .problem-main {
    padding: 30px 22px;
  }

  .contact-intro,.contact-form {
    padding-left: 20px;
    padding-right: 20px;
  }

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

  .bizinfo .hero-visual {
    display: block;
    width: 100%;
    min-height: 0;
  }

  .bizinfo iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 280px;
    margin: 0;
  }
}
