/* ==========================================
   style_new.css
   SEO実績ページ + インタビューページ 共通CSS
   ========================================== */

/* --- SEO実績ページ --- */
/* === SEO実績 LP === */

:root {
  --color-primary:      #b11920;  /* ブランドレッド */
  --color-primary-dark: #8e1419;  /* ブランドレッド暗 */
  --color-dark:         #0a1628;  /* ダークネイビー */
  --color-text:         #1a1a2e;  /* 見出しテキスト */
  --color-body:         #555555;  /* 本文テキスト */
  --color-success:      #2e7d32;  /* 成功・グリーン */
  --color-danger:       #c53030;  /* 失敗・警告レッド */
  --color-bg-light:     #f8f9fa;  /* 薄グレー背景 */
  --color-bg-cream:     #f7f5f2;  /* クリーム背景 */
  --color-border:       #e2e8f0;  /* ボーダー */
}

html { scroll-behavior: smooth; }

/* ---------- Base font ---------- */
body#sub {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---------- Oswald for numbers ---------- */
.seo-hero-stat .num,
.seo-system-big,
.seo-result-card .result-num,
.seo-photo-break-stat .num,
.seo-fail-big-num {
    font-family: 'Oswald', sans-serif;
}
/* Units stay system font */
.seo-system-unit,
.seo-hero-stat .label,
.seo-result-card .result-label,
.seo-photo-break-stat .label {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Layout ---------- */
.lp-section {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.lp-inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
}

.lp-has-secnum {
    position: relative;
}

/* ---------- Hero ---------- */
.seo-hero {
    position: relative;
    width: 100%;
    min-height: auto;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background: var(--color-dark);
}

.seo-hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(10,22,40,0.82), rgba(10,22,40,0.82)),
        url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?w=1600&q=80&auto=format&fit=crop');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 0;
}

.seo-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: transparent;
}

.seo-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: clamp(80px, 10vw, 120px) clamp(20px, 5vw, 60px) clamp(60px, 8vw, 100px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 4vw, 56px);
    align-items: center;
}

.seo-hero-text {
    text-align: left;
}

.seo-hero h1 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -0.01em;
    margin: 0 0 20px;
    color: #fff;
}

.seo-hero-sub {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 32px;
    line-height: 1.8;
}

/* --- Hero numbers --- */
.seo-hero-numbers {
    display: flex;
    justify-content: flex-start;
    gap: 0;
    margin: 32px 0;
    background: transparent;
    border: none;
}

.seo-hero-stat {
    text-align: center;
    padding: 0 clamp(16px, 2.5vw, 32px);
    position: relative;
    flex-shrink: 0;
}

.seo-hero-stat:first-child {
    padding-left: 0;
}

.seo-hero-stat:not(:last-child) {
    border-right: 1px solid rgba(255,255,255,0.2);
}

.seo-hero-stat .num {
    display: block;
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    white-space: nowrap;
}

.seo-hero-stat .num .unit {
    font-size: 0.5em;
    font-weight: 700;
    opacity: 0.7;
}

.seo-hero-stat .label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 8px;
    letter-spacing: 0.08em;
}

/* animate */
.seo-hero-stat .num {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s, transform 0.6s;
}

.seo-hero-stat.is-visible .num {
    opacity: 1;
    transform: translateY(0);
}

.seo-hero-stat:nth-child(2) .num { transition-delay: 0.15s; }
.seo-hero-stat:nth-child(3) .num { transition-delay: 0.3s; }

.seo-hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* --- Hero graphs --- */
.seo-hero-visual {
    width: 100%;
}

.seo-hero-graph-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.seo-hero-graph-item {
    position: relative;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    flex: 1;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.seo-hero-graph-item img {
    width: 100%;
    height: auto;
    display: block;
}

.seo-hero-slide-label {
    position: absolute;
    bottom: 10px;
    left: 12px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
}

@media (max-width: 860px) {
    .seo-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .seo-hero-text {
        text-align: center;
    }

    .seo-hero-numbers {
        justify-content: center;
    }

    .seo-hero-stat:first-child {
        padding-left: clamp(16px, 2.5vw, 32px);
    }

    .seo-hero-cta {
        justify-content: center;
    }

    .seo-hero-visual {
        max-width: 560px;
        margin: 0 auto;
    }
}

/* ---------- Buttons ---------- */
.seo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: background 0.2s, transform 0.2s;
    border: none;
    box-sizing: border-box;
    max-width: 100%;
}

.seo-btn:hover {
    transform: translateY(-2px);
}

.seo-btn-primary {
    background: var(--color-primary);
    color: #fff;
}

.seo-btn-primary:hover {
    background: #8e1419;
    color: #fff;
}

.seo-btn-orange {
    background: var(--color-primary);
    color: #fff;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 700;
}

.seo-btn-orange:hover {
    background: var(--color-primary-dark);
    color: #fff;
}

.seo-btn-white {
    background: #fff;
    color: var(--color-primary);
    font-weight: 700;
}

.seo-btn-white:hover {
    background: #f0f0f0;
    color: var(--color-primary);
}

.seo-btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.seo-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.seo-btn-dark {
    background: var(--color-text);
    color: #fff;
}

.seo-btn-dark:hover {
    background: #2a2a42;
    color: #fff;
}

.seo-btn-sm {
    padding: 10px 24px;
    font-size: 0.88rem;
}

.seo-btn-lg {
    padding: 18px 48px;
    font-size: 1.1rem;
}

/* ---------- Section backgrounds ---------- */
.lp-white {
    background: #fff;
}

.lp-gray {
    background: var(--color-bg-light);
}

.lp-cream {
    background: var(--color-bg-cream);
}

.lp-light-navy {
    background: #eef1f6;
}

.lp-light-blue {
    background: #f0f5fa;
}

/* Dark section (AIO) */
.lp-sec-dark {
    background: var(--color-dark);
    color: #fff;
}
.lp-sec-dark .lp-section-num { color: rgba(255,255,255,0.4); }
.lp-sec-dark .lp-section-num::before { background: rgba(255,255,255,0.3); }
.lp-sec-dark .seo-quote { background: transparent; color: rgba(255,255,255,0.9); border-left-color: rgba(255,255,255,0.3); }
.lp-sec-dark .seo-quote-author { color: rgba(255,255,255,0.5); }
.lp-sec-dark .seo-screenshot { border-color: rgba(255,255,255,0.15); }
.lp-sec-dark .seo-screenshot-caption { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.6); }

.lp-navy-solid {
    background: var(--color-text);
    color: #fff;
}
.lp-navy-solid h2, .lp-navy-solid h3 { color: #fff; }
.lp-navy-solid h2::before { background: rgba(255,255,255,0.3); }
.lp-navy-solid h2 .h2-accent { color: #ff8a8a; }
.lp-navy-solid p { color: rgba(255,255,255,0.82); }
.lp-navy-solid p strong { color: #fff; }
.lp-navy-solid .lp-section-num { color: rgba(255,255,255,0.4); }
.lp-navy-solid .lp-section-num::before { background: rgba(255,255,255,0.3); }
.lp-navy-solid .seo-quote { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.9); }
.lp-navy-solid .seo-quote::before { color: rgba(255,255,255,0.1); }
.lp-navy-solid .seo-quote-author { color: rgba(255,255,255,0.5); }
.lp-navy-solid .seo-before-box { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); }
.lp-navy-solid .seo-before-box, .lp-navy-solid .seo-before-box p { color: rgba(255,255,255,0.85) !important; }
.lp-navy-solid .seo-before-box p strong { color: #fff !important; }
.lp-navy-solid .seo-before-box .box-label { color: rgba(255,255,255,0.6); }
.lp-navy-solid .seo-after-box { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); }
.lp-navy-solid .seo-after-box, .lp-navy-solid .seo-after-box p { color: rgba(255,255,255,0.85) !important; }
.lp-navy-solid .seo-after-box p strong { color: #fff !important; }
.lp-navy-solid .seo-after-box .box-label { color: rgba(255,255,255,0.6); }
.lp-navy-solid .seo-insight-list li { color: rgba(255,255,255,0.82); border-bottom-color: rgba(255,255,255,0.08); }
.lp-navy-solid .seo-insight-list li::before { color: rgba(255,255,255,0.4); }

/* ---------- Photo section ---------- */
.lp-photo {
    position: relative;
    overflow: hidden;
}

.lp-photo-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.lp-photo-bg::after {
    content: "";
    position: absolute;
    inset: 0;
}

.lp-photo--light .lp-photo-bg::after {
    background: rgba(247, 245, 242, 0.93);
}

.lp-photo--dark .lp-photo-bg::after {
    background: rgba(26, 26, 46, 0.82);
}

.lp-photo--dark { color: #fff; }
.lp-photo--dark h2, .lp-photo--dark h3 { color: #fff; }
.lp-photo--dark p { color: rgba(255,255,255,0.85); }
.lp-photo--dark p strong { color: #fff; }
.lp-photo--dark h2 .h2-accent { color: #ff8a8a; }
.lp-photo--dark .lp-section-num { color: rgba(255,255,255,0.4); }

.lp-photo > .lp-inner {
    position: relative;
    z-index: 1;
}

/* ---------- System numbers ---------- */
.seo-system-numbers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin: 36px 0 44px;
    background: var(--color-bg-light);
    border-radius: 8px;
    overflow: hidden;
}

.seo-system-num-item {
    text-align: center;
    padding: clamp(24px, 3vw, 36px) 12px;
    position: relative;
}

.seo-system-num-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(0,0,0,0.08);
}

.seo-system-big {
    display: block;
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1;
}

.seo-system-unit {
    font-size: 0.4em;
    font-weight: 600;
    color: #999;
}

.seo-system-pre {
    font-size: 0.4em;
    font-weight: 600;
    color: #999;
}

.seo-system-val {
    font-family: 'Oswald', sans-serif;
}

.seo-system-label {
    display: block;
    font-size: 0.78rem;
    color: #999;
    margin-top: 8px;
}

@media (max-width: 600px) {
    .seo-system-numbers {
        grid-template-columns: repeat(2, 1fr);
    }

    .seo-system-num-item:nth-child(2)::after {
        display: none;
    }

    .seo-system-num-item:nth-child(1),
    .seo-system-num-item:nth-child(2) {
        border-bottom: 1px solid rgba(0,0,0,0.06);
    }
}

/* ---------- 2-column layout ---------- */
.lp-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 4vw, 48px);
    align-items: start;
}

@media (max-width: 768px) {
    .lp-grid-2 { grid-template-columns: 1fr; }
}

/* ---------- Heading design ---------- */
.lp-section h2 .h2-accent {
    color: var(--color-primary);
}

.lp-navy h2 .h2-accent,
.lp-dark-warm h2 .h2-accent {
    color: #ff8a8a;
}

/* ---------- Section number label ---------- */
.lp-section-num {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.2em;
    margin-bottom: 24px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.lp-section-num::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle;
}

/* Large background section number */
.lp-section-num-bg {
    display: none;
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 80px;
    font-weight: 900;
    color: #000;
    opacity: 0.04;
    line-height: 1;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

.lp-section-num-bg--dark {
    color: #fff;
    opacity: 0.06;
}

/* ---------- Section spacing ---------- */
.lp-pad-xl {
    padding-top: clamp(120px, 15vw, 180px);
    padding-bottom: clamp(120px, 15vw, 180px);
}

.lp-pad-l {
    padding-top: clamp(64px, 9vw, 110px);
    padding-bottom: clamp(64px, 9vw, 110px);
}

.lp-pad-m {
    padding-top: clamp(48px, 7vw, 80px);
    padding-bottom: clamp(48px, 7vw, 80px);
}

.lp-pad-s {
    padding-top: clamp(36px, 5vw, 56px);
    padding-bottom: clamp(36px, 5vw, 56px);
}

/* ---------- Typography ---------- */
.lp-section h2 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.2;
    margin: 0 0 40px;
    font-weight: 900;
    letter-spacing: 0;
    color: var(--color-text);
    position: relative;
    z-index: 1;
}

.lp-section h2::before {
    content: "";
    position: absolute;
    left: -24px;
    top: 0;
    bottom: 0;
    width: 4px;
    height: auto;
    background: var(--color-primary);
    margin: 0;
    border-radius: 2px;
}

.lp-section h3 {
    font-size: clamp(1.15rem, 2.6vw, 1.5rem);
    margin: 40px 0 16px;
    font-weight: 700;
    color: var(--color-text);
}

.lp-section p {
    font-size: 1.05rem;
    line-height: 2.0;
    margin: 0 0 18px;
    color: #444;
}

.lp-section p strong {
    color: #222;
}

/* Dark section overrides — must come after .lp-section rules to win cascade */
.lp-section.lp-sec-dark h2,
.lp-section.lp-sec-dark h3 { color: #fff; }
.lp-section.lp-sec-dark h2::before { background: rgba(255,255,255,0.5); }
.lp-section.lp-sec-dark h2 .h2-accent { color: #ff8a8a; }
.lp-section.lp-sec-dark p { color: rgba(255,255,255,0.82); }
.lp-section.lp-sec-dark p strong { color: #fff; }

/* Dark section overrides */
.lp-navy { background: var(--color-text); color: #fff; }
.lp-section.lp-navy h2, .lp-section.lp-navy h3 { color: #fff; }
.lp-section.lp-navy p { color: rgba(255,255,255,0.82); }
.lp-section.lp-navy p strong { color: #fff; }

.lp-dark-warm { background: #2c1e1e; color: #fff; }
.lp-dark-warm h2, .lp-dark-warm h3 { color: #fff; }
.lp-dark-warm p { color: rgba(255,255,255,0.82); }
.lp-dark-warm p strong { color: #fff; }

/* ---------- Quote ---------- */
.seo-quote {
    background: transparent;
    padding: 0;
    padding-left: 32px;
   
    border-radius: 0;
    margin: 48px 0;
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.85;
    color: #333;
    font-weight: 500;
    position: relative;
}

.seo-quote::before {
    display: none;
}

.lp-navy .seo-quote,
.lp-dark-warm .seo-quote {
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.9);
}

.seo-quote-author {
    font-style: normal;
    font-size: 0.78rem;
    color: #aaa;
    margin-top: 12px;
    display: block;
    letter-spacing: 0.08em;
    font-weight: 400;
}

.lp-navy .seo-quote-author,
.lp-dark-warm .seo-quote-author { color: rgba(255,255,255,0.5); }

/* ---------- Quote block (独立引用) ---------- */
.seo-quote-block {
    background: #f0f7ff;
   
    padding: 24px 28px;
    border-radius: 0 6px 6px 0;
    margin: 28px 0;
    font-style: italic;
}

.seo-quote-block p {
    margin: 0 0 8px;
    color: #333;
    font-size: 1.05rem;
    line-height: 1.8;
}

.seo-quote-block p:last-child {
    margin-bottom: 0;
}

.seo-quote-block .seo-quote-author {
    font-style: normal;
}

/* ---------- Alert blocks ---------- */
.seo-alert-block {
    padding: 24px 28px;
    border-radius: 0 6px 6px 0;
    margin: 28px 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
}

.seo-alert-danger {
    background: #fff0f0;
    
    color: var(--color-danger);
}

.seo-alert-success {
    background: #f0fff4;
    
    color: #276749;
}

.seo-alert-sub {
    display: block;
    font-size: 0.95rem;
    font-weight: 400;
    margin-top: 8px;
    opacity: 0.85;
}

.seo-alert-danger .seo-alert-sub {
    color: #742a2a;
}

.seo-alert-success .seo-alert-sub {
    color: #22543d;
}

/* ---------- Fail list (❌) ---------- */
.seo-fail-list {
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

.seo-fail-list li {
    position: relative;
    padding: 12px 0 12px 32px;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--color-body);
    border-bottom: 1px solid #f0f0f0;
}

.seo-fail-list li:last-child {
    border-bottom: none;
}

.seo-fail-list li::before {
    content: "❌";
    position: absolute;
    left: 0;
    top: 12px;
    font-size: 1rem;
}

/* ---------- Insight block (気づき) ---------- */
.seo-insight-block {
    background: #f0f7ff;
    border-radius: 8px;
    padding: 28px 32px;
    margin: 24px 0;
}

.seo-insight-block h3 {
    margin-top: 0;
    color: #1565c0;
}

/* ---------- Before / After ---------- */
.seo-before-box {
    background: #fafafa;
    color: #333;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 28px 32px;
    margin: 24px 0;
}

.seo-before-box .box-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-primary);
    background: transparent;
    padding: 3px 0;
    border-radius: 0;
    margin-bottom: 12px;
    letter-spacing: 0.06em;
}

.seo-before-box p { color: #555 !important; }
.seo-before-box p strong { color: #222 !important; }

.seo-after-box {
    background: #f0f7ff;
    color: #333;
    border: 1px solid #d0e0f0;
    border-radius: 6px;
    padding: 28px 32px;
    margin: 24px 0;
}

.seo-after-box .box-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    color: #2563eb;
    background: transparent;
    padding: 3px 0;
    border-radius: 0;
    margin-bottom: 12px;
    letter-spacing: 0.06em;
}

.seo-after-box p { color: #555 !important; }
.seo-after-box p strong { color: #222 !important; }

/* ---------- Comparison 2-column ---------- */
.seo-compare-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin: 28px 0;
    border-radius: 8px;
    overflow: hidden;
}

.seo-compare-left {
    background: #f5f5f5;
    padding: 32px 28px;
    border: none;
    border-radius: 8px 0 0 8px;
    display: flex;
    flex-direction: column;
}

.seo-compare-left .box-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    color: #888;
    margin-bottom: 16px;
    letter-spacing: 0.06em;
}

.seo-compare-left p {
    color: #555 !important;
    font-size: 0.95rem;
}

.seo-compare-right {
    background: #f0fff4;
    padding: 32px 28px;
    border: none;
    border-left: 4px solid var(--color-success);
    border-radius: 0 8px 8px 0;
    display: flex;
    flex-direction: column;
    position: relative;
}

.seo-compare-right p {
    color: #333 !important;
    font-size: 0.95rem;
}

.seo-compare-right p strong {
    color: #1a3d1a !important;
}

.seo-compare-badge {
    display: inline-block;
    background: var(--color-success);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 4px;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .seo-compare-2col {
        grid-template-columns: 1fr;
    }
    .seo-compare-left {
        border: none;
        border-radius: 8px 8px 0 0;
    }
    .seo-compare-right {
        border-radius: 0 0 8px 8px;
    }
}

/* ---------- Insight list ---------- */
.seo-insight-list {
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

.seo-insight-list li {
    position: relative;
    padding: 12px 0 12px 28px;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--color-body);
    border-bottom: 1px solid #f0f0f0;
}

.seo-insight-list li:last-child {
    border-bottom: none;
}

.seo-insight-list li::before {
    content: "\2014";
    position: absolute;
    left: 0;
    color: var(--color-body);
    font-size: 0.85rem;
    top: 12px;
}

.seo-insight-list.check li::before {
    content: "\2713";
    color: var(--color-body);
}

/* ---------- Episode box ---------- */
.seo-episode {
    background: #f0f4f8;
    border-radius: 6px;
    padding: 28px 32px;
    margin: 24px 0;
}

.seo-episode-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    color: #2c5282;
    background: rgba(44, 82, 130, 0.1);
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 12px;
    letter-spacing: 0.06em;
}

/* ---------- 5 axes: 2-column card grid ---------- */
.seo-axis-grid-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 28px 0;
}

.seo-axis-card {
    background: var(--color-bg-light);
    border: none;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: box-shadow 0.2s;
}

.seo-axis-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.seo-axis-card-center {
    grid-column: 1 / -1;
    max-width: 50%;
    justify-self: center;
}

.seo-axis-emoji {
    display: block;
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.seo-axis-card .axis-name {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    color: #333;
}

.seo-axis-card .axis-desc {
    display: block;
    font-size: 0.82rem;
    color: #999;
    margin-top: 4px;
}

@media (max-width: 600px) {
    .seo-axis-grid-2col {
        grid-template-columns: 1fr;
    }
    .seo-axis-card-center {
        max-width: 100%;
    }
}

/* ---------- Emphasis text ---------- */
.seo-emphasis-text {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    color: var(--color-text);
    margin: 32px 0 16px;
    line-height: 1.6;
}

/* ---------- Big text ---------- */
.seo-big-text {
    font-size: 28px !important;
    font-weight: 700 !important;
    text-align: center;
    color: #1a1a2e !important;
    margin: 32px 0 12px !important;
    line-height: 1.4;
}

/* ---------- Screenshot ---------- */
.seo-screenshot {
    margin: 28px auto;
    max-width: 640px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.seo-screenshot img {
    width: 100%;
    height: auto;
    display: block;
}

.seo-screenshot--dark {
    border-color: rgba(255,255,255,0.15);
}

.seo-screenshot-caption {
    background: #fafafa;
    padding: 10px 16px;
    font-size: 0.85rem;
    color: #888;
    text-align: center;
}

.seo-lightbox-trigger {
    cursor: pointer;
    transition: box-shadow 0.2s;
}

.seo-lightbox-trigger:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.seo-click-hint {
    font-size: 0.75rem;
    color: var(--color-primary);
    font-weight: 600;
}

/* Lightbox overlay */
.seo-lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    opacity: 0;
    transition: opacity 0.3s;
}

.seo-lightbox-overlay.active {
    opacity: 1;
}

.seo-lightbox-overlay img {
    max-width: 92vw;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* ---------- Pattern cards ---------- */
.seo-pattern-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.seo-pattern-card {
    background: var(--color-bg-light);
    border: none;
    border-radius: 6px;
    padding: 28px 22px;
    transition: box-shadow 0.2s, transform 0.2s;
}

.seo-pattern-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* Gradient backgrounds for numbered cards */
.seo-pattern-grad-1,
.seo-pattern-grad-2,
.seo-pattern-grad-3 {
    background: var(--color-bg-light);
}

.seo-pattern-card .pattern-num {
    display: inline-block;
    font-size: 3rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    color: var(--color-primary);
    opacity: 0.15;
    margin-bottom: 10px;
}

.seo-pattern-card h4 {
    font-size: 1rem;
    color: #333;
    margin: 0 0 8px;
    font-weight: 700;
}

.seo-pattern-card p {
    font-size: 0.9rem;
    color: #777;
    margin: 0;
    line-height: 1.7;
}

/* ---------- Flow steps ---------- */
.seo-flow {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin: 28px 0;
    flex-wrap: wrap;
}

.seo-flow-step {
    flex: 1;
    min-width: 140px;
    min-height: 130px;
    background: var(--color-bg-light);
    border: none;
    padding: 24px 16px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.seo-flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
}

.seo-flow-arrow span {
    font-size: 1.8rem;
    color: var(--color-primary);
    font-weight: 900;
}

.seo-flow-step i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    border-radius: 0;
    font-size: 2rem;
    margin-bottom: 12px;
    background: transparent;
    color: var(--color-primary);
    color: var(--color-primary);
}

.seo-flow-step .flow-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: #333;
}

.seo-flow-step .flow-desc {
    font-size: 0.78rem;
    margin-top: 4px;
    color: #999;
}

/* ---------- Flow v2 ---------- */
.seo-flow-v2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 4vw, 56px);
    margin: 32px 0;
    align-items: start;
}

.seo-flow-v2-left {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    padding-left: 32px;
}

.seo-flow-v2-left::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
}

.seo-flow-v2-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
    position: relative;
}

.seo-flow-v2-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    left: -32px;
    margin-right: -32px;
    z-index: 1;
}

.seo-flow-v2-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 4px;
}

.seo-flow-v2-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
}

.seo-flow-v2-desc {
    font-size: 0.85rem;
    color: #999;
    line-height: 1.5;
}

/* Right: 2x2 image grid */
.seo-flow-v2-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.seo-flow-v2-img {
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.seo-flow-v2-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 60%);
}

.seo-flow-v2-img-label {
    position: absolute;
    bottom: 8px;
    left: 10px;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    z-index: 1;
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .seo-flow-v2 {
        grid-template-columns: 1fr;
    }
    .seo-flow-v2-right {
        order: -1;
    }
}

@media (max-width: 600px) {
    .seo-flow-v2-left {
        padding-left: 28px;
    }
    .seo-flow-v2-left::before {
        left: 13px;
    }
    .seo-flow-v2-num {
        width: 28px;
        height: 28px;
        font-size: 0.78rem;
        left: -28px;
        margin-right: -28px;
    }
}

/* ---------- Mid CTA ---------- */
.lp-mid-cta {
    width: 100%;
    background: var(--color-primary);
    padding: clamp(80px, 10vw, 120px) 0;
    text-align: center;
    color: #fff;
}

.lp-mid-cta h3 {
    color: #fff;
    font-size: clamp(28px, 4vw, 44px);
    margin: 0 0 24px;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.lp-mid-cta p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 28px;
    font-size: 1rem;
}

.lp-mid-cta .seo-btn-primary {
    background: #fff;
    color: var(--color-primary);
}

.lp-mid-cta .seo-btn-primary:hover {
    background: #f0f0f0;
    color: var(--color-primary);
}

/* ---------- Results grid ---------- */
.seo-results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin: 28px 0;
    background: var(--color-text);
    border-radius: 12px;
    overflow: hidden;
}

.seo-result-card {
    background: transparent;
    border: none;
    border-radius: 0;
    border-right: 1px solid rgba(255,255,255,0.08);
    padding: 48px 24px;
    text-align: center;
    transition: all 0.2s;
}

.seo-result-card:last-child {
    border-right: none;
}

.seo-result-card:hover {
    background: rgba(255,255,255,0.03);
}

.seo-result-card .result-num {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.seo-result-card .result-label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.65);
    margin-top: 8px;
}

/* ---------- Timeline v2 ---------- */
.seo-timeline-v2 {
    position: relative;
    padding: 0 0 0 160px;
    margin: 28px 0;
}

.seo-timeline-v2::before {
    content: "";
    position: absolute;
    left: 140px;
    top: 4px;
    bottom: 4px;
    width: 2px;
    background: #e0e0e0;
}

.seo-tl-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 28px;
    padding: 12px 16px;
    border-radius: 6px;
}

.seo-tl-item:last-child {
    margin-bottom: 0;
}

.seo-tl-item::before {
    content: "";
    position: absolute;
    left: -26px;
    top: 16px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-text);
    box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--color-primary);
    z-index: 1;
}

.seo-tl-date {
    position: absolute;
    left: -160px;
    top: 12px;
    width: 120px;
    text-align: right;
    font-size: 0.82rem;
    font-weight: 900;
    color: var(--color-primary);
}

.seo-tl-content {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--color-body);
}

.seo-tl-content strong {
    color: #333;
}

.seo-tl-highlight {
    background: #f0f7ff;
    border: 1px solid #d0e0f0;
}

.seo-tl-highlight::before {
    background: var(--color-primary);
    box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--color-primary);
}

@media (max-width: 768px) {
    .seo-timeline-v2 {
        padding: 0 0 0 36px;
    }

    .seo-timeline-v2::before {
        left: 7px;
    }

    .seo-tl-item {
        flex-direction: column;
    }

    .seo-tl-item::before {
        left: -33px;
    }

    .seo-tl-date {
        position: static;
        width: auto;
        text-align: left;
        margin-bottom: 4px;
    }
}

/* ---------- Case cards ---------- */
.seo-case-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.seo-case-card {
    background: var(--color-bg-light);
    border: none;
    border-radius: 8px;
    padding: 28px 20px;
    text-align: center;
    transition: box-shadow 0.2s;
}

.seo-case-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.seo-case-card i {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.seo-case-card h4 {
    font-size: 1rem;
    color: #333;
    margin: 0 0 12px;
    font-weight: 700;
}

.seo-case-badge {
    display: inline-block;
    background: #f0f7ff;
    color: var(--color-primary);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 4px;
}

/* ---------- Graph wrap ---------- */
.seo-graph-wrap {
    margin: 0;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.seo-graph-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

.seo-graph-caption {
    background: #fafafa;
    padding: 10px 16px;
    font-size: 0.85rem;
    color: #888;
    text-align: center;
}

/* ---------- Cases (legacy) ---------- */
.seo-cases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin: 20px 0;
}

.seo-case-tag {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 14px 16px;
    font-size: 0.9rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.seo-case-tag i {
    color: var(--color-body);
    font-size: 0.85rem;
}

/* ---------- Photo break ---------- */
.seo-photo-break {
    position: relative;
    width: 100%;
    min-height: 340px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seo-photo-break-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?w=1920&q=80');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 0;
}

.seo-photo-break-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 46, 0.5);
}

.seo-photo-break-inner {
    position: relative;
    z-index: 1;
    display: flex;
    gap: clamp(32px, 6vw, 72px);
    flex-wrap: wrap;
    justify-content: center;
    padding: clamp(40px, 6vw, 72px) 20px;
    text-align: center;
}

.seo-photo-break-stat {
    text-align: center;
}

.seo-photo-break-stat .num {
    display: block;
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
}

.seo-photo-break-stat .label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 6px;
}

/* ---------- Badge ---------- */
.seo-badge-orange {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 4px;
    margin-right: 8px;
}

/* ---------- Cost table ---------- */
.seo-cost-table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.seo-cost-table thead th {
    background: var(--color-text);
    color: #fff;
    padding: 14px 20px;
    font-size: 0.88rem;
    font-weight: 700;
    text-align: left;
}

.seo-cost-table tbody td {
    padding: 14px 20px;
    font-size: 0.95rem;
    color: var(--color-body);
    border-bottom: 1px solid #f0f0f0;
}

.seo-cost-table tbody tr:last-child td {
    border-bottom: none;
}

.seo-cost-zero {
    color: var(--color-danger) !important;
    font-weight: 700;
}

.seo-cost-highlight-row {
    background: #f0f7ff;
}

/* ---------- Cost box (legacy) ---------- */
.seo-cost-box {
    background: var(--color-bg-cream);
    border-radius: 6px;
    padding: 28px;
    margin: 24px 0;
}

.seo-cost-box h4 {
    font-size: 1rem;
    color: #333;
    margin: 0 0 14px;
    font-weight: 700;
}

.seo-cost-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.seo-cost-list li {
    padding: 8px 0 8px 24px;
    position: relative;
    font-size: 0.95rem;
    color: var(--color-body);
    line-height: 1.75;
}

.seo-cost-list li::before {
    content: "\2713";
    position: absolute;
    left: 6px;
    color: #059669;
    font-size: 1.1rem;
    top: 8px;
}

/* ---------- Service cards (09) ---------- */
.seo-service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin: 24px 0;
    align-items: start;
}

.seo-service-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 28px 22px;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.seo-service-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.seo-service-card .pattern-num {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 10px;
}

.seo-service-card h4 {
    font-size: 1.1rem;
    color: #333;
    margin: 0 0 12px;
    font-weight: 700;
}

.seo-service-card p {
    font-size: 0.9rem;
    color: #777;
    margin: 0 0 20px;
    line-height: 1.7;
    flex-grow: 1;
}

.seo-service-card--recommended {
    border: 2px solid var(--color-primary);
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(25, 118, 210, 0.15);
}

.seo-service-card--recommended:hover {
    transform: scale(1.05) translateY(-2px);
}

.seo-recommended-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    background: var(--color-primary);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 4px;
    letter-spacing: 0.08em;
}

/* ---------- Final CTA ---------- */
.seo-final-cta {
    width: 100%;
    box-sizing: border-box;
    background: var(--color-dark);
    padding: clamp(56px, 8vw, 100px) clamp(20px, 4vw, 40px);
    text-align: center;
    color: #fff;
}

.seo-final-cta h2 {
    color: #fff;
    font-size: 32px;
    margin: 0 0 20px;
    font-weight: 800;
}

.seo-final-cta p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 680px;
    margin: 0 auto 32px;
    font-size: 1rem;
    line-height: 1.8;
}

.seo-final-cta-inner {
    max-width: 740px;
    margin: 0 auto;
}

.seo-final-cta-buttons-v2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.seo-final-cta-note {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.seo-final-cta .seo-btn-orange {
    background: var(--color-primary);
    color: #fff;
}

.seo-final-cta .seo-btn-orange:hover {
    background: var(--color-primary-dark);
    color: #fff;
}

.seo-final-cta .seo-btn-outline {
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.seo-final-cta .seo-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Legacy buttons */
.seo-final-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.seo-final-cta .seo-btn-white {
    background: #fff;
    color: var(--color-text);
}

.seo-final-cta .seo-btn-white:hover {
    background: #f0f0f0;
    color: var(--color-text);
}

.seo-final-cta--red {
    background: var(--color-primary);
}

/* ---------- Related articles ---------- */
.lp-related {
    background: var(--color-bg-cream);
    padding: clamp(36px, 5vw, 60px) 0;
}

/* ---------- Interview link ---------- */
.seo-interview-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
    border-bottom: 1px solid var(--color-primary);
    padding-bottom: 2px;
}

.seo-interview-link:hover {
    color: #8e1419;
    border-bottom-color: #8e1419;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .seo-results-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .seo-hero {
        min-height: auto;
    }

    .seo-hero-inner {
        padding: 48px 16px 40px;
    }

    .seo-hero-numbers {
        flex-wrap: wrap;
        gap: 20px 0;
        justify-content: center;
    }

    .seo-hero-stat {
        padding: 0 20px;
    }

    .seo-hero-stat .num {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .seo-flow {
        flex-direction: column;
        align-items: center;
    }

    .seo-flow-step {
        min-height: auto;
        width: 100%;
    }

    .seo-flow-arrow {
        transform: rotate(90deg);
        padding: 4px 0;
    }

    .seo-pattern-cards {
        grid-template-columns: 1fr;
    }

    .seo-service-cards {
        grid-template-columns: 1fr;
    }

    .seo-service-card--recommended {
        transform: scale(1);
    }

    .seo-service-card--recommended:hover {
        transform: translateY(-2px);
    }

    .seo-results-grid {
        grid-template-columns: 1fr 1fr;
    }

    .seo-final-cta-buttons-v2 .seo-btn {
        width: 100%;
        max-width: 320px;
    }

    .seo-final-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .seo-btn {
        width: 100%;
        max-width: 320px;
    }

    .seo-photo-break {
        min-height: 260px;
    }

    .seo-alert-block {
        font-size: 20px;
    }

    .seo-big-text {
        font-size: 22px !important;
    }

    .seo-case-cards {
        grid-template-columns: 1fr;
    }
}

/* ---------- Section 01: 2-column grid ---------- */
.seo-sec01-grid {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 48px;
    align-items: center;
}

.seo-sec01-img img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

@media (max-width: 768px) {
    .seo-sec01-grid {
        grid-template-columns: 1fr;
    }
    .seo-sec01-img img {
        height: 200px;
        object-fit: cover;
    }
}

/* ---------- Section 02: Fail visual (28→30) ---------- */
.seo-fail-visual {
    background: #fff8f8;
    
    border-radius: 0 12px 12px 0;
    padding: 48px;
    margin: 48px 0;
    display: grid;
    grid-template-columns: auto auto auto 1fr;
    align-items: center;
    gap: 32px;
}

.seo-fail-num-block {
    text-align: center;
    flex-shrink: 0;
}

.seo-fail-big-num {
    font-size: clamp(80px, 12vw, 100px);
    color: var(--color-danger);
    line-height: 1;
    font-weight: 700;
    opacity: 0.6;
}

.seo-fail-num-block:nth-child(3) .seo-fail-big-num {
    font-size: clamp(100px, 15vw, 140px);
    opacity: 1;
}

.seo-fail-num-label {
    font-size: 13px;
    color: #666;
    margin-top: 4px;
}

.seo-fail-arrow {
    font-size: 32px;
    color: #ccc;
    flex-shrink: 0;
}

.seo-fail-message {
    flex: 1;
    padding-left: 16px;
    font-size: 16px;
    color: var(--color-danger);
    font-weight: bold;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .seo-fail-visual {
        grid-template-columns: 1fr auto 1fr;
        gap: 16px;
        padding: 24px 20px;
        text-align: center;
    }
    .seo-fail-big-num {
        font-size: 48px;
    }
    .seo-fail-num-block:nth-child(3) .seo-fail-big-num {
        font-size: 64px;
    }
    .seo-fail-message {
        grid-column: 1 / -1;
        padding-left: 0;
        text-align: center;
    }
}

/* ---------- Section 03: Method banner ---------- */
.seo-method-banner {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 32px;
    position: relative;
}

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

.seo-method-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,22,40,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
}

.seo-method-banner-overlay p {
    color: white !important;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .seo-method-banner-overlay p {
        font-size: 17px;
        padding: 0 16px;
    }
}

/* ---------- Section 04: Compare headers ---------- */
/* ---------- Section 05: Timeline highlight variants ---------- */
.seo-tl-highlight--orange {
    background: #fff8f0;
    border-color: #ffd4a8;
}

.seo-tl-highlight--orange::before {
    background: var(--color-primary) !important;
    box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--color-primary) !important;
}

.seo-tl-highlight--orange .seo-tl-content {
    font-size: 1.05rem;
}

.seo-tl-highlight--orange .seo-tl-content strong {
    font-size: 1.1rem;
}

.seo-tl-highlight--green {
    background: #f0fff4;
    border-color: #b2dfdb;
}

.seo-tl-highlight--green::before {
    background: #2e7d32 !important;
    box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--color-success) !important;
}

/* ---------- Section 09: Service cards v2 ---------- */
.seo-service-cards-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 32px 0;
    align-items: start;
}

.seo-service-card-v2 {
    background: #fff;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    min-height: 320px;
    transition: box-shadow 0.2s, transform 0.2s;
    position: relative;
}

.seo-service-card-v2:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.seo-service-card-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

.seo-service-card-body {
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.seo-service-card-body .pattern-num {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
}

.seo-service-card-body h4 {
    font-size: 1.15rem;
    color: #333;
    margin: 0 0 12px;
    font-weight: 700;
}

.seo-service-card-body p {
    font-size: 0.9rem;
    color: #777;
    margin: 0 0 auto;
    line-height: 1.7;
    padding-bottom: 20px;
}

.seo-service-cta {
    display: block;
    background: var(--color-primary);
    color: #fff;
    text-align: center;
    padding: 14px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    font-size: 0.92rem;
    transition: background 0.2s;
}

.seo-service-cta:hover {
    background: var(--color-primary-dark);
    color: #fff;
}

.seo-service-cta--primary {
    background: var(--color-primary);
}

.seo-service-cta--primary:hover {
    background: var(--color-primary-dark);
}

/* Recommended card */
.seo-service-card-v2--recommended {
    border: 2px solid var(--color-primary);
    transform: scale(1.03);
    box-shadow: 0 8px 32px rgba(177,25,32,0.15);
}

.seo-service-card-v2--recommended:hover {
    transform: scale(1.03) translateY(-3px);
}

.seo-service-card-v2-badge {
    background: var(--color-primary);
    color: #fff;
    text-align: center;
    padding: 8px;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.1em;
}

@media (max-width: 768px) {
    .seo-service-cards-v2 {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin-left: auto;
        margin-right: auto;
    }
    .seo-service-card-v2--recommended {
        transform: scale(1);
    }
    .seo-service-card-v2--recommended:hover {
        transform: translateY(-3px);
    }
}

/* ---------- Final CTA v2 ---------- */
.seo-final-cta--v2 {
    background: linear-gradient(135deg, var(--color-dark) 0%, #1a2f4e 100%);
    padding: clamp(64px, 8vw, 100px) 40px;
}

.seo-final-cta--v2 h2 {
    font-size: clamp(32px, 5vw, 52px);
    letter-spacing: 0;
    line-height: 1.4;
    font-weight: 900;
    margin-bottom: 32px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.seo-final-cta--v2 .seo-btn-xl {
    padding: 22px 56px;
    font-size: 18px;
    letter-spacing: 0.02em;
    border-radius: 4px;
    width: 100%;
    max-width: 480px;
    box-sizing: border-box;
}

.seo-final-cta--v2 .seo-btn-lg {
    width: 100%;
    max-width: 480px;
}

.seo-final-cta--v2 .seo-final-cta-note {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    text-align: center;
    margin: 8px 0;
}

@media (max-width: 600px) {
    .seo-final-cta--v2 {
        padding: 56px 20px;
    }
    .seo-final-cta--v2 h2 {
        font-size: 24px;
    }
}

/* ---------- Axis list (simple) ---------- */
.seo-axis-list {
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

.seo-axis-list li {
    padding: 10px 0;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-body);
    border-bottom: 1px solid #f0f0f0;
}

.seo-axis-list li:last-child {
    border-bottom: none;
}

.seo-axis-list li strong {
    color: var(--color-text);
}

/* ---------- Compare label (badge style) ---------- */
.seo-compare-label {
    display: inline-block !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    color: #666 !important;
    background: rgba(0,0,0,0.07);
    padding: 6px 16px !important;
    border-radius: 20px;
    letter-spacing: 0.04em;
    margin-bottom: 16px !important;
}

.seo-compare-label--good {
    color: #fff !important;
    background: var(--color-success) !important;
}

.seo-compare-right p.seo-compare-label--good {
    color: #fff !important;
}

/* --- Compare steps --- */
.seo-compare-steps {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
    counter-reset: step;
    flex-grow: 1;
}

.seo-compare-steps li {
    counter-increment: step;
    position: relative;
    padding: 8px 0 8px 32px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
}

.seo-compare-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(0,0,0,0.08);
    color: #999;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seo-compare-steps li:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 9px;
    top: 30px;
    bottom: -8px;
    width: 2px;
    background: rgba(0,0,0,0.06);
}

.seo-compare-steps--short li {
    color: #333;
    font-weight: 500;
}

.seo-compare-steps--short li::before {
    background: var(--color-success);
    color: #fff;
}

.seo-compare-steps--short li:not(:last-child)::after {
    background: rgba(46,125,50,0.15);
}

.seo-compare-summary {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 16px;
    border-top: 1px solid rgba(0,0,0,0.06);
    margin-top: auto;
    font-size: 0.82rem;
    color: #999;
}

.seo-compare-summary strong {
    color: #666;
}

.seo-compare-summary--good {
    border-top-color: rgba(46,125,50,0.15);
    color: #555;
}

.seo-compare-summary--good strong {
    color: var(--color-success);
}

/* ---------- Service detail ---------- */
.seo-service-detail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 40px 0;
}

.seo-service-detail-item {
    background: #fff;
    border-radius: 8px;
    padding: 36px 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    position: relative;
}

.seo-service-detail-item--recommended {
    border: 2px solid var(--color-primary);
    box-shadow: 0 4px 20px rgba(177,25,32,0.1);
    padding-top: 48px;
}

.seo-service-detail-badge {
    position: absolute;
    top: 0;
    left: 32px;
    transform: translateY(-50%);
    background: var(--color-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 20px;
    letter-spacing: 0.04em;
}

.seo-service-detail-head {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.seo-service-detail-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    flex-shrink: 0;
}

.seo-service-detail-head h4 {
    font-size: 1.2rem;
    color: var(--color-text);
    margin: 0 0 4px;
    font-weight: 700;
}

.seo-service-detail-who {
    font-size: 0.85rem !important;
    color: #999 !important;
    margin: 0 !important;
}

.seo-service-detail-2col {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 32px;
    align-items: start;
}

.seo-service-detail-body {
    margin-bottom: 0;
}

.seo-service-detail-body p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* Spec sidebar */
.seo-service-detail-spec {
    background: var(--color-bg-light);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.seo-service-detail-spec-item {
    display: flex;
    flex-direction: column;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.seo-service-detail-spec-item:last-child {
    border-bottom: none;
}

.seo-service-detail-spec-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #999;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}

.seo-service-detail-spec-value {
    font-size: 0.9rem;
    color: var(--color-text);
    font-weight: 500;
}

.seo-service-detail-spec-value strong {
    color: var(--color-primary);
}

/* Note block */
.seo-service-note {
    margin-top: 48px;
    padding: 28px 32px;
    background: var(--color-bg-light);
    border-radius: 8px;
}

.seo-service-note h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 12px;
}

.seo-service-note p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #666;
    margin: 0 0 12px;
}

.seo-service-note p:last-child {
    margin-bottom: 0;
}

.seo-service-note p strong {
    color: var(--color-text);
}

@media (max-width: 768px) {
    .seo-service-detail-2col {
        grid-template-columns: 1fr;
    }
}

.seo-service-detail-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.seo-service-detail-list li {
    position: relative;
    padding: 6px 0 6px 20px;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}

.seo-service-detail-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
    opacity: 0.4;
}

.seo-service-detail-list li strong {
    color: var(--color-text);
}

.seo-service-detail-item .seo-service-cta {
    display: inline-block;
}

@media (max-width: 600px) {
    .seo-service-detail-item {
        padding: 28px 20px;
    }
    .seo-service-detail-head {
        gap: 14px;
    }
    .seo-service-detail-num {
        width: 34px;
        height: 34px;
        font-size: 0.95rem;
    }
}

/* ========== Mobile fixes (comprehensive) ========== */
@media (max-width: 768px) {

    /* Hero: h2 left bar offset */
    .lp-section h2::before {
        left: -16px;
    }

    /* Fail visual: stack vertically */
    .seo-fail-visual {
        grid-template-columns: 1fr !important;
        padding: 32px 24px;
        gap: 16px;
        text-align: center;
    }
    .seo-fail-arrow {
        transform: rotate(90deg);
    }
    .seo-fail-big-num {
        font-size: clamp(56px, 12vw, 80px) !important;
    }
    .seo-fail-num-block:nth-child(3) .seo-fail-big-num {
        font-size: clamp(64px, 14vw, 100px) !important;
    }

    /* Compare: stack vertically */
    .seo-compare-2col {
        grid-template-columns: 1fr;
    }
    .seo-compare-left {
        border-radius: 8px 8px 0 0;
    }
    .seo-compare-right {
        border-radius: 0 0 8px 8px;
        border-left: none;
        border-top: 4px solid var(--color-success);
    }

    /* Service detail: 1 column */
    .seo-service-detail {
        grid-template-columns: 1fr;
    }

    /* Service detail 2col (spec sidebar) */
    .seo-service-detail-2col {
        grid-template-columns: 1fr;
    }

    /* Flow v2: 1 column */
    .seo-flow-v2 {
        grid-template-columns: 1fr;
    }

    /* Chart grids: stack */
    .lp-sec-dark .lp-grid-2 {
        grid-template-columns: 1fr;
    }

    /* Spark examples: stack */
    .ai-spark-examples {
        grid-template-columns: 1fr;
    }

    /* Case v2 metrics: wrap */
    .ai-case-v2-metrics {
        flex-wrap: wrap;
    }
    .ai-case-v2-metric {
        min-width: 45%;
    }

    /* Hero numbers: wrap nicely */
    .seo-hero-numbers {
        flex-wrap: wrap;
        justify-content: center;
    }
    .seo-hero-stat {
        padding: 0 20px;
    }
    .seo-hero-stat:first-child {
        padding-left: 20px;
    }
    .seo-hero-stat .num {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    /* Before-after list */
    .ai-ba-row {
        grid-template-columns: 1fr;
        gap: 4px;
        text-align: left;
    }
    .ai-ba-before { text-align: left; }
    .ai-ba-arrow { display: none; }
    .ai-ba-after::before {
        content: '→ ';
        color: var(--color-primary);
    }

    /* Core message block */
    .ai-core-message {
        padding: 32px 20px;
    }

    /* Section padding reduce */
    .lp-pad-xl {
        padding-top: clamp(64px, 10vw, 100px);
        padding-bottom: clamp(64px, 10vw, 100px);
    }

    /* Big text */
    .seo-big-text {
        font-size: 20px !important;
    }

    /* Cost table scroll */
    .seo-cost-table {
        display: block;
        overflow-x: auto;
    }

    /* Result grid */
    .seo-results-grid {
        grid-template-columns: 1fr 1fr;
    }
    .seo-result-card {
        padding: 28px 12px;
    }
}

@media (max-width: 480px) {
    /* Hero: tighter */
    .seo-hero h1 {
        font-size: clamp(28px, 7vw, 36px);
    }
    .seo-hero-inner {
        padding: 40px 16px 32px;
        grid-template-columns: 1fr;
    }
    .seo-hero-text {
        text-align: center;
    }
    .seo-hero-cta {
        justify-content: center;
    }
    .seo-hero-visual {
        margin-top: 24px;
    }

    /* Numbers single row */
    .seo-hero-stat {
        padding: 0 16px;
    }
    .seo-hero-stat .num {
        font-size: clamp(1.8rem, 7vw, 2.4rem);
    }
    .seo-hero-stat .label {
        font-size: 0.7rem;
    }

    /* Fail visual: compact */
    .seo-fail-visual {
        padding: 24px 16px;
    }

    /* Final CTA */
    .seo-final-cta--v2 {
        padding: 48px 16px;
    }
    .seo-final-cta--v2 h2 {
        font-size: clamp(24px, 6vw, 32px);
    }

    /* Mid CTA */
    .lp-mid-cta h3 {
        font-size: clamp(20px, 5vw, 28px);
    }

    /* Pattern cards */
    .seo-pattern-cards {
        grid-template-columns: 1fr;
    }

    /* Case cards */
    .seo-case-cards {
        grid-template-columns: 1fr;
    }

    /* Screenshot max-width reset */
    .seo-screenshot {
        max-width: 100%;
    }
}


/* --- インタビューページ --- */
/* ===== Interview Page ===== */

/* --- Hero --- */
.iv-hero {
    position: relative;
    width: 100%;
    min-height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.iv-hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1553877522-43269d4ea984?w=1920&q=80') center/cover no-repeat;
    z-index: 0;
}

.iv-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 30, 0.55);
}

.iv-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: clamp(56px, 10vw, 96px) clamp(20px, 5vw, 48px);
    text-align: center;
    color: #fff;
}

.iv-hero h1 {
    font-size: clamp(30px, 5.5vw, 52px);
    line-height: 1.35;
    font-weight: 800;
    margin: 0 0 18px;
    color: #fff;
}

.iv-hero-sub {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: rgba(255,255,255,0.85);
    margin: 0 0 28px;
    line-height: 1.8;
}

.iv-hero-link {
    display: inline-block;
    padding: 12px 24px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    transition: background 0.2s;
}

.iv-hero-link:hover {
    background: rgba(255,255,255,0.25);
    color: #fff;
}

/* --- Main content wrapper --- */
.iv-body {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 32px);
}

/* --- Intro --- */
.iv-intro {
    padding: clamp(36px, 5vw, 56px) 0;
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--color-body);
    border-bottom: 1px solid #eee;
}

/* --- Section labels --- */
.iv-section-label {
    margin: clamp(40px, 5vw, 56px) 0 0;
    padding: 12px 20px;
    background: var(--color-text);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    border-bottom: none;
    display: inline-block;
}

/* --- Q&A blocks --- */
.iv-qa {
    padding: clamp(28px, 4vw, 40px) 0;
    border-bottom: 1px solid #eee;
}

.iv-qa:last-child {
    border-bottom: none;
}

.iv-question {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.45;
    margin: 0 0 20px;
}

.iv-question .iv-qnum {
    color: var(--color-primary);
    font-weight: 700;
    margin-right: 6px;
}

.iv-answer {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--color-body);
}

.iv-answer p {
    margin: 0 0 14px;
}

.iv-answer p:last-child {
    margin-bottom: 0;
}

.iv-answer strong {
    color: var(--color-text);
}

/* --- Blockquote (used sparingly) --- */
.iv-blockquote {
    margin: 36px 0;
    padding: 20px 24px;
    border-left: 3px solid var(--color-primary);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.7;
    color: var(--color-text);
    background: none;
}

/* --- CTA --- */
.iv-cta {
    width: 100%;
    background: var(--color-primary);
    padding: clamp(48px, 7vw, 72px) clamp(20px, 4vw, 32px);
}

.iv-cta-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
}

.iv-cta-inner h2 {
    color: #fff;
    font-size: clamp(24px, 4vw, 36px);
    margin: 0 0 14px;
    font-weight: 800;
}

.iv-cta-inner p {
    color: rgba(255,255,255,0.9);
    margin: 0 0 28px;
    line-height: 1.8;
    font-size: 1.02rem;
}

.iv-cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.iv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: opacity 0.2s;
}

.iv-btn:hover {
    opacity: 0.85;
}

.iv-btn-white {
    background: #fff;
    color: var(--color-primary);
}

.iv-btn-white:hover {
    background: #f5f5f5;
    color: var(--color-primary);
}

.iv-btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
}

.iv-btn-outline:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

/* --- Related links --- */
.iv-related {
    max-width: 900px;
    margin: 0 auto;
    padding: clamp(32px, 5vw, 48px) clamp(20px, 4vw, 32px);
}

.iv-related h2 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 16px;
    letter-spacing: 0.06em;
}

.iv-related ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.iv-related li a {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #ddd;
    color: var(--color-body);
    text-decoration: none;
    font-size: 0.88rem;
    transition: border-color 0.2s, color 0.2s;
}

.iv-related li a:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* --- Responsive --- */
@media (max-width: 600px) {
    .iv-hero { min-height: 360px; }
    .iv-hero-inner { padding: 44px 16px; }
    .iv-question { font-size: 1.05rem; }
    .iv-blockquote { padding: 16px 18px; font-size: 1rem; }

    .iv-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .iv-btn {
        width: 100%;
        max-width: 280px;
    }
}


/* --- AI活用ページ --- */
/* ===== AI LP ===== */

/* ---------- Utility classes ---------- */
.lp-lead {
    font-size: 1.15rem;
    max-width: 720px;
}

.mt-0 { margin-top: 0; }

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

.icon-left { margin-right: 8px; }

.lp-caption {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 12px;
}

.lp-muted-sm {
    font-size: 0.8rem;
    color: #aaa;
}

.mt-16 { margin-top: 16px; }

/* --- Hero fact cards --- */
/* Hero list (AI page) */
.ai-hero-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ai-hero-list li {
    padding: 12px 0;
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    line-height: 1.6;
}

.ai-hero-list li:last-child {
    border-bottom: none;
}

.ai-hero-list li strong {
    color: #fff;
}

/* Before → After list (AI page) */
.ai-before-after-list {
    margin: 32px 0;
}

.ai-ba-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 16px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

.ai-ba-row:last-child {
    border-bottom: none;
}

.ai-ba-before {
    font-size: 0.95rem;
    color: #999;
    text-decoration: line-through;
    text-align: right;
}

.ai-ba-arrow {
    font-size: 1.2rem;
    color: var(--color-primary);
    font-weight: 900;
}

.ai-ba-after {
    font-size: 0.95rem;
    color: var(--color-text);
    font-weight: 600;
}

@media (max-width: 600px) {
    .ai-ba-row {
        grid-template-columns: 1fr;
        gap: 4px;
        text-align: left;
    }
    .ai-ba-before {
        text-align: left;
    }
    .ai-ba-arrow {
        display: none;
    }
    .ai-ba-after::before {
        content: '→ ';
        color: var(--color-primary);
    }
}

/* ---------- Core message block (AI page) ---------- */
.ai-core-message {
    background: var(--color-dark);
    border-radius: 12px;
    padding: 56px 48px;
    margin: 48px 0 40px;
    text-align: center;
}

.ai-core-lead {
    color: rgba(255,255,255,0.8) !important;
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    line-height: 1.8;
    margin: 0 auto !important;
    max-width: 640px;
    text-align: center;
}

.ai-core-message .ai-core-lead strong {
    color: #fff !important;
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    display: block;
    margin: 8px 0;
}

/* ---------- Spark examples ---------- */
.ai-spark-examples {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 0 0 40px;
}

.ai-spark-item {
    background: var(--color-bg-light);
    border-radius: 8px;
    padding: 32px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ai-spark-label {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    color: #999;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.ai-spark-item p {
    font-size: 0.92rem !important;
    color: var(--color-body) !important;
    font-weight: 500;
    margin: 0 0 16px !important;
    line-height: 1.6;
}

.ai-spark-arrow {
    display: block;
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 12px;
}

.ai-spark-result {
    display: inline-block;
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.01em;
}

.ai-core-tagline {
    font-size: 1.05rem !important;
    text-align: center;
    color: var(--color-body) !important;
}

.ai-core-tagline strong {
    color: var(--color-text);
}

@media (max-width: 600px) {
    .ai-core-message {
        padding: 40px 24px;
    }
    .ai-spark-examples {
        grid-template-columns: 1fr;
    }
}

/* ---------- Case v2 (AI page) ---------- */
.ai-case-v2 {
    padding: 48px 0;
    border-top: 1px solid #eee;
}

.ai-case-v2:first-of-type {
    border-top: none;
    padding-top: 0;
}

.ai-case-v2-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 24px;
}

.ai-case-v2-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.ai-case-v2-header h3 {
    margin: 0 0 4px;
    font-size: 1.3rem;
}

.ai-case-v2-tagline {
    font-size: 0.88rem !important;
    color: #999 !important;
    margin: 0 !important;
}

.ai-case-v2-metrics {
    display: flex;
    gap: 0;
    margin-bottom: 24px;
    background: var(--color-bg-light);
    border-radius: 8px;
    overflow: hidden;
}

.ai-case-v2-metric {
    flex: 1;
    text-align: center;
    padding: 20px 16px;
    position: relative;
}

.ai-case-v2-metric:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(0,0,0,0.08);
}

.ai-case-v2-metric-num {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.ai-case-v2-metric-unit {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.4em;
    font-weight: 600;
    color: #999;
}

.ai-case-v2-metric-pre {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.5em;
    font-weight: 600;
    color: #999;
}

.ai-case-v2-metric-val {
    font-family: 'Oswald', sans-serif;
}

.ai-case-v2-metric-label {
    display: block;
    font-size: 0.72rem;
    color: #999;
    margin-top: 6px;
}

.ai-case-v2-body p {
    font-size: 1rem;
    line-height: 2.0;
    color: #444;
    margin-bottom: 16px;
}

.ai-case-v2-aside {
    background: var(--color-bg-light);
    border-radius: 6px;
    padding: 20px 24px;
    font-size: 0.92rem !important;
    color: #666 !important;
    margin-top: 20px;
}

@media (max-width: 600px) {
    .ai-case-v2-metrics {
        flex-wrap: wrap;
    }
    .ai-case-v2-metric {
        min-width: 50%;
    }
    .ai-case-v2-num {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

.ai-hero-facts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.ai-hero-fact {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 6px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.ai-hero-fact i {
    font-size: 1.6rem;
    color: #6ee7a0;
    flex-shrink: 0;
}

.ai-hero-fact .fact-text {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
}

.ai-hero-fact .fact-text strong {
    color: #fff;
}

/* ---------- Email demo ---------- */
.ai-email-demo {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    margin: 28px 0;
}

.ai-email-demo-header {
    background: #f5f5f5;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #e0e0e0;
}

.ai-email-demo-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.ai-email-demo-header .dot-r { background: #e74c3c; }
.ai-email-demo-header .dot-y { background: #f1c40f; }
.ai-email-demo-header .dot-g { background: #27ae60; }

.ai-email-demo-header span {
    margin-left: 8px;
    font-size: 0.82rem;
    color: #888;
}

.ai-email-demo-body {
    padding: 24px;
}

.ai-email-demo-subject {
    font-size: 0.95rem;
    color: var(--color-text);
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.ai-email-demo-subject .ai-badge {
    display: inline-block;
    background: #27ae60;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 3px;
    margin-right: 8px;
}

.ai-email-demo-content {
    font-size: 0.85rem;
    color: var(--color-body);
    line-height: 1.8;
}

.ai-email-demo-content p {
    margin: 0 0 12px;
}

.ai-email-demo-content p:last-child {
    margin-bottom: 0;
}

.ai-email-demo-content .ai-highlight {
    color: #2563eb;
    font-weight: 600;
}

/* ---------- Possibility cards ---------- */
.ai-possibility-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 32px 0;
}

.ai-possibility-card {
    background: #fff;
    border-radius: 8px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid #eee;
    transition: all 0.2s;
}

.ai-possibility-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.ai-possibility-card .possibility-icon {
    width: 56px;
    height: 56px;
    background: #fdf5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.ai-possibility-card .possibility-icon i {
    font-size: 1.4rem;
    color: var(--color-primary);
}

.ai-possibility-card .possibility-before {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 8px;
    text-decoration: line-through;
}

.ai-possibility-card .possibility-after {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 8px;
}

.ai-possibility-card .possibility-desc {
    font-size: 0.85rem;
    color: #888;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .ai-possibility-cards {
        grid-template-columns: 1fr;
    }
}

/* ---------- Case study block ---------- */
.ai-case {
    margin: 48px 0;
    padding: 48px 0;
    border-top: 1px solid #eee;
}

.ai-case:first-of-type {
    margin-top: 28px;
    border-top: none;
    padding-top: 0;
}

.ai-case-num {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.ai-case h3 {
    font-size: clamp(1.2rem, 2.8vw, 1.6rem);
    font-weight: 800;
    color: var(--color-text);
    margin: 0 0 20px;
    line-height: 1.4;
}

.ai-case-metrics {
    display: flex;
    gap: 16px;
    margin: 24px 0;
    flex-wrap: wrap;
}

.ai-case-metric {
    background: var(--color-bg-cream);
    border-radius: 6px;
    padding: 20px 24px;
    text-align: center;
    min-width: 120px;
    flex: 1;
}

.ai-case-metric .metric-num {
    display: block;
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1.1;
}

.ai-case-metric .metric-label {
    display: block;
    font-size: 0.72rem;
    color: #888;
    margin-top: 6px;
}

/* ---------- Comparison table ---------- */
.ai-compare {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    margin: 28px 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
}

.ai-compare-col {
    padding: 28px 20px;
}

.ai-compare-col:first-child { background: var(--color-bg-cream); }
.ai-compare-col:nth-child(2) { background: #fdf5f5; }
.ai-compare-col:last-child { background: #f2f9f2; border-left: 3px solid #27ae60; }

.ai-compare-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #999;
    margin: 0 0 16px;
    letter-spacing: 0.05em;
}

.ai-compare-col:last-child h4 { color: #27ae60; }

.ai-compare-col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ai-compare-col ul li {
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--color-body);
    line-height: 1.6;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.ai-compare-col ul li:last-child { border-bottom: none; }

@media (max-width: 768px) {
    .ai-compare { grid-template-columns: 1fr; }
    .ai-compare-col:last-child { border-left: none; border-top: 3px solid #27ae60; }
}

/* ---------- Service cards ---------- */
.ai-service-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 28px 0;
}

.ai-service-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 36px 24px;
    text-align: center;
    transition: all 0.2s;
}

.ai-service-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.ai-service-card i {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.ai-service-card h4 {
    font-size: 1.1rem;
    color: #333;
    margin: 0 0 8px;
    font-weight: 700;
}

.ai-service-card p {
    font-size: 0.9rem;
    color: #777;
    margin: 0;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .ai-service-cards { grid-template-columns: 1fr; }
}

/* ---------- Dark section overrides for AI components ---------- */
.lp-navy .seo-quote,
.lp-dark-warm .seo-quote {
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.9);
}

.lp-navy .seo-quote::before,
.lp-dark-warm .seo-quote::before {
    color: rgba(255,255,255,0.1);
}

.lp-navy .seo-quote-author,
.lp-dark-warm .seo-quote-author { color: rgba(255,255,255,0.5); }

.lp-navy .seo-episode { background: rgba(255,255,255,0.06); }
.lp-navy .seo-episode-label { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.7); }
.lp-dark-warm .seo-episode { background: rgba(255,255,255,0.06); }
.lp-dark-warm .seo-episode-label { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.7); }

.lp-navy h2::before,
.lp-dark-warm h2::before {
    background: rgba(255,255,255,0.3);
}

.lp-navy .seo-insight-list li { color: rgba(255,255,255,0.82); border-bottom-color: rgba(255,255,255,0.08); }
.lp-navy .seo-insight-list li::before { color: rgba(255,255,255,0.4); }
.lp-dark-warm .seo-insight-list li { color: rgba(255,255,255,0.82); border-bottom-color: rgba(255,255,255,0.08); }
.lp-dark-warm .seo-insight-list li::before { color: rgba(255,255,255,0.4); }

/* ---------- FAQ ---------- */
.sv-faq {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.sv-faq-item {
    border-bottom: 1px solid #eee;
    padding: 24px 0;
}

.sv-faq-item:first-child {
    border-top: 1px solid #eee;
}

.sv-faq-q {
    font-weight: 700;
    font-size: 1rem;
    color: #1a1a2e;
    margin: 0 0 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.sv-faq-q::before {
    content: "Q";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #b11920;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.sv-faq-a {
    font-size: 0.92rem;
    line-height: 1.8;
    color: #555;
    margin: 0;
    padding-left: 38px;
}

.sv-faq-a::before {
    content: "A. ";
    font-weight: 700;
    color: #1a1a2e;
}

/* ---------- AI page responsive ---------- */
@media (max-width: 600px) {
    .ai-case-metrics {
        flex-direction: column;
    }
}
