@charset "UTF-8";

/*
Theme Name: OVERTAKE inc. Corporate
Theme URI: https://0vertake.ecom
Author: 00OVERTAKE inc.
Author URI: https://0vertake.com
Description: OVERTAKE inc. 公式コーポレートサイト用テーマ。IT × クルマカスタム × 不動産の3事業を紹介するダークモード専用デザイン。
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.0.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: 0vertake
Tags: dark, corporate

This is a classic (PHP template hierarchy based) theme.
See header.php / footer.php / front-page.php / page.php / single.php / archive.php / index.php.
*/

:root {
  /* Brand palette (指定カラー) */
  --color-base: #ffffff; /* テキスト・反転背景用 */
  --color-main: #232323;
  --color-accent: #1a4b8c;
  --color-deep-gray: #3c3c3c;
  --color-light-gray: #b4b4b4;
  --color-deep-accent: #0d2f5d;
  --color-light-accent: #235a85;
  --color-bright-accent: #5fa8d8; /* アクセントのより明るいトーン（既存のアクセントグラデーションで使用中の明るいトーンと統一） */

  /* Dark mode surfaces (追加提案カラー) */
  --bg: #1a1a1a; /* 基本背景 */
  --bg-elevated: #232323; /* 一段上の面 */
  --surface: #2a2a2a; /* カード等 */
  --surface-hover: #323232;
  --border: #3c3c3c;

  /* Text */
  --text: #f5f5f5;
  --text-muted: #b4b4b4;
  --text-on-accent: #ffffff;

  /* State colors */
  --success: #3fb950;
  --error: #e5534b;

  /* Accent gradients */
  --grad-accent: linear-gradient(135deg, var(--color-light-accent) 0%, var(--color-accent) 50%, var(--color-deep-accent) 100%);

  /* Typography */
  --font-base: "Inter", "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1200px;
  --radius: 12px;
  --radius-sm: 8px;
  --header-h: 72px;

  /* Effects */
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.35);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- 2. Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: var(--font-base);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-light-accent);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--color-base);
}

h1,
h2,
h3,
h4 {
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--color-light-accent);
  outline-offset: 3px;
}

/* ---------- 3. Layout Helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: clamp(64px, 9vw, 120px);
}

.section--alt {
  background-color: var(--bg-elevated);
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-light-accent);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  margin-bottom: 16px;
}

.section-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--grad-accent);
  color: var(--text-on-accent);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(26, 75, 140, 0.4);
  color: #fff;
}
.btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn--ghost:hover {
  border-color: var(--color-light-accent);
  color: var(--color-base);
  background: var(--surface-hover);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  z-index: 1000;
  background: rgba(26, 26, 26, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    background var(--transition),
    border-color var(--transition);
}
.site-header.scrolled {
  background: rgba(26, 26, 26, 0.92);
  border-bottom-color: var(--border);
}
.header-inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--text);
}
.brand:hover {
  color: var(--text);
}
.brand__logo {
  height: 30px;
  width: auto;
  display: block;
  transition: transform var(--transition);
}
.brand:hover .brand__logo {
  transform: scale(1.04);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
}
.nav a:hover,
.nav a.active {
  color: var(--text);
  background: var(--surface);
}
.nav .btn {
  margin-left: 10px;
  padding: 10px 22px;
}

/* ---------- Nav dropdown (事業内容 等) ---------- */
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-item__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font: inherit;
  line-height: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  background: none;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}
.nav-item__link:hover,
.nav-item__link.active,
.nav-item__link[aria-expanded="true"] {
  color: var(--text);
  background: var(--surface);
}
.nav-item__caret {
  font-size: 0.65em;
  transition: transform var(--transition);
}
.nav-item__link[aria-expanded="true"] .nav-item__caret {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  min-width: 260px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  z-index: 1001;
}
.nav-dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}
.nav-dropdown a:hover {
  color: var(--text);
  background: var(--surface-hover);
}
.nav-item.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
@media (hover: hover) and (pointer: fine) {
  .nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-item:hover .nav-item__link {
    color: var(--text);
    background: var(--surface);
  }
  .nav-item:hover .nav-item__caret {
    transform: rotate(180deg);
  }
  .nav-item:hover .nav-item__link::after {
    transform: scaleX(1);
  }
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 26px;
  background: var(--text);
  margin-inline: auto;
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 80% 10%, rgba(35, 90, 133, 0.28), transparent 60%),
    radial-gradient(50% 50% at 10% 90%, rgba(13, 47, 93, 0.3), transparent 60%), var(--bg);
  z-index: -2;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(180, 180, 180, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(180, 180, 180, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 70% at 50% 40%, #000 30%, transparent 100%);
  z-index: -1;
}
.hero__content {
  max-width: 820px;
}
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  line-height: 1.12;
  margin-bottom: 24px;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--color-light-accent), #5fa8d8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 36px;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 48px;
}
.hero__tag {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(42, 42, 42, 0.5);
}
.hero__tag strong {
  color: var(--text);
}

/* フロントページ Hero と同系統の背景（黒 + 青グラデーション）を持つビジュアルカード */
.visual-card {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  background:
    radial-gradient(60% 50% at 80% 10%, rgba(35, 90, 133, 0.35), transparent 60%),
    radial-gradient(55% 55% at 15% 90%, rgba(13, 47, 93, 0.4), transparent 60%), var(--bg);
}
.visual-card__icon {
  font-size: 2.5rem;
  color: var(--color-bright-accent);
}

.grid {
  display: grid;
  gap: 24px;
  perspective: 1000px;
}
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--color-light-accent);
  background: var(--surface-hover);
}
.card:hover::before {
  transform: scaleX(1);
}

.card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  color: var(--color-light-accent);
  background: rgba(35, 90, 133, 0.12);
  border: 1px solid rgba(35, 90, 133, 0.25);
  margin-bottom: 22px;
}
.card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.card p {
  color: var(--text-muted);
  margin: 0;
}
.card__tag {
  display: inline-block;
  margin-top: 18px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-light-accent);
}

.biz-list {
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.biz-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.biz-item--accent {
  --biz-accent: var(--color-accent);
}
.biz-item--light {
  --biz-accent: var(--color-light-accent);
}
.biz-item--deep {
  --biz-accent: var(--color-deep-accent);
}

.biz-item__visual {
  order: 1;
  position: relative;
  z-index: 1;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  /* overflow:hidden を外している: background は border-radius だけで境界がクリップされるため見た目は変わらないが、
     overflow:hidden が残っていると transform-style:preserve-3d が強制的に flat 化され、
     マウスインタラクション時のアイコンの translateZ による浮き上がりが効かなくなるため */
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background:
    radial-gradient(120% 120% at 28% 20%, color-mix(in srgb, var(--biz-accent) 35%, transparent) 0%, transparent 60%),
    linear-gradient(135deg, var(--surface) 0%, var(--bg) 100%);
  display: grid;
  place-items: center;
  transition:
    border-color var(--transition),
    transform var(--transition);
}
.biz-item__visual-icon {
  font-size: clamp(3rem, 6vw, 4.75rem);
  color: color-mix(in srgb, var(--biz-accent) 70%, white 30%);
  opacity: 0.9;
  transition: transform var(--transition);
}
.biz-item:hover .biz-item__visual {
  border-color: var(--biz-accent);
}
.biz-item:hover .biz-item__visual-icon {
  transform: scale(1.08);
}

.biz-item__panel {
  order: 2;
  position: relative;
  z-index: 2;
  background: rgba(42, 42, 42, 0.6);
  background: color-mix(in srgb, var(--surface) 65%, transparent);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
}
.biz-item__label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-light-accent);
  margin-bottom: 10px;
}
.biz-item__panel h3 {
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  margin-bottom: 14px;
}
.biz-item__panel p {
  color: var(--text-muted);
  margin: 0 0 20px;
}

.biz-item__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.biz-item__tag {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 10px;
}

.biz-item__cta {
  margin-top: 24px;
}

@media (min-width: 1025px) {
  .biz-item {
    grid-template-columns: 7fr 5fr;
    column-gap: 32px;
    align-items: center;
  }
  .biz-item__panel {
    margin-left: -56px;
  }

  .biz-item--reverse {
    grid-template-columns: 5fr 7fr;
  }
  .biz-item--reverse .biz-item__panel {
    order: 1;
    margin-left: 0;
    margin-right: -56px;
  }
  .biz-item--reverse .biz-item__visual {
    order: 2;
  }
}

.concept {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.concept__visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: var(--grad-accent);
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.concept__formula {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #fff;
  font-weight: 800;
  font-size: clamp(1rem, 2.4vw, 1.6rem);
  text-align: center;
}
.concept__formula span {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 18px 14px;
  border-radius: 12px;
  min-width: 92px;
  backdrop-filter: blur(4px);
}
.concept__formula .op {
  background: none;
  border: none;
  font-size: 1.6em;
  min-width: auto;
  padding: 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat {
  text-align: center;
}
.stat__num {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  background: linear-gradient(120deg, var(--color-light-accent), #6fb3df);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.news-item {
  display: grid;
  grid-template-columns: 130px 110px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 22px 8px;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.news-item:hover {
  background: var(--surface);
  padding-inline: 16px;
}
.news-item__date {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}
.news-item__cat {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
  text-align: center;
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.news-item__cat.it {
  color: #6fb3df;
  border-color: rgba(111, 179, 223, 0.4);
}
.news-item__cat.car {
  color: #e0a96d;
  border-color: rgba(224, 169, 109, 0.4);
}
.news-item__cat.estate {
  color: #8fce9b;
  border-color: rgba(143, 206, 155, 0.4);
}
.news-item__title {
  font-weight: 500;
  color: var(--text);
}
.news-item__arrow {
  color: var(--text-muted);
}

.news-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.news-filter {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.news-filter:hover {
  color: var(--text);
  border-color: var(--color-light-accent);
}
.news-filter.active {
  background: var(--grad-accent);
  color: #fff;
  border-color: transparent;
}
.news-empty {
  color: var(--text-muted);
  padding: 40px 0;
  text-align: center;
}
.news-loading {
  color: var(--text-muted);
  padding: 40px 0;
  text-align: center;
}

.cta {
  position: relative;
  border-radius: var(--radius);
  padding: clamp(48px, 7vw, 80px);
  text-align: center;
  background: var(--grad-accent);
  overflow: hidden;
}
.cta h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: #fff;
}
.cta p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto 32px;
}
.cta .btn--primary {
  background: #fff;
  color: var(--color-deep-accent);
}
.cta .btn--primary:hover {
  color: var(--color-deep-accent);
}

.site-footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  padding-block: 64px 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  color: var(--text-muted);
  padding: 6px 0;
  font-size: 0.92rem;
}
.footer-col a:hover {
  color: var(--text);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}
.footer-social {
  display: flex;
  gap: 14px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
}
.footer-social a:hover {
  border-color: var(--color-light-accent);
  color: var(--text);
}

.page-hero {
  padding-top: calc(var(--header-h) + 80px);
  padding-bottom: 64px;
  position: relative;
  background: radial-gradient(60% 80% at 85% 0%, rgba(35, 90, 133, 0.22), transparent 60%), var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}
.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.breadcrumb a {
  color: var(--text-muted);
}
.breadcrumb a:hover {
  color: var(--text);
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}
.page-hero p {
  color: var(--text-muted);
  max-width: 640px;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
}
.info-table th,
.info-table td {
  text-align: left;
  padding: 22px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.info-table th {
  width: 220px;
  color: var(--text-muted);
  font-weight: 600;
}
.info-table td {
  color: var(--text);
}

.timeline {
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--border);
}
.timeline__item {
  position: relative;
  padding-bottom: 36px;
}
.timeline__item::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--color-light-accent);
}
.timeline__year {
  font-weight: 700;
  color: var(--color-light-accent);
  margin-bottom: 6px;
}
.timeline__item p {
  color: var(--text-muted);
  margin: 0;
}

.form {
  display: grid;
  gap: 22px;
  max-width: 720px;
}
.form-row {
  display: grid;
  gap: 8px;
}
.form-row.two {
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.form label {
  font-weight: 600;
  font-size: 0.92rem;
}
.form label .req {
  color: var(--error);
  margin-left: 4px;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 14px 16px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--color-light-accent);
  box-shadow: 0 0 0 3px rgba(35, 90, 133, 0.25);
}
.form textarea {
  resize: vertical;
  min-height: 150px;
}
.form .error-msg {
  color: var(--error);
  font-size: 0.82rem;
  display: none;
}
.form-row.invalid .error-msg {
  display: block;
}
.form-row.invalid input,
.form-row.invalid textarea {
  border-color: var(--error);
}
.form-note {
  color: var(--text-muted);
  font-size: 0.85rem;
}
.form-success {
  display: none;
  background: rgba(63, 185, 80, 0.12);
  border: 1px solid rgba(63, 185, 80, 0.4);
  color: var(--success);
  padding: 18px 20px;
  border-radius: var(--radius-sm);
}
.form-success.show {
  display: block;
}

/* お問い合わせページ: 画像エリア + フォームの2カラムレイアウト */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}

.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.checkbox-row input {
  width: auto;
  margin-top: 4px;
}

.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding-block: clamp(48px, 7vw, 90px);
  border-bottom: 1px solid var(--border);
}
.service-block:last-child {
  border-bottom: none;
}
.service-block.reverse .service-block__media {
  order: -1;
}
.service-block__media {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 4.5rem;
  color: var(--color-light-accent);
  position: relative;
  overflow: hidden;
}
.service-block__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 70% at 70% 20%, rgba(35, 90, 133, 0.18), transparent 70%);
}
.service-block__no {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-light-accent);
  margin-bottom: 10px;
}
.service-block h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
}
.service-block p {
  color: var(--text-muted);
}
.feature-list {
  margin-top: 20px;
  display: grid;
  gap: 12px;
}
.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text);
}
.feature-list i {
  color: var(--color-light-accent);
  margin-top: 5px;
}

@media (max-width: 768px) {
  .service-block {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .service-block.reverse .service-block__media {
    order: 0;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-zoom {
  opacity: 0;
  transform: scale(0.9);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.in,
.reveal-right.in,
.reveal-zoom.in {
  opacity: 1;
  transform: none;
}

/* カードが下からせり上がりつつ中央に定位置する演出（SERVICEセクション以降のカード群向け） */
.reveal-card {
  opacity: 0.4;
  transform: translateY(72px) scale(0.86);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-card.in {
  opacity: 1;
  transform: none;
  will-change: auto;
}

.stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.stagger.in > * {
  opacity: 1;
  transform: none;
}
.stagger.in > *:nth-child(1) {
  transition-delay: 0.05s;
}
.stagger.in > *:nth-child(2) {
  transition-delay: 0.15s;
}
.stagger.in > *:nth-child(3) {
  transition-delay: 0.25s;
}
.stagger.in > *:nth-child(4) {
  transition-delay: 0.35s;
}
.stagger.in > *:nth-child(5) {
  transition-delay: 0.45s;
}
.stagger.in > *:nth-child(6) {
  transition-delay: 0.55s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(36px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}
@keyframes floatSlow {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-22px) translateX(10px);
  }
}
@keyframes pulseGlow {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}
@keyframes gridDrift {
  from {
    background-position:
      0 0,
      0 0;
  }
  to {
    background-position:
      56px 56px,
      56px 56px;
  }
}
@keyframes spinSlow {
  to {
    transform: rotate(360deg);
  }
}
@keyframes shimmer {
  0% {
    background-position: -150% 0;
  }
  100% {
    background-position: 250% 0;
  }
}
@keyframes badgePop {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }
  60% {
    transform: scale(1.08);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}

.hero__content > * {
  opacity: 0;
}
html.is-loaded .hero__content > * {
  animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
html.is-loaded .hero__content > .eyebrow {
  animation-delay: 0.1s;
}
html.is-loaded .hero__content > h1 {
  animation-delay: 0.25s;
}
html.is-loaded .hero__content > p {
  animation-delay: 0.45s;
}
html.is-loaded .hero__content > .hero__actions {
  animation-delay: 0.62s;
}
html.is-loaded .hero__content > .hero__tags {
  animation-delay: 0.8s;
}

.hero__bg {
  animation: pulseGlow 9s ease-in-out infinite;
}
.hero__grid {
  animation: gridDrift 14s linear infinite;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
}
.hero__orb--1 {
  width: 220px;
  height: 220px;
  top: 18%;
  right: 12%;
  background: radial-gradient(circle, rgba(35, 90, 133, 0.55), transparent 70%);
  animation: floatSlow 11s ease-in-out infinite;
}
.hero__orb--2 {
  width: 150px;
  height: 150px;
  bottom: 16%;
  left: 8%;
  background: radial-gradient(circle, rgba(13, 47, 93, 0.6), transparent 70%);
  animation: floatY 8s ease-in-out infinite;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 80px;
  margin-left: -40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  z-index: 2;
  opacity: 0;
}
html.is-loaded .scroll-cue {
  animation: fadeUp 1s ease forwards;
  animation-delay: 1.1s;
}
.scroll-cue__line {
  position: relative;
  width: 3px;
  height: 48px;
  overflow: hidden;
}
.scroll-cue__line::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  transform: translateX(-50%);
  opacity: 0.35;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
}
.scroll-cue__line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 3px;
  height: 20px;
  transform: translateX(-50%) translateY(-100%);
  background: linear-gradient(to bottom, transparent, var(--color-bright-accent) 45%, var(--color-light-accent) 55%, transparent);
  animation: scrollLineFlow 2.4s linear infinite;
}
@keyframes scrollLineFlow {
  0% {
    transform: translateX(-50%) translateY(-100%);
  }
  100% {
    transform: translateX(-50%) translateY(340%);
  }
}

.btn--primary {
  position: relative;
  overflow: hidden;
}
.btn--primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: translateX(-150%) skewX(-20deg);
  transition: none;
}
.btn--primary:hover::after {
  animation: shimmer 0.9s ease;
}
.btn i.fa-arrow-right {
  transition: transform var(--transition);
}
.btn:hover i.fa-arrow-right {
  transform: translateX(4px);
}
.btn--primary i.fa-paper-plane {
  transition: transform var(--transition);
}
.btn--primary:hover i.fa-paper-plane {
  transform: translateX(3px) translateY(-2px) rotate(8deg);
}

.card__icon {
  transition:
    transform var(--transition),
    background var(--transition);
}
.card:hover .card__icon {
  transform: translateY(-4px) rotate(-6deg) scale(1.06);
  background: rgba(35, 90, 133, 0.22);
}

.concept__visual {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.concept__visual:hover {
  transform: translateY(-6px) rotate(-0.6deg);
}
.concept__visual::before {
  content: "";
  position: absolute;
  width: 140%;
  aspect-ratio: 1;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  animation: spinSlow 26s linear infinite;
}
.concept__formula span:not(.op) {
  animation: floatY 4.5s ease-in-out infinite;
}
.concept__formula span:not(.op):nth-child(1) {
  animation-delay: 0s;
}
.concept__formula span:not(.op):nth-child(3) {
  animation-delay: 0.5s;
}
.concept__formula span:not(.op):nth-child(5) {
  animation-delay: 1s;
}
.concept__formula .op {
  animation: pulseGlow 3s ease-in-out infinite;
}

/* ---------- 17g. Service media floating ---------- */
.service-block__media i {
  animation: floatY 5s ease-in-out infinite;
  transition: transform var(--transition);
}
.service-block__media:hover i {
  transform: scale(1.12);
}
.service-block__media::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: var(--grad-accent);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

/* ---------- 17h. Timeline dot heartbeat ---------- */
.timeline__item.in::before {
  animation: badgePop 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
  box-shadow: 0 0 0 0 rgba(35, 90, 133, 0.5);
}
.timeline__item::before {
  transition: box-shadow var(--transition);
}
.timeline__item:hover::before {
  box-shadow: 0 0 0 6px rgba(35, 90, 133, 0.2);
}

/* ---------- 17i. News item & filters ---------- */
.news-item__arrow i {
  transition: transform var(--transition);
}
.news-item:hover .news-item__arrow i {
  transform: translateX(5px);
}
.news-item__cat {
  transition: transform var(--transition);
}
.news-item:hover .news-item__cat {
  transform: scale(1.06);
}
.news-filter:active {
  transform: scale(0.94);
}

/* ---------- 17j. Stat number subtle pop ---------- */
.stat.in .stat__num {
  animation: badgePop 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ---------- 17k. Footer social spin ---------- */
.footer-social a {
  transition: var(--transition);
}
.footer-social a:hover {
  transform: translateY(-4px) rotate(8deg);
}

/* ---------- 17m. Link underline grow ---------- */
.nav a,
.nav-item__link {
  position: relative;
}
.nav a:not(.btn)::after,
.nav-item__link::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 2px;
  background: var(--color-light-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav a:not(.btn):hover::after,
.nav a:not(.btn).active::after,
.nav-item__link:hover::after,
.nav-item__link.active::after,
.nav-item__link[aria-expanded="true"]::after {
  transform: scaleX(1);
}

.page-hero > .container > * {
  opacity: 0;
}
html.is-loaded .page-hero > .container > * {
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
html.is-loaded .page-hero .breadcrumb {
  animation-delay: 0.05s;
}
html.is-loaded .page-hero .eyebrow {
  animation-delay: 0.15s;
}
html.is-loaded .page-hero h1 {
  animation-delay: 0.28s;
}
html.is-loaded .page-hero p {
  animation-delay: 0.42s;
}

.header-inner {
  opacity: 0;
}
html.is-loaded .header-inner {
  animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.05s;
}

@media (max-width: 1024px) {
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    /* top は JS (main.js: syncNavTop) がヘッダーの実測下端座標を都度
       inline style で設定する。--header-h はその値が来る前の初期表示用
       フォールバックとしてのみ使用する。 */
    top: var(--header-h);
    inset-inline: 0;
    bottom: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 24px 28px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    /* SP はスクロール中の backdrop-filter 再計算コストを避けるため blur を外し、
       視認性を保てるよう背景の不透明度をやや上げて代替する（PC はそのまま） */
    background: rgba(26, 26, 26, 0.98);
    border-bottom: 1px solid var(--border);
    /* 閉時: top の値に関係なく確実に画面外（上）へ */
    transform: translateY(-100vh);
    transition: transform var(--transition);
  }
  .nav.open {
    /* 開時: JS が top をヘッダー下端へ同期済みのため、そのままの位置で表示 */
    transform: translateY(0);
  }
  .nav a {
    padding: 14px 16px;
  }
  .nav .btn {
    margin: 8px 0 0;
    justify-content: center;
  }
  .nav-toggle {
    display: flex;
  }

  .nav-item {
    flex-direction: column;
    align-items: stretch;
  }
  .nav-item__link {
    width: 100%;
    justify-content: space-between;
    padding: 14px 16px;
  }
  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0 8px;
    border: none;
    box-shadow: none;
    background: transparent;
    transition: max-height var(--transition), padding var(--transition);
  }
  .nav-item.open .nav-dropdown {
    max-height: 240px;
    padding: 4px 8px 10px;
  }
  .nav-dropdown a {
    padding: 12px 12px 12px 24px;
    white-space: normal;
  }

  .grid--3,
  .grid--2 {
    grid-template-columns: 1fr;
  }
  .concept {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .news-item {
    grid-template-columns: 88px 1fr;
    row-gap: 6px;
  }
  .news-item__date {
    grid-column: 1;
  }
  .news-item__cat {
    grid-column: 2;
    justify-self: start;
  }
  .news-item__title {
    grid-column: 1 / -1;
  }
  .news-item__arrow {
    display: none;
  }
  .info-table th {
    width: 130px;
    padding-inline: 8px;
  }
  .form-row.two {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .brand__logo {
    height: 24px;
  }

  /* ---- SP scroll performance (PC の見た目・挙動には影響しない) ----
     背景固定パララックス相当の重い演出・アドレスバー増減による 100vh
     再計算・常時 backdrop-filter 再計算・repaint を伴う無限アニメーションが
     SP スクロール時のガクつきの主因のため、SP のみ軽量化する。 */
  .hero {
    /* 100vh はアドレスバーの表示/非表示のたびに再計算されレイアウトが
       ガクつく原因になるため、SP では安定した 100svh を優先させる
       （非対応ブラウザは通常の 100vh にフォールバック） */
    min-height: 100svh;
  }
  .site-header {
    /* スクロール中は毎フレーム再計算される backdrop-filter を SP のみ無効化し、
       視認性は不透明度の高い背景色で確保する（PC は元のまま） */
    background: rgba(26, 26, 26, 0.92);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .site-header.scrolled {
    background: rgba(26, 26, 26, 0.96);
  }
  .biz-item__panel {
    /* in-flow だがスクロールに追従して常時再計算されるため SP は無効化 */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--surface);
  }
  .hero__bg,
  .hero__grid,
  .hero__orb {
    /* gridDrift は background-position を毎フレーム変更し repaint を伴う。
       pulseGlow / floatY / floatSlow も含め SP では常時アニメーションを停止し、
       静止表示にする（PC のアニメーションはそのまま維持） */
    animation: none;
  }
  .reveal.in {
    /* 表示済み要素の will-change を解放し、常駐コンポジットレイヤーによる
       メモリ・描画コストを SP で抑える */
    will-change: auto;
  }
  .reveal-card {
    /* 事業内容カードは scale + translateY の複合 transform かつ 0.9s と長く、
       非力な SP 端末では合成コストが高くラグ／カクつきの原因になる。
       SP のみ scale を外して translateY だけにし、時間も短縮して軽量化する
       （PC の演出・数値は一切変更しない） */
    transform: translateY(40px);
    transition:
      opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }
}

@media (max-width: 480px) {
  .stats {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .brand__logo {
    height: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-zoom,
  .reveal-card,
  .stagger > *,
  .hero__content > *,
  .page-hero > .container > *,
  .header-inner,
  .scroll-cue {
    opacity: 1 !important;
    transform: none !important;
  }
  .scroll-cue__line::after {
    display: none;
  }
}

.wpcf7-form-control-wrap {
  display: block;
}

.form-row > label + br {
  display: none;
}
.wpcf7 form.wpcf7-form input.wpcf7-form-control,
.wpcf7 form.wpcf7-form select.wpcf7-form-control,
.wpcf7 form.wpcf7-form textarea.wpcf7-form-control {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 14px 16px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}
.wpcf7 form.wpcf7-form input.wpcf7-form-control:focus,
.wpcf7 form.wpcf7-form select.wpcf7-form-control:focus,
.wpcf7 form.wpcf7-form textarea.wpcf7-form-control:focus {
  outline: none;
  border-color: var(--color-light-accent);
  box-shadow: 0 0 0 3px rgba(35, 90, 133, 0.25);
}
.wpcf7 form.wpcf7-form textarea.wpcf7-form-control {
  resize: vertical;
  min-height: 150px;
}
.wpcf7-not-valid-tip {
  color: var(--error);
  font-size: 0.82rem;
  margin-top: 6px;
  display: block;
}
.wpcf7-form-control.wpcf7-not-valid {
  border-color: var(--error) !important;
}
.wpcf7-response-output {
  margin: 20px 0 0;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.wpcf7-form.sent .wpcf7-response-output {
  background: rgba(63, 185, 80, 0.12);
  border-color: rgba(63, 185, 80, 0.4);
  color: var(--success);
}
.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.aborted .wpcf7-response-output,
.wpcf7-form.spam .wpcf7-response-output {
  background: rgba(229, 83, 75, 0.12);
  border-color: rgba(229, 83, 75, 0.4);
  color: var(--error);
}
.wpcf7-acceptance label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
}
.wpcf7-list-item {
  margin: 0;
}
.wpcf7-spinner {
  margin-inline-start: 10px;
}

.archive-header,
.search-header {
  margin-bottom: 32px;
}
.archive-title,
.search-title {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
}
.archive-description {
  color: var(--text-muted);
  margin-top: 8px;
}
.post-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.post-list-item {
  border-bottom: 1px solid var(--border);
  padding-bottom: 32px;
}
.post-list-title {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.post-list-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.post-list-excerpt {
  color: var(--text-muted);
}
.comments-area {
  max-width: 820px;
  margin-inline: auto;
  padding-block: 40px;
}

#preloader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(24px, 5vw, 64px);
  background: var(--bg);
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
}
#preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

html.is-preloaded #preloader {
  display: none;
}

.preloader__count {
  font-family: var(--font-base);
  font-size: clamp(56px, 14vw, 180px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.85;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.preloader__label {
  font-family: var(--font-base);
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: right;
}
.preloader__bar {
  position: absolute;
  left: clamp(24px, 5vw, 64px);
  right: clamp(24px, 5vw, 64px);
  bottom: 0;
  height: 2px;
  background: var(--border);
}
.preloader__bar span {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--grad-accent);
  transition: width 0.2s linear;
}

.site-bg-network {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.site-bg-network svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
}
.site-bg-network__base {
  stroke: var(--text-muted);
  opacity: 0.15;
}
.site-bg-network__pulse--accent {
  stroke: var(--color-accent);
}
.site-bg-network__pulse--light {
  stroke: var(--color-light-accent);
}
.site-bg-network__pulse--deep {
  stroke: var(--color-deep-accent);
}
.site-bg-network__node--accent {
  fill: var(--color-accent);
}
.site-bg-network__node--light {
  fill: var(--color-light-accent);
}
.site-bg-network__node--deep {
  fill: var(--color-deep-accent);
}
.site-bg-network.is-static .site-bg-network__pulse {
  stroke-dasharray: none;
}
