/* ══════════════════════════════════════════
   Pable Corporate Site — Prototype Styles
   Split from index.html for maintainability
   ══════════════════════════════════════════ */

:root {
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-sub:     'Space Grotesk', sans-serif;
  --font-body:    'Zen Kaku Gothic New', sans-serif;
  --color-text:   #333333;
  --color-bg:     #F2F2F2;
  --content-top:  clamp(100px, 14vh, 150px); /* ロゴ下クリアランス基準 */
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
::selection { background: #FCF003; color: #1A1A1A; }


body {
  background: var(--color-bg);
  font-family: var(--font-body);
  color: var(--color-text);
  width: 100%;
}

#canvas-back, #canvas-front { position: fixed; inset: 0; pointer-events: none; }
#canvas-back  { z-index: -1; }
#canvas-front { z-index: 1; }
canvas { display: block; width: 100%; height: 100%; }

#hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay {
  display: flex; flex-direction: column;
  justify-content: flex-end; align-items: flex-start;
  pointer-events: auto;
  padding-left: 5vw;
  padding-bottom: clamp(100px, 19vh, 180px);
  width: 100%;
  height: 100vh;
}

#what-we-do {
  min-height: calc(100vh + 1200px);
  padding: 0 5vw 0 40%;
  position: relative;
}

#what-we-do .section-content {
  position: sticky;
  top: var(--content-top);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  max-width: 580px;
  margin-left: auto;
  opacity: 0;
  z-index: 2;
}

/* ── セクション子要素の初期状態（_createReveal で登場アニメーション） ── */
.wwd-eyebrow, .wwd-statement, .wwd-statement-ja, .wwd-cta,
.works-eyebrow, .works-statement, .works-statement-ja, .works-cta,
.wwa-eyebrow, .wwa-statement, .wwa-statement-ja, .wwa-lead, .wwa-nav__item, .wwa-cta,
.careers-eyebrow, .careers-statement, .careers-statement-ja, .careers-lead, .careers-cta,
.contact-eyebrow, .contact-statement, .contact-statement-ja, .contact-cta {
  opacity: 0;
  transform: translateY(60px);
}
.wwd-card, .works-card {
  opacity: 0;
  transform: translateY(80px);
}

.wwd-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 2rem;
}
.wwd-eyebrow__line {
  width: 32px; height: 1px;
  background: #666666;
}
.wwd-eyebrow__text {
  font-family: var(--font-sub);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #666666;
}

.wwd-statement {
  font-family: var(--font-heading);
  font-size: 72px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: #1A1A1A;
  margin-bottom: 1.2rem;
}
.wwd-statement-ja {
  font-family: var(--font-body);
  font-size: 21px;
  font-weight: 500;
  color: #4A4A4A;
  line-height: 1.8;
  margin-bottom: clamp(40px, 5vh, 56px);
}

.wwd-cards {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-bottom: clamp(40px, 5vh, 56px);
}
.wwd-card {
  position: relative;
  padding-left: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.wwd-card:hover {
  transform: translateX(8px);
}
.wwd-card__num {
  font-family: var(--font-heading);
  font-size: 104px;
  font-weight: 200;
  color: rgba(26, 26, 26, 0.06);
  letter-spacing: -0.04em;
  line-height: 1;
  position: absolute;
  left: -24px;
  top: 50%;
  transform: translateY(-50%);
  transition: color 0.4s ease;
  pointer-events: none;
  user-select: none;
}
.wwd-card:hover .wwd-card__num {
  color: rgba(2, 169, 59, 0.12);
}
.wwd-card__heading-en {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 0.35rem;
}
.wwd-card__heading-ja {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  color: #4A4A4A;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}
.wwd-card__desc {
  font-family: var(--font-body);
  font-size: 17px;
  color: #666666;
  line-height: 2;
}

.wwd-cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #1A1A1A;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.2);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.wwd-cta:hover {
  color: #02A93B;
  border-bottom-color: #02A93B;
  gap: 20px;
}
.wwd-cta__arrow {
  display: inline-block;
  width: 32px; height: 1px;
  background: currentColor;
  position: relative;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.wwd-cta:hover .wwd-cta__arrow { width: 48px; }
.wwd-cta__arrow::after {
  content: '';
  position: absolute; right: 0; top: -3px;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  padding: 3px;
  transform: rotate(-45deg);
}

/* ─── Works Section ─── */
#works {
  min-height: calc(100vh + 1350px);
  padding: 0 5vw;
  position: relative;
}

#works .section-content {
  position: sticky;
  top: var(--content-top);
  padding: 0;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  opacity: 0;
  z-index: 2;
}

.works-header {
  text-align: center;
  margin-bottom: clamp(48px, 6vh, 72px);
}

.works-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 2rem;
}
.works-eyebrow__line {
  width: 32px; height: 1px;
  background: #666666;
}
.works-eyebrow__text {
  font-family: var(--font-sub);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #666666;
}

.works-statement {
  font-family: var(--font-heading);
  font-size: 72px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: #1A1A1A;
  margin-bottom: 1rem;
}
.works-statement-ja {
  font-family: var(--font-body);
  font-size: 21px;
  font-weight: 500;
  color: #4A4A4A;
  line-height: 1.8;
}

.works-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 40px);
  margin-bottom: clamp(48px, 6vh, 72px);
}

.works-card {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
}
.works-card:nth-child(even) {
  margin-top: clamp(40px, 5vw, 80px);
}

.works-card__thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #E0E0E0;
}
.works-card__thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.works-card:hover .works-card__thumb-img {
  filter: grayscale(0%);
}

.works-card__overlay {
  display: none;
}

.works-card__info {
  padding: clamp(16px, 2vw, 24px);
}
.works-card__client {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 0.3rem;
}
.works-card__type {
  font-family: var(--font-sub);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888888;
  margin-bottom: 0.4rem;
}
.works-card__desc {
  font-family: var(--font-body);
  font-size: 17px;
  color: #666666;
  line-height: 2;
}

.works-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #1A1A1A;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.2);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.works-cta:hover {
  color: #02A93B;
  border-bottom-color: #02A93B;
  gap: 20px;
}
.works-cta__arrow {
  display: inline-block;
  width: 32px; height: 1px;
  background: currentColor;
  position: relative;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.works-cta:hover .works-cta__arrow { width: 48px; }
.works-cta__arrow::after {
  content: '';
  position: absolute; right: 0; top: -3px;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  padding: 3px;
  transform: rotate(-45deg);
}

.works-footer {
  text-align: center;
}

/* ─── Who We Are Section ─── */
#who-we-are {
  min-height: calc(100vh + 450px);
  padding: 0 5vw;
  position: relative;
}
#who-we-are .section-content {
  position: sticky;
  top: clamp(24px, 3vh, 40px);
  min-height: calc(100vh - clamp(24px, 3vh, 40px));
  max-width: min(1080px, 86vw);
  width: 100%;
  margin: 0 auto;
  opacity: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 420px;
  column-gap: 0;
  align-items: start;
  align-content: center;
}
/* ── Left column ── */
.wwa-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.wwa-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 2rem;
  margin-left: clamp(-40px, -3vw, -24px);
}
.wwa-eyebrow__line { width: 32px; height: 1px; background: #666666; }
.wwa-eyebrow__text {
  font-family: var(--font-sub);
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: #666666;
}
.wwa-statement {
  font-family: var(--font-heading);
  font-size: 72px;
  font-weight: 600; line-height: 1.15;
  letter-spacing: -0.04em; color: #1A1A1A;
  margin-bottom: 1rem;
}
.wwa-statement__l1,
.wwa-statement__l2 {
  display: block;
}
.wwa-statement-ja {
  font-family: var(--font-body);
  font-size: 21px;
  font-weight: 500;
  color: #4A4A4A; line-height: 1.8;
  margin-bottom: clamp(48px, 6vh, 64px);
}
.wwa-lead {
  font-family: var(--font-body);
  font-size: 17px;
  color: #4A4A4A;
  line-height: 2;
  text-align: left;
  max-width: 480px;
  padding-left: clamp(24px, 3vw, 40px);
}
/* ── Right column ── */
.wwa-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  --card-indent: clamp(20px, 2vw, 28px);
  margin-top: clamp(155px, 24vh, 235px);
}
.wwa-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.wwa-nav__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px 24px;
  background: rgba(255,255,255,0.4);
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}
.wwa-nav__item:nth-child(1) { margin-left: 0; }
.wwa-nav__item:nth-child(2) { margin-left: var(--card-indent); }
.wwa-nav__item:nth-child(3) { margin-left: calc(var(--card-indent) * 2); }
.wwa-nav__item:hover {
  background: rgba(255,255,255,0.6);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.wwa-nav__item::before {
  content: attr(data-num);
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 400;
  color: #02A93B;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
  opacity: 0.7;
  flex-shrink: 0;
  width: 28px;
  transition: opacity 0.3s ease;
}
.wwa-nav__en {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #1A1A1A;
  transition: color 0.3s ease;
}
.wwa-nav__ja {
  font-family: var(--font-body);
  font-size: 12px;
  color: #5A6355;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  margin-left: auto;
}
.wwa-nav__arrow {
  font-family: var(--font-heading);
  font-size: 14px;
  color: #02A93B;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  flex-shrink: 0;
}
/* Hover */
.wwa-nav__item:hover .wwa-nav__en { color: #02A93B; }
.wwa-nav__item:hover .wwa-nav__ja { opacity: 1; transform: translateX(0); }
.wwa-nav__item:hover .wwa-nav__arrow { opacity: 1; transform: translateX(0); }
.wwa-nav__item:hover::before { opacity: 1; }
/* CTA */
.wwa-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  font-family: var(--font-heading);
  font-size: 16px; font-weight: 600;
  letter-spacing: 0.06em; color: #1A1A1A;
  text-decoration: none;
  padding: 16px 24px;
  background: rgba(255,255,255,0.4);
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  margin-left: calc(var(--card-indent) * 3);
  transition: background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}
.wwa-cta:hover {
  color: #02A93B;
  background: rgba(255,255,255,0.6);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.wwa-cta__arrow {
  display: inline-block; width: 32px; height: 1px;
  background: currentColor; position: relative;
  margin-left: auto;
}
.wwa-cta__arrow::after {
  content: '';
  position: absolute; right: -1px; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

/* ─── Careers Section ─── */
#careers {
  min-height: calc(100vh + 450px);
  padding: 0 5vw;
  position: relative;
}
#careers .section-content {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  opacity: 0;
  z-index: 2;
}
.careers-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 2rem;
}
.careers-eyebrow__line { width: 32px; height: 1px; background: #666666; }
.careers-eyebrow__text {
  font-family: var(--font-sub);
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: #666666;
}
.careers-statement {
  font-family: var(--font-heading);
  font-size: 72px;
  font-weight: 600; line-height: 1.15;
  letter-spacing: -0.04em; color: #1A1A1A;
  margin-bottom: 1rem;
}
.careers-statement-ja {
  font-family: var(--font-body);
  font-size: 21px;
  font-weight: 500;
  color: #4A4A4A; line-height: 1.8;
  margin-bottom: clamp(40px, 5vh, 56px);
}
.careers-lead {
  font-family: var(--font-body);
  font-size: 17px;
  color: #4A4A4A;
  line-height: 2;
  text-align: center;
  margin-bottom: clamp(40px, 5vh, 56px);
}
.careers-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 16px; font-weight: 600;
  letter-spacing: 0.06em; color: #1A1A1A;
  text-decoration: none; padding: 8px 0;
  border-bottom: 1px solid rgba(26,26,26,0.2);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.careers-cta:hover { color: #02A93B; border-bottom-color: #02A93B; gap: 20px; }
.careers-cta__arrow {
  display: inline-block; width: 32px; height: 1px;
  background: currentColor; position: relative;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.careers-cta:hover .careers-cta__arrow { width: 48px; }
.careers-cta__arrow::after {
  content: ''; position: absolute; right: 0; top: -3px;
  border: solid currentColor; border-width: 0 1px 1px 0;
  padding: 3px; transform: rotate(-45deg);
}

/* ─── Contact Section ─── */
#contact {
  min-height: calc(100vh + 450px);
  padding: 0 5vw;
  position: relative;
}
#contact .section-content {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  opacity: 0;
  z-index: 2;
}
.contact-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 2rem;
}
.contact-eyebrow__line { width: 32px; height: 1px; background: #666666; }
.contact-eyebrow__text {
  font-family: var(--font-sub);
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: #666666;
}
.contact-statement {
  font-family: var(--font-heading);
  font-size: 72px;
  font-weight: 600; line-height: 1.15;
  letter-spacing: -0.04em; color: #1A1A1A;
  margin-bottom: 1rem;
}
.contact-statement-ja {
  font-family: var(--font-body);
  font-size: 21px;
  font-weight: 500;
  color: #4A4A4A; line-height: 1.8;
  margin-bottom: clamp(24px, 3.2vh, 40px);
}
.contact-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 16px; font-weight: 600;
  letter-spacing: 0.06em; color: #1A1A1A;
  text-decoration: none; padding: 12px 0;
  border-bottom: 2px solid rgba(26,26,26,0.3);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.contact-cta:hover { color: #02A93B; border-bottom-color: #02A93B; gap: 20px; }
.contact-cta__arrow {
  display: inline-block; width: 40px; height: 1px;
  background: currentColor; position: relative;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.contact-cta:hover .contact-cta__arrow { width: 56px; }
.contact-cta__arrow::after {
  content: ''; position: absolute; right: 0; top: -3px;
  border: solid currentColor; border-width: 0 1px 1px 0;
  padding: 3px; transform: rotate(-45deg);
}

/* ─── Footer ─── */
#site-footer {
  min-height: calc(100vh + 700px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: clamp(48px, 8vh, 80px) 2.5rem 0;
  position: relative;
}
.footer-logo-icon {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: contain;
  opacity: 0;
  pointer-events: none;
  z-index: 3;
}
.footer-content {
  width: 100%;
  opacity: 0;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: clamp(40px, 5vh, 64px);
  padding: 0 5vw;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.footer-brand img {
  height: 26px;
  width: auto;
}
.footer-brand__tagline {
  font-family: var(--font-heading);
  font-size: 0.90rem;
  font-weight: 400;
  color: #888888;
  line-height: 1.6;
  letter-spacing: 0.02em;
  margin-top: 20px;
}
.footer-brand__desc {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: #888888;
  line-height: 1.7;
  margin-top: 10px;
  max-width: 280px;
}
.footer-nav {
  display: flex;
  gap: clamp(32px, 4vw, 64px);
}
.footer-nav__title {
  font-family: var(--font-heading);
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #888888;
  margin-bottom: 12px;
}
.footer-nav__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav__list a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: #666666;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-nav__list a:hover { color: #02A93B; }
.footer-bottom {
  border-top: 1px solid rgba(26,26,26,0.08);
  padding-top: 24px;
  padding-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copyright {
  font-family: var(--font-sub);
  font-size: 0.7rem;
  color: #AAAAAA;
  letter-spacing: 0.05em;
  margin-left: auto;
  margin-right: auto;
}

.overlay h1 {
  font-family: var(--font-heading);
  font-size: clamp(88px, calc(20.8px + 6.56vw), 120px);
  font-weight: 700;
  letter-spacing: -0.04em;
  text-align: left;
  line-height: 1.15;
  color: #1A1A1A;
}
.overlay h1 .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.15em;
  margin-bottom: -0.15em;
}
.overlay h1 .line-inner {
  display: block;
}
.overlay h1 .line-inner .char {
  display: inline-block;
  transform: translateY(110%);
}

.overlay .sub-ja {
  font-family: var(--font-body);
  font-size: clamp(18px, calc(5.4px + 1.23vw), 24px);
  font-weight: 500;
  letter-spacing: 0.12em;
  margin-left: 0.5rem;
  margin-top: 3.5rem;
  clip-path: inset(0 100% 0 0);
  color: #4A4A4A;
}

body.is-loading { overflow: hidden; }

#loader {
  position: fixed; inset: 0; z-index: 100;
  background: #1A2C2E;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  gap: 16px;
}
#loader::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--noise-bg);
  background-repeat: repeat;
  background-size: 256px 256px;
  opacity: 0.07;
  pointer-events: none;
}
#loader.hidden { opacity: 0; pointer-events: none; transition: opacity 0.3s linear; }
#loader-icon-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  opacity: 0;
  transform: scale(0.8);
}
#loader-icon {
  position: absolute;
  top: 0; left: 0;
  width: 72px;
  height: 72px;
}
#loader-icon path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  fill: transparent;
}
#loader-icon-img {
  position: absolute;
  top: 0; left: 0;
  width: 72px;
  height: 72px;
  object-fit: contain;
  opacity: 0;
}
#loader-count {
  font-family: var(--font-sub);
  font-size: 15px;
  font-weight: 400;
  color: #999999;
  opacity: 0;
}

.site-logo {
  position: fixed;
  top: 2rem;
  left: 2.5rem;
  z-index: 20;
  text-decoration: none;
}
.site-logo img {
  height: 24px;
  width: auto;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  margin-bottom: 2.5rem;
  margin-left: 0.4rem;
  opacity: 0;
}
.hero-eyebrow__line {
  width: 28px;
  height: 1px;
  background: #666666;
  opacity: 1;
  transform: scaleX(0);
  transform-origin: left center;
}
.hero-eyebrow__text {
  font-family: var(--font-sub);
  font-size: clamp(14px, calc(9.8px + 0.41vw), 16px);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #666666;
}
.hero-eyebrow__text .char {
  display: inline-block;
  opacity: 0;
}

/* ─── Hamburger Button ─── */
.nav-toggle {
  position: fixed;
  top: 2rem;
  right: 2.5rem;
  z-index: 60;
  width: 32px;
  height: 24px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  overflow: visible;
  -webkit-appearance: none;
  appearance: none;
}
.nav-toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-text);
}
.nav-toggle span:first-child { top: 6px; }
.nav-toggle span:last-child  { top: 16px; }

/* ─── Fullscreen Overlay ─── */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: #0A0A0E;
  pointer-events: none;
  clip-path: inset(0 0 100% 0);
  display: flex;
  flex-direction: column;
  padding: 2rem 5vw;
}
.nav-overlay.is-open {
  pointer-events: auto;
}
.nav-overlay__logo {
  position: absolute;
  top: 2rem;
  left: 2.5rem;
}
.nav-overlay__logo img {
  height: 24px;
  width: auto;
  filter: brightness(0) invert(1);
}
.nav-overlay__menu {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  list-style: none;
  padding: clamp(60px, 12vh, 120px) 0;
}
.nav-overlay__menu li {
  overflow: hidden;
}
.nav-overlay__menu a {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 76px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: -0.02em;
  line-height: 1.2;
  background: linear-gradient(90deg, #4DB87A 0%, #D4D88A 30%, #ffffff 51%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  background-size: 200% 100%;
  background-position: 100% 0;
  transition: background-position 0.3s ease, color 0.3s ease;
}
.nav-overlay__menu a:hover {
  color: transparent;
  background-position: 0% 0;
}
.nav-overlay__menu .nav-label-ja {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.08em;
  margin-top: 0.1em;
  margin-bottom: 0.7em;
  transition: color 0.3s ease;
}
.nav-overlay__menu li:hover .nav-label-ja {
  color: #ffffff;
}

/* ─── Nav Icon (right side) ─── */
.nav-overlay__icon {
  position: absolute;
  right: -5vw;
  top: 50%;
  transform: translateY(-50%);
  width: min(120vh, 1080px);
  height: min(120vh, 1080px);
  opacity: 0.3;
  pointer-events: none;
}
.nav-overlay__icon svg {
  width: 100%;
  height: 100%;
}
.nav-overlay__icon .zone {
  opacity: 0;
  transition: opacity 0.3s ease-out;
}
.nav-overlay__icon .zone.is-active {
  opacity: 0.85;
}

/* ─── Scroll Indicator ─── */
.scroll-indicator {
  position: fixed;
  bottom: 2.5rem;
  left: 2.5rem;
  z-index: 20;
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  pointer-events: none;
  opacity: 0;
}
.scroll-indicator__track {
  position: relative;
  width: 1px;
  height: 48px;
  background: rgba(51, 51, 51, 0.15);
  overflow: hidden;
}
.scroll-indicator__thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-text);
  transform-origin: top center;
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%   { transform: scaleY(0); opacity: 1; }
  50%  { transform: scaleY(1); opacity: 1; }
  80%  { transform: scaleY(1); opacity: 0; }
  100% { transform: scaleY(0); opacity: 0; }
}
.scroll-indicator__meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.scroll-indicator__counter {
  font-family: var(--font-sub);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--color-text);
  line-height: 1;
}
.scroll-indicator__counter .current {
  font-size: 0.85rem;
  font-weight: 600;
}
.scroll-indicator__label {
  font-family: var(--font-sub);
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text);
  opacity: 0.5;
  line-height: 1;
}

/* ─── Custom Cursor ─── */
body { cursor: none; }
a, button { cursor: none; }
.custom-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #FFFFFF;
  mix-blend-mode: difference;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
  transform: translate3d(-100px, -100px, 0);
}

/* ─── Background Effects ─── */
#noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ─── Background Layers ─── */
#bg-layers {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}
#bg-layers > div {
  position: absolute;
  inset: 0;
  opacity: 0;
}
#bg-hero {
  opacity: 1;
  background: #1A2C2E;
}
#bg-wwd {
  background: #F2F2F2;
}
#bg-works {
  background: #F0F2EC;
}
#bg-wwa {
  background: #D5DDD0;
}
#bg-careers {
  background:
    radial-gradient(circle at 50% 50%, rgba(47,58,44,0.8) 0%, transparent 60%),
    #2F3A2C;
}
#bg-contact {
  background: #C8D4C0;
}
#bg-footer {
  background: #EEF0E8;
}

/* ─── Dark Section Overrides ─── */
/* Hero — dark bg */
.hero-eyebrow__line { background: #999999; }
.hero-eyebrow__text { color: #999999; }
.overlay h1 { color: #F2F2F2; }
.overlay .sub-ja { color: #CCCCCC; }
/* Dark UI — toggled via body.dark-ui class for logo, hamburger, scroll indicator */
body.dark-ui .site-logo img { filter: brightness(0) invert(1); }
body.dark-ui .scroll-indicator__track { background: rgba(255,255,255,0.15); }
body.dark-ui .scroll-indicator__thumb { background: #F2F2F2; }
body.dark-ui .scroll-indicator__counter { color: #F2F2F2; }
body.dark-ui .scroll-indicator__label { color: #F2F2F2; }
/* CSS transitions removed — GSAP handles all UI color animation directly */

/* Works — light bg, uses default dark text colors */
.works-card__overlay { background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.3) 100%); }

/* Who We Are — green tint light bg, uses default dark text colors */

/* Careers — dark bg */
.careers-eyebrow__line { background: #999999; }
.careers-eyebrow__text { color: #999999; }
.careers-statement { color: #F2F2F2; }
.careers-statement-ja { color: #CCCCCC; }
.careers-lead { color: #CCCCCC; }
.careers-cta { color: #F2F2F2; border-bottom-color: rgba(242,242,242,0.2); }
.careers-cta:hover { color: #02A93B; border-bottom-color: #02A93B; }

/* Contact — light bg, uses original dark text colors */

/* Footer — light bg, uses dark text colors */
.footer-brand img { filter: none; }
.footer-nav__list a:hover { color: #02A93B; }
.footer-bottom { border-top-color: rgba(26,26,26,0.1); }
.footer-copyright { color: #777777; }

/* ══════════════════════════════════════════
   RESPONSIVE — Large Screen: ≥1513px (1512→1920 fluid, ≥1920 cap)
   全要素を同一倍率(vw/1512)でスケール → ジャンプ比不変
   ══════════════════════════════════════════ */
@media (min-width: 1513px) {

  /* ── Content width: 既存max-widthをフォントと同倍率(vw/1512)でスケール、1920pxでキャップ ── */
  #what-we-do { padding-left: min(40%, 520px); }
  #what-we-do .section-content { max-width: clamp(580px, 38.36vw, 737px); }
  #works .section-content      { max-width: clamp(1400px, 92.59vw, 1778px); }
  #who-we-are .section-content { max-width: clamp(1080px, 71.43vw, 1372px); }
  .wwa-lead                    { max-width: clamp(480px, 31.75vw, 610px); }
  #careers .section-content    { max-width: clamp(720px, 47.62vw, 915px); }
  #contact .section-content    { max-width: clamp(600px, 39.68vw, 762px); }
  .footer-brand__desc          { max-width: clamp(280px, 18.52vw, 356px); }

  /* ── Hero ── */
  .overlay h1           { font-size: clamp(120px, 7.937vw, 152px); }
  .overlay .sub-ja      { font-size: clamp(24px, 1.587vw, 30px); }
  .hero-eyebrow__text   { font-size: clamp(14px, 1.058vw, 20px); }

  /* ── WWD ── */
  .wwd-eyebrow__text    { font-size: 14px; }
  .wwd-statement        { font-size: clamp(72px, 4.762vw, 91px); }
  .wwd-statement-ja     { font-size: clamp(21px, 1.389vw, 27px); }
  .wwd-card__num        { font-size: clamp(104px, 6.878vw, 132px); }
  .wwd-card__heading-en { font-size: clamp(20px, 1.323vw, 25px); }
  .wwd-card__heading-ja { font-size: clamp(17px, 1.124vw, 22px); }
  .wwd-card__desc       { font-size: clamp(17px, 1.124vw, 22px); }
  .wwd-cta              { font-size: clamp(16px, 1.058vw, 20px); }

  /* ── Works ── */
  .works-eyebrow__text  { font-size: 14px; }
  .works-statement      { font-size: clamp(72px, 4.762vw, 91px); }
  .works-statement-ja   { font-size: clamp(21px, 1.389vw, 27px); }
  .works-card__client   { font-size: clamp(18px, 1.190vw, 23px); }
  .works-card__type     { font-size: clamp(14px, 0.926vw, 18px); }
  .works-card__desc     { font-size: clamp(17px, 1.124vw, 22px); }
  .works-cta            { font-size: clamp(16px, 1.058vw, 20px); }

  /* ── WWA ── */
  .wwa-eyebrow__text    { font-size: 14px; }
  .wwa-statement        { font-size: clamp(72px, 4.762vw, 91px); }
  .wwa-statement-ja     { font-size: clamp(21px, 1.389vw, 27px); }
  .wwa-lead             { font-size: clamp(17px, 1.124vw, 22px); }
  .wwa-nav__en          { font-size: clamp(16px, 1.058vw, 20px); }
  .wwa-nav__ja          { font-size: clamp(12px, 0.794vw, 15px); }
  .wwa-nav__item::before { font-size: clamp(10px, 0.661vw, 13px); }
  .wwa-nav__arrow       { font-size: clamp(14px, 0.926vw, 18px); }
  .wwa-cta              { font-size: clamp(16px, 1.058vw, 20px); }

  /* ── Careers ── */
  .careers-eyebrow__text { font-size: 14px; }
  .careers-statement     { font-size: clamp(72px, 4.762vw, 91px); }
  .careers-statement-ja  { font-size: clamp(21px, 1.389vw, 27px); }
  .careers-lead          { font-size: clamp(17px, 1.124vw, 22px); }
  .careers-cta           { font-size: clamp(16px, 1.058vw, 20px); }

  /* ── Contact ── */
  .contact-eyebrow__text { font-size: 14px; }
  .contact-statement     { font-size: clamp(72px, 4.762vw, 91px); }
  .contact-statement-ja  { font-size: clamp(21px, 1.389vw, 27px); }
  .contact-cta           { font-size: clamp(16px, 1.058vw, 20px); }

  /* ── Footer ── */
  .footer-brand img        { height: clamp(26px, 1.720vw, 33px); }
  .footer-brand__tagline   { font-size: clamp(14.4px, 0.952vw, 18px); }
  .footer-brand__desc      { font-size: clamp(12.8px, 0.847vw, 16px); }
  .footer-nav__title       { font-size: clamp(12px, 0.794vw, 15px); }
  .footer-nav__list a      { font-size: clamp(13.6px, 0.899vw, 17px); }
  .footer-copyright        { font-size: clamp(11.2px, 0.741vw, 14px); }
}

/* ── Mid-PC (1025〜1512px): WWDテキスト幅を縮小して3Dとの被りを回避 ── */
@media (max-width: 1512px) and (min-width: 1025px) {
  #what-we-do .section-content {
    max-width: clamp(410px, 35vw, 580px);
  }
}

/* ── Ultra-wide (iMac 2560px+): WWDをさらに左寄せ ── */
@media (min-width: 1921px) {
  #what-we-do { padding-left: 55%; }
  #what-we-do .section-content { margin-left: auto; margin-right: auto; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — Font: ≤1024px (1024→540 fluid, ≤540 fixed)
   ══════════════════════════════════════════ */
@media (max-width: 1024px) {
  :root { --content-top: clamp(60px, 8vh, 90px); }
  /* ── Hero ── */
  .overlay h1 {
    font-size: clamp(48px, calc(3.2px + 8.28vw), 88px);
  }
  .hero-eyebrow__text {
    font-size: clamp(13px, calc(11.9px + 0.21vw), 14px);
  }
  .overlay .sub-ja {
    font-size: clamp(16px, calc(13.8px + 0.41vw), 18px);
  }

  /* ── What We Do ── */
  .wwd-eyebrow__text {
    font-size: clamp(13px, calc(11.9px + 0.21vw), 14px);
  }
  .wwd-statement {
    font-size: clamp(64px, calc(55.1px + 1.65vw), 72px);
  }
  .wwd-statement-ja {
    font-size: clamp(17px, calc(13.7px + 0.62vw), 21px);
  }
  .wwd-card__num {
    font-size: clamp(56px, calc(2.4px + 9.92vw), 104px);
  }
  .wwd-card__heading-ja {
    font-size: 17px;
  }
  .wwd-card__desc {
    font-size: clamp(16px, calc(14.9px + 0.21vw), 17px);
  }
  .wwd-cta {
    font-size: 16px;
  }

  /* ── Common: Works / WWA / Careers / Contact ── */
  .works-eyebrow__text,
  .wwa-eyebrow__text,
  .careers-eyebrow__text,
  .contact-eyebrow__text {
    font-size: clamp(13px, calc(11.9px + 0.21vw), 14px);
  }
  .works-statement,
  .wwa-statement,
  .careers-statement,
  .contact-statement {
    font-size: clamp(64px, calc(55.1px + 1.65vw), 72px);
  }
  .works-statement-ja,
  .wwa-statement-ja,
  .careers-statement-ja,
  .contact-statement-ja {
    font-size: clamp(17px, calc(13.7px + 0.62vw), 21px);
  }
  .works-cta,
  .wwa-cta,
  .careers-cta,
  .contact-cta {
    font-size: 16px;
  }

  /* ── Works card ── */
  .works-card__client {
    font-size: clamp(17px, calc(15.9px + 0.21vw), 18px);
  }
  .works-card__type {
    font-size: clamp(12px, calc(9.8px + 0.41vw), 14px);
  }
  .works-card__desc {
    font-size: clamp(16px, calc(14.9px + 0.21vw), 17px);
  }

  /* ── WWA ── */
  .wwa-lead {
    font-size: clamp(16px, calc(14.9px + 0.21vw), 17px);
  }
  .wwa-nav__en {
    font-size: 16px;
  }
  .wwa-nav__ja {
    font-size: clamp(11px, calc(9.9px + 0.21vw), 12px);
  }
  .wwa-nav__item::before {
    font-size: 12px;
  }
  .wwa-nav__arrow {
    font-size: clamp(12px, calc(9.8px + 0.41vw), 14px);
  }

  /* ── Careers ── */
  .careers-lead {
    font-size: clamp(16px, calc(14.9px + 0.21vw), 17px);
  }

  /* ── WWD remaining ── */
  .wwd-card__heading-en {
    font-size: clamp(17px, calc(13.7px + 0.62vw), 20px);
  }

  /* ── WWD: 背景色追加 + センター付近にstick ── */
  #what-we-do .section-content {
    padding: 40px;
    background: rgba(242,242,242,0.75);
    border-radius: 16px;
    top: var(--content-top);
  }
  .wwd-card__num {
    position: static;
    margin-bottom: -0.3rem;
    color: rgba(26, 26, 26, 0.15);
  }

  /* ── WWA: 縦積みレイアウト（sticky維持、画面内に収める） ── */
  #who-we-are { min-height: calc(100vh + 350px); }
  #careers { min-height: calc(100vh + 300px); }
  #contact { min-height: calc(100vh + 300px); }
  #who-we-are .section-content {
    grid-template-columns: 1fr;
    row-gap: 10px;
    max-width: 100%;
    top: 25vh;
    min-height: auto;
    align-content: start;
    padding-top: 0;
    padding-bottom: 16px;
  }
  .wwa-eyebrow { margin-bottom: 0.8rem; }
  .wwa-statement { margin-bottom: 0.5rem; }
  .wwa-statement-ja { margin-bottom: 12px; }

  /* WWAセクション時のscroll-indicator非表示はJSで制御 */
  .wwa-eyebrow {
    margin-left: 0;
  }
  .wwa-statement-ja {
    margin-bottom: 24px;
  }
  .wwa-lead {
    padding-left: 0;
  }
  .wwa-right {
    padding-top: 0;
    margin-top: 0;
  }
  .wwa-nav__item:nth-child(2) { margin-left: 0; }
  .wwa-nav__item:nth-child(3) { margin-left: 0; }
  .wwa-cta { margin-left: 0; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — Tablet (769px–1366px)
   ══════════════════════════════════════════ */
@media (max-width: 1366px) and (min-width: 769px) {

  /* ── カーソル: SPと同じ扱い ── */
  .custom-cursor { opacity: 0; mix-blend-mode: normal; background: #333333; }
  body { cursor: auto; }
  a, button { cursor: auto; }

  /* ── WWD: 左パディング縮小 ── */
  #what-we-do {
    padding: 0 5vw 0 25%;
  }

  /* ── WWA: 2カラム比率調整 + 右カラム位置修正 ── */
  .wwa-right {
    margin-right: 6vw;
  }

  /* ── Careers/Contact: タブレットでも統一top ── */
}

/* ══════════════════════════════════════════
   RESPONSIVE — SP (max-width: 768px)
   ══════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── 横はみ出し防止 + サブピクセル隙間対策 ── */
  body { overflow-x: hidden; }
  #bg-layers { inset: -1px; }
  .pc-only { display: none; }

  /* ── Common UI alignment（overlay左右 24px に統一） ── */
  .site-logo { left: 24px; }
  .nav-toggle { right: 24px; }
  .nav-overlay__logo { left: 24px; }
  .scroll-indicator { left: 24px; }

  /* ── Viewport Height: dvhでURLバー表示/非表示に追従 ── */
  #hero { height: 100dvh; }

  /* ── 共通コンテンツ停止位置（SP）── */
  :root { --content-top: 150px; }

  .wwd-card__num { font-weight: 500; }

  /* ── Sticky: top統一 + 親セクション拡大でdwell確保 ── */
  #what-we-do { min-height: calc(100vh + 1200px); }
  #what-we-do .section-content {
    top: var(--content-top);
    min-height: auto;
    padding: 40px clamp(24px, calc(-4.8px + 8vw), 40px);
  }

  /* コンテンツ高さ(~1700px) + contentTop + dwell を確保 */
  #works { min-height: calc(100vh + 1600px); }
  #works .section-content {
    top: var(--content-top);
    padding-top: 0;
  }


  #careers .section-content,
  #contact .section-content {
    top: 0;
    min-height: 100dvh;
  }

  /* ── Hero ── */
  #hero { min-height: 120dvh; }
  .overlay {
    position: sticky;
    top: 0;
    height: 100dvh;
    padding-left: 24px;
    padding-right: 24px;
    padding-bottom: clamp(192px, 30dvh, 274px);
  }
  .overlay::before {
    content: '';
    flex: 1 1 auto;
  }
  .overlay .sub-ja {
    margin-top: 2rem;
  }
  .hero-eyebrow {
    margin-bottom: 1.5rem;
    margin-left: 0;
  }
  .hero-eyebrow__line {
    width: 16px;
  }
  .overlay h1 .line {
    overflow: visible;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  /* ── Navigation Overlay ── */
  .nav-overlay__menu {
    justify-content: flex-end;
    padding: 0 0 8px;
  }
  .nav-overlay__menu a {
    font-size: clamp(70px, calc(63.3px + 1.24vw), 76px);
  }
  .nav-overlay__menu .nav-label-ja {
    font-size: 14px;
  }

  /* ── What We Do ── */
  #what-we-do {
    padding: 0 24px;
  }
  #what-we-do .section-content {
    max-width: 100%;
    margin-left: 0;
  }
  /* ── Works ── */
  #works {
    padding: 0 24px;
  }
  .works-grid {
    grid-template-columns: 1fr;
  }
  .works-card:nth-child(even) {
    margin-top: 0;
  }

  /* ── Who We Are ── */
  #who-we-are {
    padding: 0 24px;
  }

  /* ── Careers ── */
  #careers {
    padding: 0 24px;
    min-height: calc(100vh + 500px);
  }

  /* ── Contact ── */
  #contact {
    padding: 0 24px;
    min-height: calc(100vh + 500px);
  }

  /* ── Footer ── */
  #site-footer {
    min-height: calc(100vh + 1050px); /* メニューがクロスフェード+一拍後に画面下端から登場するよう延長 */
    padding: clamp(24px, 4vh, 40px) 24px calc(100vh - 100svh);
  }
  .footer-top {
    flex-direction: column-reverse;
    align-items: center;
    gap: 32px;
  }
  .footer-nav {
    text-align: center;
  }
  .footer-bottom {
    justify-content: center;
  }

  /* ── 共通UI ── */
  .custom-cursor { opacity: 0; mix-blend-mode: normal; background: #333333; }
  body { cursor: auto; }
  a, button { cursor: auto; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — ≤540px (小型スマホ)
   ══════════════════════════════════════════ */
@media (max-width: 540px) {
  .overlay h1 {
    font-size: clamp(61.8px, calc(54.7px + 1.72vw), 64px);
  }
  .hero-eyebrow__text {
    font-size: 13px;
    letter-spacing: 0.19em !important;
  }
  .overlay .sub-ja {
    font-size: 20px;
  }

  /* ── What We Do ── */
  .wwd-statement {
    font-size: clamp(43px, calc(1px + 11.67vw), 64px);
  }
  .wwd-statement-ja {
    font-size: 17px;
  }
  .wwd-card__num {
    font-size: clamp(49.8px, 15.56vw, 56px);
  }
  .wwd-card__heading-en {
    font-size: clamp(19px, calc(9px + 2.78vw), 24px);
  }
  .wwd-card__heading-ja {
    font-size: clamp(16px, calc(14px + 0.56vw), 17px);
  }
  .wwd-card__desc {
    font-size: clamp(15px, calc(13px + 0.56vw), 16px);
  }
  .wwd-cta {
    font-size: clamp(14px, calc(10px + 1.11vw), 16px);
  }

  /* ── Common: Works / WWA / Careers / Contact ── */
  .works-eyebrow__text,
  .wwa-eyebrow__text,
  .careers-eyebrow__text,
  .contact-eyebrow__text {
    font-size: clamp(11.5px, 3.61vw, 13px);
  }
  .works-statement,
  .wwa-statement,
  .careers-statement,
  .contact-statement {
    font-size: clamp(43px, calc(1px + 11.67vw), 64px);
  }
  .works-statement-ja,
  .wwa-statement-ja,
  .careers-statement-ja,
  .contact-statement-ja {
    font-size: 17px;
  }
  .works-cta,
  .wwa-cta,
  .careers-cta,
  .contact-cta {
    font-size: clamp(14px, calc(10px + 1.11vw), 16px);
  }

  /* ── Works card ── */
  .works-card__client {
    font-size: clamp(14.2px, calc(8.6px + 1.56vw), 17px);
  }
  .works-card__type {
    font-size: clamp(10.7px, 3.33vw, 12px);
  }
  .works-card__desc {
    font-size: clamp(15px, calc(13px + 0.56vw), 16px);
  }

  /* ── WWA ── */
  .wwa-lead {
    font-size: clamp(15px, calc(13px + 0.56vw), 16px);
  }
  .wwa-nav__en {
    font-size: clamp(14px, calc(10px + 1.11vw), 16px);
  }
  .wwa-nav__ja {
    font-size: clamp(10px, 3.06vw, 11px);
  }
  .wwa-nav__item::before {
    font-size: 12px;
  }
  .wwa-nav__arrow {
    font-size: clamp(10.7px, 3.33vw, 12px);
  }

  /* ── Careers ── */
  .careers-lead {
    font-size: clamp(15px, calc(13px + 0.56vw), 16px);
  }

  /* ── WWD remaining ── */
  .wwd-card__heading-en {
    font-size: clamp(19px, calc(9px + 2.78vw), 24px);
  }

  .overlay h1 .word {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    padding-bottom: 0.15em;
    margin-bottom: -0.15em;
  }
}

/* ══════════════════════════════════════════
   RESPONSIVE — ≤412px (小型スマホ Hero)
   ══════════════════════════════════════════ */
@media (max-width: 412px) {
  .overlay h1 {
    font-size: min(15vw, 61.8px);
  }
  .hero-eyebrow__text {
    font-size: min(3.16vw, 13px);
  }
  .overlay .sub-ja {
    font-size: min(4.85vw, 20px);
  }
  .nav-overlay__menu a {
    font-size: min(calc(3.9px + 11.92vw), 53px);
  }
  .nav-overlay__menu .nav-label-ja {
    font-size: 14px;
  }
}

/* ══════════════════════════════════════════
   RESPONSIVE — ≤359px (極小スマホ)
   ══════════════════════════════════════════ */
@media (max-width: 359px) {
  .hero-eyebrow__text {
    letter-spacing: 0.16em !important;
  }
}
