/* 会社トップ専用のアニメーション */
.c-hero { position: relative; overflow: hidden; padding: 96px 0 88px; background: var(--bg-deep); border-bottom: 0; }
.c-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(36, 40, 45, 0.95) 0%, rgba(36, 40, 45, 0.82) 55%, rgba(36, 40, 45, 0.6) 100%), url("/img/hero.webp") center / cover no-repeat;
  animation: c-zoom 26s ease-in-out infinite alternate;
}
.c-hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.c-hero h1 { font-size: clamp(30px, 4.4vw, 56px); margin: 8px 0 22px; }
.c-hero p.sub { color: var(--muted); font-size: clamp(15px, 1.8vw, 17px); max-width: 600px; }
.c-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.c-hero .copy > * { opacity: 0; animation: c-up 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.c-hero .copy > *:nth-child(2) { animation-delay: 0.12s; }
.c-hero .copy > *:nth-child(3) { animation-delay: 0.24s; }
.c-hero .copy > *:nth-child(4) { animation-delay: 0.36s; }

/* 右側に浮かぶ3つの事業カード */
.c-tiles { position: relative; height: 380px; }
.c-tile {
  position: absolute; display: flex; align-items: center; gap: 14px; width: 270px;
  padding: 16px 18px; border-radius: 16px; text-decoration: none;
  background: rgba(62, 68, 75, 0.82); border: 1px solid rgba(242, 243, 244, 0.18);
  backdrop-filter: blur(6px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  opacity: 0; animation: c-pop 0.7s cubic-bezier(0.3, 1.3, 0.5, 1) forwards, c-float 7s ease-in-out infinite;
  transition: border-color 0.2s, background 0.2s;
}
.c-tile:hover { border-color: var(--text); background: rgba(80, 86, 93, 0.9); }
.c-tile .ico { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--text); }
.c-tile .ico svg { width: 24px; height: 24px; stroke: var(--bg-deep); }
.c-tile b { display: block; font-size: 16px; line-height: 1.4; }
.c-tile small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em; color: var(--muted); }
.c-tile.t1 { top: 10px; right: 30px; animation-delay: 0.6s, 1.3s; }
.c-tile.t2 { top: 140px; left: 0; animation-delay: 0.85s, 1.6s; }
.c-tile.t3 { top: 270px; right: 0; animation-delay: 1.1s, 1.9s; }
@media (max-width: 900px) {
  .c-hero { padding: 64px 0 56px; }
  .c-hero .wrap { grid-template-columns: 1fr; }
  .c-tiles { height: auto; display: flex; flex-direction: column; gap: 12px; }
  .c-tile { position: static; width: 100%; }
}

/* 事業カードの写真を少しずつ拡大 */
.biz .thumb img { transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.biz:hover .thumb img { transform: scale(1.06); }

/* 大切にしていることの番号を大きく */
.policy .num { font-size: 40px; font-weight: 600; line-height: 1; color: rgba(217, 220, 224, 0.35); }

@keyframes c-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes c-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes c-pop { from { opacity: 0; transform: translateY(20px) scale(0.92); } to { opacity: 1; transform: none; } }
@keyframes c-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

@media (prefers-reduced-motion: reduce) {
  .c-hero::before, .c-hero .copy > *, .c-tile { animation: none !important; opacity: 1 !important; }
  .biz .thumb img { transition: none; }
}

/* 見出しなしのヒーロー：説明文を主役にする */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.c-hero p.sub.lead-big { color: var(--text); font-size: clamp(18px, 2.2vw, 24px); line-height: 1.9; font-weight: 600; max-width: 640px; margin-top: 8px; }
