﻿:root {
  --color-bg: #ffffff;
  --color-bg-base: #ffffff;
  --color-bg-elevated: #f4f6f9;
  --color-bg-deep: #1c2c59;
  --color-bg-card: #ffffff;
  --color-surface: #ffffff;
  --color-surface-alt: #f4f6f9;
  --color-primary: #1c2c59;
  --color-primary-l: #2a3f7a;
  --color-accent: #067bc0;
  --color-accent-l: #4aa3dc;
  --color-pop: #ef845c;
  --color-pending: #e6003f;
  --color-text: #16213f;
  --color-text-muted: #4a5468;
  --color-text-dim: #8a92a3;
  --color-text-on-dark: #f2f4f8;
  --color-line: rgba(16, 26, 53, 0.1);
  --color-line-strong: rgba(16, 26, 53, 0.22);
  --c-trad: #8a92a3;
  --c-mnt: #067bc0;
  --c-highlight: #ef845c;
  --font-jp:
    "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-en: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.375rem;
  --fs-xl: 1.75rem;
  --fs-2xl: 2.25rem;
  --fs-3xl: 3rem;
  --fs-4xl: clamp(2.5rem, 6vw, 4.5rem);
  --lh-tight: 1.2;
  --lh-normal: 1.6;
  --lh-loose: 1.8;
  --container-max: 1200px;
  --container-narrow: 880px;
  --gutter: 1.5rem;
  --section-pad-y: clamp(3rem, 6vw, 6rem);
  --header-h: 64px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 150ms;
  --dur: 280ms;
  --dur-slow: 520ms;
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow-1: 0 1px 2px rgba(16, 26, 53, 0.08);
  --shadow-2: 0 12px 36px rgba(16, 26, 53, 0.12);
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/inter-300.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-500.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-600.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/inter-700.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/noto-sans-jp-300.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/noto-sans-jp-400.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/noto-sans-jp-500.woff2") format("woff2");
}
@font-face {
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/noto-sans-jp-700.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-400.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-500.woff2") format("woff2");
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  list-style: none;
  padding: 0;
}
button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
::selection {
  background: var(--color-accent);
  color: var(--color-bg-deep);
}
body {
  font-family: var(--font-jp);
  font-weight: 400;
  font-size: var(--fs-base);
  color: var(--color-text);
  background: var(--color-bg);
}
.En {
  font-family: var(--font-en);
  letter-spacing: 0.02em;
}
.Mono {
  font-family: var(--font-mono);
  font-feature-settings: "tnum";
}
.Eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8em;
  font-family: var(--font-en);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.EyebrowBar::before,
.SectionHeadEyebrow::before {
  content: "";
  display: inline-block;
  width: 2.5em;
  height: 1px;
  background: var(--color-accent);
  vertical-align: middle;
}
.Heading {
  font-family: var(--font-jp);
  font-weight: 500;
  line-height: var(--lh-tight);
  letter-spacing: 0.02em;
}
.HeadingXl {
  font-size: var(--fs-4xl);
  font-weight: 300;
}
.HeadingLg,
.SectionHeadTitle {
  font-size: var(--fs-3xl);
  font-weight: 500;
}
.HeadingMd {
  font-size: var(--fs-2xl);
  font-weight: 500;
}
.HeadingSm {
  font-size: var(--fs-xl);
  font-weight: 500;
}
.Lead,
.SectionHeadLead {
  font-size: var(--fs-md);
  color: var(--color-text-muted);
  line-height: var(--lh-loose);
}
:lang(en) {
  font-family: var(--font-en);
}
.Muted {
  color: var(--color-text-muted);
}
.Dim {
  color: var(--color-text-dim);
}
.Container,
.SectionInner {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.ContainerNarrow {
  max-width: var(--container-narrow);
}
.Section {
  padding-block: var(--section-pad-y);
  position: relative;
}
.SectionInner {
  position: relative;
  z-index: 1;
}
.SectionHead {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  max-width: 64ch;
}
.SectionHeadGhost {
  position: absolute;
  top: -0.35em;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(2.75rem, 9vw, 6.5rem);
  color: var(--color-bg-elevated);
  white-space: nowrap;
  line-height: 1;
  z-index: 0;
  user-select: none;
  pointer-events: none;
}
.SectionHeadTitle {
  position: relative;
  z-index: 1;
  letter-spacing: 0.02em;
}
.SectionHeadLead {
  position: relative;
  z-index: 1;
  max-width: 56ch;
}
.SectionHead-center {
  align-items: center;
  text-align: center;
  margin-inline: auto;
}
.Section-deep .SectionHeadGhost {
  display: none;
}
.Section-base {
  background: var(--color-bg-base);
}
.Section-elevated {
  background: var(--color-bg-elevated);
}
.Section-deep {
  background: var(--color-bg-deep);
  color: var(--color-text-on-dark);
}
.Section-deep .SectionHeadTitle,
.Section-deep .SectionHeadLead {
  color: var(--color-text-on-dark);
}
.Section-primary {
  background: var(--color-primary);
  color: var(--color-text-on-dark);
}
.Swoop {
  --swoop-radius: clamp(3rem, 12.8vw, 13rem);
  --swoop-color: var(--color-bg-deep);
  --swoop-shape: var(--swoop-radius) 0 var(--swoop-radius) 0;
  position: relative;
  z-index: 1;
  border-radius: var(--swoop-shape);
}
.Swoop::before,
.Swoop::after {
  content: "";
  position: absolute;
  width: var(--swoop-radius);
  height: var(--swoop-radius);
  pointer-events: none;
}
.Swoop::before {
  right: 0;
  bottom: 100%;
  background: radial-gradient(
    circle at 0 0,
    rgba(0, 0, 0, 0) calc(var(--swoop-radius) - 0.5px),
    var(--swoop-color) calc(var(--swoop-radius) + 0.5px)
  );
}
.Swoop::after {
  left: 0;
  top: 100%;
  background: radial-gradient(
    circle at 100% 100%,
    rgba(0, 0, 0, 0) calc(var(--swoop-radius) - 0.5px),
    var(--swoop-color) calc(var(--swoop-radius) + 0.5px)
  );
}
.Swoop-topOnly {
  --swoop-shape: var(--swoop-radius) 0 0 0;
}
.Swoop-topOnly::after {
  content: none;
}
.BgNetwork {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  overflow: hidden;
}
.PageIntro {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(1.5rem, 4vw, 3rem));
  padding-bottom: clamp(2rem, 4vw, 3rem);
  text-align: center;
  overflow: hidden;
}
.PageIntroGhost {
  position: absolute;
  top: calc(var(--header-h) - 0.3em);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(3.5rem, 13vw, 9rem);
  color: var(--color-bg-elevated);
  white-space: nowrap;
  z-index: 0;
  line-height: 1;
  user-select: none;
}
.PageIntroInner {
  position: relative;
  z-index: 1;
}
.PageIntroTitle {
  margin: 0 0 0.75rem;
  font-family: var(--font-en);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--color-primary);
}
.PageIntroLead {
  margin: 0 auto;
  max-width: 42ch;
  color: var(--color-text-muted);
  font-weight: 700;
}
.PageIntroSub {
  margin: 0.5rem auto 0;
  max-width: 56ch;
  color: var(--color-text-dim);
  font-size: var(--fs-sm);
}
.NotFound {
  min-height: 70vh;
  display: flex;
  align-items: center;
}
.NotFoundInner {
  text-align: center;
}
.NotFoundInner .Eyebrow {
  margin-bottom: 1rem;
}
.NotFoundInner .Lead,
.NotFoundInner .SectionHeadLead {
  margin-top: 1.5rem;
  max-width: 48ch;
  margin-inline: auto;
}
.NotFoundInner .Button {
  margin-top: 2.5rem;
}
.Panel {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-line-strong);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
}
.Panel-flush {
  padding: 0;
  overflow: hidden;
}
.Grid {
  display: grid;
  gap: var(--gutter);
}
.Grid-2 {
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .Grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}
.Grid-3 {
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .Grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
.Grid-4 {
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .Grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .Grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}
.Stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.Stack-sm {
  gap: 0.5rem;
}
.Stack-lg {
  gap: 2rem;
}
.Stack-xl {
  gap: 3rem;
}
.Row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.Main {
  padding-top: var(--header-h);
  min-height: 100vh;
}
.SrOnly {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.TextCenter {
  text-align: center;
}
.TextRight {
  text-align: right;
}
.Hidden {
  display: none !important;
}
@media (max-width: 767.98px) {
  .HiddenSm {
    display: none !important;
  }
}
@media (min-width: 768px) and (max-width: 1023.98px) {
  .HiddenMd {
    display: none !important;
  }
}
@media (min-width: 1024px) {
  .HiddenLg {
    display: none !important;
  }
}
.ShowSm {
  display: none;
}
@media (max-width: 767.98px) {
  .ShowSm {
    display: initial;
  }
}
.Header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: hsla(0, 0%, 100%, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-line);
  transition:
    background var(--dur) var(--ease-out),
    box-shadow var(--dur) var(--ease-out);
}
.HeaderInner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.HeaderLogo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
  flex-shrink: 0;
}
.HeaderLogoImg {
  height: 34px;
  width: auto;
  display: block;
}
.HeaderNav {
  flex: 1;
  min-width: 0;
}
@media (max-width: 1023.98px) {
  .HeaderNav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--color-surface);
    padding: 2rem var(--gutter);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    overflow-y: auto;
    transition:
      transform var(--dur) var(--ease-out),
      opacity var(--dur) var(--ease-out);
  }
  .HeaderNav-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
}
.HeaderNavList {
  display: flex;
  justify-content: center;
  gap: clamp(0.9rem, 1.6vw, 1.6rem);
  flex-wrap: wrap;
}
@media (max-width: 1023.98px) {
  .HeaderNavList {
    flex-direction: column;
    gap: 1.25rem;
  }
}
.HeaderNavLink {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--dur-fast) var(--ease-out);
}
.HeaderNavLink:hover {
  color: var(--color-primary);
}
.HeaderNavLink-active {
  color: var(--color-accent);
}
.HeaderContact {
  flex-shrink: 0;
  padding: 0.6rem 1.4rem;
  font-size: var(--fs-xs);
}
@media (max-width: 479.98px) {
  .HeaderContact {
    display: none;
  }
}
.HeaderToggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  flex-shrink: 0;
}
@media (max-width: 1023.98px) {
  .HeaderToggle {
    display: inline-flex;
  }
}
.HeaderToggleBar {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  position: relative;
}
.HeaderToggleBar::before,
.HeaderToggleBar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
}
.HeaderToggleBar::before {
  top: -7px;
}
.HeaderToggleBar::after {
  top: 7px;
}
.Header-scrolled {
  background: hsla(0, 0%, 100%, 0.98);
  box-shadow: var(--shadow-1);
}
.Footer {
  position: relative;
  box-shadow: 0 -12px 24px -8px rgba(16, 26, 53, 0.25);
}
.FooterInner {
  position: relative;
  display: grid;
  gap: 2.5rem;
  padding: clamp(2.5rem, 5vw, 4rem) var(--gutter);
  background: var(--color-primary);
  overflow: hidden;
}
@media (min-width: 768px) {
  .FooterInner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--color-surface);
    clip-path: polygon(0 0, 36% 0, 27% 100%, 0 100%);
  }
}
@media (min-width: 768px) {
  .FooterInner {
    grid-template-columns: minmax(300px, 36%) 1fr;
    align-items: start;
  }
}
.FooterBrand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
}
@media (max-width: 767.98px) {
  .FooterBrand {
    background: var(--color-surface);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius);
    width: fit-content;
  }
}
.FooterBrandLogo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.FooterBrandLogoImg {
  height: 37px;
  width: auto;
  display: block;
}
.FooterNav {
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) {
  .FooterNav {
    padding-left: 1rem;
  }
}
.FooterNavList {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem 2rem;
}
@media (min-width: 768px) {
  .FooterNavList {
    grid-template-columns: repeat(4, 1fr);
  }
}
.FooterNavItem {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.FooterNavLink {
  font-family: var(--font-en);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--color-text-on-dark);
  text-decoration: none;
}
.FooterNavLink:hover {
  color: var(--color-accent-l);
}
.FooterNavGroup {
  display: block;
  font-size: var(--fs-xs);
  color: rgba(242, 244, 248, 0.6);
}
.FooterBottom {
  border-top: 1px solid var(--color-line);
  padding: 1.25rem var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.FooterBottomCompany {
  margin: 0;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--color-primary);
}
.FooterBottomCopy {
  font-family: var(--font-en);
  font-size: var(--fs-xs);
  color: var(--color-text-dim);
  letter-spacing: 0.04em;
}
.Button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-en);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  background: rgba(0, 0, 0, 0);
  color: var(--color-text);
  border: 1px solid var(--color-line-strong);
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition:
    background var(--dur) var(--ease-out),
    color var(--dur) var(--ease-out),
    border var(--dur) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}
.Button:hover {
  background: var(--color-text);
  color: var(--color-text-on-dark);
  border-color: var(--color-text);
}
.Button:active {
  transform: translateY(1px);
}
.ButtonIcon {
  width: 1em;
  height: 1em;
  transition: transform var(--dur) var(--ease-out);
}
.Button:hover .ButtonIcon {
  transform: translateX(3px);
}
.Button-primary {
  background: var(--color-primary);
  color: var(--color-text-on-dark);
  border-color: var(--color-primary);
}
.Button-primary:hover {
  background: var(--color-primary-l);
  border-color: var(--color-primary-l);
  color: var(--color-text-on-dark);
}
.Button-accent {
  background: var(--color-accent);
  color: var(--color-text-on-dark);
  border-color: var(--color-accent);
}
.Button-accent:hover {
  background: var(--color-accent-l);
  border-color: var(--color-accent-l);
  color: var(--color-text-on-dark);
}
.Button-pop {
  background: var(--color-pop);
  color: var(--color-text-on-dark);
  border-color: var(--color-pop);
}
.Button-pop:hover {
  filter: brightness(1.08);
  color: var(--color-text-on-dark);
}
.Button-ghost {
  background: rgba(0, 0, 0, 0);
  border-color: var(--color-line-strong);
  color: var(--color-text);
}
.Button-ghost:hover {
  background: var(--color-text);
  color: var(--color-text-on-dark);
  border-color: var(--color-text);
}
.Button-sm {
  padding: 0.625rem 1.25rem;
  font-size: var(--fs-xs);
}
.Button-lg {
  padding: 1.125rem 2.25rem;
  font-size: var(--fs-base);
}
.Form {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  max-width: 640px;
  margin-inline: auto;
}
.FormField {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.FormFieldLabel {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--color-primary);
}
.FormFieldLabelRequired {
  color: var(--color-pop);
  margin-left: 0.4em;
}
.FormFieldInput,
.FormFieldTextarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-line-strong);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-family: var(--font-jp);
  font-size: var(--fs-base);
  transition: border var(--dur-fast) var(--ease-out);
}
.FormFieldInput::placeholder,
.FormFieldTextarea::placeholder {
  color: var(--color-text-dim);
}
.FormFieldInput:focus,
.FormFieldTextarea:focus {
  outline: none;
  border-color: var(--color-accent);
}
.FormFieldTextarea {
  min-height: 160px;
  resize: vertical;
}
.FormFieldError {
  font-size: var(--fs-xs);
  color: var(--color-pop);
}
.FormField-error .FormFieldInput,
.FormField-error .FormFieldTextarea {
  border-color: var(--color-pop);
}
.FormHoneypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.FormSubmit {
  align-self: center;
  margin-top: 0.5rem;
  min-width: 12rem;
}
.FormNotice {
  padding: 1rem 1.25rem;
  background: var(--color-bg-elevated);
  border-left: 3px solid var(--color-accent);
  color: var(--color-text);
}
.FormNotice-error {
  border-left-color: var(--color-pop);
}
.Loading {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  opacity: 1;
  transition: opacity 480ms var(--ease-in-out);
}
.LoadingBg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.LoadingBgDot circle {
  animation: loadingDotDrift 6s ease-in-out infinite;
}
.LoadingMark {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.LoadingMarkFlame {
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 140%;
  background:
    radial-gradient(
      closest-side,
      rgba(239, 132, 92, 0.55),
      rgba(239, 132, 92, 0) 70%
    ),
    radial-gradient(
      closest-side,
      rgba(6, 123, 192, 0.35),
      rgba(6, 123, 192, 0) 70%
    );
  filter: blur(18px);
  opacity: 0;
  animation: loadingFlame 2.4s var(--ease-in-out) infinite;
}
.LoadingMarkLogo {
  position: relative;
  width: 132px;
  height: auto;
  filter: blur(6px);
  opacity: 0;
  animation: loadingLogoReveal 2.2s var(--ease-out) forwards;
}
.Loading-hidden {
  opacity: 0;
  pointer-events: none;
}
.Loading-skip {
  display: none;
}
@keyframes loadingDotDrift {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(6px, -8px);
  }
}
@keyframes loadingFlame {
  0% {
    opacity: 0;
    transform: scale(0.85);
  }
  45% {
    opacity: 1;
    transform: scale(1.05);
  }
  100% {
    opacity: 0;
    transform: scale(1.15);
  }
}
@keyframes loadingLogoReveal {
  0% {
    opacity: 0;
    filter: blur(10px);
    transform: scale(0.94);
  }
  60% {
    opacity: 1;
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .Loading,
  .Loading * {
    animation: none !important;
    transition: none !important;
  }
}
.HomeHero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-h);
  overflow: hidden;
}
.HomeHeroInner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  text-align: center;
  padding: 3rem var(--gutter);
}
.HomeHeroTagline {
  margin: 0;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.02em;
  opacity: 0;
  animation: homeFadeUp 700ms var(--ease-out) 2400ms forwards;
}
.HomeHeroLockup {
  display: flex;
  align-items: center;
  gap: 0;
}
.HomeHeroMark {
  width: clamp(260px, 34vw, 420px);
  height: auto;
  flex-shrink: 0;
}
.HomeHeroMarkPath {
  clip-path: inset(100% 0 0 0);
  animation: homeMarkDraw 900ms var(--ease-out) 150ms forwards;
}
.HomeHeroMarkPath-accent {
  animation: homeMarkDraw 1300ms var(--ease-out) 550ms forwards;
}
.HomeHeroWordmarkPath {
  clip-path: inset(0 100% 0 0);
  animation: homeWordmarkDraw 900ms var(--ease-out) 1500ms forwards;
}
@keyframes homeMarkDraw {
  from {
    clip-path: inset(100% 0 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}
@keyframes homeWordmarkDraw {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}
@keyframes homeFadeUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .HomeHeroMarkPath,
  .HomeHeroWordmarkPath {
    animation: none;
    clip-path: none;
  }
  .HomeHeroTagline {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
.HomeStatement {
  display: block;
  background: var(--color-bg-deep);
}
.HomeStatementImg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--swoop-shape);
}
.HomeNewsPanel {
  max-width: var(--container-narrow);
  margin-inline: auto;
}
.HomeNewsList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.HomeNewsItem {
  display: grid;
  grid-template-columns: minmax(5.5rem, auto) 1fr;
  column-gap: 1.5rem;
  row-gap: 0.5rem;
  align-items: start;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--color-line);
}
.HomeNewsItem:last-child {
  border-bottom: none;
}
.HomeNewsDate {
  grid-column: 1;
  grid-row: 1;
  color: var(--color-text-dim);
  font-size: var(--fs-sm);
}
.HomeNewsBadge {
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
  background: var(--color-primary);
  color: var(--color-text-on-dark);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-sm);
}
.HomeNewsTitle {
  grid-column: 2;
  grid-row: 1;
  color: var(--color-text);
}
.HomeNewsMore {
  grid-column: 2;
  grid-row: 2;
  justify-self: start;
  font-size: var(--fs-xs);
  color: var(--color-accent);
  font-weight: 600;
}
.HomeNewsMore::before {
  content: "▶ ";
}
.HomeFeatureCard {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--color-line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--color-text);
  background: var(--color-surface);
  transition:
    box-shadow var(--dur) var(--ease-out),
    transform var(--dur) var(--ease-out);
}
@media (min-width: 768px) {
  .HomeFeatureCard {
    grid-template-columns: 1.1fr 1fr;
  }
}
.HomeFeatureCard:hover {
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
}
.HomeFeatureCardMedia {
  display: block;
  overflow: hidden;
  background: var(--color-bg-elevated);
  aspect-ratio: 16/10;
}
.HomeFeatureCardMedia img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.HomeFeatureCardMedia-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-elevated);
}
.HomeFeatureCardMedia-badge {
  background: var(--color-pending);
  color: var(--color-text-on-dark);
  font-weight: 700;
  padding: 0.6rem 1.5rem;
}
.HomeFeatureCardBody {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.6rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.HomeFeatureCardTitle {
  font-family: var(--font-en);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--color-primary);
}
.HomeFeatureCardLead {
  color: var(--color-text-muted);
}
.HomeFeatureCardLead-stack {
  display: flex;
  flex-direction: column;
}
.HomeFeatureCardLead-stack span::first-letter {
  color: var(--color-accent);
}
.HomeFeatureCardCta {
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-surface);
  border: 1px solid var(--color-line-strong);
  transition:
    background var(--dur) var(--ease-out),
    color var(--dur) var(--ease-out);
}
.HomeFeatureCard:hover .HomeFeatureCardCta {
  background: var(--color-primary);
  color: var(--color-text-on-dark);
}
.AboutShiftPanel {
  max-width: var(--container-narrow);
  margin-inline: auto;
}
.AboutShiftPanel img {
  display: block;
  width: 100%;
  height: auto;
}
.AboutShiftArrow {
  display: block;
  width: 3rem;
  height: auto;
  margin: -0.75rem auto;
  color: var(--color-line-strong);
  position: relative;
  z-index: 1;
}
.AboutPhilosophySub {
  margin: 0 auto;
  max-width: 48ch;
  color: rgba(242, 244, 248, 0.75);
}
.AboutPhilosophyGrid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  max-width: var(--container-narrow);
  margin-inline: auto;
}
@media (max-width: 479.98px) {
  .AboutPhilosophyGrid {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}
.AboutPhilosophyCol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}
.AboutPhilosophyCol li {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  background: hsla(0, 0%, 100%, 0.06);
  border: 1px solid hsla(0, 0%, 100%, 0.14);
  border-radius: var(--radius);
  font-weight: 700;
  color: var(--color-text-on-dark);
}
.AboutPhilosophyCol .En {
  font-family: var(--font-en);
  font-size: var(--fs-xs);
  font-weight: 400;
  color: rgba(242, 244, 248, 0.6);
}
.AboutPhilosophyCross {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: rgba(242, 244, 248, 0.5);
}
@media (max-width: 479.98px) {
  .AboutPhilosophyCross {
    display: none;
  }
}
.AboutOptimizationImg {
  display: block;
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  height: auto;
}
.ServiceProblemsInner {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  max-width: var(--container-narrow);
}
.ServiceProblemsPanel img {
  display: block;
  width: 100%;
  height: auto;
}
.ServiceProblemsArrow {
  display: block;
  width: 3rem;
  height: auto;
  margin: -0.75rem auto;
  color: var(--color-line-strong);
  position: relative;
  z-index: 1;
}
.ServiceStructureSub {
  margin: 0 auto;
  max-width: 48ch;
  color: rgba(242, 244, 248, 0.75);
}
.ServiceTriangle {
  position: relative;
  max-width: 520px;
  margin-inline: auto;
  padding-top: 1rem;
}
.ServiceTriangleArrows {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.ServiceTriangleTop {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  width: 50%;
  margin-inline: auto;
}
.ServiceTriangleCenter {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  text-align: center;
}
.ServiceTriangleCenterLabel {
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--color-accent-l);
  line-height: var(--lh-tight);
}
.ServiceTriangleRow {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}
.ServiceTriangleShape {
  flex: 1;
  aspect-ratio: 1.15/1;
  max-width: 260px;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: var(--color-surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  padding-bottom: clamp(1rem, 4vw, 2rem);
  text-align: center;
}
.ServiceTriangleShape strong {
  font-size: var(--fs-base);
  color: var(--color-primary);
}
.ServiceTriangleShape span {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: var(--lh-tight);
}
.ServiceTriangleShape-lead {
  padding-bottom: clamp(2.5rem, 7vw, 4rem);
}
.ServiceTriangleLeadRow {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.ServiceTriangleLogo {
  width: 16px;
  height: 16px;
}
.ServiceLayersImg {
  display: block;
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  height: auto;
  border-radius: var(--radius-lg);
}
.ServiceLayersClosing {
  margin: clamp(1.5rem, 3vw, 2.5rem) auto 0;
  max-width: 56ch;
  text-align: center;
  font-weight: 700;
  color: var(--color-primary);
}
.ServiceLayersClosing .En {
  display: block;
  margin-top: 0.35rem;
  font-weight: 400;
  color: var(--color-accent);
  font-size: var(--fs-sm);
}
.FieldPanel {
  max-width: var(--container-narrow);
  margin-inline: auto;
}
.FieldPanelHead {
  text-align: center;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.FieldPanelTitle {
  margin: 0;
  font-family: var(--font-en);
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--color-primary);
}
.FieldPanelSubtitle {
  margin: 0.25rem 0 0;
  font-family: var(--font-en);
  color: var(--color-text-muted);
}
.FieldPanelSubtitleInitial {
  color: var(--color-accent);
  font-weight: 700;
}
.FieldMedia {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-elevated);
  border-radius: var(--radius);
  aspect-ratio: 16/10;
  overflow: hidden;
  flex: 1;
}
.FieldMedia img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.FieldMedia-lg {
  aspect-ratio: 16/7;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.FieldMediaPlaceholder {
  color: var(--color-text-on-dark);
  font-weight: 700;
  background: var(--color-pending);
  padding: 0.6rem 1.5rem;
}
.FieldRoomList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.FieldRoom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 768px) {
  .FieldRoom {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }
  .FieldRoom-right {
    flex-direction: row-reverse;
  }
}
.FieldRoomText {
  flex: 1;
}
.FieldRoomText-full {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.FieldRoomTitle {
  margin: 0 0 0.5rem;
  font-family: var(--font-en);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--color-primary);
}
.FieldRoomCopy {
  margin: 0;
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
}
.CompanyPanel {
  max-width: var(--container-narrow);
  margin-inline: auto;
}
.CompanyPanel-onDark {
  background: var(--color-surface);
}
.CompanyInfo {
  margin: 0;
  display: flex;
  flex-direction: column;
}
.CompanyInfoRow {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--color-line);
}
@media (min-width: 768px) {
  .CompanyInfoRow {
    flex-direction: row;
    align-items: baseline;
    gap: 1.5rem;
  }
}
.CompanyInfoRow:last-child {
  border-bottom: none;
}
.CompanyInfoLabel {
  margin: 0;
  flex: 0 0 10rem;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-bg-elevated);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  width: fit-content;
}
.CompanyInfoValue {
  margin: 0;
  flex: 1;
  color: var(--color-text);
  line-height: var(--lh-normal);
}
.CompanyOfficerList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.CompanyOfficer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--color-line);
  flex-wrap: wrap;
}
.CompanyOfficer:last-child {
  border-bottom: none;
}
.CompanyOfficerTitle {
  flex: 1 0 16rem;
  color: var(--color-primary);
  font-weight: 700;
  background: var(--color-bg-elevated);
  padding: 0.6rem 2rem 0.6rem 1rem;
  clip-path: polygon(0 0, calc(100% - 1rem) 0, 100% 100%, 0 100%);
}
.CompanyOfficerName {
  font-weight: 700;
  color: var(--color-text);
  font-size: var(--fs-md);
}
.ContactPanel {
  max-width: var(--container-narrow);
  margin-inline: auto;
}
.FormNoSales {
  margin-block: 0.5rem 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--color-bg-elevated);
  border-radius: var(--radius);
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  line-height: var(--lh-loose);
}
.FormNoSalesTitle {
  margin: 0 0 0.5rem;
  font-weight: 700;
  color: var(--color-text);
}
.FormNoSalesBody {
  margin: 0;
}
.PartnerList {
  max-width: var(--container-narrow);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.PartnerCategory {
  border: 1px solid var(--color-line-strong);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  overflow: hidden;
}
.PartnerCategory[open] .PartnerCategorySummary {
  border-bottom: 1px solid var(--color-line);
}
.PartnerCategorySummary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  cursor: pointer;
  list-style: none;
}
.PartnerCategorySummary::-webkit-details-marker {
  display: none;
}
.PartnerCategoryGlyph {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.PartnerCategoryLabel {
  flex: 1;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.PartnerCategoryEn {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: var(--fs-lg);
  color: var(--color-primary);
}
.PartnerCategoryJa {
  font-size: var(--fs-sm);
  color: var(--color-text-dim);
}
.PartnerCategoryToggle {
  font-size: var(--fs-lg);
  color: var(--color-accent);
  width: 1.5rem;
  text-align: center;
  flex-shrink: 0;
}
.PartnerCategoryBody {
  display: none;
}
.PartnerCategory[open] .PartnerCategoryBody {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  z-index: 100;
  padding: 2rem;
}
.PartnerCategoryBackdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 26, 53, 0.55);
}
.PartnerCategoryModal {
  position: relative;
  z-index: 1;
  width: min(90vw, 640px);
  max-height: 80vh;
  overflow-y: auto;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-2);
}
.PartnerCategoryModalHead {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-line);
}
.PartnerCompanyList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.PartnerCompanyItem {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.PartnerCompanyLogo {
  flex-shrink: 0;
  width: 144px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-line-strong);
  border-radius: var(--radius-sm);
  font-size: var(--fs-xs);
  color: var(--color-text-dim);
}
.PartnerCompanyName {
  color: var(--color-accent);
  text-decoration: underline;
  font-weight: 600;
}
.PrivacyPanel {
  max-width: var(--container-narrow);
  margin-inline: auto;
}
.PrivacyIntro {
  color: var(--color-text);
  line-height: var(--lh-loose);
}
.PrivacyEnacted {
  text-align: right;
  color: var(--color-text-dim);
  font-size: var(--fs-sm);
  margin-bottom: 2rem;
}
.PrivacySection {
  padding-block: 1.25rem;
  border-top: 1px solid var(--color-line);
}
.PrivacySectionTitle {
  margin: 0 0 0.6rem;
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--color-primary);
}
.PrivacySectionBody {
  margin: 0 0 0.5rem;
  color: var(--color-text-muted);
  line-height: var(--lh-loose);
}
.PrivacySectionBody:last-child {
  margin-bottom: 0;
}
.SiteMapPanel {
  max-width: var(--container-narrow);
  margin-inline: auto;
}
.SiteMapSection {
  padding-block: 1.5rem;
  border-top: 1px solid var(--color-line);
}
.SiteMapSection:first-child {
  border-top: none;
  padding-top: 0;
}
.SiteMapSectionTitle {
  margin: 0 0 0.75rem;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.SiteMapSectionTitle a {
  font-family: var(--font-en);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
}
.SiteMapSectionTitle a:hover {
  color: var(--color-accent);
}
.SiteMapSectionGroup {
  font-size: var(--fs-sm);
  color: var(--color-text-dim);
}
.SiteMapItemList {
  list-style: none;
  margin: 0 0 0 0.5rem;
  padding: 0 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.SiteMapItem {
  position: relative;
  font-size: var(--fs-sm);
}
.SiteMapItem a {
  color: var(--color-text-muted);
  text-decoration: none;
}
.SiteMapItem a:hover {
  text-decoration: underline;
}
.SiteMapItem::before {
  content: "";
  position: absolute;
  left: -1.25rem;
  top: 0;
  bottom: -0.75rem;
  width: 1px;
  background: var(--color-line-strong);
}
.SiteMapItem:last-child::before {
  bottom: auto;
  height: 0.7em;
}
.SiteMapItem::after {
  content: "";
  position: absolute;
  left: -1.25rem;
  top: 0.65em;
  width: 0.9rem;
  height: 1px;
  background: var(--color-line-strong);
}

/* =====================================================================
   BUILDRIVE for DX 修正（2026-09）
   デザインFix（M-agency）との差分を解消するための上書き。元のルールは残し、ここで上書きする。
   ===================================================================== */

/* --- 汎用 --- */
.nowrap { white-space: nowrap; }
.br-pc { display: none; }
@media (min-width: 768px) { .br-pc { display: inline; } }

/* --- 背景の幾何学模様：引き伸ばしをやめ、比率固定・淡色に統一 --- */
.BgNetwork { opacity: 1; }
.BgNetwork-drift .BgNetworkLines,
.BgNetwork-drift .BgNetworkDots {
  transform-box: view-box;
  transform-origin: 50% 50%;
  animation: bgNetworkDrift 14s ease-in-out infinite;
}
@keyframes bgNetworkDrift {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  22%  { transform: translate(14px, -10px) rotate(0.6deg) scale(1.015); }
  47%  { transform: translate(-8px, 12px) rotate(-0.4deg) scale(1.03); }
  71%  { transform: translate(10px, 16px) rotate(0.3deg) scale(1.01); }
  100% { transform: translate(0, 0) rotate(0deg) scale(1); }
}

/* --- ローディング：模様が不規則に動く → ロゴがぼやっと出る → 全て消える（赤いもやは廃止） --- */
.Loading { background: #fff; transition: opacity 600ms var(--ease-in-out); }
.LoadingMark { position: relative; z-index: 1; }
.LoadingMarkLogo {
  width: clamp(200px, 32vw, 380px);
  height: auto;
  opacity: 0;
  filter: blur(16px);
  transform: scale(0.97);
  animation: loadingLogoReveal 1600ms var(--ease-out) 600ms forwards;
}
@keyframes loadingLogoReveal {
  0%   { opacity: 0; filter: blur(16px); transform: scale(0.97); }
  55%  { opacity: 1; filter: blur(4px); }
  100% { opacity: 1; filter: blur(0); transform: scale(1); }
}

/* --- トップのロゴアニメーション（カンプ指示の順序）
   1. M・N・Tを同時に描き始める  2. オレンジは遅れて出る  3. ロゴを左へ移動
   4. 「01」が出る  5. M→N→Tが一文字ずつ出る  6. キャッチコピーが出る
   ローディングが消えた時点で .HomeHero-play が付き、そこから再生する。 --- */
.HomeHeroMarkPath,
.HomeHeroMarkPath-accent,
.HomeHeroWordmarkPath,
.HomeHeroTagline { animation: none; }
.HomeHeroMark { transform: translateX(33.5%); }
.HomeHeroWordmarkPath { clip-path: none; opacity: 0; transform-box: fill-box; transform-origin: 50% 50%; }

.HomeHero-play .HomeHeroMarkPath        { animation: homeMarkDraw 1100ms var(--ease-out) 100ms forwards; }
.HomeHero-play .HomeHeroMarkPath-accent { animation: homeMarkDraw 900ms var(--ease-out) 1000ms forwards; }
.HomeHero-play .HomeHeroMark            { animation: homeMarkSlide 700ms var(--ease-in-out) 2100ms forwards; }
.HomeHero-play .HomeHeroWordmarkPath-01 { animation: homeGlyphIn 450ms var(--ease-out) 2900ms forwards; }
.HomeHero-play .HomeHeroWordmarkPath-M  { animation: homeGlyphIn 400ms var(--ease-out) 3350ms forwards; }
.HomeHero-play .HomeHeroWordmarkPath-N  { animation: homeGlyphIn 400ms var(--ease-out) 3700ms forwards; }
.HomeHero-play .HomeHeroWordmarkPath-T  { animation: homeGlyphIn 400ms var(--ease-out) 4050ms forwards; }
.HomeHero-play .HomeHeroTagline         { animation: homeFadeUp 700ms var(--ease-out) 4550ms forwards; }
@keyframes homeMarkSlide { from { transform: translateX(33.5%); } to { transform: translateX(0); } }
@keyframes homeGlyphIn { from { opacity: 0; transform: translateY(6%); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .HomeHeroMark { transform: none; animation: none !important; }
  .HomeHeroMarkPath, .HomeHeroWordmarkPath { clip-path: none; opacity: 1; animation: none !important; }
  .HomeHeroTagline { opacity: 1; animation: none !important; }
}

/* --- トップの各カード画像：図中ラベルが中途半端に切れないよう、切り抜き位置を上寄りに --- */
.HomeFeatureCardMedia img { object-position: 50% 28%; }

/* --- ABOUT：SPATIAL OPTIMIZATION（白背景）の説明文が白文字だったのを修正 --- */
.AboutOptimization .AboutPhilosophySub { color: var(--color-text-muted); }

/* --- ABOUT：Before/After の矢印がカードに食い込んでいたのを修正 --- */
.AboutShiftArrow { margin: 0.75rem auto; }

/* --- SERVICE：三角図。中央ラベルを逆三角形の中に収め、スマホで社名がはみ出さないように --- */
.ServiceTriangleCenter { top: 57%; width: 40%; }
.ServiceTriangleCenterLabel { font-size: var(--fs-xs); letter-spacing: 0.02em; }
.ServiceTriangleShape { padding-inline: 8%; }
.ServiceTriangleShape strong,
.ServiceTriangleShape span { max-width: 100%; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .ServiceTriangleShape strong { font-size: var(--fs-sm); }
  .ServiceTriangleShape span   { font-size: 0.7rem; }
  .ServiceTriangleShape        { padding-bottom: 0.75rem; }
  .ServiceTriangleShape-lead   { padding-bottom: 2rem; }
}

/* --- 背景模様：濃紺セクションでは白の淡い線に --- */
.Section-deep .BgNetworkLines, .Swoop.Section-deep .BgNetworkLines { stroke: rgba(255, 255, 255, 0.10); }
.Section-deep .BgNetworkDots,  .Swoop.Section-deep .BgNetworkDots  { fill: rgba(255, 255, 255, 0.14); }

/* --- 三角図の中央ラベル位置・スマホの社名折り返し --- */
.ServiceTriangleCenter { top: 61%; }
.ServiceTriangleShape strong { white-space: normal; }
@media (max-width: 600px) {
  .ServiceTriangleShape strong { font-size: 0.8rem; max-width: 72%; line-height: 1.25; }
  .ServiceTriangleCenter { top: 60%; width: 46%; }
  .ServiceTriangleCenterLabel { font-size: 0.68rem; }
}
.br-sp { display: none; }
@media (max-width: 600px) {
  .br-sp { display: inline; }
  .ServiceStructureSub { font-size: var(--fs-sm); }
}

/* --- トップのABOUT/PARTNERカード：図中のラベル枠が中途半端に見えないよう、建物部分を拡大して切り抜く（カンプ準拠） --- */
.HomeFeatureCardMedia img[src*="about-spatial-optimization"] { transform: scale(2) translateY(4%); object-position: 50% 40%; }

/* --- ページ全体の背景模様（セクション境目で途切れない）。白背景セクションは透過にして模様を見せる --- */
.Main { position: relative; }
.PageBg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.PageBgSvg { display: block; width: 100%; height: 100%; }
.Section-base { background: transparent; }
.HomeHero, .PageIntro { background: transparent; }


/* --- 三角図の01MNTロゴを見える大きさに --- */
.ServiceTriangleLogo { width: 44px; height: 17px; }

/* --- v2.2：三角図の矢印を三角形の外側に出し、カンプの円弧に近づける --- */
.ServiceTriangle { padding: 2.5rem 0; }
.ServiceTriangleArrows { display: none; }
.ServiceTriangle { padding: 1rem 0; }
.ServiceTriangleArc { position: absolute; width: 17%; height: 58%; z-index: 0; overflow: visible; }
.ServiceTriangleArc-right { top: -2%; right: -14%; }
.ServiceTriangleArc-left  { bottom: -2%; left: -14%; }
@media (max-width: 600px) { .ServiceTriangleArc { width: 15%; height: 52%; } .ServiceTriangleArc-right { right: -9%; } .ServiceTriangleArc-left { left: -9%; } }
/* --- ヒーロー周りの背景は必ず透過 --- */
.HomeHeroInner, .HomeHeroLockup, .HomeHeroMark { background: transparent; }

/* =====================================================================
   v2.4 ABOUT：カンプ（デザインFix）の文字サイズ・強調性に合わせる
   カンプ実測（1130px幅の原寸換算）：見出し 約72px／リード 約30px／本文 約20.5px
   ===================================================================== */
.PageIntro {
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem));
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.PageIntroGhost {
  font-weight: 800;
  font-size: clamp(5.5rem, 16vw, 11.75rem);
  color: #eff0f4;
  top: calc(var(--header-h) + 0.4rem);
  letter-spacing: 0.01em;
}
.PageIntroTitle {
  font-family: var(--font-jp, "Noto Sans JP", sans-serif);
  font-size: clamp(2.75rem, 6.4vw, 4.5rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.1;
  margin: 0 0 clamp(1.5rem, 3.2vw, 2.25rem);
  color: var(--color-primary);
}
.PageIntroLead {
  max-width: none;
  font-size: clamp(1.25rem, 2.65vw, 1.875rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.5;
  color: #2c3b63;
}
.PageIntroSub {
  max-width: none;
  margin-top: clamp(0.75rem, 2vw, 1.25rem);
  font-size: clamp(1rem, 1.8vw, 1.28rem);
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.8;
  color: #3d4c73;
}

/* --- PHILOSOPHY：見出し --- */
.AboutPhilosophy .SectionHeadTitle {
  font-family: var(--font-jp, "Noto Sans JP", sans-serif);
  font-size: clamp(2.5rem, 6vw, 4.375rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.1;
}
.AboutPhilosophy .SectionHeadLead {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 700;
  letter-spacing: 0.06em;
}
.AboutPhilosophySub {
  max-width: none;
  font-size: clamp(0.95rem, 1.75vw, 1.25rem);
  letter-spacing: 0.06em;
  color: rgba(242, 244, 248, 0.92);
}
.AboutPhilosophy .SectionHead { gap: clamp(1rem, 2.4vw, 1.6rem); margin-bottom: clamp(3rem, 6vw, 5rem); }

/* --- PHILOSOPHY：背景（線画イラスト。文字を消した専用画像） --- */
.AboutPhilosophy { position: relative; }
.AboutPhilosophyArt {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
  background: url("../img/illustrations/philosophy-bg-1920.jpg") center 94% / min(1500px, 134%) auto no-repeat;
}
@media (max-width: 767px) {
  .AboutPhilosophyArt { background-image: url("../img/illustrations/philosophy-bg-1024.jpg"); background-size: 190% auto; background-position: 40% 90%; }
}
.AboutPhilosophy .BgNetwork { opacity: 0.55; z-index: 0; }

/* --- PHILOSOPHY：タイル（ガラス調）と大きな× --- */
.AboutPhilosophyGrid {
  grid-template-columns: 1fr clamp(6rem, 22vw, 15.75rem) 1fr;
  gap: 0;
  max-width: 55rem;
}
.AboutPhilosophyCol { gap: clamp(0.9rem, 1.6vw, 1.5rem); }
.AboutPhilosophyCol li {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-height: clamp(4.75rem, 7vw, 6rem);
  padding: 0.6rem 0.75rem;
  border-radius: 0.7rem;
  border: 1.5px solid rgba(120, 178, 232, 0.8);
  background: linear-gradient(180deg, rgba(96, 148, 224, 0.42) 0%, rgba(66, 108, 196, 0.34) 100%);
  box-shadow: 0 0 0 1px rgba(110, 168, 236, 0.12), 0 0 1.1rem rgba(84, 146, 226, 0.38), inset 0 0 1.4rem rgba(122, 180, 246, 0.3);
  font-size: clamp(1.15rem, 2.3vw, 1.55rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.25;
  color: #fff;
  text-indent: 0.14em;
}
.AboutPhilosophyCol .En {
  font-size: clamp(0.8rem, 1.35vw, 0.95rem);
  font-weight: 400;
  letter-spacing: 0.07em;
  color: #9cc4f0;
  text-indent: 0;
}
.AboutPhilosophyCross {
  width: clamp(4.5rem, 14vw, 9.5rem);
  height: clamp(4.5rem, 14vw, 9.5rem);
  justify-self: center;
  overflow: visible;
}
.AboutPhilosophyCross line { stroke: #fff; stroke-width: 1.8; vector-effect: non-scaling-stroke; }
@media (max-width: 479.98px) { .AboutPhilosophyCross { display: none; } }

/* --- v2.4 微調整（カンプ実測との差） --- */
.PageIntroGhost { top: calc(var(--header-h) - 2.6rem); }
.PageIntro { padding-bottom: 0.75rem; }
.AboutShift { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.AboutPhilosophySub .br-pc { display: none; }
@media (min-width: 640px) { .AboutPhilosophySub { white-space: nowrap; } }
.AboutPhilosophyGrid { max-width: 57rem; grid-template-columns: 1fr clamp(6rem, 22vw, 16.4rem) 1fr; }
.AboutPhilosophyCol { gap: clamp(0.9rem, 2vw, 1.5rem); }
.AboutPhilosophyCol li {
  min-height: clamp(4.9rem, 8.2vw, 5.9rem);
  font-size: clamp(1.3rem, 2.65vw, 1.9rem);
  letter-spacing: 0.15em;
  text-indent: 0.15em;
}
.AboutPhilosophyCol .En { font-size: clamp(0.85rem, 1.55vw, 1.05rem); }
.AboutPhilosophy { padding-bottom: clamp(5rem, 10vw, 9rem); }

/* --- v2.4 微調整2 --- */
.AboutPhilosophy { padding-top: clamp(4rem, 8vw, 6.25rem); padding-bottom: clamp(6rem, 15.5vw, 12rem); }
.AboutPhilosophy .SectionHead { margin-bottom: clamp(3.5rem, 8.4vw, 6.6rem); }
.AboutPhilosophyCol li { font-size: clamp(1.4rem, 3vw, 2.1rem); min-height: clamp(5rem, 8.2vw, 5.9rem); gap: 0.1rem; }
.AboutPhilosophyCol .En { font-size: clamp(0.9rem, 1.7vw, 1.2rem); font-weight: 500; letter-spacing: 0.09em; }

/* --- v2.4 微調整3 --- */
.AboutPhilosophyCross { width: clamp(5.5rem, 17vw, 12.5rem); height: clamp(5.5rem, 17vw, 12.5rem); }
.AboutPhilosophyArt { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 36%); mask-image: linear-gradient(to bottom, transparent 0, #000 36%); }
.AboutShift { padding-top: clamp(0.5rem, 1.5vw, 1.25rem); }

/* --- v2.4 スマホ：PHILOSOPHY の2列化と、日本語の不自然な折り返し防止 --- */
@media (max-width: 767px) {
  .AboutPhilosophyGrid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .AboutPhilosophyCross { display: none; }
  .AboutPhilosophyCol li { font-size: 1.15rem; letter-spacing: 0.1em; text-indent: 0.1em; padding: 0.5rem 0.4rem; }
  .AboutPhilosophyCol .En { font-size: 0.78rem; letter-spacing: 0.04em; white-space: nowrap; }
  .PageIntroLead { font-size: clamp(1.05rem, 4.6vw, 1.4rem); }
}
.PageIntroLead, .PageIntroSub, .AboutPhilosophySub { text-wrap: balance; }
@media (min-width: 640px) { .AboutPhilosophySub { text-wrap: nowrap; } }

/* =====================================================================
   v2.5
   ===================================================================== */

/* --- ヘッダー：カンプ実測（幅1943pxのカンプ）に合わせる ---
   ヘッダー高さ 6.2%、ロゴ 高さ約3.5%・左余白4%、CONTACT右余白2.8%、ナビ文字 約0.85%、ナビ間隔 2.75% */
:root { --header-h: clamp(60px, 6.2vw, 88px); }
.HeaderLogoImg { height: clamp(34px, 3.55vw, 52px); width: auto; }
.HeaderNavLink { font-size: clamp(0.8125rem, 1.16vw, 1.0625rem); }
.HeaderContact {
  padding: 0.8em 2.3em;
  font-size: clamp(0.75rem, 1.1vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.06em;
}
@media (min-width: 1024px) {
  .HeaderInner { max-width: none; padding-inline: 4vw 2.8vw; gap: 0; }
  .HeaderNav { flex: 1; margin-left: clamp(2rem, 5.5vw, 7rem); }
  .HeaderNavList { justify-content: flex-start; flex-wrap: nowrap; gap: clamp(1rem, 2.75vw, 3.4rem); }
}

/* --- 濃紺セクションの点：不透明にして、下の線が透けて「×」に見えないように --- */
.Section-deep .BgNetworkDots,
.Swoop.Section-deep .BgNetworkDots { fill: #3e4a70; }

/* --- ローディングのロゴ：カンプは画面幅の約35% --- */
.LoadingMarkLogo { width: clamp(220px, 36vw, 720px); }

/* --- STRUCTURE 図（カンプ実測から生成。三角形・矢印・文字・ロゴを1つの座標系で配置） --- */
.StructureDiagram {
  position: relative;
  container-type: inline-size;
  width: min(100%, 48rem);
  margin: clamp(0.5rem, 2vw, 1.5rem) auto 0;
  aspect-ratio: 1140 / 1180;
}
.StructureDiagramSvg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }
.StructureDiagramLogo { position: absolute; transform: translate(-50%, -50%); height: auto; display: block; }
.StructureDiagramText {
  position: absolute;
  transform: translate(-50%, -50%);
  margin: 0;
  font-family: var(--font-jp);
  font-weight: 400;
  color: #2a2626;
  text-align: center;
  white-space: nowrap;
  font-size: clamp(11px, 1.6vw, 17px);
  font-size: max(11px, 2.28cqw);
  line-height: 1.44;
  letter-spacing: 0.015em;
  text-indent: 0.015em;
}
.StructureDiagramText-center {
  font-weight: 400;
  color: #93bdeb;
  font-size: clamp(13px, 2.6vw, 25px);
  font-size: max(13px, 3.6cqw);
  line-height: 1.51;
  letter-spacing: 0.04em;
  text-indent: 0.04em;
}

/* --- v2.5 ヘッダー補正（ロゴ画像は周囲に余白があるため、見えている部分がカンプの大きさになるよう画像自体を大きくする） --- */
.HeaderLogoImg { height: clamp(40px, 4.6vw, 66px); }
.HeaderNavLink { font-size: clamp(0.875rem, 1.2vw, 1.125rem); color: #989898; letter-spacing: 0.05em; }
.HeaderNavLink:hover,
.HeaderNavLink-active { color: #1f2647; }
.HeaderContact { line-height: 1.3; padding: 0.85em 2.2em; }
@media (min-width: 1024px) {
  .HeaderInner { padding-inline: 3vw 2.8vw; }
}

/* --- v2.5 三角図：狭い画面（スマホ）では文字が相対的に大きくなるため、ロゴ・文字の位置を微調整 --- */
@container (max-width: 560px) {
  .StructureDiagramLogo-mnt { top: 24.2% !important; width: 17% !important; }
  .StructureDiagramText-top { top: 33.8% !important; }
  .StructureDiagramText-left, .StructureDiagramText-right { top: 76.4% !important; }
}

/* =====================================================================
   v2.6 追加画像への差し替え：枠・見出し・文章はHTMLで組み、絵だけ画像にする
   （カンプの位置・大きさを実測し、カード幅を基準(cqw)に配置。画面幅が変わっても比率は変わらない）
   ===================================================================== */
.ArtCardWrap { container-type: inline-size; width: 100%; }
.ArtCard {
  position: relative;
  width: 100%;
  aspect-ratio: 100 / var(--h);
  background: #fff;
  border-radius: 2cqw;
  color: #232a47;
  font-family: var(--font-jp);
}
.ArtCard::after {
  content: "";
  position: absolute;
  inset: 0;
  border: max(1px, 0.137cqw) solid #2d334b;
  border-radius: 2cqw;
  pointer-events: none;
}
.ArtCard > * { position: absolute; margin: 0; }
.ArtCard img.ArtCardLabel { left: calc(var(--x) * 1cqw); top: calc(var(--y) * 1cqw); width: calc(var(--w) * 1cqw); max-width: none; height: auto; display: block; }
.ArtCardTitle, .ArtCardSub, .ArtCardLead, .ArtCardNote {
  left: 50%;
  top: calc(var(--y) * 1cqw);
  transform: translateX(-50%);
  padding-left: var(--ls, 0);
  white-space: nowrap;
  text-align: center;
  line-height: 1;
  letter-spacing: var(--ls, 0);
  font-size: max(var(--min, 10px), calc(var(--fs) * 1cqw));
}
.ArtCardTitle { --min: 13px; font-weight: 700; color: #242f56; }
.ArtCardSub   { --min: 9.5px; font-family: var(--font-jp); font-weight: 400; color: #066bc7; }
.ArtCardLead  { --min: 11.5px; font-weight: 700; color: #066bc7; }
.ArtCardNote  { --min: 10px; font-weight: 500; color: #232a47; }
.ArtCardRule {
  left: calc(var(--x) * 1cqw);
  width: calc((100 - 2 * var(--x)) * 1cqw);
  top: calc(var(--y) * 1cqw);
  height: max(1px, 0.14cqw);
  background: #2d334b;
}
.ArtCardArt { left: calc(var(--x) * 1cqw); top: calc(var(--y) * 1cqw); width: calc(var(--w) * 1cqw); }
.ArtCardArt picture { display: block; }
.ArtCardArt img { display: block; width: 100%; height: auto; }
.ArtCardTag {
  left: calc(var(--x) * 1cqw);
  top: calc(var(--y) * 1cqw);
  transform: translateX(-50%);
  text-align: center;
  white-space: nowrap;
  line-height: 1;
}
.ArtCardTag b { display: block; font-weight: 700; font-size: max(8.5px, 1.2cqw); letter-spacing: var(--ls, 0); padding-left: var(--ls, 0); color: #232a47; }
.ArtCardTag i {
  display: block;
  font-style: normal;
  font-family: var(--font-jp);
  font-size: max(8px, 1.05cqw);
  letter-spacing: var(--ls, 0);
  padding-left: var(--ls, 0);
  margin-top: max(0px, calc(var(--dy) * 1cqw - 1.2cqw));
  color: #066bc7;
}
.AboutShiftPanel .ArtCardWrap img, .ServiceProblemsPanel .ArtCardWrap img { max-width: none; }

/* --- Five-Layer：画像は画面いっぱい（カンプ準拠）。背景は画像の淡い青に馴染む --- */
.ServiceLayersFigure { width: 100%; margin-top: clamp(1.5rem, 3vw, 2.5rem); line-height: 0; }
.ServiceLayersFigure picture { display: block; }
.ServiceLayersImg { display: block; width: 100%; max-width: none; margin: 0; border-radius: 0; height: auto; }

/* スマホ幅：絵の中のラベルは絵と同じ比率で縮める（最小サイズを設けると絵に重なるため） */
@container (max-width: 640px) {
  .ArtCardTag b { font-size: 1.2cqw; }
  .ArtCardTag i { font-size: 1.05cqw; }
}

/* SERVICE の課題カードの幅：カンプは画面幅の約75%（ABOUT と同じ 880px 上限） */
.ServiceProblemsInner { max-width: 880px; }

/* --- v2.6 フッターのロゴ：カンプ実測（見えている高さ＝ページ幅の6.3%、左端7.5%、白い部分の縦中央）に合わせる --- */
.FooterBrandLogoImg { height: clamp(56px, 8.2vw, 132px); }
@media (min-width: 768px) {
  .FooterBrand { align-self: stretch; align-items: center; padding-left: clamp(0.5rem, 3.6vw, 5rem); }
}
@media (max-width: 767.98px) {
  .FooterBrandLogoImg { height: 64px; }
}

/* =====================================================================
   v2.8 スマホ／タブレットのメニュー修正
   原因：ヘッダー本体に backdrop-filter（ぼかし）が付いていると、その中の「画面固定(fixed)」の
   メニューが、画面ではなく“ヘッダー(高さ約60px)”を基準に配置されてしまい、
   メニューの高さが潰れて先頭の「HOME」しか見えなくなっていた。
   対応：ぼかしと背景を擬似要素(::before)に移し、ヘッダー本体には付けない。見た目は変わらない。
   ===================================================================== */
.Header { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.Header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: hsla(0, 0%, 100%, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: background var(--dur) var(--ease-out);
  pointer-events: none;
}
.Header-scrolled { background: transparent; }
.Header-scrolled::before { background: hsla(0, 0%, 100%, 0.98); }


/* =====================================================================
   v2.9
   ===================================================================== */
/* ABOUT 下部（SPATIAL OPTIMIZATION）：ビルの帯と紺色の帯を画面の端から端まで（カンプ準拠）。
   画像の白い背景は「乗算」で透かし、ページ側の背景模様を見せる（二重線を防ぐ） */
.AboutOptimization { padding-bottom: 0; }
.AboutOptimizationFigure { width: 100%; margin-top: clamp(1rem, 3vw, 2.5rem); line-height: 0; }
.AboutOptimizationFigure picture { display: block; }
.AboutOptimizationImg { display: block; width: 100%; max-width: none; margin: 0; height: auto; mix-blend-mode: multiply; }

/* HOME：FIELD カードの「Mizushima Open Garage」を横1列に（幅が足りない場合のみ、単語の区切りで折り返す） */
.HomeFeatureCardLead-row { display: block; }
.HomeFeatureCardLead-row span { display: inline-block; white-space: nowrap; }
.HomeFeatureCardLead-row span::first-letter { color: var(--color-accent); }


/* --- v2.9.1 ABOUT 下部：斜めの紺色の帯は削除（先方指示）。図とフッターの間に適度な余白 --- */
.AboutOptimization { padding-bottom: clamp(2.5rem, 7vw, 6rem); }

/* --- v2.9.2 FV（ファーストビュー）のロゴ：カンプは「見えている幅」が画面幅の約47%（ローディングは約37.6%）。
   ロゴ画像の周囲には余白があり、見えている部分は幅の約82%のため、箱の幅はその分大きくする --- */
.HomeHeroMark { width: clamp(260px, 57vw, 1150px); }
.LoadingMarkLogo { width: clamp(240px, 45.9vw, 900px); }

/* --- v2.9.2 FV：カンプは「画面1枚ぶんの高さ」で、ロゴとキャッチコピーが中央に大きく置かれる。
   キャッチコピーはロゴと同じ幅（画面幅の約48%）まで広がる太字・広い字間 --- */
.HomeHero { min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); padding-top: 0; padding-bottom: var(--header-h); }
.HomeHeroInner { gap: clamp(1rem, 2.2vw, 2.4rem); }
.HomeHeroTagline { font-size: clamp(1rem, 3vw, 4.5rem); letter-spacing: 0.16em; text-indent: 0.16em; white-space: nowrap; }

/* =====================================================================
   v3.1 表示サイズの上限（クライアント指示：既存HP 01mnt.com のサイズ感に合わせる）
   既存HPの実測：中身の幅は最大1140px、FVロゴは520px。
   見出し・本文は既存HPと同等のため変更なし。変えるのは下記3か所のみ。
   ===================================================================== */
/* トップのロゴ：カンプ幅(1165px)までは比例、それ以上は既存HPに近い大きさで止める */
.HomeHeroMark { width: clamp(260px, 57vw, 660px); }
.LoadingMarkLogo { width: clamp(240px, 45.9vw, 540px); }
/* 画面幅いっぱいの図2か所：既存HPと同じ 1140px で止めて中央に */
.ServiceLayersFigure, .AboutOptimizationFigure { max-width: 1140px; margin-inline: auto; }
.ServiceLayersImg { border-radius: var(--radius-lg); }
@media (max-width: 1180px) { .ServiceLayersImg { border-radius: 0; } }

/* =====================================================================
   v3.1 背景アニメーション（assets/js/bg-particles.js）
   動かせる環境では、従来の静止した模様（SVG）を隠して、動く点と線に置き換える
   ===================================================================== */
.BgParticlesHost { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.BgParticlesHost:not(.BgParticlesHost-deep) { position: fixed; }               /* 白背景：画面に固定して全ページ・全面 */
.BgParticlesHost-fv { position: absolute; }
.BgParticles { display: block; position: absolute; inset: 0; }
.has-bg-particles .PageBg { display: none; }                                    /* 静止模様は非表示 */
.Section-deep { position: relative; }
.Section-deep > .BgParticlesHost-deep ~ .BgNetwork { display: none; }           /* 濃紺の静止模様も非表示 */
.Section-deep > .BgParticlesHost-deep { z-index: 0; }
.Section-deep > .SectionInner, .Section-deep > .AboutPhilosophyArt { position: relative; z-index: 1; }
.Main > .BgParticlesHost ~ * { position: relative; }

/* =====================================================================
   v3.1 英語版：言語切替（ヘッダー右・CONTACTの左）
   ===================================================================== */
.LangSwitch { display: inline-flex; align-items: center; gap: 0.35em; margin-right: clamp(0.75rem, 1.5vw, 1.5rem); font-family: var(--font-en); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; color: #989898; }
.LangSwitchLink { color: inherit; text-decoration: none; padding: 0.25em 0.1em; transition: color var(--dur) var(--ease-out); }
.LangSwitchLink:hover { color: var(--color-primary); }
.LangSwitchLink-active { color: var(--color-primary); }
.LangSwitchSep { opacity: 0.5; }
@media (max-width: 767.98px) { .LangSwitch { margin-right: 0.5rem; } }
/* 英語の長い見出しが1行に収まらない場合の折り返し調整 */
html[lang="en"] .ArtCardTitle, html[lang="en"] .ArtCardLead, html[lang="en"] .ArtCardNote { white-space: normal; line-height: 1.15; max-width: 92%; }
html[lang="en"] .CompanyTable th, html[lang="en"] .CompanyProfileTable th { min-width: 12em; }

/* --- 01. 分断 の図の中のラベル：図を基準に配置（日英で同じ位置） --- */
.ArtCardArt-withTags { position: absolute; }
.ArtCardTag-inArt { position: absolute; left: calc(var(--px) * 1%); top: calc(var(--py) * 1%); transform: translateX(-50%); }

/* =====================================================================
   v3.1 英語版：カードの文章は英語のほうが長いため、絶対配置をやめて上から順に並べる
   （図の大きさ・文字の大きさは同じ。文章は折り返して自然な行送りに）
   ===================================================================== */
html[lang="en"] .ArtCard { aspect-ratio: auto; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 4.2cqw 4cqw 3.6cqw; }
html[lang="en"] .ArtCard-before, html[lang="en"] .ArtCard-after { padding-top: 5.2cqw; }
html[lang="en"] .ArtCard > * { position: static; top: auto; left: auto; transform: none; white-space: normal; margin: 0; }
html[lang="en"] .ArtCardRule { display: block; }
html[lang="en"] .ArtCardArt, html[lang="en"] .ArtCardArt-withTags { top: auto; left: auto; }
html[lang="en"] .ArtCard > img.ArtCardLabel { position: absolute; left: calc(var(--x) * 1cqw); top: calc(var(--y) * 1cqw); }
html[lang="en"] .ArtCardTitle { line-height: 1.15; max-width: 88%; }
html[lang="en"] .ArtCardSub { margin-top: 0.9cqw; line-height: 1.2; max-width: 88%; }
html[lang="en"] .ArtCardArt, html[lang="en"] .ArtCardArt-withTags { position: relative; width: calc(var(--w) * 1cqw); margin: 2.2cqw auto 1.2cqw; }
html[lang="en"] .ArtCardRule { width: calc((100 - 2 * var(--x)) * 1cqw); height: max(1px, 0.14cqw); margin: 1.2cqw auto 1.8cqw; }
html[lang="en"] .ArtCardLead { line-height: 1.2; max-width: 90%; }
html[lang="en"] .ArtCardNote { margin-top: 1.1cqw; line-height: 1.25; max-width: 90%; }
html[lang="en"] .ArtCardTag b, html[lang="en"] .ArtCardTag i { white-space: nowrap; }
/* 英語の長い一文（PHILOSOPHY / SPATIAL OPTIMIZATION のサブ）が画面幅を超えないように */
html[lang="en"] .AboutPhilosophySub { white-space: normal; max-width: min(100%, 44ch); margin-inline: auto; }

/* --- v3.1.1 英語版：HOME 濃紺帯のステートメント（文字を消した画像＋HTMLの文字） --- */
.HomeStatementFigure { position: relative; container-type: inline-size; }
.HomeStatementText { position: absolute; left: 0; right: 0; top: 40.2%; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 3.3cqw; color: #fff; font-family: var(--font-en); font-weight: 600; font-size: max(13px, 2.6cqw); letter-spacing: 0.06em; line-height: 1.15; text-align: center; padding-inline: 4cqw; }
/* 言語切替は CONTACT ボタンの右。ボタンとの間隔を確保 */
.LangSwitch { margin-right: 0; margin-left: clamp(0.75rem, 1.4vw, 1.25rem); }

/* --- v3.1.2 英語版 PHILOSOPHY：英語の見出し1段だけを中央に（日本語版は従来どおり2段） --- */
.AboutPhilosophyEnOnly { display: block; width: 100%; text-align: center; white-space: nowrap; }
html[lang="en"] .AboutPhilosophyCol li { text-indent: 0; padding-left: 0.14em; }

/* =====================================================================
   v3.2 ヘッダー：現行サイト（01mnt.com）に合わせる（M-agency 指示）
   実測（1494px幅）：高さ80px／ロゴ 90×34px／メニュー 13px・太字・間隔36px／CONTACT 106×42px・13px
   メニューは画面の中央、ロゴは左、CONTACT と JP/EN は右
   ===================================================================== */
:root { --header-h: 60px; }
@media (min-width: 1024px) { :root { --header-h: 80px; } }
.HeaderLogoImg { height: 44px; }                       /* ロゴ画像の周囲の余白込み。見えている部分は約 90×34px */
@media (max-width: 1023.98px) { .HeaderLogoImg { height: 38px; } }
.HeaderNavLink { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; }
.HeaderContact { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; line-height: 17px; padding: 11.5px 1.25em; min-width: 0; }
@media (min-width: 1024px) {
  .HeaderInner { position: relative; padding-inline: 4vw 5vw; }
  .HeaderNav { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); flex: none; margin: 0; }
  .HeaderNavList { justify-content: center; gap: 36px; }
  .HeaderContact { margin-left: auto; }
}

/* =====================================================================
   v3.2 ローディング画面の模様を、他ページと同じ動き（点が漂い線がつながる）に統一
   静止の模様は、動きを止める設定の人（視差効果を減らす／BG_ANIM_MODE='off'）にだけ表示
   ===================================================================== */
body:not([data-bg-mode="off"]) .Loading > .BgNetwork { display: none; }
@media (prefers-reduced-motion: reduce) { body .Loading > .BgNetwork { display: block; } }
.BgParticlesHost-loading { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.Loading > .LoadingMark { position: relative; z-index: 1; }

/* =====================================================================
   v3.2.2 スマホ最適化の修正
   ===================================================================== */
/* (1) ヘッダー：スマホは「ロゴ／JP・EN／ハンバーガー」の3つ。CONTACT はメニューの中へ */
.HeaderNavItem-contactSp { display: none; }
@media (max-width: 767.98px) {
  .HeaderInner { padding-inline: 16px; gap: 0; }
  .HeaderContact { display: none; }
  .LangSwitch { margin-left: auto; margin-right: 14px; }
  .HeaderToggle { flex-shrink: 0; }
  .HeaderNavItem-contactSp { display: block; margin-top: 0.75rem; }
  .HeaderNavContact { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; padding: 12px 2.2em; }
}

/* (2) HOME 濃紺帯：HTMLの文字（日本語はスマホのときだけ表示。PC は文字入りの元画像） */
.HomeStatementFigure-ja .HomeStatementText { display: none; }
@media (max-width: 767.98px) {
  .HomeStatementFigure-ja .HomeStatementText { display: flex; }
  .HomeStatementText { font-size: 15px; gap: 0.9em; letter-spacing: 0.12em; top: 50%; transform: translateY(-50%); line-height: 1.5; }
  .HomeStatementFigure-ja .HomeStatementText { font-family: var(--font-jp); font-weight: 700; }
}

/* (3) 会社概要：見出しの幅指定（10rem）は横並び（PC）のときだけ。スマホの縦並びで高さになっていた */
.CompanyInfoLabel { flex: none; }
@media (min-width: 768px) { .CompanyInfoLabel { flex: 0 0 10rem; } }

/* =====================================================================
   v3.2.2 スマホ表示の見直し
   ===================================================================== */
/* (4) 日本語の改行：文節（<wbr>）の位置でだけ折り返す。単語の途中で切れないように */
.Jw { }
/*     PC幅（768px以上）は v3.2.1 と同じ改行のまま（M-agency確認済みの見た目を変えない）。
       例外：SERVICE「STRUCTURE」の説明文は PC でも「エーシーエ／ス」と切れていたため文節で折り返す */
@media (max-width: 767.98px) { .Jw { word-break: keep-all; overflow-wrap: break-word; } }
@media (min-width: 768px) {
  :not(.ServiceStructureSub) > .Jw > wbr { display: none; }
  .ServiceStructureSub .Jw { word-break: keep-all; overflow-wrap: break-word; }
}

/* (5) ABOUT / SERVICE のカード：スマホ幅ではカード内の文字が 9〜10px まで縮んでいたため、
       日本語版も英語版と同じ「上から順に並べる」組み方にし、読める大きさに固定する */
@container (max-width: 640px) {
  .ArtCard { aspect-ratio: auto; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 4.2cqw 4cqw 5cqw; }
  .ArtCard-before, .ArtCard-after { padding-top: 13cqw; }
  .ArtCard > * { position: static; top: auto; left: auto; transform: none; white-space: normal; margin: 0; }
  .ArtCard > img.ArtCardLabel { position: absolute; left: calc(var(--x) * 1cqw); top: calc(var(--y) * 1cqw); }
  .ArtCardTitle, .ArtCardSub, .ArtCardLead, .ArtCardNote { padding-left: 0; letter-spacing: 0.04em; max-width: 92%; }
  .ArtCardTitle { font-size: 18px; line-height: 1.35; }
  .ArtCardSub { font-size: 12px; line-height: 1.35; margin-top: 4px; }
  .ArtCardArt, .ArtCardArt-withTags { position: relative; top: auto; left: auto; width: calc(var(--w) * 1cqw); margin: 3cqw auto 2cqw; }
  .ArtCardRule { display: block; width: calc((100 - 2 * var(--x)) * 1cqw); height: 1px; margin: 2cqw auto 4cqw; }
  .ArtCardLead { font-size: 15px; line-height: 1.5; }
  .ArtCardNote { font-size: 13px; line-height: 1.6; margin-top: 6px; }
}

/* (6) NEWバッジ：スマホで10px台だったため 11px に */
@media (max-width: 767.98px) { .HomeNewsBadge { font-size: 11px; } }
/* (4') 短い見出し・リードは行の長さをそろえる（最後の行が1〜2文字だけになるのを防ぐ。未対応ブラウザは通常表示） */
/*     ※ text-wrap（一括指定）は white-space:nowrap を打ち消してPCのカード文字が折り返すため、個別指定の text-wrap-style を使い、スマホ幅だけに限定 */
@media (max-width: 767.98px) {
  .PageIntroLead, .PageIntroSub, .SectionHeadLead, .AboutPhilosophySub, .ServiceStructureSub,
  .ArtCardTitle, .ArtCardLead, .ArtCardNote, .HomeFeatureCardLead { text-wrap-style: balance; }
}
/* (4'') Chrome は white-space:nowrap の中でも <wbr> で改行してしまうため、
        PCのカード（絶対配置・1行固定）では改行候補を無効にする（PC表示は従来どおり） */
@container (min-width: 640.02px) { .ArtCard wbr { display: none; } }

/* (7) ハンバーガー：メニューを開いている間は「×」にする（開いているか分かるように） */
.HeaderToggleBar, .HeaderToggleBar::before, .HeaderToggleBar::after { transition: transform 0.25s ease, background-color 0.2s ease, top 0.25s ease; }
.HeaderToggle[aria-expanded="true"] .HeaderToggleBar { background-color: transparent; }
.HeaderToggle[aria-expanded="true"] .HeaderToggleBar::before { top: 0; transform: rotate(45deg); }
.HeaderToggle[aria-expanded="true"] .HeaderToggleBar::after { top: 0; transform: rotate(-45deg); }
/* (5') 英語版のカードもスマホでは同じ行間・余白に（英語用の指定のほうが優先されていたため） */
@container (max-width: 640px) {
  html[lang="en"] .ArtCard-before, html[lang="en"] .ArtCard-after { padding-top: 13cqw; }
  html[lang="en"] .ArtCardTitle { line-height: 1.3; }
  html[lang="en"] .ArtCardSub { line-height: 1.35; }
  html[lang="en"] .ArtCardLead { line-height: 1.4; }
  html[lang="en"] .ArtCardNote { line-height: 1.5; }
}

/* (8) PHILOSOPHY（スマホ）：PC と同じく2列の間に「×」を表示（M-agency 要望 10/16） */
@media (max-width: 767.98px) {
  .AboutPhilosophyGrid { grid-template-columns: minmax(0, 1fr) clamp(2.5rem, 11vw, 4.5rem) minmax(0, 1fr); gap: 0.6rem; }
  html[lang="en"] .AboutPhilosophyCol li { padding-inline: 0.3rem; }
  html[lang="en"] .AboutPhilosophyEnOnly { font-size: clamp(0.95rem, 4.1vw, 1.1rem); letter-spacing: 0.06em; }
  .AboutPhilosophyCross { display: block; width: 100%; height: auto; aspect-ratio: 1; justify-self: center; }
  .AboutPhilosophyCross line { stroke-width: 1.5; }
}

/* (9) NEWS・PARTNER を管理ページ（/admin）から登録できるようにした表示（v3.3.0） */
.HomeNewsItem { position: relative; }
.HomeNewsLink { text-decoration: none; }
.HomeNewsLink::after { content: ""; position: absolute; inset: 0; }
.HomeNewsItem:hover .HomeNewsLink, .HomeNewsLink:focus-visible { color: var(--color-accent); }
.HomeNewsAll { max-width: var(--container-narrow); margin: 1.25rem auto 0; text-align: right; }
.HomeNewsAllLink { color: var(--color-accent); font-weight: 600; text-decoration: none; font-size: var(--fs-sm); }
.NewsEmpty { margin: 0; padding-block: 1.5rem; text-align: center; color: var(--color-text-dim); }
.NewsDetail { max-width: var(--container-narrow); margin-inline: auto; }
.NewsDetailMeta { display: flex; align-items: center; gap: 0.75rem; margin: 0 0 0.75rem; }
.NewsDetailTitle { margin: 0 0 1.5rem; font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.5; color: var(--color-text); }
.NewsDetailBody { line-height: var(--lh-loose); color: var(--color-text); overflow-wrap: anywhere; }
.NewsDetailLink { margin: 1.5rem 0 0; overflow-wrap: anywhere; }
.NewsDetailLink a { color: var(--color-accent); }
.NewsBack { margin-top: 2rem; text-align: center; }
.NewsPager { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.NewsPagerItem { min-width: 2.25rem; padding: 0.35rem 0.6rem; text-align: center; border: 1px solid var(--color-line-strong); border-radius: var(--radius-sm); color: var(--color-text); text-decoration: none; }
.NewsPagerItem-current { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-text-on-dark); }
.PartnerCompanyLogo { background: #fff; overflow: hidden; padding: 6px; }
.PartnerCompanyLogo img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.PartnerCompanyName-plain { color: var(--color-text); text-decoration: none; }
.PartnerCompanyItem-empty { color: var(--color-text-dim); font-size: var(--fs-sm); }

/* 検証環境（SITE_ENV=test）だけの識別帯。通常フローの最上部＋sticky。固定ヘッダーはその高さ分だけ下げる（本文の余白は帯の高さ分が自然に増える） */
.StagingBar { position: sticky; top: 0; z-index: 101; box-sizing: border-box; display: flex; align-items: center; justify-content: center; min-height: 28px; padding: 2px 0.75rem; background: #ffb300; color: #3b2600; border-bottom: 2px solid #b26a00; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.04em; line-height: 1.2; text-align: center; }
.StagingBarText { background: none; color: inherit; }
.has-StagingBar .Header { top: 28px; }
@media (max-width: 1023.98px) { .has-StagingBar .HeaderNav { inset: calc(var(--header-h) + 28px) 0 0 0; } }
@media (max-width: 767.98px) {
  .StagingBar { min-height: 24px; font-size: 0.6875rem; letter-spacing: 0.02em; }
  .has-StagingBar .Header { top: 24px; }
  .has-StagingBar .HeaderNav { inset: calc(var(--header-h) + 24px) 0 0 0; }
}
