/* ============================================================
   スポット事務代行 LP スタイル
   page-spot.php 専用（全セレクタ #spotlp 配下にスコープ）
   marketing.css（#mrlp）と同じ設計方針：
   ・テーマ共通CSSと干渉しないようスコープ
   ・レスポンシブ対応（clamp / Flexbox / Grid + メディアクエリ）
   ・AIO / GEO / SEO 対策（構造化データはpage-spot.php側で出力）
   ============================================================ */

#spotlp {
    --navy: #0f2742;
    --navy2: #16345f;
    --blue: #1d6fe0;
    --green: #14bb82;
    --green-d: #0c9c6c;
    --ink: #303030;
    --sub: #6b7280;
    --line: #e4e9f0;
    --bg-soft: #f5f8fc;
    --bg-soft2: #eef4fb;
    --white: #fff;
    --radius: 18px;
    --shadow: 0 18px 50px rgba(15, 39, 66, .10);
    --shadow-sm: 0 4px 16px rgba(15, 39, 66, .06);
    --maxw: 1080px;
    box-sizing: border-box;
    color: var(--ink);
    font-family: "Noto Sans JP", "Noto Serif JP", sans-serif;
    line-height: 1.85;
    -webkit-font-smoothing: antialiased;
    font-size: 16px;
}

#spotlp *,
#spotlp *::before,
#spotlp *::after {
    box-sizing: border-box;
}

#spotlp img {
    max-width: 100%;
    height: auto;
    display: block;
}

#spotlp a {
    color: inherit;
    text-decoration: none;
}

#spotlp ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 視覚的に隠すが、検索エンジン・AI・スクリーンリーダーには読める（AEO/GEO・アクセシビリティ用） */
#spotlp .sl-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

#spotlp .sl-wrap {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}

#spotlp section {
    padding: 96px 0;
}

#spotlp .sl-bg-soft {
    background: var(--bg-soft);
}

/* ===== 見出し共通 ===== */
#spotlp .sl-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--green-d);
    background: rgba(20, 187, 130, .1);
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 18px;
}

#spotlp .sl-eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    display: inline-block;
}

#spotlp .sl-h2 {
    font-family: "Noto Serif JP", serif;
    font-size: clamp(24px, 4.2vw, 34px);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.6;
    letter-spacing: .01em;
    margin: 0;
}

#spotlp .sl-lead {
    color: var(--sub);
    font-size: 15.5px;
    margin-top: 14px;
    line-height: 2;
}

#spotlp .sl-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

/* ===== ボタン ===== */
#spotlp .sl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 17px 40px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15.5px;
    letter-spacing: .04em;
    cursor: pointer;
    transition: all .25s ease;
    white-space: nowrap;
}

#spotlp .sl-btn-primary {
    background: linear-gradient(135deg, var(--green-d), var(--green));
    color: var(--white);
    box-shadow: 0 10px 24px rgba(20, 187, 130, .3);
}

#spotlp .sl-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(20, 187, 130, .4);
}

#spotlp .sl-btn-ghost {
    background: var(--white);
    color: var(--navy2);
    border: 1.5px solid var(--line);
}

#spotlp .sl-btn-ghost:hover {
    border-color: var(--navy2);
    background: var(--bg-soft);
}

#spotlp .sl-btn-on-dark {
    background: var(--white);
    color: var(--navy);
}

#spotlp .sl-btn-on-dark:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .25);
}

#spotlp .sl-btn-arrow {
    font-size: 14px;
    transition: transform .25s ease;
}

#spotlp .sl-btn:hover .sl-btn-arrow {
    transform: translateX(4px);
}

#spotlp .sl-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===== ヒーロー ===== */
#spotlp .sl-hero {
    position: relative;
    padding: 168px 0 110px;
    background:
        radial-gradient(ellipse 900px 500px at 88% -10%, rgba(20, 187, 130, .12), transparent 60%),
        radial-gradient(ellipse 700px 500px at -10% 30%, rgba(15, 39, 66, .06), transparent 60%),
        var(--bg-soft);
    overflow: hidden;
}

#spotlp .sl-hero::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -160px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(20, 187, 130, .16), rgba(20, 187, 130, .04));
}

#spotlp .sl-hero::after {
    content: "";
    position: absolute;
    bottom: -180px;
    left: -120px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(15, 39, 66, .08), rgba(15, 39, 66, .02));
}

#spotlp .sl-hero .sl-wrap {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 60px;
    align-items: center;
}

#spotlp .sl-hero-copy .sl-eyebrow {
    background: rgba(255, 255, 255, .75);
}

#spotlp .sl-hero-title {
    font-family: "Noto Serif JP", serif;
    font-size: clamp(28px, 4.2vw, 44px);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.55;
    letter-spacing: .01em;
    margin: 0;
}

#spotlp .sl-hero-title .sl-accent {
    color: var(--green-d);
    white-space: nowrap;
}

#spotlp .sl-hero-desc {
    margin-top: 26px;
    font-size: 15.5px;
    color: var(--sub);
    line-height: 2.05;
    max-width: 480px;
}

#spotlp .sl-hero-actions {
    margin-top: 38px;
}

#spotlp .sl-hero-trust {
    margin-top: 44px;
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

#spotlp .sl-hero-trust div {
    font-size: 12.5px;
    color: var(--sub);
}

#spotlp .sl-hero-trust strong {
    display: block;
    font-family: "Noto Serif JP", serif;
    font-size: 24px;
    color: var(--navy);
    font-weight: 700;
}

#spotlp .sl-hero-visual {
    position: relative;
}

#spotlp .sl-hero-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 34px 30px;
    position: relative;
    z-index: 2;
}

#spotlp .sl-hero-card-top {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 20px;
}

#spotlp .sl-hero-card-top .sl-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--green);
}

#spotlp .sl-hero-card-top span {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy2);
    letter-spacing: .04em;
}

#spotlp .sl-hero-task {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 13.5px;
    color: var(--ink);
}

#spotlp .sl-hero-task:last-child {
    border-bottom: none;
}

#spotlp .sl-hero-task .sl-ic {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--bg-soft2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy2);
    flex-shrink: 0;
    font-size: 15px;
}

#spotlp .sl-hero-task .sl-check {
    margin-left: auto;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(20, 187, 130, .14);
    color: var(--green-d);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}

#spotlp .sl-hero-float-badge {
    position: absolute;
    right: -18px;
    bottom: -65px;
    background: var(--navy);
    color: var(--white);
    border-radius: 16px;
    padding: 18px 22px;
    box-shadow: 0 14px 30px rgba(15, 39, 66, .35);
    z-index: 3;
    min-width: 180px;
}

#spotlp .sl-hero-float-badge .sl-num {
    font-family: "Noto Serif JP", serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--green);
}

#spotlp .sl-hero-float-badge .sl-lbl {
    font-size: 11.5px;
    color: rgba(255, 255, 255, .75);
    margin-top: 2px;
}

/* ===== 帯（対応業務スクロール） ===== */
#spotlp .sl-strip {
    background: var(--navy);
    padding: 16px 0;
    overflow: hidden;
}

#spotlp .sl-strip-track {
    display: flex;
    gap: 56px;
    white-space: nowrap;
    animation: sl-scroll-left 26s linear infinite;
    width: max-content;
    /* iOS Safari で transform アニメが止まる/カクつくのを防ぐ（GPU 昇格） */
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

#spotlp .sl-strip-track span {
    color: rgba(255, 255, 255, .55);
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: .06em;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

#spotlp .sl-strip-track span::before {
    content: "✦";
    color: var(--green);
}

@keyframes sl-scroll-left {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    /* 帯は装飾（点滅なし・横に流れるだけ）のため、iOS「視差効果を減らす」でも動かし続ける */
    #spotlp .sl-strip-track {
        animation: sl-scroll-left 26s linear infinite;
    }
}

/* ===== お悩み ===== */
#spotlp .sl-pain-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

#spotlp .sl-pain-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 32px 24px;
    text-align: center;
    transition: all .25s ease;
}

#spotlp .sl-pain-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-sm);
    border-color: transparent;
}

#spotlp .sl-pain-card .sl-ic {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    border-radius: 16px;
    background: var(--bg-soft2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

#spotlp .sl-pain-card p {
    font-size: 14.5px;
    color: var(--ink);
    font-weight: 500;
    line-height: 1.75;
    margin: 0;
}

#spotlp .sl-pain-bridge {
    margin-top: 56px;
    text-align: center;
    background: linear-gradient(135deg, var(--navy), var(--navy2));
    color: var(--white);
    border-radius: var(--radius);
    padding: 44px 40px;
    position: relative;
    overflow: hidden;
}

#spotlp .sl-pain-bridge::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(20, 187, 130, .18);
}

#spotlp .sl-pain-bridge p {
    position: relative;
    font-size: 17px;
    font-weight: 500;
    line-height: 2;
    max-width: 680px;
    margin: 0 auto;
}

#spotlp .sl-pain-bridge strong {
    color: var(--green);
}

/* ===== 選ばれる理由 ===== */
#spotlp .sl-value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

#spotlp .sl-value-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 38px 30px;
}

#spotlp .sl-value-card .sl-num {
    font-family: "Noto Serif JP", serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--green-d);
    letter-spacing: .1em;
}

#spotlp .sl-value-card h3 {
    margin: 14px 0 0;
    font-size: 19px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.6;
}

#spotlp .sl-value-card p {
    margin: 14px 0 0;
    font-size: 14px;
    color: var(--sub);
    line-height: 1.95;
}

#spotlp .sl-value-card .sl-line {
    width: 36px;
    height: 3px;
    background: var(--green);
    border-radius: 2px;
    margin-top: 20px;
}

/* ===== 流れ ===== */
#spotlp .sl-flow-list {
    position: relative;
}

#spotlp .sl-flow-list::before {
    content: "";
    position: absolute;
    left: 39px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: repeating-linear-gradient(to bottom, var(--line) 0 8px, transparent 8px 16px);
}

#spotlp .sl-flow-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 28px;
    position: relative;
    margin-bottom: 44px;
}

#spotlp .sl-flow-item:last-child {
    margin-bottom: 0;
}

#spotlp .sl-flow-num {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: "Noto Serif JP", serif;
    font-weight: 700;
    font-size: 22px;
    box-shadow: 0 8px 20px rgba(15, 39, 66, .25);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

#spotlp .sl-flow-num span {
    font-size: 9px;
    font-weight: 500;
    letter-spacing: .1em;
    color: var(--green);
    margin-bottom: 2px;
}

#spotlp .sl-flow-body {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 28px 30px;
}

#spotlp .sl-flow-body h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

#spotlp .sl-flow-body h3 .sl-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--green-d);
    background: rgba(20, 187, 130, .1);
    padding: 4px 10px;
    border-radius: 999px;
    letter-spacing: .04em;
}

#spotlp .sl-flow-body p {
    margin: 12px 0 0;
    font-size: 14.5px;
    color: var(--sub);
}

#spotlp .sl-flow-tracks {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

#spotlp .sl-flow-tracks span {
    font-size: 12.5px;
    background: var(--bg-soft2);
    color: var(--navy2);
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 500;
    display: inline-block;
}

#spotlp .sl-flow-note {
    margin-top: 14px;
    font-size: 12.5px;
    color: var(--sub);
    background: var(--bg-soft);
    border-left: 3px solid var(--green);
    padding: 10px 14px;
    border-radius: 6px;
}

/* ===== 料金 ===== */
#spotlp .sl-price-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 820px;
    margin: 0 auto;
}

#spotlp .sl-price-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 38px 32px;
    text-align: center;
    position: relative;
}

#spotlp .sl-price-card.is-main {
    border-color: var(--green);
    box-shadow: 0 16px 34px rgba(20, 187, 130, .16);
}

#spotlp .sl-price-card .sl-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--green-d);
    color: var(--white);
    font-size: 11.5px;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 999px;
    letter-spacing: .05em;
}

#spotlp .sl-price-card .sl-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy2);
    letter-spacing: .04em;
}

#spotlp .sl-price-card .sl-amount {
    margin-top: 16px;
    font-family: "Noto Serif JP", serif;
    font-size: 44px;
    font-weight: 700;
    color: var(--navy);
}

#spotlp .sl-price-card .sl-amount sub {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--sub);
}

#spotlp .sl-price-card .sl-desc {
    margin-top: 14px;
    font-size: 13px;
    color: var(--sub);
    line-height: 1.9;
}

#spotlp .sl-price-foot {
    max-width: 820px;
    margin: 36px auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

#spotlp .sl-price-foot .sl-box {
    background: var(--bg-soft);
    border-radius: 14px;
    padding: 22px 24px;
}

#spotlp .sl-price-foot .sl-box h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

#spotlp .sl-price-foot .sl-box h4::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green-d);
}

#spotlp .sl-price-foot .sl-box p {
    margin: 10px 0 0;
    font-size: 12.5px;
    color: var(--sub);
    line-height: 1.85;
}

#spotlp .sl-price-note {
    text-align: center;
    margin-top: 28px;
    font-size: 12.5px;
    color: var(--sub);
}

/* ===== FAQ ===== */
#spotlp .sl-faq-list {
    max-width: 760px;
    margin: 0 auto;
}

#spotlp .sl-faq-item {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    margin-bottom: 14px;
    overflow: hidden;
}

#spotlp .sl-faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 54px 20px 22px;
    position: relative;
    font-weight: 700;
    color: var(--navy);
    font-size: 15.5px;
}

#spotlp .sl-faq-item summary::-webkit-details-marker {
    display: none;
}

#spotlp .sl-faq-item summary::before {
    content: "Q";
    color: var(--green-d);
    font-weight: 900;
    margin-right: 10px;
}

#spotlp .sl-faq-item summary::after {
    content: "+";
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--green-d);
    font-weight: 300;
    transition: transform .2s;
}

#spotlp .sl-faq-item[open] summary::after {
    content: "\2013";
}

#spotlp .sl-faq-item .sl-faq-a {
    padding: 0 22px 20px;
    color: var(--sub);
    font-size: 14.5px;
}

#spotlp .sl-faq-item .sl-faq-a::before {
    content: "A";
    color: var(--navy2);
    font-weight: 900;
    margin-right: 10px;
}

/* ===== 最終CTA ===== */
#spotlp .sl-final {
    background:
        radial-gradient(800px 400px at 80% 0%, rgba(20, 187, 130, .22), transparent 60%),
        linear-gradient(160deg, var(--navy), var(--navy2));
    color: var(--white);
    text-align: center;
}

#spotlp .sl-final .sl-eyebrow {
    background: rgba(255, 255, 255, .1);
    color: var(--green);
}

#spotlp .sl-final h2 {
    font-family: "Noto Serif JP", serif;
    color: #fff;
    font-size: clamp(26px, 4.4vw, 38px);
    font-weight: 700;
    margin: 0;
    line-height: 1.6;
}

#spotlp .sl-final p {
    color: rgba(255, 255, 255, .78);
    max-width: 520px;
    margin: 22px auto 0;
    font-size: 15px;
    line-height: 2;
}

#spotlp .sl-final .sl-actions {
    justify-content: center;
    margin-top: 40px;
}

#spotlp .sl-final .sl-btn-ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, .3);
    color: var(--white);
}

#spotlp .sl-final .sl-btn-ghost:hover {
    background: rgba(255, 255, 255, .08);
    border-color: var(--white);
}

/* ===== スクロールリビール ===== */
#spotlp .sl-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}

#spotlp .sl-reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    #spotlp .sl-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ===== レスポンシブ ===== */
@media (max-width: 960px) {
    #spotlp .sl-hero .sl-wrap {
        grid-template-columns: 1fr;
    }

    #spotlp .sl-hero-visual {
        max-width: 420px;
        margin: 40px auto 0;
    }

    #spotlp .sl-pain-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    #spotlp .sl-value-grid {
        grid-template-columns: 1fr;
    }

    #spotlp section {
        padding: 72px 0;
    }
}

@media (max-width: 640px) {
    #spotlp .sl-pain-grid {
        grid-template-columns: 1fr 1fr;
    }

    #spotlp .sl-price-wrap,
    #spotlp .sl-price-foot {
        grid-template-columns: 1fr;
    }

    #spotlp .sl-flow-item {
        grid-template-columns: 56px 1fr;
        gap: 16px;
    }

    #spotlp .sl-flow-num {
        width: 56px;
        height: 56px;
        font-size: 16px;
    }

    #spotlp .sl-flow-list::before {
        left: 27px;
    }

    #spotlp .sl-hero {
        padding: 140px 0 72px;
    }

    #spotlp .sl-hero-actions .sl-btn,
    #spotlp .sl-final .sl-btn {
        width: 100%;
    }

    #spotlp .sl-final .sl-actions {
        flex-direction: column;
    }
}
