/* ============================================================
   ANC RECRUIT — BRAND EDITION
   Concept : ロゴ準拠「白 × クリムゾンレッド」スポーティ&クリーン
   Palette : ホワイト / クリムゾン(ロゴ赤グラデ) / チャコール
   Type    : Archivo Black + Noto Sans JP + M PLUS Rounded 1c + IBM Plex Mono
   ============================================================ */

:root {
  /* ロゴ由来カラー */
  --red-bright: #e63c2f;
  --red: #c41e17;
  --red-dark: #8a100d;
  --red-deep: #570807;
  --grad-red: linear-gradient(135deg, var(--red-bright) 0%, var(--red-dark) 100%);

  --ink: #1b1d22;          /* ロゴ "co.,ltd." のチャコール */
  --ink-2: #131519;
  --bg: #ffffff;
  --bg-soft: #f5f5f6;
  --gray: #6b7078;         /* 本文ミュート */
  --gray-dark: #a0a4ab;    /* さらに薄いラベル */
  --black: #1b1d22;
  --line: rgba(27, 29, 34, 0.10);
  --line-strong: rgba(27, 29, 34, 0.22);

  --font-display: "Archivo Black", "Noto Sans JP", sans-serif;
  --font-jp: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-round: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --gutter: 24px;
  --max: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
::selection { background: var(--red); color: #fff; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-jp);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  letter-spacing: 0.03em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 微細ノイズ（紙質感） */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99;
  opacity: 0.4;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1  0 0 0 0 0.1  0 0 0 0 0.12  0 0 0 0.02 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ============ COMMON ============ */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.18em;
}

.tag-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
}

/* 赤グラデ文字 */
.red {
  background: var(--grad-red);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* アウトライン文字 */
.stroke {
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
  background: none;
}

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
}

.brand-img {
  height: 40px;
  width: auto;
}

.brand-word {
  display: none;
  align-items: center;
  gap: 9px;
  font-family: var(--font-round);
  font-weight: 800;
}
.brand.no-img .brand-word { display: inline-flex; }

/* ロゴマーク（実画像未配置時のSVG再現。赤い円＋上昇する人型＋右上の球） */
.brand-symbol {
  width: 30px; height: 30px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><defs><linearGradient id='g' x1='0.1' y1='0' x2='0.9' y2='1'><stop offset='0' stop-color='%23e63c2f'/><stop offset='1' stop-color='%237a0d0a'/></linearGradient></defs><path d='M80 32 A40 40 0 1 0 83 58' fill='none' stroke='url(%23g)' stroke-width='7' stroke-linecap='round'/><circle cx='72' cy='29' r='9.5' fill='url(%23g)'/><path d='M47 83 C42 60 45 45 69 33 C52 50 53 67 55 83 Z' fill='url(%23g)'/><path d='M40 83 C38 66 41 55 53 45 C46 58 47 71 48 83 Z' fill='url(%23g)' opacity='0.82'/></svg>") center/contain no-repeat;
}
.brand-word .a {
  font-size: 24px;
  letter-spacing: 0.02em;
  background: var(--grad-red);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-word .c {
  font-size: 17px;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--gray);
  text-transform: uppercase;
  border-left: 1px solid var(--line-strong);
  padding-left: 12px;
}

.nav-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  transition: color .2s;
}

.nav-list a .n {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  color: var(--red);
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--grad-red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s cubic-bezier(.7,0,.2,1);
}

.nav-list a:hover::after,
.nav-list a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-list a.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad-red);
  color: #fff !important;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.1em;
  line-height: 1;
  padding: 13px 26px;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(196, 30, 23, 0.32);
}
.nav-cta::after { display: none !important; }
.nav-cta .arw {
  font-size: 15px;
  line-height: 1;
  transition: transform .2s;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(196, 30, 23, 0.44);
}
.nav-cta:hover .arw { transform: translateX(3px); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  width: 42px; height: 42px;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: var(--red);
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { bottom: 14px; }

/* ============ HERO ============ */
.hero {
  min-height: 100svh;
  padding: 150px 0 0;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.62) 0%, rgba(255,255,255,0.55) 55%, rgba(255,255,255,0.75) 100%),
    radial-gradient(ellipse 55% 45% at 85% 15%, rgba(230, 60, 47, 0.10), transparent 60%),
    url("../images/hero-bg.jpg") center/cover no-repeat,
    var(--bg);
}

/* 背景の巨大アウトライン文字 */
.hero-bg-text {
  position: absolute;
  top: 44%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(120px, 24vw, 340px);
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(27, 29, 34, 0.05);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* ヒーローのロゴマーク（実物） */
.hero-mark {
  position: absolute;
  right: max(24px, 3vw);
  top: 96px;
  width: clamp(220px, 28vw, 420px);
  height: auto;
  z-index: 0;
  opacity: 0.92;
  animation: markIn 1.4s cubic-bezier(.16,.84,.24,1) both;
  pointer-events: none;
  user-select: none;
}

@keyframes markIn {
  from { transform: scale(0.86) translateY(12px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 0.92; }
}

.hero .container { z-index: 1; }

.hero-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.hero-meta .line { flex: 1; height: 1px; background: var(--line-strong); min-width: 40px; }
.hero-meta .loc {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  color: var(--gray);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(52px, 10.5vw, 160px);
  line-height: 1.0;
  letter-spacing: 0.005em;
  margin: 0;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--ink);
}

.hero-headline .row {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}
.hero-headline .row > span {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 0.9s cubic-bezier(.16,.84,.24,1) forwards;
}
.hero-headline .row:nth-child(1) > span { animation-delay: .15s; }
.hero-headline .row:nth-child(2) > span { animation-delay: .28s; }
.hero-headline .row:nth-child(3) > span { animation-delay: .41s; }
.hero-headline .jp-line { font-size: 0.88em; }

@keyframes rise { to { transform: translateY(0); } }

.hero-sub {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  margin-top: 44px;
}

.hero-lead {
  max-width: 520px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray);
  line-height: 2.1;
  margin: 0;
  opacity: 0;
  animation: fadeUp .8s ease .7s forwards;
}

.hero-lead strong { color: var(--ink); font-weight: 900; }

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp .8s ease .9s forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-side {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--gray-dark);
  z-index: 1;
}

/* マーキー */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  white-space: nowrap;
  padding: 14px 0;
  margin-top: 72px;
  background: var(--bg-soft);
}

.marquee-track {
  display: inline-block;
  animation: marquee 22s linear infinite;
}

.marquee-track span {
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: 0.12em;
  margin-right: 56px;
  text-transform: uppercase;
  color: var(--ink);
}

.marquee-track .r {
  background: var(--grad-red);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.marquee-track .o {
  color: transparent;
  -webkit-text-stroke: 1px rgba(27, 29, 34, 0.35);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  cursor: pointer;
  border: 0;
  border-radius: 999px;
  position: relative;
  transition: transform .2s, background .2s, color .2s, box-shadow .2s;
}

.btn .arrow {
  width: 20px; height: 2px;
  background: currentColor;
  position: relative;
  transition: width .25s;
}
.btn .arrow::after {
  content: "";
  position: absolute;
  right: 0; top: -4px;
  width: 9px; height: 9px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}
.btn:hover .arrow { width: 34px; }

.btn-red {
  background: var(--grad-red);
  color: #fff;
  box-shadow: 0 6px 20px rgba(196, 30, 23, 0.32);
}
.btn-red:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(196, 30, 23, 0.42);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}
.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
  box-shadow: none;
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(27, 29, 34, 0.35);
}

.btn-white {
  background: #fff;
  color: var(--red-dark);
}
.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
}

/* ============ SECTION ============ */
.section {
  padding: 130px 0;
  position: relative;
}

.bg-soft { background: var(--bg-soft); }

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 72px;
  flex-wrap: wrap;
}

.section-header .left { max-width: 760px; }

.section-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.section-num::before {
  content: "";
  width: 34px; height: 2px;
  background: var(--grad-red);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 84px);
  line-height: 1.02;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-weight: 400;
  color: var(--ink);
}

.section-title .jp {
  display: block;
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: clamp(20px, 2.8vw, 34px);
  letter-spacing: 0.08em;
  margin-top: 14px;
  text-transform: none;
}

.section-lead {
  font-size: 14px;
  color: var(--gray);
  max-width: 340px;
  line-height: 2.1;
  margin: 0;
  padding-bottom: 8px;
}

/* ============ VALUE CARDS ============ */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 48px 36px 44px;
  position: relative;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.16,.84,.24,1), box-shadow .35s;
}

.value-card::before {
  content: attr(data-index);
  position: absolute;
  top: -12px;
  right: 14px;
  font-family: var(--font-display);
  font-size: 96px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(27, 29, 34, 0.10);
  line-height: 1;
  transition: -webkit-text-stroke .3s;
}

.value-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--grad-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s cubic-bezier(.7,0,.2,1);
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(27, 29, 34, 0.12);
}
.value-card:hover::before { -webkit-text-stroke: 1px var(--red-bright); }
.value-card:hover::after { transform: scaleX(1); }

.value-card .en {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.value-card h3 {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: 24px;
  letter-spacing: 0.06em;
  margin: 0 0 18px;
  line-height: 1.5;
  color: var(--ink);
}

.value-card p {
  font-size: 13.5px;
  color: var(--gray);
  line-height: 2.1;
  margin: 0;
}

/* ============ 事業内容カード ホバーアニメーション ============ */
.biz-card { position: relative; overflow: hidden; }
.biz-anim {
  position: absolute;
  top: 18px; right: 18px;
  width: 88px; height: 88px;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity .3s ease, transform .4s cubic-bezier(.16,.84,.24,1);
  pointer-events: none;
  z-index: 2;
}
.biz-anim svg { width: 100%; height: 100%; overflow: visible; }
.biz-card:hover .biz-anim {
  opacity: 1;
  transform: scale(1);
}
/* hover時は data-index の大きい数字を消してアニメを見せる */
.biz-card:hover::before {
  opacity: 0;
  transition: opacity .3s ease;
}
.biz-card::before { transition: opacity .3s ease; }

/* ---- 01 電気（照明が灯る・温白色） ---- */
.biz-card[data-anim="electric"] .biz-anim { color: #ffd28a; }
.biz-card[data-anim="electric"] .halo {
  transform-origin: center; transform-box: fill-box;
  opacity: 0; transform: scale(0.15);
  filter: blur(6px);
}
.biz-card[data-anim="electric"] .bulb {
  transform-origin: center; transform-box: fill-box;
  opacity: 0.15;
}
.biz-card[data-anim="electric"] .ring {
  transition: stroke .3s ease;
}
.biz-card:hover[data-anim="electric"] .l1 .halo { animation: light-on 2.4s ease-in-out infinite; }
.biz-card:hover[data-anim="electric"] .l2 .halo { animation: light-on 2.4s ease-in-out infinite; animation-delay: .35s; }
.biz-card:hover[data-anim="electric"] .l3 .halo { animation: light-on 2.4s ease-in-out infinite; animation-delay: .70s; }
.biz-card:hover[data-anim="electric"] .l1 .bulb { animation: bulb-on 2.4s ease-in-out infinite; }
.biz-card:hover[data-anim="electric"] .l2 .bulb { animation: bulb-on 2.4s ease-in-out infinite; animation-delay: .35s; }
.biz-card:hover[data-anim="electric"] .l3 .bulb { animation: bulb-on 2.4s ease-in-out infinite; animation-delay: .70s; }
@keyframes light-on {
  0% { opacity: 0; transform: scale(0.15); }
  20% { opacity: 0.55; transform: scale(0.9); }
  50% { opacity: 0.75; transform: scale(1.05); }
  75% { opacity: 0.55; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.15); }
}
@keyframes bulb-on {
  0% { opacity: 0.15; }
  20%, 75% { opacity: 1; }
  100% { opacity: 0.15; }
}

/* ---- 02 ネットワーク（青・スター状に広がる） ---- */
.biz-card[data-anim="network"] .biz-anim { color: #2e7dff; }
.biz-card[data-anim="network"] .net line {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
}
.biz-card[data-anim="network"] .dots circle { transform-origin: center; transform-box: fill-box; opacity: 0; }
.biz-card[data-anim="network"] .hub { transform-origin: center; transform-box: fill-box; }
.biz-card:hover[data-anim="network"] .hub { animation: net-pulse 1.8s ease-in-out infinite; }
.biz-card:hover[data-anim="network"] .net line { animation: net-draw 1.8s ease-out infinite; }
.biz-card:hover[data-anim="network"] .dots circle { animation: net-dot 1.8s ease-out infinite; animation-delay: .7s; }
@keyframes net-draw {
  0% { stroke-dashoffset: 60; }
  50%, 100% { stroke-dashoffset: 0; }
}
@keyframes net-dot {
  0%, 30% { opacity: 0; transform: scale(0.4); }
  60% { opacity: 1; transform: scale(1.2); }
  100% { opacity: 0.7; transform: scale(1); }
}
@keyframes net-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.4); }
}

/* ---- 03 携帯電話（電波が同心円で広がる・青紫） ---- */
.biz-card[data-anim="mobile"] .biz-anim { color: #6d63ff; filter: drop-shadow(0 0 6px rgba(109, 99, 255, 0.5)); }
.biz-card[data-anim="mobile"] .waves circle {
  transform-origin: 60px 80px;
  transform-box: fill-box;
  opacity: 0;
}
.biz-card:hover[data-anim="mobile"] .w1 { animation: wave 1.8s ease-out infinite; }
.biz-card:hover[data-anim="mobile"] .w2 { animation: wave 1.8s ease-out infinite; animation-delay: .3s; }
.biz-card:hover[data-anim="mobile"] .w3 { animation: wave 1.8s ease-out infinite; animation-delay: .6s; }
@keyframes wave {
  0% { transform: scale(0.4); opacity: 0; }
  40% { opacity: 0.9; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ---- 04 光ファイバー（黄色・まっすぐ伸びて光る） ---- */
.biz-card[data-anim="fiber"] .biz-anim { color: #ffd21e; filter: drop-shadow(0 0 10px rgba(255, 210, 30, 0.85)); }
.biz-card[data-anim="fiber"] .light {
  stroke-dasharray: 110;
  stroke-dashoffset: 110;
}
.biz-card[data-anim="fiber"] .glow {
  opacity: 0; transform-origin: center; transform-box: fill-box;
}
.biz-card:hover[data-anim="fiber"] .light {
  animation: fiber-extend 1.8s ease-out infinite;
}
.biz-card:hover[data-anim="fiber"] .glow {
  animation: fiber-glow 1.8s ease-out infinite;
}
@keyframes fiber-extend {
  0% { stroke-dashoffset: 110; opacity: 0.4; }
  50% { stroke-dashoffset: 0; opacity: 1; }
  80% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0.2; }
}
@keyframes fiber-glow {
  0%, 45% { opacity: 0; transform: scale(0.4); }
  60% { opacity: 1; transform: scale(1.8); }
  80% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1); }
}

/* ---- 05 脱炭素（葉っぱが揺れる・エコ粒子） ---- */
.biz-card[data-anim="eco"] .biz-anim { color: #22c55e; }
.biz-card[data-anim="eco"] .leaf { transform-origin: 50% 60%; transform-box: fill-box; }
.biz-card:hover[data-anim="eco"] .leaf { animation: leaf-sway 2.4s ease-in-out infinite; }
@keyframes leaf-sway {
  0%, 100% { transform: rotate(-6deg); }
  50% { transform: rotate(6deg); }
}
.biz-card:hover[data-anim="eco"] .dot1 { animation: eco-float 2.2s ease-in-out infinite; }
.biz-card:hover[data-anim="eco"] .dot2 { animation: eco-float 2.5s ease-in-out infinite; animation-delay: .5s; }
.biz-card:hover[data-anim="eco"] .dot3 { animation: eco-float 2.0s ease-in-out infinite; animation-delay: 1s; }
@keyframes eco-float {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(-14px); opacity: 1; }
}

/* ============ JOB ROWS ============ */
.job-list {
  border-top: 1px solid var(--line-strong);
}

.job-row {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 32px;
  padding: 44px 8px;
  border-bottom: 1px solid var(--line-strong);
  align-items: center;
  position: relative;
  transition: background .25s, padding .25s;
}

.job-row::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--grad-red);
  transform: scaleY(0);
  transition: transform .3s;
}

.job-row:hover {
  background: var(--bg-soft);
  padding-left: 24px;
}
.job-row:hover::before { transform: scaleY(1); }

.job-row .no {
  font-family: var(--font-display);
  font-size: 44px;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--red);
  line-height: 1;
  transition: all .25s;
}

.job-row:hover .no {
  color: var(--red);
  -webkit-text-stroke: 0px;
}

.job-row h3 {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: 0.05em;
  margin: 0 0 6px;
  line-height: 1.3;
  color: var(--ink);
}

.job-row .en-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--gray-dark);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.job-row .desc {
  font-size: 13.5px;
  color: var(--gray);
  max-width: 560px;
  margin: 0 0 18px;
  line-height: 2;
}

.job-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.job-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  padding: 5px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--gray);
  background: #fff;
}

.job-tag.hot {
  border-color: transparent;
  background: var(--grad-red);
  color: #fff;
}

/* 職種詳細（jobs.html） */
.job-detail-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  margin-bottom: 56px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(27, 29, 34, 0.06);
}

.job-detail-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: var(--grad-red);
}

.job-detail-head {
  padding: 52px 48px 36px;
  display: flex;
  align-items: baseline;
  gap: 28px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
}

.job-detail-head .no {
  font-family: var(--font-display);
  font-size: 64px;
  background: var(--grad-red);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.job-detail-head h3 {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: 0.05em;
  margin: 0;
  color: var(--ink);
}

.job-detail-head .en-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gray-dark);
  text-transform: uppercase;
}

.job-detail-body {
  padding: 40px 48px 52px;
}

.job-detail-body .intro {
  font-size: 15px;
  color: var(--ink);
  line-height: 2.2;
  max-width: 760px;
  margin: 0 0 40px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.spec-table th,
.spec-table td {
  padding: 20px 16px 20px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 2;
}

.spec-table th {
  width: 190px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--red);
  font-weight: 500;
  text-transform: uppercase;
  padding-top: 24px;
}

.spec-table td { color: var(--gray); }
.spec-table td strong { color: var(--ink); }

/* 給与注記（募集職種の待遇欄の下） */
.salary-note {
  margin: 20px 0 0;
  padding: 14px 18px;
  background: var(--bg-soft);
  border-left: 3px solid var(--red);
  border-radius: 0 8px 8px 0;
  font-size: 13px;
  line-height: 1.9;
  color: var(--gray);
}

/* ============ INTERVIEW ============ */
.interview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.interview-card {
  position: relative;
  transition: transform .4s cubic-bezier(.16,.84,.24,1);
}

.interview-card:hover { transform: translateY(-8px); }

.interview-photo {
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, #eceef0 0%, #dfe1e5 100%);
  border: 1px solid var(--line);
  border-radius: 16px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.interview-photo .initial {
  font-family: var(--font-display);
  font-size: 120px;
  color: transparent;
  -webkit-text-stroke: 2px rgba(196, 30, 23, 0.45);
  line-height: 1;
}
.interview-photo img.face {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform .5s ease;
}
.interview-photo:has(img.face) .initial { display: none; }
.interview-card:hover .interview-photo img.face { transform: scale(1.04); }

.interview-photo .stamp {
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.24em;
  color: var(--red);
  border: 1px solid rgba(196, 30, 23, 0.4);
  border-radius: 999px;
  padding: 4px 12px;
  text-transform: uppercase;
  background: rgba(255,255,255,0.7);
}

.interview-photo::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 5px;
  background: var(--grad-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s cubic-bezier(.7,0,.2,1);
}

.interview-card:hover .interview-photo::after { transform: scaleX(1); }

.interview-body { padding: 22px 4px 0; }

.interview-role {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.26em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.interview-body h3 {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.06em;
  margin: 0 0 14px;
  color: var(--ink);
}

.interview-body h3 .en {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--gray-dark);
  font-weight: 400;
  margin-left: 10px;
  text-transform: uppercase;
}

.interview-quote {
  font-weight: 700;
  font-size: 17px;
  line-height: 1.9;
  margin: 0 0 14px;
  padding-left: 16px;
  border-left: 3px solid var(--red);
  color: var(--ink);
}

.interview-body p {
  font-size: 13px;
  color: var(--gray);
  line-height: 2;
  margin: 0;
}

.interview-meta {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-strong);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--gray-dark);
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* インタビュー詳細（interviews.html） */
.interview-full {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 56px;
  margin-bottom: 110px;
  align-items: start;
}

.interview-full:nth-child(even) {
  grid-template-columns: 1fr 380px;
}
.interview-full:nth-child(even) .interview-photo-wrap { order: 2; }

.interview-photo-wrap { position: sticky; top: 100px; }

.qa-block { margin-bottom: 36px; }

.qa-block .q {
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  color: var(--ink);
}

.qa-block .q::before {
  content: "Q";
  font-family: var(--font-display);
  font-size: 26px;
  background: var(--grad-red);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  flex-shrink: 0;
}

.qa-block .a {
  font-size: 14px;
  color: var(--gray);
  line-height: 2.2;
  margin: 0;
  padding-left: 40px;
}

/* ============ ABOUT ============ */
.about-intro {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 100px;
}

.about-intro .statement {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.6;
  letter-spacing: 0.04em;
  margin: 0;
  color: var(--ink);
}

.about-intro .body p {
  font-size: 14.5px;
  color: var(--gray);
  line-height: 2.3;
  margin: 0 0 20px;
}

.about-intro .body p strong { color: var(--ink); }

/* 数字で見る */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-cell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px 28px;
  transition: transform .3s, box-shadow .3s;
}

.stat-cell:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(27, 29, 34, 0.1);
}

.stat-cell .label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--gray);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.stat-cell .value {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  background: var(--grad-red);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.stat-cell .unit {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 16px;
  margin-left: 6px;
  color: var(--ink);
}

.stat-cell .note {
  font-size: 11px;
  color: var(--gray-dark);
  margin-top: 12px;
}

/* 会社概要テーブル */
.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.info-table th,
.info-table td {
  padding: 24px 16px 24px 0;
  border-bottom: 1px solid var(--line-strong);
  text-align: left;
  vertical-align: top;
  line-height: 2;
}

.info-table th {
  width: 220px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  color: var(--red);
  font-weight: 500;
  text-transform: uppercase;
  padding-top: 28px;
}

.info-table td { color: var(--gray); }

.info-table td .lg {
  font-weight: 900;
  font-size: 19px;
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

/* ============ PAGE HEADER ============ */
.page-header {
  padding: 175px 0 90px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 45% at 85% 25%, rgba(230, 60, 47, 0.08), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}

.page-header .bg-num {
  position: absolute;
  right: -20px;
  bottom: -60px;
  font-family: var(--font-display);
  font-size: clamp(180px, 30vw, 380px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(27, 29, 34, 0.05);
  pointer-events: none;
  user-select: none;
}

.page-header .crumbs {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--gray-dark);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.page-header .crumbs a:hover { color: var(--red); }
.page-header .crumbs .sep { margin: 0 10px; }

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 8.5vw, 120px);
  line-height: 0.98;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-weight: 400;
  color: var(--ink);
}

.page-header .jp-sub {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: clamp(16px, 2vw, 22px);
  letter-spacing: 0.2em;
  color: var(--gray);
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.page-header .jp-sub::before {
  content: "";
  width: 40px; height: 3px;
  background: var(--grad-red);
}

/* ============ FORM ============ */
.form-wrap {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 56px;
  align-items: start;
}

.form-side { position: sticky; top: 100px; }

.form-side h3 {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: 26px;
  letter-spacing: 0.06em;
  margin: 0 0 10px;
  color: var(--ink);
}

.form-side .side-en {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 28px;
}

.form-side p {
  font-size: 13px;
  color: var(--gray);
  line-height: 2.1;
}

.form-side .steps {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  border-left: 2px solid var(--line);
}

.form-side .steps li {
  padding: 14px 0 14px 26px;
  font-size: 13px;
  font-weight: 700;
  position: relative;
  color: var(--gray);
}

.form-side .steps li::before {
  content: attr(data-step);
  position: absolute;
  left: -12px;
  top: 16px;
  width: 22px; height: 22px;
  background: var(--grad-red);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 10px;
  display: grid;
  place-items: center;
  color: #fff;
}

.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 56px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(27, 29, 34, 0.06);
}

.form::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: var(--grad-red);
}

.form-row { margin-bottom: 30px; }

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-label {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
}

.form-label .jp {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.form-label .en {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.24em;
  color: var(--gray-dark);
  text-transform: uppercase;
}

.form-label .req {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: #fff;
  background: var(--grad-red);
  border-radius: 999px;
  padding: 2px 10px;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px; /* iOS でのフォーカス時オートズームを防止 */
  font-family: inherit;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}

.form-row textarea { min-height: 150px; resize: vertical; }

.form-row select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'><path d='M3 5 L7 9 L11 5' stroke='%23c41e17' stroke-width='1.5' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(196, 30, 23, 0.12);
}

.form-hint {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--gray-dark);
  margin-top: 8px;
}

.field-error {
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  margin-top: 8px;
  display: none;
}

.form-row.has-error .field-error { display: block; }
.form-row.has-error input,
.form-row.has-error select,
.form-row.has-error textarea { border-color: var(--red); }

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: var(--gray);
  margin: 8px 0 0;
}

.form-consent input[type="checkbox"] {
  margin-top: 6px;
  accent-color: var(--red);
  width: 16px; height: 16px;
}

.form-actions {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.form-success {
  display: none;
  text-align: center;
  padding: 60px 20px;
}

.form-success.show { display: block; }

.form-success .big {
  font-family: var(--font-display);
  font-size: 48px;
  background: var(--grad-red);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 20px;
  text-transform: uppercase;
}

/* ============ CTA BAND ============ */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--grad-red);
  color: #fff;
  padding: 110px 0;
}

.cta-band .bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(140px, 26vw, 360px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.14);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.cta-band .container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.4;
  letter-spacing: 0.05em;
  margin: 0;
}

.cta-band .cta-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
}

.cta-band .tel {
  font-family: var(--font-display);
  font-size: 38px;
  letter-spacing: 0.04em;
  line-height: 1;
}

.cta-band .tel-note {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.75);
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--ink-2);
  color: #fff;
  padding: 72px 0 32px;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}

.footer-logo {
  height: 100px;
  width: auto;
  mix-blend-mode: screen; /* 黒背景ロゴの黒を透過 */
  margin-bottom: 20px;
}

.footer-word {
  display: none;
  align-items: center;
  gap: 12px;
  font-family: var(--font-round);
  font-weight: 800;
  margin-bottom: 24px;
}
.footer-brand.no-img .footer-word { display: inline-flex; }

/* フッター用ロゴマーク（暗背景に映える明るめグラデ） */
.footer-symbol {
  width: 52px; height: 52px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><defs><linearGradient id='gf' x1='0.1' y1='0' x2='0.9' y2='1'><stop offset='0' stop-color='%23ff5a4d'/><stop offset='1' stop-color='%23c41e17'/></linearGradient></defs><path d='M80 32 A40 40 0 1 0 83 58' fill='none' stroke='url(%23gf)' stroke-width='7' stroke-linecap='round'/><circle cx='72' cy='29' r='9.5' fill='url(%23gf)'/><path d='M47 83 C42 60 45 45 69 33 C52 50 53 67 55 83 Z' fill='url(%23gf)'/><path d='M40 83 C38 66 41 55 53 45 C46 58 47 71 48 83 Z' fill='url(%23gf)' opacity='0.82'/></svg>") center/contain no-repeat;
}
.footer-word .a {
  font-size: 30px;
  background: linear-gradient(135deg, #f0655a, var(--red));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.footer-word .c { font-size: 20px; color: #fff; }

.footer-brand address {
  font-style: normal;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 2.2;
}

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: #f0655a;
  text-transform: uppercase;
  margin: 0 0 18px;
  font-weight: 500;
}

.footer-col ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  transition: color .2s, padding-left .2s;
}
.footer-col a:hover {
  color: #fff;
  padding-left: 6px;
}

.footer-bottom {
  max-width: var(--max);
  margin: 56px auto 0;
  padding: 24px var(--gutter) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
}

/* ============ REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.16,.84,.24,1), transform .8s cubic-bezier(.16,.84,.24,1);
}
.reveal.is-visible { opacity: 1; transform: none; }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.16,.84,.24,1), transform .7s cubic-bezier(.16,.84,.24,1);
}
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: .05s; opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .15s; opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .25s; opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .35s; opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .45s; opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .55s; opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: .65s; opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: .75s; opacity: 1; transform: none; }

/* 固定ヘッダー分、アンカージャンプ時に隠れないように */
:target { scroll-margin-top: 90px; }
.job-detail-card { scroll-margin-top: 90px; }

/* 日本語をキリのいい文節で折り返す（対応ブラウザ）。.np は途中で折らない語句 */
.hero-lead, .statement, .section-lead, .section-title .jp,
.cta-band h2, .value-card p, .value-card h3, .job-row .desc,
.interview-quote, .qa-block .a, .about-intro .body p,
.job-detail-body .intro, .page-header .jp-sub, .form-side p {
  word-break: auto-phrase;
  overflow-wrap: break-word;
}
.np { white-space: nowrap; }

/* ============ WORK ギャラリー（現場写真） ============ */
.work-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.work-item {
  grid-column: span 6;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 3/2;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}
.work-item.wide { grid-column: span 12; aspect-ratio: 21/8; }
.work-item.tall { aspect-ratio: 3/2; }
.work-item img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s cubic-bezier(.2,.7,.15,1), opacity .5s ease;
}
.work-item img.alt {
  opacity: 0;
  transform: scale(1.04);
}
.work-item:hover img.primary { opacity: 0; }
.work-item:hover img.alt {
  opacity: 1;
  transform: scale(1);
}
.work-item .cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 44px 22px 18px;
  background: linear-gradient(transparent, rgba(13, 14, 17, 0.9));
  color: #fff;
  transition: opacity .5s ease;
}
.work-item .cap.alt { opacity: 0; }
.work-item:hover .cap.primary { opacity: 0; }
.work-item:hover .cap.alt { opacity: 1; }
.work-item .cap .en {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.22em;
  color: #ff6a5d;
  text-transform: uppercase;
}
.work-item .cap h4 {
  font-family: var(--font-jp);
  font-weight: 900; font-size: 19px;
  margin: 6px 0 0;
  letter-spacing: 0.04em;
}

/* ============ チーム写真バンド ============ */
.team-band {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
}
.team-band img.bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
}
.team-band::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(rgba(13, 14, 17, 0.45), rgba(13, 14, 17, 0.75));
  z-index: 1;
}
.team-band .inner {
  position: relative; z-index: 2;
  padding: 90px 24px;
  max-width: 780px;
}
.team-band .eyebrow {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.3em;
  color: #ff6a5d;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.team-band h2 {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: clamp(26px, 4.4vw, 50px);
  line-height: 1.5;
  letter-spacing: 0.04em;
  margin: 0 0 20px;
}
.team-band p {
  font-size: 15px;
  line-height: 2.1;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

/* ============ 企業理念 ============ */
.philosophy-section {
  position: relative;
  overflow: hidden;
  padding: 130px 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.72) 0%, rgba(255,255,255,0.60) 55%, rgba(255,255,255,0.82) 100%),
    url("../images/about-hero-bg.jpg") center/cover no-repeat,
    var(--bg);
}
.philosophy {
  text-align: center;
  max-width: 840px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.philosophy .lead-en {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.3em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.philosophy .big {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: clamp(24px, 3.6vw, 42px);
  line-height: 1.75;
  letter-spacing: 0.04em;
  margin: 0 0 28px;
}
.philosophy .big .red { background: var(--grad-red); -webkit-background-clip: text; background-clip: text; color: transparent; }
.philosophy .sub {
  font-size: 15px;
  color: var(--gray);
  line-height: 2.2;
  margin: 0 0 16px;
  word-break: auto-phrase;
  overflow-wrap: break-word;
}
.philosophy .sub:last-child { margin-bottom: 0; }

/* ============ 会社概要セクション（岩木山背景） ============ */
.profile-section {
  position: relative;
  overflow: hidden;
  padding: 130px 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.78) 55%, rgba(255,255,255,0.90) 100%),
    url("../images/profile-bg.jpg") center/cover no-repeat;
}
.profile-section .container { position: relative; z-index: 1; }

/* ============ 建設業許可・登録番号 ============ */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cert-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px 26px;
  background: #fff;
  position: relative;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.cert-card::before {
  content: "";
  position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: var(--grad-red);
}
.cert-card:hover { transform: translateY(-5px); box-shadow: 0 16px 36px rgba(27,29,34,0.1); }
.cert-card .label {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.2em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.cert-card .name {
  font-weight: 900;
  font-size: 16px;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.cert-card .no {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink);
  letter-spacing: 0.02em;
}

/* ============ りんご兼業・柔軟な働き方 ============ */
.apple-band {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(27, 29, 34, 0.06);
}
.apple-band::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 6px;
  background: var(--grad-red);
}
.apple-icon {
  font-size: 52px;
  line-height: 1;
  display: block;
  margin-bottom: 20px;
}
.apple-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--red);
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}
.apple-band h2 {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: clamp(24px, 3.4vw, 40px);
  line-height: 1.5;
  letter-spacing: 0.04em;
  margin: 0 0 22px;
}
.apple-band h2 .red {
  background: var(--grad-red);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.apple-band p {
  font-size: 15px;
  color: var(--gray);
  line-height: 2.25;
  max-width: 700px;
  margin: 0 auto;
  word-break: auto-phrase;
}
.apple-band p strong { color: var(--ink); font-weight: 700; }

/* ============ OFF TIME（オフの時間） ============ */
.off-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.off-photo {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/5;
  border: 1px solid var(--line);
  position: relative;
}
.off-photo img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s cubic-bezier(.2,.7,.15,1), opacity .5s ease;
}
.off-photo img.alt {
  opacity: 0;
  transform: scale(1.04);
}
.off-photo:hover img.primary { opacity: 0; }
.off-photo:hover img.alt {
  opacity: 1;
  transform: scale(1);
}
.off-body h2 {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.5;
  letter-spacing: 0.04em;
  margin: 22px 0 24px;
}
.off-body h2 .red {
  background: var(--grad-red);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.off-body p {
  font-size: 15px;
  color: var(--gray);
  line-height: 2.25;
  margin: 0;
}
.off-body p strong { color: var(--ink); font-weight: 700; }

/* ============ 福利厚生 BENEFITS ============ */
.benefits-block {
  margin-top: 40px;
  padding: 48px 40px 44px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}
.benefits-block::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--grad-red);
}
.benefits-head { margin-bottom: 28px; text-align: center; }
.benefits-title {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: 0.06em;
  margin: 8px 0 10px;
}
.benefits-lead {
  font-size: 14px;
  color: var(--gray);
  margin: 0;
}
.benefits-head .section-num { justify-content: center; }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.benefit {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px 24px;
  position: relative;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.benefit::after {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--grad-red);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .35s cubic-bezier(.7,0,.2,1);
}
.benefit:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(27, 29, 34, 0.1);
}
.benefit:hover::after { transform: scaleY(1); }
.benefit .icon {
  font-size: 30px;
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}
.benefit h4 {
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: 15px;
  margin: 0 0 8px;
  letter-spacing: 0.03em;
  line-height: 1.5;
}
.benefit p {
  font-size: 12.5px;
  color: var(--gray);
  line-height: 1.9;
  margin: 0;
}

/* ============ 所属団体 ============ */
.org-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.org-item {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 13px 24px;
  font-weight: 700;
  font-size: 14px;
  background: #fff;
  display: inline-flex;
  align-items: center;
}
.org-item::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grad-red);
  margin-right: 12px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .value-grid { grid-template-columns: 1fr; }
  .interview-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .about-intro { grid-template-columns: 1fr; gap: 40px; }
  .form-wrap { grid-template-columns: 1fr; }
  .form-side { position: static; }
  .interview-full,
  .interview-full:nth-child(even) { grid-template-columns: 1fr; }
  .interview-full:nth-child(even) .interview-photo-wrap { order: 0; }
  .interview-photo-wrap { position: static; max-width: 420px; }
  .job-row { grid-template-columns: 70px 1fr; }
  .job-row .job-actions { grid-column: 2; margin-top: 18px; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-side { display: none; }
  .hero-mark { opacity: 0.32; }
  .cert-grid { grid-template-columns: 1fr; }
  .off-section { grid-template-columns: 1fr; gap: 32px; }
  .off-photo { max-width: 440px; aspect-ratio: 4/3; }
  .apple-band { padding: 40px 22px; }
  .apple-icon { font-size: 44px; }
}

@media (max-width: 640px) {
  .work-item, .work-item.wide { grid-column: span 12; }
  .team-band { min-height: 400px; }
  .team-band .inner { padding: 64px 20px; }
  .nav-list { display: none; }
  .nav-list.open {
    display: flex;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 24px 24px;
  }
  .nav-list.open li { border-bottom: 1px solid var(--line); }
  .nav-list.open a { padding: 16px 0; display: flex; }
  .nav-list.open .nav-cta {
    margin-top: 16px;
    justify-content: center;
    border-radius: 12px;
  }
  .nav-toggle { display: block; }
  .section { padding: 72px 0; }
  .section-header { margin-bottom: 48px; }
  .interview-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .form { padding: 32px 20px; }
  .form-row-2 { grid-template-columns: 1fr; }
  .job-detail-head { padding: 36px 24px 28px; gap: 16px; }
  .job-detail-head .no { font-size: 44px; }
  .job-detail-body { padding: 28px 24px 36px; }
  .spec-table th { display: block; width: auto; padding-bottom: 2px; border-bottom: 0; }
  .spec-table td { display: block; padding-top: 4px; }
  .info-table th { display: block; width: auto; padding-bottom: 2px; border-bottom: 0; }
  .info-table td { display: block; padding-top: 4px; }
  .hero { padding: 120px 0 0; }
  .hero-sub { grid-template-columns: 1fr; }
  .cta-band { padding: 80px 0; }
  .cta-band .cta-side { align-items: flex-start; }
  .hero-mark { display: none; }
  .brand-img { height: 32px; }
  .page-header { padding: 132px 0 60px; }
  .marquee { margin-top: 56px; }
  .marquee-track span { font-size: 18px; margin-right: 40px; }
  /* 職種一覧: 番号を見出しと上端で揃え、余白を最適化 */
  .job-row { grid-template-columns: 50px 1fr; gap: 16px; align-items: start; }
  .job-row .no { font-size: 30px; }
  .job-row:hover { padding-left: 8px; }
}
