/* ==========================================================================
   pullcass 告知LP + お問い合わせ 共通デザインシステム
   - ライトモード / プルキャス紫（#7c3aed）基調
   - 管理画面（manage.css）とトンマナ統一
   - Apple 公式サイト風：白/濃紫の交互構成・大胆な余白・段階的な魅せ方
   - すべての操作要素にトランジション（§10.1 準拠）
   仕様書: docs/告知HP刷新_仕様書.md
   ========================================================================== */

:root {
    /* ブランド紫（manage.css ライトモードと統一） */
    --pc-primary: #7c3aed;
    --pc-primary-dark: #5b21b6;
    --pc-primary-light: #a78bfa;
    --pc-primary-bg: rgba(124, 58, 237, 0.08);
    --pc-primary-bg-strong: rgba(124, 58, 237, 0.14);
    --pc-primary-border: rgba(124, 58, 237, 0.22);
    --pc-gradient: linear-gradient(135deg, #7c3aed 0%, #de54f8 100%);
    --pc-gradient-hover: linear-gradient(135deg, #5b21b6 0%, #c040d9 100%);

    /* 背景 */
    --pc-bg: #ffffff;
    --pc-bg-alt: #f5f5f7;
    --pc-bg-dark: #150d28;
    --pc-bg-dark2: #2a1a4a;

    /* テキスト */
    --pc-text: #1d1d1f;
    --pc-text-sub: #6e6e73;
    --pc-text-inv: #ffffff;
    --pc-text-inv-sub: rgba(255, 255, 255, 0.72);

    /* 罫線・影 */
    --pc-border: rgba(0, 0, 0, 0.08);
    --pc-border-strong: rgba(0, 0, 0, 0.12);
    --pc-shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --pc-shadow-card: 0 6px 28px rgba(0, 0, 0, 0.07);
    --pc-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
    --pc-shadow-primary: 0 12px 30px rgba(124, 58, 237, 0.28);

    /* レイアウト */
    --pc-container: 1120px;
    --pc-radius: 18px;
    --pc-radius-lg: 26px;
    --pc-radius-pill: 980px;

    /* トランジション（Apple 的イージング） */
    --pc-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --pc-transition: all 0.25s var(--pc-ease);

    --pc-font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo",
        -apple-system, BlinkMacSystemFont, sans-serif;

    /* スティッキーヘッダー分のアンカースクロール余白 */
    --lp-header-offset: 72px;
}

/* スマホのみ改行 */
.sp-br { display: none; }

@media (max-width: 720px) {
    .sp-br { display: inline; }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--lp-header-offset);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--pc-font);
    background: var(--pc-bg);
    color: var(--pc-text);
    line-height: 1.7;
    letter-spacing: 0.01em;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

a {
    color: var(--pc-primary);
    text-decoration: none;
    transition: var(--pc-transition);
}

img {
    max-width: 100%;
    display: block;
}

:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--pc-primary-bg-strong), 0 0 0 1.5px var(--pc-primary);
    border-radius: 6px;
}

/* ============================ レイアウト部品 ============================ */

.lp-container {
    width: 100%;
    max-width: var(--pc-container);
    margin: 0 auto;
    padding: 0 24px;
}

.lp-section {
    padding: 112px 0;
    position: relative;
}

.lp-section--alt {
    background: var(--pc-bg-alt);
}

.lp-section--dark {
    background:
        radial-gradient(ellipse at 15% 15%, rgba(124, 58, 237, 0.35) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 85%, rgba(222, 84, 248, 0.22) 0%, transparent 55%),
        linear-gradient(160deg, var(--pc-bg-dark) 0%, var(--pc-bg-dark2) 100%);
    color: var(--pc-text-inv);
}

.lp-section--dark .lp-section-title {
    color: var(--pc-text-inv);
}

.lp-section--dark .lp-section-sub {
    color: var(--pc-text-inv-sub);
}

.lp-section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 64px;
}

.lp-eyebrow {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--pc-primary);
    margin-bottom: 14px;
    text-transform: uppercase;
}

.lp-section--dark .lp-eyebrow {
    color: var(--pc-primary-light);
}

.lp-section-title {
    font-size: clamp(1.9rem, 4.2vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--pc-text);
}

.lp-section-sub {
    margin-top: 18px;
    font-size: clamp(1rem, 2vw, 1.18rem);
    color: var(--pc-text-sub);
    line-height: 1.8;
}

/* ============================ ボタン ============================ */

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    line-height: 1;
    border: 1.5px solid transparent;
    border-radius: var(--pc-radius-pill);
    cursor: pointer;
    transition: var(--pc-transition);
    white-space: nowrap;
}

.lp-btn--primary {
    background: var(--pc-gradient);
    color: var(--pc-text-inv);
    box-shadow: var(--pc-shadow-primary);
}

.lp-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(124, 58, 237, 0.38);
    color: var(--pc-text-inv);
}

.lp-btn--primary:active {
    transform: translateY(0) scale(0.98);
}

.lp-btn--ghost {
    background: transparent;
    color: var(--pc-primary);
    border-color: var(--pc-primary-border);
}

.lp-btn--ghost:hover {
    background: var(--pc-primary-bg);
    border-color: var(--pc-primary);
    transform: translateY(-2px);
}

.lp-btn--ghost:active {
    transform: translateY(0) scale(0.98);
}

.lp-btn--on-dark {
    background: #fff;
    color: var(--pc-primary-dark);
}

.lp-btn--on-dark:hover {
    background: #fff;
    color: var(--pc-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.lp-btn--lg {
    padding: 17px 40px;
    font-size: 1.08rem;
}

.lp-btn--block {
    width: 100%;
}

/* ============================ ヘッダー ============================ */

.lp-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 24px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid transparent;
    transition: var(--pc-transition);
}

.lp-header.is-scrolled {
    border-bottom-color: var(--pc-border);
    box-shadow: var(--pc-shadow-sm);
}

.lp-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    line-height: 0;
}

.lp-logo__icon {
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 7px;
    flex-shrink: 0;
    object-fit: cover;
}

.lp-logo__wordmark {
    display: block;
    height: 30px;
    width: auto;
}

.lp-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lp-nav-links a {
    color: var(--pc-text);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 10px;
}

.lp-nav-links a:hover {
    color: var(--pc-primary);
    background: var(--pc-primary-bg);
}

.lp-nav .lp-btn {
    padding: 10px 22px;
    font-size: 0.92rem;
}

/* ヘッダー内のプライマリCTAは常に白文字（ナビリンクの色指定に負けないよう明示） */
.lp-nav .lp-btn--primary {
    color: var(--pc-text-inv);
}

.lp-nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ヘッダー：機能サブメニュー */
.lp-nav-dropdown {
    position: relative;
}

.lp-nav-dropdown__trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 8px 14px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--pc-text);
    font: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: var(--pc-transition);
}

.lp-nav-dropdown__trigger i {
    font-size: 0.68rem;
    transition: transform var(--pc-transition);
}

.lp-nav-dropdown.is-open .lp-nav-dropdown__trigger i,
.lp-nav-dropdown__trigger:hover i,
.lp-nav-dropdown__trigger:focus-visible i {
    transform: rotate(180deg);
}

.lp-nav-dropdown__trigger:hover,
.lp-nav-dropdown__trigger:focus-visible {
    color: var(--pc-primary);
    background: var(--pc-primary-bg);
    outline: none;
}

.lp-nav-dropdown__panel {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    z-index: 120;
    display: grid;
    gap: 2px;
    min-width: 220px;
    padding: 8px;
    border: 1px solid var(--pc-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--pc-shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    pointer-events: none;
}

.lp-nav-dropdown__panel::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}

.lp-nav-dropdown.is-open .lp-nav-dropdown__panel,
.lp-nav-dropdown:focus-within .lp-nav-dropdown__panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.lp-nav-dropdown__panel a {
    display: block;
    padding: 9px 12px;
    border-radius: 8px;
    color: var(--pc-text);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.35;
    white-space: nowrap;
}

.lp-nav-dropdown__panel a:hover,
.lp-nav-dropdown__panel a:focus-visible {
    color: var(--pc-primary);
    background: var(--pc-primary-bg);
    outline: none;
}

/* ============================ ヒーロー ============================ */

.lp-hero {
    position: relative;
    padding: 96px 0 80px;
    text-align: center;
    background:
        radial-gradient(ellipse at 50% -10%, var(--pc-primary-bg) 0%, transparent 60%),
        var(--pc-bg);
    overflow: hidden;
}

.lp-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--pc-primary-dark);
    background: var(--pc-primary-bg);
    border: 1px solid var(--pc-primary-border);
    border-radius: var(--pc-radius-pill);
    margin-bottom: 26px;
}

.lp-hero__title {
    font-size: clamp(2.4rem, 6.5vw, 4.4rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: var(--pc-text);
}

.lp-hero__title .grad {
    background: var(--pc-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lp-hero__lead {
    max-width: 640px;
    margin: 24px auto 0;
    font-size: clamp(1.05rem, 2.3vw, 1.32rem);
    color: var(--pc-text-sub);
    line-height: 1.55;
}

.lp-hero__cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 38px;
}

.lp-hero__visual {
    max-width: 960px;
    margin: 64px auto 0;
    perspective: 1600px;
}

.lp-hero__visual .ui-mock {
    transform: rotateX(3deg);
    transition: transform 0.6s var(--pc-ease);
}

.lp-hero__visual:hover .ui-mock {
    transform: rotateX(0deg);
}

.lp-hero__cta:empty {
    display: none;
}

/* ============================ ヒーロー管理画面デモ（動画代わり） ============================ */

.ui-mock--video .ui-mock__body {
    padding: 0;
    min-height: 0;
    background: #0f0f14;
}

.ui-mock__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0f0f14;
}

.ui-mock__media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ui-mock__media video[data-ready="0"] {
    display: none;
}

.ui-mock--hero-demo .ui-mock__body,
.ui-mock--hero-demo .ui-mock__media {
    background: #f5f5f7;
}

.ui-mock--hero-demo .ui-mock__media {
    aspect-ratio: 16 / 10.2;
}

.ui-demo {
    position: absolute;
    inset: 0;
    background: #f0f0f3;
    overflow: hidden;
}

.ui-demo__shell {
    display: grid;
    grid-template-columns: 148px 1fr;
    height: 100%;
}

.ui-demo__sidebar {
    background: #fbfbfd;
    border-right: 1px solid var(--pc-border);
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ui-demo__brand {
    font-size: 0.82rem;
    font-weight: 800;
    background: var(--pc-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 0 6px;
}

.ui-demo__nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ui-demo__nav span {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--pc-text-sub);
    transition: var(--pc-transition);
    white-space: nowrap;
    overflow: hidden;
}

.ui-demo__nav span i {
    width: 14px;
    text-align: center;
    color: var(--pc-primary-light);
}

.ui-demo__nav span.is-on {
    background: var(--pc-primary-bg);
    color: var(--pc-primary-dark);
}

.ui-demo__nav span.is-on i {
    color: var(--pc-primary);
}

.ui-demo__main {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 14px 14px;
    min-width: 0;
}

.ui-demo__progress {
    display: flex;
    gap: 5px;
}

.ui-demo__progress span {
    flex: 1;
    height: 3px;
    border-radius: 3px;
    background: rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
}

.ui-demo__progress span::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    background: var(--pc-gradient);
}

.ui-demo.is-playing .ui-demo__progress span.is-active::after {
    animation: uiDemoBar 4.8s linear forwards;
}

@keyframes uiDemoBar {
    from { width: 0; }
    to { width: 100%; }
}

.ui-demo__caption {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--pc-primary-dark);
    letter-spacing: 0.01em;
    min-height: 1.2em;
    transition: opacity 0.25s var(--pc-ease);
}

.ui-demo__stage {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--pc-border);
    box-shadow: var(--pc-shadow-sm);
}

.ui-demo__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(14px) scale(0.985);
    transition: opacity 0.5s var(--pc-ease), transform 0.5s var(--pc-ease);
    pointer-events: none;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ui-demo__slide.is-active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.ui-panel__title {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--pc-text);
}

.ui-panel--grow {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ui-stat__label {
    margin-top: 8px;
    font-size: 0.68rem;
    color: var(--pc-text-sub);
    font-weight: 600;
}

.ui-chip--pulse {
    animation: uiChipPulse 1.2s ease-in-out infinite;
}

@keyframes uiChipPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.25); }
    50% { box-shadow: 0 0 0 6px rgba(124, 58, 237, 0); }
}

.ui-bars--animate span {
    height: 8%;
    background: var(--pc-gradient);
    opacity: 0.85;
    transform-origin: bottom;
    transition: height 0.7s var(--pc-ease);
}

.ui-demo__slide.is-active .ui-bars--animate span {
    height: var(--h);
}

.ui-scrape {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ui-scrape__bar {
    height: 8px;
    border-radius: 980px;
    background: #eceaf2;
    overflow: hidden;
}

.ui-scrape__bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--pc-gradient);
    transition: width 0.35s linear;
}

.ui-scrape__log {
    font-size: 0.72rem;
    color: var(--pc-text-sub);
    font-weight: 600;
}

.ui-cast-row {
    display: flex;
    gap: 8px;
    flex: 1;
    align-items: stretch;
}

.ui-cast {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 10px 6px;
    border-radius: 12px;
    background: #fbfbfd;
    border: 1px solid var(--pc-border);
    opacity: 0;
    transform: translateY(10px) scale(0.92);
    transition: opacity 0.4s var(--pc-ease), transform 0.4s var(--pc-ease);
}

.ui-demo__slide.is-active .ui-cast.is-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.ui-cast__face {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
}

.ui-cast__face--2 { background: linear-gradient(135deg, #5b21b6, #de54f8); }
.ui-cast__face--3 { background: linear-gradient(135deg, #7c3aed, #c040d9); }
.ui-cast__face--4 { background: linear-gradient(135deg, #6d28d9, #e879f9); }
.ui-cast__face--5 { background: linear-gradient(135deg, #4c1d95, #a78bfa); }

.ui-cast__name {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--pc-text);
}

.ui-cal--demo {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ui-cal__head {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    text-align: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--pc-text-sub);
}

.ui-cal__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    flex: 1;
}

.ui-cal--demo .ui-cal__cell {
    aspect-ratio: auto;
    min-height: 28px;
    height: 100%;
    border-radius: 8px;
    background: #f5f5f7;
    border: 1px solid transparent;
    transition: background 0.35s var(--pc-ease), border-color 0.35s var(--pc-ease), transform 0.35s var(--pc-ease);
}

.ui-cal--demo .ui-cal__cell.is-on {
    background: var(--pc-primary-bg);
    border-color: var(--pc-primary-border);
    transform: scale(1.04);
}

.ui-cal--demo .ui-cal__cell.is-on::before {
    content: "";
    width: 55%;
    height: 5px;
    border-radius: 3px;
    background: var(--pc-primary);
    margin: auto;
    display: block;
    margin-top: 40%;
}

.ui-diary-list,
.ui-push-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.ui-diary,
.ui-push {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #fbfbfd;
    border: 1px solid var(--pc-border);
    opacity: 0;
    transform: translateX(12px);
    transition: opacity 0.4s var(--pc-ease), transform 0.4s var(--pc-ease), border-color 0.3s ease;
}

.ui-demo__slide.is-active .ui-diary.is-in,
.ui-demo__slide.is-active .ui-push.is-in {
    opacity: 1;
    transform: translateX(0);
}

.ui-diary .ui-cast__face {
    width: 34px;
    height: 34px;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.ui-diary__body,
.ui-push > div {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ui-diary__body strong,
.ui-push strong {
    font-size: 0.75rem;
    font-weight: 800;
}

.ui-diary__body span,
.ui-push span {
    font-size: 0.68rem;
    color: var(--pc-text-sub);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ui-diary em,
.ui-push em {
    font-style: normal;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--pc-primary);
    flex-shrink: 0;
}

.ui-push i {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pc-primary-bg);
    color: var(--pc-primary);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.ui-push.is-send {
    border-color: var(--pc-primary-border);
    background: var(--pc-primary-bg);
}

.ui-demo__cursor {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50% 50% 50% 0;
    background: var(--pc-primary);
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4);
    transform: rotate(-35deg) translate(-50%, -50%);
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    transition: left 0.55s var(--pc-ease), top 0.55s var(--pc-ease), opacity 0.25s ease;
}

.ui-demo__cursor.is-on {
    opacity: 0.9;
}

.ui-demo__cursor.is-click {
    animation: uiCursorClick 0.35s var(--pc-ease);
}

@keyframes uiCursorClick {
    0%, 100% { transform: rotate(-35deg) translate(-50%, -50%) scale(1); }
    50% { transform: rotate(-35deg) translate(-50%, -50%) scale(0.75); }
}

.ui-mock--sm .ui-mock__media {
    aspect-ratio: 16 / 11;
}

.ui-mock--sm .ui-demo {
    padding: 0;
}

.ui-mock--sm .ui-demo__shell {
    grid-template-columns: 1fr;
}

.ui-mock--sm .ui-demo__sidebar {
    display: none;
}

@media (max-width: 720px) {
    .ui-demo__shell {
        grid-template-columns: 1fr;
    }

    .ui-demo__sidebar {
        display: none;
    }

    .ui-cast__name {
        font-size: 0.6rem;
    }

    .ui-mock__media {
        aspect-ratio: 16 / 12;
    }
}

/* ============================ キャストスクレイピング操作デモ（実画面寄せ） ============================ */

.scrape-demo {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 168px 1fr;
    background: #f5f5f7;
    overflow: hidden;
    font-size: 11px;
}

.scrape-demo__sidebar {
    background: #fbfbfd;
    border-right: 1px solid rgba(0,0,0,.08);
    padding: 10px 8px;
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.scrape-demo__brand {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 2px;
    line-height: 0;
    max-width: 100%;
}

.scrape-demo__brand-icon-wrap {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.scrape-demo__brand-icon {
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 4px;
    flex-shrink: 0;
    object-fit: cover;
}

.scrape-demo__brand-logo-wrap {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.scrape-demo__brand-logo {
    display: block;
    height: 12px;
    width: auto;
    max-width: 100%;
}

.scrape-demo__shop {
    font-size: 0.72rem;
    font-weight: 800;
    color: #1d1d1f;
    display: flex;
    align-items: center;
    gap: 6px;
}

.scrape-demo__shop i { color: #7c3aed; }

.scrape-demo__shop-name {
    font-size: 0.65rem;
    color: #6e6e73;
    font-weight: 600;
    margin-bottom: 4px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0,0,0,.06);
}

.scrape-demo__nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow: hidden;
}

.scrape-demo__item,
.scrape-demo__acc-btn,
.scrape-demo__sub {
    display: flex;
    align-items: center;
    gap: 7px;
    width: 100%;
    border: 0;
    background: transparent;
    font: inherit;
    color: #444;
    text-align: left;
    border-radius: 8px;
    padding: 7px 8px;
    cursor: default;
    transition: background .2s ease, color .2s ease;
}

.scrape-demo__item.is-on,
.scrape-demo__sub.is-on {
    background: rgba(124, 58, 237, 0.1);
    color: #5b21b6;
    font-weight: 700;
}

.scrape-demo__item i,
.scrape-demo__sub i {
    width: 12px;
    text-align: center;
    color: #a78bfa;
    font-size: 0.7rem;
}

.scrape-demo__item.is-on i,
.scrape-demo__sub.is-on i { color: #7c3aed; }

.scrape-demo__acc-btn {
    justify-content: space-between;
    font-weight: 700;
    color: #1d1d1f;
    padding: 8px;
}

.scrape-demo__acc-btn i {
    font-size: 0.6rem;
    color: #999;
    transition: transform .25s ease;
}

.scrape-demo__acc.is-open > .scrape-demo__acc-btn {
    background: rgba(124, 58, 237, 0.08);
    color: #5b21b6;
}

.scrape-demo__acc.is-open > .scrape-demo__acc-btn i {
    transform: rotate(180deg);
    color: #7c3aed;
}

.scrape-demo__acc-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s cubic-bezier(0.16, 1, 0.3, 1);
}

.scrape-demo__acc.is-open .scrape-demo__acc-panel {
    max-height: 280px;
}

.scrape-demo__sub {
    padding: 6px 8px 6px 12px;
    font-size: 0.62rem;
    color: #555;
}

.scrape-demo__acc.is-collapsed .scrape-demo__acc-panel {
    display: none;
}

.scrape-demo__main {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: #f5f5f7;
}

.scrape-demo__view {
    position: absolute;
    inset: 0;
    padding: 10px 12px;
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity .35s ease, transform .35s ease;
    overflow: hidden;
}

.scrape-demo__view.is-active {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.scrape-demo__pagehead h3 {
    font-size: 0.95rem;
    font-weight: 800;
    color: #1d1d1f;
    display: flex;
    align-items: center;
    gap: 8px;
}

.scrape-demo__pagehead h3 i { color: #7c3aed; }

.scrape-demo__pagehead p {
    margin-top: 2px;
    font-size: 0.68rem;
    color: #6e6e73;
}

/* ダッシュボード：お問い合わせパネル */
.scrape-demo__contact {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 8px 10px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

.scrape-demo__contact-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.scrape-demo__contact-body { flex: 1; min-width: 0; }

.scrape-demo__contact-title {
    font-size: 0.68rem;
    font-weight: 800;
    color: #1d1d1f;
}

.scrape-demo__contact-msg {
    font-size: 0.58rem;
    color: #6e6e73;
    margin-top: 1px;
}

.scrape-demo__contact-arrow {
    color: #c7c7cc;
    font-size: 0.6rem;
}

/* ダッシュボード：スケジュールチェック */
.scrape-demo__sched {
    margin-top: 8px;
}

.scrape-demo__sched-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}

.scrape-demo__sched-head h4 {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 800;
    color: #1d1d1f;
    display: flex;
    align-items: center;
    gap: 5px;
}

.scrape-demo__sched-head h4 i { color: #7c3aed; }

.scrape-demo__sched-head > span {
    font-size: 0.5rem;
    color: #6e6e73;
    font-weight: 600;
}

.scrape-demo__sched-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 10px;
    padding: 8px 10px 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

.scrape-demo__sched-meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 5px;
}

.scrape-demo__sched-meta strong {
    font-size: 0.65rem;
    color: #1d1d1f;
}

.scrape-demo__sched-meta em {
    font-style: normal;
    font-size: 0.58rem;
    font-weight: 700;
    color: #7c3aed;
}

.scrape-demo__sched-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 40px;
}

.scrape-demo__sched-bars i {
    flex: 1;
    display: block;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(180deg, #a78bfa, #7c3aed);
    opacity: .9;
}

.scrape-demo__sched-axis {
    display: flex;
    justify-content: space-between;
    margin-top: 2px;
    font-size: 0.48rem;
    color: #999;
    font-weight: 600;
}

/* ダッシュボード：クイックアクション */
.scrape-demo__qa-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    margin-bottom: 4px;
}

.scrape-demo__qa-head h4 {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 800;
    color: #1d1d1f;
    display: flex;
    align-items: center;
    gap: 5px;
}

.scrape-demo__qa-head h4 i { color: #7c3aed; }

.scrape-demo__qa-add {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.5rem;
    font-weight: 700;
    color: #555;
    background: #fff;
    border: 1px solid rgba(0,0,0,.1);
    border-radius: 6px;
    padding: 3px 7px;
}

.scrape-demo__qa {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
}

.scrape-demo__qa-card {
    background: #fff;
    border-radius: 9px;
    padding: 7px 8px;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

.scrape-demo__qa-card strong {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.58rem;
    font-weight: 800;
    color: #1d1d1f;
    margin-bottom: 1px;
}

.scrape-demo__qa-card strong i {
    color: #7c3aed;
    font-size: 0.6rem;
}

.scrape-demo__qa-card span {
    display: block;
    font-size: 0.48rem;
    color: #6e6e73;
    line-height: 1.3;
}

.scrape-demo__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 12px 0;
}

.scrape-demo__stat {
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    border: 1px solid rgba(0,0,0,.06);
}

.scrape-demo__stat strong {
    display: block;
    font-size: 1.05rem;
    color: #7c3aed;
    font-weight: 800;
}

.scrape-demo__stat span {
    font-size: 0.62rem;
    color: #6e6e73;
    font-weight: 600;
}

.scrape-demo__card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.06);
    padding: 12px;
    min-height: 90px;
}

.scrape-demo__bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 70px;
}

.scrape-demo__bars i {
    flex: 1;
    display: block;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(135deg, #7c3aed, #de54f8);
    opacity: .85;
}

.scrape-demo__section {
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 12px;
    padding: 10px 12px;
    margin-top: 10px;
}

.scrape-demo__section--bulk {
    border-color: rgba(124, 58, 237, 0.25);
    background: rgba(124, 58, 237, 0.06);
}

.scrape-demo__section h4 {
    font-size: 0.72rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #1d1d1f;
    display: flex;
    align-items: center;
    gap: 6px;
}

.scrape-demo__section h4 i { color: #7c3aed; }

.scrape-demo__sites,
.scrape-demo__execs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.scrape-demo__site,
.scrape-demo__exec {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 7px 8px;
    border-radius: 9px;
    background: #fbfbfd;
    border: 1px solid rgba(0,0,0,.06);
    font-size: 0.62rem;
    font-weight: 700;
    color: #333;
}

.scrape-demo__site em {
    margin-left: auto;
    font-style: normal;
    font-size: 0.55rem;
    color: #16a34a;
    background: rgba(22,163,74,.1);
    padding: 2px 6px;
    border-radius: 980px;
}

.scrape-demo__fav {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    background: #2563eb;
    color: #fff;
    font-size: 0.5rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.scrape-demo__fav--h { background: #e11d48; }
.scrape-demo__fav--d { background: #ea580c; }

.scrape-demo__bulk-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    border-radius: 980px;
    padding: 8px 14px;
    font: inherit;
    font-size: 0.7rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #7c3aed, #de54f8);
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.28);
    cursor: default;
    transition: transform .2s ease, box-shadow .2s ease;
}

.scrape-demo__bulk-btn.is-press {
    transform: scale(0.96);
}

.scrape-demo__sync {
    margin-left: auto;
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 7px;
    background: rgba(22, 163, 74, 0.12);
    color: #16a34a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: default;
}

.scrape-demo__sync.is-press {
    background: #7c3aed;
    color: #fff;
}

/* 本物寄せ：白ぼかし + くるくる矢印 */
.scrape-demo__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
    z-index: 25;
}

.scrape-demo__overlay.is-show {
    opacity: 1;
}

.scrape-demo__overlay-inner {
    text-align: center;
    color: #1d1d1f;
}

/* グラデーションのリング型スピナー（本体・デモと統一） */
.scrape-demo__spinner {
    position: relative;
    width: 58px;
    height: 58px;
    margin: 0 auto 14px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: #fff;
    font-size: 1.3rem;
    box-shadow: 0 10px 26px rgba(124, 58, 237, 0.4);
    animation: scrapeDemoGlow 2s ease-in-out infinite;
}

.scrape-demo__spinner::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(124, 58, 237, 0) 0%, #de54f8 60%, rgba(124, 58, 237, 0) 100%);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
    animation: scrapeDemoSpin 1.1s linear infinite;
}

/* 内側アイコンは静止（回転はリング側で表現） */
.scrape-demo__spinner i {
    animation: none;
}

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

@keyframes scrapeDemoGlow {
    0%, 100% { box-shadow: 0 10px 24px rgba(124, 58, 237, 0.32); }
    50% { box-shadow: 0 12px 34px rgba(124, 58, 237, 0.55); }
}

/* インデターミネート進捗バー */
.scrape-demo__progress {
    position: relative;
    width: 150px;
    height: 6px;
    margin: 0 auto 12px;
    border-radius: 999px;
    background: rgba(124, 58, 237, 0.14);
    overflow: hidden;
}

.scrape-demo__progress span {
    position: absolute;
    top: 0;
    left: -40%;
    width: 40%;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #a855f7, #7c3aed);
    animation: scrapeDemoBar 1.3s ease-in-out infinite;
}

@keyframes scrapeDemoBar {
    0% { left: -40%; }
    100% { left: 100%; }
}

.scrape-demo__overlay-title {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 14px;
    white-space: pre-line;
    color: #1d1d1f;
}

.scrape-demo__chips {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.scrape-demo__chips span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    border-radius: 980px;
    font-size: 0.65rem;
    font-weight: 700;
    background: #eee;
    color: #777;
    transition: background .25s ease, color .25s ease;
}

.scrape-demo__chips span i {
    font-size: 0.62rem;
}

.scrape-demo__chips span.is-running {
    background: rgba(124, 58, 237, 0.12);
    color: #7c3aed;
}

.scrape-demo__chips span.is-done {
    background: rgba(22, 163, 74, 0.12);
    color: #16a34a;
}

.scrape-demo__cursor {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50% 50% 50% 0;
    background: #7c3aed;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.45);
    transform: rotate(-35deg);
    margin-left: -4px;
    margin-top: -4px;
    z-index: 20;
    opacity: 0;
    pointer-events: none;
    left: 40%;
    top: 40%;
    transition: left .55s cubic-bezier(0.16, 1, 0.3, 1), top .55s cubic-bezier(0.16, 1, 0.3, 1), opacity .2s ease;
}

.scrape-demo__cursor.is-on { opacity: .95; }

.scrape-demo__cursor.is-click {
    animation: scrapeCursorClick .28s ease;
}

@keyframes scrapeCursorClick {
    0%, 100% { transform: rotate(-35deg) scale(1); }
    50% { transform: rotate(-35deg) scale(0.72); }
}

.scrape-demo__flash {
    outline: 2px solid rgba(124, 58, 237, 0.45);
    background: rgba(124, 58, 237, 0.1) !important;
}

/* 主要機能セクション用デモ */
.ui-mock--feature-demo .ui-mock__body,
.ui-mock--feature-demo .ui-mock__media {
    background: #f5f5f7;
}

.ui-mock--feature-demo .ui-mock__media {
    aspect-ratio: 16 / 10.5;
    position: relative;
}

.scrape-demo__badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.scrape-demo__badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 700;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    color: #52525b;
}

.scrape-demo__badge--sync {
    color: #7c3aed;
    background: rgba(124, 58, 237, 0.08);
    border-color: rgba(124, 58, 237, 0.2);
}

.scrape-demo__mini-table {
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.scrape-demo__mini-table-head,
.scrape-demo__mini-table-row {
    display: grid;
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: 4px;
    padding: 6px 8px;
    align-items: center;
}

.scrape-demo__mini-table-head {
    background: #f5f5f7;
    font-size: 0.62rem;
    font-weight: 700;
    color: #71717a;
}

.scrape-demo__mini-table-row {
    border-top: 1px solid rgba(0,0,0,.06);
    font-size: 0.62rem;
}

.scrape-demo__mini-table-row span[data-cell] {
    padding: 4px 5px;
    border-radius: 6px;
    text-align: center;
    background: #fafafa;
    transition: background .25s ease, color .25s ease;
}

.scrape-demo__mini-table-row span[data-cell].is-sync {
    background: rgba(124, 58, 237, 0.12);
    color: #7c3aed;
    font-weight: 700;
}

.scrape-demo__mini-av {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 5px;
    background: linear-gradient(135deg, #e9d5ff, #fbcfe8);
    vertical-align: middle;
    margin-right: 4px;
}

.scrape-demo__diary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.scrape-demo__diary-card {
    padding: 8px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .35s ease, transform .35s ease;
}

.scrape-demo__diary-card.is-in {
    opacity: 1;
    transform: translateY(0);
}

.scrape-demo__diary-thumb {
    aspect-ratio: 1/1;
    border-radius: 8px;
    background: linear-gradient(135deg, #ede9fe, #fce7f3);
    margin-bottom: 6px;
}

.scrape-demo__diary-thumb--video {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #7c3aed, #de54f8);
}

.scrape-demo__diary-card em {
    display: block;
    font-style: normal;
    font-weight: 700;
    font-size: 0.65rem;
}

.scrape-demo__diary-card span {
    font-size: 0.58rem;
    color: #71717a;
}

.scrape-demo__res-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.scrape-demo__res-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    transition: border-color .3s ease, box-shadow .3s ease;
}

.scrape-demo__res-item.is-highlight {
    border-color: rgba(124, 58, 237, 0.45);
    box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.12);
}

.scrape-demo__res-item strong {
    display: block;
    font-size: 0.72rem;
}

.scrape-demo__res-item span {
    font-size: 0.6rem;
    color: #71717a;
}

.scrape-demo__res-badge {
    font-style: normal;
    font-size: 0.58rem;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 999px;
    background: #f4f4f5;
    color: #52525b;
    white-space: nowrap;
}

.scrape-demo__res-badge--h {
    background: rgba(225, 29, 72, 0.1);
    color: #e11d48;
}

.scrape-demo__talk-wrap {
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 10px;
    overflow: hidden;
}

.scrape-demo__talk-head {
    padding: 8px 10px;
    border-bottom: 1px solid rgba(0,0,0,.06);
    font-weight: 700;
    font-size: 0.68rem;
}

.scrape-demo__talk-chat {
    padding: 10px;
    min-height: 140px;
}

.scrape-demo__talk-new {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .35s ease, transform .35s ease;
}

.scrape-demo__talk-new.is-show {
    opacity: 1;
    transform: translateY(0);
}

.scrape-demo__blocks {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.scrape-demo__block {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    font-size: 0.65rem;
    font-weight: 600;
    transition: transform .35s ease, box-shadow .35s ease;
}

.scrape-demo__block i {
    color: #a1a1aa;
}

.scrape-demo__block.is-dragged {
    transform: translateY(28px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.18);
    border-color: rgba(124, 58, 237, 0.35);
}

.scrape-demo__push-toggles {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}

.scrape-demo__push-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    font-size: 0.65rem;
    font-weight: 600;
}

.scrape-demo__toggle {
    width: 42px;
    height: 24px;
    border: 0;
    border-radius: 999px;
    background: #e4e4e7;
    position: relative;
    padding: 0;
    cursor: default;
}

.scrape-demo__toggle i {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.15);
    transition: left .2s ease;
}

.scrape-demo__toggle.is-on {
    background: #7c3aed;
}

.scrape-demo__toggle.is-on i {
    left: 21px;
}

.scrape-demo__push-preview {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.scrape-demo__push-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity .35s ease, transform .35s ease;
}

.scrape-demo__push-card.is-in {
    opacity: 1;
    transform: translateX(0);
}

.scrape-demo__push-card.is-send {
    border-color: rgba(124, 58, 237, 0.35);
    background: rgba(124, 58, 237, 0.04);
}

.scrape-demo__push-card > i {
    color: #7c3aed;
    margin-top: 2px;
}

.scrape-demo__push-card strong {
    display: block;
    font-size: 0.65rem;
}

.scrape-demo__push-card span {
    font-size: 0.58rem;
    color: #71717a;
}

/* 主要機能：AI加工デモ */
.scrape-demo__ai-quota {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.scrape-demo__ai-quota span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 0.6rem;
    font-weight: 700;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    color: #52525b;
}

.scrape-demo__ai-quota span i {
    color: #7c3aed;
}

.scrape-demo__ai-compare {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 6px;
    align-items: center;
    margin-bottom: 8px;
}

.scrape-demo__ai-shot {
    text-align: center;
}

.scrape-demo__ai-shot em {
    display: block;
    margin-top: 4px;
    font-style: normal;
    font-size: 0.58rem;
    color: #71717a;
    font-weight: 600;
}

.scrape-demo__ai-shot--result {
    opacity: 0.35;
    transform: scale(0.96);
    transition: opacity .45s ease, transform .45s ease;
}

.scrape-demo__ai-shot--result.is-show {
    opacity: 1;
    transform: scale(1);
}

.scrape-demo__ai-arrow {
    color: #a1a1aa;
    font-size: 0.65rem;
}

.scrape-demo__ai-thumb {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,.08);
    background-size: cover;
    background-position: center;
}

.scrape-demo__ai-thumb--src {
    background: linear-gradient(160deg, #d4d4d8 0%, #e9d5ff 45%, #fbcfe8 100%);
}

.scrape-demo__ai-thumb--dst {
    background: linear-gradient(160deg, #1e1b4b 0%, #7c3aed 42%, #fbcfe8 100%);
}

.scrape-demo__ai-thumb--video {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #312e81 0%, #7c3aed 55%, #a78bfa 100%);
    color: #fff;
    font-size: 0.75rem;
}

.scrape-demo__ai-bg {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 8px;
    padding: 7px 9px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
}

.scrape-demo__ai-bg-label {
    font-size: 0.58rem;
    font-weight: 700;
    color: #71717a;
}

.scrape-demo__ai-bg-text {
    font-size: 0.62rem;
    color: #3f3f46;
    line-height: 1.35;
}

.scrape-demo__ai-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: 8px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity .35s ease, max-height .35s ease, margin-top .35s ease;
}

.scrape-demo__ai-gallery.is-show {
    opacity: 1;
    max-height: 120px;
    margin-top: 8px;
}

.scrape-demo__ai-card {
    display: grid;
    grid-template-columns: 28px 1fr auto;
    gap: 6px;
    align-items: center;
    padding: 6px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .35s ease, transform .35s ease;
    transition-delay: calc(var(--d, 0) * 80ms);
}

.scrape-demo__ai-card.is-in {
    opacity: 1;
    transform: translateY(0);
}

.scrape-demo__ai-card-thumb {
    width: 28px;
    height: 36px;
    border-radius: 5px;
    background-size: cover;
    background-position: center;
}

.scrape-demo__ai-card-meta strong {
    display: block;
    font-size: 0.6rem;
    line-height: 1.2;
}

.scrape-demo__ai-card-meta span {
    font-size: 0.55rem;
    color: #71717a;
}

.scrape-demo__ai-card-dl {
    color: #7c3aed;
    font-size: 0.62rem;
}

.scrape-demo__bulk-btn.is-press {
    transform: scale(0.97);
    box-shadow: inset 0 1px 3px rgba(0,0,0,.12);
}

/* ============================ 主要機能：スマホ枠デモ（トーク / プッシュ） ============================ */

.ui-mock--phone-feature {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
    overflow: visible !important;
    width: 300px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    flex-shrink: 0;
}

.ui-mock--phone-feature .ui-mock__bar {
    display: none !important;
}

.ui-mock--phone-feature .ui-mock__body,
.ui-mock--phone-feature .ui-mock__media {
    background: transparent !important;
    aspect-ratio: auto !important;
    padding: 0;
}

/* preview-common.css の phone-frame を LP 主要機能内に埋め込む（393px 設計を scale で縮小） */
.lp-preview-phone {
    --lp-phone-frame-w: 413;
    --lp-phone-frame-h: 863;
    --lp-phone-target-w: 300;
    --lp-phone-scale: 0.726393;
    width: 300px;
    height: 627px;
    margin: 0 auto;
    position: relative;
    overflow: visible;
    /* scale 内の box-shadow は縮小されるため、lp-phone__frame と同じ影を外側に付与 */
    filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.35));
}

.lp-preview-phone .phone-frame {
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.lp-preview-phone__scaler {
    --lp-demo-ui-scale: 1.35;
    width: calc(var(--lp-phone-frame-w) * 1px);
    transform: scale(var(--lp-phone-scale));
    transform-origin: top center;
    position: absolute;
    left: 50%;
    top: 0;
    margin-left: calc(var(--lp-phone-frame-w) * -0.5px);
}

.lp-preview-phone .phone-frame,
.lp-preview-phone .phone-inner {
    width: auto;
    max-width: none;
}

.lp-preview-phone .status-bar {
    border-radius: 47px 47px 0 0;
}

.lp-preview-phone .phone-inner {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    isolation: isolate;
    clip-path: inset(0 round 47px);
}

.lp-preview-phone .content-area--lp-demo {
    flex: 0 0 auto;
    height: 659px;
    min-height: 659px;
    max-height: 659px;
    margin-top: 54px;
    background: transparent;
    overflow: hidden;
    position: relative;
}

[data-lp-manage-demo="push"] .lp-preview-phone .content-area--lp-demo {
    height: 789px;
    min-height: 789px;
    max-height: 789px;
}

[data-lp-manage-demo="push"] .lp-preview-phone .status-bar {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, transparent 100%);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

[data-lp-manage-demo="push"] .lp-preview-phone .status-left {
    color: #fff;
}

[data-lp-manage-demo="push"] .lp-preview-phone .signal-bar {
    background: #fff;
}

[data-lp-manage-demo="push"] .lp-preview-phone .wifi-icon::before,
[data-lp-manage-demo="push"] .lp-preview-phone .wifi-icon::after {
    border-top-color: #fff;
}

[data-lp-manage-demo="push"] .lp-preview-phone .wifi-dot {
    background: #fff;
}

[data-lp-manage-demo="push"] .lp-preview-phone .battery-body {
    border-color: rgba(255, 255, 255, 0.65);
}

[data-lp-manage-demo="push"] .lp-preview-phone .battery-level {
    background: #fff;
}

[data-lp-manage-demo="push"] .lp-preview-phone .battery-cap {
    background: rgba(255, 255, 255, 0.65);
}

[data-lp-manage-demo="talk"] .lp-preview-phone .content-area--lp-demo {
    background:
        radial-gradient(circle at 50% -10%, rgba(124, 58, 237, 0.14), transparent 38%),
        linear-gradient(180deg, #fbf8ff 0%, #f3f4f6 100%);
}

/* 枠はそのまま、画面内デモ UI だけ拡大 */
.lp-preview-phone .content-area--lp-demo .phone-demo {
    inset: unset;
    top: 0;
    left: 50%;
    width: calc(100% / var(--lp-demo-ui-scale));
    height: calc(100% / var(--lp-demo-ui-scale));
    margin-left: calc(-50% / var(--lp-demo-ui-scale));
    transform: scale(var(--lp-demo-ui-scale));
}

.lp-preview-phone .phone-demo--home,
.lp-preview-phone .phone-demo--talk {
    transform-origin: top center;
}

.phone-demo__home-indicator {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 8px;
    z-index: 4;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.phone-demo__home-indicator .home-indicator {
    width: 134px;
    height: 5px;
    background: rgba(255, 255, 255, 0.72);
    border-radius: 100px;
}

.phone-demo {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

/* --- トーク画面 --- */
.phone-demo--talk {
    display: flex;
    flex-direction: column;
    min-height: 0;
    background:
        radial-gradient(circle at 50% -10%, rgba(124, 58, 237, 0.14), transparent 38%),
        linear-gradient(180deg, #fbf8ff 0%, #f3f4f6 100%);
}

.phone-demo__chat-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 4px 14px rgba(88, 28, 135, 0.06);
    flex-shrink: 0;
}

.phone-demo__chat-back {
    color: #7c3aed;
    font-size: 0.7rem;
    width: 18px;
}

.phone-demo__chat-avatar,
.phone-demo__msg-av {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e9d5ff, #fbcfe8);
    border: 2px solid #fff;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,.08);
}

.phone-demo__chat-avatar--member,
.phone-demo__msg-av--member {
    background: linear-gradient(135deg, #dbeafe, #e0e7ff);
    color: #6366f1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.62rem;
}

.phone-demo__chat-name {
    font-size: 0.78rem;
    font-weight: 800;
    color: #1d1d1f;
}

.phone-demo__chat-msgs {
    flex: 1;
    min-height: 0;
    padding: 10px 8px 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: flex-end;
}

.phone-demo__msg {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    max-width: 88%;
}

.phone-demo__msg--mine {
    margin-left: auto;
    flex-direction: row-reverse;
}

.phone-demo__msg-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    max-width: 100%;
}

.phone-demo__read {
    font-size: 0.52rem;
    font-weight: 700;
    color: #7c3aed;
    letter-spacing: 0.02em;
    opacity: 0;
    transform: translateY(3px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.phone-demo__read.is-show {
    opacity: 1;
    transform: translateY(0);
}

.phone-demo__msg--new {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .35s ease, transform .35s ease;
}

.phone-demo__msg--new.is-show {
    opacity: 1;
    transform: translateY(0);
}

.phone-demo__bubble {
    padding: 8px 11px;
    border-radius: 16px;
    font-size: 0.62rem;
    line-height: 1.45;
    box-shadow: 0 6px 16px rgba(24, 24, 27, 0.06);
}

.phone-demo__msg--theirs .phone-demo__bubble {
    background: #fff;
    color: #1d1d1f;
    border: 1px solid rgba(124, 58, 237, 0.1);
    border-bottom-left-radius: 4px;
}

.phone-demo__msg--mine .phone-demo__bubble {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.phone-demo__typing {
    display: none;
    align-items: flex-end;
    gap: 6px;
}

.phone-demo__typing.is-show {
    display: flex;
}

.phone-demo__typing-dots {
    display: flex;
    gap: 4px;
    padding: 10px 12px;
    background: #fff;
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    border: 1px solid rgba(0,0,0,.06);
}

.phone-demo__typing-dots i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #a1a1aa;
    animation: phoneTypingDot 1s ease-in-out infinite;
}

.phone-demo__typing-dots i:nth-child(2) { animation-delay: .15s; }
.phone-demo__typing-dots i:nth-child(3) { animation-delay: .3s; }

@keyframes phoneTypingDot {
    0%, 100% { opacity: .35; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-2px); }
}

.phone-demo__chat-foot {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px 6px;
    background: rgba(255,255,255,.94);
    border-top: 1px solid rgba(0,0,0,.06);
    flex-shrink: 0;
}

.phone-demo__chat-input {
    flex: 1;
    height: 32px;
    border-radius: 999px;
    background: #f4f4f5;
    border: 1px solid rgba(0,0,0,.06);
}

.phone-demo__chat-send {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
}

/* --- ホーム画面 + プッシュ通知 --- */
.phone-demo--home {
    background: #000;
    position: absolute;
    inset: 0;
}

.phone-demo__wallpaper {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 15%, rgba(124, 58, 237, 0.45), transparent 42%),
        radial-gradient(circle at 80% 70%, rgba(222, 84, 248, 0.35), transparent 45%),
        linear-gradient(160deg, #312e81 0%, #581c87 45%, #1e1b4b 100%);
}

.phone-demo__notif {
    position: relative;
    z-index: 2;
    margin: 6px 8px 0;
    padding: 10px 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform .45s cubic-bezier(0.16, 1, 0.3, 1), opacity .35s ease;
}

.phone-demo__notif.is-show {
    transform: translateY(0);
    opacity: 1;
}

.phone-demo__notif-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    align-items: start;
}

.phone-demo__notif-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-demo__notif-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.phone-demo__notif-body {
    min-width: 0;
}

.phone-demo__notif-body strong {
    display: block;
    font-size: 0.58rem;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.phone-demo__notif-body em {
    display: block;
    font-style: normal;
    font-size: 0.68rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-top: 1px;
}

.phone-demo__notif-body span {
    display: block;
    font-size: 0.62rem;
    color: #52525b;
    margin-top: 2px;
    line-height: 1.35;
}

.phone-demo__notif-row small {
    font-size: 0.55rem;
    color: #a1a1aa;
}

.phone-demo__home-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px 10px;
    padding: 22px 14px 72px;
}

.phone-demo__app {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-align: center;
}

.phone-demo__app > span:not(.phone-demo__app-icon):not(.phone-demo__app-badge) {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(255,255,255,.18);
    backdrop-filter: blur(8px);
}

.phone-demo__app em {
    font-style: normal;
    font-size: 0.52rem;
    color: rgba(255,255,255,.92);
    font-weight: 600;
}

.phone-demo__app--pullcass {
    position: relative;
}

.phone-demo__app-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.35);
}

.phone-demo__app-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.phone-demo__app--pullcass.is-bounce .phone-demo__app-icon {
    animation: phoneAppBounce .55s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes phoneAppBounce {
    0%, 100% { transform: scale(1); }
    40% { transform: scale(1.12); }
    70% { transform: scale(0.96); }
}

.phone-demo__app-badge {
    position: absolute;
    top: -2px;
    right: 4px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 0.55rem;
    font-weight: 800;
    font-style: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(0,0,0,.35);
    opacity: 0;
    transform: scale(0.5);
    transition: opacity .25s ease, transform .35s cubic-bezier(0.16, 1, 0.3, 1);
}

.phone-demo__app-badge.is-show {
    opacity: 1;
    transform: scale(1);
}

.phone-demo__dock {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    height: 52px;
    border-radius: 22px;
    background: rgba(255,255,255,.22);
    backdrop-filter: blur(14px);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 12px;
    z-index: 1;
}

.phone-demo__dock span {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,.28);
}

.lp-preview-phone .phone-demo__chat-name {
    font-size: 17px;
}

.lp-preview-phone .phone-demo__chat-avatar,
.lp-preview-phone .phone-demo__msg-av {
    width: 34px;
    height: 34px;
}

.lp-preview-phone .phone-demo__bubble {
    padding: 10px 14px;
    font-size: 15px;
    border-radius: 18px;
}

.lp-preview-phone .phone-demo__read {
    font-size: 12px;
}

.lp-preview-phone .phone-demo__chat-input {
    height: 38px;
}

.lp-preview-phone .phone-demo__chat-send {
    width: 38px;
    height: 38px;
    font-size: 14px;
}

.lp-preview-phone .phone-demo__notif {
    margin: 10px 12px 0;
    padding: 14px 12px;
    border-radius: 16px;
}

.lp-preview-phone .phone-demo__notif-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
}

.lp-preview-phone .phone-demo__notif-body strong {
    font-size: 12px;
}

.lp-preview-phone .phone-demo__notif-body em {
    font-size: 15px;
}

.lp-preview-phone .phone-demo__notif-body span {
    font-size: 14px;
    line-height: 1.4;
}

.lp-preview-phone .phone-demo__notif-row small {
    font-size: 12px;
}

.lp-preview-phone .phone-demo__app > span:not(.phone-demo__app-icon):not(.phone-demo__app-badge) {
    width: 54px;
    height: 54px;
    border-radius: 14px;
}

.lp-preview-phone .phone-demo__app-icon {
    width: 54px;
    height: 54px;
}

.lp-preview-phone .phone-demo__app em {
    font-size: 11px;
}

@media (max-width: 720px) {
    .lp-preview-phone {
        width: min(320px, calc(100vw - 40px));
        --lp-phone-scale: calc(min(320px, calc(100vw - 40px)) / 413px);
        height: calc(863px * min(320px, calc(100vw - 40px)) / 413px);
    }

    .ui-mock--phone-feature {
        width: min(320px, calc(100vw - 40px));
        padding: 0 4px 16px;
    }
}

/* スマホ用トップバー / ドロワー（PCでは非表示） */
.scrape-demo__topbar,
.scrape-demo__drawer-bg {
    display: none;
}

/* ============================ スマホ：管理画面スマホ版デモ（iPhone外枠＝プレビューと同系） ============================ */

/* PCでは外枠を透過（ブラウザ風モックのまま） */
.lp-phone__status,
.lp-phone__home {
    display: none;
}

.lp-phone__frame,
.lp-phone__inner,
.lp-phone__screen {
    display: contents;
}

@media (max-width: 720px) {
    .lp-hero__visual {
        max-width: 320px;
        margin-top: 36px;
        padding: 8px 4px 16px;
        perspective: none;
    }

    .lp-feature__visual .lp-phone {
        width: 100%;
        max-width: 320px;
    }

    .lp-hero__visual .ui-mock {
        transform: none;
        border: 0;
        box-shadow: none;
        border-radius: 0;
        background: transparent;
    }

    .lp-hero__visual:hover .ui-mock {
        transform: none;
    }

    /* free_preview_mobile / preview-common.css の .phone-frame 相当 */
    .lp-phone {
        display: block;
        width: 100%;
    }

    .lp-phone__frame {
        display: block;
        aspect-ratio: 413 / 863;
        width: 100%;
        height: auto;
        background: linear-gradient(145deg, #3a3a3c 0%, #1c1c1e 50%, #2c2c2e 100%);
        border-radius: 42px;
        padding: 8px;
        box-shadow:
            0 24px 48px rgba(0, 0, 0, 0.35),
            0 0 0 1px rgba(255, 255, 255, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
        position: relative;
    }

    .lp-phone__frame::before {
        content: '';
        position: absolute;
        right: -2px;
        top: 108px;
        width: 3px;
        height: 58px;
        background: linear-gradient(180deg, #4a4a4c, #2a2a2c);
        border-radius: 0 2px 2px 0;
    }

    .lp-phone__frame::after {
        content: '';
        position: absolute;
        left: -2px;
        top: 92px;
        width: 3px;
        height: 26px;
        background: linear-gradient(180deg, #4a4a4c, #2a2a2c);
        border-radius: 2px 0 0 2px;
        box-shadow: 0 42px 0 #3a3a3c, 0 76px 0 #3a3a3c;
    }

    .lp-phone__inner {
        display: flex;
        flex-direction: column;
        height: 100%;
        background: #000;
        border-radius: 36px;
        overflow: hidden;
        width: 100%;
        position: relative;
    }

    .lp-phone__status {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 38px;
        padding: 0 18px 6px;
        z-index: 40;
        background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.88) 100%);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        pointer-events: none;
    }

    .lp-phone__island {
        position: absolute;
        top: 8px;
        left: 50%;
        transform: translateX(-50%);
        width: 86px;
        height: 24px;
        background: #000;
        border-radius: 14px;
    }

    .lp-phone__time {
        font-size: 11px;
        font-weight: 700;
        color: #000;
        letter-spacing: -0.2px;
        font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Hiragino Sans', sans-serif;
    }

    .lp-phone__status-right {
        display: flex;
        align-items: center;
        gap: 4px;
        height: 12px;
    }

    .lp-phone__signal {
        width: 14px;
        height: 10px;
        background:
            linear-gradient(#000, #000) 0 100% / 2px 3px no-repeat,
            linear-gradient(#000, #000) 4px 100% / 2px 5px no-repeat,
            linear-gradient(#000, #000) 8px 100% / 2px 7px no-repeat,
            linear-gradient(#000, #000) 12px 100% / 2px 10px no-repeat;
    }

    .lp-phone__wifi {
        width: 12px;
        height: 9px;
        border: 2px solid transparent;
        border-top-color: #000;
        border-radius: 50%;
        transform: rotate(-45deg);
        margin-top: -2px;
    }

    .lp-phone__battery {
        width: 18px;
        height: 9px;
        border: 1.5px solid #000;
        border-radius: 2.5px;
        position: relative;
        box-sizing: border-box;
    }

    .lp-phone__battery::before {
        content: '';
        position: absolute;
        inset: 1.5px auto 1.5px 1.5px;
        width: 70%;
        background: #000;
        border-radius: 1px;
    }

    .lp-phone__battery::after {
        content: '';
        position: absolute;
        right: -3px;
        top: 2px;
        width: 2px;
        height: 4px;
        background: rgba(0,0,0,.45);
        border-radius: 0 1px 1px 0;
    }

    .lp-phone__screen {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        min-height: 0;
        padding-top: 38px;
        padding-bottom: 14px;
        background: #f5f5f7;
    }

    .lp-phone .ui-mock {
        flex: 1 1 auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .lp-phone .ui-mock__body {
        flex: 1 1 auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
    }

    .lp-phone .ui-mock--hero-demo .ui-mock__media,
    .lp-phone .ui-mock--feature-demo .ui-mock__media {
        aspect-ratio: auto !important;
        flex: 1 1 auto;
        min-height: 0;
        height: 100%;
    }

    .lp-phone .scrape-demo {
        height: 100%;
        min-height: 0;
    }

    .lp-phone__home {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 4px;
        height: 14px;
        z-index: 40;
        pointer-events: none;
    }

    .lp-phone__home span {
        width: 96px;
        height: 4px;
        border-radius: 980px;
        background: #1d1d1f;
        opacity: .85;
    }

    .ui-mock--hero-demo .ui-mock__bar {
        display: none;
    }

    .ui-mock--feature-demo .ui-mock__bar {
        display: none;
    }

    .ui-mock--hero-demo .ui-mock__body,
    .ui-mock--hero-demo .ui-mock__media {
        background: #f5f5f7;
    }

    .ui-mock--feature-demo .ui-mock__body,
    .ui-mock--feature-demo .ui-mock__media {
        background: #f5f5f7;
    }

    .scrape-demo {
        display: block;
        grid-template-columns: unset;
        font-size: 10px;
    }

    .scrape-demo:not(.is-drawer-open) .scrape-demo__sidebar {
        pointer-events: none;
    }

    .scrape-demo__topbar {
        display: flex;
        align-items: center;
        gap: 8px;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 44px;
        padding: 0 8px;
        background: #fbfbfd;
        border-bottom: 1px solid rgba(0,0,0,.08);
        z-index: 12;
    }

    .scrape-demo__menu-btn {
        width: 36px;
        height: 36px;
        border: 0;
        border-radius: 10px;
        background: transparent;
        color: #1d1d1f;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        cursor: default;
        flex-shrink: 0;
        transition: background .15s ease, color .15s ease;
    }

    .scrape-demo__menu-btn.is-active {
        background: rgba(124, 58, 237, 0.1);
        color: #7c3aed;
    }

    .scrape-demo__menu-icon {
        position: relative;
        display: block;
        width: 18px;
        height: 12px;
    }

    .scrape-demo__menu-line {
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        border-radius: 1px;
        background: currentColor;
        transition: transform .22s cubic-bezier(0.16, 1, 0.3, 1), top .22s cubic-bezier(0.16, 1, 0.3, 1), opacity .15s ease;
    }

    .scrape-demo__menu-line:nth-child(1) { top: 0; }
    .scrape-demo__menu-line:nth-child(2) { top: 5px; }
    .scrape-demo__menu-line:nth-child(3) { top: 10px; }

    .scrape-demo__menu-btn.is-active .scrape-demo__menu-line:nth-child(1) {
        top: 5px;
        transform: rotate(45deg);
    }

    .scrape-demo__menu-btn.is-active .scrape-demo__menu-line:nth-child(2) {
        opacity: 0;
    }

    .scrape-demo__menu-btn.is-active .scrape-demo__menu-line:nth-child(3) {
        top: 5px;
        transform: rotate(-45deg);
    }

    .scrape-demo__topbar-brand {
        display: flex;
        align-items: center;
        gap: 6px;
        min-width: 0;
        font-size: 0.78rem;
        font-weight: 800;
        color: #1d1d1f;
    }

    .scrape-demo__topbar-brand i { color: #7c3aed; }
    .scrape-demo__topbar-brand span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .scrape-demo__drawer-bg {
        display: block;
        position: absolute;
        inset: 0;
        background: rgba(255, 255, 255, 0.35);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        opacity: 0;
        pointer-events: none;
        transition: opacity .25s ease;
        z-index: 14;
    }

    .scrape-demo.is-drawer-open .scrape-demo__drawer-bg {
        opacity: 1;
    }

    .scrape-demo__sidebar {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        width: 78%;
        max-width: 220px;
        z-index: 16;
        transform: translate3d(-105%, 0, 0);
        transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1);
        border-right: 1px solid rgba(0,0,0,.08);
        box-shadow: none;
        padding-top: 12px;
        background: #fbfbfd;
    }

    .scrape-demo.is-drawer-open .scrape-demo__sidebar {
        transform: translate3d(0, 0, 0) !important;
        box-shadow: 8px 0 24px rgba(0,0,0,.12);
    }

    .scrape-demo__acc.is-collapsed {
        display: block;
    }

    .scrape-demo__main {
        position: absolute;
        inset: 0;
        padding-top: 44px;
    }

    .scrape-demo__view {
        padding: 10px;
        overflow: hidden;
    }

    .scrape-demo__qa {
        grid-template-columns: 1fr;
    }

    .scrape-demo__qa-card:nth-child(n+3) {
        display: none;
    }

    .scrape-demo__sites,
    .scrape-demo__execs {
        grid-template-columns: 1fr;
    }

    .scrape-demo__section:last-of-type {
        display: none;
    }

    .scrape-demo__overlay {
        top: 44px;
        z-index: 25;
    }

    .scrape-demo__spinner {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
        margin-bottom: 12px;
    }

    .scrape-demo__overlay-title {
        font-size: 0.9rem;
    }

    .scrape-demo__progress {
        width: 130px;
        height: 5px;
    }

    .scrape-demo__chips {
        gap: 6px;
    }

    .scrape-demo__chips span {
        font-size: 0.58rem;
        padding: 4px 8px;
    }

    /* スマホはタップ風カーソル */
    .scrape-demo__cursor {
        width: 22px;
        height: 22px;
        border-radius: 50%;
        background: rgba(124, 58, 237, 0.35);
        border: 2px solid #7c3aed;
        box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
        transform: none;
        margin-left: -11px;
        margin-top: -11px;
    }

    .scrape-demo__cursor.is-click {
        animation: scrapeTapClick .28s ease;
    }

    @keyframes scrapeTapClick {
        0%, 100% { transform: scale(1); }
        50% { transform: scale(0.7); }
    }
}

/* ============================ 選ばれる理由（3本柱） ============================ */

.lp-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.lp-pillar {
    padding: 34px 28px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--pc-radius);
    transition: var(--pc-transition);
}

.lp-pillar:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
}

.lp-pillar__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    font-size: 1.4rem;
    color: #fff;
    background: var(--pc-gradient);
    margin-bottom: 20px;
    box-shadow: var(--pc-shadow-primary);
}

.lp-pillar__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--pc-text-inv);
}

.lp-pillar__desc {
    font-size: 0.98rem;
    color: var(--pc-text-inv-sub);
    line-height: 1.55;
}

/* ============================ 主力機能（交互レイアウト） ============================ */

.lp-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 64px;
}

.lp-feature + .lp-feature {
    margin-top: 120px;
}

.lp-feature--reverse .lp-feature__body {
    order: 2;
}

.lp-feature__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 1.3rem;
    color: var(--pc-primary);
    background: var(--pc-primary-bg);
    margin-bottom: 22px;
}

.lp-feature__title {
    font-size: clamp(1.45rem, 2.6vw, 1.95rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin-bottom: 16px;
}

.lp-feature__desc {
    font-size: 1.05rem;
    color: var(--pc-text-sub);
    line-height: 1.55;
    margin-bottom: 22px;
}

.lp-feature__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lp-feature__list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1rem;
    color: var(--pc-text);
}

.lp-feature__list li i {
    color: var(--pc-primary);
    margin-top: 4px;
    font-size: 0.95rem;
}

.lp-feature__note {
    margin-top: 28px;
    font-size: 0.78rem;
    color: var(--pc-text-sub);
    line-height: 1.55;
    text-align: center;
}

/* ============================ UIモック（CSSのみ・実画像なし） ============================ */

.ui-mock {
    background: #fff;
    border: 1px solid var(--pc-border);
    border-radius: 16px;
    box-shadow: var(--pc-shadow-lg);
    overflow: hidden;
    transition: var(--pc-transition);
}

.ui-mock:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.16);
}

.ui-mock__bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 14px;
    background: #f5f5f7;
    border-bottom: 1px solid var(--pc-border);
}

.ui-mock__dots {
    display: flex;
    gap: 6px;
}

.ui-mock__dots span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #d8d8de;
}

.ui-mock__dots span:nth-child(1) { background: #ff5f57; }
.ui-mock__dots span:nth-child(2) { background: #febc2e; }
.ui-mock__dots span:nth-child(3) { background: #28c840; }

.ui-mock__addr {
    flex: 1;
    margin-left: 8px;
    padding: 5px 12px;
    background: #fff;
    border: 1px solid var(--pc-border);
    border-radius: 7px;
    font-size: 0.74rem;
    color: var(--pc-text-sub);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ui-mock__body {
    padding: 20px;
    background: #fbfbfd;
    min-height: 260px;
}

/* --- モック内 汎用パーツ --- */
.ui-row { display: flex; gap: 12px; }
.ui-row--wrap { flex-wrap: wrap; }
.ui-col { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.ui-gap-sm { gap: 8px; }

.ui-panel {
    background: #fff;
    border: 1px solid var(--pc-border);
    border-radius: 12px;
    padding: 14px;
    flex: 1;
}

.ui-stat {
    background: #fff;
    border: 1px solid var(--pc-border);
    border-radius: 12px;
    padding: 14px;
    flex: 1;
}

.ui-stat__num {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--pc-primary);
    line-height: 1;
}

.ui-txt {
    height: 10px;
    border-radius: 5px;
    background: #e9e9ee;
}

.ui-txt--accent { background: var(--pc-primary-bg-strong); }
.ui-txt--w40 { width: 40%; }
.ui-txt--w55 { width: 55%; }
.ui-txt--w70 { width: 70%; }
.ui-txt--w85 { width: 85%; }
.ui-txt--sm { height: 7px; }

.ui-chip {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 980px;
    background: var(--pc-primary-bg);
    color: var(--pc-primary-dark);
    font-size: 0.72rem;
    font-weight: 700;
}

.ui-bars {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 90px;
    padding-top: 10px;
}

.ui-bars span {
    flex: 1;
    border-radius: 5px 5px 0 0;
    background: var(--pc-gradient);
    opacity: 0.85;
}

.ui-avatar {
    aspect-ratio: 3 / 4;
    border-radius: 10px;
    background: linear-gradient(160deg, #efeaff 0%, #f7edff 100%);
    border: 1px solid var(--pc-border);
    position: relative;
    overflow: hidden;
}

.ui-avatar::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 30%;
    background: linear-gradient(transparent, rgba(124, 58, 237, 0.12));
}

.ui-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ui-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }

.ui-cal {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.ui-cal__cell {
    aspect-ratio: 1 / 1.2;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--pc-border);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 6px;
}

.ui-cal__cell.is-on {
    background: var(--pc-primary-bg);
    border-color: var(--pc-primary-border);
}

.ui-cal__cell.is-on::before {
    content: "";
    width: 60%;
    height: 6px;
    border-radius: 3px;
    background: var(--pc-primary);
}

.ui-bubble {
    max-width: 78%;
    padding: 9px 13px;
    border-radius: 14px;
    font-size: 0.75rem;
    line-height: 1.5;
}

.ui-bubble--in {
    align-self: flex-start;
    background: #eceaf2;
    color: #444;
    border-bottom-left-radius: 4px;
}

.ui-bubble--out {
    align-self: flex-end;
    background: var(--pc-gradient);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.ui-chat { display: flex; flex-direction: column; gap: 9px; }

/* ============================ 全機能グリッド ============================ */

.lp-cat + .lp-cat {
    margin-top: 56px;
}

.lp-cat__title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--pc-border);
}

.lp-cat__title i {
    color: var(--pc-primary);
}

.lp-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 16px;
}

.lp-fcard {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    background: var(--pc-bg);
    border: 1px solid var(--pc-border);
    border-radius: 14px;
    transition: var(--pc-transition);
}

.lp-section--alt .lp-fcard {
    background: #fff;
}

.lp-fcard:hover {
    transform: translateY(-3px);
    border-color: var(--pc-primary-border);
    box-shadow: var(--pc-shadow-card);
}

.lp-fcard__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    font-size: 1rem;
    color: var(--pc-primary);
    background: var(--pc-primary-bg);
    transition: var(--pc-transition);
}

.lp-fcard:hover .lp-fcard__icon {
    background: var(--pc-gradient);
    color: #fff;
}

.lp-fcard__title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.lp-fcard__desc {
    font-size: 0.86rem;
    color: var(--pc-text-sub);
    line-height: 1.45;
}

/* ============================ 料金 ============================ */

.lp-pricing {
    max-width: 560px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--pc-border);
    border-radius: var(--pc-radius-lg);
    box-shadow: var(--pc-shadow-card);
    padding: 44px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.lp-pricing::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 6px;
    background: var(--pc-gradient);
}

.lp-pricing__label {
    display: inline-block;
    padding: 7px 20px;
    background: var(--pc-primary-bg);
    color: var(--pc-primary-dark);
    border-radius: var(--pc-radius-pill);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 22px;
}

.lp-pricing__price {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
}

.lp-pricing__price .unit {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--pc-text-sub);
}

.lp-pricing__coming {
    display: inline-block;
    font-size: clamp(1.35rem, 3.2vw, 1.85rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    background: var(--pc-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lp-pricing__note {
    color: var(--pc-text-sub);
    font-size: 0.92rem;
    margin-top: 12px;
}

.lp-pricing__list {
    list-style: none;
    text-align: left;
    margin: 28px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.lp-pricing__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
}

.lp-pricing__list li i {
    color: var(--pc-primary);
    margin-top: 3px;
    font-size: 0.85rem;
}

/* ============================ 導入の流れ ============================ */

.lp-steps {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    counter-reset: step;
}

.lp-step {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    padding: 30px 24px;
    background: #fff;
    border: 1px solid var(--pc-border);
    border-radius: var(--pc-radius);
    transition: var(--pc-transition);
}

.lp-step-arrow {
    flex: 0 0 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pc-primary-light);
    font-size: 1rem;
    opacity: 0.85;
}

.lp-section--alt .lp-step {
    background: #fff;
}

.lp-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--pc-shadow-card);
    border-color: var(--pc-primary-border);
}

.lp-step__num {
    counter-increment: step;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--pc-gradient);
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 18px;
}

.lp-step__num::before {
    content: counter(step);
}

.lp-step__title {
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.lp-step__desc {
    font-size: 0.9rem;
    color: var(--pc-text-sub);
    line-height: 1.7;
}

/* ============================ FAQ ============================ */

.lp-faq {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lp-faq__item {
    background: #fff;
    border: 1px solid var(--pc-border);
    border-radius: 14px;
    overflow: hidden;
    transition: var(--pc-transition);
}

.lp-faq__item:hover {
    border-color: var(--pc-primary-border);
}

.lp-faq__q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--pc-text);
    text-align: left;
    cursor: pointer;
    transition: var(--pc-transition);
}

.lp-faq__q:hover {
    color: var(--pc-primary);
}

.lp-faq__q i {
    flex-shrink: 0;
    color: var(--pc-primary);
    transition: transform 0.3s var(--pc-ease);
}

.lp-faq__item.is-open .lp-faq__q i {
    transform: rotate(45deg);
}

.lp-faq__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--pc-ease), padding 0.35s var(--pc-ease);
    padding: 0 24px;
    color: var(--pc-text-sub);
    line-height: 1.8;
}

.lp-faq__item.is-open .lp-faq__a {
    max-height: 400px;
    padding: 0 24px 22px;
}

/* ============================ 最終CTA ============================ */

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

.lp-cta__title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--pc-text-inv);
}

.lp-cta__lead {
    max-width: 560px;
    margin: 18px auto 34px;
    font-size: 1rem;
    line-height: 1.55;
    color: var(--pc-text-inv-sub);
}

.lp-cta__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.lp-cta__materials {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    padding-bottom: 2px;
    transition: color var(--pc-transition), border-color var(--pc-transition);
}

.lp-cta__materials:hover {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.75);
}

/* ============================ フッター ============================ */

.lp-footer {
    padding: 56px 0 40px;
    background: var(--pc-bg);
    border-top: 1px solid var(--pc-border);
    text-align: center;
}

.lp-footer__logo {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    margin-bottom: 18px;
}

.lp-footer__logo img {
    display: block;
    height: 30px;
    width: auto;
}

.lp-footer__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 26px;
    margin-bottom: 22px;
}

.lp-footer__nav a {
    color: var(--pc-text-sub);
    font-size: 0.92rem;
    font-weight: 600;
}

.lp-footer__nav a:hover {
    color: var(--pc-primary);
}

.lp-footer__subnav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 14px;
    margin: -8px 0 22px;
    padding: 0 12px;
}

.lp-footer__subnav-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--pc-text);
}

.lp-footer__subnav a {
    color: var(--pc-text-sub);
    font-size: 0.82rem;
    font-weight: 600;
}

.lp-footer__subnav a:hover {
    color: var(--pc-primary);
}

.lp-footer__copy {
    color: var(--pc-text-sub);
    font-size: 0.84rem;
}

/* ============================ フォーム（LP / お問い合わせ共通） ============================ */

.lp-form-wrap {
    max-width: 640px;
    margin: 0 auto;
}

.lp-card {
    background: #fff;
    border: 1px solid var(--pc-border);
    border-radius: var(--pc-radius);
    box-shadow: var(--pc-shadow-card);
    padding: 32px 30px;
}

.lp-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
    padding: 14px 16px;
    border-radius: 12px;
    background: var(--pc-primary-bg);
    border: 1px solid var(--pc-primary-border);
}

.lp-notice__icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    color: #fff;
    background: var(--pc-gradient);
    font-size: 0.82rem;
}

.lp-notice__body {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--pc-text-sub);
}

.lp-field {
    margin-bottom: 22px;
}

.lp-field > label {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 9px;
    color: var(--pc-text);
}

.lp-field .req {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    background: var(--pc-primary);
    border-radius: 6px;
    vertical-align: middle;
}

.lp-field .opt {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--pc-text-sub);
    background: var(--pc-bg-alt);
    border-radius: 6px;
    vertical-align: middle;
}

.lp-field-hint {
    margin: 8px 0 0;
    font-size: 0.82rem;
    color: var(--pc-text-sub);
    line-height: 1.5;
}

/* ── 添付ファイル（コンパクト） ── */
.lp-field--upload {
    margin-top: 2px;
}

.pc-upload-field-label {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--pc-text);
}

.pc-upload-field-opt {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--pc-text-sub);
    background: var(--pc-bg-alt);
    border-radius: 6px;
    vertical-align: middle;
}

.pc-upload__input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.pc-upload__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
}

.pc-upload__pick {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    font-family: inherit;
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--pc-text);
    background: var(--pc-bg-alt);
    border: 1px solid var(--pc-border);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--pc-transition);
}

.pc-upload__pick:hover,
.pc-upload__pick:focus-visible {
    border-color: var(--pc-primary-border);
    background: #fff;
    outline: none;
}

.pc-upload__hint {
    font-size: 0.78rem;
    color: var(--pc-text-sub);
    line-height: 1.4;
}

.pc-upload__list {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pc-upload__item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 8px;
    font-size: 0.8rem;
    background: var(--pc-bg-alt);
    border-radius: 6px;
}

.pc-upload__item-name {
    flex: 1;
    min-width: 0;
    color: var(--pc-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pc-upload__item-size {
    flex-shrink: 0;
    color: var(--pc-text-sub);
    font-size: 0.75rem;
}

.pc-upload__item-remove {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    padding: 0;
    font-size: 1rem;
    line-height: 1;
    color: var(--pc-text-sub);
    background: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--pc-transition);
}

.pc-upload__item-remove:hover,
.pc-upload__item-remove:focus-visible {
    color: #dc2626;
    outline: none;
}

.lp-field input[type="text"],
.lp-field input[type="email"],
.lp-field select,
.lp-field textarea {
    width: 100%;
    padding: 13px 15px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--pc-text);
    background: var(--pc-bg-alt);
    border: 1.5px solid transparent;
    border-radius: 12px;
    transition: var(--pc-transition);
    -webkit-appearance: none;
    appearance: none;
}

.lp-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236e6e73' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
    cursor: pointer;
}

.lp-field input:focus,
.lp-field select:focus,
.lp-field textarea:focus {
    outline: none;
    background: #fff;
    border-color: var(--pc-primary);
    box-shadow: 0 0 0 3px var(--pc-primary-bg-strong);
}

.lp-field textarea {
    min-height: 168px;
    resize: vertical;
    line-height: 1.7;
}

.lp-char-count {
    text-align: right;
    font-size: 0.8rem;
    color: var(--pc-text-sub);
    margin-top: 6px;
}

.lp-check {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 14px 16px;
    border: 1.5px solid var(--pc-border);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--pc-transition);
}

.lp-check:hover {
    border-color: var(--pc-primary-border);
    background: var(--pc-primary-bg);
}

.lp-check input {
    width: 20px;
    height: 20px;
    margin-top: 1px;
    accent-color: var(--pc-primary);
    cursor: pointer;
    flex-shrink: 0;
}

.lp-check__text {
    font-size: 0.93rem;
    line-height: 1.6;
    color: var(--pc-text);
}

.lp-check__text small {
    display: block;
    color: var(--pc-text-sub);
    font-size: 0.82rem;
    margin-top: 3px;
}

.lp-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* hCaptcha 共通パーツ（partial が出力するクラス） */
.contact-hcaptcha-wrap {
    margin: 10px 0 20px;
}

.contact-hcaptcha-notice {
    margin-top: 10px;
    font-size: 0.78rem;
    line-height: 1.6;
    color: var(--pc-text-sub);
}

.contact-hcaptcha-notice a {
    color: var(--pc-primary);
    text-decoration: underline;
}

/* お問い合わせページ 単体レイアウト */
.lp-contact-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--pc-bg-alt);
}

.lp-contact-main {
    flex: 1;
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    padding: 48px 20px 72px;
}

.lp-contact-title {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.lp-contact-lead {
    color: var(--pc-text-sub);
    margin-bottom: 30px;
    font-size: 1rem;
}

.lp-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    color: var(--pc-text-sub);
    font-size: 0.92rem;
    font-weight: 600;
}

.lp-back:hover {
    color: var(--pc-primary);
    gap: 12px;
}

.lp-notice--success {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.22);
    color: #047857;
    margin-bottom: 20px;
}

.lp-thread-log {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.lp-thread-item {
    display: flex;
    flex-direction: column;
    max-width: 88%;
}

.lp-thread-item--inbound {
    align-self: flex-end;
    align-items: flex-end;
}

.lp-thread-item--outbound {
    align-self: flex-start;
    align-items: flex-start;
}

.lp-thread-bubble {
    padding: 12px 14px;
    border-radius: 14px;
    line-height: 1.7;
    font-size: 0.94rem;
    word-break: break-word;
}

.lp-thread-item--inbound .lp-thread-bubble {
    background: var(--pc-primary);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.lp-thread-item--outbound .lp-thread-bubble {
    background: var(--pc-bg-alt);
    border: 1px solid var(--pc-border);
    color: var(--pc-text);
    border-bottom-left-radius: 4px;
}

.lp-thread-meta {
    margin-top: 4px;
    font-size: 0.75rem;
    color: var(--pc-text-sub);
}

.contact-attachment-list {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-attachment-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    font-size: 0.82rem;
    color: var(--pc-primary);
    background: var(--pc-primary-bg);
    border-radius: 8px;
    text-decoration: none;
    transition: var(--pc-transition);
}

.contact-attachment-link:hover {
    background: var(--pc-primary-bg-strong);
}

.contact-attachment-size {
    color: var(--pc-text-sub);
    font-size: 0.75rem;
}

.lp-reply-title {
    font-weight: 700;
    margin-bottom: 12px;
    padding-top: 8px;
    border-top: 1px solid var(--pc-border);
}

/* 完了画面 */
.lp-complete {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: var(--pc-bg-alt);
}

.lp-complete__card {
    max-width: 480px;
    width: 100%;
    text-align: center;
    background: #fff;
    border: 1px solid var(--pc-border);
    border-radius: var(--pc-radius-lg);
    box-shadow: var(--pc-shadow-card);
    padding: 48px 32px;
}

.lp-complete__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: var(--pc-primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    color: var(--pc-primary);
}

.lp-complete__card h1 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.lp-complete__card p {
    color: var(--pc-text-sub);
    margin-bottom: 28px;
    line-height: 1.8;
}

/* ============================ スクロール演出 ============================ */

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--pc-ease), transform 0.7s var(--pc-ease);
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================ レスポンシブ ============================ */

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

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

    .lp-pillar__icon {
        margin-left: auto;
        margin-right: auto;
    }

    .lp-steps {
        flex-direction: column;
        align-items: stretch;
        max-width: 480px;
        margin: 0 auto;
        gap: 0;
    }

    .lp-step-arrow {
        flex: 0 0 auto;
        height: 28px;
        width: auto;
    }

    /* 親の reveal transform と衝突しないよう、アイコン自体を下向きにする */
    .lp-step-arrow i {
        transform: rotate(90deg);
    }

    .lp-feature {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .lp-feature + .lp-feature {
        margin-top: 72px;
    }

    .lp-feature--reverse .lp-feature__body {
        order: 0;
    }

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

    .lp-feature__icon {
        margin-left: auto;
        margin-right: auto;
    }

    .lp-feature__visual {
        order: 2;
        display: flex;
        justify-content: center;
    }

    .lp-feature__visual .ui-mock--phone-feature {
        flex-shrink: 0;
    }
}

@media (max-width: 640px) {
    :root {
        --lp-header-offset: 100px;
    }

    .lp-section {
        padding: 72px 0;
    }

    .lp-section-head {
        margin-bottom: 44px;
    }

    /* 見出し：ヒーローはやや控えめ、セクションはやや大きめ、機能・CTA は1行収まり優先 */
    .lp-hero__title {
        font-size: clamp(1.3rem, calc((100vw - 48px) / 13), 1.55rem);
        line-height: 1.2;
        letter-spacing: -0.02em;
    }

    .lp-section-title {
        font-size: clamp(1.25rem, calc((100vw - 48px) / 14), 1.45rem);
        line-height: 1.2;
        letter-spacing: -0.02em;
    }

    .lp-feature__title,
    .lp-cta__title {
        font-size: clamp(1.05rem, calc((100vw - 48px) / 16), 1.35rem);
        line-height: 1.25;
        letter-spacing: -0.02em;
    }

    /* 説明文：やや小さく、行間を詰める */
    .lp-section-sub {
        margin-top: 12px;
        font-size: 0.75rem;
        line-height: 1.4;
    }

    .lp-hero__lead,
    .lp-feature__desc,
    .lp-pillar__desc,
    .lp-cta__lead {
        font-size: 0.9rem;
        line-height: 1.55;
    }

    .lp-feature__desc {
        margin-bottom: 18px;
    }

    .lp-cta__lead {
        margin: 14px auto 28px;
    }

    .lp-header {
        flex-wrap: wrap;
        align-items: center;
        gap: 8px 10px;
        padding: 10px 16px 8px;
    }

    .lp-nav {
        display: contents;
    }

    .lp-logo {
        flex: 1 1 auto;
        min-width: 0;
    }

    .lp-nav .lp-btn {
        flex-shrink: 0;
        padding: 8px 14px;
        font-size: 0.82rem;
    }

    .lp-nav-links {
        display: flex;
        flex: 1 1 100%;
        order: 3;
        align-items: center;
        gap: 2px;
        margin: 0;
        padding: 6px 0 2px;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .lp-nav-links::-webkit-scrollbar {
        display: none;
    }

    .lp-nav-links a {
        display: inline-flex;
        align-items: center;
        min-height: 28px;
        font-size: 0.72rem;
        font-weight: 600;
        padding: 4px 8px;
        border-radius: 6px;
        white-space: nowrap;
        flex-shrink: 0;
        line-height: 1.2;
    }

    .lp-nav-dropdown {
        flex-shrink: 0;
    }

    .lp-nav-dropdown__trigger {
        display: inline-flex;
        align-items: center;
        min-height: 28px;
        font-size: 0.72rem;
        padding: 4px 8px;
        border-radius: 6px;
        line-height: 1.2;
    }

    .lp-nav-dropdown__panel {
        position: fixed;
        top: var(--lp-header-offset);
        left: 12px;
        right: 12px;
        min-width: 0;
        max-height: min(60vh, 420px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .lp-header:has(.lp-nav-dropdown.is-open) .lp-nav-links {
        overflow-x: visible;
    }

    .lp-nav-dropdown__panel a {
        font-size: 0.82rem;
        white-space: normal;
    }

    @media (hover: hover) {
        .lp-nav-dropdown:hover .lp-nav-dropdown__panel {
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
        }

        .lp-nav-dropdown.is-open .lp-nav-dropdown__panel {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
        }
    }

    .lp-cta__materials {
        font-size: 0.88rem;
        text-align: center;
    }

    .lp-hero {
        padding: 64px 0 56px;
    }

    .lp-hero__cta {
        flex-direction: column;
        align-items: stretch;
    }

    .lp-hero__cta .lp-btn {
        width: 100%;
    }

    .lp-pricing {
        padding: 36px 24px;
    }

    .lp-pricing__list {
        grid-template-columns: 1fr;
    }

    .lp-card {
        padding: 24px 20px;
    }
}

/* ============================ モーション低減 ============================ */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .lp-hero__visual .ui-mock {
        transform: none;
    }
}

/* ============================ お試しデモ CTA (#demo-cta) ============================ */

.lp-section--demo-cta {
    background: var(--pc-bg);
}

.lp-demo-cta {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    text-align: center;
    max-width: 920px;
    margin: 0 auto;
    padding: clamp(48px, 7vw, 92px) 32px;
    border-radius: var(--pc-radius-lg);
    background: var(--pc-gradient);
    color: #fff;
    box-shadow: var(--pc-shadow-primary);
}

/* Apple 的な柔らかいグロー */
.lp-demo-cta::before,
.lp-demo-cta::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(46px);
    pointer-events: none;
    z-index: -1;
}

.lp-demo-cta::before {
    width: 340px;
    height: 340px;
    top: -130px;
    right: -70px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.55), transparent 70%);
}

.lp-demo-cta::after {
    width: 300px;
    height: 300px;
    bottom: -140px;
    left: -60px;
    background: radial-gradient(circle, rgba(222, 84, 248, 0.6), transparent 70%);
}

.lp-demo-cta__eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    padding: 6px 16px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--pc-radius-pill);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.lp-demo-cta__title {
    font-size: clamp(1.8rem, 4.6vw, 2.9rem);
    font-weight: 800;
    margin: 0 0 18px;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #fff;
}

.lp-demo-cta__lead {
    max-width: 560px;
    margin: 0 auto 34px;
    font-size: clamp(1rem, 2vw, 1.12rem);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.92);
}

.lp-demo-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 42px;
    background: #fff;
    color: var(--pc-primary-dark);
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: var(--pc-radius-pill);
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    transition: var(--pc-transition);
}

.lp-demo-cta__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26);
    color: var(--pc-primary-dark);
}

.lp-demo-cta__btn:active {
    transform: translateY(0) scale(0.98);
}

.lp-demo-cta__note {
    margin: 18px 0 0;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 640px) {
    .lp-demo-cta {
        padding: 52px 22px;
    }

    .lp-demo-cta__btn {
        display: flex;
        width: 100%;
        justify-content: center;
    }
}
