:root {
  --red: #dc2626;
  --black: #09090b;
  --charcoal: #18181b;
  --ink: #27272a;
  --muted: #71717a;
  --plaster: #f4f4f5;
  --line: #e4e4e7;
  --white: #ffffff;
  --max: 1280px;
  --space-x: 6rem;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--black);
  background: var(--white);
  font-family: Inter, "Noto Sans JP", "Yu Gothic", "Hiragino Sans", "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

figure {
  margin: 0;
}

button,
input,
textarea,
select {
  font: inherit;
}

::selection {
  background: var(--red);
  color: var(--white);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  background: var(--black);
  color: var(--white);
  padding: 0.75rem 1rem;
  transition: top 180ms var(--ease);
}

.skip-link:focus {
  top: 1rem;
}

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

.nav-wrap,
.section-inner,
.footer-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding-left: var(--space-x);
  padding-right: var(--space-x);
}

.nav-wrap {
  min-height: 5.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: max-content;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  min-width: 4.4rem;
  height: 2.1rem;
  padding: 0 0.75rem;
  background: var(--red);
  color: var(--white);
  font-weight: 900;
  font-size: 0.92rem;
  line-height: 1;
}

.brand-word {
  font-size: 1.38rem;
  font-weight: 800;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  transition: color 300ms var(--ease);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--red);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.45rem;
  border: 1px solid var(--black);
  background: var(--black);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  transition: background 300ms var(--ease), border-color 300ms var(--ease), color 300ms var(--ease);
}

.button:hover,
.button:focus-visible {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}

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

.button.secondary:hover,
.button.secondary:focus-visible {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.section.dark .button.secondary {
  border-color: var(--white);
  color: var(--white);
}

.section.dark .button.secondary:hover,
.section.dark .button.secondary:focus-visible {
  border-color: var(--red);
  background: var(--red);
}

.menu-button {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--black);
  align-items: center;
  justify-content: center;
  padding: 0;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  width: 1.15rem;
  height: 2px;
  background: currentColor;
  content: "";
  display: block;
  transition: transform 220ms var(--ease), opacity 220ms var(--ease);
}

.menu-icon::before {
  transform: translateY(-0.42rem);
}

.menu-icon::after {
  transform: translateY(0.31rem);
}

.menu-button[aria-expanded="true"] .menu-icon {
  transform: rotate(45deg);
}

.menu-button[aria-expanded="true"] .menu-icon::before {
  transform: rotate(90deg);
}

.menu-button[aria-expanded="true"] .menu-icon::after {
  opacity: 0;
}

section {
  scroll-margin-top: 6rem;
}

.hero {
  position: relative;
  min-height: calc(100svh - 7rem);
  display: flex;
  align-items: center;
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--line);
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: 55% 48%;
}

.hero-media-layer {
  opacity: 0;
  transition: opacity 1200ms var(--ease);
}

.hero-media-layer.is-active {
  opacity: 1;
}

.hero-media.strategy img {
  object-position: 55% 48%;
}

.hero-media.intelligence img {
  object-position: 53% 50%;
}

.hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 9, 11, 0.92) 0%, rgba(9, 9, 11, 0.72) 38%, rgba(9, 9, 11, 0.22) 72%),
    linear-gradient(180deg, rgba(9, 9, 11, 0.12) 0%, rgba(9, 9, 11, 0.48) 100%);
  content: "";
  z-index: 1;
}

.hero .section-inner {
  position: relative;
  z-index: 2;
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2rem;
  align-items: start;
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.meta {
  color: var(--muted);
  font-family: "JetBrains Mono", Consolas, "SFMono-Regular", monospace;
  font-size: 0.72rem;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero-copy {
  grid-column: span 7;
}

.hero-visual {
  grid-column: span 4;
  align-self: stretch;
  min-height: 32rem;
  display: flex;
  align-items: stretch;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  max-width: 15ch;
  margin-bottom: 1.6rem;
  font-size: 3.65rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 47rem;
  margin-bottom: 1rem;
  color: var(--white);
  font-size: 1.32rem;
  font-weight: 800;
  line-height: 1.45;
}

.hero-body {
  max-width: 45rem;
  margin-bottom: 1.75rem;
  color: #e4e4e7;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 0;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.fact {
  padding: 1.35rem 1.25rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fact strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
  line-height: 1.25;
}

.fact span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.hero-portrait-grid {
  position: relative;
  width: 100%;
  min-height: 100%;
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem;
  border-left: 4px solid var(--red);
  background: var(--plaster);
  overflow: hidden;
}

.hero-portrait-grid::after {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 34%;
  height: 4px;
  background: var(--red);
  content: "";
}

.hero-frame {
  position: relative;
  min-height: 0;
  border: 1px solid var(--line);
  background: #e4e4e7;
  overflow: hidden;
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.03);
}

.hero-frame.strategy img {
  object-position: 54% 48%;
}

.hero-frame.intelligence img {
  object-position: 53% 50%;
}

.section {
  padding: 6.5rem 0;
}

.section.plaster {
  background: var(--plaster);
}

.section.dark {
  background: var(--black);
  color: var(--white);
}

.section-header {
  grid-column: span 4;
}

.philosophy-header {
  align-self: stretch;
}

.philosophy-word {
  max-width: 6.4ch;
  margin: 0;
  color: var(--black);
  font-size: 5rem;
  font-weight: 900;
  line-height: 0.88;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.section-body {
  grid-column: span 8;
}

.section-title {
  margin-bottom: 1.5rem;
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.15;
}

.section-lead {
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.85;
}

.section.dark .section-lead,
.section.dark p {
  color: #d4d4d8;
}

.section.dark .meta {
  color: #a1a1aa;
}

.copy-stack > * + * {
  margin-top: 1.1rem;
}

.quote-panel {
  margin-top: 2rem;
  padding: 1.4rem 1.5rem;
  border-left: 4px solid var(--red);
  background: var(--white);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.6;
}

.about-actions {
  margin-top: 2rem;
}

.term-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-top: 2.5rem;
}

.term {
  min-height: 15rem;
  padding: 1.6rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.term .index,
.service .index,
.phase .index,
.person .index {
  display: block;
  margin-bottom: 2.5rem;
  color: var(--muted);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 0.75rem;
}

.term h3,
.service h3,
.phase h3 {
  margin-bottom: 0.8rem;
  font-size: 1.25rem;
  line-height: 1.25;
}

.term p,
.service p,
.phase p,
.person p {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 0.95rem;
}

.service-intro {
  grid-column: span 12;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-intro .section-title {
  margin-bottom: 0;
}

.service-intro p {
  max-width: 36rem;
  margin-bottom: 0;
  color: var(--muted);
}

.services-grid {
  grid-column: span 12;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service {
  padding: 2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 4px solid var(--red);
  background: #fafafa;
  transition: background 300ms var(--ease);
}

.service:hover {
  background: var(--plaster);
}

.service.featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 2rem;
  align-items: start;
}

.service ul,
.phase ul,
.contact-list {
  margin: 1.15rem 0 0;
  padding-left: 1.2rem;
  color: var(--ink);
  font-size: 0.92rem;
}

.service li + li,
.phase li + li,
.contact-list li + li {
  margin-top: 0.45rem;
}

.approach-head {
  margin-bottom: 4.5rem;
}

.approach-head h2 {
  max-width: 12ch;
  margin-bottom: 0;
  color: var(--white);
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.02;
  text-transform: uppercase;
}

.approach-head p {
  margin: 0;
  padding-left: 2rem;
  border-left: 1px solid #3f3f46;
  font-size: 1.06rem;
  line-height: 1.85;
}

.phase-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid #3f3f46;
  border-left: 1px solid #3f3f46;
}

.phase {
  min-height: 18rem;
  padding: 1.5rem;
  border-right: 1px solid #3f3f46;
  border-bottom: 1px solid #3f3f46;
}

.phase h3 {
  color: var(--white);
}

.phase p,
.phase ul {
  color: #d4d4d8;
}

.execution-panel {
  margin-top: 3rem;
  padding: 2rem;
  border-left: 4px solid var(--red);
  background: var(--charcoal);
}

.execution-panel h3 {
  margin-bottom: 0.8rem;
  font-size: 1.55rem;
}

.base-layout {
  align-items: stretch;
}

.base-copy {
  grid-column: span 6;
}

.coverage-map {
  grid-column: span 6;
  min-height: 25rem;
  border: 1px solid var(--line);
  background: var(--white);
  display: grid;
  grid-template-rows: auto 1fr;
}

.coverage-map header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.coverage-map strong {
  display: block;
  line-height: 1.2;
}

.map-stage {
  position: relative;
  min-height: 21rem;
  background:
    linear-gradient(90deg, rgba(220, 38, 38, 0.18) 1px, transparent 1px),
    linear-gradient(180deg, rgba(220, 38, 38, 0.18) 1px, transparent 1px),
    #fafafa;
  background-size: 4rem 4rem;
  overflow: hidden;
}

.map-line {
  position: absolute;
  left: 18%;
  top: 48%;
  width: 65%;
  height: 1px;
  background: var(--red);
  transform: rotate(-12deg);
  transform-origin: left center;
}

.map-point {
  position: absolute;
  display: grid;
  gap: 0.25rem;
  min-width: 9rem;
  padding-left: 1rem;
  border-left: 4px solid var(--red);
}

.map-point b {
  font-size: 0.92rem;
  line-height: 1.2;
}

.map-point span {
  color: var(--muted);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 0.72rem;
  line-height: 1.3;
}

.map-point.odawara {
  left: 14%;
  top: 42%;
}

.map-point.seino {
  left: 48%;
  top: 28%;
}

.map-point.owari {
  left: 63%;
  top: 56%;
}

.leadership-list {
  grid-column: span 8;
  border-top: 1px solid var(--line);
}

.person {
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

.person h3 {
  margin-bottom: 0.3rem;
  font-size: 1.35rem;
  line-height: 1.2;
}

.person .role {
  color: var(--muted);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.contact-layout {
  align-items: start;
}

.contact-copy {
  grid-column: span 5;
}

.contact-form-wrap {
  grid-column: span 7;
  border-left: 4px solid var(--red);
  background: var(--white);
  padding: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field.full {
  grid-column: span 2;
}

label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--black);
  font-size: 0.82rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 3.1rem;
  border: 1px solid #d4d4d8;
  border-radius: 0;
  background: var(--white);
  color: var(--black);
  padding: 0.85rem 0.9rem;
  transition: border-color 200ms var(--ease), outline-color 200ms var(--ease);
}

textarea {
  min-height: 10rem;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(220, 38, 38, 0.2);
  border-color: var(--red);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 0.5rem;
  color: var(--ink);
  font-size: 0.9rem;
}

.checkbox-row input {
  width: 1.1rem;
  min-width: 1.1rem;
  height: 1.1rem;
  min-height: 1.1rem;
  margin-top: 0.22rem;
  accent-color: var(--red);
}

.privacy {
  border-top: 1px solid var(--line);
  padding: 4rem 0;
}

.privacy .section-inner {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 2rem;
}

.privacy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.page-hero {
  padding: 7rem 0 5.5rem;
  border-bottom: 1px solid var(--line);
}

.about-page-hero {
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.about-page-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(34vw, 28rem);
  height: 6px;
  background: var(--red);
  content: "";
}

.page-hero-copy {
  grid-column: span 8;
}

.page-hero-aside {
  grid-column: span 4;
  align-self: stretch;
  border-left: 4px solid var(--red);
  background: var(--plaster);
  padding: 1.5rem;
}

.page-title {
  max-width: 12ch;
  margin-bottom: 2rem;
  font-size: 4.35rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.page-lead {
  max-width: 48rem;
  margin-bottom: 0;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.55;
}

.about-hero-note {
  display: grid;
  gap: 1.2rem;
  margin-top: 2rem;
  max-width: 47rem;
  color: var(--muted);
  font-size: 1rem;
}

.about-hero-note strong {
  color: var(--black);
  font-size: 1.25rem;
  line-height: 1.35;
}

.info-list {
  margin: 0;
}

.info-list div {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.info-list div:first-child {
  padding-top: 0;
}

.info-list dt {
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.info-list dd {
  margin: 0;
  color: var(--black);
  font-weight: 800;
  line-height: 1.35;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-top: 2.5rem;
}

.detail-item {
  min-height: 12rem;
  padding: 1.6rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.detail-item h3 {
  margin-bottom: 0.75rem;
  font-size: 1.18rem;
  line-height: 1.3;
}

.detail-item p {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 0.95rem;
}

.purpose-panel {
  grid-column: span 8;
  padding: 2rem;
  border-left: 4px solid var(--red);
  background: var(--white);
}

.purpose-line {
  margin-bottom: 1.2rem;
  color: var(--black);
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1.2;
}

.about-definition {
  grid-column: span 8;
  display: grid;
  gap: 1.35rem;
}

.about-definition .section-title {
  max-width: 15ch;
}

.about-definition p {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.9;
}

.proof-strip {
  grid-column: span 12;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-top: 2.75rem;
}

.proof-item {
  min-height: 13rem;
  padding: 1.5rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fafafa;
}

.proof-item span,
.principle-card span,
.team-member span,
.team-lead span {
  display: block;
  margin-bottom: 1.7rem;
  color: var(--muted);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.proof-item h3,
.principle-card h3 {
  margin-bottom: 0.8rem;
  font-size: 1.18rem;
  line-height: 1.3;
}

.proof-item p,
.principle-card p {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.75;
}

.representative-layout {
  align-items: stretch;
}

.representative-photo {
  grid-column: span 5;
  min-height: 34rem;
  border-left: 4px solid var(--red);
  background: var(--plaster);
  overflow: hidden;
}

.representative-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

.representative-copy {
  grid-column: span 7;
  display: grid;
  align-content: center;
  gap: 1.4rem;
  padding: 3rem;
  background: var(--white);
}

.leader-kicker {
  margin-bottom: 0.3rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.leader-name {
  margin-bottom: 0;
  font-size: 2.55rem;
  font-weight: 900;
  line-height: 1;
}

.leader-role {
  color: var(--muted);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.leader-message {
  margin: 1rem 0 0;
  padding: 1.35rem 0 1.35rem 1.5rem;
  border-left: 4px solid var(--red);
  color: var(--black);
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1.45;
}

.representative-copy p:not(.leader-kicker):not(.leader-message) {
  margin-bottom: 0;
  color: var(--ink);
  line-height: 1.9;
}

.principle-grid {
  grid-column: span 12;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #3f3f46;
  border-left: 1px solid #3f3f46;
}

.principle-card {
  min-height: 18rem;
  padding: 1.5rem;
  border-right: 1px solid #3f3f46;
  border-bottom: 1px solid #3f3f46;
}

.principle-card h3 {
  color: var(--white);
}

.principle-card p {
  color: #d4d4d8;
}

.team-section-head {
  margin-bottom: 3rem;
}

.team-roster {
  grid-column: span 12;
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.team-lead,
.team-member {
  min-height: 12.5rem;
  padding: 1.5rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.team-lead {
  border-left: 4px solid var(--red);
  background: #fafafa;
}

.team-lead h3,
.team-member h3 {
  margin-bottom: 0.35rem;
  font-size: 1.35rem;
  line-height: 1.2;
}

.team-lead .role,
.team-member .role {
  color: var(--muted);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.team-lead p {
  margin: 1.1rem 0 0;
  color: var(--ink);
  font-size: 0.92rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--white);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 3rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.2rem;
}

.footer-mark {
  display: inline-grid;
  place-items: center;
  min-width: 4.4rem;
  height: 2.1rem;
  background: var(--red);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 900;
}

.footer-col h3 {
  margin-bottom: 1rem;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.footer-col a,
.footer-col p,
.footer-note {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.8;
}

.footer-col a {
  display: block;
  transition: color 220ms var(--ease);
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f1f1f3;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  :root {
    --space-x: 3rem;
  }

  h1 {
    font-size: 3.8rem;
  }

  .hero-copy,
  .hero-visual,
  .section-header,
  .section-body,
  .about-definition,
  .base-copy,
  .coverage-map,
  .contact-copy,
  .contact-form-wrap,
  .leadership-list,
  .representative-photo,
  .representative-copy {
    grid-column: span 12;
  }

  .hero-visual {
    min-height: 24rem;
  }

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

  .page-hero-copy,
  .page-hero-aside,
  .purpose-panel {
    grid-column: span 12;
  }

  .page-title {
    font-size: 3.8rem;
  }

  .philosophy-word {
    max-width: 100%;
    font-size: 4.2rem;
  }

  .representative-copy {
    padding: 2rem;
  }

  .principle-grid,
  .proof-strip,
  .team-roster {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (max-width: 820px) {
  :root {
    --space-x: 1.25rem;
  }

  .nav-wrap {
    min-height: 4.5rem;
  }

  .brand-word {
    font-size: 1.05rem;
  }

  .brand-mark {
    min-width: 3.8rem;
    width: auto;
    height: 2rem;
    font-size: 0.82rem;
  }

  .menu-button {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 4.5rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 1.25rem 1.25rem;
    border-bottom: 1px solid var(--line);
    background: var(--white);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-link,
  .nav-links .button {
    width: 100%;
    justify-content: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-links .button {
    justify-content: center;
    margin-top: 1rem;
    padding: 0.95rem 1rem;
    border-bottom: 1px solid var(--black);
  }

  .hero {
    padding: 3.25rem 0;
  }

  .page-hero {
    padding: 4.5rem 0 4rem;
  }

  .section {
    padding: 4.5rem 0;
  }

  .grid-12 {
    gap: 1.5rem;
  }

  h1 {
    max-width: 100%;
    font-size: 2.35rem;
  }

  .page-title {
    max-width: 100%;
    font-size: 2.55rem;
  }

  .hero-lead {
    font-size: 1.18rem;
  }

  .hero-body,
  .section-lead {
    font-size: 1rem;
  }

  .hero-actions {
    margin-bottom: 3rem;
  }

  .hero-visual {
    min-height: 28rem;
  }

  .hero-portrait-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    padding: 0.7rem;
  }

  .page-lead {
    font-size: 1.08rem;
  }

  .hero-facts,
  .term-grid,
  .proof-strip,
  .detail-grid,
  .services-grid,
  .service.featured,
  .principle-grid,
  .team-roster,
  .form-grid,
  .privacy .section-inner {
    grid-template-columns: 1fr;
  }

  .service.featured,
  .field.full {
    grid-column: span 1;
  }

  .service-intro {
    display: block;
  }

  .service-intro p {
    margin-top: 1rem;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .philosophy-word {
    font-size: 3.2rem;
    line-height: 0.95;
  }

  .representative-photo {
    min-height: 26rem;
  }

  .representative-copy {
    padding: 1.5rem;
  }

  .leader-name {
    font-size: 2rem;
  }

  .leader-message {
    font-size: 1.12rem;
  }

  .approach-head h2 {
    max-width: 100%;
    font-size: 2.25rem;
  }

  .approach-head p {
    padding-left: 1rem;
  }

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

  .phase {
    min-height: auto;
  }

  .person {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .contact-form-wrap {
    padding: 1.25rem;
  }

  .map-point {
    min-width: 7.5rem;
  }

  .map-point.seino {
    left: 42%;
  }

  .map-point.owari {
    left: 46%;
    top: 63%;
  }

  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
    display: grid;
  }
}

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

  .hero-media-layer {
    transition: none;
  }
}
