
:root {
  --fm-navy: #061f38;
  --fm-navy2: #0b3155;
  --fm-navy3: #123f67;
  --fm-orange: #ff971e;
  --fm-orange2: #ff7900;
  --fm-cyan: #54c7e8;
  --fm-ink: #13263a;
  --fm-muted: #647487;
  --fm-line: #dce4ea;
  --fm-bg: #f4f7f9;
  --fm-white: #ffffff;
  --fm-max: 1180px;
}

html {
  scroll-behavior: smooth;
}

body.factory-maintenance-template {
  margin: 0;
  padding: 0;
  background: #fff;
}

.factory-maintenance-lp,
.factory-maintenance-lp *,
.factory-maintenance-lp *::before,
.factory-maintenance-lp *::after {
  box-sizing: border-box;
}

.factory-maintenance-lp {
  position: relative;
  width: 100%;
  margin: 0;
  color: var(--fm-ink);
  background: #fff;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    Meiryo,
    sans-serif;
  font-size: 16px;
  line-height: 1.8;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

.factory-maintenance-lp img {
  display: block;
  max-width: 100%;
  height: auto;
}

.factory-maintenance-lp a {
  color: inherit;
  text-decoration: none;
}

.factory-maintenance-lp h1,
.factory-maintenance-lp h2,
.factory-maintenance-lp h3,
.factory-maintenance-lp p,
.factory-maintenance-lp ul,
.factory-maintenance-lp ol,
.factory-maintenance-lp figure {
  margin-top: 0;
}

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


/* LP HEADER
--------------------------------------------------------- */

.fm-lp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: #fff;
  background: rgba(6,31,56,.97);
  border-bottom: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
}

.admin-bar .fm-lp-header {
  top: 32px;
}

.fm-lp-header__inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.fm-project-name {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff !important;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.35;
}

.fm-project-name__mark {
  flex: 0 0 auto;
  width: 6px;
  height: 34px;
  background: var(--fm-orange);
}

.fm-project-name small {
  display: block;
  margin-top: 3px;
  color: rgba(255,255,255,.64);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .05em;
}

.fm-header-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 17px;
  min-height: 42px;
  padding: 8px 20px;
  color: var(--fm-navy) !important;
  background: var(--fm-orange);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 900;
}


/* HERO
--------------------------------------------------------- */

.fm-hero {
  position: relative;
  min-height: 720px;
  color: #fff;
  background: var(--fm-navy);
  isolation: isolate;
}

.fm-hero__media {
  position: absolute;
  inset: 0 0 0 41%;
  z-index: -4;
  background:
    url("../images/hero-factory.webp")
    58% center / cover no-repeat;
}

.fm-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(
      90deg,
      rgba(3,18,33,1) 0%,
      rgba(3,18,33,.99) 34%,
      rgba(3,18,33,.86) 50%,
      rgba(3,18,33,.35) 77%,
      rgba(3,18,33,.12) 100%
    );
}

.fm-hero__tech {
  position: absolute;
  z-index: -2;
  top: 0;
  right: 0;
  width: 54%;
  height: 100%;
  opacity: .16;
  background:
    linear-gradient(90deg, transparent 49.5%, rgba(84,199,232,.55) 50%, transparent 50.5%) 0 0 / 140px 100%,
    linear-gradient(0deg, transparent 49.5%, rgba(84,199,232,.45) 50%, transparent 50.5%) 0 0 / 100% 100px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 35%, #000 100%);
}

.fm-hero__inner {
  min-height: 720px;
  display: flex;
  align-items: center;
}

.fm-hero__copy {
  width: min(720px, 68%);
  padding: 72px 0 88px;
}

.fm-eyebrow,
.fm-heading__kicker {
  margin-bottom: 16px;
  color: var(--fm-orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .1em;
}

.fm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.fm-eyebrow::before {
  content: "";
  width: 5px;
  height: 24px;
  background: var(--fm-orange);
}

.fm-hero h1 {
  margin-bottom: 0;
  color: #fff;
  font-size: clamp(50px, 6.25vw, 80px);
  font-weight: 950;
  line-height: 1.06;
  letter-spacing: -.055em;
}

.fm-hero h1 span {
  color: var(--fm-orange);
  font-size: .78em;
}

.fm-hero__lead {
  margin: 28px 0 0;
  font-size: clamp(22px, 2.35vw, 31px);
  font-weight: 850;
  line-height: 1.5;
}

.fm-hero__text {
  max-width: 650px;
  margin: 21px 0 29px;
  color: rgba(255,255,255,.82);
  font-size: 15px;
}

.fm-hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.fm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 58px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 900;
  transition: transform .2s ease, background .2s ease;
}

.fm-button:hover {
  transform: translateY(-2px);
}

.fm-button--primary {
  color: #071f37 !important;
  background: var(--fm-orange);
}

.fm-button--ghost {
  color: #fff !important;
  border-color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.06);
}

.fm-hero__pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.fm-hero__pill-list span {
  padding: 6px 11px;
  color: rgba(255,255,255,.9);
  background: rgba(6,31,56,.68);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}


/* COMMON
--------------------------------------------------------- */

.fm-section {
  padding: 94px 0;
}

.fm-heading {
  max-width: 840px;
  margin-bottom: 45px;
}

.fm-heading--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.fm-heading--split {
  max-width: none;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 72px;
  align-items: end;
}

.fm-heading h2,
.fm-team h2,
.fm-contact h2 {
  margin-bottom: 0;
  color: var(--fm-navy);
  font-size: clamp(35px, 4vw, 54px);
  font-weight: 950;
  line-height: 1.25;
  letter-spacing: -.04em;
}

.fm-heading h2 span,
.fm-team h2 span,
.fm-contact h2 span {
  color: var(--fm-orange2);
}

.fm-heading > p:last-child,
.fm-heading--split > p {
  margin: 18px 0 0;
  color: var(--fm-muted);
}

.fm-heading--light h2 {
  color: #fff;
}

.fm-heading--light > p:last-child {
  color: rgba(255,255,255,.72);
}


/* PROBLEM
--------------------------------------------------------- */

.fm-problem {
  background: #fff;
}

.fm-problem__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.fm-problem-card {
  position: relative;
  min-height: 270px;
  padding: 30px 25px;
  background: var(--fm-bg);
  border-top: 4px solid var(--fm-navy);
}

.fm-problem-card__num {
  display: block;
  margin-bottom: 19px;
  color: var(--fm-orange2);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .12em;
}

.fm-problem-card h3 {
  margin-bottom: 13px;
  color: var(--fm-navy);
  font-size: 21px;
  line-height: 1.5;
}

.fm-problem-card p {
  margin-bottom: 0;
  color: var(--fm-muted);
  font-size: 14px;
}

.fm-key-message {
  margin-top: 38px;
  padding: 27px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: var(--fm-navy);
  background: linear-gradient(90deg, #fff6e8, #fff);
  border-left: 6px solid var(--fm-orange);
  text-align: center;
}

.fm-key-message span {
  padding: 5px 12px;
  color: #fff;
  background: var(--fm-navy);
  font-weight: 900;
}

.fm-key-message b {
  color: var(--fm-orange2);
  font-size: 26px;
}

.fm-key-message strong {
  margin-left: 10px;
  font-size: 20px;
}


/* BUILDING × IT
--------------------------------------------------------- */

.fm-two-fields {
  background: var(--fm-bg);
}

.fm-domain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.fm-domain {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--fm-line);
  box-shadow: 0 12px 34px rgba(8,39,67,.07);
}

.fm-domain__header {
  padding: 28px 30px 23px;
  color: #fff;
  background: var(--fm-navy);
}

.fm-domain--it .fm-domain__header {
  background: linear-gradient(135deg, #092b4a, #124e76);
}

.fm-domain__header p {
  margin-bottom: 5px;
  color: var(--fm-orange);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .13em;
}

.fm-domain--it .fm-domain__header p {
  color: var(--fm-cyan);
}

.fm-domain__header h3 {
  margin-bottom: 3px;
  font-size: 30px;
  line-height: 1.35;
}

.fm-domain__header span {
  color: rgba(255,255,255,.7);
  font-size: 13px;
}

.fm-domain__photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: #fff;
}

.fm-domain__photo-grid figure {
  position: relative;
  margin-bottom: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.fm-domain__photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fm-domain__photo-grid figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 18px 12px 10px;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(4,25,44,.88));
  font-size: 12px;
  font-weight: 900;
}

.fm-domain__list {
  list-style: none;
  margin: 0;
  padding: 25px 30px 30px;
  display: grid;
  gap: 0;
}

.fm-domain__list li {
  position: relative;
  padding: 11px 8px 11px 30px;
  border-bottom: 1px solid var(--fm-line);
  font-size: 14px;
  font-weight: 750;
}

.fm-domain__list li::before {
  content: "→";
  position: absolute;
  left: 3px;
  color: var(--fm-orange2);
  font-weight: 900;
}

.fm-domain--it .fm-domain__list li::before {
  color: #168eb9;
}

.fm-it-visual {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(84,199,232,.13), transparent 45%),
    linear-gradient(#f6fbfd, #eef6fa);
}

.fm-it-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .45;
  background:
    linear-gradient(90deg, transparent 49.5%, #d1e9f2 50%, transparent 50.5%) 0 0 / 65px 100%,
    linear-gradient(0deg, transparent 49.5%, #d1e9f2 50%, transparent 50.5%) 0 0 / 100% 65px;
}

.fm-it-node {
  position: absolute;
  z-index: 2;
  width: 118px;
  height: 92px;
  display: grid;
  place-items: center;
  align-content: center;
  color: #fff;
  background: var(--fm-navy2);
  border: 3px solid rgba(84,199,232,.62);
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(8,39,67,.15);
}

.fm-it-node--router {
  left: 50%;
  top: 50%;
  width: 145px;
  height: 110px;
  transform: translate(-50%, -50%);
  background: #0d4164;
}

.fm-it-node--pc {
  left: 7%;
  top: 14%;
}

.fm-it-node--system {
  right: 7%;
  top: 14%;
}

.fm-it-node--cloud {
  right: 11%;
  bottom: 11%;
}

.fm-it-icon {
  color: var(--fm-cyan);
  font-size: 17px;
  font-weight: 950;
}

.fm-it-node strong {
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: .1em;
}

.fm-it-line {
  position: absolute;
  z-index: 1;
  height: 2px;
  background: #73cce5;
  transform-origin: left center;
}

.fm-it-line--1 {
  left: 27%;
  top: 35%;
  width: 27%;
  transform: rotate(25deg);
}

.fm-it-line--2 {
  left: 53%;
  top: 45%;
  width: 26%;
  transform: rotate(-22deg);
}

.fm-it-line--3 {
  left: 56%;
  top: 58%;
  width: 22%;
  transform: rotate(28deg);
}

.fm-combined {
  margin-top: 40px;
  padding: 38px;
  background: #fff;
  border: 1px solid var(--fm-line);
}

.fm-combined h3 {
  margin-bottom: 23px;
  color: var(--fm-navy);
  font-size: 27px;
}

.fm-combined__grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 15px;
}

.fm-combined__grid article {
  padding: 21px;
  background: var(--fm-bg);
}

.fm-combined__grid span {
  display: inline-block;
  color: var(--fm-navy);
  font-weight: 900;
}

.fm-combined__grid b {
  display: inline-block;
  margin: 0 8px;
  color: var(--fm-orange2);
}

.fm-combined__grid p {
  margin: 10px 0 0;
  color: var(--fm-muted);
  font-size: 13px;
}


/* TEAM
--------------------------------------------------------- */

.fm-team {
  color: #fff;
  background:
    linear-gradient(rgba(4,25,44,.96), rgba(4,25,44,.96)),
    url("../images/hero-factory.webp") center / cover no-repeat;
}

.fm-team-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
}

.fm-team-card {
  min-height: 470px;
  padding: 31px;
  color: var(--fm-ink);
  background: rgba(255,255,255,.98);
  border-top: 5px solid var(--fm-orange);
}

.fm-team-card--it {
  border-top-color: var(--fm-cyan);
}

.fm-team-card__logo {
  height: 79px;
  margin-bottom: 23px;
  display: flex;
  align-items: center;
}

.fm-team-card__logo img {
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
  object-position: left center;
}

.fm-team-card__logo--ureru img {
  max-height: 46px;
}

.fm-team-card__role {
  margin-bottom: 9px;
  color: var(--fm-muted);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .11em;
}

.fm-team-card h3 {
  margin-bottom: 16px;
  color: var(--fm-orange2);
  font-size: 25px;
  line-height: 1.45;
}

.fm-team-card--it h3 {
  color: #117ea5;
}

.fm-team-card > p:not(.fm-team-card__role) {
  margin-bottom: 20px;
  font-size: 14px;
}

.fm-team-card__tag {
  display: inline-block;
  padding: 7px 11px;
  color: var(--fm-navy);
  background: #fff4e2;
  font-size: 11px;
  font-weight: 900;
}

.fm-team-card--it .fm-team-card__tag {
  background: #e9f8fc;
}

.fm-team__note {
  max-width: 960px;
  margin: 24px auto 0;
  color: rgba(255,255,255,.68);
  font-size: 12px;
  text-align: center;
}


/* SCENES
--------------------------------------------------------- */

.fm-cases {
  background: #fff;
}

.fm-scene-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
}

.fm-scene {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--fm-line);
  box-shadow: 0 9px 26px rgba(7,31,55,.06);
}

.fm-scene__image {
  position: relative;
}

.fm-scene__image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.fm-scene__image > span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 5px 9px;
  color: #fff;
  background: var(--fm-navy);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .09em;
}

.fm-scene__body {
  padding: 22px 22px 25px;
}

.fm-scene__body h3 {
  margin-bottom: 8px;
  color: var(--fm-navy);
  font-size: 20px;
  line-height: 1.5;
}

.fm-scene__body p {
  margin-bottom: 0;
  color: var(--fm-muted);
  font-size: 13px;
}

.fm-scene--digital {
  background: #f7fbfd;
}

.fm-scene__digital {
  min-height: 192px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  color: #fff;
  background:
    radial-gradient(circle at 70% 20%, rgba(84,199,232,.42), transparent 36%),
    var(--fm-navy);
}

.fm-scene__digital > div {
  display: flex;
  gap: 9px;
}

.fm-scene__digital span {
  padding: 9px 13px;
  color: var(--fm-cyan);
  border: 1px solid rgba(84,199,232,.55);
  border-radius: 3px;
  font-size: 11px;
  font-weight: 900;
}

.fm-scene__digital strong {
  font-size: 31px;
  letter-spacing: .16em;
}

.fm-scene--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  padding: 32px 35px;
  color: #fff;
  background: linear-gradient(135deg, var(--fm-navy), var(--fm-navy3));
  border: 0;
}

.fm-scene__wide-title > span {
  color: var(--fm-orange);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .13em;
}

.fm-scene__wide-title h3 {
  margin: 7px 0 0;
  font-size: 26px;
  line-height: 1.45;
}

.fm-scene__wide-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.fm-scene__wide-flow span {
  padding: 9px 12px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  font-size: 12px;
  font-weight: 800;
}

.fm-scene__wide-flow i {
  color: var(--fm-orange);
  font-style: normal;
  font-weight: 900;
}


/* FLOW
--------------------------------------------------------- */

.fm-flow {
  background: var(--fm-bg);
}

.fm-flow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6,1fr);
  gap: 10px;
}

.fm-flow-list li {
  min-height: 225px;
  padding: 24px 18px;
  background: #fff;
  border-top: 4px solid var(--fm-navy);
}

.fm-flow-list li > span {
  display: block;
  margin-bottom: 14px;
  color: var(--fm-orange2);
  font-size: 26px;
  font-weight: 950;
}

.fm-flow-list h3 {
  margin-bottom: 8px;
  color: var(--fm-navy);
  font-size: 16px;
}

.fm-flow-list p {
  margin-bottom: 0;
  color: var(--fm-muted);
  font-size: 12px;
}


/* CONTACT
--------------------------------------------------------- */

.fm-contact {
  position: relative;
  padding: 96px 0;
  color: #fff;
  background: var(--fm-navy);
  isolation: isolate;
}

.fm-contact__media {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    url("../images/contact-factory.webp")
    center / cover no-repeat;
}

.fm-contact__overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      rgba(4,25,44,.99) 0%,
      rgba(4,25,44,.94) 46%,
      rgba(4,25,44,.72) 100%
    );
}

.fm-contact__inner {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 64px;
  align-items: start;
}

.fm-contact h2 {
  color: #fff;
}

.fm-contact__copy > p:not(.fm-heading__kicker) {
  color: rgba(255,255,255,.78);
}

.fm-contact__mini {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 25px;
}

.fm-contact__mini span {
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,.26);
  font-size: 11px;
}

.fm-contact__box {
  padding: 34px;
  color: var(--fm-ink);
  background: rgba(255,255,255,.98);
  box-shadow: 0 20px 50px rgba(0,0,0,.22);
}

.fm-contact__box h3 {
  margin-bottom: 7px;
  color: var(--fm-navy);
  font-size: 25px;
}

.fm-contact__note {
  color: var(--fm-muted);
  font-size: 13px;
}


/* MW WP FORM
--------------------------------------------------------- */

.fm-mwwpform {
  margin-top: 24px;
}

.fm-mwwpform .mw_wp_form {
  margin: 0;
}

.fm-mwwpform .fm-field {
  margin: 0 0 16px;
}

.fm-mwwpform label {
  display: block;
  margin-bottom: 6px;
  color: var(--fm-navy);
  font-size: 13px;
  font-weight: 850;
}

.fm-mwwpform input[type="text"],
.fm-mwwpform input[type="email"],
.fm-mwwpform input[type="tel"],
.fm-mwwpform input[type="number"],
.fm-mwwpform input[type="url"],
.fm-mwwpform select,
.fm-mwwpform textarea {
  width: 100%;
  min-width: 0;
  padding: 12px 13px;
  color: var(--fm-ink);
  background: #fff;
  border: 1px solid #cfd8e0;
  border-radius: 4px;
  outline: none;
  box-shadow: none;
}

.fm-mwwpform textarea {
  min-height: 160px;
  resize: vertical;
}

.fm-mwwpform input:focus,
.fm-mwwpform select:focus,
.fm-mwwpform textarea:focus {
  border-color: var(--fm-orange);
  box-shadow: 0 0 0 3px rgba(255,151,30,.14);
}

.fm-mwwpform input[type="file"] {
  width: 100%;
  padding: 12px;
  background: #f4f7f9;
  border: 1px solid #d6dfe6;
}

.fm-mwwpform .required,
.fm-mwwpform .must {
  color: #cc451e;
}

.fm-mwwpform .error {
  margin-top: 5px;
  color: #c83e29;
  font-size: 12px;
  font-weight: 800;
}

.fm-mwwpform input[type="submit"],
.fm-mwwpform button,
.fm-mwwpform .mwform-button {
  min-height: 56px;
  padding: 13px 25px;
  color: var(--fm-navy);
  background: var(--fm-orange);
  border: 0;
  border-radius: 4px;
  font-weight: 900;
  cursor: pointer;
}

.fm-form-success {
  padding: 30px;
  color: var(--fm-navy);
  background: #fff6e7;
  border-left: 6px solid var(--fm-orange);
}

.fm-form-success strong {
  display: block;
  margin-bottom: 6px;
  font-size: 21px;
}


/* FOOTER
--------------------------------------------------------- */

.fm-footer {
  padding: 42px 0 46px;
  background: #fff;
  text-align: center;
}

.fm-footer__lead {
  margin-bottom: 4px;
  color: var(--fm-orange2);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .13em;
}

.fm-footer__message {
  margin-bottom: 28px;
  color: var(--fm-navy);
  font-size: 18px;
  font-weight: 900;
}

.fm-footer__logos {
  max-width: 940px;
  margin: 0 auto;
  display: grid;
  grid-template-columns:
    minmax(0,1fr) auto
    minmax(0,1fr) auto
    minmax(0,1fr);
  gap: 22px;
  align-items: center;
}

.fm-footer__logos > div {
  min-width: 0;
  min-height: 84px;
  display: grid;
  place-items: center;
  align-content: center;
}

.fm-footer__logos img {
  max-height: 58px;
  object-fit: contain;
}

.fm-footer__logos small {
  margin-top: 8px;
  color: var(--fm-muted);
  font-size: 10px;
}

.fm-footer__logos > span {
  color: #85929e;
  font-size: 22px;
}

.fm-footer__note {
  margin: 21px 0 0;
  color: var(--fm-muted);
  font-size: 12px;
}

.fm-mobile-cta {
  display: none;
}


/* TABLET
--------------------------------------------------------- */

@media (max-width: 1020px) {

  .fm-hero__media {
    inset: 0;
    opacity: .55;
  }

  .fm-hero__overlay {
    background:
      linear-gradient(
        90deg,
        rgba(3,18,33,.98),
        rgba(3,18,33,.78)
      );
  }

  .fm-hero__copy {
    width: min(760px, 90%);
  }

  .fm-heading--split,
  .fm-contact__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .fm-domain-grid {
    grid-template-columns: 1fr;
  }

  .fm-team-grid {
    grid-template-columns: 1fr;
  }

  .fm-team-card {
    min-height: 0;
  }

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

}


/* MOBILE
--------------------------------------------------------- */

@media (max-width: 680px) {

  .admin-bar .fm-lp-header {
    top: 46px;
  }

  .fm-container {
    width: min(calc(100% - 30px), var(--fm-max));
  }

  .fm-lp-header__inner {
    min-height: 58px;
  }

  .fm-project-name {
    font-size: 9px;
    letter-spacing: .04em;
  }

  .fm-project-name small {
    display: none;
  }

  .fm-project-name__mark {
    height: 25px;
  }

  .fm-header-cta {
    display: none;
  }

  .fm-hero,
  .fm-hero__inner {
    min-height: 730px;
  }

  .fm-hero__media {
    inset: 0;
    background-position: 65% center;
  }

  .fm-hero__overlay {
    background:
      linear-gradient(
        180deg,
        rgba(3,18,33,.95) 0%,
        rgba(3,18,33,.92) 62%,
        rgba(3,18,33,.78) 100%
      );
  }

  .fm-hero__tech {
    width: 100%;
    opacity: .10;
  }

  .fm-hero__copy {
    width: 100%;
    padding: 53px 0 100px;
  }

  .fm-hero h1 {
    font-size: clamp(42px, 13vw, 60px);
  }

  .fm-hero h1 span {
    font-size: .7em;
  }

  .fm-hero__lead {
    font-size: 21px;
  }

  .fm-hero__text {
    font-size: 14px;
  }

  .fm-hero__buttons {
    display: grid;
  }

  .fm-button {
    width: 100%;
  }

  .fm-section {
    padding: 66px 0;
  }

  .fm-heading {
    margin-bottom: 32px;
  }

  .fm-heading h2,
  .fm-team h2,
  .fm-contact h2 {
    font-size: 32px;
  }

  .fm-heading--split {
    gap: 12px;
  }

  .fm-heading--split > p {
    margin-top: 0;
  }

  .fm-problem__grid {
    grid-template-columns: 1fr;
  }

  .fm-problem-card {
    min-height: 0;
  }

  .fm-key-message {
    flex-wrap: wrap;
    padding: 22px 18px;
  }

  .fm-key-message strong {
    width: 100%;
    margin: 4px 0 0;
    font-size: 17px;
  }

  .fm-domain__header {
    padding: 24px 22px 20px;
  }

  .fm-domain__header h3 {
    font-size: 26px;
  }

  .fm-domain__list {
    padding: 20px 22px 24px;
  }

  .fm-it-visual {
    min-height: 270px;
  }

  .fm-it-node {
    width: 95px;
    height: 78px;
  }

  .fm-it-node--router {
    width: 120px;
    height: 96px;
  }

  .fm-combined {
    padding: 26px 20px;
  }

  .fm-combined__grid {
    grid-template-columns: 1fr;
  }

  .fm-team-card {
    padding: 26px 23px;
  }

  .fm-scene-grid {
    grid-template-columns: 1fr;
  }

  .fm-scene--wide {
    grid-column: auto;
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 27px 22px;
  }

  .fm-scene__wide-flow {
    justify-content: flex-start;
  }

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

  .fm-flow-list li {
    min-height: 0;
    display: grid;
    grid-template-columns: 55px 1fr;
    gap: 0 10px;
    padding: 20px;
  }

  .fm-flow-list li > span {
    grid-row: 1 / span 2;
    margin: 0;
  }

  .fm-contact {
    padding: 68px 0 90px;
  }

  .fm-contact__overlay {
    background: rgba(4,25,44,.92);
  }

  .fm-contact__box {
    padding: 24px 19px;
  }

  .fm-footer {
    padding-bottom: 95px;
  }

  .fm-footer__logos {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .fm-footer__logos > span {
    transform: rotate(90deg);
  }

  .fm-mobile-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 200;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--fm-navy) !important;
    background: var(--fm-orange);
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0,0,0,.24);
    font-size: 14px;
    font-weight: 900;
  }

}

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

  .factory-maintenance-lp *,
  .factory-maintenance-lp *::before,
  .factory-maintenance-lp *::after {
    transition-duration: .01ms !important;
  }
}


/* MW WP FORM 確認・完了・エラー時の自動スクロール位置 */
#fm-contact .fm-contact__box {
  scroll-margin-top: 92px;
}

@media (max-width: 680px) {
  #fm-contact .fm-contact__box {
    scroll-margin-top: 72px;
  }
}


/* =========================================================
   MW WP FORM プルダウンを分かりやすく
   ========================================================= */

.fm-mwwpform select {
  min-height: 54px;
  padding: 12px 52px 12px 14px !important;
  color: var(--fm-navy);
  background-color: #fff;
  background-image:
    linear-gradient(45deg, transparent 50%, #ffffff 50%),
    linear-gradient(135deg, #ffffff 50%, transparent 50%),
    linear-gradient(to right, var(--fm-navy), var(--fm-navy));
  background-position:
    calc(100% - 21px) 23px,
    calc(100% - 15px) 23px,
    100% 0;
  background-size:
    6px 6px,
    6px 6px,
    46px 100%;
  background-repeat: no-repeat;
  border: 2px solid #b9c6d1;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.fm-mwwpform select:hover {
  border-color: var(--fm-navy2);
}

.fm-mwwpform select:focus {
  border-color: var(--fm-orange);
  box-shadow: 0 0 0 4px rgba(255,151,30,.16);
}

.fm-mwwpform .fm-select-note {
  display: block;
  margin: -1px 0 7px;
  color: var(--fm-muted);
  font-size: 12px;
  font-weight: 600;
}

@media (max-width: 680px) {
  .fm-mwwpform select {
    min-height: 58px;
    font-size: 16px;
    background-position:
      calc(100% - 22px) 25px,
      calc(100% - 16px) 25px,
      100% 0;
  }
}
.fm-form-success {
  padding: 34px 30px;
  background: #fff8ec;
  border-left: 6px solid var(--fm-orange);
}

.fm-form-success strong {
  display: block;
  margin-bottom: 18px;
  color: var(--fm-navy);
  font-size: 24px;
  line-height: 1.5;
}

.fm-form-success p {
  margin: 0 0 12px;
  color: var(--fm-ink);
  line-height: 1.9;
}

.fm-form-success__note {
  margin-top: 22px !important;
  padding-top: 18px;
  border-top: 1px solid #e2d8c8;
  color: var(--fm-muted) !important;
  font-size: 13px;
}