/* =========================================================
   Espada Group — Design System (v5)
   Tone: White base × warm orange accent × crossed-sword motif
   Matching the wireframe mockup delivered as
   「公式サイト全体.png」. Hero and CTA use orange sunset
   gradient, Products sits on ink-dark with crossed-sword decor,
   News uses colored pill tags. Footer remains dark.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Surfaces */
  --color-bg: #ffffff;
  --color-bg-cream: #fbf5ef;
  --color-bg-warm:  #fbeee4;
  --color-bg-dark:  #141414;
  --color-bg-darker:#0a0a0a;

  /* Text */
  --color-text: #1a1a1a;
  --color-text-muted: #6b6b6b;
  --color-text-light: #fafafa;
  --color-text-light-muted: #a8a8a8;

  /* Warm neutrals */
  --stone-50:  #fafafa;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-300: #d6d3d1;
  --stone-400: #a8a29e;
  --stone-500: #78716c;
  --stone-600: #57534e;
  --stone-700: #44403c;
  --stone-800: #292524;
  --stone-900: #1c1917;

  /* Brand palette — warm orange / sunset */
  --orange-50:  #fff4ec;
  --orange-100: #ffe4d1;
  --orange-200: #ffcda7;
  --orange-300: #ffb073;
  --orange-400: #ff8f3f;
  --orange-500: #f97316;   /* primary */
  --orange-600: #ea580c;
  --orange-700: #c2410c;

  --amber-300: #fcd34d;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;

  --rose-500:  #f43f5e;

  /* News tag palette (matching banner images) */
  --tag-release-bg: #e8dcff;
  --tag-release-fg: #6b3fca;
  --tag-other-bg:   #d7e8ff;
  --tag-other-fg:   #2563eb;
  --tag-info-bg:    #ffd9dc;
  --tag-info-fg:    #c2185b;

  /* Gradients */
  --grad-sunset: linear-gradient(
    90deg,
    #f97316 0%,
    #fb923c 25%,
    #fbbf24 50%,
    #fb923c 75%,
    #f97316 100%
  );
  --grad-hero-glow: radial-gradient(
    closest-side,
    rgba(252, 211, 77, 0.55),
    rgba(251, 146, 60, 0.35) 45%,
    rgba(244, 63, 94, 0.15) 75%,
    transparent 100%
  );
  --grad-size: 200% 100%;

  /* Semantic */
  --accent: var(--orange-500);
  --accent-ink: var(--color-text);

  /* Borders */
  --border-light: #eee7df;
  --border-subtle: #faf4ec;
  --border-dark: rgba(255, 255, 255, 0.1);
  --hairline: 1px;

  /* Type */
  --font-sans: "Inter", "Helvetica Neue", ui-sans-serif, system-ui,
               -apple-system, BlinkMacSystemFont, "Segoe UI",
               "Hiragino Kaku Gothic ProN", "Noto Sans JP",
               "Yu Gothic", "Meiryo", sans-serif;
  --font-serif: "Playfair Display", "Noto Serif JP", Georgia,
                "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-mono: ui-monospace, SFMono-Regular, "JetBrains Mono",
               Menlo, Monaco, Consolas, monospace;

  --tracking-tight:   -0.02em;
  --tracking-tighter: -0.04em;
  --tracking-wide:    0.04em;
  --tracking-widest:  0.22em;

  /* Layout */
  --container-max: 1220px;
  --container-pad: clamp(1rem, 3vw, 2rem);
  --header-height: 72px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 180ms;
  --dur: 320ms;
  --dur-slow: 680ms;

  /* Radii */
  --r-sm: 4px;
  --r-md: 10px;
  --r-lg: 18px;
  --r-pill: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(110, 60, 20, 0.05);
  --shadow-sm: 0 2px 8px rgba(110, 60, 20, 0.06), 0 1px 2px rgba(110, 60, 20, 0.04);
  --shadow-md: 0 12px 36px -12px rgba(110, 60, 20, 0.18);
  --shadow-glow: 0 0 48px rgba(249, 115, 22, 0.25);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "palt", "kern";
}

img, svg { max-width: 100%; display: block; }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
a:hover { color: var(--orange-600); }

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  letter-spacing: var(--tracking-tight);
  line-height: 1.2;
  margin: 0;
  color: var(--color-text);
}

p { margin: 0; }

button {
  font: inherit;
  color: inherit;
  background: transparent;
  border: none;
  cursor: pointer;
}

::selection { background: var(--orange-500); color: #fff; }

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

.section {
  padding-block: clamp(4rem, 8vw, 6.5rem);
  position: relative;
}

.section--dark {
  background: var(--color-bg-dark);
  color: var(--color-text-light);
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 {
  color: var(--color-text-light);
}

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

/* ---------- Section Head ---------- */
.section-head {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
}

.section-head__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--orange-600);
}
.section--dark .section-head__eyebrow { color: var(--orange-300); }

.section-head__eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--grad-sunset);
  background-size: var(--grad-size);
}

.section-head__title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  letter-spacing: var(--tracking-tighter);
  font-weight: 800;
}

.section-head__lead {
  color: var(--color-text-muted);
  max-width: 64ch;
  font-size: 0.98rem;
  margin-top: 0.5rem;
  line-height: 1.95;
}
.section--dark .section-head__lead { color: var(--color-text-light-muted); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: var(--hairline) solid var(--border-light);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand { display: inline-flex; align-items: center; }
.brand__logo { height: 30px; width: auto; display: block; }

.primary-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-left: auto;
  margin-right: 1.5rem;
}
.primary-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--stone-700);
  position: relative;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--grad-sunset);
  background-size: var(--grad-size);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.primary-nav a:hover { color: var(--orange-600); }
.primary-nav a:hover::after { transform: scaleX(1); }

@media (max-width: 860px) {
  .primary-nav { display: none; }
}

main { padding-top: var(--header-height); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.55rem;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  border-radius: var(--r-pill);
  transition: transform var(--dur) var(--ease),
              background-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
  border: var(--hairline) solid transparent;
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font-sans);
}
.btn:hover { transform: translateY(-2px); color: inherit; }

.btn--primary {
  background: var(--color-text);
  color: #fff;
}
.btn--primary:hover { background: var(--orange-600); color: #fff; box-shadow: var(--shadow-glow); }

.btn--sunset {
  background: var(--grad-sunset);
  background-size: var(--grad-size);
  color: #fff;
  animation: gradShift 10s linear infinite;
}
.btn--sunset:hover { color: #fff; box-shadow: var(--shadow-glow); }

.btn--on-dark { background: #fff; color: var(--color-text); }
.btn--on-dark:hover { background: var(--color-bg-cream); color: var(--color-text); }

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--stone-300);
}
.btn--ghost:hover { border-color: var(--orange-500); color: var(--orange-600); }

.btn--ghost-dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn--ghost-dark:hover { border-color: #fff; color: #fff; }

.btn .arrow {
  display: inline-block;
  width: 14px;
  height: 14px;
  background-image: url("/images/icons/arrow-right.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform var(--dur) var(--ease);
}
.btn--primary .arrow,
.btn--sunset .arrow {
  background-image: url("/images/icons/arrow-right-white.png");
}
.btn:hover .arrow { transform: translateX(4px); }

@keyframes gradShift {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: grid;
  align-items: center;
  background: linear-gradient(180deg, #ffffff 0%, var(--color-bg-warm) 100%);
  overflow: hidden;
  padding-block: 5rem 4rem;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(194, 65, 12, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(194, 65, 12, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 40%, transparent 75%);
  pointer-events: none;
  z-index: 1;
}
.hero::after {
  content: "";
  position: absolute;
  right: -8%;
  top: -14%;
  width: 900px;
  height: 900px;
  background: var(--grad-hero-glow);
  filter: blur(6px);
  pointer-events: none;
  animation: sunsetBreath 14s ease-in-out infinite alternate;
  z-index: 1;
}

/* Background video (monoai.co.jp 風) */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  z-index: 0;
}
.hero__video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.55) 0%,
      rgba(255, 247, 237, 0.35) 40%,
      rgba(255, 237, 213, 0.55) 100%),
    radial-gradient(ellipse 60% 70% at 25% 50%,
      rgba(255, 255, 255, 0.55) 0%,
      rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  z-index: 1;
}
@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
}
@keyframes sunsetBreath {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-40px, 30px) scale(1.05); }
}

.hero__inner { position: relative; z-index: 2; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--orange-600);
  margin-bottom: 1.25rem;
}
.hero__eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--grad-sunset);
  background-size: var(--grad-size);
}

.hero__title {
  font-size: clamp(2.4rem, 6.4vw, 5rem);
  letter-spacing: var(--tracking-tighter);
  line-height: 1.12;
  font-weight: 900;
  color: var(--color-text);
}
.hero__title .grad {
  background: var(--grad-sunset);
  background-size: var(--grad-size);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 8s linear infinite;
}

.hero__lead {
  margin-top: 1.5rem;
  font-size: clamp(0.95rem, 1.2vw, 1.02rem);
  color: var(--color-text-muted);
  max-width: 52ch;
  line-height: 1.95;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: var(--tracking-widest);
  color: var(--color-text-muted);
  text-transform: uppercase;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.hero__scroll::after {
  content: "";
  width: 1px;
  height: 44px;
  background: var(--orange-500);
  animation: scrollLine 2.2s var(--ease) infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- About ---------- */
.about {
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(7rem, 14vw, 11rem);
}
.about__inner { position: relative; z-index: 1; }

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } }

.split__label h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  letter-spacing: var(--tracking-tighter);
  font-weight: 800;
}
.split__body p {
  color: var(--color-text-muted);
  font-size: 0.98rem;
  line-height: 2;
}
.split__body p + p { margin-top: 1rem; }

/* ---------- Products (dark) ---------- */
.products {
  position: relative;
  overflow: hidden;
}
.products__inner { position: relative; z-index: 1; }

/* Category header (01 ENGINEERING, 02 DATA & AI, ...) */
.product-category {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
}
.product-category__head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.product-category__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 500;
  line-height: 1;
  background: var(--grad-sunset);
  background-size: var(--grad-size);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 12s linear infinite;
}
.product-category__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-text-light-muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--r-md);
  background: #1c1c1c;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--color-text-light);
  transition: transform var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
  isolation: isolate;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(249, 115, 22, 0.55);
}

.product-card__visual {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0a0a0a;
}
.product-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}
.product-card:hover .product-card__visual img {
  transform: scale(1.04);
}

.product-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1rem 1.1rem 1.2rem;
  flex: 1;
}
.product-card__title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--color-text-light);
  line-height: 1.4;
}
.product-card__desc {
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--color-text-light-muted);
}
.product-card__by {
  font-size: 0.7rem;
  color: var(--color-text-light-muted);
  opacity: 0.7;
  margin-top: auto;
  padding-top: 0.5rem;
}

/* Platform badges */
.platform-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.product-card__platforms {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: flex;
  gap: 0.55rem;
  align-items: center;
}
.product-card__platforms li { line-height: 0; }
.platform-icon {
  width: 18px;
  height: 18px;
  fill: var(--color-text-light);
  opacity: 0.72;
  transition: opacity 0.2s var(--ease);
}
.product-card:hover .platform-icon { opacity: 1; }
.product-card__link-icon {
  position: absolute;
  bottom: 0.85rem;
  right: 0.85rem;
  width: 18px;
  height: 18px;
  opacity: 0.75;
  filter: invert(1);
}

/* ---------- News ---------- */
.news-coming-soon {
  margin: 0;
  padding: 2rem 0 1rem;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.03em;
}
.news-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-light);
}
.news-item {
  display: grid;
  grid-template-columns: 110px 90px 180px 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--border-light);
  transition: background-color var(--dur) var(--ease),
              padding-inline var(--dur) var(--ease);
}
.news-item:hover {
  background: var(--color-bg-cream);
  padding-inline: 1rem;
}
@media (max-width: 860px) {
  .news-item {
    grid-template-columns: 100px 80px 1fr;
    grid-template-areas:
      "date tag title"
      "thumb thumb thumb";
    gap: 0.75rem;
  }
  .news-item__date  { grid-area: date; }
  .news-item__tag   { grid-area: tag; }
  .news-item__thumb { grid-area: thumb; }
  .news-item__title { grid-area: title; }
  .news-item__arrow { display: none; }
}

.news-item__date {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}
.news-item__tag {
  justify-self: start;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.28rem 0.9rem;
  border-radius: var(--r-pill);
  letter-spacing: 0.02em;
}
.news-item__tag--release { background: var(--tag-release-bg); color: var(--tag-release-fg); }
.news-item__tag--other   { background: var(--tag-other-bg);   color: var(--tag-other-fg); }
.news-item__tag--info    { background: var(--tag-info-bg);    color: var(--tag-info-fg); }

.news-item__thumb {
  width: 160px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--r-sm);
  background: var(--stone-100);
}
.news-item__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.news-item__title {
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--color-text);
}
.news-item__arrow {
  justify-self: end;
  width: 12px;
  height: 12px;
  background-image: url("/images/icons/arrow-right.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.55;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.news-item:hover .news-item__arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* ---------- Company teaser (recruit block) ---------- */
.company {
  position: relative;
  overflow: hidden;
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  padding-block: clamp(4rem, 7vw, 5.5rem);
  color: #fff;
  background: var(--grad-sunset);
  background-size: var(--grad-size);
  animation: gradShift 20s linear infinite;
  overflow: hidden;
  isolation: isolate;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 30%, rgba(255,255,255,0.22), transparent 55%),
    radial-gradient(circle at 15% 75%, rgba(252, 211, 77, 0.35), transparent 55%);
  z-index: -1;
}
.cta__inner { position: relative; z-index: 1; }

.cta__title {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  letter-spacing: var(--tracking-tighter);
  max-width: 22ch;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
}
.cta__lead {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 56ch;
  line-height: 1.9;
  font-size: 0.95rem;
}
.cta__actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-bg-dark);
  color: var(--color-text-light);
  padding-block: 3rem 1.5rem;
}
.site-footer__top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-dark);
}
@media (max-width: 768px) {
  .site-footer__top { grid-template-columns: 1fr 1fr; }
}

.site-footer__brand {
  display: block;
  margin-bottom: 1rem;
}
.site-footer__brand-logo {
  height: 26px;
  width: auto;
}

.site-footer__tagline {
  font-size: 0.8rem;
  color: var(--color-text-light-muted);
  line-height: 1.85;
  max-width: 30ch;
}

.site-footer__col h4 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-text-light-muted);
  margin-bottom: 1rem;
}
.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer__links a {
  font-size: 0.85rem;
  color: #e4e4e4;
}
.site-footer__links a:hover { color: var(--orange-300); }

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  font-size: 0.78rem;
  color: var(--color-text-light-muted);
  gap: 1rem;
  flex-wrap: wrap;
  letter-spacing: 0.02em;
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-lg { margin-top: clamp(2rem, 4vw, 3rem); }
.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;
}

/* ---------- Privacy page ---------- */
.page { padding-block: clamp(3rem, 6vw, 5rem); }

.privacy-page,
.news-page,
.company-page {
  position: relative;
  overflow: hidden;
}
.privacy-page__inner,
.news-page__inner,
.company-page__inner { position: relative; z-index: 1; }
.privacy-page__decor,
.news-page__decor,
.company-page__decor {
  position: absolute;
  right: 2%;
  bottom: 4%;
  width: min(320px, 40vw);
  opacity: 0.14;
  pointer-events: none;
  z-index: 0;
}
.privacy-page__decor img,
.news-page__decor img,
.company-page__decor img { width: 100%; display: block; }

/* ---------- Home 固定表示の装飾（常に右下追従） ---------- */
.home-decor-fixed {
  position: fixed;
  right: 0;
  bottom: 0;
  width: clamp(160px, 22vw, 280px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.22;
  mix-blend-mode: multiply;
  transition: opacity 0.25s var(--ease);
}
.home-decor-fixed img {
  width: 100%;
  height: auto;
  display: block;
  transition: filter 0.25s var(--ease);
}
/* dark セクション (Products 等) 上を通過中は白シルエット化 */
.home-decor-fixed--on-dark {
  mix-blend-mode: normal;
  opacity: 0.35;
}
.home-decor-fixed--on-dark img {
  filter: invert(1) brightness(1.8) contrast(0.7);
}
@media (max-width: 560px) {
  .home-decor-fixed { opacity: 0.16; width: 42vw; }
  .home-decor-fixed--on-dark { opacity: 0.28; }
}

/* ---------- Company page ---------- */
.company-page__subhead {
  font-size: 1rem;
  font-weight: 700;
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  color: var(--color-text);
}
.company-page__subhead-note {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}

.company-table {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-light);
  margin: 2rem 0 0;
  padding: 0;
}
.company-table__row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.5rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--border-light);
  align-items: baseline;
}
@media (max-width: 640px) {
  .company-table__row { grid-template-columns: 1fr; gap: 0.25rem; }
}
.company-table__row dt {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}
.company-table__row dd {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.9;
}
.company-table__list {
  list-style: none;
  counter-reset: item;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.company-table__list li {
  counter-increment: item;
  padding-left: 2.2rem;
  position: relative;
  font-size: 0.95rem;
}
.company-table__list li::before {
  content: counter(item) " :";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 500;
  color: var(--color-text-muted);
}

.company-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 860px) {
  .company-group { grid-template-columns: 1fr; }
}
.company-group__item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.company-group__name {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
}
.company-group__banner {
  aspect-ratio: 16 / 9;
  background: var(--color-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.company-group__banner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.company-clients {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.92rem;
  color: var(--color-text);
  line-height: 1.85;
}
.company-clients li {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}
.company-clients li::before {
  content: "・";
  color: var(--orange-600);
  font-weight: 700;
  flex: 0 0 auto;
}

.page__lead {
  margin-top: 1rem;
  max-width: 64ch;
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.95;
}
.page__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--orange-600);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.page__eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--grad-sunset);
  background-size: var(--grad-size);
}
.page__title {
  margin-top: 1rem;
  font-size: clamp(2rem, 4vw, 2.6rem);
  letter-spacing: var(--tracking-tighter);
  font-weight: 800;
}
.prose {
  max-width: 72ch;
  margin-top: 2rem;
  font-size: 1rem;
  line-height: 2;
  color: var(--color-text-muted);
}
.prose h2 {
  margin-top: 2.5rem;
  font-size: 1.3rem;
  color: var(--color-text);
  font-weight: 700;
}
.prose p + p { margin-top: 1rem; }
.prose a {
  color: var(--orange-600);
  border-bottom: 1px solid currentColor;
}
