/* =============================================================================
   front-page.css — SEKAILABO Creative Agency Redesign
   Scoped to body.home (WordPress front page class)
   ============================================================================= */

/* =============================================================================
   1. BASE — override basic.css / sp.css global dark colors
   ============================================================================= */

body.home {
  background: transparent !important;
  color: #e6e4f0;
}

body.home a {
  color: rgba(230, 228, 240, 0.82) !important;
  text-decoration: none;
}

body.home a:hover {
  color: #fff !important;
}

body.home h2,
body.home h3,
body.home h4,
body.home h5 {
  color: #e6e4f0 !important;
}

body.home p {
  color: rgba(230, 228, 240, 0.68) !important;
}

/* =============================================================================
   2. VIDEO BACKGROUND
   ============================================================================= */

.mainback {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.mainback::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 18% 20%,
      rgba(99, 132, 160, 0.1),
      transparent 28%
    ),
    radial-gradient(
      circle at 82% 16%,
      rgba(62, 92, 118, 0.12),
      transparent 32%
    ),
    radial-gradient(
      circle at 54% 22%,
      rgba(255, 255, 255, 0.05),
      transparent 36%
    ),
    radial-gradient(circle at 50% 45%, rgba(0, 0, 0, 0.05), transparent 52%),
    linear-gradient(
      180deg,
      rgba(4, 7, 16, 0.58) 0%,
      rgba(5, 9, 18, 0.4) 26%,
      rgba(4, 6, 14, 0.62) 100%
    );
}

.mainback::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(4, 6, 12, 0.4) 0%,
      rgba(4, 6, 12, 0.1) 45%,
      rgba(4, 6, 12, 0.44) 100%
    ),
    linear-gradient(180deg, rgba(2, 3, 8, 0.06) 0%, rgba(2, 3, 8, 0.18) 100%),
    rgba(0, 0, 0, 0.28);
}

#bgvid {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =============================================================================
   3. DESKTOP NAVIGATION
   ============================================================================= */

body.home #naviBox {
  background: rgba(4, 4, 14, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body.home #pcGN h1 {
  background-image: url("../img/SEKAILABO%27.png");
  background-size: contain;
  filter: none;
}

body.home #navi1 a,
body.home #navi2 a {
  color: rgba(230, 228, 240, 0.72) !important;
  transition: color 0.25s ease;
}

body.home #navi1 a:hover,
body.home #navi2 a:hover {
  color: #fff !important;
}

body.home #naviBox > p {
  color: rgba(230, 228, 240, 0.3) !important;
  border-left-color: rgba(255, 255, 255, 0.1);
}

body.home #fbbtn,
body.home #isbtn {
  filter: brightness(0) invert(1);
  opacity: 0.45;
  transition: opacity 0.3s;
}

body.home #fbbtn:hover,
body.home #isbtn:hover {
  opacity: 0.85;
}

/* =============================================================================
   4. MOBILE NAVIGATION
   ============================================================================= */

body.home #spGN {
  background: rgba(4, 4, 14, 0.97);
}

body.home .btnHamburger .line {
  background: rgba(230, 228, 240, 0.8);
}

body.home #navibar {
  background: rgba(4, 4, 14, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

body.home #navi12 a,
body.home #navi22 a {
  color: rgba(230, 228, 240, 0.8) !important;
}

body.home #navibar > p {
  color: rgba(230, 228, 240, 0.32) !important;
}

/* =============================================================================
   5. HERO
   ============================================================================= */

body.home #mainvisual {
  height: 100vh !important;
  min-height: 600px;
  min-width: unset !important;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 48px 100px;
}

body.home #mainvisual::before {
  content: "";
  position: absolute;
  inset: 11% 10% 18%;
  border-radius: 40px;
  background:
    radial-gradient(
      circle at 50% 30%,
      rgba(118, 150, 178, 0.1),
      transparent 46%
    ),
    linear-gradient(
      180deg,
      rgba(8, 12, 22, 0.18) 0%,
      rgba(8, 12, 22, 0.04) 100%
    );
  filter: blur(24px);
  pointer-events: none;
}

body.home #mainvisual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(2, 4, 12, 0.08) 0%,
    rgba(2, 4, 12, 0) 28%,
    rgba(2, 4, 12, 0.14) 100%
  );
  pointer-events: none;
}

body.home #main_title {
  position: static !important;
  width: min(100%, 1120px);
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  margin-top: 0 !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  z-index: 1;
  text-align: center;
}

body.home #LA {
  display: none;
}

body.home .hero-kicker {
  font-family: "Raleway", sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(236, 238, 243, 0.66) !important;
  margin: 0;
}

body.home .hero-tagline {
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-style: normal;
  font-weight: 300;
  font-size: clamp(4.8rem, 12vw, 10.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(248, 247, 243, 0.97) !important;
  text-align: center;
  text-shadow: 0 10px 36px rgba(0, 0, 0, 0.18);
  margin: 0;
}

body.home .hero-lead {
  max-width: 620px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.25rem;
  line-height: 1.95;
  letter-spacing: 0.08em;
  color: rgba(242, 244, 247, 0.78) !important;
  margin: 10px 0 0;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

body.home .hero-scroll {
  position: absolute;
  right: 46px;
  bottom: 38px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
}

body.home .scroll-line {
  width: 52px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(230, 228, 240, 0.56));
  animation: scrollDrop 2.4s ease-in-out infinite;
}

body.home .scroll-text {
  font-family: "Raleway", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  color: rgba(230, 228, 240, 0.42) !important;
  text-transform: uppercase;
}

body.home .scroll-text::before {
  content: "( ";
}

body.home .scroll-text::after {
  content: " )";
}

body.home #mouse {
  display: none;
}

@keyframes scrollDrop {
  0% {
    opacity: 0;
    transform: translateX(-10px);
  }
  50% {
    opacity: 1;
    transform: translateX(0);
  }
  100% {
    opacity: 0;
    transform: translateX(12px);
  }
}

/* =============================================================================
   6. SECTION COMMON
   ============================================================================= */

body.home .fp-section {
  position: relative;
}

body.home .fp-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 48px;
  box-sizing: border-box;
  text-align: left;
}

body.home .section-eyebrow {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 72px;
  text-align: left;
}

body.home .section-index {
  font-family: "Cormorant Garamond", serif;
  font-size: 5.5rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.02em;
  color: rgba(230, 228, 240, 0.05) !important;
  user-select: none;
}

body.home .section-label {
  font-family: "Raleway", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.52em;
  text-transform: uppercase;
  color: rgba(230, 228, 240, 0.32) !important;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(230, 228, 240, 0.14);
  display: block;
  width: fit-content;
  margin: 0;
}

body.home .section-label::before {
  display: none;
}

/* =============================================================================
   7. ABOUT SECTION
   ============================================================================= */

body.home .about-section {
  padding: 140px 0 120px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

body.home .message_block {
  background: transparent !important;
  background-image: none !important;
}

body.home .about-layout {
  position: relative;
  max-width: 780px;
  text-align: left;
  padding: clamp(28px, 4.2vw, 52px);
  border-radius: 32px;
  background: linear-gradient(
    180deg,
    rgba(9, 12, 20, 0.54) 0%,
    rgba(9, 12, 20, 0.28) 100%
  );
  border: 1px solid rgba(184, 198, 214, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body.home .mogs-accent {
  position: absolute;
  top: 0;
  right: -100px;
  width: 72px;
  opacity: 0.32;
  filter: saturate(0) brightness(2.2)
    drop-shadow(0 0 18px rgba(180, 210, 226, 0.12));
  transition: opacity 0.4s ease;
  pointer-events: none;
}

body.home .about-headline {
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-weight: 300;
  font-size: clamp(3rem, 4.8vw, 5.5rem);
  line-height: 1.18;
  color: #f7f7fa !important;
  letter-spacing: 0.03em;
  margin: 0 0 40px;
  padding: 0;
  height: auto !important;
  max-width: none !important;
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.24);
}

body.home .about-lead {
  font-size: 1.5rem;
  line-height: 2.15;
  color: rgba(240, 242, 246, 0.84) !important;
  text-align: left;
  margin: 0;
}

body.home .about-rule {
  display: block;
  height: 1px;
  width: 100%;
  background: rgba(255, 255, 255, 0.07);
  margin: 36px 0;
}

body.home .about-sub {
  font-size: 1.3rem;
  line-height: 2;
  color: rgba(218, 223, 230, 0.78) !important;
}

/* =============================================================================
   8. BUSINESS SECTION
   ============================================================================= */

body.home .biz-section {
  padding: 120px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

body.home .biz-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

body.home .biz-row {
  display: grid !important;
  grid-template-columns: 96px 1fr;
  gap: 48px;
  align-items: start;
  padding: 36px 32px !important;
  margin-bottom: 18px;
  width: auto !important;
  height: auto !important;
  background: linear-gradient(
    180deg,
    rgba(10, 12, 20, 0.56) 0%,
    rgba(10, 12, 20, 0.32) 100%
  ) !important;
  border: 1px solid rgba(184, 198, 214, 0.1) !important;
  border-radius: 28px;
  box-sizing: border-box;
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    border-color 0.3s ease;
  text-align: left;
}

body.home .biz-row:last-child {
  margin-bottom: 0;
}

body.home .biz-row:hover {
  opacity: 1;
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.16) !important;
}

body.home .biz-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 6.5rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.02em;
  color: rgba(230, 228, 240, 0.05) !important;
  margin: 0;
  align-self: center;
  user-select: none;
}

body.home .biz-content h3 {
  font-family: "Raleway", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(248, 248, 250, 0.96) !important;
  margin: 0 0 8px;
  padding: 0;
  position: static;
  width: auto;
  height: auto;
  border: none;
  line-height: 1.4;
}

body.home .biz-ja {
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  color: rgba(196, 205, 216, 0.76) !important;
  margin: 0 0 20px;
  line-height: 1.5;
}

body.home .biz-desc {
  font-size: 1.4rem;
  line-height: 1.9;
  color: rgba(240, 242, 246, 0.84) !important;
  margin: 0;
  text-align: left;
}

body.home .biz-philosophy {
  margin-top: 56px;
  font-size: 1.25rem;
  font-style: normal;
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.1em;
  color: rgba(242, 244, 247, 0.86) !important;
  text-align: center;
  background: rgba(10, 12, 20, 0.48) !important;
  border: 1px solid rgba(184, 198, 214, 0.1);
  border-radius: 999px;
  padding: 18px 28px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* =============================================================================
   9. TOPICS SECTION
   ============================================================================= */

body.home .topics-section {
  padding: 120px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

body.home .topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 56px;
  text-align: left;
}

body.home .topic-card {
  display: block;
  background: linear-gradient(
    180deg,
    rgba(10, 12, 18, 0.58) 0%,
    rgba(10, 12, 18, 0.38) 100%
  );
  border: 1px solid rgba(184, 198, 214, 0.08);
  overflow: hidden;
  transition:
    transform 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

body.home .topic-card:hover {
  transform: translateY(-6px);
  border-color: rgba(206, 214, 224, 0.16);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.65);
}

body.home .topic-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

body.home .topic-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

body.home .topic-card:hover .topic-img img {
  transform: scale(1.05);
}

body.home .topic-body {
  padding: 24px 28px 28px;
}

body.home .topic-date {
  display: block;
  font-family: "Raleway", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  color: rgba(230, 228, 240, 0.32) !important;
  margin-bottom: 12px;
}

body.home .topic-title {
  font-size: 1.45rem;
  line-height: 1.65;
  color: rgba(230, 228, 240, 0.85) !important;
  margin: 0 0 12px;
  font-weight: 400;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.home .topic-excerpt {
  font-size: 1.25rem;
  line-height: 1.8;
  color: rgba(230, 228, 240, 0.4) !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

body.home .fp-more-link {
  display: block;
  width: fit-content;
  margin: 0 auto;
  font-family: "Raleway", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(230, 228, 240, 0.52) !important;
  border: 1px solid rgba(230, 228, 240, 0.16);
  padding: 16px 52px;
  transition:
    color 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}

body.home .fp-more-link:hover {
  color: #e8e6f4 !important;
  border-color: rgba(230, 228, 240, 0.42);
  background: rgba(230, 228, 240, 0.04);
}

/* =============================================================================
   10. ABOUT US / INFO SECTION
   ============================================================================= */

body.home .info-section {
  padding: 120px 0 100px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(
    180deg,
    rgba(8, 10, 18, 0.6) 0%,
    rgba(6, 8, 14, 0.76) 100%
  );
}

body.home .info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-bottom: 64px;
  max-width: 760px;
  text-align: left;
}

body.home .info-col p {
  font-size: 1.45rem;
  line-height: 2.2;
  color: rgba(230, 228, 240, 0.68) !important;
  margin: 0 0 24px;
  text-align: left;
}

body.home .info-col p:last-child {
  margin-bottom: 0;
}

body.home .fp-contact-btn {
  display: block;
  width: fit-content;
  font-family: "Raleway", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.52em;
  text-transform: uppercase;
  color: rgba(230, 228, 240, 0.72) !important;
  border: 1px solid rgba(230, 228, 240, 0.22);
  padding: 18px 72px;
  margin: 0 0 80px;
  transition:
    color 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}

body.home .fp-contact-btn:hover {
  color: #fff !important;
  border-color: rgba(230, 228, 240, 0.55);
  background: rgba(230, 228, 240, 0.06);
}

body.home .fp-copyright {
  font-family: "Raleway", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  color: rgba(230, 228, 240, 0.2) !important;
  text-align: left;
}

/* =============================================================================
   11. BACK TO TOP
   ============================================================================= */

body.home #fixSocial .gotop img {
  filter: invert(1);
  opacity: 0.38;
  transition: opacity 0.3s ease;
}

body.home #fixSocial .gotop img:hover {
  opacity: 0.8;
}

/* =============================================================================
   12. SCROLL REVEAL ANIMATIONS
   ============================================================================= */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* JS 未読み込み / animsition 競合時のフォールバック:
   3秒後も is-revealed がなければ強制表示 */
@keyframes revealFallback {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-reveal] {
  animation: revealFallback 0.01s 3.5s forwards;
}

/* =============================================================================
   13. RESPONSIVE
   ============================================================================= */

@media (max-width: 1024px) {
  body.home .mogs-accent {
    display: none;
  }

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

@media (max-width: 768px) {
  body.home #mainvisual::before {
    inset: 8% 4% 18%;
  }

  body.home #mainvisual {
    padding: 110px 24px 96px;
  }

  body.home #main_title {
    width: 100%;
    gap: 14px;
  }

  body.home .hero-kicker {
    font-size: 0.62rem;
    letter-spacing: 0.34em;
  }

  body.home .hero-lead {
    font-size: 1rem;
    line-height: 1.85;
    letter-spacing: 0.05em;
    max-width: 420px;
  }

  body.home .hero-scroll {
    right: 24px;
    bottom: 24px;
  }

  body.home .scroll-line {
    width: 34px;
  }

  body.home .fp-inner {
    padding: 0 24px;
  }

  body.home .about-section,
  body.home .biz-section,
  body.home .topics-section,
  body.home .info-section {
    padding: 88px 0 80px;
  }

  body.home .section-eyebrow {
    margin-bottom: 48px;
  }

  body.home .section-index {
    font-size: 4rem;
  }

  body.home .about-headline {
    font-size: clamp(2.4rem, 8vw, 3.2rem) !important;
  }

  body.home .biz-row {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    padding: 28px 22px !important;
  }

  body.home .biz-num {
    font-size: 4rem !important;
  }

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

  body.home .info-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  body.home .fp-contact-btn {
    padding: 16px 48px;
  }
}

@media (max-width: 480px) {
  body.home .hero-tagline {
    font-size: clamp(3.2rem, 18vw, 5.2rem);
    line-height: 1.04;
  }

  body.home .hero-lead {
    font-size: 0.92rem;
  }

  body.home .hero-lead br {
    display: none;
  }

  body.home .hero-scroll {
    right: 18px;
    bottom: 20px;
    gap: 10px;
  }
}

@media (max-width: 375px) {
  body.home .hero-tagline {
    font-size: clamp(2.8rem, 16vw, 3.6rem);
    line-height: 1.06;
  }
}
