/* ----------------------------------------
   12. Page — Founder Wall (shortcodes.php inline → extracted)
   ---------------------------------------- */

body.page-template-page-blank:has(.iznm-founder-wall) { background: var(--iznm-black); margin: 0; padding: 0; }
body.page-template-page-blank:has(.iznm-founder-wall) .iznm-footer-links,
body.page-template-page-blank:has(.iznm-founder-wall) .iznm-footer-copyright { display: none; }

#iznm-founder-wall-wrap { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; height: 100dvh; height: calc(var(--vh, 1vh) * 100); background: var(--iznm-black); overflow: hidden; z-index: 1000; }
#iznm-founder-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: block; background: var(--iznm-black); z-index: 1001; }
#iznm-founder-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; z-index: 1010; padding: var(--iznm-space-5); box-sizing: border-box; }
#iznm-founder-header { text-align: center; }
.iznm-fw-logo-tag { width: clamp(140px, 30vw, 220px); height: auto; opacity: 1; margin-bottom: var(--iznm-space-5); display: block; margin-left: auto; margin-right: auto; filter: drop-shadow(0 0 24px rgba(255,255,255,0.3)); }
.iznm-fw-title { font-family: var(--iznm-font-ja); font-size: clamp(1.2rem, 4vw, 2.2rem); font-weight: 900; color: var(--iznm-text-main); letter-spacing: 0.3em; margin: 0 0 10px; text-shadow: 0 0 30px rgba(255,255,255,0.5); }
.iznm-fw-sub { font-family: var(--iznm-font-ja); font-size: clamp(0.6rem, 2vw, 0.75rem); color: rgba(255,255,255,0.6); letter-spacing: 0.15em; margin: 0; }
#iznm-founder-count-wrap { margin-top: var(--iznm-space-6); font-family: var(--iznm-font-ja); color: rgba(255,255,255,0.7); letter-spacing: 0.15em; line-height: 1; text-align: center; }
#iznm-founder-count { font-size: clamp(2.5rem, 8vw, 4.5rem); font-weight: 900; color: var(--iznm-text-main); text-shadow: 0 0 40px rgba(255,255,255,0.7); display: block; line-height: 1; }
.iznm-fw-count-label { font-size: clamp(0.7rem, 2.2vw, 0.9rem); color: rgba(255,255,255,0.5); letter-spacing: 0.1em; display: block; margin-top: var(--iznm-space-2); }
#iznm-founder-tooltip { position: fixed; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3); backdrop-filter: blur(12px); color: var(--iznm-text-main); font-family: var(--iznm-font-ja); font-size: var(--iznm-text-xs); letter-spacing: 0.1em; padding: var(--iznm-space-2) var(--iznm-space-3); border-radius: var(--iznm-radius-md); pointer-events: none; opacity: 0; transition: opacity var(--iznm-transition-fast); z-index: 1020; white-space: nowrap; }
#iznm-founder-tooltip.visible { opacity: 1; }
/* ========================================
   8. Founder Wall + Founder LP Styles
   Extracted from staging iznm-style-pages.css
   ======================================== */

/* ===========================
   Founder Wall ( ifw-* )
   v1.0 - 2026-03-28
   =========================== */

.iznm-founder-wall {
    background: var(--iznm-bg-deep);
    min-height: 60vh;
    padding: var(--iznm-space-16) var(--iznm-space-8);
    max-width: var(--iznm-width-max);  /* Phase 4.0.10: 意図的保持・Founder LP フルスクリーン演出用・500px 制約外 */
    margin: 0 auto;
    font-family: 'Inter', 'Noto Sans JP', sans-serif;  /* 例外: Inter 優先のため iznm-font-ja 不使用 */
    color: var(--iznm-text-main);
    box-sizing: border-box;
}

/* Hero */
.ifw-hero {
    text-align: center;
    margin-bottom: 72px;
}

.ifw-slash-pattern {
    font-size: var(--iznm-text-xs);
    color: var(--iznm-border-dark);
    letter-spacing: 0.6em;  /* 例外: トークン外の装飾値 */
    margin-bottom: 28px;  /* 例外: space grid 外 */
    user-select: none;
}

.ifw-eyebrow {
    font-size: var(--iznm-text-xs);
    letter-spacing: 0.25em;  /* 例外: トークン外 */
    color: var(--iznm-text-muted);
    text-transform: uppercase;
    margin-bottom: var(--iznm-space-4);
}

.ifw-title {
    font-size: 36px;  /* 例外: トークン外サイズ */
    font-weight: var(--iznm-font-medium);
    color: var(--iznm-lp-text);
    letter-spacing: var(--iznm-tracking-body);
    margin: 0 0 var(--iznm-space-3);
    line-height: 1.2;  /* 例外: トークン外 */
}

.ifw-slash {
    color: var(--iznm-lp-text-sub);
    font-weight: var(--iznm-font-light);
}

.ifw-sub {
    font-size: var(--iznm-text-xs);
    color: var(--iznm-lp-text-muted);
    letter-spacing: var(--iznm-tracking-body);
    margin: 0;
}

.ifw-count-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--iznm-space-2);
    margin-top: var(--iznm-space-6);
    padding: var(--iznm-space-2) var(--iznm-space-5);
    border: 1px solid var(--iznm-border-dark);
    border-radius: var(--iznm-radius-md);
    font-size: var(--iznm-text-xs);
    color: var(--iznm-text-muted);
    letter-spacing: 0.08em;  /* 例外: トークン外 */
    background: var(--iznm-bg-raised);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.ifw-count-num {
    color: var(--iznm-gold);
    font-weight: var(--iznm-font-medium);
}

/* Section header */
.ifw-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
}

.ifw-sec-slash {
    color: var(--iznm-lp-text-sub);  /* 例外: トークン外の中間色 */
    font-size: 14px;  /* 例外: トークン外サイズ */
}

.ifw-sec-label {
    font-size: var(--iznm-text-xs);
    letter-spacing: var(--iznm-tracking-caption);
    color: var(--iznm-text-muted);
    text-transform: uppercase;
    white-space: nowrap;
}

.ifw-sec-line {
    flex: 1;
    height: 1px;
    background: var(--iznm-border-dark);
}

/* Grid */
.ifw-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2px;
    margin-bottom: 72px;
}

/* Card */
.ifw-card {
    background: var(--iznm-bg-raised);
    border: 1px solid var(--iznm-border-dark);
    padding: var(--iznm-space-5) 22px;  /* 22px: 例外・space grid 外 */
    position: relative;
    overflow: hidden;
    transition: background 0.15s ease, border-color 0.15s ease;
    min-height: 88px;
    box-sizing: border-box;
}

.ifw-card--linked {
    cursor: pointer;
}

.ifw-card--linked:hover {
    background: var(--iznm-lp-hover-bg);
    border-color: var(--iznm-border-light);
}

.ifw-card--linked:hover .ifw-card-number {
    color: var(--iznm-gold);
}

.ifw-card--empty {
    opacity: 0.25;
    cursor: default;
}

/* Corner accent */
.ifw-card-corner {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-left: var(--iznm-space-6) solid transparent;
    border-top: var(--iznm-space-6) solid var(--iznm-gold);
    opacity: 0.35;
}

.ifw-card-number {
    font-size: 10px;  /* 例外: トークン外サイズ */
    font-weight: var(--iznm-font-medium);
    color: var(--iznm-lp-text-muted);
    letter-spacing: var(--iznm-tracking-button);
    margin-bottom: 10px;  /* 例外: space grid 外 */
    font-family: 'Inter', monospace;
    transition: color 0.15s;
}

.ifw-card-name {
    font-size: 14px;  /* 例外: トークン外サイズ */
    font-weight: var(--iznm-font-medium);
    color: var(--iznm-text-main);
    letter-spacing: 0.03em;  /* 例外: トークン外 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ifw-card-link {
    margin-top: 10px;  /* 例外: space grid 外 */
    font-size: var(--iznm-text-xs);
    color: var(--iznm-lp-text-dim);
    letter-spacing: var(--iznm-tracking-body);
    transition: color 0.15s;
}

.ifw-card--linked:hover .ifw-card-link {
    color: var(--iznm-lp-text-sub);
}

/* Footer */
.ifw-footer {
    padding-top: var(--iznm-space-6);
    border-top: 1px solid var(--iznm-border-dark);
    text-align: center;
}

.ifw-footer-text {
    font-size: var(--iznm-text-xs);
    color: var(--iznm-border-light);
    letter-spacing: var(--iznm-tracking-wider);
}

/* Responsive */
@media (max-width: 768px) {
    .iznm-founder-wall {
        padding: var(--iznm-space-10) var(--iznm-space-4);
    }
    .ifw-title {
        font-size: var(--iznm-text-2xl);
    }
    .ifw-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

/* ===========================
 *    Founder Wall - page title hidden
 *    =========================== */
body:has(.iznm-founder-wall) header.entry-header {
	    display: none !important;
}
