/* ══════════════════════════════════════════════════════════════
   Siriuz — Static Site Styles
   ══════════════════════════════════════════════════════════════ */

/* ── CSS Variables ────────────────────────────────────────────── */
:root {
  --color-bg:         #000000;
  --color-fg:         #FFFFFF;
  --color-fg-muted:   #CCCCCC;
  --color-accent:     #C9A572;
  --color-accent-dot: #FF8C2A;
  --color-surface:    #0A0A0A;
  --color-border:     #1F1F1F;

  --font-sans:   'Noto Sans JP', sans-serif;
  --font-serif:  'Cinzel', serif;
  --font-script: 'Allura', cursive;
}

/* ── Reset & Base ─────────────────────────────────────────────── */
*, ::before, ::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  height: 100%;
}

body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background-color: var(--color-bg);
  color: var(--color-fg);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font: inherit; color: inherit; }

/* ── Selection ────────────────────────────────────────────────── */
::selection { background-color: var(--color-accent); color: var(--color-bg); }

/* ── Scrollbar ────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-accent); border-radius: 2px; }

/* ══════════════════════════════════════════════════════════════
   SHARED PAGE HERO
   ══════════════════════════════════════════════════════════════ */
.page-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #000;
}
.page-hero-bg {
  position: absolute; inset: 0;
  transform: scale(1.05);
}
.page-hero-bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.45;
  pointer-events: none;
}
.page-hero-bg .scrim-lr {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.3), rgba(0,0,0,0.1));
}
.page-hero-bg .scrim-bt {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent, rgba(0,0,0,0.3));
}
.page-hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 96px 32px;
}
@media (min-width: 768px) { .page-hero-content { padding: 96px 60px; } }

.page-hero-label {
  font-family: var(--font-serif);
  font-size: 0.63rem;
  letter-spacing: 0.48em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
  opacity: 0;
}
.page-hero-title {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.75rem);
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--color-fg);
  margin-bottom: 24px;
  opacity: 0;
}
.page-hero-sub {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  line-height: 2;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.6);
  max-width: 36rem;
  opacity: 0;
}
.page-hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
}
.page-hero-scroll span {
  font-family: var(--font-sans);
  font-size: 0.5rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}
.page-hero-scroll .scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.25), transparent);
}

/* ══════════════════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  left: 0; right: 0; top: 0;
  z-index: 50;
  height: 80px;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: background-color 0.5s, border-color 0.5s, backdrop-filter 0.5s, transform 0.35s ease;
}
.site-header.header-hidden {
  transform: translateY(-100%);
}
.site-header.scrolled {
  border-bottom-color: var(--color-border);
  background-color: rgba(0,0,0,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 32px;
}
@media (min-width: 768px) {
  .header-inner { padding: 0 60px; }
}

.logo {
  display: flex;
  align-items: center;
}
.logo-img {
  height: 48px;
  width: auto;
  transition: opacity 0.3s;
}
.logo:hover .logo-img { opacity: 0.7; }

/* Desktop nav */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 40px;
}
@media (min-width: 768px) { .desktop-nav { display: flex; } }
.desktop-nav a {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  transition: color 0.3s;
}
.desktop-nav a:hover { color: var(--color-fg); }

/* Header right */
.header-right { display: flex; align-items: center; gap: 16px; }
.header-contact {
  display: none;
  border: 1px solid rgba(255,255,255,0.25);
  padding: 7px 20px;
  font-family: var(--font-serif);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  transition: border-color 0.3s, color 0.3s;
}
@media (min-width: 768px) { .header-contact { display: inline-flex; } }
.header-contact:hover { border-color: var(--color-accent); color: var(--color-accent); }

.hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
}
.hamburger:hover { color: var(--color-fg); }
@media (min-width: 768px) { .hamburger { display: none; } }

/* ── Mobile menu overlay ──────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  background: rgba(0,0,0,0.96);
  backdrop-filter: blur(4px);
  transition: opacity 0.4s, visibility 0.4s;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}
.mobile-menu.open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}
.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 32px;
  flex-shrink: 0;
}
.mobile-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
}
.mobile-menu-close:hover { color: var(--color-fg); }
.mobile-menu nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-menu nav a {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
}
.mobile-menu nav a:hover { color: var(--color-accent); }
.mobile-menu-bottom {
  flex-shrink: 0;
  padding: 32px;
  text-align: center;
}
.mobile-menu-bottom p {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
}

/* ══════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero-slide.active { opacity: 1; }

.hero-overlay-dark {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.55);
}
.hero-overlay-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), transparent, rgba(0,0,0,0.6));
}

/* Logo watermark on FV background */
.hero-logo-wrap {
  position: absolute;
  z-index: 5;
  top: 50%;
  right: 4%;
  width: min(58vw, 540px);
  transform: translateY(-50%);
  pointer-events: none;
  user-select: none;
}
.hero-logo {
  display: block;
  width: 100%;
  transform-origin: 50% 50%;
  opacity: 0.10;
  filter: drop-shadow(0 0 70px rgba(201,165,114,0.35));
  animation: heroLogoIntro 1.3s 0.35s cubic-bezier(0.2, 0.85, 0.2, 1.05) both;
}
/* One-time "くるっと" spin on page load, then static */
@keyframes heroLogoIntro {
  0%   { opacity: 0; rotate: -390deg; }
  100% { opacity: 0.10; rotate: 0deg; }
}
@media (max-width: 767px) {
  .hero-logo-wrap {
    right: 50%;
    transform: translate(50%, -50%);
    width: 76vw;
  }
  .hero-logo { opacity: 0.07; }
}

/* Hero copy */
.hero-copy {
  position: absolute; inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 32px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(20px);
  animation: heroCopyIn 1s 0.5s cubic-bezier(0.22,1,0.36,1) forwards;
}
@media (min-width: 768px) { .hero-copy { padding: 0 60px; } }
@keyframes heroCopyIn {
  to { opacity: 1; transform: translateY(0); }
}
.hero-copy h1 {
  margin-bottom: 16px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2.8rem, 6.5vw, 6.5rem);
  line-height: 1.05;
  letter-spacing: 0.06em;
  color: var(--color-fg);
}
.hero-copy .subtitle {
  margin-bottom: 40px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  line-height: 1.625;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.8);
}
.hero-cta {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  width: fit-content;
  border: 1px solid rgba(255,255,255,0.5);
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: border-color 0.3s, color 0.3s;
}
.hero-cta:hover { border-color: var(--color-accent); color: var(--color-accent); }
.hero-cta .arrow { transition: transform 0.3s; }
.hero-cta:hover .arrow { transform: translateX(6px); }

/* Slide dots */
.hero-dots {
  position: absolute;
  bottom: 96px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}
.hero-dot {
  height: 1px;
  transition: all 0.5s;
  width: 12px;
  background: rgba(255,255,255,0.25);
}
.hero-dot.active { width: 32px; background: var(--color-accent); }

/* SNS icons — bottom left */
.hero-sns {
  position: absolute;
  bottom: 80px;
  left: 32px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 20px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeInUp 0.8s 1s cubic-bezier(0.22,1,0.36,1) forwards;
}
@media (min-width: 768px) { .hero-sns { left: 48px; } }
.hero-sns a {
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
}
.hero-sns a:hover { color: var(--color-accent); }
.hero-sns svg { width: 18px; height: 18px; }

/* Scroll indicator — bottom right */
.scroll-indicator {
  position: absolute;
  bottom: 80px;
  right: 48px;
  z-index: 10;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeInUp 0.8s 1.5s cubic-bezier(0.22,1,0.36,1) forwards;
}
@media (min-width: 768px) { .scroll-indicator { display: flex; } }
.scroll-indicator span {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  writing-mode: vertical-rl;
}
.scroll-track {
  position: relative;
  width: 1px; height: 56px;
  border-radius: 9999px;
  background: rgba(255,255,255,0.1);
  overflow: hidden;
}
.scroll-thumb {
  position: absolute;
  left: 0;
  width: 100%;
  height: 45%;
  border-radius: 9999px;
  background: linear-gradient(to bottom, rgba(201,165,114,0.8), transparent);
  animation: scrollThumb 2.2s ease-in-out infinite;
}
@keyframes scrollThumb {
  0%   { top: -50%; }
  100% { top: 150%; }
}

/* Recruiting ticker */
.hero-ticker {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 10;
  border-top: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s 2s cubic-bezier(0.22,1,0.36,1) forwards;
}
.hero-ticker a {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 32px;
  transition: background 0.3s;
}
@media (min-width: 768px) { .hero-ticker a { padding: 12px 48px; } }
.hero-ticker a:hover { background: rgba(255,255,255,0.05); }
.ticker-label {
  flex-shrink: 0;
  font-family: var(--font-serif);
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.ticker-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.6);
  transition: color 0.3s;
}
.hero-ticker a:hover .ticker-text { color: rgba(255,255,255,0.85); }
.ticker-arrow {
  margin-left: auto;
  flex-shrink: 0;
  font-family: var(--font-serif);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(201,165,114,0.7);
  transition: color 0.3s;
}
.hero-ticker a:hover .ticker-arrow { color: var(--color-accent); }

/* ── Shared animation ─────────────────────────────────────────── */
@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════════════════════════
   MESSAGE
   ══════════════════════════════════════════════════════════════ */
.message-section {
  position: relative;
  background: #f5f2ed;
  min-height: 100vh;
  overflow: hidden;
  padding: 200px 32px;
}
@media (min-width: 768px) { .message-section { padding: 200px 64px; } }
@media (min-width: 1024px) { .message-section { padding: 200px 96px; } }

.message-inner { max-width: 80rem; margin: 0 auto; }
.message-lines { margin-bottom: 32px; }
.message-line {
  font-family: var(--font-sans);
  font-weight: 900;
  color: #0a0a0a;
  line-height: 1.2;
  letter-spacing: 0.02em;
  font-size: clamp(3rem, 7.5vw, 7.5rem);
  opacity: 0;
}
.message-line .accent-text { color: var(--color-accent); }

.message-script-wrap {
  margin-bottom: 80px;
  display: flex;
  justify-content: flex-end;
  padding-right: 16px;
}
@media (min-width: 768px) { .message-script-wrap { padding-right: 48px; } }
.message-script {
  display: inline-block;
  opacity: 0;
}
.message-script span {
  display: block;
  font-family: var(--font-script);
  color: var(--color-accent);
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  transform: rotate(-5deg);
}

.message-sub {
  max-width: 32rem;
  text-align: left;
  opacity: 0;
}
.message-sub p {
  color: rgba(10,10,10,0.6);
  font-size: 0.875rem;
  line-height: 1.625;
  letter-spacing: 0.05em;
}
.message-sub .message-sign {
  margin-top: 24px;
  font-family: var(--font-sans);
  font-weight: 900;
  color: #0a0a0a;
  font-size: 1.125rem;
  letter-spacing: 0.05em;
}
@media (min-width: 768px) { .message-sub .message-sign { font-size: 1.25rem; } }

/* ══════════════════════════════════════════════════════════════
   SECTION HEADER
   ══════════════════════════════════════════════════════════════ */
.section-header {
  padding: 80px 40px 40px;
  background: var(--color-bg);
}
.section-header.light { background: #f5f2ed; }
@media (min-width: 768px) { .section-header { padding: 80px 60px 40px; } }
.section-header h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1;
  font-size: clamp(2.25rem, 6vw, 5rem);
}
.section-header.light h2 { color: #0a0a0a; }
.section-header:not(.light) h2 { color: var(--color-fg); }
.section-header .sub {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: var(--color-accent);
}
.section-header .sub .diamond { font-size: 0.75rem; line-height: 1; }

/* ══════════════════════════════════════════════════════════════
   SERVICE
   ══════════════════════════════════════════════════════════════ */
.service-section { background: #080808; }
.service-section .section-header { background: #080808; }
.service-grid {
  padding: 64px 32px 96px;
  max-width: 64rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .service-grid { padding: 64px 60px 96px; grid-template-columns: 1fr 1fr; }
}
.service-card-wrap {
  opacity: 0;
  position: relative;
  border-radius: 18px;
  padding: 2px;
  overflow: hidden;
}
.service-card-wrap::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 0deg, transparent 0%, transparent 60%, rgba(201,165,114,0.5) 75%, rgba(201,165,114,0.95) 80%, rgba(201,165,114,0.5) 85%, transparent 100%);
  animation: borderRotate 5s linear infinite;
  z-index: 0;
}
.service-card-wrap:nth-child(2)::before {
  animation-delay: -2.5s;
}
@keyframes borderRotate {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.service-card {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 16px;
  padding: 32px;
  z-index: 1;
  transition: transform 0.5s;
}
@media (min-width: 768px) { .service-card { padding: 40px; } }
.service-card.grad-1 { background: linear-gradient(to bottom right, #080d1a, #090b14, #080808); }
.service-card.grad-2 { background: linear-gradient(to bottom right, #1a0e03, #110c05, #080808); }

.service-card .card-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.5;
  pointer-events: none;
  user-select: none;
}
.service-card .card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.3), rgba(0,0,0,0.7));
}
.service-card .card-content { position: relative; z-index: 10; }
.service-card .card-num {
  display: block;
  margin-bottom: 24px;
  font-family: var(--font-serif);
  font-size: 0.65rem;
  letter-spacing: 0.45em;
  color: var(--color-accent);
}
.service-card .card-title {
  margin-bottom: 8px;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-fg);
}
@media (min-width: 768px) { .service-card .card-title { font-size: 1.875rem; } }
.service-card .card-ja {
  margin-bottom: 24px;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.4);
}
.service-card .card-divider {
  margin-bottom: 24px;
  height: 1px;
  width: 40px;
  background: rgba(201,165,114,0.5);
  transition: width 0.5s;
}
.service-card .card-desc {
  white-space: pre-line;
  font-size: 0.875rem;
  line-height: 1.9;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.6);
}
.service-card .card-tags {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-card .tag {
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 2px 12px;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5);
}
.service-card .corner-glow {
  position: absolute;
  right: 0; top: 0;
  width: 160px; height: 160px;
  background: linear-gradient(to bottom left, rgba(201,165,114,0.07), transparent);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.service-card .corner-glow { opacity: 0.6; }

/* ══════════════════════════════════════════════════════════════
   COMPANY (scroll-driven panels)
   ══════════════════════════════════════════════════════════════ */
.company-section { height: 300vh; }
.company-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
.company-panel {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
}
.company-panel.panel-3 {
  align-items: flex-start;
}
.company-panel.panel-2,
.company-panel.panel-3 { opacity: 0; }

/* Panel 1 — Three.js canvas */
.belief-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
}

.panel-1-title {
  font-family: var(--font-serif);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-fg);
  font-size: clamp(3rem, 8vw, 8rem);
  line-height: 1;
  opacity: 0;
}
.panel-1-sub {
  margin-top: 32px;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  opacity: 0;
}

/* Panel 2 */
.panel-2-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.5;
  pointer-events: none;
}
.panel-2-gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 65% at 20% 55%, rgba(201,165,114,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 55% 75% at 72% 25%, rgba(201,165,114,0.08) 0%, transparent 55%),
    linear-gradient(to right, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.20) 50%, rgba(0,0,0,0.60) 100%);
}
.panel-2-shimmer {
  position: absolute; inset: 0;
  background: linear-gradient(to right, transparent, rgba(201,165,114,0.03), transparent);
}
.panel-2-text {
  position: absolute;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: row-reverse;
  gap: 0.05em;
  opacity: 0;
}
@media (min-width: 768px) { .panel-2-text { right: 80px; } }
.panel-2-text p {
  font-family: var(--font-sans);
  font-weight: 900;
  color: rgba(255,255,255,0.9);
  line-height: 1.4;
  letter-spacing: 0.25em;
  writing-mode: vertical-rl;
  font-size: clamp(3.5rem, 8vw, 8rem);
}
.panel-2-accent-line {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  height: 1px; width: 128px;
  background: linear-gradient(to right, transparent, rgba(201,165,114,0.3), transparent);
}

/* Panel 3 */
.panel-3-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.3;
  pointer-events: none;
}
.panel-3-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.6) 45%, transparent 100%);
  pointer-events: none;
}
.panel-3-aurora {
  position: absolute;
  width: 60vw; height: 60vw;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  background: radial-gradient(circle, rgba(201,165,114,0.6) 0%, transparent 70%);
  animation: auroraFloat1 12s ease-in-out infinite alternate;
  top: -10%; left: -15%;
  pointer-events: none;
}
.panel-3-aurora--2 {
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(140,100,200,0.4) 0%, transparent 70%);
  animation: auroraFloat2 10s ease-in-out infinite alternate;
  top: auto; bottom: -20%; left: auto; right: -10%;
  opacity: 0.1;
}
.panel-3-aurora--3 {
  width: 40vw; height: 40vw;
  background: radial-gradient(circle, rgba(201,165,114,0.3) 0%, transparent 70%);
  animation: auroraFloat3 14s ease-in-out infinite alternate;
  top: 30%; left: 50%;
  opacity: 0.08;
}
@keyframes auroraFloat1 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(8vw, 6vh) scale(1.2); }
}
@keyframes auroraFloat2 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-6vw, -8vh) scale(1.15); }
}
@keyframes auroraFloat3 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-4vw, 5vh) scale(1.3); }
}

.panel-3-inner {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 0 32px;
}
@media (min-width: 768px) { .panel-3-inner { padding: 0 80px; } }

.panel-3-title {
  margin-bottom: 56px;
  text-align: left;
  opacity: 0;
}
.panel-3-title .line1 {
  font-family: var(--font-sans);
  font-weight: 900;
  color: var(--color-fg);
  line-height: 1.15;
  letter-spacing: 0.02em;
  font-size: clamp(3.5rem, 9vw, 9rem);
}
.panel-3-title .line2 {
  font-family: var(--font-sans);
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1.15;
  letter-spacing: 0.02em;
  margin-top: 16px;
  font-size: clamp(2.8rem, 7vw, 7rem);
}
.panel-3-cta { opacity: 0; }

/* ══════════════════════════════════════════════════════════════
   WORK STYLE
   ══════════════════════════════════════════════════════════════ */
.work-style-section { background: #000; }
.work-hero { padding: 80px 32px 0; }
@media (min-width: 768px) { .work-hero { padding: 112px 60px 0; } }

.work-label {
  display: block;
  margin-bottom: 32px;
  font-family: var(--font-serif);
  font-size: 0.6rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--color-accent);
  opacity: 0;
}
.work-catch {
  font-family: var(--font-sans);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--color-fg);
  font-size: clamp(3rem, 5.5vw, 7rem);
  opacity: 0;
}
.work-sub-wrap {
  margin-top: 40px;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
}
.work-sub-wrap p {
  max-width: 24rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  line-height: 2.1;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.5);
}
@media (min-width: 768px) { .work-sub-wrap p { text-align: right; } }
.work-divider {
  margin-top: 40px;
  height: 1px;
  background: linear-gradient(to right, rgba(201,165,114,0.6), rgba(201,165,114,0.2), transparent);
  transform: scaleX(0);
  transform-origin: left center;
}

/* Cards grid */
.work-cards {
  padding: 48px 32px 128px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px)  { .work-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .work-cards { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 768px)  { .work-cards { padding: 56px 60px 160px; } }

.work-card {
  min-height: 280px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background: #0a0a0a;
  padding: 32px;
  opacity: 0;
  cursor: default;
  transition: border-color 0.5s, transform 0.5s;
}
.work-card:hover { transform: translateY(-4px); border-color: rgba(201,165,114,0.6); }
.work-card-icon {
  margin-bottom: 24px;
  color: var(--color-accent);
  width: 38px; height: 38px;
  stroke-width: 1.5;
}
.work-card .card-en {
  margin-bottom: 4px;
  font-family: var(--font-serif);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.work-card .card-ja {
  margin-bottom: 20px;
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-fg);
}
.work-card .card-desc {
  white-space: pre-line;
  font-size: 0.875rem;
  line-height: 1.9;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.6);
}

/* ══════════════════════════════════════════════════════════════
   RECRUIT
   ══════════════════════════════════════════════════════════════ */
.recruit-section {
  position: relative;
  display: flex;
  min-height: 75vh;
  align-items: center;
  overflow: hidden;
  background: #000;
}
.recruit-bg {
  position: absolute; inset: 0;
  transform: scale(1.1);
}
.recruit-bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.8;
  pointer-events: none;
}
.recruit-bg .scrim-lr {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.4), rgba(0,0,0,0.1));
}
.recruit-bg .scrim-bt {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent, rgba(0,0,0,0.2));
}

.recruit-content {
  position: relative; z-index: 10;
  width: 100%;
  padding: 96px 32px;
  opacity: 0;
}
@media (min-width: 768px) { .recruit-content { padding: 96px 60px; } }

.recruit-content .label {
  margin-bottom: 16px;
  font-family: var(--font-serif);
  font-size: 0.63rem;
  letter-spacing: 0.48em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.recruit-content h2 {
  margin-bottom: 24px;
  max-width: 36rem;
  font-family: var(--font-sans);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--color-fg);
  font-size: clamp(2rem, 4vw, 3.75rem);
}
.recruit-content .desc {
  margin-bottom: 48px;
  max-width: 28rem;
  font-size: 0.875rem;
  line-height: 2;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.5);
}

/* Recruit points */
.recruit-points {
  margin-top: 48px;
  margin-bottom: 56px;
  max-width: 32rem;
}
.recruit-point {
  display: flex;
  gap: 20px;
}
.recruit-point + .recruit-point { margin-top: 24px; }
.recruit-point .point-num {
  margin-top: 2px;
  flex-shrink: 0;
  font-family: var(--font-serif);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--color-accent);
}
.recruit-point .point-title {
  margin-bottom: 4px;
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  color: var(--color-fg);
}
.recruit-point .point-desc {
  font-size: 0.75rem;
  line-height: 1.625;
  color: rgba(255,255,255,0.4);
}

/* CTA buttons row */
.recruit-ctas {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 48px;
}
@media (min-width: 640px) { .recruit-ctas { flex-direction: row; flex-wrap: wrap; } }

/* ══════════════════════════════════════════════════════════════
   PILL BUTTON
   ══════════════════════════════════════════════════════════════ */
.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.4);
  padding: 12px 32px;
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  transition: border-color 0.3s, color 0.3s;
}
.pill-btn.dark {
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(4px);
  color: var(--color-fg);
}
.pill-btn.light {
  background: transparent;
  color: var(--color-fg);
}
.pill-btn:hover { border-color: var(--color-accent); color: var(--color-accent); }
.pill-btn .arrow-icon { transition: transform 0.3s; width: 16px; height: 16px; }
.pill-btn:hover .arrow-icon { transform: translateX(6px); }

/* ══════════════════════════════════════════════════════════════
   CONTACT (bottom section)
   ══════════════════════════════════════════════════════════════ */
.contact-section {
  position: relative;
  display: flex;
  min-height: 60vh;
  align-items: center;
}
.contact-content {
  position: relative; z-index: 10;
  width: 100%;
  padding: 96px 32px;
  opacity: 0;
}
@media (min-width: 768px) { .contact-content { padding: 96px 60px; } }
.contact-content .label {
  margin-bottom: 16px;
  font-family: var(--font-serif);
  font-size: 0.63rem;
  letter-spacing: 0.48em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.contact-content h2 {
  margin-bottom: 24px;
  font-family: var(--font-serif);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-fg);
  font-size: clamp(2rem, 4vw, 3.75rem);
  line-height: 1.15;
}
.contact-content .desc {
  margin-bottom: 48px;
  max-width: 28rem;
  font-size: 0.875rem;
  line-height: 2;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.5);
}
.contact-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(201,165,114,0.7);
  border-radius: 2px;
  padding: 22px 52px;
  background: linear-gradient(120deg, #dcbb82 0%, #c9a572 55%, #b8915c 100%);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #100d08;
  box-shadow: 0 12px 40px rgba(201,165,114,0.28);
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}
/* hover sheen sweep */
.contact-btn::before {
  content: "";
  position: absolute;
  top: 0; left: -130%;
  width: 55%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-22deg);
  transition: left 0.7s ease;
}
.contact-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 54px rgba(201,165,114,0.45);
  filter: brightness(1.06);
  color: #100d08;
}
.contact-btn:hover::before { left: 150%; }
.contact-btn svg { position: relative; width: 18px; height: 18px; transition: transform 0.3s; }
.contact-btn:hover svg { transform: translateX(6px); }

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
.site-footer {
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-main {
  padding: 32px;
}
@media (min-width: 768px) { .footer-main { padding: 40px 60px; } }
.footer-row {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (min-width: 768px) {
  .footer-row { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* Brand */
.footer-brand { flex-shrink: 0; }
.footer-brand:hover .brand-name { color: var(--color-accent); }
.brand-name {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.7);
  transition: color 0.3s;
}
@media (min-width: 768px) { .brand-name { font-size: 1.5rem; } }
.brand-tagline {
  margin-top: 4px;
  font-family: var(--font-serif);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.28);
  font-style: italic;
}

/* Footer nav */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 24px;
}
.footer-nav a {
  font-family: var(--font-sans);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  transition: color 0.3s;
}
.footer-nav a:hover { color: rgba(255,255,255,0.7); }

/* SNS */
.footer-sns {
  display: flex;
  align-items: center;
  gap: 20px;
}
.footer-sns a {
  color: rgba(255,255,255,0.25);
  transition: color 0.3s;
}
.footer-sns a:hover { color: var(--color-accent); }
.footer-sns svg { width: 15px; height: 15px; }

/* Copyright */
.footer-copy-bar {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 12px 32px;
}
@media (min-width: 768px) { .footer-copy-bar { padding: 12px 60px; } }
.footer-copy-bar p {
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.52rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.18);
}

/* ══════════════════════════════════════════════════════════════
   CONTACT + FOOTER WRAPPER (shared bg)
   ══════════════════════════════════════════════════════════════ */
.contact-footer-wrap {
  position: relative;
  overflow: hidden;
}
.contact-footer-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.78;
  pointer-events: none;
  user-select: none;
}
.contact-footer-scrim-lr {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.4), rgba(0,0,0,0.1));
}
.contact-footer-scrim-bt {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent, rgba(0,0,0,0.2));
}

/* ══════════════════════════════════════════════════════════════
   CTA PULSE ANIMATION
   ══════════════════════════════════════════════════════════════ */
@keyframes ctaPulse {
  0%, 100% { transform: scale(1);    box-shadow: 0 0 24px rgba(201,165,114,0.30); }
  50%       { transform: scale(1.03); box-shadow: 0 0 48px rgba(201,165,114,0.55); }
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE LINE BREAKS
   PC幅に合わせた文中の改行(br.pc)は、SPでは解除して自然に折り返す
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  br.pc { display: none; }
}
