/* ============================================
   solos inc. — style.css
   Custom styles for Kinetic Editorial design system.
   Tailwind handles utility classes; this file
   handles everything custom.
   ============================================ */

/* ---------- Base ---------- */
html {
  scroll-behavior: smooth;
}
body {
  background-color: #f9f9f9;
  color: #1b1b1b;
  -webkit-font-smoothing: antialiased;
}
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}
.kinetic-text {
  letter-spacing: -0.02em;
}
.ghost-border {
  outline: 1px solid rgba(198, 198, 198, 0.15);
}


/* ---------- Video Background ---------- */
#video-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.7;
  filter: none ;
}


/* ---------- Translucent Section Backgrounds ---------- */
.s-surface  { background-color: rgba(249, 249, 249, 0.92) !important; }
.s-low      { background-color: rgba(243, 243, 243, 0.88) !important; }
.s-lowest   { background-color: rgba(255, 255, 255, 0.90) !important; }
.s-high     { background-color: rgba(232, 232, 232, 0.88) !important; }
.s-dark     { background-color: rgba(0, 0, 0, 0.93) !important; }
.s-neutral  { background-color: rgba(250, 250, 249, 0.90) !important; }

/* ---------- Hover: Card Lift ---------- */
.hover-lift {
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.07);
}


/* ---------- Hover: Arrow Link ---------- */
.arrow-link .material-symbols-outlined {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.arrow-link:hover .material-symbols-outlined {
  transform: translateX(6px);
}


/* ---------- Hover: Photo Zoom ---------- */
.photo-hover {
  overflow: hidden;
}
.photo-hover img {
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.photo-hover:hover img {
  transform: scale(1.05);
}


/* ---------- Timeline ---------- */
.tl-wrap {
  position: relative;
}
.tl-wrap::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 32px;
  right: 32px;
  height: 1px;
  background: rgba(0, 0, 0, 0.10);
}
.tl-step {
  position: relative;
  text-align: center;
  flex: 1;
  padding: 0 2rem;
}
.tl-dot {
  width: 10px;
  height: 10px;
  background: #000;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.tl-step:hover .tl-dot {
  transform: scale(2);
}
.tl-step:hover h4 {
  opacity: 0.6;
}


/* ---------- Service Item Dots ---------- */
.svc-item {
  position: relative;
  padding-left: 1rem;
}
.svc-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  background: #000;
}
.svc-item-light::before {
  background: rgba(255, 255, 255, 0.4);
}


/* ---------- FAQ Hover ---------- */
.faq-item {
  transition: background-color 0.3s;
}
.faq-item:hover {
  background-color: rgba(255, 255, 255, 0.6);
}


/* ---------- CTA Button ---------- */
.cta-btn {
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.cta-btn:hover {
  letter-spacing: 0.18em;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}


/* ---------- Google Map (grayscale to match design tone) ---------- */
.map-frame {
  border: 0;
  filter: grayscale(100%) contrast(1.1);
  opacity: 0.7;
}

/* ---------- Mobile Adjustments ---------- */
@media (max-width: 767px) {

  /* Hero見出し */
  h1.kinetic-text {
    font-size: 3rem !important;
    line-height: 0.95;
  }

  /* セクション見出し全般 */
  section h2 {
    font-size: 1.75rem !important;
    line-height: 1.15;
  }

  /* Philosophy引用 */
  #philosophy h2 {
    font-size: 1.5rem !important;
  }

  /* CTA見出し */
  #contact h2 {
    font-size: 1.5rem !important;
  }

  /* Works見出し */
  #works h2 {
    font-size: 2.25rem !important;
  }

  /* セクション余白を詰める */
  section {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }

  /* サービスカードの最小高さを緩和 */
  .hover-lift {
    min-height: auto !important;
  }

  /* タイムラインを縦並びに調整 */
  .tl-wrap::before {
    display: none;
  }
  .tl-step {
    text-align: left;
    padding: 0;
    margin-bottom: 2.5rem;
  }
  .tl-dot {
    margin: 0 0 1rem 0;
  }

  /* ナビのCTAボタン */
  nav a[href="#contact"] {
    padding: 0.5rem 1.2rem;
    font-size: 0.65rem;
  }
}