/* ============================================================
   株式会社LUMS - コーポレートサイト メインスタイルシート
   style.css
   ============================================================ */

/* ----------------------------------------
   CSS Custom Properties (Variables)
---------------------------------------- */
:root {
  /* Colors */
  --color-bg:       #f8f8f6;
  --color-white:    #ffffff;
  --color-black:    #0a0a0a;
  --color-text:     #1a1a1a;
  --color-text-mid: #555555;
  --color-text-sub: #888888;
  --color-accent:   #b8964e;      /* ゴールド系アクセント */
  --color-accent2:  #2d2d2d;      /* ダークグレー */
  --color-border:   #e0e0e0;
  --color-border-light: #f0f0ee;
  --color-grid:     rgba(0, 0, 0, 0.04);

  /* Typography */
  --font-en:   'Montserrat', 'Bebas Neue', sans-serif;
  --font-ja:   'Noto Sans JP', sans-serif;
  --font-hero: 'Bebas Neue', 'Montserrat', sans-serif;

  /* Spacing */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  40px;
  --space-xxl: 80px;
  --space-3xl: 120px;

  /* Layout */
  --max-width:    1200px;
  --header-h:     72px;

  /* Transitions */
  --ease:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease2: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-ja);
  font-weight: 400;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.8;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

/* ----------------------------------------
   Typography
---------------------------------------- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.3;
}

.en { font-family: var(--font-en); }

/* ----------------------------------------
   HEADER
---------------------------------------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10000;
  height: var(--header-h);
  background: rgba(248, 248, 246, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: all 0.3s var(--ease);
}

.header.scrolled {
  background: rgba(248, 248, 246, 0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 100%;
  padding: 0 var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.logo:hover { opacity: 0.7; }

.logo-main {
  font-family: var(--font-hero);
  font-size: 1.75rem;
  letter-spacing: 0.12em;
  color: var(--color-black);
  display: block;
}

.logo-sub {
  font-family: var(--font-en);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  color: var(--color-text-sub);
  display: block;
  margin-top: 2px;
  font-weight: 500;
}

/* Nav */
.nav { flex: 1; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-link {
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-mid);
  padding: 4px 12px;
  position: relative;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 12px; right: 12px;
  height: 1px;
  background: var(--color-black);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-black);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-ruffhouse {
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  border-radius: 2px;
  padding: 3px 10px;
  margin-left: 4px;
  font-size: 0.68rem;
}
.nav-ruffhouse:hover {
  background: var(--color-accent);
  color: var(--color-white);
}
.nav-ruffhouse::after { display: none; }

/* Header CTA */
.btn-contact-header {
  flex-shrink: 0;
  background: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-ja);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 10px 20px;
  letter-spacing: 0.05em;
  transition: background 0.25s, transform 0.2s;
  white-space: nowrap;
}
.btn-contact-header:hover {
  background: var(--color-accent2);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
  position: relative;
  z-index: 10000;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--color-black);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ----------------------------------------
   Buttons
---------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ja);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 14px 28px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  border: 2px solid transparent;
  border-radius: 2px;
}

.btn-primary {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}
.btn-primary:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-outline {
  background: transparent;
  color: var(--color-black);
  border-color: var(--color-black);
}
.btn-outline:hover {
  background: var(--color-black);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-sm { padding: 8px 18px; font-size: 0.8rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* ----------------------------------------
   SECTIONS - Common
---------------------------------------- */
.section {
  padding: var(--space-3xl) 0;
}

.section:nth-child(even) {
  background: var(--color-white);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* Section Head */
.section-head {
  margin-bottom: var(--space-xxl);
  position: relative;
  padding-left: 20px;
}

.section-head::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 4px;
  height: calc(100% - 6px);
  background: var(--color-black);
}

.section-label {
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-text-sub);
  display: block;
  margin-bottom: 6px;
}

.section-title-en {
  font-family: var(--font-hero);
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 0.1em;
  line-height: 1;
  color: var(--color-black);
}

.section-title-ja {
  font-size: 0.9rem;
  color: var(--color-text-sub);
  margin-top: 6px;
  letter-spacing: 0.1em;
}

/* ----------------------------------------
   HERO
---------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: var(--header-h) 0 0;
  background: var(--color-bg);
}

/* Grid Background */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--color-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-grid) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-xxl) var(--space-lg);
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--space-xxl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-label {
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--color-text-sub);
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
}

.hero-title {
  line-height: 0.9;
  margin-bottom: var(--space-md);
}

.hero-title-en {
  display: block;
  font-family: var(--font-ja);
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  font-weight: 400;
  color: var(--color-text-mid);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.hero-title-main {
  display: block;
  font-family: var(--font-hero);
  font-size: clamp(5rem, 12vw, 9rem);
  letter-spacing: 0.05em;
  color: var(--color-black);
  line-height: 0.85;
}

.hero-tagline {
  font-family: var(--font-en);
  font-size: clamp(0.7rem, 1.2vw, 0.85rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-text-sub);
  margin-bottom: var(--space-xl);
  text-transform: uppercase;
}

.hero-desc {
  font-size: clamp(0.875rem, 1.4vw, 1rem);
  color: var(--color-text-mid);
  line-height: 2;
  margin-bottom: var(--space-xl);
}

.hero-btns {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.stat-item {
  border-left: 3px solid var(--color-black);
  padding-left: var(--space-lg);
}

.stat-year,
.stat-num {
  display: block;
  font-family: var(--font-hero);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  letter-spacing: 0.05em;
  color: var(--color-black);
  line-height: 1;
}

.stat-label {
  display: block;
  font-family: var(--font-en);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--color-text-sub);
  margin-top: 4px;
  font-weight: 500;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
}

.scroll-text {
  font-family: var(--font-en);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  color: var(--color-text-sub);
  font-weight: 600;
}

.scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--color-text-sub), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50%       { opacity: 0.4; transform: scaleY(0.8); }
}

/* ----------------------------------------
   PHILOSOPHY
---------------------------------------- */
.philosophy-body {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-xxl);
  align-items: start;
}

.philosophy-quote {
  background: var(--color-black);
  color: var(--color-white);
  padding: var(--space-xxl) var(--space-xl);
  position: relative;
}

.philosophy-quote::before {
  content: '\201C';
  position: absolute;
  top: -20px; left: var(--space-xl);
  font-size: 8rem;
  color: var(--color-accent);
  font-family: Georgia, serif;
  line-height: 1;
  opacity: 0.6;
}

.philosophy-quote blockquote p {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.philosophy-quote blockquote cite {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  font-style: normal;
  letter-spacing: 0.05em;
}

.philosophy-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  padding-top: var(--space-sm);
}

.philosophy-block {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-lg);
}

.block-title {
  font-family: var(--font-en);
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  color: var(--color-black);
  margin-bottom: var(--space-md);
  font-weight: 700;
}

.philosophy-block p {
  font-size: 0.925rem;
  color: var(--color-text-mid);
  line-height: 2;
}

/* ----------------------------------------
   SERVICES / BUSINESS
---------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--color-border);
  margin-bottom: var(--space-xxl);
  border: 1px solid var(--color-border);
}

.service-card {
  background: var(--color-white);
  padding: var(--space-xl) var(--space-xl);
  transition: background 0.3s;
}

.service-card:hover {
  background: var(--color-black);
}

.service-card:hover .service-num,
.service-card:hover .service-title-en,
.service-card:hover .service-title-ja,
.service-card:hover .service-list li {
  color: var(--color-white);
}

.service-card:hover .service-list li::before {
  background: var(--color-accent);
}

.service-card-head {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border-light);
}

.service-card:hover .service-card-head {
  border-color: rgba(255,255,255,0.15);
}

.service-num {
  font-family: var(--font-hero);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--color-text-sub);
  display: block;
  margin-bottom: 6px;
  transition: color 0.3s;
}

.service-title-en {
  font-family: var(--font-en);
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  color: var(--color-black);
  font-weight: 700;
  transition: color 0.3s;
}

.service-title-ja {
  font-size: 0.82rem;
  color: var(--color-text-sub);
  margin-top: 4px;
  transition: color 0.3s;
}

.service-list li {
  font-size: 0.875rem;
  color: var(--color-text-mid);
  padding: 6px 0;
  padding-left: 14px;
  position: relative;
  transition: color 0.3s;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 1px;
  background: var(--color-black);
  transition: background 0.3s;
}

/* Strengths */
.strengths {
  padding-top: var(--space-xxl);
  border-top: 1px solid var(--color-border);
}

.strengths-title {
  font-family: var(--font-en);
  font-size: 1.3rem;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-xl);
  color: var(--color-black);
  font-weight: 700;
}

.strengths-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-lg);
}

.strength-item {
  padding: var(--space-lg);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  transition: border-color 0.3s, transform 0.3s;
}

.strength-item:hover {
  border-color: var(--color-black);
  transform: translateY(-4px);
}

.strength-num {
  font-family: var(--font-hero);
  font-size: 2rem;
  color: var(--color-border);
  display: block;
  margin-bottom: var(--space-md);
  line-height: 1;
}

.strength-item h4 {
  font-size: 0.88rem;
  margin-bottom: var(--space-sm);
  color: var(--color-black);
}

.strength-item p {
  font-size: 0.8rem;
  color: var(--color-text-sub);
  line-height: 1.8;
}

/* ----------------------------------------
   WORKS
---------------------------------------- */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.work-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.work-img-wrap {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-border-light);
}

.work-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.work-card:hover .work-img-wrap img {
  transform: scale(1.05);
}

.work-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8e8e6 0%, #d4d4d2 100%);
}

.work-img-label {
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--color-text-sub);
  font-weight: 600;
}

.work-body {
  padding: var(--space-lg);
}

.work-year {
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  display: block;
  margin-bottom: 8px;
}

.work-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 8px;
  line-height: 1.5;
}

.work-role {
  font-size: 0.78rem;
  color: var(--color-text-sub);
  font-weight: 500;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
  padding: 3px 8px;
  background: var(--color-bg);
  display: inline-block;
}

.work-desc {
  font-size: 0.825rem;
  color: var(--color-text-mid);
  line-height: 1.8;
  margin-top: 8px;
}

.works-more {
  text-align: center;
  margin-top: var(--space-xl);
  font-family: var(--font-en);
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  color: var(--color-text-sub);
  font-weight: 500;
  padding: var(--space-lg);
  border: 1px dashed var(--color-border);
}

/* ----------------------------------------
   CASTING
---------------------------------------- */
.casting-intro {
  max-width: 700px;
  margin-bottom: var(--space-xxl);
}

.casting-intro p {
  font-size: 1rem;
  color: var(--color-text-mid);
  line-height: 2;
}

.casting-categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-xxl);
}

.casting-cat {
  border: 1px solid var(--color-border);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  background: var(--color-bg);
  transition: all 0.3s;
}

.casting-cat:hover {
  background: var(--color-black);
  border-color: var(--color-black);
  transform: translateY(-4px);
}

.casting-cat i {
  font-size: 1.8rem;
  color: var(--color-accent);
  margin-bottom: var(--space-lg);
  display: block;
  transition: color 0.3s;
}

.casting-cat:hover i { color: var(--color-white); }

.casting-cat h4 {
  font-size: 0.95rem;
  margin-bottom: var(--space-sm);
  color: var(--color-black);
  transition: color 0.3s;
}
.casting-cat:hover h4 { color: var(--color-white); }

.casting-cat p {
  font-size: 0.8rem;
  color: var(--color-text-sub);
  line-height: 1.7;
  transition: color 0.3s;
}
.casting-cat:hover p { color: rgba(255,255,255,0.7); }

.casting-cta { text-align: center; }

/* ----------------------------------------
   CEO
---------------------------------------- */
.ceo-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-xxl);
  align-items: start;
}

.ceo-photo-wrap {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--color-border-light);
  position: relative;
}

.ceo-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.ceo-photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
  color: var(--color-white);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* Hide placeholder when image loads */
.ceo-photo-wrap img + .ceo-photo-placeholder { display: none; }

.ceo-name-block {
  margin-top: var(--space-lg);
  padding-left: 4px;
}

.ceo-name-ja {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-black);
  letter-spacing: 0.08em;
}

.ceo-name-en {
  font-family: var(--font-en);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  color: var(--color-text-sub);
  margin-top: 4px;
  font-weight: 500;
}

.ceo-position {
  font-size: 0.78rem;
  color: var(--color-text-sub);
  margin-top: 6px;
  letter-spacing: 0.08em;
}

.ceo-desc {
  font-size: 0.925rem;
  color: var(--color-text-mid);
  line-height: 2.1;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-border);
}

/* CEO Timeline */
.ceo-timeline {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ceo-timeline li {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border-light);
}

.timeline-dot {
  width: 28px;
  height: 28px;
  border: 2px solid var(--color-border);
  border-radius: 50%;
  flex-shrink: 0;
}

.timeline-year {
  width: 28px;
  height: 28px;
  background: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-hero);
  font-size: 0.6rem;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
}

.timeline-text {
  font-size: 0.88rem;
  color: var(--color-text-mid);
}

/* ----------------------------------------
   COMPANY
---------------------------------------- */
.company-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xxl);
  align-items: start;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
  font-size: 0.9rem;
}

.company-table th {
  width: 140px;
  color: var(--color-text-sub);
  font-weight: 500;
  white-space: nowrap;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}

.company-table td {
  color: var(--color-text);
}

.company-table td a {
  color: var(--color-black);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.company-table td a:hover { color: var(--color-accent); }

.map-placeholder {
  background: var(--color-border-light);
  border: 1px solid var(--color-border);
  padding: var(--space-xxl) var(--space-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-lg);
  min-height: 300px;
}

.map-placeholder i {
  font-size: 2.5rem;
  color: var(--color-text-sub);
}

.map-placeholder p {
  font-size: 0.9rem;
  color: var(--color-text-mid);
}

/* ----------------------------------------
   CONTACT
---------------------------------------- */
.contact-intro {
  max-width: 600px;
  font-size: 1rem;
  color: var(--color-text-mid);
  line-height: 2;
  margin-bottom: var(--space-xxl);
}

.contact-form {
  max-width: 780px;
  margin-bottom: var(--space-xl);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.required {
  color: #c0392b;
  font-size: 0.75rem;
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-text);
  font-family: var(--font-ja);
  font-size: 0.9rem;
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-black);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #c0392b;
}

.form-group textarea {
  resize: vertical;
  min-height: 160px;
}

.form-submit {
  padding-top: var(--space-md);
}

.contact-success {
  background: #f0f8f0;
  border: 1px solid #b8d8b8;
  padding: var(--space-xxl);
  text-align: center;
  max-width: 780px;
}

.contact-success i {
  font-size: 3rem;
  color: #2ecc71;
  margin-bottom: var(--space-lg);
  display: block;
}

.contact-success p {
  color: var(--color-text-mid);
  line-height: 2;
}

.contact-info {
  display: flex;
  gap: var(--space-xxl);
  margin-top: var(--space-xxl);
  padding-top: var(--space-xxl);
  border-top: 1px solid var(--color-border);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
}

.contact-info-item > i {
  font-size: 1.2rem;
  color: var(--color-text-sub);
  margin-top: 4px;
  width: 20px;
  text-align: center;
}

.contact-info-label {
  font-size: 0.78rem;
  color: var(--color-text-sub);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.contact-info-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-black);
  transition: color 0.2s;
}

.contact-info-value:hover { color: var(--color-accent); }

/* ----------------------------------------
   FOOTER
---------------------------------------- */
.footer {
  background: var(--color-black);
  color: var(--color-white);
  padding: var(--space-xxl) 0 var(--space-xl);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-xxl);
  padding-bottom: var(--space-xxl);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  flex-wrap: wrap;
  gap: var(--space-xl);
}

.footer-logo .logo-main {
  color: var(--color-white);
  font-size: 2.2rem;
}

.footer-logo .logo-sub {
  color: rgba(255,255,255,0.4);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-xl);
  align-items: center;
}

.footer-nav a {
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
  font-weight: 500;
  text-transform: uppercase;
}

.footer-nav a:hover { color: var(--color-white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-address {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
}

.footer-copy {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.06em;
}

/* ----------------------------------------
   BACK TO TOP
---------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  width: 48px;
  height: 48px;
  background: var(--color-black);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s var(--ease);
  z-index: 999;
  font-size: 0.9rem;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-accent);
  transform: translateY(-3px);
}

/* ----------------------------------------
   WORKS - わっしょい画像スライダー
---------------------------------------- */
.wasshoi-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: #111;
}

.wasshoi-slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.wasshoi-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  flex-shrink: 0;
}

.wasshoi-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.wasshoi-slide-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0,0,0,0.72);
  color: #fff;
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 5px 12px;
  backdrop-filter: blur(4px);
}

.wasshoi-prev,
.wasshoi-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  z-index: 10;
  transition: background 0.2s;
  backdrop-filter: blur(4px);
}
.wasshoi-prev { left: 10px; }
.wasshoi-next { right: 10px; }
.wasshoi-prev:hover,
.wasshoi-next:hover { background: rgba(0,0,0,0.85); }

.wasshoi-dots {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  gap: 6px;
  z-index: 10;
}

.wasshoi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.wasshoi-dot.active {
  background: #fff;
  transform: scale(1.2);
}

/* ----------------------------------------
   WORKS - 3列動画グリッド（平尾台フェス）
---------------------------------------- */
.work-video-row3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}

/* ----------------------------------------
   CASTING - グリッド 14枚対応レスポンシブ
---------------------------------------- */
.casting-artists {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xxl);
}

.artist-card {
  display: block;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  text-decoration: none;
  transition: all 0.28s var(--ease);
  position: relative;
  overflow: hidden;
}

.artist-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-black);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.28s var(--ease);
  z-index: 0;
}

.artist-card:hover::before { transform: scaleY(1); }

.artist-card:hover {
  border-color: var(--color-black);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.artist-card-inner {
  padding: var(--space-lg) var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.artist-card i {
  font-size: 1.4rem;
  color: var(--color-text-sub);
  transition: color 0.28s;
}
.artist-card:hover i { color: var(--color-white); }

.artist-name {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-black);
  line-height: 1.3;
  transition: color 0.28s;
}
.artist-card:hover .artist-name { color: var(--color-white); }

.artist-insta {
  display: block;
  font-family: var(--font-en);
  font-size: 0.65rem;
  color: var(--color-text-sub);
  letter-spacing: 0.05em;
  transition: color 0.28s;
}
.artist-card:hover .artist-insta { color: rgba(255,255,255,0.65); }

/* "他多数" card */
.artist-card-more {
  cursor: default;
  border-style: dashed;
}
.artist-card-more::before { display: none; }
.artist-card-more:hover { transform: none; box-shadow: none; border-color: var(--color-border); }
.artist-card-more .artist-card-inner i { color: var(--color-border); }
.artist-card-more .artist-name { color: var(--color-text-sub); }

/* ----------------------------------------
   WORKS - Featured (写真・動画)
---------------------------------------- */
.work-featured {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-xxl);
  align-items: center;
  margin-bottom: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid var(--color-border);
}

.work-featured:last-of-type {
  /* border-bottomは維持 */
}

.work-featured-reverse {
  grid-template-columns: 1fr 1fr;
}
.work-featured-reverse .work-featured-media { order: 2; }
.work-featured-reverse .work-featured-body  { order: 1; }

/* 写真プレースホルダー */
.work-img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  background: linear-gradient(135deg, #e8e8e6 0%, #d4d4d2 100%);
  border: 2px dashed var(--color-border);
}

.work-img-tall {
  aspect-ratio: 4 / 3;
  width: 100%;
}

.work-img-placeholder i {
  font-size: 2.5rem;
  color: var(--color-text-sub);
}

.work-img-placeholder span {
  font-family: var(--font-en);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  color: var(--color-text-sub);
  font-weight: 600;
}

.work-img-placeholder small {
  font-size: 0.7rem;
  color: var(--color-text-sub);
  text-align: center;
  padding: 0 var(--space-lg);
}

/* YouTube 動画ラッパー */
.work-video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  overflow: hidden;
  background: #000;
}

.work-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.work-video-wrap-single {
  /* 単体動画 – そのまま */
}

/* 複数動画レイアウト（平尾台フェス用） */
.work-video-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.work-video-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.work-video-item {
  position: relative;
}

.work-video-year-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  background: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-hero);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  pointer-events: none;
}

/* 縦1カラムレイアウト（タイトル上・メディア下） */
.work-featured-stack {
  display: block;
  margin-bottom: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid var(--color-border);
}

.work-featured-stack .work-featured-body {
  margin-bottom: var(--space-xl);
}

.work-featured-stack .work-featured-media {
  width: 100%;
}

/* Featured テキスト */
.work-featured-title {
  font-family: var(--font-hero);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: var(--color-black);
  margin: var(--space-md) 0 var(--space-md);
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--space-lg);
}

.work-tag {
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-black);
  border: 1px solid var(--color-black);
  padding: 3px 10px;
  display: inline-block;
}

/* ----------------------------------------
   WORKS - テキストのみカード
---------------------------------------- */
.works-text-section {
  padding-top: var(--space-xxl);
}

.works-text-title {
  font-family: var(--font-en);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-black);
  margin-bottom: var(--space-xl);
}

.works-text-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.work-text-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  padding: var(--space-xl);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.work-text-card:hover {
  border-color: var(--color-black);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.07);
}

.work-text-head {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border-light);
}

.work-text-num {
  font-family: var(--font-hero);
  font-size: 1.5rem;
  color: var(--color-border);
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.work-text-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-black);
  line-height: 1.5;
  margin-bottom: 4px;
}

.work-text-role {
  font-size: 0.72rem;
  color: var(--color-accent);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.work-text-desc {
  font-size: 0.82rem;
  color: var(--color-text-mid);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.work-text-list {
  margin-bottom: var(--space-md);
}

.work-text-list li {
  font-size: 0.8rem;
  color: var(--color-text-mid);
  padding: 4px 0 4px 14px;
  position: relative;
  border-bottom: 1px solid var(--color-border-light);
}

.work-text-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 1px;
  background: var(--color-accent);
}

.work-text-points {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.work-text-points span {
  font-size: 0.75rem;
  color: var(--color-text-sub);
  line-height: 1.6;
}

/* ----------------------------------------
   COMPANY - 単段レイアウト
---------------------------------------- */
.company-body-single {
  grid-template-columns: 1fr !important;
  max-width: 700px;
}

/* ----------------------------------------
   Scroll Reveal Animation
---------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease2), transform 0.7s var(--ease2);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ----------------------------------------
   RESPONSIVE - Tablet (max 1024px)
---------------------------------------- */
@media (max-width: 1024px) {
  :root {
    --space-3xl: 80px;
    --space-xxl: 60px;
  }

  .nav-list { gap: 0; }
  .nav-link { padding: 4px 8px; font-size: 0.65rem; }

  .hero-inner {
    grid-template-columns: 1fr 260px;
    gap: var(--space-xl);
  }

  .philosophy-body {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .strengths-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Works Featured */
  .works-text-grid { grid-template-columns: repeat(2, 1fr); }
  .casting-artists { grid-template-columns: repeat(4, 1fr); }
  .work-video-row3 { grid-template-columns: repeat(3, 1fr); }

  .ceo-body {
    grid-template-columns: 240px 1fr;
    gap: var(--space-xl);
  }

  .company-body {
    grid-template-columns: 1fr;
  }

  .casting-categories {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ----------------------------------------
   RESPONSIVE - Mobile (max 768px)
---------------------------------------- */
@media (max-width: 768px) {
  :root {
    --space-3xl: 60px;
    --space-xxl: 48px;
    --header-h: 60px;
  }

  /* Header */
  .nav,
  .btn-contact-header {
    display: none;
  }

  .hamburger { display: flex; }

  /* Mobile Nav Open */
  .nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    bottom: 0;
    background: var(--color-bg);
    padding: var(--space-xl) var(--space-lg);
    overflow-y: auto;
    z-index: 999;
    border-top: 1px solid var(--color-border);
  }

  .nav.open .nav-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .nav.open .nav-list li {
    width: 100%;
    display: block;
  }

  .nav.open .nav-link {
    display: block;
    width: 100%;
    font-size: 1.2rem;
    padding: 18px 0;
    border-bottom: 1px solid var(--color-border);
    letter-spacing: 0.1em;
    color: var(--color-black);
    white-space: nowrap;
  }

  .nav.open .nav-ruffhouse {
    color: var(--color-accent);
    background: none;
    border-bottom: 1px solid var(--color-border);
    padding: 18px 0;
    margin: 0;
    font-size: 1.2rem;
  }

  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr;
    padding: var(--space-xl) var(--space-lg);
  }

  .hero-title-main { font-size: clamp(4rem, 18vw, 7rem); }

  .hero-right { display: none; }

  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }

  .hero-scroll { display: none; }

  /* Philosophy */
  .philosophy-body {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .strengths-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Works */
  .work-featured {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .work-featured-reverse .work-featured-media { order: 1; }
  .work-featured-reverse .work-featured-body  { order: 2; }
  .works-text-grid { grid-template-columns: 1fr; }
  .work-video-row2 { grid-template-columns: 1fr 1fr; }
  .work-video-row3 { grid-template-columns: 1fr; }

  /* わっしょいスライダー：スマホでは横長に */
  .wasshoi-slider {
    aspect-ratio: 16 / 9;
  }
  .wasshoi-slide img {
    object-position: center center;
  }

  /* Casting */
  .casting-artists { grid-template-columns: repeat(3, 1fr); }

  /* CEO */
  .ceo-body {
    grid-template-columns: 1fr;
  }

  .ceo-photo { display: flex; gap: var(--space-xl); align-items: flex-end; }
  .ceo-photo-wrap { width: 160px; flex-shrink: 0; }

  /* Company */
  .company-body { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  /* Contact info */
  .contact-info { flex-direction: column; gap: var(--space-lg); }

  /* Footer */
  .footer-top { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Back to top */
  .back-to-top { bottom: var(--space-lg); right: var(--space-lg); }
}

/* ----------------------------------------
   RESPONSIVE - Small Mobile (max 480px)
---------------------------------------- */
@media (max-width: 480px) {
  .strengths-grid { grid-template-columns: 1fr; }
  .casting-artists { grid-template-columns: repeat(2, 1fr); }
  .works-text-grid { grid-template-columns: 1fr; }
  .work-video-row2 { grid-template-columns: 1fr; }
  .work-video-row3 { grid-template-columns: 1fr; }
  .wasshoi-slider { aspect-ratio: 4 / 3; }
  .ceo-photo { flex-direction: column; }
  .ceo-photo-wrap { width: 100%; max-width: 220px; }
  .company-table th { width: 100px; font-size: 0.78rem; }
}
