/* =========================================================
   株式会社新日調査 — Renewal Mockup
   Industrial / Professional Design System
   ========================================================= */

:root {
  --bg-0: #ffffff;
  --bg-1: #f6f7f9;
  --bg-2: #ffffff;
  --bg-3: #eef0f4;
  --line: rgba(15, 23, 42, 0.08);
  --line-strong: rgba(15, 23, 42, 0.18);

  --text: #0f172a;
  --text-dim: #4b5563;
  --text-mute: #8b95a8;

  --accent: #ff6a13;        /* construction orange */
  --accent-2: #d94f00;      /* deeper hi-vis for white bg */
  --accent-cyan: #0891b2;   /* steel blue accent */

  --radius: 4px;
  --radius-lg: 12px;

  --max: 1280px;
  --gutter: clamp(20px, 4vw, 56px);

  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-en: "Barlow Condensed", "Oswald", "Bebas Neue", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700;900&family=Barlow+Condensed:wght@500;600;700;800&family=JetBrains+Mono:wght@400;600&display=swap");

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-jp);
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Background grid texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ==================== HEADER ==================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .35s ease, padding .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px 0;
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}
.site-header:not(.scrolled) {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
}
.brand {
  display: flex; align-items: center; gap: 14px;
  font-weight: 700; letter-spacing: .04em;
}
.brand-mark {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: transparent;
  position: relative;
  flex-shrink: 0;
}
.brand-mark img {
  width: 100%; height: 100%;
  object-fit: contain;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text small {
  font-family: var(--font-en);
  font-size: 11px;
  color: var(--accent-2);
  letter-spacing: .25em;
  margin-bottom: 4px;
}
.brand-text strong { font-size: 17px; letter-spacing: .08em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--text-dim);
}
.nav a::before {
  content: ""; position: absolute;
  left: 18px; right: 18px; bottom: 4px;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.nav a:hover, .nav a.active { color: var(--text); }
.nav a:hover::before, .nav a.active::before { transform: scaleX(1); }
.nav a small {
  display: block;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--accent-2);
  margin-bottom: 2px;
  font-weight: 600;
}
.nav-cta {
  margin-left: 12px;
  padding: 12px 22px;
  background: var(--accent);
  color: white !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
  transition: background .2s ease;
}
.nav-cta::before { display: none; }
.nav-cta:hover { background: var(--accent-2); }

.menu-toggle { display: none; }

/* ==================== HERO ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: flex-end;
  padding: 0 var(--gutter) 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(255, 106, 19, 0.10), transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(8, 145, 178, 0.06), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f3f5f9 100%);
  z-index: 0;
}
.hero-bg::after {
  content: "";
  position: absolute;
  top: -6%; right: -6%; bottom: -6%; left: -6%;
  background-image: url("../images/top.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.85;
  filter: saturate(1.05) contrast(1.05);
  transform-origin: center center;
  animation: heroKenBurns 24s ease-in-out infinite alternate;
  will-change: transform;
}
/* スマホでは重いアニメーションを止めて画像表示を確実に */
@media (max-width: 768px) {
  .hero-bg::after {
    top: 0; right: 0; bottom: 0; left: 0;
    animation: none;
    will-change: auto;
  }
}
@keyframes heroKenBurns {
  0%   { transform: scale(1.00) translate(0%, 0%); }
  50%  { transform: scale(1.08) translate(-1.5%, 1%); }
  100% { transform: scale(1.12) translate(1.5%, -1%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg::after { animation: none; }
}
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.55) 35%, rgba(255,255,255,0) 70%),
    linear-gradient(180deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.65) 75%, var(--bg-0) 100%);
  z-index: 1;
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: .3em;
  color: var(--accent-2);
  margin-bottom: 28px;
  font-weight: 600;
}
.hero-eyebrow::before {
  content: ""; width: 40px; height: 1px; background: var(--accent-2);
}
.hero h1 {
  font-size: clamp(22px, 3vw, 38px);
  line-height: 1.4;
  letter-spacing: .02em;
  font-weight: 700;
  margin-bottom: 32px;
  font-family: var(--font-jp);
}
.hero h1 .en {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(34px, 5.5vw, 78px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: .03em;
  background: linear-gradient(180deg, #0f172a 0%, #64748b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 16px;
}
.hero h1 .accent { color: var(--accent); }
.hero p.lead {
  max-width: 620px;
  color: var(--text-dim);
  font-size: clamp(15px, 1.4vw, 17px);
  margin-bottom: 40px;
  line-height: 2;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 32px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  transition: all .25s ease;
  position: relative;
  font-family: var(--font-jp);
}
.btn-primary {
  background: var(--accent);
  color: white;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
  padding: 18px 38px;
}
.btn-primary:hover { background: var(--accent-2); transform: translateX(4px); }
.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--text);
  padding: 17px 30px;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-2); }
.btn .arrow { font-family: var(--font-en); font-size: 18px; }

.hero-scroll {
  position: absolute;
  bottom: 32px; right: var(--gutter);
  z-index: 3;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: .35em;
  color: var(--text-mute);
  writing-mode: vertical-rl;
  display: flex; align-items: center; gap: 12px;
}
.hero-scroll::after {
  content: ""; width: 1px; height: 80px;
  background: linear-gradient(180deg, var(--text-mute) 0%, transparent 100%);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.6); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
}

.hero-stats {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.92));
  border-top: 1px solid var(--line);
  z-index: 2;
}
.hero-stats-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px var(--gutter);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat {
  border-left: 2px solid var(--accent);
  padding-left: 20px;
}
.stat .num {
  font-family: var(--font-en);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  letter-spacing: .01em;
}
.stat .num small { font-size: 0.55em; margin-left: 4px; color: var(--accent-2); }
.stat .label {
  font-size: 12px;
  letter-spacing: .15em;
  color: var(--text-mute);
  margin-top: 6px;
}

/* ==================== SECTION HELPERS ==================== */
section { position: relative; z-index: 2; }
.section { padding: clamp(80px, 12vw, 160px) var(--gutter); }
.container { max-width: var(--max); margin: 0 auto; }

.section-head { margin-bottom: 72px; }
.section-tag {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 18px;
}
.section-tag::before {
  content: ""; width: 28px; height: 1px; background: var(--accent);
}
.section-title {
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.15;
  letter-spacing: -.01em;
  font-weight: 900;
  margin-bottom: 20px;
}
.section-title .en {
  display: block;
  font-family: var(--font-en);
  font-size: 0.5em;
  font-weight: 600;
  color: var(--text-mute);
  letter-spacing: .15em;
  margin-bottom: 8px;
}
.section-desc {
  max-width: 640px;
  color: var(--text-dim);
  font-size: 16px;
  line-height: 2;
}

/* ==================== ABOUT BLOCK ==================== */
.about-block {
  background: linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 100%);
  border-top: 1px solid var(--line);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}
.about-image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: var(--radius);
}
.about-image img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.9) saturate(1.1);
  transition: transform .8s ease;
}
.about-image:hover img { transform: scale(1.05); }
.about-image::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(255, 106, 19, 0.25));
  z-index: 2; pointer-events: none;
}
.about-image-tag {
  position: absolute;
  top: 24px; left: 24px;
  background: var(--accent);
  color: white;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: .25em;
  padding: 8px 14px;
  z-index: 3;
  font-weight: 700;
}

.about-features {
  margin-top: 32px;
  display: grid; gap: 12px;
}
.about-feature {
  display: flex; gap: 18px;
  padding: 20px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  transition: all .25s ease;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.about-feature:hover { border-left-color: var(--accent-2); transform: translateX(4px); }
.about-feature .icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--bg-3);
  color: var(--accent);
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 700;
}
.about-feature h4 { font-size: 16px; margin-bottom: 4px; letter-spacing: .04em; }
.about-feature p { font-size: 13px; color: var(--text-dim); line-height: 1.7; }

/* ==================== SERVICES ==================== */
.services {
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.services::before {
  content: "BUSINESS";
  position: absolute;
  top: -40px; right: -20px;
  font-family: var(--font-en);
  font-size: clamp(180px, 22vw, 320px);
  font-weight: 800;
  color: rgba(15, 23, 42, 0.04);
  line-height: 1;
  letter-spacing: -.02em;
  pointer-events: none;
}
.services-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-card {
  background: #ffffff;
  padding: 32px 28px;
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: background .3s ease;
  min-height: 280px;
}
.service-card::before {
  content: ""; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s ease;
}
.service-card:hover { background: #fafbfc; }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover .service-img { transform: scale(1.08); filter: none; }

.service-img-wrap {
  position: relative;
  width: 100%; aspect-ratio: 16/10;
  overflow: hidden;
  margin-bottom: 22px;
  background: var(--bg-3);
}
.service-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease, filter .4s ease;
  filter: brightness(.85);
}
.service-num {
  position: absolute;
  top: 8px; left: 8px;
  z-index: 2;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: .2em;
  color: #fff;
  background: rgba(15, 23, 42, 0.78);
  padding: 4px 10px;
  font-weight: 700;
}
.service-card h3 {
  font-size: 19px;
  letter-spacing: .04em;
  margin-bottom: 6px;
  font-weight: 700;
}
.service-card .en {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: .25em;
  color: var(--text-mute);
  margin-bottom: 14px;
}
.service-card p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.8;
  flex: 1;
}

/* ==================== STRENGTHS ==================== */
.strengths {
  background:
    linear-gradient(135deg, rgba(255, 106, 19, 0.04), transparent 60%),
    var(--bg-1);
}
.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.strength-card {
  padding: 40px 32px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  position: relative;
  transition: all .3s ease;
}
.strength-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.strength-num {
  font-family: var(--font-en);
  font-size: 64px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -.02em;
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}
.strength-num::after {
  content: ""; position: absolute;
  bottom: -8px; left: 0;
  width: 40px; height: 2px;
  background: var(--accent);
}
.strength-card h3 {
  font-size: 22px;
  letter-spacing: .04em;
  margin-bottom: 14px;
  font-weight: 700;
}
.strength-card p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.9;
}

/* ==================== NEWS ==================== */
.news {
  background: var(--bg-1);
  border-top: 1px solid var(--line);
}
.news-list { border-top: 1px solid var(--line); }
.news-item {
  display: grid;
  grid-template-columns: 160px 120px 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left .25s ease;
}
.news-item:hover { padding-left: 12px; }
.news-item .date {
  font-family: var(--font-en);
  font-size: 15px;
  letter-spacing: .1em;
  color: var(--text-dim);
}
.news-item .tag {
  font-size: 11px;
  letter-spacing: .2em;
  padding: 5px 12px;
  text-align: center;
  font-weight: 700;
  background: var(--bg-1);
  color: var(--accent-2);
  border: 1px solid var(--line-strong);
}
.news-item .tag.info { color: var(--accent-cyan); border-color: rgba(8,145,178,.3); }
.news-item h4 { font-size: 15px; font-weight: 500; letter-spacing: .03em; }
.news-item .arrow {
  font-family: var(--font-en); color: var(--text-mute); font-size: 16px;
  transition: color .2s ease;
}
.news-item:hover .arrow { color: var(--accent); }

/* ==================== CTA ==================== */
.cta {
  background:
    linear-gradient(135deg, rgba(255, 106, 19, 0.08), transparent 55%),
    linear-gradient(225deg, rgba(8, 145, 178, 0.05), transparent 55%),
    var(--bg-1);
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "CONTACT";
  position: absolute;
  bottom: -40px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-en);
  font-size: clamp(120px, 18vw, 260px);
  font-weight: 800;
  color: rgba(15, 23, 42, 0.04);
  line-height: 1; letter-spacing: .02em;
  white-space: nowrap;
}
.cta-inner { text-align: center; position: relative; z-index: 2; }
.cta h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900; line-height: 1.2;
  margin-bottom: 24px;
}
.cta p { color: var(--text-dim); margin-bottom: 40px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ==================== FOOTER ==================== */
.site-footer {
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  padding: 80px var(--gutter) 32px;
  position: relative;
  z-index: 2;
}
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.footer-brand { display: flex; flex-direction: column; gap: 20px; }
.footer-brand .brand { font-size: 18px; }
.footer-info { font-size: 13px; color: var(--text-dim); line-height: 2; }
.footer-info strong { color: var(--text); display: block; margin-bottom: 4px; font-size: 14px; }

.footer-col h5 {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--accent-2);
  margin-bottom: 20px;
  font-weight: 700;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 13px;
  color: var(--text-dim);
  display: inline-flex; align-items: center; gap: 8px;
}
.footer-col a:hover { color: var(--accent-2); }
.footer-col a::before { content: "→"; font-family: var(--font-en); color: var(--accent); }

.footer-bottom {
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px;
  color: var(--text-mute);
  letter-spacing: .08em;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom .en { font-family: var(--font-en); letter-spacing: .2em; }

/* ==================== PAGE HEADER (subpages) ==================== */
.page-hero {
  padding: 200px var(--gutter) 100px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 30% 60%, rgba(255, 106, 19, 0.08), transparent 60%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%);
}
.page-hero-inner { max-width: var(--max); margin: 0 auto; }
.page-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--accent-2);
  margin-bottom: 24px;
  font-weight: 600;
}
.page-hero-eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--accent-2); }
.page-hero h1 {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.01em;
  margin-bottom: 16px;
}
.page-hero h1 .en {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(56px, 9vw, 120px);
  color: var(--accent);
  letter-spacing: .02em;
  font-weight: 700;
  margin-bottom: 8px;
}
.breadcrumb {
  display: flex; gap: 12px;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--text-mute);
}
.breadcrumb a:hover { color: var(--accent-2); }
.breadcrumb .sep { color: var(--accent); }

/* ==================== ABOUT PAGE ==================== */
.greeting {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}
.greeting-image { aspect-ratio: 3/4; position: relative; overflow: hidden; }
.greeting-image img { width: 100%; height: 100%; object-fit: cover; }
.greeting-image::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(255, 106, 19, 0.2));
}
.greeting-body h3 { font-size: 32px; line-height: 1.4; margin-bottom: 32px; font-weight: 700; letter-spacing: .02em; }
.greeting-body h3 .accent { color: var(--accent); }
.greeting-body p { color: var(--text-dim); margin-bottom: 20px; line-height: 2.2; font-size: 15px; }
.greeting-sign {
  margin-top: 32px;
  font-family: var(--font-en);
  letter-spacing: .15em;
  color: var(--text-mute);
  font-size: 13px;
}
.greeting-sign strong { display: block; color: var(--text); font-size: 22px; font-family: var(--font-jp); margin-top: 4px; letter-spacing: .08em; }

.company-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--line-strong);
}
.company-table tr { border-bottom: 1px solid var(--line); }
.company-table th, .company-table td {
  padding: 26px 24px;
  text-align: left;
  font-size: 14px;
  vertical-align: top;
}
.company-table th {
  width: 220px;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--accent-2);
  font-family: var(--font-jp);
  background: var(--bg-1);
}
.company-table td { color: var(--text-dim); line-height: 2; }

.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: ""; position: absolute;
  top: 8px; bottom: 8px; left: 8px;
  width: 1px; background: var(--line-strong);
}
.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-item::before {
  content: ""; position: absolute;
  left: -28px; top: 8px;
  width: 9px; height: 9px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--bg-0);
}
.timeline-item .year {
  font-family: var(--font-en);
  font-size: 22px;
  color: var(--accent-2);
  font-weight: 700;
  letter-spacing: .05em;
  margin-bottom: 4px;
}
.timeline-item h4 { font-size: 16px; margin-bottom: 8px; }
.timeline-item p { color: var(--text-dim); font-size: 14px; }

/* ==================== RECRUIT PAGE ==================== */
.recruit-message {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.recruit-message h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.4;
  margin-bottom: 32px;
  font-weight: 900;
}
.recruit-message h2 .accent { color: var(--accent); }
.recruit-message p { color: var(--text-dim); line-height: 2.2; font-size: 16px; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  padding: 40px 28px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.value-card .icon {
  font-family: var(--font-en);
  font-size: 56px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1;
  margin-bottom: 20px;
}
.value-card h4 { font-size: 18px; margin-bottom: 12px; letter-spacing: .04em; }
.value-card p { color: var(--text-dim); font-size: 13px; line-height: 1.9; }

.jobs-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--line-strong);
}
.jobs-table tr { border-bottom: 1px solid var(--line); }
.jobs-table th, .jobs-table td { padding: 24px; text-align: left; font-size: 14px; vertical-align: top; }
.jobs-table th { width: 200px; color: var(--accent-2); font-weight: 700; letter-spacing: .1em; }
.jobs-table td { color: var(--text-dim); line-height: 2; }

.voice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.voice-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  padding: 36px;
  display: flex;
  gap: 28px;
  align-items: flex-start;
}
.voice-avatar {
  flex-shrink: 0;
  width: 96px; height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid; place-items: center;
  font-family: var(--font-en);
  font-size: 36px;
  font-weight: 700;
  color: white;
}
.voice-body .role {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: .25em;
  color: var(--accent-2);
  margin-bottom: 8px;
  font-weight: 700;
}
.voice-body h4 { font-size: 17px; margin-bottom: 16px; font-weight: 700; }
.voice-body p { color: var(--text-dim); font-size: 13px; line-height: 1.9; }

/* ==================== CONTACT PAGE ==================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-card {
  padding: 28px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.contact-card .label {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--accent-2);
  font-weight: 700;
  margin-bottom: 12px;
}
.contact-card .value {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .05em;
  margin-bottom: 6px;
}
.contact-card .tel {
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--text);
}
.contact-card .note { color: var(--text-mute); font-size: 12px; }

.form { display: flex; flex-direction: column; gap: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label {
  font-size: 13px;
  letter-spacing: .1em;
  font-weight: 700;
  display: flex; gap: 10px; align-items: center;
}
.form-field label .req {
  font-size: 10px;
  background: var(--accent);
  color: white;
  padding: 2px 8px;
  letter-spacing: .15em;
  font-weight: 700;
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: inherit;
  font-size: 14px;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid var(--line-strong);
  color: var(--text);
  border-radius: 0;
  transition: all .2s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 106, 19, 0.12);
}
.form-field textarea { resize: vertical; min-height: 160px; }
.form-check { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--text-dim); }
.form-actions { display: flex; justify-content: flex-end; gap: 16px; margin-top: 16px; }

.map-wrap {
  margin-top: 80px;
  height: 420px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.map-wrap::before {
  /* iframe埋め込み時は装飾グリッド非表示 */
  content: none;
}
.map-pin {
  position: relative; z-index: 2;
  text-align: center;
}
.map-pin .dot {
  width: 24px; height: 24px;
  background: var(--accent);
  border-radius: 50%;
  margin: 0 auto 16px;
  position: relative;
}
.map-pin .dot::before {
  content: ""; position: absolute; inset: -8px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  animation: ping 1.6s ease-in-out infinite;
}
@keyframes ping {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}
.map-pin h4 { font-size: 18px; margin-bottom: 8px; }
.map-pin p { color: var(--text-dim); font-size: 13px; }

/* ==================== ANIMATIONS ==================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 960px) {
  .nav { display: none; }
  .menu-toggle {
    display: grid; place-items: center;
    width: 44px; height: 44px;
    border: 1px solid var(--line-strong);
    color: var(--text);
  }
  .menu-toggle.open + .nav,
  .nav.open {
    display: flex; flex-direction: column;
    position: absolute;
    top: 100%; right: var(--gutter); left: var(--gutter);
    padding: 20px;
    background: var(--bg-1);
    border: 1px solid var(--line);
    align-items: stretch;
  }
  .nav.open a { padding: 14px; }
  .hero-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .greeting, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .strength-grid, .values-grid { grid-template-columns: 1fr; }
  .voice-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .news-item { grid-template-columns: 1fr; gap: 8px; }
  .form-row { grid-template-columns: 1fr; }
  .company-table th, .jobs-table th { width: 110px; }
}
@media (max-width: 600px) {
  .hero-stats-inner { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-top { grid-template-columns: 1fr; }
  .voice-card { flex-direction: column; gap: 16px; }
}
