/* ============================================
   VERTEX - High-Rise Scaffold Specialists
   Premium Dark Theme
   ============================================ */

:root {
  --black: #0A0A0A;
  --dark: #111111;
  --dark-2: #1A1A1A;
  --dark-3: #222222;
  --silver: #C0C0C0;
  --silver-dim: #888888;
  --blue: #2196F3;
  --blue-glow: rgba(33, 150, 243, 0.15);
  --blue-dark: #1976D2;
  --white: #F5F5F5;
  --text: #D0D0D0;
  --text-dim: #808080;
  --font-en: 'Inter', sans-serif;
  --font-jp: 'Noto Sans JP', sans-serif;
  --container: 1100px;
  --section-pad: clamp(80px, 10vw, 120px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-jp);
  background: var(--black);
  color: var(--text);
  line-height: 1.8;
  font-size: 15px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width:100%; height:auto; display:block; }
a { color: var(--blue); text-decoration:none; transition: color .3s; }
a:hover { color: #64B5F6; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Sample Banner ---- */
.sample-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
  background: var(--blue);
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 16px;
  letter-spacing: 0.02em;
}
.sample-banner a { color: #fff; text-decoration: underline; }

/* ---- Header ---- */
.header {
  position: fixed;
  top: 30px;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(192,192,192,0.08);
  transition: background .3s, box-shadow .3s;
}
.header.scrolled {
  background: rgba(10,10,10,0.95);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-text { display:flex; flex-direction:column; }
.logo-name {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.15em;
  line-height: 1.1;
}
.logo-sub {
  font-family: var(--font-en);
  font-size: 8px;
  font-weight: 500;
  color: var(--silver-dim);
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-desktop a {
  font-size: 13px;
  font-weight: 500;
  color: var(--silver);
  letter-spacing: 0.03em;
  transition: color .3s;
  position: relative;
}
.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--blue);
  transition: width .3s;
}
.nav-desktop a:hover { color: var(--white); }
.nav-desktop a:hover::after { width: 100%; }
.nav-cta {
  background: var(--blue) !important;
  color: #fff !important;
  padding: 8px 20px !important;
  border-radius: 4px;
  font-weight: 600 !important;
}
.nav-cta::after { display:none !important; }
.nav-cta:hover { background: var(--blue-dark) !important; color: #fff !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--silver);
  transition: transform .3s, opacity .3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity:0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--dark);
  z-index: 1050;
  transition: right .4s cubic-bezier(.4,0,.2,1);
  padding: 100px 32px 40px;
  border-left: 1px solid rgba(192,192,192,0.1);
}
.mobile-nav.open { right: 0; }
.mobile-nav nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-size: 15px;
  color: var(--silver);
  border-bottom: 1px solid rgba(192,192,192,0.08);
  transition: color .3s, padding-left .3s;
}
.mobile-nav a:hover { color: var(--white); padding-left: 8px; }
.mobile-cta {
  margin-top: 16px;
  background: var(--blue);
  color: #fff !important;
  text-align: center;
  padding: 14px 0 !important;
  border-radius: 4px;
  border-bottom: none !important;
  font-weight: 600;
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s;
}
.mobile-overlay.active { opacity:1; pointer-events:all; }

/* ---- Hero ---- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 30px;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10,10,10,0.7) 0%,
    rgba(10,10,10,0.4) 40%,
    rgba(10,10,10,0.6) 70%,
    rgba(10,10,10,0.95) 100%
  );
}

.hero-vertical-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.v-line {
  position: absolute;
  top: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(33,150,243,0.15) 30%, rgba(33,150,243,0.08) 70%, transparent 100%);
}
.v-line-1 { left: 20%; }
.v-line-2 { left: 50%; }
.v-line-3 { left: 80%; }

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}
.hero-en {
  font-family: var(--font-en);
  font-size: clamp(11px, 1.4vw, 14px);
  font-weight: 500;
  letter-spacing: 0.35em;
  color: var(--blue);
  margin-bottom: 16px;
}
.hero-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.08em;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero-desc {
  font-size: clamp(14px, 1.8vw, 18px);
  color: var(--silver);
  line-height: 1.9;
  margin-bottom: 36px;
}

.hero-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 40px;
}
.hero-badge { text-align:center; }
.badge-num {
  font-family: var(--font-en);
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
}
.badge-unit {
  font-size: 16px;
  color: var(--blue);
  font-weight: 600;
  margin-left: 2px;
}
.badge-label {
  display: block;
  font-size: 12px;
  color: var(--silver-dim);
  margin-top: 2px;
}
.hero-badge-divider {
  width: 1px;
  height: 40px;
  background: rgba(192,192,192,0.2);
}

.hero-btn {
  display: inline-block;
  padding: 16px 44px;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  letter-spacing: 0.05em;
  transition: background .3s, transform .3s, box-shadow .3s;
}
.hero-btn:hover {
  background: var(--blue-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(33,150,243,0.3);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-scroll span {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--silver-dim);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: var(--blue);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity:.3; transform:scaleY(0.5); transform-origin:top; }
  50% { opacity:1; transform:scaleY(1); }
}

/* ---- Sections ---- */
.section {
  padding: var(--section-pad) 0;
}

.section-label {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--blue);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 15px;
  color: var(--text-dim);
  max-width: 600px;
  line-height: 1.9;
  margin-bottom: 48px;
}
.accent { color: var(--blue); }

/* ---- About ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 60px;
  align-items: center;
  margin-top: 40px;
}
.about-lead {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.6;
  margin-bottom: 24px;
}
.about-text p {
  margin-bottom: 16px;
  color: var(--text);
  line-height: 2;
}
.about-visual {
  display: flex;
  justify-content: center;
}
.about-icon {
  opacity: 0.6;
}

/* ---- Methods ---- */
.methods {
  background: var(--dark);
}
.methods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.method-card {
  background: var(--dark-2);
  border: 1px solid rgba(192,192,192,0.06);
  border-radius: 8px;
  padding: 36px 28px;
  transition: border-color .4s, transform .4s;
  position: relative;
  overflow: hidden;
}
.method-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0;
  transition: opacity .4s;
}
.method-card:hover {
  border-color: rgba(33,150,243,0.2);
  transform: translateY(-4px);
}
.method-card:hover::before { opacity:1; }

.method-num {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.15em;
  margin-bottom: 20px;
}
.method-icon-wrap {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
}
.method-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.method-en {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--silver-dim);
  margin-bottom: 16px;
}
.method-desc {
  font-size: 14px;
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 20px;
}
.method-features {
  list-style: none;
}
.method-features li {
  font-size: 13px;
  color: var(--silver);
  padding: 6px 0;
  padding-left: 16px;
  position: relative;
  border-bottom: 1px solid rgba(192,192,192,0.05);
}
.method-features li:last-child { border-bottom:none; }
.method-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border: 1px solid var(--blue);
  border-radius: 50%;
}

/* ---- Services ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.service-card {
  background: var(--dark);
  border: 1px solid rgba(192,192,192,0.06);
  border-radius: 8px;
  padding: 36px 28px;
  transition: border-color .4s, transform .3s;
}
.service-card:hover {
  border-color: rgba(33,150,243,0.15);
  transform: translateY(-2px);
}
.service-icon {
  margin-bottom: 20px;
  opacity: 0.8;
}
.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.service-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.9;
}

/* ---- Works ---- */
.works {
  background: var(--dark);
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.work-card {
  background: var(--dark-2);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(192,192,192,0.06);
  transition: transform .4s, border-color .4s;
}
.work-card:hover {
  transform: translateY(-4px);
  border-color: rgba(33,150,243,0.15);
}
.work-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.work-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s;
}
.work-card:hover .work-img img { transform: scale(1.05); }
.work-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px 16px;
  background: linear-gradient(transparent, rgba(10,10,10,0.8));
}
.work-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--blue);
  background: rgba(33,150,243,0.15);
  padding: 3px 10px;
  border-radius: 3px;
  letter-spacing: 0.05em;
}
.work-info {
  padding: 24px 20px;
}
.work-info h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.work-meta {
  font-size: 12px;
  color: var(--blue);
  font-weight: 500;
  margin-bottom: 10px;
}
.work-info p:last-child {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.8;
}

/* ---- Numbers ---- */
.numbers {
  background: var(--dark);
  border-top: 1px solid rgba(192,192,192,0.06);
  border-bottom: 1px solid rgba(192,192,192,0.06);
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.number-item {
  padding: 40px 16px;
}
.number-value {
  font-family: var(--font-en);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.number-unit {
  font-size: 18px;
  color: var(--blue);
  font-weight: 600;
}
.number-label {
  font-size: 13px;
  color: var(--silver-dim);
}

/* ---- Safety ---- */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.safety-item {
  padding: 28px 24px;
  background: var(--dark);
  border: 1px solid rgba(192,192,192,0.06);
  border-radius: 8px;
  transition: border-color .3s;
}
.safety-item:hover {
  border-color: rgba(33,150,243,0.15);
}
.safety-num {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}
.safety-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.safety-item p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.9;
}

/* ---- Flow ---- */
.flow {
  background: var(--dark);
}
.flow-steps {
  max-width: 640px;
  margin: 48px auto 0;
}
.flow-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.flow-num {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 800;
  color: var(--blue);
  background: var(--blue-glow);
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(33,150,243,0.3);
}
.flow-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.flow-content p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.8;
}
.flow-connector {
  width: 1px;
  height: 28px;
  background: rgba(33,150,243,0.2);
  margin-left: 22px;
}

/* ---- Company ---- */
.company-table {
  margin-top: 48px;
  max-width: 720px;
}
.company-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  border-bottom: 1px solid rgba(192,192,192,0.08);
}
.company-th {
  padding: 16px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--silver);
}
.company-td {
  padding: 16px 0;
  font-size: 14px;
  color: var(--text);
}
.company-td a {
  color: var(--blue);
}

/* ---- Contact ---- */
.contact {
  background: var(--dark);
}
.contact-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  margin-top: 48px;
  align-items: start;
}
.contact-phone {
  background: var(--dark-2);
  border: 1px solid rgba(192,192,192,0.08);
  border-radius: 8px;
  padding: 36px 28px;
  text-align: center;
}
.contact-phone-label {
  font-size: 13px;
  color: var(--silver-dim);
  margin-bottom: 12px;
}
.contact-phone-num {
  display: block;
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.contact-phone-num:hover { color: var(--blue); }
.contact-phone-hours {
  font-size: 12px;
  color: var(--text-dim);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--silver);
  margin-bottom: 6px;
}
.req {
  font-size: 11px;
  color: var(--blue);
  margin-left: 4px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--dark-2);
  border: 1px solid rgba(192,192,192,0.12);
  border-radius: 4px;
  color: var(--white);
  font-family: var(--font-jp);
  font-size: 14px;
  transition: border-color .3s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23808080' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-submit {
  display: inline-block;
  padding: 16px 48px;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-jp);
  letter-spacing: 0.08em;
  transition: background .3s, transform .3s;
  align-self: flex-start;
}
.form-submit:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}

/* ---- Footer ---- */
.footer {
  padding: 48px 0 32px;
  border-top: 1px solid rgba(192,192,192,0.06);
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-company {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.15em;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 12px;
  color: var(--silver-dim);
  transition: color .3s;
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(192,192,192,0.06);
}
.footer-bottom p {
  font-size: 12px;
  color: var(--text-dim);
}
.footer-credit a { color: var(--blue); }

/* ---- Animations ---- */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .methods-grid { grid-template-columns: repeat(2, 1fr); }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .safety-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .hamburger { display: flex; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-visual { order: -1; }
  .about-icon { width: 140px; height: auto; }

  .methods-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: 1fr; max-width: 440px; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .safety-grid { grid-template-columns: 1fr; }

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

  .footer-top { flex-direction: column; gap: 20px; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .company-row {
    grid-template-columns: 120px 1fr;
  }

  .hero-scroll { display: none; }
}

@media (max-width: 480px) {
  .hero-badges { gap: 20px; }
  .badge-num { font-size: 28px; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .number-item { padding: 24px 8px; }
  .number-value { font-size: 32px; }

  .company-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .company-th { padding-bottom: 0; }
  .company-td { padding-top: 4px; }

  .flow-step { gap: 16px; }
  .flow-num { width: 36px; height: 36px; min-width: 36px; font-size: 11px; }
  .flow-connector { margin-left: 18px; }
}
