/*
Theme Name: Left Sense
Theme URI: https://leftsense.jp/
Author: Left Sense
Author URI: https://leftsense.jp/
Description: Left Sense公式サイト用カスタムテーマ
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: leftsense
*/

:root {
  --black: #0a0a0a;
  --dark: #111111;
  --card: #1a1a1a;
  --border: #2e2e2e;
  --white: #f5f5f5;
  --gray: #999;
  --accent: #ffffff;
  --accent2: #aaaaaa;
  --font-display: 'Oswald', sans-serif;
  --font-condensed: 'Barlow Condensed', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* Accessibility */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px; width: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  position: absolute !important;
  word-wrap: normal !important;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 99999;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  background: #fff;
  color: #000;
  padding: 10px 16px;
  clip: auto;
  clip-path: none;
  width: auto;
  height: auto;
  font-family: var(--font-condensed);
  letter-spacing: 2px;
  text-decoration: none;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
  cursor: none;
}

/* Custom cursor */
.cursor {
  width: 12px; height: 12px;
  background: var(--white);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s ease;
  mix-blend-mode: difference;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transition: all 0.12s ease;
  opacity: 0.5;
}

/* NAV */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 48px;
  mix-blend-mode: normal;
}
nav.site-nav::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.95) 0%, transparent 100%);
  pointer-events: none;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--white);
  text-decoration: none;
  position: relative; z-index: 1;
}
.nav-logo span { color: var(--gray); }
.nav-links {
  display: flex; gap: 40px;
  list-style: none;
  position: relative; z-index: 1;
}
.nav-links a {
  font-family: var(--font-condensed);
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--gray);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

/* HERO */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex; align-items: center;
  padding-top: 96px;
  padding-bottom: 100px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: var(--black);
}
/* Speed lines */
.speed-lines {
  position: absolute; inset: 0;
  overflow: hidden;
  opacity: 0.07;
}
.speed-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--white), transparent);
  animation: speedLine 2s linear infinite;
}
@keyframes speedLine {
  0% { transform: translateX(-100%); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateX(200%); opacity: 0; }
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
}
.hero-accent-bar {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 4px;
  background: #444;
}
.hero-content {
  position: relative; z-index: 2;
  padding: 0 48px;
  max-width: 900px;
}
.hero-eyebrow {
  font-family: var(--font-condensed);
  font-size: 12px;
  letter-spacing: 6px;
  color: var(--gray);
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 16px;
  animation: fadeUp 0.8s ease forwards;
  opacity: 0;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px; height: 1px;
  background: var(--gray);
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(80px, 13vw, 180px);
  line-height: 0.9;
  letter-spacing: -2px;
  color: var(--white);
  animation: fadeUp 0.8s ease 0.1s forwards;
  opacity: 0;
}
.hero-title .accent-word { color: var(--accent); }
.hero-title .outline-word {
  -webkit-text-stroke: 1px var(--white);
  color: transparent;
}
.hero-sub {
  margin-top: 32px;
  font-family: var(--font-condensed);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 2px;
  color: var(--gray);
  max-width: 480px;
  line-height: 1.8;
  animation: fadeUp 0.8s ease 0.2s forwards;
  opacity: 0;
}
.hero-cta {
  margin-top: 48px;
  display: flex; gap: 20px;
  animation: fadeUp 0.8s ease 0.3s forwards;
  opacity: 0;
}
.btn-primary {
  font-family: var(--font-condensed);
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--black);
  background: var(--white);
  padding: 14px 36px;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
}
.btn-primary:hover { background: var(--gray); color: var(--black); }
.btn-ghost {
  font-family: var(--font-condensed);
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--white);
  border: 1px solid var(--border);
  padding: 14px 36px;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
}
.btn-ghost:hover { border-color: var(--white); color: var(--white); }
.hero-scroll {
  position: absolute;
  bottom: 40px; left: 48px;
  font-family: var(--font-condensed);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--gray);
  display: flex; align-items: center; gap: 12px;
  animation: fadeUp 0.8s ease 0.5s forwards;
  opacity: 0;
}
.hero-scroll::after {
  content: '';
  display: block;
  width: 40px; height: 1px;
  background: var(--gray);
  animation: scrollLine 1.5s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { width: 20px; }
  50% { width: 50px; }
}
.hero-number {
  position: absolute;
  right: 48px; bottom: 40px;
  font-family: var(--font-display);
  font-size: 120px;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  user-select: none;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* PHILOSOPHY */
.philosophy {
  padding: 160px 48px;
  position: relative;
  overflow: hidden;
}
.philosophy::before {
  content: 'PHILOSOPHY';
  position: absolute;
  top: 60px; left: -10px;
  font-family: var(--font-display);
  font-size: 200px;
  color: rgba(255,255,255,0.02);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}
.section-label {
  font-family: var(--font-condensed);
  font-size: 11px;
  letter-spacing: 6px;
  color: var(--gray);
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 64px;
}
.section-label::before {
  content: '';
  display: block;
  width: 30px; height: 1px;
  background: var(--gray);
}
.philosophy-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 6vw, 96px);
  line-height: 0.9;
  margin-bottom: 64px;
}
.philosophy-title-outline {
  -webkit-text-stroke: 1px var(--white);
  color: transparent;
  display: block;
}
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  max-width: 1200px;
}
.phil-card {
  background: var(--card);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.phil-card:hover { background: #1a1a1a; }
.phil-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--white);
  transition: height 0.4s ease;
}
.phil-card:hover::before { height: 100%; }
.phil-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 80px;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  margin-bottom: 24px;
}
.phil-title {
  font-family: var(--font-condensed);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 20px;
  color: var(--white);
}
.phil-body {
  font-size: 14px;
  line-height: 2;
  color: var(--gray);
  font-weight: 300;
}

/* SERVICES */
.services {
  padding: 160px 48px;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.services::before {
  content: 'SERVICES';
  position: absolute;
  top: 60px; right: -20px;
  font-family: var(--font-display);
  font-size: 200px;
  color: rgba(255,255,255,0.02);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}
.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 80px;
  max-width: 1200px;
}
.services-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 6vw, 96px);
  line-height: 0.9;
}
.services-title .line2 {
  -webkit-text-stroke: 1px var(--white);
  color: transparent;
}
.services-desc {
  max-width: 500px;
  font-size: 13px;
  line-height: 2;
  color: var(--gray);
  font-weight: 300;
  margin-top: 24px;
}
.service-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  max-width: 1200px;
}
.service-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--card);
  text-decoration: none;
  display: block;
}
.service-card-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
  filter: brightness(0.3) saturate(0.5);
}
.service-card:hover .service-card-img {
  transform: scale(1.05);
  filter: brightness(0.4) saturate(0.7);
}
.service-card-mki { object-position: center 30%; }
.service-card-content {
  position: absolute; inset: 0;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
  z-index: 2;
}
.service-tag {
  font-family: var(--font-condensed);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--gray);
  margin-bottom: 12px;
}
.service-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 48px;
  line-height: 1;
  color: var(--white);
  margin-bottom: 16px;
}
.service-text {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(240,237,232,0.7);
  max-width: 380px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease;
}
.service-card:hover .service-text {
  opacity: 1;
  transform: translateY(0);
}
.service-arrow {
  position: absolute;
  top: 48px; right: 48px;
  width: 48px; height: 48px;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 20px;
  transition: all 0.3s;
  z-index: 2;
}
.service-card:hover .service-arrow {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}

.service-units {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 1200px;
}
.service-unit {
  display: flex;
  flex-direction: column;
}
.service-unit .service-card {
  aspect-ratio: 4/3;
  flex-shrink: 0;
}
.service-unit .mkt-feat {
  flex: 1;
  border-left: none;
  border-top: none;
}

.service-cards--3col {
  grid-template-columns: repeat(3, 1fr);
}
.service-cards--3col .service-card { aspect-ratio: 3/4; }

/* MARKETING DETAIL */
.mkt-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 1200px;
  margin-top: 2px;
}
.mkt-feat {
  background: var(--card);
  padding: 40px;
  border-left: 1px solid var(--border);
  transition: background 0.3s;
}
.mkt-feat:first-child { border-left: none; }
.mkt-feat:hover { background: #1a1a1a; }
.mkt-feat-icon {
  font-size: 28px;
  margin-bottom: 20px;
  display: block;
}
.mkt-feat-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 56px;
  color: rgba(255,255,255,0.08);
  line-height: 1;
  margin-bottom: 16px;
  display: block;
  transition: color 0.3s;
}
.mkt-feat:hover .mkt-feat-num {
  color: rgba(255,255,255,0.18);
}
.mkt-feat-title {
  font-family: var(--font-condensed);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.mkt-feat-text {
  font-size: 13px;
  line-height: 2;
  color: var(--gray);
  font-weight: 300;
}

/* CEO */
.ceo-section {
  padding: 160px 48px;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.ceo-section::before {
  content: 'CEO';
  position: absolute;
  top: 40px; right: -20px;
  font-family: var(--font-display);
  font-size: 220px;
  color: rgba(255,255,255,0.02);
  user-select: none;
  pointer-events: none;
}
.ceo-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
  max-width: 1200px;
  margin: 0 auto;
}
.ceo-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(56px, 6vw, 90px);
  line-height: 0.9;
  margin-top: 32px;
  margin-bottom: 32px;
  color: var(--white);
}
.ceo-title-outline {
  -webkit-text-stroke: 1px var(--white);
  color: transparent;
  display: block;
}
.ceo-name {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: 4px;
  color: var(--white);
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.ceo-name-en {
  font-family: var(--font-condensed);
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--gray);
  font-weight: 300;
  text-transform: uppercase;
}
.ceo-bio {
  font-size: 14px;
  line-height: 2.2;
  color: var(--gray);
  font-weight: 300;
  margin-bottom: 32px;
  border-left: 2px solid var(--border);
  padding-left: 24px;
}
.ceo-quote {
  font-family: var(--font-condensed);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.9;
  color: var(--white);
  letter-spacing: 1px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
}
.timeline-label {
  font-family: var(--font-condensed);
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 40px;
}
.timeline { position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 54px; top: 0; bottom: 0;
  width: 1px;
  background: var(--border);
}
.tl-item {
  display: flex;
  gap: 32px;
  margin-bottom: 36px;
  position: relative;
}
.tl-year {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 1px;
  color: var(--gray);
  min-width: 54px;
  padding-top: 2px;
}
.tl-item--current .tl-year { color: var(--white); }
.tl-content {
  padding-left: 32px;
  padding-bottom: 8px;
}
.tl-content::before {
  content: '';
  position: absolute;
  left: 50px;
  top: 8px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--border);
  border: 2px solid var(--dark);
}
.tl-item--current .tl-content::before {
  background: var(--white);
}
.tl-content strong {
  display: block;
  font-family: var(--font-condensed);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 6px;
}
.tl-content p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--gray);
  font-weight: 300;
}

/* ABOUT */
.about {
  padding: 160px 48px;
  max-width: 100%;
  background: #f5f5f5;
  color: #111;
}
.about .about-layout {
  max-width: 1200px;
  margin: 0 auto;
}
.about .section-label {
  color: #555;
}
.about .section-label::before {
  background: #555;
}
.about .about-title {
  color: #0a0a0a;
}
.about .about-title .line2 {
  -webkit-text-stroke: 1px #0a0a0a;
  color: transparent;
}
.about .about-body {
  color: #555;
}
.about .stat-row {
  background: #ddd;
}
.about .stat-item {
  background: #f5f5f5;
}
.about .stat-num {
  color: #0a0a0a;
}
.about .stat-label {
  color: #777;
}
.about .company-table {
  color: #111;
}
.about .company-table tr {
  border-bottom: 1px solid #ccc;
}
.about .company-table td:first-child {
  color: #555;
}
.about .company-table td:last-child {
  color: #111;
}
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}
.about-left {}
.about-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(56px, 7vw, 100px);
  line-height: 0.9;
  margin-top: 40px;
  margin-bottom: 48px;
}
.about-title .line2 {
  -webkit-text-stroke: 1px var(--white);
  color: transparent;
  display: block;
}
.about-body {
  font-size: 14px;
  line-height: 2.2;
  color: var(--gray);
  font-weight: 300;
  margin-bottom: 40px;
}
.about-right {}
.company-table {
  width: 100%;
  border-collapse: collapse;
}
.company-table tr {
  border-bottom: 1px solid var(--border);
}
.company-table td {
  padding: 20px 0;
  font-size: 14px;
  vertical-align: top;
}
.company-table td:first-child {
  font-family: var(--font-condensed);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gray);
  width: 120px;
  padding-top: 22px;
}
.company-table td:last-child {
  color: var(--white);
  font-weight: 300;
  line-height: 1.8;
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 60px;
}
.stat-item {
  background: var(--black);
  padding: 32px 24px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 48px;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  font-family: var(--font-condensed);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--gray);
  margin-top: 8px;
  display: block;
}

/* CONTACT */
.contact {
  padding: 160px 48px;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.contact-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.contact-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(60px, 10vw, 140px);
  line-height: 0.9;
  margin-bottom: 32px;
}
.contact-title .outline {
  -webkit-text-stroke: 1px var(--white);
  color: transparent;
  display: block;
}
.contact-sub {
  font-size: 14px;
  line-height: 2;
  color: var(--gray);
  margin-bottom: 56px;
  font-weight: 300;
}
.contact-form {
  text-align: left;
}

/* wpforms override to match dark design */
.contact .wpforms-container {
  margin: 0 !important;
}
.contact .wpforms-field {
  padding: 0 0 2px 0 !important;
}
.contact .wpforms-field-label {
  font-family: var(--font-condensed) !important;
  font-size: 11px !important;
  letter-spacing: 3px !important;
  color: var(--gray) !important;
  font-weight: 400 !important;
  text-transform: uppercase;
  margin-bottom: 8px !important;
}
.contact .wpforms-field input[type="text"],
.contact .wpforms-field input[type="email"],
.contact .wpforms-field input[type="tel"],
.contact .wpforms-field input[type="url"],
.contact .wpforms-field textarea,
.contact .wpforms-field select {
  width: 100% !important;
  background: var(--card) !important;
  border: none !important;
  border-bottom: 1px solid var(--border) !important;
  color: var(--white) !important;
  font-family: var(--font-body) !important;
  font-size: 14px !important;
  font-weight: 300 !important;
  padding: 20px 24px !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  transition: border-color 0.2s, background 0.2s !important;
}
.contact .wpforms-field textarea { min-height: 160px !important; resize: none !important; }
.contact .wpforms-field input::placeholder,
.contact .wpforms-field textarea::placeholder { color: var(--gray) !important; }
.contact .wpforms-field input:focus,
.contact .wpforms-field textarea:focus {
  border-color: var(--white) !important;
  background: #1a1a1a !important;
}
.contact .wpforms-submit-container {
  text-align: center !important;
  margin-top: 12px !important;
}
.contact .wpforms-submit {
  font-family: var(--font-condensed) !important;
  font-size: 13px !important;
  letter-spacing: 4px !important;
  color: var(--black) !important;
  background: var(--white) !important;
  border: none !important;
  padding: 18px 72px !important;
  cursor: none !important;
  border-radius: 0 !important;
  transition: all 0.2s !important;
  text-transform: uppercase;
}
.contact .wpforms-submit:hover { background: var(--gray) !important; }

/* FOOTER */
footer.site-footer {
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0a0a0a;
  border-top: 1px solid #2e2e2e;
}
.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 4px;
  color: #f5f5f5;
}
.footer-logo span { color: #888; }
.footer-copy {
  font-family: var(--font-condensed);
  font-size: 11px;
  letter-spacing: 2px;
  color: #888;
}
.footer-links {
  display: flex; gap: 24px;
  list-style: none;
}
.footer-links a {
  font-family: var(--font-condensed);
  font-size: 11px;
  letter-spacing: 2px;
  color: #888;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: #f5f5f5; }

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* NOISE */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 9990;
}

/* ── コンテナ共通 ── */
.services-header,
.service-cards,
.service-cards--3col,
.mkt-features,
.ceo-inner,
.about .about-layout {
  width: 100%;
}

/* ── 1200px 以上: max-width 制限 ── */
@media (min-width: 1200px) {
  .services-header,
  .service-cards,
  .service-cards--3col,
  .mkt-features {
    max-width: 1200px;
  }
}

/* ── タブレット 768〜1024px ── */
@media (max-width: 1024px) {
  nav.site-nav { padding: 24px 32px; }
  .hero-content { padding: 0 32px; }
  .hero-number { display: none; }
  .philosophy::before,
  .services::before,
  .ceo-section::before { display: none; }

  .philosophy, .services, .about, .ceo-section, .contact { padding: 100px 32px; }

  .services-header { flex-direction: column; gap: 20px; margin-bottom: 48px; }
  .services-desc { max-width: 100%; }
  .service-units { grid-template-columns: 1fr; }
  .mkt-features { grid-template-columns: 1fr 1fr; }

  .ceo-inner { grid-template-columns: 1fr; gap: 56px; }

  .about-layout { grid-template-columns: 1fr; gap: 56px; }
  .stat-row { grid-template-columns: repeat(3, 1fr); }

  .contact-title { font-size: clamp(48px, 10vw, 100px); }
}

/* ── スマホ 〜768px ── */
@media (max-width: 768px) {
  body { cursor: auto; }
  .cursor, .cursor-ring { display: none !important; }
  .contact .wpforms-submit { cursor: pointer !important; }

  nav.site-nav { padding: 20px 20px; }
  .nav-links { display: none; }

  .hero { padding-top: 72px; padding-bottom: 90px; }
  .hero-content { padding: 0 20px; }
  .hero-title { font-size: clamp(60px, 16vw, 88px); }
  .hero-sub { font-size: 14px; }
  .hero-scroll { left: 20px; }
  .hero-number { display: none; }

  .philosophy, .services, .about, .ceo-section, .contact { padding: 80px 20px; }
  .philosophy::before, .services::before, .ceo-section::before { display: none; }

  .philosophy-grid { grid-template-columns: 1fr; }
  .phil-card { padding: 36px 28px; }

  .services-header { flex-direction: column; gap: 16px; margin-bottom: 40px; }
  .services-desc { max-width: 100%; }
  .service-units { grid-template-columns: 1fr; }
  .service-cards,
  .service-cards--3col { grid-template-columns: 1fr; }
  .service-cards--3col .service-card:last-child { grid-column: span 1; }
  .service-cards--3col .service-card,
  .service-card { aspect-ratio: 4/3; }
  .service-card-content { padding: 28px; }
  .service-arrow { top: 20px; right: 20px; width: 36px; height: 36px; }
  .service-text { opacity: 1; transform: none; }
  .mkt-features { grid-template-columns: 1fr; }
  .mkt-feat { padding: 28px 24px; border-left: none; border-top: 1px solid var(--border); }
  .mkt-feat:first-child { border-top: none; }

  .ceo-inner { grid-template-columns: 1fr; gap: 48px; }
  .ceo-title { font-size: clamp(48px, 14vw, 72px); }
  .ceo-name { font-size: 28px; flex-wrap: wrap; }
  .timeline::before { left: 44px; }
  .tl-item { gap: 20px; }
  .tl-year { font-size: 16px; min-width: 44px; }
  .tl-content { padding-left: 20px; }
  .tl-content::before { left: 40px; }

  .about-layout { grid-template-columns: 1fr; gap: 40px; }
  .about-title { font-size: clamp(48px, 14vw, 72px); }
  .stat-row { grid-template-columns: repeat(3, 1fr); }
  .stat-num { font-size: 32px; }
  .stat-label { font-size: 9px; }

  .contact-title { font-size: clamp(44px, 14vw, 80px); }
  .contact .wpforms-submit { padding: 16px 40px !important; width: 100% !important; }

  footer.site-footer { flex-direction: column; gap: 20px; text-align: center; padding: 36px 20px; }
  .footer-links { justify-content: center; }
}
