/* ============================================
   山田産業株式会社 - Corporate Site (White × Blue)
   ============================================ */
:root {
  --c-bg: #ffffff;
  --c-bg2: #f4f7fa;
  --c-text: #16283c;
  --c-muted: #6b7a8a;
  --c-accent: #0a58a8;
  --c-accent-dark: #073e78;
  --c-line: rgba(22, 40, 60, 0.14);
  --c-line-light: rgba(255, 255, 255, 0.35);
  /* 数字のみNoto Sans JP（サブセット読み込み）、英字はMarcellus、日本語はNoto Serif JP */
  --font-en: "Noto Sans JP", "Marcellus", "Noto Serif JP", serif;
  --font-jp: "Noto Sans JP", "Marcellus", "Noto Serif JP", serif;
  --font-sans: "Noto Sans JP", "Marcellus", "Noto Serif JP", serif;
  --header-h: 84px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.06em;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ---------- Loading ---------- */
#loader {
  position: fixed; inset: 0; z-index: 9999;
  background: #ffffff;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s;
}
#loader.is-done { opacity: 0; visibility: hidden; }
#loader .loader-logo {
  font-family: var(--font-en);
  font-size: clamp(20px, 4vw, 32px);
  letter-spacing: 0.35em;
  color: var(--c-accent);
  opacity: 0;
  animation: loaderFade 1.6s ease forwards;
}
@keyframes loaderFade {
  0% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 48px);
  z-index: 1000;
  transition: background 0.4s ease, height 0.4s ease, box-shadow 0.4s ease, color 0.4s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  height: 66px;
  box-shadow: 0 2px 20px rgba(10, 40, 80, 0.1);
}
.header-logo { display: flex; align-items: center; gap: 14px; }
.header-logo .logo-mark {
  width: 40px; height: auto; flex-shrink: 0;
  filter: drop-shadow(0 1px 3px rgba(0, 20, 50, 0.15));
  transition: width 0.4s ease;
}
.site-header.is-scrolled .logo-mark { width: 34px; }
.header-logo .logo-text { display: flex; flex-direction: column; }
.header-logo .logo-en {
  font-family: var(--font-en);
  font-size: 23px; letter-spacing: 0.22em; line-height: 1.2;
}

.global-nav { display: flex; align-items: center; gap: 40px; }
.global-nav a {
  position: relative;
  font-size: 14px; letter-spacing: 0.14em;
  padding: 6px 0;
}
.global-nav a .en {
  display: block; font-family: var(--font-en);
  font-size: 11px; letter-spacing: 0.24em;
  line-height: 1; opacity: 0.8;
}
.global-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.global-nav a:hover::after,
.global-nav a.is-current::after { transform: scaleX(1); transform-origin: left; }

/* Header color states:
   - header--hero (top of index, over video): white text
   - default / is-scrolled: dark navy text, blue accents */
.site-header { color: var(--c-text); }
.site-header .en { color: var(--c-accent); }
.site-header.header--hero:not(.is-scrolled) { color: #ffffff; }
.site-header.header--hero:not(.is-scrolled) .en { color: rgba(255, 255, 255, 0.85); }

.nav-contact-btn {
  border: 1px solid currentColor;
  padding: 10px 26px !important;
  transition: background 0.4s, color 0.4s, border-color 0.4s;
}
.nav-contact-btn::after { display: none; }
.site-header.header--hero:not(.is-scrolled) .nav-contact-btn:hover {
  background: #ffffff; color: var(--c-accent);
}
.site-header:not(.header--hero) .nav-contact-btn,
.site-header.is-scrolled .nav-contact-btn {
  border-color: var(--c-accent); color: var(--c-accent);
}
.site-header:not(.header--hero) .nav-contact-btn:hover,
.site-header.is-scrolled .nav-contact-btn:hover {
  background: var(--c-accent); color: #ffffff;
}

/* Hamburger */
.hamburger {
  display: none;
  width: 44px; height: 44px;
  background: none; border: none; cursor: pointer;
  position: relative; z-index: 1101;
}
.hamburger span {
  position: absolute; left: 8px;
  width: 28px; height: 1.5px; background: currentColor;
  transition: transform 0.4s, opacity 0.4s, background 0.4s;
}
.hamburger.is-open span { background: #ffffff; }
.hamburger span:nth-child(1) { top: 15px; }
.hamburger span:nth-child(2) { top: 22px; }
.hamburger span:nth-child(3) { top: 29px; }
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(7, 45, 90, 0.96);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 36px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu a { text-align: center; font-size: 18px; letter-spacing: 0.2em; color: #ffffff; }
.mobile-menu a .en {
  display: block; font-family: var(--font-en);
  font-size: 12px; color: rgba(255, 255, 255, 0.7); letter-spacing: 0.3em;
}

/* ---------- Hero (video) ---------- */
.hero {
  position: relative;
  height: 100svh; min-height: 620px;
  display: flex; align-items: center;
  overflow: hidden;
  color: #ffffff;
}
.hero-video-wrap { position: absolute; inset: 0; }
.hero-video-wrap video {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}
/* Fallback shown behind/if video fails */
.hero-fallback {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(120, 180, 240, 0.45), transparent 55%),
    linear-gradient(180deg, #0c3a6e 0%, #1565b0 55%, #0c3a6e 100%);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 30, 58, 0.55) 0%, rgba(7, 30, 58, 0.25) 45%, rgba(7, 30, 58, 0.6) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  padding: 0 clamp(20px, 6vw, 80px);
  width: 100%;
}
.hero-sub {
  font-family: var(--font-jp);
  font-size: clamp(15px, 2vw, 20px);
  letter-spacing: 0.34em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 18px;
  text-shadow: 0 2px 18px rgba(0, 20, 50, 0.5);
  opacity: 0; animation: heroUp 1.2s ease 0.9s forwards;
}
.hero-title {
  font-family: var(--font-en);
  font-size: clamp(44px, 9vw, 118px);
  line-height: 1.08;
  letter-spacing: 0.06em;
  font-weight: 400;
  text-shadow: 0 4px 30px rgba(0, 20, 50, 0.45);
}
.hero-title .line {
  display: block; overflow: hidden;
  /* prevent descenders (g, y etc.) from being clipped */
  padding-bottom: 0.18em;
  margin-bottom: -0.18em;
}
.hero-title .line span {
  display: inline-block;
  transform: translateY(130%);
  animation: heroReveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-title .line:nth-child(2) span { animation-delay: 0.25s; }
@keyframes heroReveal { to { transform: translateY(0); } }
@keyframes heroUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-lead {
  margin-top: 28px;
  font-family: var(--font-jp);
  font-size: clamp(13px, 1.5vw, 16px);
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.22em;
  text-shadow: 0 2px 14px rgba(0, 20, 50, 0.5);
  opacity: 0; animation: heroUp 1.2s ease 1.2s forwards;
}
.hero-scroll {
  position: absolute; bottom: 0; left: clamp(28px, 5vw, 64px);
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--font-en); font-size: 11px; letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.8);
  writing-mode: vertical-rl;
}
.hero-scroll::after {
  content: ""; width: 1px; height: 72px;
  background: linear-gradient(180deg, #ffffff, transparent);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: top; }
  56% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; white-space: nowrap;
  padding: 44px 0;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-line);
}
.marquee-track {
  display: inline-block;
  animation: marquee 80s linear infinite;
}
.marquee-track span {
  font-family: var(--font-en);
  font-size: clamp(34px, 5.5vw, 64px);
  letter-spacing: 0.08em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(10, 88, 168, 0.4);
  padding-right: 90px;
}
.marquee-track span em {
  font-style: normal; color: var(--c-accent);
  -webkit-text-stroke: 0;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Common section ---------- */
.section { padding: clamp(90px, 12vw, 150px) clamp(20px, 6vw, 80px); }
.section-inner { max-width: 1120px; margin: 0 auto; }

.sec-title { margin-bottom: clamp(44px, 6vw, 72px); }
.sec-title .en {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.1; letter-spacing: 0.06em;
  color: var(--c-text);
}
.sec-title .jp {
  display: inline-block; margin-top: 14px;
  font-family: var(--font-jp);
  font-size: 14px; letter-spacing: 0.3em;
  color: var(--c-accent);
  padding-left: 52px; position: relative;
}
.sec-title .jp::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 38px; height: 1px; background: var(--c-accent);
}

/* Scroll reveal */
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity 1s ease, transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* ---------- Business ---------- */
.business { background: var(--c-bg2); }
.business-lead {
  max-width: 760px;
  font-family: var(--font-jp);
  color: var(--c-muted);
  margin-bottom: clamp(44px, 6vw, 72px);
}
.business-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
}
.business-card {
  background: #ffffff;
  padding: clamp(32px, 4vw, 52px) clamp(24px, 3vw, 40px);
  position: relative;
  overflow: hidden;
  transition: background 0.5s, box-shadow 0.5s;
}
.business-card:hover {
  background: #f8fbff;
  box-shadow: 0 10px 40px rgba(10, 60, 120, 0.08);
}
.business-card .num {
  font-family: var(--font-en);
  font-size: 13px; letter-spacing: 0.2em;
  color: var(--c-accent);
}
.business-card .en {
  font-family: var(--font-en);
  font-size: 20px; letter-spacing: 0.1em;
  margin: 14px 0 6px; line-height: 1.35;
  color: var(--c-text);
}
.business-card h3 {
  font-family: var(--font-jp);
  font-size: 17px; font-weight: 500;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}
.business-card p { font-size: 13px; color: var(--c-muted); }
.business-card::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--c-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.business-card:hover::after { transform: scaleX(1); }

/* ---------- About ---------- */
.about-flex {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.about-text p {
  font-family: var(--font-jp);
  color: var(--c-muted);
  margin-bottom: 1.6em;
}
.about-text strong {
  color: var(--c-accent); font-weight: 500;
}
.about-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--c-line);
  background:
    radial-gradient(ellipse at 30% 20%, rgba(10, 88, 168, 0.08), transparent 60%),
    #f8fbff;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.about-visual .inner-frame {
  position: absolute; inset: 14px;
  border: 1px solid rgba(10, 88, 168, 0.3);
}
.about-visual .visual-text {
  font-family: var(--font-en);
  font-size: clamp(26px, 3.4vw, 42px);
  letter-spacing: 0.18em;
  text-align: center; line-height: 1.7;
  color: var(--c-text);
}
.about-visual .visual-text small {
  display: block;
  font-family: var(--font-jp);
  font-size: 12px; letter-spacing: 0.4em;
  color: var(--c-accent); margin-top: 16px;
}
.btn-line {
  display: inline-flex; align-items: center; gap: 18px;
  font-family: var(--font-en);
  font-size: 13px; letter-spacing: 0.24em;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--c-text);
  transition: color 0.4s, border-color 0.4s;
}
.btn-line .arrow { transition: transform 0.4s; }
.btn-line:hover { color: var(--c-accent); border-color: var(--c-accent); }
.btn-line:hover .arrow { transform: translateX(8px); }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  background:
    radial-gradient(ellipse at 50% 130%, rgba(120, 180, 240, 0.35), transparent 60%),
    linear-gradient(180deg, #0c3a6e, #0a58a8);
  color: #ffffff;
  text-align: center;
}
.cta .en {
  font-family: var(--font-en);
  font-size: clamp(40px, 7vw, 80px);
  letter-spacing: 0.08em; line-height: 1.1;
}
.cta .jp {
  font-family: var(--font-jp);
  color: rgba(255, 255, 255, 0.8); letter-spacing: 0.22em;
  margin: 20px 0 40px;
}
.cta .btn-fill { border-color: #ffffff; color: #ffffff; }
.cta .btn-fill::before { background: #ffffff; }
.cta .btn-fill:hover { color: var(--c-accent); }

.btn-fill {
  display: inline-block;
  font-size: 14px; letter-spacing: 0.24em;
  border: 1px solid var(--c-accent);
  color: var(--c-accent);
  padding: 18px 72px;
  position: relative; overflow: hidden;
  transition: color 0.45s;
  z-index: 1;
}
.btn-fill::before {
  content: ""; position: absolute; inset: 0;
  background: var(--c-accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: -1;
}
.btn-fill:hover { color: #ffffff; }
.btn-fill:hover::before { transform: scaleX(1); transform-origin: left; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0c2748;
  color: #ffffff;
  padding: clamp(60px, 8vw, 90px) clamp(20px, 6vw, 80px) 32px;
}
.footer-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px;
}
.footer-logo .logo-jp {
  font-family: var(--font-jp);
  font-size: 22px; font-weight: 500; letter-spacing: 0.2em;
}
.footer-logo .logo-en {
  font-family: var(--font-en);
  font-size: 12px; color: rgba(255, 255, 255, 0.65); letter-spacing: 0.3em;
  margin-top: 4px;
}
.footer-address {
  margin-top: 22px;
  font-size: 12px; color: rgba(255, 255, 255, 0.65); line-height: 2.1;
}
.footer-nav { display: flex; gap: 36px; }
.footer-nav a {
  font-size: 13px; letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.75); transition: color 0.3s;
}
.footer-nav a:hover { color: #ffffff; }
.footer-copy {
  max-width: 1120px; margin: 56px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-family: var(--font-en);
  font-size: 11px; letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.55);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

/* Page top */
#pagetop {
  position: fixed; right: 26px; bottom: 26px; z-index: 900;
  width: 48px; height: 48px;
  border: 1px solid var(--c-line);
  background: rgba(255, 255, 255, 0.9);
  color: var(--c-accent); cursor: pointer;
  font-size: 18px;
  box-shadow: 0 4px 18px rgba(10, 40, 80, 0.12);
  opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s, border-color 0.3s;
}
#pagetop.is-show { opacity: 1; visibility: visible; }
#pagetop:hover { border-color: var(--c-accent); }

/* ---------- Sub page ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(70px, 10vw, 120px)) clamp(20px, 6vw, 80px) clamp(60px, 8vw, 100px);
  background:
    radial-gradient(ellipse at 85% -10%, rgba(120, 180, 240, 0.3), transparent 55%),
    linear-gradient(180deg, #f0f5fb 0%, #ffffff 100%);
  border-bottom: 1px solid var(--c-line);
  overflow: hidden;
}
.page-hero .en {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(42px, 7vw, 84px);
  line-height: 1.1; letter-spacing: 0.06em;
  color: var(--c-text);
}
.page-hero .jp {
  display: inline-block; margin-top: 16px;
  font-family: var(--font-jp);
  font-size: 14px; letter-spacing: 0.3em; color: var(--c-accent);
  padding-left: 52px; position: relative;
}
.page-hero .jp::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 38px; height: 1px; background: var(--c-accent);
}
.breadcrumb {
  margin-top: 34px;
  font-size: 11px; letter-spacing: 0.14em; color: var(--c-muted);
}
.breadcrumb a:hover { color: var(--c-accent); }

/* Company table */
.company-table { width: 100%; border-collapse: collapse; }
.company-table th, .company-table td {
  padding: 26px 18px;
  border-bottom: 1px solid var(--c-line);
  vertical-align: top;
  text-align: left;
  font-weight: 400;
}
.company-table th {
  width: 200px;
  font-family: var(--font-jp);
  letter-spacing: 0.2em;
  color: var(--c-accent);
  white-space: nowrap;
}
.company-table td { color: var(--c-text); }
.company-table ol {
  list-style: none; counter-reset: biz;
}
.company-table ol li {
  counter-increment: biz;
  position: relative;
  padding-left: 34px;
  margin-bottom: 8px;
}
.company-table ol li::before {
  content: counter(biz, decimal) ".";
  position: absolute; left: 0;
  font-family: var(--font-en);
  color: var(--c-accent);
}

.philosophy-box {
  margin-top: clamp(70px, 9vw, 110px);
  border: 1px solid var(--c-line);
  background: #f8fbff;
  padding: clamp(40px, 6vw, 70px);
  text-align: center;
  position: relative;
}
.philosophy-box::before {
  content: ""; position: absolute; inset: 10px;
  border: 1px solid rgba(10, 88, 168, 0.25);
  pointer-events: none;
}
.philosophy-box .ph-en {
  font-family: var(--font-en);
  font-size: 13px; letter-spacing: 0.3em; color: var(--c-accent);
  margin-bottom: 18px;
}
.philosophy-box .ph-main {
  font-family: var(--font-jp);
  font-size: clamp(20px, 3vw, 30px);
  letter-spacing: 0.2em; line-height: 1.9;
}
.philosophy-box .ph-sub {
  margin-top: 18px; font-size: 13px; color: var(--c-muted);
}

.map-wrap {
  margin-top: clamp(70px, 9vw, 110px);
}
.map-wrap iframe {
  width: 100%; height: 420px; border: 1px solid var(--c-line);
  display: block;
}
.map-note { margin-top: 14px; font-size: 12px; color: var(--c-muted); }

/* Group companies */
.group-wrap { margin-top: clamp(70px, 9vw, 110px); }
.group-card {
  border: 1px solid var(--c-line);
  background: #f8fbff;
  padding: clamp(36px, 5vw, 60px);
  transition: box-shadow 0.5s;
}
.group-card:hover { box-shadow: 0 12px 44px rgba(10, 60, 120, 0.1); }
.group-head { margin-bottom: 22px; }
.group-en {
  font-family: var(--font-en);
  font-size: 12px; letter-spacing: 0.3em; color: var(--c-accent);
}
.group-name {
  font-family: var(--font-jp);
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 500; letter-spacing: 0.16em;
  margin-top: 6px;
}
.group-desc {
  font-family: var(--font-jp);
  color: var(--c-muted);
  margin-bottom: 30px;
}
.group-table { width: 100%; border-collapse: collapse; margin-bottom: 34px; }
.group-table th, .group-table td {
  padding: 16px 12px;
  border-bottom: 1px solid var(--c-line);
  text-align: left; vertical-align: top;
  font-weight: 400; font-size: 14px;
}
.group-table th {
  width: 130px; white-space: nowrap;
  font-family: var(--font-jp);
  letter-spacing: 0.18em; color: var(--c-accent);
}

/* Contact */
.contact-info {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--c-line);
  border: 1px solid var(--c-line);
  margin-bottom: clamp(60px, 8vw, 90px);
}
.contact-info .info-cell {
  background: #f8fbff;
  padding: 40px 28px;
  text-align: center;
}
.contact-info .label {
  font-family: var(--font-en);
  font-size: 12px; letter-spacing: 0.3em; color: var(--c-accent);
  margin-bottom: 10px;
}
.contact-info .value {
  font-family: var(--font-en);
  font-size: clamp(22px, 3vw, 30px); letter-spacing: 0.1em;
}
.contact-info .note { font-size: 11px; color: var(--c-muted); margin-top: 8px; }

.contact-form { max-width: 760px; margin: 0 auto; }
.form-row { margin-bottom: 34px; }
.form-row label {
  display: block;
  font-size: 13px; letter-spacing: 0.2em;
  margin-bottom: 12px;
}
.form-row label .req {
  display: inline-block;
  font-size: 10px; color: #ffffff; background: var(--c-accent);
  padding: 1px 8px; margin-left: 10px;
  letter-spacing: 0.1em; vertical-align: 2px;
}
.form-row input, .form-row textarea, .form-row select {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--c-line);
  color: var(--c-text);
  font-family: var(--font-sans);
  font-size: 15px;
  padding: 16px 18px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none; border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(10, 88, 168, 0.12);
}
.form-row textarea { min-height: 200px; resize: vertical; }
.form-submit { text-align: center; margin-top: 50px; }
.form-submit button {
  font-family: var(--font-sans); cursor: pointer;
  background: none;
}
.form-message {
  display: none;
  margin-top: 28px; text-align: center;
  color: var(--c-accent); letter-spacing: 0.14em;
}
.form-message.is-show { display: block; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .global-nav { display: none; }
  .hamburger { display: block; }
  .about-flex { grid-template-columns: 1fr; }
  .about-visual { max-width: 420px; margin: 0 auto; }
  .about-visual .visual-text {
    font-size: clamp(16px, 5.4vw, 28px);
    letter-spacing: 0.12em;
    padding: 0 32px;
  }
  .company-table th { width: 130px; padding: 20px 10px; }
  .company-table td { padding: 20px 10px; }
  .contact-info { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .footer-nav { flex-wrap: wrap; gap: 20px; }
  .hero-scroll { display: none; }
}

