/* ============================================================
   CONFILL Inc. — Corporate Site
   Navy × Gray, hard-edged construction industry aesthetic
   ============================================================ */

:root {
  /* Navy scale */
  --navy-900: #06182E;
  --navy-800: #0A2040;
  --navy-700: #0E2540;
  --navy-600: #14304F;
  --navy-500: #1E3F66;
  --navy-400: #2D5384;
  --navy-200: #C7D3E2;

  /* Gray scale */
  --ink: #111418;
  --ink-2: #2A2F38;
  --gray-700: #3F4651;
  --gray-600: #595E66;
  --gray-500: #767D87;
  --gray-400: #8B9097;
  --gray-300: #B5BAC1;
  --gray-200: #D8DCE1;
  --gray-100: #E9ECEF;
  --gray-50:  #F2F4F6;
  --off:      #FAFAFB;
  --paper:    #FFFFFF;

  /* Accent (very limited) */
  --accent: #D9A24A; /* warm hi-vis hint, used sparingly */

  --maxw: 1320px;
  --gutter: clamp(20px, 4vw, 56px);

  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-hd: "Zen Kaku Gothic Antique", "Noto Sans JP", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-jp);
  color: var(--ink);
  background: var(--off);
  font-feature-settings: "palt";
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ============================================================
   PHOTO PLACEHOLDERS — striped, monospace-labelled
   ============================================================ */
.hero-photo,
.visual-frame,
.srv-img,
.s-img,
.work-img,
.portrait-frame,
.rv-frame,
.map-frame {
  position: relative;
  overflow: hidden;
  background-color: var(--gray-100);
  background-image:
    repeating-linear-gradient(135deg,
      rgba(14,37,64,0.04) 0 14px,
      rgba(14,37,64,0.00) 14px 28px),
    linear-gradient(180deg, var(--gray-100), var(--gray-200));
  border: 1px solid var(--gray-200);
  color: var(--gray-500);
  isolation: isolate;
}
.hero-photo::before,
.visual-frame::before,
.srv-img::before,
.s-img::before,
.work-img::before,
.portrait-frame::before,
.rv-frame::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 60% at 50% 100%, rgba(14,37,64,0.10), transparent 60%),
    radial-gradient(60% 40% at 20% 10%, rgba(255,255,255,0.5), transparent 60%);
  pointer-events: none;
}
.photo-label {
  position: absolute;
  left: 14px; top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--navy-700);
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--gray-200);
  padding: 6px 10px;
  z-index: 2;
}
.photo-meta {
  position: absolute;
  right: 14px; bottom: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--gray-500);
  z-index: 2;
}

/* Real photo variant — used when a background-image is set */
.photo-real {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-color: var(--ink) !important;
}
.photo-real::before {
  background:
    linear-gradient(180deg, rgba(6,24,46,0.10) 0%, rgba(255,255,255,0.5) 100%) !important;
}
.photo-real .photo-label {
  background: rgba(6,24,46,0.78);
  color: #fff;
  border-color: rgba(255,255,255,0.18);
  backdrop-filter: blur(4px);
}
.photo-real .photo-meta {
  color: rgba(255,255,255,0.75);
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250,250,251,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.site-header.scrolled {
  background: rgba(6,24,46,0.96);
  border-bottom-color: rgba(255,255,255,0.08);
  color: #fff;
}
.site-header.scrolled .brand-mark,
.site-header.scrolled .brand-text,
.site-header.scrolled .primary-nav a { color: #fff; }
.site-header.scrolled .primary-nav a em { color: var(--gray-400); }
.site-header.scrolled .primary-nav a:hover { color: var(--accent); }
.site-header.scrolled .header-cta {
  background: #fff; color: var(--navy-900);
}

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 76px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: flex; align-items: center; gap: 14px;
  color: var(--navy-900);
}
.brand-mark { display: inline-flex; }
.brand-logo {
  height: 50px;
  width: auto;
  display: block;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; gap: 2px; }
.brand-ja {
  font-family: var(--font-hd);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: var(--navy-900);
}
.site-header.scrolled .brand-ja { color: #fff; }
.brand-en {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--gray-500);
  text-transform: uppercase;
}
.site-header.scrolled .brand-en { color: var(--gray-300); }
.primary-nav { margin-left: auto; }
.primary-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 26px;
}
.primary-nav a {
  display: inline-flex; flex-direction: column; gap: 2px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  transition: color .2s ease;
}
.primary-nav a em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--gray-500);
}
.primary-nav a:hover { color: var(--navy-700); }

.header-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--navy-900);
  color: #fff;
  padding: 12px 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background .2s ease;
}
.header-cta:hover { background: var(--navy-700); }
.cta-arrow { font-family: var(--font-mono); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  background: transparent; border: 1px solid var(--gray-300);
  padding: 0;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 16px; height: 1.5px;
  background: var(--navy-900);
  margin: 4px auto;
  transition: background .25s ease;
}
.site-header.scrolled .nav-toggle {
  border-color: rgba(255,255,255,0.3);
}
.site-header.scrolled .nav-toggle span {
  background: #fff;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 76px;
  background: var(--navy-900);
  color: #fff;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-photo {
  position: absolute; inset: 0;
  background-color: var(--navy-800);
  background-image:
    repeating-linear-gradient(135deg,
      rgba(255,255,255,0.04) 0 18px,
      rgba(255,255,255,0.00) 18px 36px),
    linear-gradient(180deg, var(--navy-700), var(--navy-900) 80%);
  border: 0;
  color: var(--gray-300);
}
.hero-photo .photo-label {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.15);
}
.hero-photo .photo-meta { color: var(--gray-400); }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,24,46,0.4) 0%, rgba(6,24,46,0.8) 100%),
    radial-gradient(100% 60% at 20% 80%, rgba(217,162,74,0.10), transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
}

.hero-inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(80px, 14vh, 160px) var(--gutter) 200px;
  z-index: 2;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gray-300);
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(217,162,74,0.15);
}
.hero-eyebrow .thin { color: var(--gray-400); }

.hero-title {
  font-family: var(--font-hd);
  font-weight: 900;
  font-size: clamp(38px, 6.4vw, 92px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 32px 0 36px;
}
.hero-title .line { display: block; }
.hero-title .emph {
  position: relative;
  display: inline-block;
  padding: 0 8px;
}
.hero-title .emph::before {
  content: "";
  position: absolute; inset: auto -4px 0.12em -4px;
  height: 0.18em;
  background: var(--accent);
  z-index: -1;
}

.hero-lead {
  max-width: 640px;
  font-size: clamp(15px, 1.1vw, 17px);
  color: var(--gray-200);
  line-height: 1.95;
  margin: 0 0 44px;
}

.hero-actions {
  display: flex; flex-wrap: wrap; gap: 16px;
  margin-bottom: 80px;
}

.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all .2s ease;
}
.btn-primary {
  background: #fff;
  color: var(--navy-900);
}
.btn-primary:hover { background: var(--accent); color: var(--navy-900); }
.btn-primary.light { background: var(--navy-900); color: #fff; }
.btn-primary.light:hover { background: var(--navy-700); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: #fff; }
.btn-ghost.dark { color: var(--navy-900); border-color: var(--gray-300); }
.btn-ghost.dark:hover { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.btn-primary .arr, .btn-ghost .arr, .cta-arrow {
  font-family: var(--font-mono);
  font-weight: 400;
  transition: transform .2s ease;
}
.btn-primary:hover .arr, .btn-ghost:hover .arr,
.header-cta:hover .cta-arrow { transform: translateX(4px); }

.hero-stats {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.hero-stats li {
  padding: 28px 24px;
  border-right: 1px solid rgba(255,255,255,0.10);
  display: flex; flex-direction: column; gap: 8px;
}
.hero-stats li:last-child { border-right: 0; }
.stat-num {
  font-family: var(--font-hd);
  font-weight: 700;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
}
.stat-num small {
  font-size: 0.4em;
  font-weight: 500;
  margin-left: 4px;
  color: var(--gray-300);
}
.stat-label {
  font-size: 12px;
  color: var(--gray-300);
  letter-spacing: 0.04em;
}

.hero-foot {
  position: absolute;
  left: var(--gutter); right: var(--gutter);
  bottom: 32px;
  display: flex; align-items: center; gap: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-300);
  letter-spacing: 0.16em;
  z-index: 2;
}
.foot-line {
  flex: 1; height: 1px; background: rgba(255,255,255,0.2);
  position: relative;
}
.foot-line::after {
  content: ""; position: absolute; left: 0; top: 0; height: 100%;
  width: 80px; background: var(--accent);
  animation: scanline 3s ease-in-out infinite;
}
@keyframes scanline {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(calc(100vw - 240px)); }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  background: var(--navy-900);
  color: var(--gray-300);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 28px;
  white-space: nowrap;
  font-family: var(--font-hd);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.04em;
  animation: marquee 40s linear infinite;
}
.marquee-track span:nth-child(even) { color: var(--accent); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   SECTION BASE
   ============================================================ */
.section {
  padding: clamp(80px, 12vw, 160px) var(--gutter);
  max-width: var(--maxw);
  margin: 0 auto;
}
.section.dark, .section.gray { max-width: none; padding-left: 0; padding-right: 0; }
.section.dark { background: var(--navy-900); color: #fff; }
.section.gray { background: var(--gray-50); }
.section.dark > *, .section.gray > * {
  max-width: var(--maxw);
  margin-left: auto; margin-right: auto;
  padding-left: var(--gutter); padding-right: var(--gutter);
}

.section-head {
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head.no-pad { margin-bottom: 32px; }
.head-meta {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
}
.head-num {
  display: inline-flex; align-items: center;
  font-weight: 600;
  color: var(--navy-700);
}
.head-num::after {
  content: ""; display: inline-block;
  width: 32px; height: 1px;
  background: var(--navy-700);
  margin-left: 14px;
}
.section-head.light .head-num { color: var(--accent); }
.section-head.light .head-num::after { background: var(--accent); }
.head-en {
  color: var(--gray-500);
  text-transform: uppercase;
}
.section-head.light .head-en { color: var(--gray-300); }
.head-ja {
  font-family: var(--font-hd);
  font-weight: 900;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: var(--navy-900);
}
.section.dark .head-ja, .section-head.light .head-ja { color: #fff; }
.head-desc {
  max-width: 640px;
  font-size: 15px;
  color: var(--gray-600);
  margin: 0;
}
.section.dark .head-desc { color: var(--gray-300); }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.about-lede {
  font-family: var(--font-hd);
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.4;
  color: var(--navy-900);
  margin: 0 0 32px;
  letter-spacing: -0.005em;
}
.about-body {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 2;
  margin: 0 0 22px;
}
.about-facts {
  margin: 40px 0 0;
  padding: 0;
  border-top: 1px solid var(--gray-200);
}
.about-facts div {
  display: grid;
  grid-template-columns: 140px 1fr;
  padding: 18px 0;
  border-bottom: 1px solid var(--gray-200);
  margin: 0;
}
.about-facts dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--navy-700);
  font-weight: 600;
  padding-top: 2px;
}
.about-facts dd {
  margin: 0;
  font-size: 14px;
  color: var(--ink);
}

.about-visual { position: sticky; top: 100px; }
.visual-frame {
  aspect-ratio: 4/5;
  width: 100%;
}
.visual-meta {
  margin-top: 16px;
  display: flex; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--gray-500);
}

/* ============================================================
   SERVICES
   ============================================================ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
}
.service-card {
  background: var(--navy-900);
  padding: 40px;
  display: flex; flex-direction: column;
  gap: 24px;
  transition: background .25s ease;
}
.service-card:hover { background: var(--navy-800); }
.service-card header { display: flex; align-items: baseline; gap: 16px; }
.srv-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
}
.service-card h3 {
  font-family: var(--font-hd);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.005em;
  margin: 0;
  color: #fff;
}
.srv-img {
  aspect-ratio: 16/9;
  background-color: rgba(255,255,255,0.06);
  background-image: repeating-linear-gradient(135deg,
    rgba(255,255,255,0.05) 0 14px,
    rgba(255,255,255,0.00) 14px 28px);
  border-color: rgba(255,255,255,0.08);
}
.srv-img .photo-label {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.15);
}
.service-card p {
  margin: 0;
  font-size: 14px;
  color: var(--gray-300);
  line-height: 1.95;
}
.srv-tags {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.srv-tags li {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--gray-300);
}

.service-foot {
  margin-top: 40px;
  text-align: center;
}
.service-foot p {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray-400);
  letter-spacing: 0.04em;
}

/* ============================================================
   STRENGTHS
   ============================================================ */
.strength-list {
  list-style: none; padding: 0; margin: 0;
  border-top: 1px solid var(--gray-200);
}
.strength-row {
  display: grid;
  grid-template-columns: 120px 1fr 360px;
  gap: 48px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--gray-200);
  transition: background .25s ease;
}
.strength-row:hover { background: var(--gray-50); }
.s-num {
  font-family: var(--font-hd);
  font-weight: 900;
  font-size: 96px;
  line-height: 1;
  color: var(--navy-900);
  letter-spacing: -0.04em;
  position: relative;
}
.s-num::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 48px; height: 3px;
  background: var(--accent);
}
.s-body h3 {
  font-family: var(--font-hd);
  font-weight: 700;
  font-size: 24px;
  margin: 0 0 12px;
  color: var(--navy-900);
  letter-spacing: -0.005em;
}
.s-body p {
  margin: 0;
  font-size: 15px;
  color: var(--gray-700);
  line-height: 2;
}
.s-img {
  aspect-ratio: 4/3;
  width: 100%;
}

/* ============================================================
   WORKS
   ============================================================ */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.work-card {
  display: flex; flex-direction: column;
  gap: 16px;
  transition: transform .25s ease;
}
.work-card:hover { transform: translateY(-4px); }
.work-img {
  aspect-ratio: 4/3;
  background-color: var(--paper);
}
.work-meta {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}
.work-cat {
  background: var(--navy-900);
  color: #fff;
  padding: 4px 10px;
  font-weight: 500;
}
.work-loc { color: var(--gray-600); }
.work-title {
  font-family: var(--font-hd);
  font-weight: 700;
  font-size: 18px;
  margin: 0;
  line-height: 1.5;
  color: var(--navy-900);
  letter-spacing: -0.005em;
}
.work-spec {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-600);
  letter-spacing: 0.04em;
}
.work-spec li { position: relative; }
.work-spec li + li::before {
  content: "/";
  position: absolute;
  left: -10px;
  color: var(--gray-400);
}

.works-foot {
  margin-top: 56px;
  display: flex; justify-content: center;
}

/* ============================================================
   FLOW
   ============================================================ */
.flow-list {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 2px solid var(--navy-900);
  border-bottom: 2px solid var(--navy-900);
}
.flow-list li {
  padding: 36px 28px 48px 28px;
  border-right: 1px solid var(--gray-200);
  position: relative;
}
.flow-list li:last-child { border-right: 0; padding-right: 28px; }
.flow-list li::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 28px; height: 28px;
  background: var(--navy-900);
}
.flow-list li::after {
  content: "";
  position: absolute;
  top: 14px; left: 14px;
  width: 0; height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 14px solid var(--off);
}
.flow-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin: 40px 0 16px;
}
.flow-list h3 {
  font-family: var(--font-hd);
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 12px;
  color: var(--navy-900);
  line-height: 1.4;
}
.flow-list p {
  margin: 0;
  font-size: 13px;
  color: var(--gray-700);
  line-height: 1.85;
}

/* ============================================================
   SAFETY
   ============================================================ */
.safety-grid {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}
.safety-text p {
  font-size: 15px;
  color: var(--gray-300);
  line-height: 2;
  margin: 0;
}
.safety-items {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
}
.safety-items li {
  background: var(--navy-900);
  padding: 32px;
}
.si-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 16px;
}
.safety-items h3 {
  font-family: var(--font-hd);
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 12px;
  color: #fff;
}
.safety-items p {
  margin: 0;
  font-size: 13px;
  color: var(--gray-300);
  line-height: 1.95;
}

/* ============================================================
   MESSAGE
   ============================================================ */
.message-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.portrait-frame {
  aspect-ratio: 4/5;
}
.portrait-meta {
  margin-top: 20px;
  display: flex; flex-direction: column; gap: 4px;
}
.portrait-meta .role {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-500);
  letter-spacing: 0.1em;
}
.portrait-meta .name {
  font-family: var(--font-hd);
  font-weight: 700;
  font-size: 22px;
  color: var(--navy-900);
}
.portrait-meta .name-en {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--gray-500);
}

.msg-lead {
  font-family: var(--font-hd);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.5;
  color: var(--navy-900);
  margin: 0 0 32px;
  letter-spacing: -0.005em;
  position: relative;
  padding-left: 20px;
}
.msg-lead::before {
  content: "";
  position: absolute;
  left: 0; top: 0.4em; bottom: 0.4em;
  width: 3px;
  background: var(--accent);
}
.message-text p {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 2.05;
  margin: 0 0 20px;
}
.msg-sign {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
  display: flex; flex-direction: column; gap: 4px;
  font-family: var(--font-hd);
  font-size: 14px;
  color: var(--navy-900);
}

/* ============================================================
   AREA
   ============================================================ */
.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}
.area-map {
  background: var(--paper);
  border: 1px solid var(--gray-200);
  padding: 24px;
}
.map-frame {
  aspect-ratio: 3/2;
  background-color: var(--paper);
  background-image: none;
  border: 0;
  color: var(--gray-400);
}
.map-frame svg { width: 100%; height: 100%; display: block; }
.map-note {
  display: block;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-500);
  letter-spacing: 0.04em;
}
.area-block { margin-bottom: 32px; }
.area-block h3 {
  font-family: var(--font-hd);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy-900);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-300);
  display: flex; align-items: center; gap: 12px;
}
.area-block h3::before {
  content: "■";
  color: var(--accent);
  font-size: 10px;
}
.area-tags {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.area-tags li {
  font-size: 13px;
  padding: 8px 14px;
  background: var(--paper);
  border: 1px solid var(--gray-200);
  color: var(--ink);
}
.area-tags.primary li {
  background: var(--navy-900);
  color: #fff;
  border-color: var(--navy-900);
}
.area-note {
  font-size: 12px;
  color: var(--gray-600);
  margin: 16px 0 0;
}

/* ============================================================
   NEWS
   ============================================================ */
.news-list {
  list-style: none; padding: 0; margin: 0;
  border-top: 1px solid var(--gray-200);
}
.news-list li {
  display: grid;
  grid-template-columns: 140px 100px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--gray-200);
  transition: background .2s ease;
}
.news-list li:hover { background: var(--gray-50); }
.news-list time {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gray-600);
  letter-spacing: 0.04em;
}
.news-cat {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--navy-700);
  border: 1px solid var(--navy-700);
  padding: 4px 10px;
  text-align: center;
}
.news-list a {
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
}
.news-list a:hover { color: var(--navy-700); }
.news-list li::after {
  content: "→";
  font-family: var(--font-mono);
  color: var(--gray-400);
  transition: transform .2s ease;
}
.news-list li:hover::after { transform: translateX(4px); color: var(--navy-700); }

/* ============================================================
   RECRUIT
   ============================================================ */
.recruit {
  background: var(--navy-900);
  color: #fff;
  padding: 0;
  max-width: none;
}
.recruit-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(80px, 12vw, 160px) var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.recruit-lead {
  font-family: var(--font-hd);
  font-weight: 700;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.5;
  color: #fff;
  margin: 0 0 24px;
}
.recruit-text > p {
  font-size: 15px;
  color: var(--gray-300);
  line-height: 2;
  margin: 0 0 32px;
}
.recruit-table {
  margin: 0 0 40px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.recruit-table div {
  display: grid;
  grid-template-columns: 140px 1fr;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  margin: 0;
}
.recruit-table dt {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.1em;
  font-weight: 600;
  padding-top: 2px;
}
.recruit-table dd {
  margin: 0;
  font-size: 14px;
  color: #fff;
}
.recruit-visual {
  position: relative;
  height: 600px;
}
.rv-frame {
  position: absolute;
  background-color: rgba(255,255,255,0.04);
  background-image: repeating-linear-gradient(135deg,
    rgba(255,255,255,0.05) 0 14px,
    rgba(255,255,255,0.00) 14px 28px);
  border-color: rgba(255,255,255,0.08);
}
.rv-frame .photo-label {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.15);
}
.rv-frame.big {
  top: 0; left: 0; right: 80px; bottom: 80px;
}
.rv-frame.small {
  bottom: 0; right: 0;
  width: 220px; height: 280px;
  border: 4px solid var(--navy-900);
}

/* ============================================================
   COMPANY
   ============================================================ */
.company-table {
  margin: 0;
  background: var(--paper);
  border-top: 2px solid var(--navy-900);
  border-bottom: 2px solid var(--navy-900);
}
.company-table div {
  display: grid;
  grid-template-columns: 220px 1fr;
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-200);
  margin: 0;
}
.company-table div:last-child { border-bottom: 0; }
.company-table dt {
  font-family: var(--font-hd);
  font-weight: 700;
  font-size: 14px;
  color: var(--navy-900);
  letter-spacing: 0.02em;
}
.company-table dd {
  margin: 0;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.8;
}
.company-table dd p:first-child {
	margin: 0;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 24px;
}
.contact-title {
  font-family: var(--font-hd);
  font-weight: 900;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 32px;
  color: #fff;
}
.contact-lead {
  font-size: 15px;
  color: var(--gray-300);
  line-height: 2;
  margin: 0 0 48px;
}
.contact-direct {
  display: flex; flex-direction: column; gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.cd-block { display: flex; flex-direction: column; gap: 6px; }
.cd-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-400);
  letter-spacing: 0.12em;
}
.cd-tel, .cd-mail {
  font-family: var(--font-hd);
  font-weight: 700;
  font-size: clamp(24px, 2.4vw, 32px);
  color: #fff;
  letter-spacing: -0.005em;
}
.cd-tel:hover, .cd-mail:hover { color: var(--accent); }
.cd-note {
  font-size: 12px;
  color: var(--gray-400);
}

.contact-form {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  padding: clamp(28px, 3vw, 40px);
  display: flex; flex-direction: column; gap: 24px;
}
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.contact-form label {
  display: flex; flex-direction: column; gap: 8px;
  font-size: 13px;
}
.cf-label {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--gray-300);
}
.cf-label em {
  font-style: normal;
  font-size: 10px;
  background: var(--accent);
  color: var(--navy-900);
  padding: 2px 6px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.contact-form input,
.contact-form textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font: inherit;
  padding: 14px 16px;
  outline: none;
  transition: border-color .2s ease, background .2s ease;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--gray-500); }
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,0.08);
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.cf-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.chip {
  flex-direction: row !important;
  align-items: center;
  gap: 8px !important;
  font-size: 13px !important;
  padding: 10px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
  transition: all .2s ease;
}
.chip:has(input:checked) {
  background: var(--accent);
  color: var(--navy-900);
  border-color: var(--accent);
}
.chip input { display: none; }
.cf-check {
  flex-direction: row !important;
  align-items: center;
  gap: 10px !important;
  font-size: 13px !important;
  color: var(--gray-300);
}
.cf-check input { width: 16px; height: 16px; accent-color: var(--accent); }
.submit { justify-content: center; padding: 22px 28px; }

/* ============================================================
   CONTACT FORM 7 スタイル調整
   ============================================================ */
/* screen-reader-response を非表示（CF7 デフォルトCSS無効化の補完） */
.wpcf7 .screen-reader-response {
  position: absolute !important;
  width: 1px !important; height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px,1px,1px,1px) !important;
  clip-path: inset(50%) !important;
  margin: -1px !important;
}
.contact-form .wpcf7 { width: 100%; }
/* CF7 内部の非表示フィールドセット */
.wpcf7 .hidden-fields-container { display: none; }
.contact-form .wpcf7-form {
  display: flex; flex-direction: column; gap: 24px;
}
.contact-form .wpcf7-form-control-wrap { display: block; width: 100%; }
.contact-form .wpcf7-spinner { display: none; }

/* CF7 入力フィールド（既存スタイルを上書き） */
.contact-form .wpcf7 input[type="text"],
.contact-form .wpcf7 input[type="email"],
.contact-form .wpcf7 input[type="tel"],
.contact-form .wpcf7 textarea {
  width: 100%; box-sizing: border-box;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font: inherit;
  padding: 14px 16px;
  outline: none;
  transition: border-color .2s ease, background .2s ease;
  border-radius: 0;
}
.contact-form .wpcf7 input[type="text"]::placeholder,
.contact-form .wpcf7 input[type="email"]::placeholder,
.contact-form .wpcf7 input[type="tel"]::placeholder,
.contact-form .wpcf7 textarea::placeholder { color: var(--gray-500); }
.contact-form .wpcf7 input[type="text"]:focus,
.contact-form .wpcf7 input[type="email"]:focus,
.contact-form .wpcf7 input[type="tel"]:focus,
.contact-form .wpcf7 textarea:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,0.08);
}
.contact-form .wpcf7 textarea { resize: vertical; min-height: 140px; }

/* CF7 ラジオボタン（cf-chips 内） */
.cf-chips .wpcf7-radio {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.cf-chips .wpcf7-list-item {
  margin: 0;
  flex-direction: row !important;
  align-items: center;
  font-size: 13px !important;
  padding: 10px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
  transition: all .2s ease;
  display: inline-flex;
}
.cf-chips .wpcf7-list-item:has(input:checked) {
  background: var(--accent);
  color: var(--navy-900);
  border-color: var(--accent);
}
.cf-chips .wpcf7-list-item label {
  display: inline-flex; flex-direction: row !important;
  align-items: center; gap: 0; cursor: pointer;
}
.cf-chips .wpcf7-list-item input[type="radio"] { display: none; }

/* CF7 acceptance（同意チェックボックス） */
p.cf-check {
  display: flex; align-items: center; justify-content: flex-start;
  gap: 10px; margin: 0;
  font-size: 13px; color: var(--gray-300);
}
/* wpcf7-form-control-wrap の block/100% を解除 */
p.cf-check .wpcf7-form-control-wrap {
  display: inline-flex; width: auto;
}
.cf-check .wpcf7-acceptance { display: inline-flex; align-items: center; }
.cf-check .wpcf7-acceptance label {
  display: inline-flex; align-items: center; margin: 0; cursor: pointer;
}
.cf-check .wpcf7-acceptance input[type="checkbox"] {
  width: 16px; height: 16px; accent-color: var(--accent); margin: 0;
}

/* CF7 送信ボタン */
.contact-form .wpcf7 input[type="submit"] {
  display: flex; align-items: center; justify-content: center;
  width: 100%; padding: 22px 28px;
  background: var(--accent); color: var(--navy-900);
  font-family: var(--font-hd); font-weight: 700; font-size: 15px;
  letter-spacing: 0.06em; border: none; cursor: pointer;
  transition: all .25s ease;
}
.contact-form .wpcf7 input[type="submit"]:hover {
  background: #d4a843;
}

/* CF7 バリデーションエラー */
.wpcf7-not-valid-tip {
  display: block; margin-top: 4px;
  color: #e06c5a; font-size: 11px;
  font-family: var(--font-mono); letter-spacing: 0.05em;
}
.wpcf7-form-control.wpcf7-not-valid { border-color: #e06c5a !important; }

/* CF7 送信結果メッセージ */
.wpcf7 form.init .wpcf7-response-output,
.wpcf7 form.resetting .wpcf7-response-output,
.wpcf7 form.submitting .wpcf7-response-output {
  display: none;
}
.wpcf7-response-output {
  margin-top: 0; padding: 14px 16px;
  font-size: 13px; font-family: var(--font-mono); letter-spacing: 0.05em;
  border-radius: 0;
}
.wpcf7 form.sent .wpcf7-response-output {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--accent); color: var(--accent);
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
  background: rgba(224,108,90,0.1);
  border: 1px solid #e06c5a; color: #e06c5a;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-900);
  color: #fff;
  padding: 80px var(--gutter) 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-top {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: clamp(40px, 6vw, 96px);
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.fb-logo {
  display: flex; align-items: center; gap: 16px;
  color: #fff;
  margin-bottom: 24px;
}
.footer-brand .fb-logo-img {
  height: 96px;
  width: auto;
  margin-bottom: 24px;
  filter: brightness(0) invert(1) sepia(1) saturate(2) hue-rotate(5deg);
  /* fallback: keep original colors but lighten background context */
}
/* Replace filter with proper inverted version that keeps brand colors */
.footer-brand .fb-logo-img {
  filter: none;
}
.fb-en {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-400);
  letter-spacing: 0.16em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

/* Certification mark — footer */
.footer-cert {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  padding-left: 24px;
  border-left: 1px solid rgba(255,255,255,0.10);
}
.footer-cert img {
  height: 96px;
  width: auto;
}
.footer-cert-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gray-400);
  letter-spacing: 0.08em;
  text-align: right;
  line-height: 1.6;
}
.footer-cert-label strong {
  display: block;
  color: var(--accent);
  font-size: 11px;
  margin-bottom: 2px;
}

/* Certification card — company.html */
.cert-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: 40px;
  background: var(--paper);
  border: 1px solid var(--gray-200);
  border-top: 2px solid var(--navy-900);
  margin-bottom: 24px;
}
.cert-grid .cert-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: var(--off);
  border: 1px solid var(--gray-200);
}
.cert-grid .cert-mark img {
  width: 100%;
  height: auto;
  max-width: 180px;
}
.cert-grid .cert-body h3 {
  font-family: var(--font-hd);
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 8px;
  color: var(--navy-900);
}
.cert-grid .cert-body .cert-meta {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
}
.cert-grid .cert-body p {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.95;
  margin: 0;
}

/* About inline cert badge */
.about-badge {
  margin-top: 40px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--paper);
  border: 1px solid var(--gray-200);
  border-left: 3px solid var(--accent);
}
.about-badge img {
  height: 80px;
  width: auto;
  flex: 0 0 auto;
}
.about-badge .ab-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.about-badge .ab-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
}
.about-badge .ab-title {
  font-family: var(--font-hd);
  font-weight: 700;
  font-size: 14px;
  color: var(--navy-900);
  line-height: 1.4;
}
.about-badge .ab-org {
  font-size: 12px;
  color: var(--gray-600);
}

@media (max-width: 720px) {
  .cert-grid { grid-template-columns: 1fr; text-align: center; }
  .cert-grid .cert-body .cert-meta { display: inline-block; }
  .footer-cert { align-items: flex-start; padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,0.10); padding-top: 24px; }
  .footer-cert-label { text-align: left; }
  .about-badge { flex-direction: column; align-items: flex-start; }
}
.fb-addr {
  font-size: 13px;
  color: var(--gray-300);
  line-height: 1.95;
  margin: 0 0 24px;
}
.fb-tagline {
  font-family: var(--font-hd);
  font-weight: 700;
  font-size: 18px;
  color: var(--accent);
  margin: 0;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.fn-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--gray-400);
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.fn-col ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.fn-col a {
  font-size: 13px;
  color: var(--gray-200);
  transition: color .2s ease;
}
.fn-col a:hover { color: var(--accent); }

.footer-bottom {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px;
}
.footer-bottom small {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-400);
  letter-spacing: 0.08em;
}
.legal {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 24px;
}
.legal a {
  font-size: 12px;
  color: var(--gray-300);
}
.legal a:hover { color: #fff; }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  right: 24px; bottom: 88px;
  z-index: 90;
  display: inline-flex; flex-direction: column;
  align-items: center; gap: 4px;
  background: var(--navy-900);
  color: #fff;
  padding: 14px 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  border: 1px solid rgba(255,255,255,0.1);
  opacity: 0;
  transform: translateY(20px);
  transition: all .3s ease;
  pointer-events: none;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover { background: var(--navy-700); }
.arr-up { font-size: 14px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* ============================================================
   MOBILE NAV OVERLAY
   ============================================================ */
.mobile-nav-overlay {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0;
  top: 76px;
  z-index: 98;
  background: var(--navy-900);
  padding: 32px var(--gutter) 40px;
  overflow-y: auto;
  /* 非表示時はクリックを完全にブロックしない */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
}
body.nav-open .mobile-nav-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.mobile-nav-overlay ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column;
}
.mobile-nav-overlay a {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  color: #fff;
  font-family: var(--font-hd);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: color .2s ease;
}
.mobile-nav-overlay a:hover { color: var(--accent); }
.mobile-nav-overlay a em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-right: 4px;
}
.mobile-nav-overlay .mnav-contact {
  margin-top: 32px;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 20px;
  background: var(--accent);
  color: var(--navy-900);
  font-family: var(--font-hd);
  font-size: 16px;
  font-weight: 700;
}
.mobile-nav-overlay .mnav-contact:hover { background: #c08e3a; }

/* Hamburger toggle animation */
.nav-toggle span {
  transition: transform .25s ease, opacity .25s ease, background .25s ease;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 1080px) {
  .primary-nav { display: none; }
  .nav-toggle { display: block; margin-left: auto; }

  .about-grid,
  .safety-grid,
  .message-grid,
  .area-grid,
  .recruit-inner,
  .contact-inner,
  .footer-top {
    grid-template-columns: 1fr;
  }
  .service-grid,
  .safety-items,
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .flow-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .flow-list li {
    border-right: 1px solid var(--gray-200);
    padding-right: 24px;
  }
  .strength-row {
    grid-template-columns: 80px 1fr;
    gap: 24px;
  }
  .strength-row .s-img {
    grid-column: 1 / -1;
    aspect-ratio: 16/9;
  }

  /* 1カラム時の画像サイズを抑え、中央配置する */
  .about-visual {
    position: static;
    width: min(100%, 600px);
    margin-inline: auto;
  }
  .message-portrait {
    width: min(100%, 600px);
    margin-inline: auto;
  }
  .strength-row .s-img {
    width: min(100%, 600px);
    justify-self: center;
  }
  .s-num { font-size: 64px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats li:nth-child(2) { border-right: 0; }
  .hero-stats li:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.10); }
  .recruit-visual { height: 480px; }
  .footer-nav { grid-template-columns: repeat(3, 1fr); }
  .pc-only { display: none; }
}

@media (max-width: 720px) {
  .service-grid,
  .safety-items,
  .works-grid,
  .flow-list,
  .cf-row {
    grid-template-columns: 1fr;
  }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats li { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.10); }
  .hero-stats li:last-child { border-bottom: 0; }
  .news-list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .news-list li::after { display: none; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .company-table div { grid-template-columns: 1fr; gap: 4px; }
  .about-facts div, .recruit-table div { grid-template-columns: 1fr; gap: 4px; }
  .recruit-visual { height: 360px; }
  .rv-frame.big { right: 60px; bottom: 60px; }
  .rv-frame.small { width: 160px; height: 200px; }
  .header-cta { padding: 10px 14px; font-size: 12px; }
  .brand-en { display: none; }
}
