/**
 * Workplace Dynamics LP — workplace_dynamics.css
 *
 * 設計思想:
 *   - #wd-root 配下のみ完全独立デザイン
 *   - Cocoon / entry-content / article 干渉を完全排除
 *   - CSS カスタムプロパティで全色・全値を管理
 *   - モバイルファースト + clamp() 流体タイポグラフィ
 *   - アニメーションは opacity / transform / filter のみ使用
 *   - カラーパレット: 深海ネイビー × ウォーターグリーン × ゴールド
 *   - フォント: Cormorant Garamond（欧文）/ Noto Serif JP + Noto Sans JP（日本語）
 *
 * @package cocoon-child-master
 */

/* ─────────────────────────────────────────────────────────────
   1. CSS カスタムプロパティ（全色・全値）— #wd-root スコープ
   ───────────────────────────────────────────────────────────── */
#wd-root {
  --wd-ink:        #0a0d12;
  --wd-ink-2:      #131820;
  --wd-ink-3:      #1c2430;
  --wd-surface:    rgba(255, 255, 255, .034);
  --wd-surface-2:  rgba(255, 255, 255, .06);
  --wd-surface-3:  rgba(255, 255, 255, .10);
  --wd-line:       rgba(255, 255, 255, .07);
  --wd-line-2:     rgba(255, 255, 255, .13);

  --wd-water:      #4ecba8;
  --wd-water-dim:  #2a8c72;
  --wd-water-pale: #a8e9d8;
  --wd-gold:       #c9a96e;
  --wd-gold-dim:   #8c6e42;

  --wd-fog:        rgba(255, 255, 255, .38);
  --wd-fog-2:      rgba(255, 255, 255, .60);
  --wd-fog-3:      rgba(255, 255, 255, .82);

  --wd-text-1:     rgba(255, 255, 255, .90);
  --wd-text-2:     rgba(255, 255, 255, .55);
  --wd-text-3:     rgba(255, 255, 255, .30);

  --wd-f-serif:    'Cormorant Garamond', 'Noto Serif JP', Georgia, serif;
  --wd-f-sans:     'Noto Sans JP', sans-serif;

  --wd-ease-out:   cubic-bezier(.16, 1, .3, 1);
  --wd-ease-in:    cubic-bezier(.7, 0, .84, 0);
  --wd-ease-io:    cubic-bezier(.87, 0, .13, 1);

  --wd-max:        1160px;
}

/* ─────────────────────────────────────────────────────────────
   2. COCOON 干渉リセット（スコープ型）
   ───────────────────────────────────────────────────────────── */
.workplace-dynamics .entry-content,
.workplace-dynamics #content,
.workplace-dynamics .site-content,
.workplace-dynamics article,
.workplace-dynamics .article {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.workplace-dynamics #sidebar,
.workplace-dynamics .sidebar { display: none !important; }

/* Cocoon レイアウトコンテナ：完全幅制御 */
.workplace-dynamics #container,
.workplace-dynamics #main,
.workplace-dynamics .main,
.workplace-dynamics #content,
.workplace-dynamics .content,
.workplace-dynamics #content-in,
.workplace-dynamics .content-in,
.workplace-dynamics #primary,
.workplace-dynamics .primary,
.workplace-dynamics #page,
.workplace-dynamics .wrap,
.workplace-dynamics .contents-area,
.workplace-dynamics .content-wrap {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Cocoon デフォルトヘッダー・フッター・パンくず等を非表示 */
.workplace-dynamics #header,
.workplace-dynamics .header,
.workplace-dynamics #breadcrumb,
.workplace-dynamics .breadcrumb,
.workplace-dynamics #page-top,
.workplace-dynamics .sns-share,
.workplace-dynamics .related-entry-heading,
.workplace-dynamics .related-entry-el,
.workplace-dynamics .pager-post-navi,
.workplace-dynamics .comment-area,
.workplace-dynamics .after-entry {
  display: none !important;
}

.workplace-dynamics .after-entry {
  display: none !important;
}

/* ── 不足していた Cocoon コンテナ完全リセット ── */
.workplace-dynamics .article,
.workplace-dynamics .entry-content,
.workplace-dynamics .main,
.workplace-dynamics .content,
.workplace-dynamics .wrap,
.workplace-dynamics #main,
.workplace-dynamics #body-in,
.workplace-dynamics #container,
.workplace-dynamics #container-in,
.workplace-dynamics #contents,
.workplace-dynamics #contents-in {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  float: none !important;
  position: static !important;
  overflow: visible !important;
  height: auto !important;
  min-height: 0 !important;
  flex: none !important;
}

/* ── 不足していた Cocoon サイドバー非表示セレクタ ── */
.workplace-dynamics #sidebar-scroll,
.workplace-dynamics .sidebar-top,
.workplace-dynamics .sidebar-bottom {
  display: none !important;
}

/* ── Cocoon 標準フッターを非表示（footer_tp で代替） ── */
.workplace-dynamics #footer:not(.tp-footer),
.workplace-dynamics .site-footer:not(.tp-footer),
.workplace-dynamics .footer:not(.tp-footer) {
  display: none !important;
}

/* ================================================================
   GLOBAL RESET — #wd-root スコープ
   ================================================================ */
#wd-root,
#wd-root *,
#wd-root *::before,
#wd-root *::after {
  box-sizing: border-box;
}

#wd-root h1,
#wd-root h2,
#wd-root h3,
#wd-root h4,
#wd-root h5,
#wd-root h6,
#wd-root p,
#wd-root ul,
#wd-root ol,
#wd-root li,
#wd-root figure,
#wd-root blockquote,
#wd-root dl,
#wd-root dd {
  margin: 0;
  padding: 0;
}

#wd-root ul,
#wd-root ol {
  list-style: none;
}

#wd-root {
  background-color: var(--wd-ink);
  color: var(--wd-text-1);
  font-family: var(--wd-f-sans);
  font-weight: 400;
  line-height: 1.9;
  overflow-x: clip;
  overflow-y: visible;
  position: relative;
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
  overflow-wrap: break-word;
  word-break: normal;
  word-break: auto-phrase;
}

/* ─────────────────────────────────────────────────────────────
   3. BASE BODY STYLES
   ───────────────────────────────────────────────────────────── */
body.workplace-dynamics {
  background: var(--wd-ink) !important;
  color: var(--wd-text-1);
  font-family: var(--wd-f-sans);
  line-height: 1.9;
  letter-spacing: .015em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}

@media (max-width: 767px) {
  body.workplace-dynamics { cursor: auto; }
}

/* ─────────────────────────────────────────────────────────────
   4. CUSTOM CURSOR
   ───────────────────────────────────────────────────────────── */
#wd-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 10px; height: 10px;
  background: var(--wd-water);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: transform .15s var(--wd-ease-out), opacity .3s;
  mix-blend-mode: screen;
}

#wd-cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border: 1px solid rgba(78, 203, 168, .4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transition: transform .45s var(--wd-ease-out),
              width .3s var(--wd-ease-out),
              height .3s var(--wd-ease-out),
              border-color .3s;
}

@media (max-width: 767px) {
  #wd-cursor,
  #wd-cursor-ring { display: none; }
}

/* ─────────────────────────────────────────────────────────────
   5. CANVAS & GRAIN
   ───────────────────────────────────────────────────────────── */
#wd-bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: .55;
  pointer-events: none;
}

.wd-grain {
  position: fixed;
  inset: -50%;
  width: 200%; height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .028;
  pointer-events: none;
  z-index: 1;
  animation: wd-grain-shift 8s steps(2) infinite;
}

@keyframes wd-grain-shift {
  0%   { transform: translate(0, 0); }
  10%  { transform: translate(-2%, -3%); }
  20%  { transform: translate(2%, 1%); }
  30%  { transform: translate(-1%, 3%); }
  40%  { transform: translate(3%, -1%); }
  50%  { transform: translate(-3%, 2%); }
  60%  { transform: translate(1%, -2%); }
  70%  { transform: translate(-2%, 3%); }
  80%  { transform: translate(2%, -3%); }
  90%  { transform: translate(-1%, 1%); }
  100% { transform: translate(0, 0); }
}

/* ─────────────────────────────────────────────────────────────
   6. LAYOUT UTILITY
   ───────────────────────────────────────────────────────────── */
.wd-wrap {
  position: relative;
  z-index: 2;
  width: min(100% - 48px, var(--wd-max));
  margin-inline: auto;
}

/* ─────────────────────────────────────────────────────────────
   7. HERO SECTION
   ───────────────────────────────────────────────────────────── */
.wd-hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 140px 0 120px;
  position: relative;
  overflow: hidden;
}

/* Hero 背景画像 */
.wd-hero__img-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.wd-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .35;
  filter: blur(2px);
}

.wd-hero__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 13, 18, .55) 0%,
    rgba(10, 13, 18, .25) 40%,
    rgba(10, 13, 18, .65) 100%
  );
}

.wd-hero__glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 900px; height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(78, 203, 168, .07) 0%, transparent 65%);
  pointer-events: none;
  z-index: 2;
}

/* Hero badge */
.wd-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--wd-f-sans);
  font-size: 10px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--wd-water);
  border: 1px solid rgba(78, 203, 168, .22);
  border-radius: 999px;
  padding: 8px 18px;
  margin-bottom: 52px;
  background: rgba(78, 203, 168, .05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  animation: wd-reveal-up .9s .1s var(--wd-ease-out) forwards;
}

.wd-hero__tag::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--wd-water);
  box-shadow: 0 0 10px var(--wd-water);
  animation: wd-pulse-dot 2.4s ease infinite;
}

@keyframes wd-pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 10px var(--wd-water); }
  50%       { opacity: .4; box-shadow: 0 0 4px var(--wd-water); }
}

/* Hero heading */
.wd-hero__title {
  font-family: var(--wd-f-serif);
  font-size: clamp(52px, 8vw, 120px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.04em;
  color: var(--wd-fog-3);
  opacity: 0;
  animation: wd-reveal-up 1.2s .25s var(--wd-ease-out) forwards;
}

.wd-hero__title em {
  font-style: italic;
  color: var(--wd-water-pale);
  font-weight: 300;
}

.wd-hero__sub {
  margin-top: 16px;
  font-family: var(--wd-f-serif);
  font-size: clamp(18px, 2.4vw, 28px);
  font-weight: 300;
  color: var(--wd-text-2);
  letter-spacing: -.01em;
  font-style: italic;
  opacity: 0;
  animation: wd-reveal-up 1s .4s var(--wd-ease-out) forwards;
}

.wd-hero__body {
  margin: 56px auto 0;
  max-width: 680px;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 2.2;
  color: var(--wd-text-2);
  font-weight: 300;
  text-align: center;          /* ← 追加：中央揃えを明示指定 */
  opacity: 0;
  animation: wd-reveal-up .9s .55s var(--wd-ease-out) forwards;
}

.wd-hero__line {
  margin: 90px auto 0;
  width: 1px;
  height: 160px;
  background: linear-gradient(to bottom, transparent, rgba(78, 203, 168, .35), transparent);
  opacity: 0;
  animation: wd-reveal-fade 1.2s .7s var(--wd-ease-out) forwards;
}

/* ─────────────────────────────────────────────────────────────
   8. SCOPE TICKER BAND
   ───────────────────────────────────────────────────────────── */
.wd-scope-band {
  padding: 48px 0;
  border-top: 1px solid var(--wd-line);
  border-bottom: 1px solid var(--wd-line);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.wd-scope-inner {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: wd-ticker 22s linear infinite;
  width: max-content;
}

.wd-scope-inner span {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--wd-text-3);
  padding: 0 36px;
  flex-shrink: 0;
}

.wd-scope-inner span.accent {
  color: var(--wd-water-dim);
}

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

/* ─────────────────────────────────────────────────────────────
   9. SECTION BASE
   ───────────────────────────────────────────────────────────── */
.wd-flow-section {
  padding: 140px 0;
  position: relative;
}

.wd-kicker {
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--wd-water-dim);
  margin-bottom: 28px;
  font-family: var(--wd-f-sans);
}

.wd-s-title {
  font-family: var(--wd-f-serif);
  font-size: clamp(38px, 5.5vw, 76px);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -.03em;
  color: var(--wd-fog-2);
  margin-bottom: 30px;
}

.wd-s-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--wd-water-pale);
}

.wd-s-desc {
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 2.2;
  color: var(--wd-text-2);
  max-width: 680px;
  font-weight: 300;
}

/* ─────────────────────────────────────────────────────────────
   10. SECTION IMAGES
   ───────────────────────────────────────────────────────────── */
.wd-section-img {
  margin-bottom: 72px;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--wd-line-2);
}

.wd-img-full {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 1.2s var(--wd-ease-out), opacity .6s;
}

.wd-section-img:hover .wd-img-full {
  transform: scale(1.025);
}

.wd-img-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px 24px;
  font-size: 10px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--wd-text-3);
  background: linear-gradient(to top, rgba(10, 13, 18, .75), transparent);
}

/* Insight image */
.wd-insight-img {
  margin-bottom: 80px;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--wd-line-2);
}

/* ─────────────────────────────────────────────────────────────
   11. CAUSE GRID
   ───────────────────────────────────────────────────────────── */
.wd-cause-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2px;
  margin-top: 72px;
  border: 1px solid var(--wd-line);
  border-radius: 24px;
  overflow: hidden;
}

.wd-cause-cell {
  position: relative;
  padding: 52px 42px;
  background: var(--wd-surface);
  border-right: 1px solid var(--wd-line);
  border-bottom: 1px solid var(--wd-line);
  overflow: hidden;
  transition: background .6s var(--wd-ease-out);
  cursor: default;
}

.wd-cause-cell:hover {
  background: var(--wd-surface-2);
}

.wd-cause-cell::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    rgba(78, 203, 168, .06),
    transparent 55%
  );
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}

.wd-cause-cell:hover::after { opacity: 1; }

.wd-cause-cell.wide { grid-column: span 6; }
.wd-cause-cell.mid  { grid-column: span 4; }
.wd-cause-cell.full { grid-column: span 12; border-bottom: none; }

.wd-cause-num {
  font-family: var(--wd-f-serif);
  font-size: 11px;
  letter-spacing: .28em;
  color: var(--wd-text-3);
  text-transform: uppercase;
  margin-bottom: 28px;
}

.wd-cause-cell h3 {
  font-family: var(--wd-f-serif);
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 400;
  color: var(--wd-fog-2);
  margin-bottom: 18px;
  line-height: 1.35;
  letter-spacing: -.02em;
}

.wd-cause-cell p {
  font-size: 14px;
  line-height: 2;
  color: var(--wd-text-2);
  font-weight: 300;
}

.wd-cause-tag {
  display: inline-block;
  margin-top: 24px;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid var(--wd-line-2);
  color: var(--wd-text-3);
}

.wd-cause-tag.g  { color: var(--wd-water-dim);              border-color: rgba(78, 203, 168, .22); }
.wd-cause-tag.am { color: var(--wd-gold-dim);               border-color: rgba(201, 169, 110, .2); }
.wd-cause-tag.bl { color: rgba(100, 160, 240, .7);          border-color: rgba(100, 160, 240, .2); }

/* ─────────────────────────────────────────────────────────────
   12. INSIGHT SECTION
   ───────────────────────────────────────────────────────────── */
.wd-insight-block {
  padding: 140px 0;
  position: relative;
  border-top: 1px solid var(--wd-line);
  border-bottom: 1px solid var(--wd-line);
  overflow: hidden;
}

.wd-insight-block::before {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(78, 203, 168, .055), transparent 60%);
  pointer-events: none;
  animation: wd-breathe 8s ease infinite;
}

@keyframes wd-breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1);    opacity: .6; }
  50%       { transform: translate(-50%, -50%) scale(1.12); opacity: 1; }
}

.wd-insight-kicker {
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--wd-water-dim);
  margin-bottom: 40px;
}

.wd-insight-title {
  font-family: var(--wd-f-serif);
  font-size: clamp(40px, 6vw, 86px);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -.04em;
  color: var(--wd-fog-2);
  max-width: 900px;
  margin-bottom: 44px;
}

.wd-insight-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--wd-water-pale);
}

.wd-insight-body {
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 2.3;
  color: var(--wd-text-2);
  max-width: 780px;
  font-weight: 300;
}

/* ─────────────────────────────────────────────────────────────
   13. PERSPECTIVE SPLIT
   ───────────────────────────────────────────────────────────── */
.wd-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 70px;
  border: 1px solid var(--wd-line);
  border-radius: 24px;
  overflow: hidden;
}

.wd-split-card {
  padding: 62px 56px;
  background: var(--wd-surface);
  position: relative;
  overflow: hidden;
  transition: background .5s var(--wd-ease-out);
}

.wd-split-card:hover { background: var(--wd-surface-2); }

.wd-split-card.positive {
  border-left: 1px solid rgba(78, 203, 168, .18);
}

.wd-split-label {
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--wd-text-3);
  margin-bottom: 28px;
}

.wd-split-card.positive .wd-split-label { color: var(--wd-water-dim); }

.wd-split-card h3 {
  font-family: var(--wd-f-serif);
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 400;
  line-height: 1.38;
  color: var(--wd-fog-2);
  margin-bottom: 22px;
  letter-spacing: -.02em;
}

.wd-split-card p {
  font-size: 15px;
  line-height: 2.1;
  color: var(--wd-text-2);
  font-weight: 300;
}

.wd-split-arrow {
  position: absolute;
  right: 52px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--wd-f-serif);
  font-size: 48px;
  color: rgba(78, 203, 168, .12);
  font-style: italic;
  pointer-events: none;
  letter-spacing: -.05em;
}

/* ─────────────────────────────────────────────────────────────
   14. MINDSET LIST
   ───────────────────────────────────────────────────────────── */
.wd-mindset-list {
  margin-top: 80px;
}

.wd-mindset-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 60px;
  padding: 70px 0;
  border-bottom: 1px solid var(--wd-line);
  align-items: start;
  transition: padding-left .6s var(--wd-ease-out);
  cursor: default;
}

.wd-mindset-row:hover {
  padding-left: 16px;
}

.wd-mindset-row:first-child { border-top: 1px solid var(--wd-line); }

.wd-m-num {
  font-family: var(--wd-f-serif);
  font-size: 56px;
  font-weight: 300;
  color: rgba(255, 255, 255, .08);
  line-height: 1;
  padding-top: 8px;
  letter-spacing: -.04em;
  transition: color .5s var(--wd-ease-out);
}

.wd-mindset-row:hover .wd-m-num {
  color: rgba(78, 203, 168, .2);
}

.wd-m-title {
  font-family: var(--wd-f-serif);
  font-size: clamp(26px, 3.2vw, 46px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -.025em;
  color: var(--wd-fog-2);
  margin-bottom: 22px;
}

.wd-m-title em {
  font-style: italic;
  color: var(--wd-water-pale);
  font-weight: 300;
}

.wd-m-text {
  font-size: clamp(14px, 1.5vw, 17px);
  line-height: 2.2;
  color: var(--wd-text-2);
  font-weight: 300;
  max-width: 820px;
}

.wd-m-text strong {
  color: var(--wd-water);
  font-weight: 500;
}

.wd-m-tag {
  margin-top: 24px;
  display: inline-block;
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--wd-water-dim);
  border: 1px solid rgba(78, 203, 168, .18);
  border-radius: 999px;
  padding: 5px 16px;
}

/* ─────────────────────────────────────────────────────────────
   15. WATER FINALE SECTION
   ───────────────────────────────────────────────────────────── */
.wd-water-section {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 160px 0;
  position: relative;
  overflow: hidden;
}

/* 終幕背景画像 */
.wd-water-img-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.wd-water-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .28;
  filter: blur(1px);
}

.wd-water-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 13, 18, .65) 0%,
    rgba(10, 13, 18, .30) 50%,
    rgba(10, 13, 18, .70) 100%
  );
}

.wd-water-section::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(78, 203, 168, .3), transparent);
  z-index: 3;
}

.wd-water-label {
  font-size: 10px;
  letter-spacing: .36em;
  text-transform: uppercase;
  color: var(--wd-water-dim);
  margin-bottom: 52px;
}

.wd-water-quote {
  font-family: var(--wd-f-serif);
  font-size: clamp(48px, 8vw, 128px);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: -.05em;
  color: var(--wd-fog-2);
  max-width: 1080px;
  margin-inline: auto;         /* ← 追加：ブロック自体を水平中央に配置 */
  text-align: center;          /* ← 追加：テキスト揃えを明示指定 */
}

.wd-water-quote em {
  font-style: italic;
  color: var(--wd-water-pale);
}

.wd-water-sub {
  margin: 60px auto 0;
  max-width: 700px;
  font-size: clamp(15px, 1.7vw, 20px);
  line-height: 2.3;
  color: var(--wd-text-2);
  font-weight: 300;
  text-align: center;          /* ← 追加：サブテキストの中央揃えを明示指定 */
}

.wd-water-rule {
  width: 1px;
  height: 120px;
  background: linear-gradient(to bottom, rgba(78, 203, 168, .35), transparent);
  margin: 80px auto 0;
}

/* ─────────────────────────────────────────────────────────────
   16. CTA SECTION
   ───────────────────────────────────────────────────────────── */
.wd-cta-section {
  padding: 160px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--wd-line);
  text-align: center;
}

.wd-cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(78, 203, 168, .055) 0%, transparent 65%);
  pointer-events: none;
  animation: wd-breathe 10s ease infinite;
}

.wd-cta-inner {
  max-width: 760px;
}

.wd-cta-label {
  font-size: 10px;
  letter-spacing: .36em;
  text-transform: uppercase;
  color: var(--wd-water-dim);
  margin-bottom: 40px;
}

.wd-cta-title {
  font-family: var(--wd-f-serif);
  font-size: clamp(38px, 5.5vw, 72px);
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: -.03em;
  color: var(--wd-fog-2);
  margin-bottom: 32px;
}

.wd-cta-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--wd-water-pale);
}

.wd-cta-desc {
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 2.2;
  color: var(--wd-text-2);
  font-weight: 300;
  margin-bottom: 56px;
}

/* CTA ボタン */
.wd-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 20px 48px;
  background: var(--cta-bg, #2a8c72);
  border-radius: 999px;
  color: rgba(255, 255, 255, .92);
  text-decoration: none;
  font-family: var(--wd-f-sans);
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 500;
  letter-spacing: .06em;
  min-height: 60px;
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--wd-ease-out),
              box-shadow .4s var(--wd-ease-out),
              filter .4s;
  box-shadow: 0 4px 32px rgba(42, 140, 114, .28);
}

.wd-cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background .3s;
  border-radius: inherit;
}

.wd-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 48px rgba(42, 140, 114, .42);
  filter: brightness(1.08);
}

.wd-cta-btn:hover::before {
  background: rgba(255, 255, 255, .06);
}

.wd-cta-btn__text {
  position: relative;
  z-index: 1;
}

.wd-cta-btn__arrow {
  position: relative;
  z-index: 1;
  font-family: var(--wd-f-serif);
  font-size: 1.2em;
  transition: transform .4s var(--wd-ease-out);
}

.wd-cta-btn:hover .wd-cta-btn__arrow {
  transform: translateX(4px);
}

.wd-cta-sub {
  margin-top: 22px;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--wd-text-3);
}

/* ─────────────────────────────────────────────────────────────
   17. REVEAL ANIMATIONS
   ───────────────────────────────────────────────────────────── */
@keyframes wd-reveal-up {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: none; }
}

@keyframes wd-reveal-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.wd-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--wd-ease-out),
              transform .9s var(--wd-ease-out);
}

.wd-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.wd-reveal-d1 { transition-delay: .10s; }
.wd-reveal-d2 { transition-delay: .18s; }
.wd-reveal-d3 { transition-delay: .26s; }
.wd-reveal-d4 { transition-delay: .34s; }
.wd-reveal-d5 { transition-delay: .42s; }
.wd-reveal-d6 { transition-delay: .50s; }

/* ================================================================
   COCOON 白抜き完全解消 — blockquote / table / code / hr
   ================================================================ */

/* ── blockquote ── */
#wd-root blockquote {
  background: rgba(255, 255, 255, .06) !important;
  border-left: 3px solid var(--wd-water-dim) !important;
  border-right: none !important;
  color: var(--wd-text-1) !important;
  padding: 1.5rem 1.75rem !important;
  margin: 0 !important;
  box-shadow: none !important;
  border-radius: 8px !important;
}

#wd-root blockquote::before,
#wd-root blockquote::after {
  display: none !important;
}

/* ── table ── */
#wd-root table {
  width: 100%;
  border-collapse: collapse;
  background: transparent !important;
}

#wd-root table th {
  background: rgba(255, 255, 255, .06) !important;
  color: var(--wd-text-2);
  padding: 0.875rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .13);
  text-align: left;
}

#wd-root table td {
  background: transparent !important;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  color: var(--wd-text-2);
  vertical-align: top;
}

#wd-root table tbody tr:hover td {
  background: rgba(78, 203, 168, .04) !important;
}

/* ── code / pre ── */
#wd-root code,
#wd-root pre {
  background: rgba(255, 255, 255, .06) !important;
  color: var(--wd-water-pale) !important;
  border: none !important;
}

/* ── hr ── */
#wd-root hr {
  border-color: rgba(255, 255, 255, .07);
}

/* ─────────────────────────────────────────────────────────────
   18. RESPONSIVE — Tablet (768px~)
   ───────────────────────────────────────────────────────────── */
@media (min-width: 768px) and (max-width: 1023px) {
  .wd-cause-cell.wide { grid-column: span 12; }
  .wd-cause-cell.mid  { grid-column: span 12; }
}

/* ─────────────────────────────────────────────────────────────
   19. RESPONSIVE — SP (~767px)
   ───────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .wd-wrap { width: calc(100% - 32px); }

  /* Hero */
  .wd-hero { padding: 100px 0 80px; }
  .wd-hero__tag  { margin-bottom: 36px; }
  .wd-hero__body { margin-top: 40px; }
  .wd-hero__line { margin-top: 64px; }

  /* Flow sections */
  .wd-flow-section { padding: 100px 0; }

  /* Cause grid: single column */
  .wd-cause-cell.wide,
  .wd-cause-cell.mid,
  .wd-cause-cell.full { grid-column: span 12; }
  .wd-cause-cell { padding: 38px 28px; }

  /* Split cards: stack */
  .wd-split-grid { grid-template-columns: 1fr; }
  .wd-split-card { padding: 44px 32px; }
  .wd-split-arrow { display: none; }
  .wd-split-card.positive { border-left: none; border-top: 1px solid rgba(78, 203, 168, .18); }

  /* Mindset list */
  .wd-mindset-list { margin-top: 56px; }
  .wd-mindset-row {
    grid-template-columns: 60px 1fr;
    gap: 20px;
    padding: 52px 0;
  }
  .wd-m-num { font-size: 40px; }

  /* Insight */
  .wd-insight-block { padding: 80px 0; }

  /* Water finale */
  .wd-water-section { padding: 120px 0; min-height: 80svh; }

  /* CTA */
  .wd-cta-section { padding: 100px 0; }
  .wd-cta-btn {
    padding: 18px 36px;
    min-height: 56px;
    min-width: 240px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .wd-mindset-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 44px 0;
  }
  .wd-m-num { font-size: 30px; }
}
