/**
 * Lattice Office — Theme / file-manager stylesheet
 * Enqueue from child theme or link in page template
 */

@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@300;400;500&family=Noto+Sans+JP:wght@300;400;500&display=swap');

body.lo-body {
  --lo-bg: #fbfbfb;
  --lo-ink: #141414;
  --lo-muted: #7a7a7a;
  --lo-line: #e8e8e8;
  --lo-accent: #2d4a42;
  --lo-sans: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  --lo-pad: clamp(28px, 5.5vw, 80px);
  --lo-max: 1120px;
  --lo-ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
  --blob-a: 63% 37% 58% 42% / 48% 52% 41% 59%;
  margin: 0;
  padding: 0;
  overflow-x: clip;
  background: var(--lo-bg);
  font-family: var(--lo-sans);
  color: var(--lo-ink);
  -webkit-font-smoothing: antialiased;
}

body.lo-body .lo img { max-width: none; }
body.lo-body .lo a,
body.lo-body .lo-header a {
  text-decoration: none;
  color: inherit;
}

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

.lo {
  font-size: 14px;
  line-height: 1.85;
  background: var(--lo-bg);
}

.lo img { display: block; width: 100%; height: 100%; object-fit: cover; }

.lo-w {
  max-width: var(--lo-max);
  margin: 0 auto;
  padding: 0 var(--lo-pad);
}

/* ── Header（ヒーロー座標・セクション見出しと同系） ── */
.lo-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 500;
  padding: clamp(20px, 3vw, 32px) 0;
  pointer-events: none;
  font-family: var(--lo-sans);
  transition:
    background 0.45s var(--lo-ease-soft),
    box-shadow 0.45s var(--lo-ease-soft),
    color 0.35s;
}

.lo-header__bar {
  max-width: var(--lo-max);
  margin: 0 auto;
  padding: 0 var(--lo-pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  pointer-events: auto;
}

.lo-header__brand {
  flex-shrink: 0;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 400;
  transition: opacity 0.3s, color 0.35s;
}

.lo-header__brand:hover { opacity: 0.72; }

.lo-header__menu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  color: inherit;
  transition: color 0.35s;
}

.lo-header__menu-bar {
  display: block;
  width: 22px;
  height: 1px;
  margin-left: auto;
  background: currentColor;
  transition: transform 0.35s var(--lo-ease-soft), opacity 0.35s;
}

.lo-header__nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.lo-header__link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid var(--lo-line);
  transition: color 0.3s, border-color 0.3s;
}

.lo-header__link:last-child { border-bottom: 0; }

.lo-header__link-en {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.lo-header__link-ja {
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  letter-spacing: 0.1em;
  font-weight: 400;
  line-height: 1.5;
  transition: color 0.3s;
}

.lo-header__link--cta .lo-header__link-en {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  font-size: 11px;
  letter-spacing: 0.18em;
  border: 1px solid var(--lo-ink);
  transition: background 0.35s var(--lo-ease-soft), border-color 0.35s, color 0.35s;
}

.lo-header__link--cta .lo-header__link-en::after {
  content: '→';
  font-size: 12px;
  letter-spacing: 0;
}

/* ヒーロー上 — lo-hero__coords / lo-hero__title と同系 */
.lo-header.-on-hero {
  color: var(--lo-ink);
}

.lo-header.-on-hero .lo-header__brand {
  text-shadow: 0 0 20px rgba(251, 251, 251, 0.9), 0 0 40px rgba(251, 251, 251, 0.55);
}

.lo-header.-on-hero .lo-header__link-en {
  color: var(--lo-muted);
  text-shadow: 0 0 16px rgba(251, 251, 251, 0.85);
}

.lo-header.-on-hero .lo-header__link-ja { color: var(--lo-ink); }

.lo-header.-on-hero .lo-header__link:hover .lo-header__link-en {
  color: var(--lo-ink);
}

/* ライト背景セクション — lo-sec-head と同系 */
.lo-header.-solid {
  background: rgba(251, 251, 251, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(232, 232, 232, 0.9);
  color: var(--lo-ink);
}

.lo-header.-solid .lo-header__brand { color: var(--lo-muted); }
.lo-header.-solid .lo-header__link-en { color: var(--lo-muted); }
.lo-header.-solid .lo-header__link-ja { color: var(--lo-ink); }
.lo-header.-solid .lo-header__link:hover .lo-header__link-en { color: var(--lo-ink); }

.lo-header.-solid .lo-header__link--cta .lo-header__link-en {
  color: var(--lo-ink);
}

.lo-header.-solid .lo-header__link--cta:hover .lo-header__link-en {
  background: rgba(20, 20, 20, 0.04);
}

/* ダークセクション（Business / Field）— lo-business__panel と同系 */
.lo-header.-light {
  background: transparent;
  box-shadow: none;
  color: #fff;
}

.lo-header.-light .lo-header__brand { color: rgba(255, 255, 255, 0.85); }
.lo-header.-light .lo-header__brand,
.lo-header.-light .lo-header__link-en {
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
}
.lo-header.-light .lo-header__link-en { color: rgba(255, 255, 255, 0.55); }
.lo-header.-light .lo-header__link-ja { color: rgba(255, 255, 255, 0.85); }
.lo-header.-light .lo-header__link { border-color: rgba(255, 255, 255, 0.14); }
.lo-header.-light .lo-header__link:hover .lo-header__link-en { color: #fff; }

.lo-header.-light .lo-header__link--cta .lo-header__link-en {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.lo-header.-light .lo-header__link--cta:hover .lo-header__link-en {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
}

/* SP: フルスクリーンメニュー */
@media (max-width: 767px) {
  .lo-header__nav {
    position: fixed;
    inset: 0;
    z-index: 499;
    padding: clamp(96px, 18vh, 120px) var(--lo-pad) clamp(40px, 8vh, 64px);
    background: rgba(251, 251, 251, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.4s var(--lo-ease-soft), transform 0.4s var(--lo-ease-soft), visibility 0.4s;
  }

  .lo-header.is-menu-open .lo-header__nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .lo-header.is-menu-open .lo-header__menu-bar:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .lo-header.is-menu-open .lo-header__menu-bar:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .lo-header.-light .lo-header__nav {
    background: rgba(20, 20, 20, 0.94);
  }
}

@media (min-width: 768px) {
  .lo-header__menu { display: none; }

  .lo-header__nav {
    flex-direction: row;
    align-items: center;
    gap: clamp(20px, 3.2vw, 36px);
  }

  .lo-header__link {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0;
    border: 0;
  }

  .lo-header__link-ja {
    display: none;
  }

  .lo-header__link-en {
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  .lo-header__link--cta .lo-header__link-en {
    padding: 12px 22px;
    font-size: 10px;
    letter-spacing: 0.2em;
  }

  .lo-header__link--cta .lo-header__link-en::after { display: inline; }

  .lo-header__link--cta {
    margin-left: clamp(4px, 1vw, 12px);
    padding-left: clamp(16px, 2vw, 24px);
    border-left: 1px solid var(--lo-line);
  }

  .lo-header.-light .lo-header__link--cta {
    border-left-color: rgba(255, 255, 255, 0.2);
  }
}

/* ── Section head ── */
.lo-sec-head {
  margin-bottom: clamp(56px, 9vw, 96px);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.3s var(--lo-ease-soft), transform 1.3s var(--lo-ease-soft);
}

.lo-sec-head.is-inview { opacity: 1; transform: translateY(0); }

.lo-sec-head__en {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--lo-muted);
  margin-bottom: 14px;
}

.lo-sec-head__ja {
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.5;
}

/* ══════════════════════════════════════
   HERO — 液体ブロブ → 全画面固定 → カード
   ══════════════════════════════════════ */
.lo-hero-pin {
  height: 360vh;
  position: relative;
}

.lo-hero {
  position: relative;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background: var(--lo-bg);
  width: 100%;
  --blob-init-half-w: 15vw;
  --blob-title-gap: clamp(10px, 2.2vw, 28px);
}

/* 背景画像 — 常に画面全体固定（図形と独立） */
.lo-hero__bg-picture {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100svh;
  z-index: 1;
  pointer-events: none;
}

.lo-hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  will-change: clip-path;
}

/* 図形枠（拡大するのは枠のみ・中身は空） */
.lo-hero__frame {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: var(--blob-w, 30vw);
  height: var(--blob-h, 38vh);
  min-width: 180px;
  min-height: 220px;
  border-radius: var(--blob-a);
  will-change: width, height, border-radius;
  filter: drop-shadow(0 10px 36px rgba(0, 0, 0, 0.08));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  z-index: 2;
  pointer-events: none;
  background: transparent;
}

.lo-hero.is-reveal .lo-hero__frame,
.lo-hero.is-cards .lo-hero__frame {
  opacity: 0;
}

.lo-hero__stage {
  position: absolute;
  inset: 0;
  z-index: 3;
  transition: opacity 0.65s var(--lo-ease-soft);
  pointer-events: none;
}

.lo-hero.is-cards .lo-hero__stage,
.lo-hero.is-reveal .lo-hero__stage {
  opacity: 0;
}

.lo-hero__title {
  position: absolute;
  top: 50%;
  z-index: 4;
  font-size: clamp(1.05rem, 2.4vw, 1.75rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  line-height: 1.6;
  white-space: nowrap;
  transform: translateY(-50%);
  text-shadow: 0 0 20px rgba(251, 251, 251, 0.9), 0 0 40px rgba(251, 251, 251, 0.55);
}

.lo-hero__title--left {
  right: calc(50% + var(--blob-init-half-w) + var(--blob-title-gap));
}

.lo-hero__title--right {
  left: calc(50% + var(--blob-init-half-w) + var(--blob-title-gap));
}

.lo-hero__coords {
  position: absolute;
  left: 50%;
  bottom: clamp(28px, 5vh, 48px);
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--lo-muted);
  writing-mode: horizontal-tb;
  pointer-events: none;
}

/* 全画面固定後の Pick up（ヒーロー内） */
.lo-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(88px, 12vh, 128px) var(--lo-pad) clamp(36px, 6vh, 56px);
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(251, 251, 251, 0.97) 0%, rgba(251, 251, 251, 0.55) 42%, transparent 72%);
}

.lo-hero.is-cards .lo-hero__overlay {
  opacity: 1;
  pointer-events: auto;
  background: linear-gradient(
    to top,
    rgba(251, 251, 251, 0.98) 0%,
    rgba(251, 251, 251, 0.82) 38%,
    rgba(251, 251, 251, 0.35) 62%,
    transparent 85%
  );
}

.lo-hero__overlay-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: clamp(20px, 3vw, 32px);
  gap: 16px;
  flex-wrap: wrap;
}

.lo-hero__overlay-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--lo-muted);
}

.lo-hero__overlay-title {
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  letter-spacing: 0.1em;
}

.lo-hero__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 2vw, 18px);
}

.lo-hero__card {
  background: #fff;
  border: 1px solid var(--lo-line);
  padding: clamp(18px, 2.5vw, 24px);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s var(--lo-ease-soft), transform 0.55s var(--lo-ease-soft), border-color 0.3s;
}

.lo-hero.is-cards .lo-hero__card {
  opacity: 1;
  transform: translateY(0);
}

.lo-hero.is-cards .lo-hero__card:nth-child(1) { transition-delay: 0.08s; }
.lo-hero.is-cards .lo-hero__card:nth-child(2) { transition-delay: 0.2s; }
.lo-hero.is-cards .lo-hero__card:nth-child(3) { transition-delay: 0.32s; }

.lo-hero__card:hover {
  border-color: #ccc;
  transform: translateY(-2px);
}

.lo-hero__card-tag {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lo-accent);
  margin-bottom: 10px;
}

.lo-hero__card-title {
  font-size: 12px;
  line-height: 1.65;
  letter-spacing: 0.03em;
}

.lo-hero__card-date {
  margin-top: 12px;
  font-size: 10px;
  color: var(--lo-muted);
}

/* 装飾ブロブ（カードエリア内） */
.lo-hero__deco {
  position: absolute;
  width: clamp(48px, 8vw, 80px);
  height: clamp(56px, 9vw, 90px);
  border-radius: 63% 37% 58% 42% / 45% 55% 40% 60%;
  background: rgba(45, 74, 66, 0.08);
  pointer-events: none;
  z-index: 9;
}

.lo-hero__deco--1 { top: 18%; right: 12%; }
.lo-hero__deco--2 { bottom: 38%; left: 8%; border-radius: 40% 60% 55% 45% / 60% 35% 65% 40%; }

@media (max-width: 768px) {
  .lo-hero__cards { grid-template-columns: 1fr; }
  .lo-hero {
    --blob-init-half-w: 28vw;
    --blob-title-gap: clamp(6px, 2vw, 12px);
  }
  .lo-hero__frame {
    width: var(--blob-w, 56vw);
    height: var(--blob-h, 44vh);
  }
  .lo-hero__title {
    font-size: clamp(0.8rem, 3.4vw, 0.95rem);
    letter-spacing: 0.1em;
    max-height: min(36vh, 220px);
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .lo-hero__title--left {
    right: calc(50% + var(--blob-init-half-w) + var(--blob-title-gap));
    left: auto;
  }
  .lo-hero__title--right {
    left: calc(50% + var(--blob-init-half-w) + var(--blob-title-gap));
    right: auto;
  }
  .lo-hero__bg-img {
    object-position: center 42%;
  }
}

/* ══════════════════════════════════════
   ABOUT
   ══════════════════════════════════════ */
.lo-about {
  padding: clamp(120px, 16vw, 200px) 0;
  position: relative;
  z-index: 20;
  background: var(--lo-bg);
}

.lo-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 10vw, 120px);
}

.lo-about__lead {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  letter-spacing: 0.08em;
  line-height: 2;
}

.lo-about__body { color: var(--lo-muted); font-size: 14px; }
.lo-about__body p + p { margin-top: 1.6em; }

/* ══════════════════════════════════════
   BUSINESS — ぼかし背景 + 中央シャープ
   ══════════════════════════════════════ */
.lo-business-pin { height: 340vh; }

.lo-business {
  position: relative;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background: #ececec;
  width: 100%;
}

.lo-business__blur {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.lo-business__blur img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  filter: blur(42px) brightness(1.14) saturate(1.08) contrast(0.96);
  transform: scale(1.12);
  transition: opacity 0.85s var(--lo-ease-soft);
}

.lo-business__blur img.is-active { opacity: 1; }

.lo-business__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(255, 255, 255, 0.28) 48%,
    rgba(255, 255, 255, 0.18) 100%
  );
}

.lo-business__focus-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.lo-business__focus {
  position: relative;
  width: clamp(220px, 34vw, 420px);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lo-business__focus img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.85s var(--lo-ease-soft);
}

.lo-business__focus img.is-active { opacity: 1; }

.lo-business__tag {
  position: absolute;
  top: clamp(80px, 11vh, 120px);
  left: var(--lo-pad);
  z-index: 3;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(20, 20, 20, 0.45);
}

.lo-business__scroll {
  position: absolute;
  left: clamp(14px, 2.2vw, 28px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 3px;
  height: clamp(168px, 38vh, 280px);
  pointer-events: none;
}

.lo-business__scroll::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -10px;
  bottom: -10px;
  width: 16px;
  transform: translateX(-50%);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
  z-index: -1;
}

.lo-business__scroll-track {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(180, 180, 180, 0.38) 50%,
    rgba(255, 255, 255, 0.22) 100%
  );
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.lo-business__scroll-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  border-radius: 2px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.88) 100%
  );
  box-shadow:
    0 0 10px rgba(255, 255, 255, 0.95),
    0 0 22px rgba(255, 255, 255, 0.55),
    0 0 36px rgba(255, 255, 255, 0.28);
  transform-origin: top center;
  transition: height 0.2s var(--lo-ease-soft);
}

.lo-business__scroll-dot {
  position: absolute;
  left: 50%;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(0, 0, 0, 0.18);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
  transition: background 0.35s var(--lo-ease-soft), box-shadow 0.35s var(--lo-ease-soft), transform 0.35s var(--lo-ease-soft);
}

.lo-business__scroll-dot[data-step="0"] { top: 0; transform: translateY(-50%); }
.lo-business__scroll-dot[data-step="1"] { top: 50%; transform: translateY(-50%); }
.lo-business__scroll-dot[data-step="2"] { top: 100%; transform: translateY(-50%); }

.lo-business__scroll-dot.is-passed,
.lo-business__scroll-dot.is-active {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.6);
}

.lo-business__scroll-dot.is-active {
  transform: translateY(-50%) scale(1.15);
  box-shadow:
    0 0 8px rgba(255, 255, 255, 0.95),
    0 0 16px rgba(255, 255, 255, 0.55);
}

.lo-business__content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  padding: clamp(80px, 11vh, 120px) var(--lo-pad);
  pointer-events: none;
}

.lo-business__panel {
  max-width: 520px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--lo-ease-soft), transform 0.6s var(--lo-ease-soft);
  pointer-events: none;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.55);
}

.lo-business__panel.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.lo-business__num {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 300;
  color: #fff;
  line-height: 1;
  margin-bottom: 12px;
}

.lo-business__name {
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 14px;
}

.lo-business__desc {
  font-size: 13px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 22px;
}

.lo-business__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 12px 22px;
}

body.lo-body .lo .lo-business__link {
  color: #fff;
}

.lo-business__link:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.lo-business__link::after { content: '→'; }

/* ══════════════════════════════════════
   FIELD — 7枚グリッド → 中央横長が拡大
   ══════════════════════════════════════ */
.lo-field-pin {
  height: 340vh;
}

.lo-field {
  position: relative;
  top: 0;
  height: 100svh;
  overflow: hidden;
  background: #d2d2d2;
  width: 100%;
}

/* 7枚レイアウト — 画面いっぱいの長方形 */
.lo-field__grid {
  position: absolute;
  inset: 0;
}

.lo-field__mosaic {
  display: grid;
  width: 100%;
  height: 100%;
  grid-template-columns: 1.72fr 1.56fr 1.72fr;
  grid-template-rows: 1.18fr 1.41fr 1.41fr 1.18fr;
  grid-template-areas:
    "l1 top r1"
    "l1 main r1"
    "l2 main r2"
    "l2 bot r2";
  gap: 5px;
  background: #d2d2d2;
  box-sizing: border-box;
}

.lo-field__cell { position: relative; overflow: hidden; min-width: 0; min-height: 0; }
.lo-field__cell.is-dim { opacity: 0.28; transition: opacity 0.4s; }

.lo-field__cell--top    { grid-area: top; }
.lo-field__cell--bottom { grid-area: bot; }
.lo-field__cell--l1     { grid-area: l1; }
.lo-field__cell--l2     { grid-area: l2; }
.lo-field__cell--r1     { grid-area: r1; }
.lo-field__cell--r2     { grid-area: r2; }

.lo-field__cell--main {
  grid-area: main;
  z-index: 2;
}

.lo-field__cell--main.is-expanding {
  position: fixed;
  z-index: 30;
  opacity: 1 !important;
  transition: none;
}

.lo-field__bg {
  position: absolute;
  inset: 0;
  z-index: 15;
  opacity: 0;
  transition: opacity 0.55s var(--lo-ease-soft);
}

.lo-field__bg.is-visible { opacity: 1; }

.lo-field__veil {
  position: absolute;
  inset: 0;
  z-index: 16;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.12) 55%, transparent 100%);
  opacity: 0;
  transition: opacity 0.55s var(--lo-ease-soft);
  pointer-events: none;
}

.lo-field__veil.is-visible { opacity: 1; }

.lo-field__copy {
  position: absolute;
  z-index: 20;
  left: var(--lo-pad);
  right: var(--lo-pad);
  bottom: clamp(48px, 10vh, 96px);
  max-width: 560px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--lo-ease-soft) 0.1s, transform 0.85s var(--lo-ease-soft) 0.1s;
  pointer-events: none;
}

.lo-field__copy.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.lo-field__index {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 12px;
}

.lo-field__title {
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  letter-spacing: 0.1em;
  line-height: 1.55;
  color: #fff;
  margin-bottom: 14px;
}

.lo-field__body {
  font-size: 13px;
  line-height: 2.1;
  color: rgba(255, 255, 255, 0.8);
}

/* ── Feed / Studio / Contact ── */
.lo-feed { padding: clamp(120px, 16vw, 200px) 0; background: var(--lo-bg); position: relative; z-index: 20; }
.lo-feed__list { border-top: 1px solid var(--lo-line); }

.lo-feed__item {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--lo-line);
}

.lo-feed__date { font-size: 11px; color: var(--lo-muted); }
.lo-feed__title { font-size: 14px; transition: color 0.3s; }
.lo-feed__item:hover .lo-feed__title { color: var(--lo-accent); }

/* ── Partners marquee（2段・逆方向） ── */
.lo-partners {
  padding: 0 0 clamp(100px, 14vw, 160px);
  background: var(--lo-bg);
  position: relative;
  z-index: 20;
  overflow: hidden;
}

.lo-partners .lo-sec-head {
  margin-bottom: clamp(40px, 6vw, 64px);
}

.lo-partners__rows {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2vw, 20px);
}

.lo-partners__row {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
}

.lo-partners__track {
  display: flex;
  align-items: stretch;
  gap: clamp(14px, 2vw, 22px);
  width: max-content;
  padding: 2px 0;
}

.lo-partners__track--rtl {
  animation: lo-partners-rtl 52s linear infinite;
}

.lo-partners__track--ltr {
  animation: lo-partners-ltr 52s linear infinite;
}

.lo-partners__row:hover .lo-partners__track {
  animation-play-state: paused;
}

@keyframes lo-partners-rtl {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes lo-partners-ltr {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.lo-partners__item {
  position: relative;
  flex: 0 0 auto;
  width: clamp(220px, 24vw, 300px);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--lo-line);
  transition: transform 0.35s var(--lo-ease-soft);
}

.lo-partners__item:hover {
  transform: translateY(-3px);
}

.lo-partners__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--lo-ease-soft);
}

.lo-partners__item:hover img {
  transform: scale(1.05);
}

.lo-partners__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.94) 0%,
    rgba(255, 255, 255, 0.52) 46%,
    rgba(255, 255, 255, 0.18) 100%
  );
  pointer-events: none;
}

.lo-partners__label {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(14px, 2vw, 18px) clamp(14px, 1.8vw, 18px);
  font-size: clamp(10px, 1.1vw, 12px);
  letter-spacing: 0.1em;
  line-height: 1.5;
  color: var(--lo-ink);
  font-weight: 500;
  pointer-events: none;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

@media (prefers-reduced-motion: reduce) {
  .lo-partners__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
    max-width: var(--lo-max);
    margin: 0 auto;
    padding: 0 var(--lo-pad);
  }
  .lo-partners__rows { gap: 24px; }
}

.lo-studio {
  padding: clamp(120px, 16vw, 200px) 0;
  border-top: 1px solid var(--lo-line);
  background: var(--lo-bg);
  position: relative;
  z-index: 20;
}

.lo-studio__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(56px, 10vw, 100px);
}

.lo-studio__row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--lo-line);
  font-size: 13px;
}

.lo-studio__row:first-of-type { border-top: 1px solid var(--lo-line); }
.lo-studio__key { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lo-muted); }
.lo-studio__img { aspect-ratio: 4/5; overflow: hidden; background: var(--lo-line); }

.lo-studio__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.lo-contact {
  padding: clamp(140px, 18vw, 220px) 0;
  text-align: center;
  background: var(--lo-bg);
  position: relative;
  z-index: 20;
  overflow: hidden;
}

.lo-contact .lo-w {
  position: relative;
  z-index: 1;
}

.lo-contact__bubbles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.lo-contact__bubble {
  position: absolute;
  bottom: -12%;
  border-radius: 50%;
  background: radial-gradient(
    circle at 32% 28%,
    rgba(210, 236, 248, 0.92) 0%,
    rgba(175, 218, 238, 0.42) 52%,
    rgba(160, 205, 228, 0.12) 100%
  );
  box-shadow: 0 0 18px rgba(186, 224, 242, 0.35);
  opacity: 0;
  animation: lo-contact-bubble-rise linear infinite;
  will-change: transform, opacity;
}

@keyframes lo-contact-bubble-rise {
  0% {
    transform: translate3d(0, 0, 0) scale(0.45);
    opacity: 0;
  }
  12% {
    opacity: 0.72;
  }
  55% {
    opacity: 0.5;
  }
  100% {
    transform: translate3d(var(--lo-bubble-drift, 0px), calc(-115vh - 40px), 0) scale(1);
    opacity: 0;
  }
}

.lo-contact__bubble:nth-child(1) {
  left: 8%;
  width: 14px;
  height: 14px;
  --lo-bubble-drift: -18px;
  animation-duration: 11s;
  animation-delay: 0s;
}
.lo-contact__bubble:nth-child(2) {
  left: 22%;
  width: 22px;
  height: 22px;
  --lo-bubble-drift: 12px;
  animation-duration: 14s;
  animation-delay: 2.4s;
}
.lo-contact__bubble:nth-child(3) {
  left: 38%;
  width: 11px;
  height: 11px;
  --lo-bubble-drift: -8px;
  animation-duration: 9.5s;
  animation-delay: 5.1s;
}
.lo-contact__bubble:nth-child(4) {
  left: 52%;
  width: 28px;
  height: 28px;
  --lo-bubble-drift: 16px;
  animation-duration: 16s;
  animation-delay: 1.2s;
}
.lo-contact__bubble:nth-child(5) {
  left: 66%;
  width: 16px;
  height: 16px;
  --lo-bubble-drift: -14px;
  animation-duration: 12.5s;
  animation-delay: 7s;
}
.lo-contact__bubble:nth-child(6) {
  left: 78%;
  width: 20px;
  height: 20px;
  --lo-bubble-drift: 10px;
  animation-duration: 13.5s;
  animation-delay: 3.8s;
}
.lo-contact__bubble:nth-child(7) {
  left: 14%;
  width: 18px;
  height: 18px;
  --lo-bubble-drift: 22px;
  animation-duration: 10.5s;
  animation-delay: 9.2s;
}
.lo-contact__bubble:nth-child(8) {
  left: 44%;
  width: 12px;
  height: 12px;
  --lo-bubble-drift: -20px;
  animation-duration: 8.8s;
  animation-delay: 6.4s;
}
.lo-contact__bubble:nth-child(9) {
  left: 58%;
  width: 24px;
  height: 24px;
  --lo-bubble-drift: 8px;
  animation-duration: 15s;
  animation-delay: 4.6s;
}
.lo-contact__bubble:nth-child(10) {
  left: 88%;
  width: 15px;
  height: 15px;
  --lo-bubble-drift: -10px;
  animation-duration: 11.8s;
  animation-delay: 8.5s;
}

.lo-contact__lead { font-size: clamp(1.25rem, 2.8vw, 1.75rem); letter-spacing: 0.12em; margin-bottom: 20px; }
.lo-contact__sub { font-size: 13px; color: var(--lo-muted); line-height: 2.1; max-width: 400px; margin: 0 auto 40px; }

.lo-contact__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: transparent;
  color: var(--lo-ink);
  border: 1px solid var(--lo-ink);
  transition: background 0.35s var(--lo-ease-soft), border-color 0.35s var(--lo-ease-soft);
}

.lo-contact__btn:hover {
  background: rgba(20, 20, 20, 0.04);
}

.lo-contact__btn::after { content: '→'; }

@media (max-width: 900px) {
  .lo-about__grid, .lo-studio__grid { grid-template-columns: 1fr; }
  .lo-feed__item { grid-template-columns: 1fr; gap: 6px; }
  .lo-field__mosaic {
    grid-template-columns: 1.65fr 1.7fr 1.65fr;
    grid-template-rows: 1.12fr 1.44fr 1.44fr 1.12fr;
  }
  .lo-partners__item { width: clamp(180px, 62vw, 260px); }
}

@media (max-width: 768px) {
  .lo-studio__img {
    aspect-ratio: 16 / 9;
    width: 100%;
  }
  .lo-studio__img img {
    object-fit: cover;
    object-position: center 42%;
  }
  .lo-business__scroll {
    left: clamp(10px, 3vw, 18px);
    top: 34%;
    height: clamp(112px, 24vh, 168px);
  }
  .lo-business__content {
    padding-left: calc(var(--lo-pad) + 28px);
    padding-bottom: clamp(104px, 15vh, 132px);
  }
  .lo-hero__overlay {
    padding-bottom: clamp(52px, 9vh, 72px);
  }
  .lo-hero__overlay-head {
    margin-bottom: clamp(28px, 5vw, 40px);
  }
}