:root {
  --orange: #f69c0f;
  --black: #080808;
  --dark: #111111;
  --mid: #1a1a1a;
  --white: #f0ede6;
  --gray: rgba(240,237,230,0.65);
  --w: 430px;
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  overflow-x: hidden;
  cursor: crosshair;
  position: relative;
  min-height: 100vh;
  background: 
    radial-gradient(ellipse 900px 1400px at 50% 15%, rgba(246,156,15,0.12) 0%, transparent 50%),
    radial-gradient(ellipse 700px 900px at 50% 85%, rgba(246,156,15,0.06) 0%, transparent 60%),
    linear-gradient(180deg, #000000 0%, #0a0a0a 50%, #000000 100%);
  background-attachment: fixed;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(246,156,15,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246,156,15,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 1;
}

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

.phone {
  width: var(--w);
  max-width: 100%;
  margin: 0 auto;
  background: var(--black);
  color: var(--white);
  position: relative;
  z-index: 10;
  box-shadow: 
    0 0 3px rgba(246,156,15,0.4),
    0 0 120px rgba(246,156,15,0.2),
    0 0 250px rgba(246,156,15,0.1),
    0 50px 100px rgba(0,0,0,0.6),
    inset 0 0 0 1px rgba(246,156,15,0.1);
}

.phone::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(
    90deg,
    rgba(246,156,15,0.15) 0%,
    transparent 3%,
    transparent 97%,
    rgba(246,156,15,0.15) 100%
  );
  pointer-events: none;
  z-index: -1;
  filter: blur(8px);
}

header {
  position: sticky; top: 0; z-index: 500;
  background: rgba(8,8,8,0.95);
  backdrop-filter: blur(12px);
  padding: 14px 20px;
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid rgba(246,156,15,0.1);
}
.logo { font-family: 'Bebas Neue', sans-serif; font-size: 15px; letter-spacing: 4px; color: var(--orange); }
.header-cta {
  font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--black); background: var(--orange);
  padding: 8px 16px; text-decoration: none; font-weight: 700;
}

.hero {
  position: relative; overflow: hidden;
  height: 80svh; min-height: 600px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  filter: contrast(1.08) saturate(0.85);
  animation: imgReveal 1.2s cubic-bezier(0.76,0,0.24,1) 0.1s both;
}
@keyframes imgReveal { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,1) 0%, rgba(8,8,8,0.6) 45%, rgba(8,8,8,0.1) 80%, transparent 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 0 22px 44px;
  color: var(--white);
  animation: heroUp 0.9s ease 0.5s both;
}
@keyframes heroUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.hero-eyebrow {
  font-size: 9px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.hero-eyebrow::before { content: ''; width: 20px; height: 1px; background: var(--orange); }
.hero-title {
  font-weight: 900;
  font-size: clamp(46px, 14vw, 78px);
  line-height: 0.92; letter-spacing: -1px;
  margin-bottom: 14px;
  color: var(--white);
}
.hero-title .orange { color: var(--orange); }
.hero-sub {
  font-size: 12px; line-height: 1.9; color: var(--gray);
  letter-spacing: 2px; margin-bottom: 28px;
}
.hero-btns { display: flex; flex-direction: column; gap: 10px; }
.btn-primary {
  background: var(--orange); color: var(--black);
  font-weight: 900; font-size: 13px; letter-spacing: 3px;
  padding: 16px 0; text-decoration: none; text-align: center;
  text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.85; }
.btn-secondary {
  font-size: 11px; letter-spacing: 3px; color: rgba(240,237,230,0.6);
  text-align: center; text-decoration: none; padding: 12px 0;
  border: 1px solid rgba(240,237,230,0.2);
  text-transform: uppercase; transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover { border-color: var(--orange); color: var(--orange); }

.marquee-wrap { overflow: hidden; background: var(--orange); padding: 11px 0; }
.marquee-wrap.dark { background: var(--mid); border-top: 1px solid #222; border-bottom: 1px solid #222; }
.marquee-track {
  display: inline-flex; white-space: nowrap;
  animation: marqueeScroll 18s linear infinite;
}
.marquee-wrap.rev .marquee-track { animation-direction: reverse; }
.marquee-track span { font-family: 'Bebas Neue', sans-serif; font-size: 14px; letter-spacing: 5px; padding: 0 24px; }
.marquee-wrap .marquee-track span { color: var(--black); }
.marquee-wrap.dark .marquee-track span { color: rgba(240,237,230,0.18); }
.marquee-track .dot { opacity: 0.35; padding: 0 6px; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* PROJECTS SECTION */
.projects-section { 
  background: var(--dark); 
  padding: 56px 22px;
  border-bottom: 1px solid rgba(246,156,15,0.1);
}
.projects-intro {
  margin-bottom: 36px;
}
.projects-label {
  font-size: 8px; letter-spacing: 5px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
}
.projects-label::before { content: ''; width: 20px; height: 1px; background: var(--orange); }
.projects-title {
  font-size: clamp(24px, 7vw, 36px); font-weight: 900; 
  line-height: 1.2; color: var(--white);
}
.projects-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.project-item {
  background: var(--black);
  padding: 18px 20px;
  border: 1px solid rgba(246,156,15,0.15);
  transition: border-color 0.3s, background 0.3s, transform 0.2s;
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
}
.project-item:hover {
  border-color: rgba(246,156,15,0.4);
  background: rgba(17,17,17,0.9);
  transform: translateX(2px);
}
.project-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  color: var(--orange);
  line-height: 1;
  flex-shrink: 0;
  width: 32px;
  text-align: center;
  opacity: 0.6;
}
.project-text {
  margin-block-end: 0;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(240,237,230,0.8);
  flex: 1;
}
.project-text strong {
  color: var(--white);
  font-weight: 700;
}

.sec-label {
  font-size: 8px; letter-spacing: 5px; text-transform: uppercase;
  color: var(--orange); display: flex; align-items: center; gap: 10px; margin-bottom: 28px;
}
.sec-label::before { content: ''; width: 20px; height: 1px; background: var(--orange); }
.section-pad { padding: 56px 22px; }
.section-title { 
  font-size: clamp(32px, 9vw, 52px); font-weight: 900; line-height: 1.05; 
  margin-bottom: 36px; color: var(--white); 
}
.section-title span { color: var(--orange); }

.positions-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 32px;
}
.positions-count {
  font-family: 'Bebas Neue', sans-serif; font-size: 72px;
  color: rgba(246,156,15,0.07); line-height: 1;
}

.pos-card {
  background: var(--dark);
  margin-bottom: 3px;
  overflow: hidden;
  transition: background 0.3s;
}
.pos-card:last-child { margin-bottom: 0; }

.pos-body { padding: 32px 22px 24px; }
.pos-num {
  font-family: 'Bebas Neue', sans-serif; font-size: 10px; letter-spacing: 4px;
  color: var(--orange); margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px;
}
.pos-num::after { content: ''; flex: 1; height: 1px; background: rgba(246,156,15,0.18); }
.pos-title { 
  font-size: clamp(24px, 7vw, 36px); font-weight: 900; 
  line-height: 1.1; margin-bottom: 12px; color: var(--white); 
}
.pos-desc-short { 
  font-size: 13px; font-weight: 700; color: rgba(240,237,230,0.85); 
  margin-bottom: 10px; line-height: 1.7; 
}
.pos-desc-long { 
  font-size: 12px; line-height: 2; color: rgba(240,237,230,0.6); 
}
.pos-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 20px; }
.pos-tag {
  font-size: 9px; letter-spacing: 2px;
  border: 1px solid rgba(246,156,15,0.3); color: rgba(246,156,15,0.7);
  padding: 4px 10px; text-transform: uppercase;
}

.pos-meta {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 24px 22px 28px;
  background: rgba(0,0,0,0.25);
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
.pos-meta-label {
  font-size: 8px; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(240,237,230,0.35); margin-bottom: 8px;
}
.pos-meta-value { 
  font-size: 11px; line-height: 1.8; color: rgba(240,237,230,0.75); 
}

.why-section { background: var(--dark); }
.why-quote {
  background: var(--black);
  padding: 32px 22px; margin-bottom: 3px;
  border-left: 2px solid var(--orange);
}
.why-quote-text { 
  font-size: clamp(18px, 5vw, 24px); font-weight: 900; 
  line-height: 1.55; color: var(--white); 
}
.why-quote-text span { color: var(--orange); }
.why-quote-attr { 
  font-size: 10px; letter-spacing: 3px; color: rgba(240,237,230,0.35); 
  margin-top: 14px; text-transform: uppercase; 
}
.why-points { list-style: none; }
.why-point {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 22px 22px;
  display: flex; gap: 18px; align-items: flex-start;
}
.why-point:last-child { border-bottom: 1px solid rgba(255,255,255,0.06); }
.why-point-num { 
  font-family: 'Bebas Neue', sans-serif; font-size: 30px; 
  color: rgba(246,156,15,0.25); line-height: 1; flex-shrink: 0; 
  width: 36px; margin-top: -2px; 
}
.why-point-text { 
  font-size: 13px; line-height: 1.85; color: rgba(240,237,230,0.75); 
}
.why-point-text strong { color: var(--white); font-weight: 700; }

.stats-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3px; margin-top: 3px;
}
.stat-box {
  background: var(--dark); padding: 24px 18px;
}
.stat-num { 
  font-family: 'Bebas Neue', sans-serif; font-size: 52px; 
  line-height: 1; color: var(--orange); 
}
.stat-label { 
  font-size: 9px; letter-spacing: 2px; color: rgba(240,237,230,0.5); 
  margin-top: 4px; text-transform: uppercase; line-height: 1.5; 
}

.divider-box {
  background: var(--orange); padding: 40px 22px;
  position: relative; overflow: hidden;
}
.divider-box::before {
  content: 'TENGUU';
  font-family: 'Bebas Neue', sans-serif; font-size: 120px;
  color: rgba(0,0,0,0.07); position: absolute; right: -10px; top: -10px;
  line-height: 1; pointer-events: none; letter-spacing: -3px;
}
.divider-box-text { 
  font-size: clamp(20px, 6vw, 28px); font-weight: 900; 
  line-height: 1.3; color: var(--black); margin-bottom: 24px; 
  position: relative; z-index: 1; 
}
.divider-box-btn {
  display: inline-block;
  background: var(--black); color: var(--white);
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  padding: 14px 28px; text-decoration: none; text-transform: uppercase;
  position: relative; z-index: 1;
}

.flow-steps { display: flex; flex-direction: column; gap: 3px; }
.flow-step { background: var(--dark); padding: 28px 22px; position: relative; }
.flow-step:not(:last-child)::after {
  content: '↓'; color: var(--orange);
  display: block; text-align: center; font-size: 18px;
  margin-top: 0; background: var(--black);
  padding: 8px 0;
  position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%);
  z-index: 2; width: 44px;
}
.flow-step-num { 
  font-family: 'Bebas Neue', sans-serif; font-size: 56px; 
  color: rgba(246,156,15,0.12); line-height: 1; margin-bottom: 14px; 
}
.flow-step-title { 
  font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--white); 
}
.flow-step-desc { 
  font-size: 12px; color: rgba(240,237,230,0.6); line-height: 1.85; 
}

.cta-final {
  text-align: center; padding: 80px 22px;
  position: relative; overflow: hidden;
}
.cta-final-bg {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(80px, 28vw, 160px);
  color: rgba(246,156,15,0.04);
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none; white-space: nowrap; letter-spacing: -3px; line-height: 1;
}
.cta-final-content { position: relative; z-index: 2; }
.cta-kicker { 
  font-size: 9px; letter-spacing: 5px; color: var(--orange); 
  margin-bottom: 20px; text-transform: uppercase; 
}
.cta-h { 
  font-size: clamp(34px, 11vw, 60px); font-weight: 900; 
  line-height: 1.05; margin-bottom: 16px; color: var(--white); 
}
.cta-h span { color: var(--orange); }
.cta-sub { 
  font-size: 13px; color: rgba(240,237,230,0.6); 
  margin-bottom: 36px; line-height: 1.9; 
}
.btn-cta-final {
  display: block;
  background: var(--orange); color: var(--black);
  font-weight: 900; font-size: 13px; letter-spacing: 3px;
  padding: 20px 0; text-decoration: none; text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: opacity 0.2s;
}
.btn-cta-final:hover { opacity: 0.85; }

footer {
  border-top: 1px solid rgba(246,156,15,0.1);
  padding: 32px 22px;
  display: flex; flex-direction: column; gap: 14px; align-items: center;
}
.f-logo { 
  font-family: 'Bebas Neue', sans-serif; font-size: 26px; 
  letter-spacing: 4px; color: var(--orange); 
}
.f-links { display: flex; gap: 20px; }
.f-links a { 
  font-size: 9px; letter-spacing: 3px; color: rgba(240,237,230,0.45); 
  text-decoration: none; text-transform: uppercase; 
}
.f-copy { 
  font-size: 9px; letter-spacing: 1px; color: rgba(240,237,230,0.3); 
}

.sr { opacity: 0; transform: translateY(36px); transition: opacity 0.8s ease, transform 0.8s ease; }
.sr.on { opacity: 1; transform: translateY(0); }
