/* eelグループ 会社のサイト: ヘッダーとフッター（全ページ共通）
   色: 白・黒・グレー ＋ ロゴの赤（#C60019）を少しだけ */
:root {
  --red: #c60019;
  --ink: #111;
  --sub: #555;
  --mute: #999;
  --line: #ddd;
  --box: #f2f2f2;
  --bg: #fff;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --pad: clamp(20px, 6vw, 96px);
}
.hd, .ft { font-family: "Noto Sans JP", system-ui, sans-serif; color: var(--ink); line-height: 1.9; letter-spacing: .04em; -webkit-font-smoothing: antialiased; box-sizing: border-box; }
.hd *, .ft * { box-sizing: border-box; margin: 0; padding: 0; }
.hd a, .ft a { color: inherit; text-decoration: none; }
.hd img, .ft img { display: block; max-width: 100%; }
/* LP 以外のページ: 固定ヘッダーの分だけ下げ、最初から白地にする */
body:not(.eel-lp) { padding-top: 60px; }
body:not(.eel-lp) .hd { background: rgba(255,255,255,.96); box-shadow: 0 1px 0 var(--line); }

/* ── ヘッダー ───────────────────────────── */
.hd {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px; padding: 0 var(--pad);
  transition: background .4s, box-shadow .4s;
}
.hd.is-solid { background: rgba(255,255,255,.92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.hd__logo { display: flex; align-items: center; gap: 12px; }
.hd__logo img { width: 36px; height: 36px; border-radius: 50%; transition: transform .6s var(--ease); }
.hd__name { font-family: Inter, sans-serif; font-size: 15px; font-weight: 600; letter-spacing: .06em; }
.hd__logo:hover img { transform: rotate(-12deg); }
.hd__nav { display: flex; gap: 36px; font-size: 14px; font-weight: 500; }
.hd__nav a { position: relative; padding: 4px 0; }
.hd__nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%;
  background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.hd__nav a:hover::after, .hd__nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.hd__menu { display: none; }
@media (max-width: 900px) {
  .hd__menu { display: block; width: 44px; height: 44px; border: 0; background: none; position: relative; z-index: 60; }
  .hd__menu span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: transform .4s var(--ease), top .4s; }
  .hd__menu span:first-child { top: 17px; } .hd__menu span:last-child { top: 26px; }
  .hd.is-open .hd__menu span:first-child { top: 21px; transform: rotate(45deg); }
  .hd.is-open .hd__menu span:last-child { top: 21px; transform: rotate(-45deg); }
  .hd__nav {
    position: fixed; inset: 0; background: #fff; flex-direction: column; justify-content: center; align-items: center;
    gap: 28px; font-size: 18px; opacity: 0; pointer-events: none; transition: opacity .4s;
  }
  .hd.is-open .hd__nav { opacity: 1; pointer-events: auto; }
}


/* ── フッター ──────────────────────────── */
.ft { background: #fff; padding: 72px var(--pad) 40px; display: grid; justify-items: center; gap: 28px; border-top: 1px solid var(--line); }
.ft__logo { width: 56px; height: 56px; border-radius: 50%; }
.ft__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; font-size: 13px; color: var(--sub); }
.ft__nav a:hover { color: var(--red); }
.ft__copy { font-family: Inter, "Noto Sans JP", sans-serif; font-size: 12px; color: var(--mute); }


.ft { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .hd *, .ft * { transition: none !important; } }
