/*
Theme Name: WDDL Child
Template: wddl-inc
Description: WDDL Inc. child theme — hero logo animation & brand styling.
Author: WDDL Inc. development team [RYUNOSUKE MARUYAMA]
Version: 1.0
*/

/* ============================================================
   Brand Tokens — Dual Theme (Dark default / Light opt-in)
============================================================ */

/* ── ダークモード（デフォルト） ── */
:root {
  /* Surfaces（階層: bg → surface-1..5） */
  --wddl-bg:           #0d0d0d;            /* page background */
  --wddl-bg-deep:      #000000;            /* pure black sections */
  --wddl-surface-1:    #111114;            /* subtle card */
  --wddl-surface-2:    #141418;            /* card */
  --wddl-surface-3:    #1A1A1E;            /* elevated */
  --wddl-surface-4:    #222226;            /* input bg / hover */
  --wddl-surface-5:    #2C2C30;            /* border-ish */

  /* Text */
  --wddl-text:         #F0EDE8;            /* primary (warm light) */
  --wddl-text-bright:  #FFFFFF;            /* pure white emphasis */
  --wddl-text-rgb:     240, 237, 232;      /* RGB for rgba() alpha variants — adapts to theme */
  --wddl-overlay-rgb:  255, 255, 255;      /* subtle overlays (borders/bg) — adapts to theme */
  --wddl-muted:        rgba(var(--wddl-text-rgb), 0.6);
  --wddl-border:       rgba(var(--wddl-overlay-rgb), 0.08);

  /* Brand（両モード共通） */
  --wddl-accent:       #6B21A8;            /* WDDL purple */
  --wddl-accent-light: #A855F7;
  --wddl-accent-dark:  #4C1D95;

  /* フォントスタック（Apple system-ui 優先） */
  --wddl-font:
    -apple-system, BlinkMacSystemFont,
    "SF Pro Display", "SF Pro Text",
    "Inter", "Segoe UI", "Roboto",
    "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    "Noto Sans JP", "Yu Gothic", "メイリオ",
    sans-serif;

  /* 角丸 */
  --wddl-radius-pill:  980px;
  --wddl-radius-card:  18px;
  --wddl-radius-input: 12px;

  /* 親テーマの村上グリーン → WDDLパープル統一 */
  --clr-green:        #6B21A8;
  --clr-green-light:  #A855F7;
  --clr-green-dark:   #4C1D95;
  --clr-green-glow:   rgba(107, 33, 168, 0.15);

  /* ── 親テーマ（v3-theme.css）の --clr-* をWDDL変数にブリッジ ──
     これで親テーマの h1-h6, body 等がライトモードに追従する */
  --clr-bg:           var(--wddl-bg);
  --clr-surface:      var(--wddl-surface-1);
  --clr-surface-2:    var(--wddl-surface-2);
  --clr-border:       var(--wddl-border);
  --clr-text:         var(--wddl-text);
  --clr-text-sub:     rgba(var(--wddl-text-rgb), 0.65);
  --clr-text-muted:   rgba(var(--wddl-text-rgb), 0.40);
}

/* ── ライトモード（data-theme="light" で発動） ── */
[data-theme="light"] {
  --wddl-bg:           #FFFFFF;
  --wddl-bg-deep:      #FFFFFF;
  --wddl-surface-1:    #FAFAFA;
  --wddl-surface-2:    #F5F5F7;
  --wddl-surface-3:    #EEEEF0;
  --wddl-surface-4:    #E5E5E7;
  --wddl-surface-5:    #D2D2D7;

  --wddl-text:         #1D1D1F;
  --wddl-text-bright:  #000000;
  --wddl-text-rgb:     29, 29, 31;         /* #1D1D1F で rgba() が自動で暗色に */
  --wddl-overlay-rgb:  0, 0, 0;            /* 薄い黒オーバーレイに自動切替 */
  --wddl-muted:        #86868B;
  --wddl-border:       rgba(0, 0, 0, 0.08);
}

/* テーマ切替時のスムーズトランジション */
html {
  transition: background-color 0.3s ease, color 0.3s ease;
}
body, section, header, footer, nav, article, aside, main, div {
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

/* ============================================================
   Header — WDDL
============================================================ */
.wddl-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 64px;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}

/* トップページ：初期は透明、スクロールで白背景 */
.wddl-header--transparent {
  background: transparent;
  border-bottom-color: transparent;
}

.wddl-header--transparent.is-scrolled {
  background: rgba(255, 255, 255, .92);
  border-bottom-color: rgba(0, 0, 0, .08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.wddl-header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── ロゴ ── */
.wddl-header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.wddl-header__logo-img {
  height: 28px;
  width: auto;
  transition: opacity 0.3s;
}

.wddl-header__logo:hover .wddl-header__logo-img {
  opacity: 0.7;
}

@media (min-width: 768px) {
  .wddl-header {
    height: 72px;
  }
  .wddl-header__logo-img {
    height: 32px;
  }
}

/* ── デスクトップナビ ── */
.wddl-header__nav {
  display: none;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

@media (min-width: 768px) {
  .wddl-header__nav {
    display: flex;
  }
}

.wddl-header__nav-link {
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--wddl-text);
  text-decoration: none;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.wddl-header__nav-link:hover {
  color: var(--wddl-accent);
  background: rgba(107, 33, 168, .06);
}

.wddl-header__nav-link--cta {
  margin-left: 8px;
  color: #fff;
  background: var(--wddl-accent);
  border-radius: 20px;
  padding: 8px 24px;
}

.wddl-header__nav-link--cta:hover {
  color: #fff;
  background: var(--wddl-accent-light);
  box-shadow: 0 0 16px rgba(168, 85, 247, .35);
}

/* ── ハンバーガー ── */
.wddl-header__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

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

.wddl-header__burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--wddl-text);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ── オフキャンバス ── */
.wddl-offcanvas {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(20, 20, 24, .97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}

.wddl-offcanvas.is-open {
  opacity: 1;
  visibility: visible;
}

.wddl-offcanvas__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--wddl-text);
  cursor: pointer;
}

.wddl-offcanvas__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.wddl-offcanvas__nav li {
  margin: 0 0 8px;
}

.wddl-offcanvas__nav a {
  display: inline-block;
  padding: 12px 32px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--wddl-text);
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.wddl-offcanvas__nav a:hover {
  color: var(--wddl-accent-light);
  background: rgba(107, 33, 168, .12);
}

/* header分の top padding（下層ページ用） */
.main-page {
  padding-top: 64px;
}

@media (min-width: 768px) {
  .main-page {
    padding-top: 72px;
  }
}

/* ============================================================
   Sequence Hero — Scroll-driven frame animation
============================================================ */
.wddl-seq-hero {
  position: relative;
  height: 500vh;
  background: var(--wddl-bg-deep);
}

.wddl-seq-hero__canvas {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  display: block;
  background: var(--wddl-bg-deep);
}

.wddl-seq-hero__dim {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  margin-top: -100vh;
  background: rgba(0, 0, 0, 1);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

.wddl-seq-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none;
  z-index: 2;
}

.wddl-seq-hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  opacity: 0;
}

.wddl-seq-hero__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wddl-accent-light, #A855F7);
  margin-bottom: 12px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .6);
}

.wddl-seq-hero__heading {
  margin: 0;
  font-size: clamp(28px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--wddl-text);
  text-shadow: 0 4px 30px rgba(0, 0, 0, .7);
}

.wddl-seq-hero__logo {
  margin: 0;
  font-size: clamp(48px, 10vw, 120px);
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--wddl-text);
  text-shadow: 0 4px 40px rgba(0, 0, 0, .6);
}

.wddl-seq-hero__logo-img {
  display: block;
  width: clamp(200px, 40vw, 480px);
  height: auto;
  filter: drop-shadow(0 4px 30px rgba(0, 0, 0, .5));
}

.wddl-seq-hero__tagline {
  margin: 12px 0 0;
  font-size: clamp(12px, 2vw, 18px);
  letter-spacing: 0.15em;
  color: rgba(var(--wddl-text-rgb), .5);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
}

/* ============================================================
   Value Proposition — WDDLの強み
============================================================ */
.wddl-value {
  background: var(--wddl-surface-1);
  color: var(--wddl-text);
}

/* ── Lead ── */
.wddl-value__lead {
  padding: 120px 24px 80px;
  text-align: center;
}

.wddl-value__lead-inner {
  max-width: 720px;
  margin: 0 auto;
}

.wddl-value__lead-heading {
  margin: 8px 0 0;
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.35;
}

.wddl-value__lead-sub {
  margin: 24px 0 0;
  font-size: 15px;
  line-height: 2;
  color: rgba(var(--wddl-text-rgb), .55);
}

/* ── Stats ── */
.wddl-value__stats {
  padding: 0 24px 100px;
}

.wddl-value__stats-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 960px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .wddl-value__stats-inner {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

.wddl-value__stat {
  text-align: center;
  padding: 40px 24px;
  border-radius: 20px;
  background: rgba(var(--wddl-overlay-rgb), .03);
  border: 1px solid rgba(var(--wddl-overlay-rgb), .06);
}

.wddl-value__stat-num {
  display: block;
  font-size: clamp(48px, 8vw, 72px);
  font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--wddl-accent-light, #A855F7), #c084fc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.wddl-value__stat-num small {
  font-size: 0.5em;
}

.wddl-value__stat-label {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--wddl-text);
}

.wddl-value__stat-desc {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(var(--wddl-text-rgb), .45);
}

/* ── Compare ── */
.wddl-value__compare {
  padding: 80px 24px;
  background: var(--wddl-bg);
}

.wddl-value__compare-inner {
  max-width: 960px;
  margin: 0 auto;
}

.wddl-value__compare-title {
  text-align: center;
  margin: 0 0 48px;
  font-size: clamp(20px, 3.5vw, 32px);
  font-weight: 700;
}

.wddl-value__compare-table {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

@media (min-width: 768px) {
  .wddl-value__compare-table {
    flex-direction: row;
    gap: 0;
    align-items: stretch;
  }
}

.wddl-value__compare-col {
  flex: 1;
  padding: 32px;
  border-radius: 16px;
}

.wddl-value__compare-col--other {
  background: rgba(var(--wddl-overlay-rgb), .03);
  border: 1px solid rgba(var(--wddl-overlay-rgb), .06);
}

.wddl-value__compare-col--wddl {
  background: rgba(107, 33, 168, .12);
  border: 1px solid rgba(107, 33, 168, .3);
}

.wddl-value__compare-head {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(var(--wddl-overlay-rgb), .08);
}

.wddl-value__compare-col--wddl .wddl-value__compare-head {
  color: var(--wddl-accent-light, #A855F7);
  border-bottom-color: rgba(107, 33, 168, .3);
}

.wddl-value__compare-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wddl-value__compare-col li {
  position: relative;
  padding: 8px 0 8px 20px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(var(--wddl-text-rgb), .6);
}

.wddl-value__compare-col li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(var(--wddl-text-rgb), .2);
}

.wddl-value__compare-col--wddl li {
  color: rgba(var(--wddl-text-rgb), .8);
}

.wddl-value__compare-col--wddl li::before {
  background: var(--wddl-accent-light, #A855F7);
}

.wddl-value__compare-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: rgba(var(--wddl-text-rgb), .3);
}

/* ── Pillars ── */
.wddl-value__pillars {
  padding: 100px 24px;
}

.wddl-value__pillars-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  max-width: 1060px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .wddl-value__pillars-inner {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

.wddl-value__pillar {
  padding: 40px 32px;
  border-radius: 20px;
  background: rgba(var(--wddl-overlay-rgb), .02);
  border: 1px solid rgba(var(--wddl-overlay-rgb), .06);
  transition: border-color 0.3s, background 0.3s;
}

.wddl-value__pillar:hover {
  border-color: rgba(107, 33, 168, .3);
  background: rgba(107, 33, 168, .06);
}

.wddl-value__pillar-num {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--wddl-accent-light, #A855F7);
  margin-bottom: 16px;
}

.wddl-value__pillar-title {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

.wddl-value__pillar-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: rgba(var(--wddl-text-rgb), .55);
}

/* ── Testimonials / Voice ── */
.wddl-voice {
  padding: 80px 24px;
}

.wddl-voice__inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.wddl-voice__heading {
  margin: 8px 0 48px;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
}

.wddl-voice__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .wddl-voice__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.wddl-voice__card {
  padding: 36px 28px;
  border-radius: 20px;
  background: rgba(var(--wddl-overlay-rgb), .03);
  border: 1px solid rgba(var(--wddl-overlay-rgb), .06);
  text-align: left;
}

.wddl-voice__quote {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.9;
  color: rgba(var(--wddl-text-rgb), .7);
  position: relative;
  padding-left: 20px;
  border-left: 3px solid var(--wddl-accent, #6B21A8);
}

.wddl-voice__name {
  font-size: 13px;
  font-weight: 600;
  color: rgba(var(--wddl-text-rgb), .45);
}

/* ── Pricing ── */
.wddl-value__pricing {
  padding: 80px 24px 100px;
  background: var(--wddl-bg);
}

.wddl-value__pricing-inner {
  max-width: 1060px;
  margin: 0 auto;
  text-align: center;
}

.wddl-value__pricing-title {
  margin: 8px 0 0;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
}

.wddl-value__pricing-note {
  margin: 12px 0 48px;
  font-size: 12px;
  color: rgba(var(--wddl-text-rgb), .35);
}

.wddl-value__pricing-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .wddl-value__pricing-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
  }
}

.wddl-value__pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 28px;
  border-radius: 20px;
  background: rgba(var(--wddl-overlay-rgb), .03);
  border: 1px solid rgba(var(--wddl-overlay-rgb), .08);
  transition: border-color 0.3s;
}

.wddl-value__pricing-card:hover {
  border-color: rgba(107, 33, 168, .3);
}

.wddl-value__pricing-card--featured {
  background: rgba(107, 33, 168, .1);
  border-color: rgba(107, 33, 168, .35);
}

.wddl-value__pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #fff;
  background: var(--wddl-accent, #6B21A8);
  border-radius: 12px;
}

.wddl-value__pricing-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(var(--wddl-text-rgb), .4);
  margin-bottom: 16px;
}

.wddl-value__pricing-price {
  font-size: 48px;
  font-weight: 900;
  color: var(--wddl-text);
  line-height: 1;
}

.wddl-value__pricing-price small {
  font-size: 16px;
  font-weight: 600;
  color: rgba(var(--wddl-text-rgb), .5);
}

.wddl-value__pricing-period {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--wddl-accent-light, #A855F7);
}

.wddl-value__pricing-desc {
  margin: 20px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(var(--wddl-text-rgb), .45);
}

.wddl-value__pricing-includes {
  list-style: none;
  margin: 20px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(var(--wddl-overlay-rgb), .06);
  text-align: left;
  width: 100%;
}

.wddl-value__pricing-includes li {
  position: relative;
  padding: 4px 0 4px 16px;
  font-size: 13px;
  color: rgba(var(--wddl-text-rgb), .55);
}

.wddl-value__pricing-includes li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--wddl-accent-light, #A855F7);
  font-size: 12px;
}

.wddl-value__pricing-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 600;
  color: var(--wddl-accent-light, #A855F7);
  border: 1px solid var(--wddl-accent, #6B21A8);
  border-radius: 24px;
  text-decoration: none;
  transition: all 0.3s;
}

.wddl-value__pricing-btn:hover {
  background: var(--wddl-accent, #6B21A8);
  color: #fff;
}

.wddl-value__pricing-btn--featured {
  background: var(--wddl-accent, #6B21A8);
  color: #fff;
  border-color: var(--wddl-accent, #6B21A8);
}

.wddl-value__pricing-btn--featured:hover {
  background: var(--wddl-accent-light, #A855F7);
  border-color: var(--wddl-accent-light, #A855F7);
}

/* ── CTA ── */
.wddl-value__cta {
  padding: 80px 24px 120px;
  text-align: center;
}

.wddl-value__cta-heading {
  margin: 0 0 16px;
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 700;
}

.wddl-value__cta-sub {
  margin: 0 0 36px;
  font-size: 15px;
  line-height: 2;
  color: rgba(var(--wddl-text-rgb), .5);
}

.wddl-value__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 44px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: var(--wddl-accent, #6B21A8);
  border-radius: 32px;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.wddl-value__cta-btn:hover {
  background: var(--wddl-accent-light, #A855F7);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(107, 33, 168, .3);
}

/* ============================================================
   Scroll Background — サービスキーワードが流れるセクション
============================================================ */
.wddl-scroll-bg {
  position: relative;
  min-height: 100vh;
  background: var(--wddl-bg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wddl-scroll-bg__track {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  pointer-events: none;
}

.wddl-scroll-bg__item {
  white-space: nowrap;
  overflow: hidden;
}

.wddl-scroll-bg__label {
  display: inline-block;
  font-size: clamp(48px, 10vw, 120px);
  font-weight: 900;
  letter-spacing: 0.04em;
  color: rgba(var(--wddl-overlay-rgb), .03);
  -webkit-text-stroke: 1px rgba(var(--wddl-overlay-rgb), .06);
  transform: translateY(100%);
  transition: none;
}

/* 偶数行は右寄り */
.wddl-scroll-bg__item:nth-child(even) {
  text-align: right;
}

.wddl-scroll-bg__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}

.wddl-scroll-bg__cta-label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--wddl-accent-light, #A855F7);
}

.wddl-scroll-bg__cta-heading {
  margin: 0 0 32px;
  font-size: clamp(24px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--wddl-text);
}

.wddl-scroll-bg__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--wddl-accent, #6B21A8);
  border-radius: 28px;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
}

.wddl-scroll-bg__cta-btn:hover {
  background: var(--wddl-accent-light, #A855F7);
  transform: translateY(-2px);
}

/* ============================================================
   Hero Section (legacy logo — kept for reference)
============================================================ */
.wddl-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  background: var(--wddl-surface-2);
  overflow: hidden;
}

/* Glow overlay — fills hero, hidden by default */
.wddl-hero__glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(168, 85, 247, .25) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 1;
}

/* SVG logo — ダーク背景用に白に反転 */
.wddl-hero__logo {
  position: relative;
  z-index: 2;
  width: 720px;
  max-width: 88vw;
  height: auto;
}

.wddl-hero__logo .letter,
.wddl-hero__logo .penguin {
  fill: var(--wddl-text);
}

.wddl-hero__logo .bracket {
  stroke: var(--wddl-text);
}

.wddl-hero__logo .tagline {
  fill: var(--wddl-text);
}

/* Each letter group — initial state set by GSAP */
.wddl-hero__logo .letter,
.wddl-hero__logo .penguin,
.wddl-hero__logo .bracket {
  visibility: hidden;               /* GSAP sets visible on play */
}

/* Tagline text */
.wddl-hero__logo .tagline {
  visibility: visible;              /* opacity controlled by GSAP */
}

/* ============================================================
   Statement Section
============================================================ */
.wddl-statement {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  min-height: 500px;
  background: var(--wddl-surface-2);
  overflow: hidden;
}

.wddl-statement__inner {
  max-width: 900px;
  padding: 0 24px;
  text-align: center;
}

.wddl-statement__text {
  margin: 0;
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: var(--wddl-text);
}

.wddl-statement__char {
  display: inline-block;           /* transform が効くように */
  opacity: 0;                     /* GSAP で制御 */
}

/* ============================================================
   Single Works
============================================================ */
.wddl-work-single {
  background: var(--wddl-bg);
  color: var(--wddl-text);
}

.wddl-work-single__container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

.wddl-work-single__header {
  padding: 100px 0 48px;
  text-align: center;
}

.wddl-work-single__cat {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wddl-accent);
}

.wddl-work-single__title {
  margin: 0;
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.3;
}

.wddl-work-single__body {
  padding: 48px 0 32px;
  font-size: 16px;
  line-height: 1.9;
}

.wddl-work-single__back {
  display: inline-block;
  margin: 0 0 80px;
  font-size: 14px;
  font-weight: 600;
  color: var(--wddl-accent);
  text-decoration: none;
  transition: color 0.2s;
}

.wddl-work-single__back:hover {
  color: var(--wddl-accent-light);
}

/* ============================================================
   Before / After Slider
============================================================ */
.ba-slider {
  position: relative;
  width: 100%;
  margin: 0 auto 48px;
  overflow: hidden;
  border-radius: 12px;
  cursor: col-resize;
  -webkit-user-select: none;
  user-select: none;
  touch-action: pan-y;             /* 縦スクロールは許可、横はスライダーが取る */
}

/* ── 画像 ── */
.ba-slider__img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.ba-slider__before {
  position: absolute;
  inset: 0;
  /* clip-path は inline style で JS が制御 */
}

.ba-slider__img--before {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── ハンドル ── */
.ba-slider__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 3;
  transform: translateX(-50%);
  pointer-events: none;            /* ノブだけ pointer-events を有効に */
}

.ba-slider__handle-line {
  flex: 1;
  width: 3px;
  background: var(--wddl-accent);
}

.ba-slider__handle-knob {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--wddl-accent);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
  pointer-events: auto;
  transition: box-shadow 0.25s, transform 0.25s;
}

.ba-slider__handle-knob:hover,
.ba-slider:active .ba-slider__handle-knob {
  box-shadow:
    0 0 0 6px rgba(168, 85, 247, .3),
    0 0 24px rgba(168, 85, 247, .45);
  transform: scale(1.08);
}

/* ── ラベル ── */
.ba-slider__label {
  position: absolute;
  bottom: 16px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, .45);
  backdrop-filter: blur(4px);
  border-radius: 4px;
  pointer-events: none;
  z-index: 2;
}

.ba-slider__label--before { left: 16px; }
.ba-slider__label--after  { right: 16px; }

/* ============================================================
   Works Single — Scroll-telling
============================================================ */

/* ── Progress bar ── */
.ws-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 4px;
  height: 100vh;
  z-index: 9000;
  background: rgba(0, 0, 0, .08);
  pointer-events: none;
}

.ws-progress__bar {
  width: 100%;
  height: 0%;
  background: var(--wddl-accent);
  will-change: height;
}

/* ── Challenge (Before) ── */
.ws-challenge {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--wddl-bg);
  color: #F5F5F7;
  overflow: hidden;
}

.ws-challenge__inner {
  max-width: 720px;
  padding: 80px 24px;
  text-align: center;
}

.ws-challenge__label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wddl-accent-light);
}

.ws-challenge__heading {
  margin: 0 0 32px;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.3;
}

.ws-challenge__text {
  margin: 0;
  font-size: 17px;
  line-height: 2;
  color: rgba(245, 245, 247, .75);
}

/* ── Solution (After) ── */
.ws-solution {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--wddl-bg);
  color: var(--wddl-text);
  overflow: hidden;
}

.ws-solution__inner {
  max-width: 720px;
  padding: 80px 24px;
  text-align: center;
}

.ws-solution__label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wddl-accent);
}

.ws-solution__heading {
  margin: 0 0 32px;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.3;
}

.ws-solution__text {
  margin: 0;
  font-size: 17px;
  line-height: 2;
}

/* ── Background transition wrapper ──
   ScrollTrigger が .ws-challenge の background-color を
   var(--wddl-bg) → #F5F5F7 に scrub するため、
   .ws-solution は念のため背景を明示。 */

/* ── Design Process — stacking parallax ── */
.ws-process {
  position: relative;
  padding: 120px 0 0;
  background: var(--wddl-bg);
  overflow: hidden;
}

.ws-process__header {
  max-width: 960px;
  margin: 0 auto 64px;
  padding: 0 24px;
  text-align: center;
}

.ws-process__label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wddl-accent);
}

.ws-process__heading {
  margin: 0;
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
}

.ws-process__stack {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px 120px;
}

.ws-process__card {
  position: sticky;
  top: 20vh;
  margin-bottom: 60vh;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, .1);
  overflow: hidden;
  will-change: transform, opacity;
}

.ws-process__card:last-child {
  margin-bottom: 0;
}

.ws-process__card[data-stack="0"] { z-index: 1; }
.ws-process__card[data-stack="1"] { z-index: 2; }
.ws-process__card[data-stack="2"] { z-index: 3; }

.ws-process__step {
  display: block;
  padding: 20px 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--wddl-accent);
}

.ws-process__img {
  display: block;
  width: 100%;
  height: auto;
}

.ws-process__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 320px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(0, 0, 0, .15);
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 10px,
      rgba(0, 0, 0, .03) 10px,
      rgba(0, 0, 0, .03) 20px
    );
}

/* ============================================================
   Contact Form — error messages
============================================================ */
.v3-contact__errors {
  max-width: 720px;
  margin: 0 auto 32px;
  padding: 20px 24px;
  background: rgba(220, 38, 38, .08);
  border: 1px solid rgba(220, 38, 38, .3);
  border-radius: 8px;
}

.v3-contact__errors ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.v3-contact__errors li {
  font-size: 14px;
  line-height: 1.8;
  color: #DC2626;
}

.v3-contact__errors li::before {
  content: "・";
}

/* ============================================================
   Unified Page Hero
   全固定ページ共通のヒーローセクション
============================================================ */
.wddl-page-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  background: var(--wddl-surface-2);
  text-align: center;
  padding: 80px 24px;
  overflow: hidden;
}

.wddl-page-hero__inner {
  max-width: 720px;
}

.wddl-page-hero__title {
  margin: 8px 0 0;
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--wddl-text);
}

.wddl-page-hero__sub {
  margin: 20px auto 0;
  max-width: 560px;
  font-size: 15px;
  line-height: 2;
  color: rgba(var(--wddl-text-rgb), .55);
}

/* 高さバリエーション（短いヒーロー） */
.wddl-page-hero--short {
  min-height: 35vh;
  padding: 60px 24px;
}

/* ── ヒーロー背景グラデーションメッシュ（全ページ共通） ── */
.wddl-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 40%, rgba(107, 33, 168, .15) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 80% 60%, rgba(88, 28, 135, .12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 50% 80%, rgba(139, 92, 246, .08) 0%, transparent 60%);
  animation: meshDrift 12s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes meshDrift {
  0%   { transform: scale(1)   translate(0, 0); }
  33%  { transform: scale(1.1) translate(-3%, 2%); }
  66%  { transform: scale(1.05) translate(2%, -2%); }
  100% { transform: scale(1.15) translate(-1%, 3%); }
}

.wddl-page-hero__inner {
  position: relative;
  z-index: 1;
}

/* ============================================================
   Works — All Works Grid
============================================================ */
.wddl-works-all {
  padding: 100px 0 120px;
  background: var(--wddl-surface-3);
}

.wddl-works-all__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.wddl-works-all__header {
  text-align: center;
  margin-bottom: 60px;
}

.wddl-works-all__heading {
  margin: 8px 0 0;
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  color: var(--wddl-text);
}

.wddl-works-all__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 640px) {
  .wddl-works-all__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.wddl-works-all__card {
  display: flex;
  flex-direction: column;
  background: var(--wddl-surface-4);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow 0.3s;
  transform-style: preserve-3d;
  will-change: transform;
}

.wddl-works-all__card:hover {
  box-shadow: 0 8px 40px rgba(107, 33, 168, .15);
}

.wddl-works-all__grid {
  perspective: 800px;
}

.wddl-works-all__card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--wddl-surface-3);
}

.wddl-works-all__card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.wddl-works-all__card:hover .wddl-works-all__card-img img {
  transform: scale(1.05);
}

.wddl-works-all__card-body {
  padding: 24px;
}

.wddl-works-all__card-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wddl-accent-light, #A855F7);
  margin-bottom: 8px;
}

.wddl-works-all__card-title {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  color: var(--wddl-text);
}

.wddl-works-all__card-sub {
  margin: 0;
  font-size: 12px;
  color: rgba(var(--wddl-text-rgb), .4);
}

/* ============================================================
   Pickup — iPhone Mockup Section
============================================================ */
.wddl-pickup {
  padding: 100px 0 120px;
  background: var(--wddl-surface-2);
  overflow: hidden;
}

.wddl-pickup__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.wddl-pickup__header {
  text-align: center;
  margin-bottom: 72px;
}

.wddl-pickup__heading {
  margin: 8px 0 0;
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  color: var(--wddl-text);
}

/* ── Grid: 3列 ── */
.wddl-pickup__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
}

@media (min-width: 640px) {
  .wddl-pickup__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
  }
}

@media (min-width: 1024px) {
  .wddl-pickup__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

/* ── 各アイテム ── */
.wddl-pickup__item {
  text-align: center;
  perspective: 800px;
}

/* ── iPhone フレーム ── */
.wddl-pickup__phone {
  position: relative;
  width: 240px;
  margin: 0 auto 28px;
}

@media (min-width: 1024px) {
  .wddl-pickup__phone {
    width: 270px;
  }
}

/* 切り出し済み 800×1613 PNG */
.wddl-pickup__frame {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 20px 60px rgba(107, 33, 168, .25));
}

/* スクリーン（端末内の表示領域） */
.wddl-pickup__screen {
  position: absolute;
  z-index: 1;
  top: 3%;
  bottom: 2.5%;
  left: 3%;
  right: 3%;
  border-radius: 32px;
  overflow: hidden;
  background: var(--wddl-bg);
}

.wddl-pickup__screen-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ── ライブサイト iframe ── */
.wddl-pickup__screen--live {
  overflow: hidden;
  pointer-events: auto;
  display: flex;
  justify-content: center;
}

.wddl-pickup__iframe-wrap {
  flex-shrink: 0;
  width: 375px;
  height: 3000px;
  transform: scale(0.56);
  transform-origin: top center;
}

.wddl-pickup__iframe {
  display: block;
  border: none;
  width: 375px;
  height: 3000px;
}

@media (min-width: 1024px) {
  .wddl-pickup__iframe-wrap {
    transform: scale(0.63);
  }
}

/* ── テキスト情報 ── */
.wddl-pickup__info {
  padding: 0 8px;
}

.wddl-pickup__tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wddl-accent-light, #A855F7);
  margin-bottom: 8px;
}

.wddl-pickup__title {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  color: var(--wddl-text);
}

.wddl-pickup__sub {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(var(--wddl-text-rgb), .4);
}

.wddl-pickup__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(var(--wddl-text-rgb), .55);
}

.wddl-pickup__scope {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
  justify-content: center;
}

.wddl-pickup__scope-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: 12px;
  color: rgba(var(--wddl-text-rgb), .5);
  border: 1px solid rgba(var(--wddl-overlay-rgb), .1);
}

.wddl-pickup__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--wddl-accent-light, #A855F7);
  text-decoration: none;
  transition: color 0.2s;
}

.wddl-pickup__link:hover {
  color: #c084fc;
}

.wddl-pickup__phone-link {
  display: block;
  text-decoration: none;
}

/* ── デバイス切り替えトグル ── */
.wddl-device-toggle {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 48px;
  padding: 4px;
  background: rgba(var(--wddl-overlay-rgb), .04);
  border-radius: 12px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.wddl-device-toggle__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(var(--wddl-text-rgb), .4);
  background: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s;
}

.wddl-device-toggle__btn:hover {
  color: rgba(var(--wddl-text-rgb), .7);
}

.wddl-device-toggle__btn.is-active {
  color: #fff;
  background: var(--wddl-accent, #6B21A8);
}

/* ── View switching ── */
.wddl-pickup__view {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.5s ease, max-height 0.5s ease;
  pointer-events: none;
}

.wddl-pickup__view.is-active {
  opacity: 1;
  max-height: 4000px;
  pointer-events: auto;
}

/* ── iMac モニター ── */
.wddl-imac__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .wddl-imac__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

.wddl-imac__item {
  text-align: center;
}

.wddl-imac__monitor {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 28px;
}

.wddl-imac__frame {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.wddl-imac__screen {
  position: absolute;
  z-index: 1;
  top: 2.9%;
  bottom: 33.6%;
  left: 2.4%;
  right: 2.4%;
  border-radius: 2px;
  overflow: hidden;
  background: var(--wddl-bg);
}

.wddl-imac__iframe-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.wddl-imac__iframe {
  display: block;
  border: none;
  width: 1440px;
  height: 3000px;
  flex-shrink: 0;
  transform-origin: top center;
  transform: scale(0.2);
}

@media (min-width: 768px) {
  .wddl-imac__iframe {
    transform: scale(0.3);
  }
}

@media (min-width: 1200px) {
  .wddl-imac__iframe {
    transform: scale(0.38);
  }
}

/* ── 3D Tilt 用 ── */
.wddl-pickup__phone {
  transform-style: preserve-3d;
  will-change: transform;
}

/* ============================================================
   About (Company) Page
============================================================ */

/* ── Philosophy ── */
.wddl-about-philosophy {
  padding: 100px 0;
  background: var(--wddl-surface-3);
  color: var(--wddl-text);
}

.wddl-about-philosophy__inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.wddl-about-philosophy__heading {
  margin: 8px 0 0;
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 700;
  line-height: 1.6;
}

.wddl-about-philosophy__text {
  margin: 36px 0 0;
  font-size: 15px;
  line-height: 2.4;
  color: rgba(var(--wddl-text-rgb), .65);
  text-align: left;
}

@media (min-width: 768px) {
  .wddl-about-philosophy__text {
    text-align: center;
  }
}

/* ── Message (CEO greeting) ── */
.wddl-about-message {
  padding: 100px 0;
  background: var(--wddl-surface-2);
  color: var(--wddl-text);
  overflow: hidden;
}

.wddl-about-message__layout {
  display: flex;
  flex-direction: column;
  gap: 64px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .wddl-about-message__layout {
    flex-direction: row;
    align-items: center;
    gap: 80px;
  }
}

.wddl-about-message__text-side {
  flex: 1;
}

.wddl-about-message__heading {
  margin: 8px 0 0;
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 700;
  line-height: 1.5;
}

.wddl-about-message__text {
  margin: 32px 0 0;
  font-size: 15px;
  line-height: 2.2;
  color: rgba(var(--wddl-text-rgb), .7);
}

.wddl-about-message__sign {
  margin-top: 40px;
}

.wddl-about-message__role {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--wddl-accent-light);
  margin-bottom: 4px;
}

.wddl-about-message__name {
  display: block;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* ── Portrait ── */
.wddl-about-message__img-side {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}

.wddl-about-message__portrait-wrap {
  position: relative;
  width: 320px;
  max-width: 100%;
  overflow: hidden;
}

@media (min-width: 768px) {
  .wddl-about-message__portrait-wrap {
    width: 380px;
  }
}

.wddl-about-message__portrait {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
  filter: grayscale(20%) contrast(1.05);
  /* 胸上のみ表示：上部40%を起点に表示 */
  object-fit: cover;
  object-position: center 15%;
  aspect-ratio: 3 / 4;
}

/* 縁をぼかしてダーク背景に溶け込ませる */
.wddl-about-message__portrait-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 40%, var(--wddl-surface-2) 85%);
}

/* 紫グロー・ライン → 非表示 */
.wddl-about-message__portrait-glow,
.wddl-about-message__portrait-line {
  display: none;
}

/* ── Claude Code 企業セクション ── */
/* ============================================================
   Members — 社員紹介
============================================================ */
.wddl-about-members {
  padding: 100px 0;
  background: var(--wddl-surface-1);
  color: var(--wddl-text);
  overflow: hidden;
}

.wddl-about-members__inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.wddl-about-members__heading {
  margin: 8px 0 0;
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  color: var(--wddl-text);
}

.wddl-about-members__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px 32px;
  margin-top: 64px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .wddl-about-members__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 40px;
  }
}

/* ── メンバーカード ── */
.wddl-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.wddl-member__photo-wrap {
  position: relative;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--wddl-surface-3);
}

.wddl-member__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(20%) contrast(1.05);
  transition: filter 0.4s, transform 0.4s;
}

.wddl-member:hover .wddl-member__photo {
  filter: grayscale(0%) contrast(1.1);
  transform: scale(1.05);
}

/* CEOカード型写真 + 3D Tilt */

/* perspective は親要素に設定 */
.wddl-member--ceo {
  perspective: 800px;
}

/* カード本体が傾く */
.wddl-member__photo-wrap--card {
  width: 200px;
  height: auto;
  border-radius: 20px;
  aspect-ratio: auto;
  background: transparent;
  transform-style: preserve-3d;
  will-change: transform;
  cursor: pointer;
  position: relative;
  /* overflow: hidden を外す → 3D変形が見える */
}

.wddl-member__photo-wrap--card .wddl-member__photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 20px;
  filter: none;
  pointer-events: none;
}

/* ホバーのデフォルト transform を無効化（GSAPが制御するため） */
.wddl-member--ceo:hover .wddl-member__photo {
  filter: none;
  transform: none;
}

.wddl-member__card-shine {
  position: absolute;
  top: -30%;
  bottom: -30%;
  left: 0;
  right: 0;
  border-radius: 20px;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(var(--wddl-overlay-rgb), .5), transparent 70%);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}

@media (min-width: 768px) {
  .wddl-member__photo-wrap--card {
    width: 220px;
  }
}

/* プレースホルダー（ダミー社員） */
.wddl-member__photo-wrap--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--wddl-surface-4);
  border: 2px dashed rgba(var(--wddl-overlay-rgb), .1);
}

.wddl-member__placeholder-icon {
  color: rgba(var(--wddl-text-rgb), .2);
}

.wddl-member__role {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--wddl-accent-light, #A855F7);
  margin-bottom: 4px;
}

.wddl-member__name {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--wddl-text);
  margin-bottom: 2px;
}

.wddl-member__en {
  display: block;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(var(--wddl-text-rgb), .35);
}

.wddl-member__desc {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.9;
  color: rgba(var(--wddl-text-rgb), .55);
  max-width: 260px;
}

/* ── AI メンバーカード ── */
.wddl-member--ai {
  perspective: 800px;
}

.wddl-member__photo-wrap--ai-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  aspect-ratio: 63 / 88;
  border-radius: 20px;
  background: linear-gradient(135deg, #1E1528 0%, #2A1540 50%, #1E1528 100%);
  border: 1px solid rgba(168, 85, 247, .25);
  transform-style: preserve-3d;
  will-change: transform;
  cursor: pointer;
  position: relative;
  box-shadow: 0 0 40px rgba(168, 85, 247, .12), inset 0 0 30px rgba(168, 85, 247, .06);
}

.wddl-member__ai-icon {
  font-size: 56px;
  color: transparent;
  background: linear-gradient(135deg, #A855F7 0%, #D8B4FE 50%, #A855F7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(168, 85, 247, .5));
  animation: wddl-ai-glow 3s ease-in-out infinite;
}

@keyframes wddl-ai-glow {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(168, 85, 247, .5)); }
  50% { filter: drop-shadow(0 0 35px rgba(168, 85, 247, .8)); }
}

.wddl-member--ai:hover .wddl-member__photo-wrap--ai-avatar {
  box-shadow: 0 0 60px rgba(168, 85, 247, .2), inset 0 0 30px rgba(168, 85, 247, .1);
}

@media (min-width: 768px) {
  .wddl-member__photo-wrap--ai-avatar {
    width: 220px;
  }
}

/* 旧 Claude Code セクション（後方互換） */
.wddl-about-claude {
  padding: 100px 0;
  background: var(--wddl-surface-1);
  color: var(--wddl-text);
  overflow: hidden;
}

.wddl-about-claude__inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.wddl-about-claude__heading {
  margin: 8px 0 0;
  font-size: clamp(24px, 4.5vw, 42px);
  font-weight: 700;
  line-height: 1.5;
}

.wddl-about-claude__lead {
  margin: 28px 0 0;
  font-size: 15px;
  line-height: 2.2;
  color: rgba(var(--wddl-text-rgb), .6);
}

/* ── Team cards ── */
.wddl-about-team {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 56px;
  text-align: left;
}

@media (min-width: 640px) {
  .wddl-about-team {
    grid-template-columns: repeat(2, 1fr);
  }
}

.wddl-about-team__card {
  padding: 32px 28px;
  background: var(--wddl-surface-3);
  border: 1px solid rgba(var(--wddl-overlay-rgb), .06);
  border-radius: 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.wddl-about-team__card:hover {
  border-color: rgba(107, 33, 168, .3);
  box-shadow: 0 0 40px rgba(107, 33, 168, .08);
}

.wddl-about-team__card--ai {
  background: linear-gradient(135deg, var(--wddl-surface-3) 0%, #1E1528 100%);
  border-color: rgba(168, 85, 247, .15);
}

.wddl-about-team__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--wddl-surface-4);
}

.wddl-about-team__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.wddl-about-team__avatar--ai {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--wddl-accent) 0%, var(--wddl-accent-light) 100%);
}

.wddl-about-team__avatar-icon {
  font-size: 28px;
  color: #fff;
}

.wddl-about-team__info {
  margin-bottom: 16px;
}

.wddl-about-team__role {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(var(--wddl-text-rgb), .4);
  margin-bottom: 4px;
}

.wddl-about-team__name {
  display: inline-block;
  font-size: 20px;
  font-weight: 700;
  margin-right: 10px;
}

.wddl-about-team__type {
  display: inline-block;
  padding: 2px 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 10px;
  vertical-align: middle;
}

.wddl-about-team__type--human {
  color: #34D399;
  border: 1px solid rgba(52, 211, 153, .3);
}

.wddl-about-team__type--ai {
  color: var(--wddl-accent-light);
  border: 1px solid rgba(168, 85, 247, .3);
}

.wddl-about-team__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.9;
  color: rgba(var(--wddl-text-rgb), .55);
}

/* ── なぜ Claude Code か ── */
.wddl-about-claude__why {
  margin-top: 72px;
  text-align: left;
}

.wddl-about-claude__why-title {
  margin: 0 0 32px;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  color: var(--wddl-text);
}

.wddl-about-claude__why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .wddl-about-claude__why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.wddl-about-claude__why-item {
  padding: 28px 24px;
  background: rgba(var(--wddl-overlay-rgb), .03);
  border: 1px solid rgba(var(--wddl-overlay-rgb), .06);
  border-radius: 12px;
}

.wddl-about-claude__why-num {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--wddl-accent-light);
  margin-bottom: 12px;
}

.wddl-about-claude__why-item h4 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--wddl-text);
}

.wddl-about-claude__why-item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.9;
  color: rgba(var(--wddl-text-rgb), .55);
}

/* ============================================================
   Process — 制作の流れ
============================================================ */
.wddl-process {
  padding: 100px 0;
  background: var(--wddl-surface-1);
  color: var(--wddl-text);
  overflow: hidden;
}

.wddl-process__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.wddl-process__heading {
  margin: 8px 0 0;
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  color: var(--wddl-text);
}

.wddl-process__timeline {
  position: relative;
  margin-top: 64px;
  text-align: left;
  padding-left: 48px;
}

/* Vertical connecting line */
.wddl-process__timeline::before {
  content: '';
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 23px;
  width: 2px;
  background: linear-gradient(
    to bottom,
    rgba(168, 85, 247, .4),
    rgba(168, 85, 247, .15)
  );
}

.wddl-process__step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  position: relative;
  padding-bottom: 40px;
}

.wddl-process__step:last-child {
  padding-bottom: 0;
}

.wddl-process__num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--wddl-accent-light, #A855F7);
  background: var(--wddl-surface-2);
  font-size: 16px;
  font-weight: 700;
  color: var(--wddl-accent-light, #A855F7);
  position: absolute;
  left: -48px;
  z-index: 1;
}

.wddl-process__content {
  padding-top: 10px;
}

.wddl-process__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--wddl-text);
}

.wddl-process__desc {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.9;
  color: rgba(var(--wddl-text-rgb), .55);
}

/* Responsive: mobile full-width stacked */
@media (max-width: 639px) {
  .wddl-process__timeline {
    padding-left: 40px;
  }

  .wddl-process__timeline::before {
    left: 19px;
  }

  .wddl-process__num {
    width: 40px;
    height: 40px;
    font-size: 14px;
    left: -40px;
  }

  .wddl-process__step {
    padding-bottom: 32px;
  }
}

/* ── Company Info ── */
.wddl-about-info {
  padding: 100px 0;
  background: var(--wddl-surface-3);
  color: var(--wddl-text);
}

.wddl-about-info__container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.wddl-about-info__heading {
  margin: 6px 0 48px;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
}

.wddl-about-table {
  width: 100%;
  border-collapse: collapse;
}

.wddl-about-table th,
.wddl-about-table td {
  padding: 20px 0;
  font-size: 15px;
  line-height: 1.8;
  border-bottom: 1px solid rgba(var(--wddl-overlay-rgb), .08);
  vertical-align: top;
}

.wddl-about-table th {
  width: 140px;
  font-weight: 600;
  color: rgba(var(--wddl-text-rgb), .5);
  white-space: nowrap;
  padding-right: 24px;
}

.wddl-about-table td {
  color: var(--wddl-text);
}

.wddl-about-table tr {
  transition: background-color 0.3s ease;
}

.wddl-about-table tr:hover {
  background-color: rgba(107, 33, 168, 0.1);
}

@media (max-width: 480px) {
  .wddl-about-table th,
  .wddl-about-table td {
    display: block;
    width: 100%;
    padding-right: 0;
  }
  .wddl-about-table th {
    padding-bottom: 4px;
    border-bottom: none;
  }
}

/* ============================================================
   Interactive Showcase
============================================================ */

/* ── Hero → .wddl-page-hero に統一済み ── */

/* ── Grid ── */
.sc-grid {
  padding: 80px 24px 120px;
  background: var(--wddl-surface-3);
}

.sc-grid__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .sc-grid__inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .sc-grid__inner {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── Card ── */
.sc-card {
  display: flex;
  flex-direction: column;
  background: var(--wddl-surface-4);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .2);
  transition: box-shadow 0.3s;
}

.sc-card:hover {
  box-shadow: 0 8px 40px rgba(107, 33, 168, .2);
}

.sc-card__head {
  padding: 28px 28px 0;
}

.sc-card__number {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--wddl-accent);
  margin-bottom: 8px;
}

.sc-card__title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--wddl-text);
}

.sc-card__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(var(--wddl-text-rgb), .5);
}

/* ── Demo area ── */
.sc-card__demo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  margin: 24px 20px;
  border-radius: 12px;
  background: var(--wddl-surface-5);
  overflow: hidden;
}

/* ── Tech accordion ── */
.sc-card__tech {
  margin-top: auto;
  border-top: 1px solid rgba(var(--wddl-overlay-rgb), .08);
}

.sc-card__tech-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 28px;
  font-size: 13px;
  font-weight: 600;
  color: var(--wddl-accent);
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.sc-card__tech-toggle:hover {
  background: rgba(107, 33, 168, .12);
}

.sc-card__tech-toggle svg {
  transition: transform 0.3s;
}

.sc-card__tech-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.sc-card__tech-body {
  overflow: hidden;
}

.sc-card__code-block {
  margin: 0 20px 20px;
  padding: 20px 24px;
  background: var(--wddl-bg);
  border-radius: 10px;
  color: var(--wddl-text);
}

.sc-card__tech-label {
  margin: 0 0 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(var(--wddl-text-rgb), .4);
}

.sc-card__tech-name {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--wddl-accent-light);
}

.sc-card__tech-text {
  margin: 0;
  font-size: 12px;
  line-height: 1.9;
  color: rgba(var(--wddl-text-rgb), .65);
}

.sc-card__tech-text code {
  padding: 1px 6px;
  background: rgba(var(--wddl-overlay-rgb), .08);
  border-radius: 4px;
  font-size: 11px;
  color: var(--wddl-accent-light);
}

/* ── Demo 1: Magnetic Button ── */
.sc-magnetic-btn {
  position: relative;
  padding: 14px 40px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  background: var(--wddl-accent);
  border: none;
  border-radius: 28px;
  cursor: pointer;
  will-change: transform;
  transition: box-shadow 0.3s;
}

.sc-magnetic-btn:hover {
  box-shadow: 0 0 24px rgba(107, 33, 168, .45);
}

/* ── Demo 2: Text Reveal ── */
.sc-card__demo--textreveal {
  flex-direction: column;
  gap: 20px;
  padding: 32px 20px;
}

.sc-textreveal {
  margin: 0;
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 700;
  color: var(--wddl-text);
  letter-spacing: 0.06em;
}

.sc-textreveal__char {
  display: inline-block;
  opacity: 0;
}

.sc-replay-btn {
  padding: 8px 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--wddl-accent);
  background: none;
  border: 1px solid var(--wddl-accent);
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.sc-replay-btn:hover {
  background: var(--wddl-accent);
  color: #fff;
}

/* ── Demo 3: Hover Image Reveal ── */
.sc-card__demo--imagereveal {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 0;
  min-height: 240px;
  cursor: default;
}

.sc-imgreveal-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.sc-imgreveal-item {
  display: block;
  padding: 20px 28px;
  font-size: 18px;
  font-weight: 700;
  color: var(--wddl-text);
  border-bottom: 1px solid rgba(var(--wddl-overlay-rgb), .08);
  cursor: pointer;
  transition: color 0.2s, padding-left 0.3s;
}

.sc-imgreveal-item:last-child {
  border-bottom: none;
}

.sc-imgreveal-item:hover {
  color: var(--wddl-accent);
  padding-left: 36px;
}

.sc-imgreveal-cursor {
  position: absolute;
  top: 0;
  left: 0;
  width: 160px;
  height: 120px;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.8);
  z-index: 10;
  will-change: transform, opacity;
}

.sc-imgreveal-cursor__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .2);
}

/* ── Demo 4: 3D Card Tilt ── */
.sc-card__demo--tilt {
  perspective: 600px;
}

.sc-tilt-card {
  position: relative;
  width: 180px;
  height: 110px;
  border-radius: 14px;
  background: linear-gradient(135deg, #6B21A8 0%, #2e1065 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 16px;
  transform-style: preserve-3d;
  will-change: transform;
  box-shadow: 0 8px 32px rgba(107, 33, 168, .25);
  overflow: hidden;
}

.sc-tilt-card__shine {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: radial-gradient(circle at 50% 50%, rgba(var(--wddl-overlay-rgb), .4), transparent 60%);
  opacity: 0;
  pointer-events: none;
}

.sc-tilt-card__label {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #fff;
  transform: translateZ(20px);
}

.sc-tilt-card__sub {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(var(--wddl-overlay-rgb), .5);
  transform: translateZ(10px);
}

/* ── Demo 5: Infinite Marquee ── */
.sc-card__demo--marquee {
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  padding: 0;
}

.sc-marquee {
  overflow: hidden;
  white-space: nowrap;
}

.sc-marquee__track {
  display: inline-flex;
  animation: marqueeScroll 12s linear infinite;
}

.sc-marquee--reverse .sc-marquee__track {
  animation-direction: reverse;
  animation-duration: 16s;
}

.sc-marquee__track span {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(var(--wddl-text-rgb), .25);
}

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Demo 6: Gradient Mesh ── */
.sc-card__demo--gradient {
  position: relative;
  overflow: hidden;
}

.sc-gradient-mesh {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 50% 50% at 30% 30%, rgba(107, 33, 168, .6) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 70% 70%, rgba(88, 28, 135, .5) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(139, 92, 246, .3) 0%, transparent 60%);
  animation: gradientDrift 8s ease-in-out infinite alternate;
}

@keyframes gradientDrift {
  0%   { transform: scale(1) rotate(0deg); }
  50%  { transform: scale(1.2) rotate(5deg); }
  100% { transform: scale(1) rotate(-3deg); }
}

.sc-gradient-text {
  position: relative;
  z-index: 1;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, .9);
  text-shadow: 0 2px 20px rgba(107, 33, 168, .4);
}

/* ── Demo 7: Blur-to-Focus ── */
.sc-card__demo--blur {
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
}

.sc-blur-text {
  margin: 0;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  color: var(--wddl-text);
  letter-spacing: 0.2em;
  filter: blur(12px);
  transition: filter 0.6s ease, letter-spacing 0.6s ease;
}

.sc-card__demo--blur:hover .sc-blur-text {
  filter: blur(0);
  letter-spacing: 0.06em;
}

.sc-blur-hint {
  margin: 0;
  font-size: 11px;
  color: rgba(var(--wddl-text-rgb), .3);
  transition: opacity 0.3s;
}

.sc-card__demo--blur:hover .sc-blur-hint {
  opacity: 0;
}

/* ── Demo 8: Elastic Counter ── */
.sc-card__demo--counter {
  flex-direction: column;
  gap: 24px;
}

.sc-counter-group {
  display: flex;
  gap: 32px;
}

.sc-counter-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sc-counter-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--wddl-accent-light, #A855F7);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.sc-counter-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(var(--wddl-text-rgb), .4);
  margin-top: 6px;
}

/* ── Demo 9: Stagger Grid ── */
.sc-card__demo--stagger {
  flex-direction: column;
  gap: 20px;
}

.sc-stagger-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  width: 100%;
  max-width: 200px;
}

.sc-stagger-cell {
  aspect-ratio: 1;
  border-radius: 8px;
  background: var(--wddl-accent);
  opacity: 0;
}

.sc-stagger-cell:nth-child(even) {
  background: var(--wddl-accent-light, #A855F7);
}

/* ── Demo 10: Parallax Layers ── */
.sc-card__demo--parallax {
  position: relative;
  overflow: hidden;
  cursor: crosshair;
}

.sc-parallax-layer {
  position: absolute;
  will-change: transform;
  font-weight: 700;
}

.sc-parallax-layer--back {
  font-size: 80px;
  color: rgba(107, 33, 168, .15);
  top: 10%;
  left: 15%;
}

.sc-parallax-layer--mid {
  font-size: 48px;
  color: rgba(139, 92, 246, .3);
  top: 50%;
  right: 20%;
}

.sc-parallax-layer--front {
  font-size: 32px;
  color: rgba(168, 85, 247, .5);
  bottom: 20%;
  left: 35%;
}

.sc-parallax-label {
  position: relative;
  z-index: 1;
  font-size: 11px;
  color: rgba(var(--wddl-text-rgb), .3);
}

/* ── Category Filter ── */
.sc-filter {
  padding: 0 24px 40px;
  background: var(--wddl-surface-3);
}

.sc-filter__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.sc-filter__btn {
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(var(--wddl-text-rgb), .5);
  background: rgba(var(--wddl-overlay-rgb), .04);
  border: 1px solid rgba(var(--wddl-overlay-rgb), .08);
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.25s;
}

.sc-filter__btn:hover {
  color: var(--wddl-text);
  border-color: rgba(107, 33, 168, .4);
}

.sc-filter__btn.is-active {
  color: #fff;
  background: var(--wddl-accent, #6B21A8);
  border-color: var(--wddl-accent, #6B21A8);
}

.sc-filter__count {
  display: inline-block;
  margin-left: 6px;
  font-size: 10px;
  opacity: 0.6;
}

/* ── Demo 11: Typewriter ── */
.sc-card__demo--typewriter {
  padding: 24px;
  min-height: 220px;
}

.sc-typewriter {
  margin: 0;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 14px;
  color: #A855F7;
  min-height: 1.6em;
  white-space: nowrap;
}

.sc-typewriter::after {
  content: '|';
  animation: twBlink 0.7s step-end infinite;
  color: #A855F7;
}

@keyframes twBlink { 0%,100%{opacity:1} 50%{opacity:0} }

/* ── Demo 12: Glitch Text ── */
.sc-glitch {
  position: relative;
  margin: 0;
  font-size: 36px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--wddl-text);
}

.sc-glitch::before,
.sc-glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  opacity: 0;
}

.sc-card__demo--glitch:hover .sc-glitch::before {
  opacity: 1;
  color: #ff00ff;
  clip-path: inset(20% 0 40% 0);
  animation: glitch1 0.3s steps(2) infinite;
}

.sc-card__demo--glitch:hover .sc-glitch::after {
  opacity: 1;
  color: #00ffff;
  clip-path: inset(60% 0 10% 0);
  animation: glitch2 0.3s steps(2) infinite;
}

@keyframes glitch1 { 0%{transform:translate(-2px,1px)} 100%{transform:translate(2px,-1px)} }
@keyframes glitch2 { 0%{transform:translate(2px,-1px)} 100%{transform:translate(-2px,1px)} }

/* ── Demo 13: Morphing Blob ── */
.sc-blob {
  width: 140px;
  height: 140px;
  background: linear-gradient(135deg, #6B21A8, #A855F7);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: blobMorph 6s ease-in-out infinite;
}

@keyframes blobMorph {
  0%   { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  50%  { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
  100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

/* ── Demo 14: Card Flip ── */
.sc-flip {
  width: 160px;
  height: 100px;
  perspective: 600px;
  cursor: pointer;
}

.sc-flip__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.sc-flip.is-flipped .sc-flip__inner {
  transform: rotateY(180deg);
}

.sc-flip__front,
.sc-flip__back {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  backface-visibility: hidden;
}

.sc-flip__front {
  background: var(--wddl-accent);
  color: #fff;
}

.sc-flip__back {
  background: #A855F7;
  color: #fff;
  transform: rotateY(180deg);
}

.sc-flip__front small,
.sc-flip__back small {
  font-size: 10px;
  font-weight: 400;
  opacity: 0.7;
  margin-top: 4px;
}

/* ── Demo 15: Underline Hover ── */
.sc-underline-demos {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.sc-uline {
  position: relative;
  font-size: 18px;
  font-weight: 700;
  color: var(--wddl-text);
  text-decoration: none;
}

.sc-uline::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--wddl-accent-light, #A855F7);
  transition: transform 0.3s ease;
}

.sc-uline--slide::after { transform: scaleX(0); transform-origin: left; }
.sc-uline--slide:hover::after { transform: scaleX(1); }

.sc-uline--grow::after { transform: scaleX(0); transform-origin: center; }
.sc-uline--grow:hover::after { transform: scaleX(1); }

.sc-uline--bold::after { height: 6px; bottom: -2px; opacity: 0.3; transform: scaleX(0); transform-origin: right; }
.sc-uline--bold:hover::after { transform: scaleX(1); }

/* ── Demo 16: Wave Motion ── */
.sc-card__demo--wave {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sc-wave {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--wddl-text);
  display: flex;
  flex-wrap: nowrap;
}

/* ── Demo 17: Progress Ring ── */
.sc-card__demo--progress {
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.sc-progress-ring {
  width: 100px;
  height: 100px;
  transform: rotate(-90deg);
}

.sc-progress-ring__bg {
  fill: none;
  stroke: rgba(var(--wddl-overlay-rgb), .08);
  stroke-width: 10;
}

.sc-progress-ring__fill {
  fill: none;
  stroke: var(--wddl-accent-light, #A855F7);
  stroke-width: 10;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.1s;
}

.sc-progress-val {
  position: absolute;
  font-size: 24px;
  font-weight: 800;
  color: var(--wddl-text);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
}

/* ── Demo 18: Image Compare ── */
.sc-compare {
  position: relative;
  width: 100%;
  height: 180px;
  border-radius: 8px;
  overflow: hidden;
  cursor: ew-resize;
  margin: 0 auto;
}

.sc-compare__after,
.sc-compare__before {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
}

.sc-compare__after {
  background: var(--wddl-surface-3);
  color: rgba(var(--wddl-text-rgb), .3);
}

.sc-compare__before {
  background: var(--wddl-accent);
  color: #fff;
  clip-path: inset(0 50% 0 0);
}

.sc-compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: #fff;
  transform: translateX(-50%);
  cursor: ew-resize;
  z-index: 2;
}

.sc-compare__handle::after {
  content: '⟨⟩';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  color: var(--wddl-surface-3);
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Demo 19: Particle Float ── */
.sc-card__demo--particle {
  position: relative;
  overflow: hidden;
}

.sc-particles {
  position: absolute;
  inset: 0;
}

.sc-particle {
  position: absolute;
  bottom: -10%;
  left: var(--x);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: var(--wddl-accent-light, #A855F7);
  opacity: 0;
  animation: particleUp var(--d) ease-in-out infinite var(--delay);
}

@keyframes particleUp {
  0%   { transform: translateY(0); opacity: 0; }
  20%  { opacity: 0.6; }
  100% { transform: translateY(-300px); opacity: 0; }
}

/* ── Demo 20: Hamburger Toggle ── */
.sc-hamburger {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 16px;
  background: none;
  border: 2px solid rgba(var(--wddl-overlay-rgb), .15);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.3s;
}

.sc-hamburger:hover { border-color: var(--wddl-accent-light); }

.sc-hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--wddl-text);
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

.sc-hamburger.is-open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.sc-hamburger.is-open span:nth-child(2) { opacity: 0; }
.sc-hamburger.is-open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ── Demo 21: Gradient Text ── */
.sc-gradtext {
  margin: 0;
  font-size: 32px;
  font-weight: 900;
  background: linear-gradient(90deg, #6B21A8, #A855F7, #ec4899, #6B21A8);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradFlow 3s linear infinite;
}

@keyframes gradFlow { 0%{background-position:0% center} 100%{background-position:200% center} }

/* ── Demo 22: Skeleton Screen ── */
.sc-skeleton {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  width: 100%;
  max-width: 240px;
}

.sc-skeleton__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #333;
  flex-shrink: 0;
  overflow: hidden;
}

.sc-skeleton__lines { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.sc-skeleton__line { height: 12px; border-radius: 6px; background: #333; overflow: hidden; }

.sc-skeleton__avatar::after,
.sc-skeleton__line::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(var(--wddl-overlay-rgb), .06) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer { 0%{background-position:-200% 0} 100%{background-position:200% 0} }

/* ── Demo 23: Ripple Click ── */
.sc-ripple-btn {
  position: relative;
  overflow: hidden;
  padding: 14px 40px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--wddl-accent);
  border: none;
  border-radius: 28px;
  cursor: pointer;
}

.sc-ripple {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(var(--wddl-overlay-rgb), .4);
  transform: translate(-50%, -50%) scale(0);
  animation: rippleGrow 0.6s ease-out;
  pointer-events: none;
}

@keyframes rippleGrow { to { transform: translate(-50%, -50%) scale(12); opacity: 0; } }

/* ── Demo 24: Smooth Accordion ── */
.sc-accordion { width: 100%; max-width: 260px; }

.sc-accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--wddl-text);
  background: none;
  border: none;
  border-bottom: 1px solid rgba(var(--wddl-overlay-rgb), .08);
  cursor: pointer;
  transition: color 0.2s;
}

.sc-accordion__trigger:hover { color: var(--wddl-accent-light); }

.sc-accordion__trigger svg {
  transition: transform 0.3s;
}

.sc-accordion__item.is-open .sc-accordion__trigger svg {
  transform: rotate(180deg);
}

.sc-accordion__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
  overflow: hidden;
}

.sc-accordion__item.is-open .sc-accordion__body {
  grid-template-rows: 1fr;
}

.sc-accordion__body > p {
  overflow: hidden;
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(var(--wddl-text-rgb), .5);
  padding: 0 0 12px;
}

/* ── Demo 25: Hover Card Reveal ── */
.sc-hovercard {
  position: relative;
  width: 180px;
  height: 140px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #6B21A8, #2e1065);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
}

.sc-hovercard__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, .85);
  display: flex;
  align-items: center;
  padding: 16px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sc-hovercard:hover .sc-hovercard__overlay {
  transform: translateY(0);
}

.sc-hovercard__overlay p {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(var(--wddl-text-rgb), .8);
}

/* ── Demo 26: Cursor Trail ── */
.sc-trail {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 200px;
  cursor: crosshair;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sc-trail-label {
  font-size: 11px;
  color: rgba(var(--wddl-text-rgb), .3);
  pointer-events: none;
}

.sc-trail-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--wddl-accent-light, #A855F7);
  pointer-events: none;
  transform: translate(-50%, -50%);
}

/* ── Demo 27: Scroll Progress ── */
.sc-scrollprog-demo {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--wddl-surface-3);
}

.sc-scrollprog-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--wddl-accent-light, #A855F7);
  z-index: 2;
  transition: width 0.1s;
}

.sc-scrollprog-content {
  height: 100%;
  overflow-y: auto;
  padding: 24px;
  font-size: 13px;
  color: rgba(var(--wddl-text-rgb), .4);
  text-align: center;
}

.sc-scrollprog-content::-webkit-scrollbar { width: 4px; }
.sc-scrollprog-content::-webkit-scrollbar-track { background: transparent; }
.sc-scrollprog-content::-webkit-scrollbar-thumb { background: rgba(var(--wddl-overlay-rgb), .1); border-radius: 2px; }

/* ── Demo 28: Rotating Border ── */
.sc-rotborder {
  position: relative;
  width: 160px;
  height: 100px;
  border-radius: 14px;
  overflow: hidden;
  padding: 3px;
}

.sc-rotborder::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: conic-gradient(#6B21A8, #A855F7, #ec4899, #6B21A8);
  animation: rotBorder 3s linear infinite;
}

@keyframes rotBorder { to { transform: rotate(360deg); } }

.sc-rotborder__inner {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--wddl-surface-4);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--wddl-text);
  text-align: center;
  line-height: 1.5;
}

/* ── Demo 29: Text Scramble ── */
.sc-card__demo--scramble {
  padding: 24px;
  flex-direction: column;
  gap: 20px;
}

.sc-scramble {
  margin: 0;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--wddl-accent-light, #A855F7);
  min-height: 1.4em;
}

/* ── Demo 30: Elastic Modal ── */
.sc-modal-trigger {
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--wddl-accent);
  border: none;
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.3s;
}

.sc-modal-trigger:hover { background: var(--wddl-accent-light); }

.sc-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: inherit;
}

.sc-modal-box {
  background: var(--wddl-surface-5);
  border-radius: 16px;
  padding: 32px 40px;
  text-align: center;
  position: relative;
}

.sc-modal-box p {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--wddl-text);
}

.sc-modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  color: rgba(var(--wddl-text-rgb), .4);
  font-size: 18px;
  cursor: pointer;
}

/* ============================================================
   Thank You Page
============================================================ */
.wddl-thankyou {
  padding: 40px 0 100px;
  background: var(--wddl-surface-1);
  text-align: center;
}

.wddl-thankyou__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  border: 1px solid var(--wddl-accent, #6B21A8);
  border-radius: 999px;
  color: var(--wddl-accent-light, #A855F7);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 48px;
}

.wddl-thankyou__badge svg {
  flex-shrink: 0;
}

.wddl-thankyou__resources {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 960px;
  margin: 0 auto 56px;
}

@media (min-width: 768px) {
  .wddl-thankyou__resources {
    grid-template-columns: repeat(3, 1fr);
  }
}

.wddl-thankyou__resource-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px 24px 32px;
  background: var(--wddl-surface-4);
  border: 1px solid rgba(var(--wddl-overlay-rgb), .08);
  border-radius: 16px;
  text-decoration: none;
  color: var(--wddl-text);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.wddl-thankyou__resource-card:hover {
  transform: translateY(-4px);
  border-color: var(--wddl-accent, #6B21A8);
  box-shadow: 0 8px 32px rgba(107, 33, 168, .15);
}

.wddl-thankyou__resource-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(var(--wddl-overlay-rgb), .05);
  color: var(--wddl-accent-light, #A855F7);
}

.wddl-thankyou__resource-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: var(--wddl-text);
}

.wddl-thankyou__resource-arrow {
  font-size: 18px;
  color: rgba(var(--wddl-text-rgb), .4);
  transition: color .25s ease, transform .25s ease;
}

.wddl-thankyou__resource-card:hover .wddl-thankyou__resource-arrow {
  color: var(--wddl-accent-light, #A855F7);
  transform: translateX(4px);
}

.wddl-thankyou__bottom {
  padding-top: 8px;
}

/* ── Showcase Card CTA ── */
.sc-card__cta {
  display: block;
  padding: 14px 28px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--wddl-accent-light, #A855F7);
  text-decoration: none;
  border-top: 1px solid rgba(var(--wddl-overlay-rgb), .06);
  transition: background 0.3s, color 0.3s;
}

.sc-card__cta:hover {
  background: rgba(107, 33, 168, .12);
  color: #fff;
}

/* ── Showcase End CTA ── */
.sc-showcase-cta {
  padding: 100px 24px;
  background: var(--wddl-surface-1);
  text-align: center;
}

.sc-showcase-cta__inner {
  max-width: 640px;
  margin: 0 auto;
}

.sc-showcase-cta__heading {
  margin: 0 0 16px;
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  color: var(--wddl-text);
}

.sc-showcase-cta__sub {
  margin: 0 0 36px;
  font-size: 15px;
  line-height: 2;
  color: rgba(var(--wddl-text-rgb), .5);
}

.sc-showcase-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 44px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: var(--wddl-accent, #6B21A8);
  border-radius: 32px;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.sc-showcase-cta__btn:hover {
  background: var(--wddl-accent-light, #A855F7);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(107, 33, 168, .3);
}

/* ── Works CTA ── */
.wddl-works-cta {
  padding: 100px 24px;
  background: var(--wddl-surface-1);
  text-align: center;
}

.wddl-works-cta__inner {
  max-width: 640px;
  margin: 0 auto;
}

.wddl-works-cta__heading {
  margin: 0 0 16px;
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  color: var(--wddl-text);
}

.wddl-works-cta__sub {
  margin: 0 0 36px;
  font-size: 15px;
  line-height: 2;
  color: rgba(var(--wddl-text-rgb), .5);
}

.wddl-works-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 44px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: var(--wddl-accent, #6B21A8);
  border-radius: 32px;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.wddl-works-cta__btn:hover {
  background: var(--wddl-accent-light, #A855F7);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(107, 33, 168, .3);
}

/* ============================================================
   Next Page Navigation
============================================================ */
.wddl-next-page {
  padding: 60px 24px;
  text-align: center;
  background: var(--wddl-bg);
  border-top: 1px solid rgba(var(--wddl-overlay-rgb), .04);
}

.wddl-next-page__label {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(var(--wddl-text-rgb), .3);
}

.wddl-next-page__link {
  font-size: clamp(20px, 3.5vw, 32px);
  font-weight: 700;
  color: var(--wddl-text);
  text-decoration: none;
  transition: color 0.3s;
}

.wddl-next-page__link:hover {
  color: var(--wddl-accent-light, #A855F7);
}

/* ============================================================
   Service Page
============================================================ */
.wddl-service {
  padding: 100px 24px;
}

.wddl-service:nth-child(even) {
  background: var(--wddl-surface-2);
}

.wddl-service:nth-child(odd) {
  background: var(--wddl-surface-1);
}

.wddl-service__inner {
  max-width: 800px;
  margin: 0 auto;
}

.wddl-service__badge {
  display: inline-block;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--wddl-accent-light, #A855F7);
  border: 1px solid var(--wddl-accent, #6B21A8);
  border-radius: 20px;
  margin-bottom: 20px;
}

.wddl-service__heading {
  margin: 0 0 8px;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  color: var(--wddl-text);
}

.wddl-service__sub {
  margin: 0 0 24px;
  font-size: 15px;
  color: rgba(var(--wddl-text-rgb), .55);
}

.wddl-service__desc {
  margin: 0 0 32px;
  font-size: 15px;
  line-height: 1.9;
  color: rgba(var(--wddl-text-rgb), .65);
}

.wddl-service__columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

@media (min-width: 640px) {
  .wddl-service__columns {
    grid-template-columns: 1fr 1fr;
  }
}

.wddl-service__col-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--wddl-accent-light, #A855F7);
  margin-bottom: 12px;
}

.wddl-service__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wddl-service__col li {
  position: relative;
  padding: 6px 0 6px 18px;
  font-size: 14px;
  color: rgba(var(--wddl-text-rgb), .6);
}

.wddl-service__col li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--wddl-accent-light, #A855F7);
  font-size: 12px;
}

.wddl-service__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--wddl-accent, #6B21A8);
  border-radius: 28px;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
}

.wddl-service__cta:hover {
  background: var(--wddl-accent-light, #A855F7);
  transform: translateY(-2px);
}

/* ============================================================
   FAQ Page
============================================================ */
.wddl-faq {
  padding: 80px 24px 120px;
  background: var(--wddl-surface-1);
}

.wddl-faq__inner {
  max-width: 760px;
  margin: 0 auto;
}

.wddl-faq__category {
  margin-bottom: 48px;
}

.wddl-faq__category-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--wddl-accent-light, #A855F7);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(var(--wddl-overlay-rgb), .08);
}

.wddl-faq__item {
  border-bottom: 1px solid rgba(var(--wddl-overlay-rgb), .06);
}

.wddl-faq__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--wddl-text);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}

.wddl-faq__trigger:hover {
  color: var(--wddl-accent-light, #A855F7);
}

.wddl-faq__trigger:focus {
  outline: none;
}

.wddl-faq__trigger:focus-visible {
  outline: 2px solid var(--wddl-accent, #6B21A8);
  outline-offset: 4px;
  border-radius: 4px;
}

.wddl-faq__trigger svg {
  flex-shrink: 0;
  transition: transform 0.3s;
}

.wddl-faq__item.is-open .wddl-faq__trigger svg {
  transform: rotate(180deg);
}

.wddl-faq__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
  overflow: hidden;
}

.wddl-faq__item.is-open .wddl-faq__body {
  grid-template-rows: 1fr;
}

.wddl-faq__body > div {
  overflow: hidden;
}

.wddl-faq__answer {
  margin: 0;
  padding: 0 0 20px;
  font-size: 14px;
  line-height: 1.9;
  color: rgba(var(--wddl-text-rgb), .55);
}

.wddl-faq__cta {
  padding: 80px 24px;
  background: var(--wddl-surface-2);
  text-align: center;
}

.wddl-faq__cta-heading {
  margin: 0 0 12px;
  font-size: clamp(20px, 3.5vw, 28px);
  font-weight: 700;
  color: var(--wddl-text);
}

.wddl-faq__cta-sub {
  margin: 0 0 32px;
  font-size: 14px;
  color: rgba(var(--wddl-text-rgb), .45);
}

.wddl-faq__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--wddl-accent, #6B21A8);
  border-radius: 28px;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
}

.wddl-faq__cta-btn:hover {
  background: var(--wddl-accent-light, #A855F7);
  transform: translateY(-2px);
}

/* ============================================================
   Mobile Sticky CTA
============================================================ */
.wddl-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 12px 16px;
  background: rgba(20, 20, 24, .95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(var(--wddl-overlay-rgb), .08);
  text-align: center;
}

.wddl-sticky-cta__btn {
  display: block;
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: var(--wddl-accent, #6B21A8);
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.3s;
}

.wddl-sticky-cta__btn:hover {
  background: var(--wddl-accent-light, #A855F7);
}

@media (min-width: 768px) {
  .wddl-sticky-cta {
    display: none;
  }
}

/* ============================================================
   Privacy Policy
============================================================ */
.wddl-privacy h3 {
  margin: 40px 0 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--wddl-text);
}

.wddl-privacy p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 2;
  color: rgba(var(--wddl-text-rgb), .7);
}

.wddl-privacy ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

.wddl-privacy li {
  font-size: 15px;
  line-height: 2;
  color: rgba(var(--wddl-text-rgb), .7);
}

/* ============================================================
   Footer
============================================================ */
.wddl-footer {
  position: relative;
  color: var(--wddl-text);
  background: var(--wddl-surface-2);
}

.wddl-footer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── CTA ── */
.wddl-footer__cta {
  padding: 100px 0;
  text-align: center;
  background: var(--wddl-surface-3);
  color: var(--wddl-text);
}

.wddl-footer__cta-label {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wddl-accent);
}

.wddl-footer__cta-title {
  margin: 0 0 36px;
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.4;
  color: rgba(var(--wddl-text-rgb), .45);
}

.sp-only { display: inline; }

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

.wddl-footer__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  background: var(--wddl-accent);
  border-radius: 28px;
  text-decoration: none;
  transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
}

.wddl-footer__cta-btn:hover {
  background: var(--wddl-accent-light);
  box-shadow: 0 0 24px rgba(168, 85, 247, .4);
  transform: translateY(-1px);
}

/* ── フッター本体（ダーク） ── */
.wddl-footer__body {
  padding: 64px 0 0;
  background: var(--wddl-text);
  color: rgba(255, 255, 255, .85);
}

.wddl-footer__top {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-bottom: 48px;
}

@media (min-width: 768px) {
  .wddl-footer__top {
    flex-direction: row;
    justify-content: space-between;
    gap: 64px;
  }
}

/* ── ブランド（左） ── */
.wddl-footer__brand {
  flex-shrink: 0;
}

.wddl-footer__logo-link {
  display: inline-block;
}

.wddl-footer__logo-img {
  height: 36px;
  width: auto;
  transition: opacity 0.3s;
}

.wddl-footer__logo-link:hover .wddl-footer__logo-img {
  opacity: 0.7;
}

.wddl-footer__tagline {
  margin: 12px 0 0;
  font-size: 13px;
  color: rgba(var(--wddl-overlay-rgb), .45);
  letter-spacing: 0.02em;
}

/* ── ナビ列 ── */
.wddl-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 56px;
}

.wddl-footer__nav-heading {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(var(--wddl-overlay-rgb), .4);
}

.wddl-footer__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wddl-footer__nav li {
  margin: 0 0 10px;
}

.wddl-footer__nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, .7);
  text-decoration: none;
  transition: color 0.2s;
}

.wddl-footer__nav a:hover {
  color: var(--wddl-accent-light);
}

/* ── 下段 ── */
.wddl-footer__bottom {
  padding: 24px 0;
  border-top: 1px solid rgba(var(--wddl-overlay-rgb), .08);
}

.wddl-footer__copyright {
  margin: 0;
  font-size: 12px;
  color: rgba(var(--wddl-overlay-rgb), .35);
  letter-spacing: 0.02em;
}

/* ── ページトップボタン ── */
.wddl-footer__totop {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: var(--wddl-text);
  border: 1px solid rgba(0, 0, 0, .1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, background 0.2s, color 0.2s;
}

.wddl-footer__totop.is-visible {
  opacity: 1;
  visibility: visible;
}

.wddl-footer__totop:hover {
  background: var(--wddl-accent);
  color: #fff;
  border-color: var(--wddl-accent);
}

/* ============================================================
   Apple-style Product Design — Global Overrides
   （Nordic Minimalism → Apple product design への転換）
   ※ コンテンツ構造は変えず、タイポ・ボタン・影のみ調整
============================================================ */

/* ── 1. Typography: system-ui ベースのサンセリフに統一 ── */
html,
body,
button,
input,
select,
textarea {
  font-family: var(--wddl-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--wddl-text);
  background: var(--wddl-bg);
}

/* ── 2. 見出しの Apple風スケール（詰めて巨大に） ── */
h1, .h1 {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.022em;
}
h2, .h2 {
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 700;
  line-height: 1.10;
  letter-spacing: -0.020em;
}
h3, .h3 {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 600;
  line-height: 1.20;
  letter-spacing: -0.015em;
}
h4, .h4 {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 600;
  line-height: 1.30;
  letter-spacing: -0.010em;
}

/* ── 3. CTAボタンを pill shape に統一 ── */
.wddl-header__nav-link--cta,
[class*="__cta-btn"],
.wddl-service__cta,
.wddl-works-cta__btn,
.wddl-sticky-cta__btn {
  border-radius: var(--wddl-radius-pill);
  font-weight: 500;
  letter-spacing: 0;
}

/* ── 4. 影を大幅に削減（Apple原則: flat） ── */
.wddl-value__cta-btn,
.wddl-scroll-bg__cta-btn,
.wddl-faq__cta-btn,
.wddl-footer__cta-btn,
.wddl-sticky-cta__btn {
  box-shadow: none;
}

/* 重厚な glow 系 box-shadow を抑える（ホバー時のみ微量の色影） */
.wddl-header__nav-link--cta:hover,
[class*="__cta-btn"]:hover {
  box-shadow: 0 4px 14px rgba(107, 33, 168, 0.25);
}

/* ── 5. カードの角丸を Apple標準（18px）に ── */
[class*="__card"],
.wddl-works-all__card,
.wddl-faq__item {
  border-radius: var(--wddl-radius-card);
}

/* ── 6. リンク下線を控えめに（Apple流） ── */
a {
  color: var(--wddl-accent);
  text-decoration: none;
  transition: opacity 0.2s ease;
}
a:hover {
  opacity: 0.72;
}
/* ただし本文内リンクは下線を維持 */
.wddl-work-single__body a,
.wddl-faq__body a,
.wddl-footer__body a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── 7. セクション間の余白を拡大（Apple流に大胆に） ── */
.wddl-section,
section[class*="wddl-"] {
  scroll-margin-top: 72px;
}

/* ============================================================
   Theme Toggle Button — 太陽/月アイコン
============================================================ */
.wddl-theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: 8px;
  padding: 0;
  border: 1px solid var(--wddl-border);
  border-radius: 50%;
  background: transparent;
  color: var(--wddl-text);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}

.wddl-theme-toggle:hover {
  background: var(--wddl-surface-2);
  transform: scale(1.05);
}

.wddl-theme-toggle:active {
  transform: scale(0.95);
}

.wddl-theme-toggle__icon {
  position: absolute;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* デフォルト（dark モード）では月を表示 */
.wddl-theme-toggle__icon--moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}
.wddl-theme-toggle__icon--sun {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

/* light モード時は太陽を表示 */
[data-theme="light"] .wddl-theme-toggle__icon--moon {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}
[data-theme="light"] .wddl-theme-toggle__icon--sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* SPではハンバーガーの前に配置 */
@media (max-width: 767px) {
  /* SPでは言語切替・テーマ切替はヘッダーに出さず offcanvas に移動 */
  #wddl-lang-switcher,
  #wddl-theme-toggle {
    display: none;
  }
}

/* ============================================================
   Light Theme — コンポーネント固有の微調整
============================================================ */

/* ヘッダー: light時は白背景にダーク文字 */
[data-theme="light"] .wddl-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .wddl-header--transparent:not(.is-scrolled) {
  background: transparent;
  border-bottom-color: transparent;
}

/* ヘッダーロゴ: light時は色反転が必要（白ロゴ→黒ロゴ化） */
[data-theme="light"] .wddl-header__logo-img {
  filter: invert(1);
}

/* ナビリンク: light時はダーク文字 */
[data-theme="light"] .wddl-header__nav-link {
  color: var(--wddl-text);
}
[data-theme="light"] .wddl-header__nav-link:hover {
  background: rgba(107, 33, 168, 0.06);
}

/* オフキャンバスメニュー light 対応 */
[data-theme="light"] .wddl-offcanvas {
  background: var(--wddl-bg);
  color: var(--wddl-text);
}

/* Hero 真っ黒背景の sequence セクションは light では surface-2 に */
[data-theme="light"] .wddl-seq-hero {
  background: var(--wddl-bg-deep);
}

/* pure white の色指定を light では反転 */
[data-theme="light"] .wddl-footer__totop {
  color: var(--wddl-text);
  border-color: var(--wddl-border);
}

/* ──────────────────────────────────────────────────────────
   Footer — ライトモードでは淡い背景に切替（元はダーク反転設計）
────────────────────────────────────────────────────────── */
[data-theme="light"] .wddl-footer__body {
  background: var(--wddl-surface-2);          /* #F5F5F7 */
  color: var(--wddl-text);
}
[data-theme="light"] .wddl-footer__nav a {
  color: var(--wddl-text);
}
[data-theme="light"] .wddl-footer__nav a:hover {
  color: var(--wddl-accent);
}
[data-theme="light"] .wddl-footer__logo-img {
  filter: invert(1);                          /* 白ロゴ→黒ロゴ */
}

/* ──────────────────────────────────────────────────────────
   Header — ライトモード時のスクロール時背景も確保
────────────────────────────────────────────────────────── */
[data-theme="light"] .wddl-header--transparent.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

/* ============================================================
   Language Switcher — header dropdown
============================================================ */
.wddl-lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  flex-shrink: 0;
}

.wddl-lang-switcher__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--wddl-border);
  border-radius: var(--wddl-radius-pill);
  background: transparent;
  color: var(--wddl-text);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.wddl-lang-switcher__btn:hover {
  background: var(--wddl-surface-2);
}

.wddl-lang-switcher__current {
  line-height: 1;
}

.wddl-lang-switcher__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--wddl-bg);
  border: 1px solid var(--wddl-border);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1100;
}

.wddl-lang-switcher.is-open .wddl-lang-switcher__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.wddl-lang-switcher__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--wddl-text);
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.15s ease;
}

.wddl-lang-switcher__link:hover {
  background: var(--wddl-surface-2);
}

.wddl-lang-switcher__link.is-current {
  background: var(--wddl-surface-3);
  font-weight: 600;
}

.wddl-lang-switcher__code {
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--wddl-muted);
  font-size: 11px;
  min-width: 22px;
}

.wddl-lang-switcher__link.is-current .wddl-lang-switcher__code {
  color: var(--wddl-accent);
}

@media (max-width: 767px) {
  #wddl-lang-switcher {
    margin-left: auto;
  }
  #wddl-lang-switcher .wddl-lang-switcher__menu {
    right: 0;
  }
}

/* ============================================================
   Offcanvas 内のコントロール — SP 専用
   ヘッダー版はSP非表示、offcanvas版はPC非表示
============================================================ */
.wddl-offcanvas__controls {
  display: none;   /* デスクトップでは非表示 */
}

@media (max-width: 767px) {
  .wddl-offcanvas__controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-top: 48px;
    padding: 24px;
  }
}

/* offcanvas 用 言語スイッチャー — インライン横並び型 */
.wddl-lang-switcher--offcanvas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.wddl-offcanvas__controls-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(var(--wddl-overlay-rgb), 0.5);
}

.wddl-lang-switcher__inline-list {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.wddl-lang-switcher__inline-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  padding: 8px 14px;
  border: 1px solid rgba(var(--wddl-overlay-rgb), 0.2);
  border-radius: var(--wddl-radius-pill);
  color: var(--wddl-text-bright);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.wddl-lang-switcher__inline-link:hover {
  border-color: var(--wddl-accent);
  color: var(--wddl-accent-light);
}

.wddl-lang-switcher__inline-link.is-current {
  background: var(--wddl-accent);
  border-color: var(--wddl-accent);
  color: #fff;
}

/* offcanvas 用 テーマ切替 — 常時可視（SPのみ表示） */
.wddl-theme-toggle--offcanvas {
  position: relative;
  margin: 0;
  width: 44px;
  height: 44px;
  border-color: rgba(var(--wddl-overlay-rgb), 0.2);
  color: var(--wddl-text-bright);
}

